GIF89a;
Direktori : /home/serb/www/ |
Current File : /home/serb/www/edit-agencyescortimg.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"); ?> <? include "includes/header_top.php";?> <link href="css/dropzone.css" type="text/css" rel="stylesheet" /> <style type="text/css"> #main{ color: blue; font-size:24px; position relative; width: 700px; margin: 20px auto; padding: 10px; text-align: center; border: 1px dotted; } .esct_pic { float:left; margin-right:10px; width:135px; } </style> <script src="dropzone.js"></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/Edit Gallery </div> <div class="stdtls_midder"> <div style="height:10px;"></div> <? $sql_postad="select * from escort_details where id='".$_GET['estid']."'"; $res_postad=execute_query($sql_postad); $num_postad=mysql_num_rows($res_postad); $row_postad=mysql_fetch_array($res_postad); ?> <div class="left_containmain"> <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> <br/> <div style=" width:960px; margin:0 auto; font-family:'Open Sans',sans-serif; font-size:14px; color:#000;"> <div class="postadpagebody"> <h1>My Pictures</h1> <div style="width:800px; margin:0 auto;"> <br/> <form action="deleteag-escortpics.php" method="post" name="picsdelete" style="margin: 0px; padding: 0px;" enctype="multipart/form-data" onSubmit="return validate();"> <? $ii=1; $est_pics="SELECT * FROM escort_photo where postid='".$_GET['estid']."'"; $res_pics=execute_query($est_pics); $num_pics=mysql_num_rows($res_pics); if($num_pics>0) { while($row_pics=mysql_fetch_array($res_pics)) { ?> <div class="esct_pic"> <img src="avtar/<?=$row_pics['picture']?>" style="width:135px; height:135px; " /><br/><input type="checkbox" name="picid[]" value=<?=$row_pics['id']?> /> Delete </div> <? if($ii%5==0) { ?> <br class="spacer" /> <div style="height:25px;"> <br class="spacer" /></div> <? } $ii++; } ?> <br class="spacer" /> <table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto;"> <tr height="20"></tr> <tr> <td class="logintext">Delete a Photo</td> <td width="20"></td> <td style="color:#944d5f;">Select using checkboxes above</td> <td width="15"></td> <td> <input type="image" src="images/delete.png" /> <input type="hidden" name="pid" value="<?=$_GET['estid']?>" /> </td> </tr> <tr height="20"></tr> </table> <? } ?> </form> </div> </div> <div id="main"> <p> Drag n Drop Your image files below -</p> </div> <form action="file-upload2.php?pid=<?=$_GET['estid']?>" class="dropzone"> </form> <br/> <a href="edit-agencyescortimg.php?estid=<?=$_GET['estid']?>" style="text-align:center;"><img src="images/submit.png" /></a> </div> <br class="spacer" /> </div> </div> <div class="stdtls_footer"></div> </div> <br class="spacer" /> </div> </div> <? include "includes/footer.php";?>