GIF89a;
Direktori : /home/serb/public_html/ |
Current File : /home/serb/public_html/mybanner.php |
<? session_start(); include("lib/globals.php"); include("lib/common.php"); include("lib/functions.php"); ?> <? include "includes/header_top.php";?> <body> <script language="javascript"> <? $sql_linkbanner="SELECT * FROM escort_photo"; $res_lnkbanner=execute_query($sql_linkbanner); while($row_lnkbanner=mysql_fetch_array($res_lnkbanner)) { $banner_code='<a href="'.$row_lnkbanner['web_url'].'"><img src="http://escortservice.org/linkbanners/'.$row_lnkbanner['image1'].'"></a>'; ?> function change_code<?=$row_lnkbanner['id']?>() { <? $sqlbn="select * from escort_details where id='".$row_lnkbanner['postid']."'"; $resbn=execute_query($sqlbn); $rowbn=mysql_fetch_array($resbn); $sql_bnimage="SELECT * FROM escort_photo where id='".$row_lnkbanner['id']."'"; $res_bnimage=execute_query($sql_bnimage); $row_bnimage=mysql_fetch_array($res_bnimage); ?> document.getElementById('htmlcopy').value='<div style="width:260px; height:85px;"><table><tr><td> <a href="http://escortservice.org/view-own-ad.php?name=<?=$rowbn['nickname']?>&phone=<?=$rowbn['tel_national']?>" title="Local escort listings"><img src="http://escortservice.org/avtar/<?=$row_bnimage['picture'] ?>" style="width:100px; height:84px;"/><img src="http://escortservice.org/images/sidebannerimg.jpg" style="width:150px; height:84px;"/> </a></td></tr></table></div>'; document.getElementById('htmlcopyimg').innerHTML ='<img src="avtar/<?=$row_bnimage['picture'] ?>" style="width:100px; height:84px;"/>'; } function change_code2<?=$row_lnkbanner['id']?>() { <? $sqlbn2="select * from escort_details where id='".$row_lnkbanner['postid']."'"; $resbn2=execute_query($sqlbn2); $rowbn2=mysql_fetch_array($resbn2); $sql_bnimage2="SELECT * FROM escort_photo where id='".$row_lnkbanner['id']."'"; $res_bnimage2=execute_query($sql_bnimage2); $row_bnimage2=mysql_fetch_array($res_bnimage2); ?> document.getElementById('htmlcopy1').value='<div style="width:479px; height:60px;"><table><tr><td> <a href="http://escortservice.org/view-own-ad.php?name=<?=$rowbn2['nickname']?>&phone=<?=$rowbn2['tel_national']?>" title="Local escort listings"><img src="http://escortservice.org/avtar/<?=$row_bnimage2['picture'] ?>" style="width:90px; height:60px;"/><img src="http://escortservice.org/images/sidebannerimage2.jpg" style="width:378px; height:60px;"/> </a></td></tr></table></div>'; document.getElementById('htmlcopyimg1').innerHTML ='<img src="avtar/<?=$row_bnimage2['picture'] ?>" style="width:90px; height:60px;"/>'; } function change_code3<?=$row_lnkbanner['id']?>() { <? $sqlbn3="select * from escort_details where id='".$row_lnkbanner['postid']."'"; $resbn3=execute_query($sqlbn3); $rowbn3=mysql_fetch_array($resbn3); $sql_bnimage3="SELECT * FROM escort_photo where id='".$row_lnkbanner['id']."'"; $res_bnimage3=execute_query($sql_bnimage3); $row_bnimage3=mysql_fetch_array($res_bnimage3); ?> document.getElementById('htmlcopy2').value='<div style="width:301px; height:250px;"><table><tr><td> <a href="http://escortservice.org/view-own-ad.php?name=<?=$rowbn3['nickname']?>&phone=<?=$rowbn3['tel_national']?>" title="Local escort listings"><img src="http://escortservice.org/avtar/<?=$row_bnimage3['picture'] ?>" style="width:152px; height:250px;"/><img src="http://escortservice.org/images/sidebannerimage3.jpg" style="width:149px; height:250px;"/> </a></td></tr></table></div>'; document.getElementById('htmlcopyimg2').innerHTML ='<img src="avtar/<?=$row_bnimage3['picture'] ?>" style="width:152px; height:250px;"/>'; } <? } ?> </script> <script> function changeimage(id) { var target="mybanner.php?pid="+id; //alert(target); window.location.href=target; } </script> <link rel="stylesheet" href="css/elements.css" /> <script src="js/my_js.js"></script> <? 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> <? $sql_postad="select * from escort_details where user_id='".$_SESSION['userid']."'"; $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> <? if($num_postad>0) {?> <td class="updatehdrstyle23"><a href="myaccount.php"><img src="images/edit_profile.png" style="vertical-align:middle;" /><br/>My Profile</a></td> <? } else { ?> <td class="updatehdrstyle23"><a href="userpostad.php"><img src="images/add_escort.png" style="vertical-align:middle;" /><br/>Post ad</a></td> <? } ?> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><a href="escortimages.php"><img src="images/my_photo.png" style="width:52px; height:52px; vertical-align:middle" /><br/>My Photos</a></td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><a href="add-myvideos.php"><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="blacklist.php"><img src="images/blacklist.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Black List</a></td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <? if( $num_postad>0) { if($row_postad['ft_ad_status']=='Yes') { $todaydate=date('Y-m-d'); $exp=$row_postad['ft_ad_expair']; if($todaydate>$exp) {?> <td class="updatehdrstyle23"><a href="advertise-vipmember.php?estid=<?=$row_postad['id']?>"><img src="images/premium.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Premium</a></td> <? } else { ?> <td class="updatehdrstyle23"><img src="images/premium.png" onclick ="div_show()" style="width:55px; height:55px; vertical-align:middle" /><br/>Premium</td> <? } } else {?> <td class="updatehdrstyle23"><a href="advertise-vipmember.php?estid=<?=$row_postad['id']?>"><img src="images/premium.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Premium</a></td> <? } ?> <? } else {?> <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="escort-harrasment.php"><img src="images/blacklist.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Report Harrasers</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="password-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="view-own-ad.php?name=<?=$row_postad['nickname']?>&phone=<?=$row_postad['tel_national']?>"><img src="images/viewad.png" style="width:55px; height:55px; vertical-align:middle" /><br/>View Ad</a></td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><a href="remove-account.php"><img src="images/removeacc.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Remove Account/AD</a></td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><a href="mybanner.php"><img src="images/bannericon2.png" style="width:55px; height:55px; vertical-align:middle" /><br/>My Banner</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 id="abc"> <div id="popupContact"> <div class="contactin" > <!--<form action="sendmail-process.php" method="post" id="form11" name="f1" onSubmit="return validate();" >--> <div class="deliveredmsg" id="avt25"> <table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto;"> <tr> <td class="wanttext"> <? $todaydate=date('Y-m-d'); $exp=$row_postad['ft_ad_expair']; $diff=(strtotime($exp) - strtotime($todaydate)) / (60 * 60 * 24); $diffday=explode('.',$diff) ?> <span class="messagetext">You have a current featured ad in progress and it can be renewed in <?=$diffday[0]?> amount of days. </span> </td> </tr> <tr height="10"></tr> <tr> <td> <div style="height:35px;"> </div> </td> </tr> <tr height="10"></tr> <tr> <td align="center"> <a href="myaccount.php"><img src="images/close.png" /></a> </td> </tr> <tr height="20"> <td></td> </tr> </table> </div> </div> </div> </div> <div style=" width:960px; margin:0 auto; font-family:'Open Sans',sans-serif; font-size:14px; color:#000;"> <div class="postadpagebody"> <h1>Your Banners!</h1> <div class="addtourlist"> <? $sql_estpic="select * from escort_photo where postid='".$row_postad['id']."'"; $res_estpic=execute_query($sql_estpic); $row=mysql_fetch_array($res_estpic); ?> <div id="regcomcontain"> <div style="width:100%; margin:0 auto;"> <table border="0" cellpadding="0" cellspacing="0" style="width:100%;"> <tr> <td width="50%">Option1</td> <td>Copy & paste the code below</td> </tr> </table> </div> <br/> <div style="width:100%; margin:0 auto; height:220px;"> <div style="float:left; width:410px; height:210px;"> <table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto; margin-top:5px;"> <tr> <td > <!--<input name="htmlcopyimg" id="htmlcopyimg" type="image" src="avtar/<?=$row['picture']?>" style="width:100px; height:84px;" /> --> <div id="htmlcopyimg"><img src="avtar/<?=$row['picture']?>" style="width:100px; height:84px;" /></div></td> <td><img src="images/sidebannerimg.jpg" style="width:150px; height:84px;" /></td> </tr> </table><br/> <table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto; width:405px;"> <tr> <? $sql_img="SELECT * FROM escort_photo where userid='".$_SESSION['userid']."'"; $res_img=execute_query($sql_img); while($rowimage=mysql_fetch_array($res_img)) { ?> <td> <img src="avtar/<?=$rowimage['picture']?>" style="width:100px; height:84px;" /><br/> <input type="radio" name="bannerimg" value="<?=$rowimage['id']?>" onClick="change_code<?=$rowimage['id']?>();" /> </td> <td></td> <? } ?> <!-- <td><img src="avtar/<?=$row['picture']?>" style="width:100px; height:84px;" /><br/> <input type="radio" name="bannerimg" value="<?=$row_postad['id']?>" /></td> <td></td> <td><img src="avtar/<?=$row['picture']?>" style="width:100px; height:84px;" /><br/> <input type="radio" name="bannerimg" value="<?=$row_postad['id']?>" /></td> <td></td> <td><img src="avtar/<?=$row['picture']?>" style="width:100px; height:84px;" /><br/> <input type="radio" name="bannerimg" value="<?=$row_postad['id']?>" /></td>--> </tr> </table><br/> </div> <div style="float:right; width:500px; border:1px solid #666; text-align:center; border-radius:4px; height:180px;"> <textarea name="htmlcopy" id="htmlcopy" style="width:450px; height:150px; border:none; font-size:14px;"><div style="width:260px; height:85px;" ><table> <tr><td> <a href="http://escortservice.org/view-own-ad.php?name=<?=$row_postad['nickname']?>&phone=<?=$row_postad['tel_national']?>" title="Local escort listings"><img src="http://escortservice.org/avtar/<?=$row['picture'] ?>" style="width:100px; height:84px;"/><img src="http://escortservice.org/images/sidebannerimg.jpg" style="width:150px; height:84px;"/> </a></td></tr></table></div></textarea> <!-- <img src="avtar/<?=$row['picture']?>" style="width:100px; height:84px;" /><img src="images/sidebannerimg.jpg" style="width:150px; height:84px;" />--> </div> </div> </div> <br/> <div id="regcomcontain"> <div style="width:100%; margin:0 auto;"> <table border="0" cellpadding="0" cellspacing="0" style="width:100%;"> <tr> <td width="50%">Option2</td> <td>Copy & paste the code below</td> </tr> </table> </div> <br/> <div style="width:100%; margin:0 auto; height:220px;"> <div style="float:left; width:468px; height:210px;"> <table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto; margin-top:5px;"> <tr> <td > <!--<input name="htmlcopyimg" id="htmlcopyimg" type="image" src="avtar/<?=$row['picture']?>" style="width:100px; height:84px;" /> --> <div id="htmlcopyimg1"><img src="avtar/<?=$row['picture']?>" style="width:90px; height:60px;" /></div></td> <td><img src="images/sidebannerimage2.jpg" style="width:378px; height:60px;" /></td> </tr> </table><br/> <table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto; width:405px;"> <tr> <? $sql_img="SELECT * FROM escort_photo where userid='".$_SESSION['userid']."'"; $res_img=execute_query($sql_img); while($rowimage=mysql_fetch_array($res_img)) { ?> <td> <img src="avtar/<?=$rowimage['picture']?>" style="width:100px; height:84px;" /><br/> <input type="radio" name="bannerimg" value="<?=$rowimage['id']?>" onClick="change_code2<?=$rowimage['id']?>();" /> </td> <td></td> <? } ?> <!-- <td><img src="avtar/<?=$row['picture']?>" style="width:100px; height:84px;" /><br/> <input type="radio" name="bannerimg" value="<?=$row_postad['id']?>" /></td> <td></td> <td><img src="avtar/<?=$row['picture']?>" style="width:100px; height:84px;" /><br/> <input type="radio" name="bannerimg" value="<?=$row_postad['id']?>" /></td> <td></td> <td><img src="avtar/<?=$row['picture']?>" style="width:100px; height:84px;" /><br/> <input type="radio" name="bannerimg" value="<?=$row_postad['id']?>" /></td>--> </tr> </table><br/> </div> <div style="float:right; width:450px; border:1px solid #666; text-align:center; border-radius:4px; height:180px;"> <textarea name="htmlcopy1" id="htmlcopy1" style="width:430px; height:150px; border:none; font-size:14px;"><div style="width:479px; height:60px;" ><table> <tr><td> <a href="http://escortservice.org/view-own-ad.php?name=<?=$row_postad['nickname']?>&phone=<?=$row_postad['tel_national']?>" title="Local escort listings"><img src="http://escortservice.org/avtar/<?=$row['picture'] ?>" style="width:90px; height:60px;"/><img src="http://escortservice.org/images/sidebannerimage2.jpg" style="width:378px; height:60px;"/> </a></td></tr></table></div></textarea> <!-- <img src="avtar/<?=$row['picture']?>" style="width:100px; height:84px;" /><img src="images/sidebannerimg.jpg" style="width:150px; height:84px;" />--> </div> </div> </div> <br/> <div id="regcomcontain"> <div style="width:100%; margin:0 auto;"> <table border="0" cellpadding="0" cellspacing="0" style="width:100%;"> <tr> <td width="50%">Option3</td> <td>Copy & paste the code below</td> </tr> </table> </div> <br/> <div style="width:100%; margin:0 auto; height:370px;"> <div style="float:left; width:468px; height:250px;"> <table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto; margin-top:5px;"> <tr> <td > <!--<input name="htmlcopyimg" id="htmlcopyimg" type="image" src="avtar/<?=$row['picture']?>" style="width:100px; height:84px;" /> --> <div id="htmlcopyimg2"><img src="avtar/<?=$row['picture']?>" style="width:152px; height:250px;" /></div></td> <td><img src="images/sidebannerimage3.jpg" style="width:149px; height:250px;" /></td> </tr> </table><br/> <table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto; width:405px;"> <tr> <? $sql_img="SELECT * FROM escort_photo where userid='".$_SESSION['userid']."'"; $res_img=execute_query($sql_img); while($rowimage=mysql_fetch_array($res_img)) { ?> <td> <img src="avtar/<?=$rowimage['picture']?>" style="width:100px; height:84px;" /><br/> <input type="radio" name="bannerimg" value="<?=$rowimage['id']?>" onClick="change_code3<?=$rowimage['id']?>();" /> </td> <td></td> <? } ?> <!-- <td><img src="avtar/<?=$row['picture']?>" style="width:100px; height:84px;" /><br/> <input type="radio" name="bannerimg" value="<?=$row_postad['id']?>" /></td> <td></td> <td><img src="avtar/<?=$row['picture']?>" style="width:100px; height:84px;" /><br/> <input type="radio" name="bannerimg" value="<?=$row_postad['id']?>" /></td> <td></td> <td><img src="avtar/<?=$row['picture']?>" style="width:100px; height:84px;" /><br/> <input type="radio" name="bannerimg" value="<?=$row_postad['id']?>" /></td>--> </tr> </table><br/> </div> <div style="float:right; width:450px; border:1px solid #666; text-align:center; border-radius:4px; height:180px;"> <textarea name="htmlcopy2" id="htmlcopy2" style="width:430px; height:150px; border:none; font-size:14px;"><div style="width:300px; height:250px;" ><table> <tr><td> <a href="http://escortservice.org/view-own-ad.php?name=<?=$row_postad['nickname']?>&phone=<?=$row_postad['tel_national']?>" title="Local escort listings"><img src="http://escortservice.org/avtar/<?=$row['picture'] ?>" style="width:152px; height:250px;"/><img src="http://escortservice.org/images/sidebannerimage2.jpg" style="width:149px; height:250px;"/> </a></td></tr></table></div></textarea> <!-- <img src="avtar/<?=$row['picture']?>" style="width:100px; height:84px;" /><img src="images/sidebannerimg.jpg" style="width:150px; height:84px;" />--> </div> </div> </div> </div> <br/><br/> </div> <br class="spacer" /> </div> <br class="spacer" /> </div> </div> <div class="stdtls_footer"></div> </div> <br class="spacer" /> </div> </div> <? include "includes/footer.php";?>