GIF89a;
Direktori : /home/serb/public_html/m/ |
Current File : /home/serb/public_html/m/escortimages.php |
<? session_start(); //include("config.php"); if(!($_SESSION['islogin'])) { ?> <script language="javascript"> location.href="index.php"; </script> <? } include("lib/globals.php"); include("lib/common.php"); include("lib/functions.php"); $todatee=date('Y-m-d'); $sql="SELECT * FROM page_content WHERE id='55'"; $res=execute_query($sql); $row=mysql_fetch_array($res); ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="height=device-height,width=device-width,initial-scale=1.0,maximum-scale=1.0"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <title>Escort Service - Premiere Escort Listings,Escorts,Female Escorts,Models,Call Girls,GEF,Companions</title> <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="themes/escserve.css" /> <link rel="stylesheet" href="themes/jquery.mobile.icons.min.css" /> <link rel="stylesheet" href="jMobile.css" /> <script src="jquery.min.js"></script> <script src="jqueryMobile.js"></script> <script language="javascript"> function validate() { /*if(document.f1.avt_image.value=="") { alert("Select Your Image"); document.f1.avt_image.focus(); return false; }*/ if(document.f1.avt_image1.value!=""){ var str = document.f1.avt_image1.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_image1.focus(); return (false); } } if(document.f1.avt_image2.value!=""){ var str = document.f1.avt_image2.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_image2.focus(); return (false); } } if(document.f1.avt_image3.value!=""){ var str = document.f1.avt_image3.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_image3.focus(); return (false); } } if(document.f1.avt_image4.value!=""){ var str = document.f1.avt_image4.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_image4.focus(); return (false); } } /*if(document.adpost.veri_image.value=="") { alert("Select Your Verification Image"); document.adpost.veri_image.focus(); return false; }*/ } </script> </head> <body> <div data-role="page" id="page" data-theme="d" data-transition="flip"> <div id="headerTop"></div> <? include "includes/header.php";?> <div data-role="content" id="searchboxx"> <span style="float:left !important; margin-top:-5px !important;"><a style="float:left;" href="index.php" class="ui-btn ui-shadow ui-corner-all ui-icon-home ui-btn-icon-notext" data-iconpos="right" title="Go Home">Home</a></span> <span style="float:right !important; margin-top:-5px !important;"><a style="float:right;" href="my-account.php" class="ui-btn ui-shadow ui-corner-all ui-icon-back ui-btn-icon-notext" data-iconpos="right" title="Go Dashboard">back</a></span> </div> <div data-role="content"> <h3 id="loginheadertext">Update your picture: <span style="float:right !important; margin-top:-5px !important;"><a style="float:right;" href="my-account.php" class="ui-btn ui-shadow ui-corner-all ui-icon-back ui-btn-icon-notext" data-iconpos="right" title="Go Dashboard">back</a></span></h3> <form action="escortimaage-process.php" method="post" name="frm" id="frm" enctype="multipart/form-data" data-ajax="false" onSubmit="return validate();"> <input name="submit_form" value="1" type="hidden"> <? $sql_escorts="select * from escort_details WHERE user_id='".$_SESSION['userid']."'"; $res_escorts=execute_query($sql_escorts); $row_escorts=mysql_fetch_array($res_escorts); $sql_image="SELECT * FROM escort_photo where postid='".$row_escorts['id']."'"; $res_image=execute_query($sql_image); $num_image=mysql_num_rows($res_image); $ctt=1; while($row_image=mysql_fetch_array($res_image)) { ?> <p style="border-bottom:1px solid #F0D7E2; background:#FAF2F5 !important;"> <img width="120" height="140" src="http://escortservice.org/avtar/<?=$row_image['picture']?>" /> <br/> <input type="file" name="ad_image<?=$ctt?>" /> <input type="hidden" name="img<?=$ctt?>" value="<?=$row_image['picture']?>" /> <input type="hidden" name="picid<?=$ctt?>" value="<?=$row_image['id']?>" /> </p> <? $ctt=$ctt+1; }?> <br/> <input type="image" src="continue.png" style="height:35px; margin-top:10px;"> </form> </div> <div data-role="panel" data-display="push" data-position="right" data-theme="d" id="navMenu"> <? include "includes/right-menubar.php";?> </div><!-- /panel --> <div data-role="footer" > <div id="footerTop"> <? include "includes/footer.php";?> </div> <div id="footerBottom"><p>Copyright 2015 ESCORTSERVICE.ORG | All Rights reserved.</p></div> </div> </div> </body> </html>