GIF89a;
Direktori : /home/serb/www/ |
Current File : /home/serb/www/agency-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> <script language="javascript"> function validate() { if(document.f1.avt_image.value!=""){ var str = document.f1.avt_image.value; var lower = str.toLowerCase(); var newStr = lower.substring(lower.length-4, lower.length); //alert(newStr); if((newStr!=".jpg")&&(newStr!=".jpeg")&&(newStr!=".png")&&(newStr!=".bmp")){ alert("You cannot upload executable files...! Please upload files in jpg or jpeg or png extension."); document.f1.avt_image.focus(); return (false); } } } </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="agency-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"><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"><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="agencypassword-setting.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="logout.php"><img src="images/logout.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Logout</a></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>--> </tr> <tr height="8"></tr> <!--<tr> <td class="updatehdrstyle23"><a href="#"><img src="images/my_block.png" style="vertical-align:middle;" /><br/>Block</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="agencypassword-setting.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="logout.php"><img src="images/logout.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Logout</a></td> </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="agency-insert.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">* Agency Name :</td> <td><input name="agencyName" id="agencyName" class="main_input3333" value="<?=$row_email['agency_name']?>" type="text"></td> </tr> <tr height="5"></tr> <tr> <td class="jointext222"> Agency Logo :</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"> Phone Number :</td> <td> <input name="phnumber" id="weight" class="main_input3333" value="<?=$row_email['agency_ph']?>" type="text" /> </td> </tr> <tr height="5"></tr> <tr> <td class="jointext222"></td> <td> <input type="checkbox" name="updtphonetour" <? if($row_email['up_phone_tour']=='Yes') { ?> checked="checked" <? } ?> /> Update phone number for all tours </td> </tr> <tr height="5"></tr> <tr> <td class="jointext222"></td> <td> <input type="checkbox" name="updtphoneescort" <? if($row_email['up_phone_escort']=='Yes') { ?> checked="checked" <? } ?> /> Update phone number for all Escort </td> </tr> <tr height="5"></tr> <tr> <td class="jointext222"> Instructions :</td> <td> <select id="ins" class="drp_img2" name="instruction"> <option name="PhoneText" value="SMSCalls" <? if($row_email['instruction']=='SMSCalls') { ?> selected="selected" <? } ?> >SMS & Calls</option> <option name="PhoneText" value="SMSonly" <? if($row_email['instruction']=='SMSonly') { ?> selected="selected" <? } ?>>SMS only</option> <option name="PhoneText" value="Callsonly" <? if($row_email['instruction']=='Callsonly') { ?> selected="selected" <? } ?>>Calls only</option> </select> </td> </tr> <tr height="5"></tr> <tr> <td class="jointext222"></td> <td> <input type="checkbox" name="hiddennumber" /> No Hidden Numbers </td> </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"> </td> <td> <input type="checkbox" name="updateemail" <? if($row_email['email_up']=='Yes') { ?> checked="checked" <? } ?> /> Update E-mail address in all tour </td> </tr> <tr height="5"></tr> <tr> <td class="jointext222"> WebPage :</td> <td> <input type="text" name="webpage" value="<?=$row_email['webpage']?>" 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">Working Location<br/><img src="images/post_ad_divider.png" /></td> </tr> <tr height="10"></tr> <tr> <td colspan="2" align="center"> <textarea name="wrkcountry" class="main_input3333" style="width:300px !important; height:200px !important;"><?=stripslashes($row_email['wrk_location'])?></textarea><br/>[You can add multiple country] </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";?>