GIF89a;
Direktori : /home/serb/www/ |
Current File : /home/serb/www/link-category.php |
<? session_start(); include("lib/globals.php"); include("lib/common.php"); include("lib/functions.php"); include("lib/pager.php"); ?> <? include "includes/header_top.php";?> <body> <? include "includes/header.php";?> <div class="hdr_foo"> <div class="hrd_ftmenu"> </div> </div> <div class="main_bg"> <div style="height:32px; width:1000px;"> </div> <div style="width:1000px; margin:0 auto;"> <div class="menuleft_contain"> <? include "includes/link_leftcontent.php";?> </div> <div class="acountright_contain"> <div class="acccmid1_header">Link Category</div> <div class="accountrightct_mid"> <div class="small_space"></div> <div class="profile_data"> <? $sql="SELECT * FROM link_catagory WHERE status='a'"; $res=execute_query($sql); $num=mysql_num_rows($res); ?> <div class="link_info"> <? $ii=1; while($row=mysql_fetch_array($res)) {?> <div class="linkcat_info" > <h1><?=$row['name']?></h1> <div class="srv_infodtl"> <table border="0" cellpadding="0" cellspacing="3" > <tr> <td class="logintext22"> <? $desc=explode(' ',$row['description']); for($i=0; $i<=25; $i++) { echo $desc[$i].' '; } ?>... </td> </tr> <tr> <td class="logintext22"><a href="view-linkbanners.php?catid=<?=$row['id']?>"><img src="images/viewlist.png" /></a></td> </tr> <tr height="5"></tr> </table> </div> </div> <? if($ii%3==0) { ?> <br class="spacer" /> <div style="height:10px;"> <br class="spacer" /></div> <? } $ii++; } ?> <br class="spacer" /> <br/> </div> <br class="spacer" /> </div> <div class="profile_data2"> <div class="escort_rateinfo222"> <h1>Randomly Featured Escorts</h1> <div style="height:10px;"></div> <div class="profile_data222"> <? $ii=1; $sql_newescort="SELECT * FROM escort_details WHERE status ='a' ORDER BY RAND() LIMIT 0,15"; $res_newescort=execute_query($sql_newescort); while($row_newescort=mysql_fetch_array($res_newescort)){ $sql_escortpic="SELECT * FROM user_info WHERE userid='".$row_newescort['user_id']."'"; $res_escortpic=execute_query($sql_escortpic); $row_escortpic=mysql_fetch_array($res_escortpic); ?> <div class="justescort22"> <div class="esct_pic"> <a href="escort-service-dtls.php?estid=<?=$row_newescort['id']?>&city_id=<?=$row_newescort['escort_city']?>"><img src="profile_pic/<?=$row_escortpic['pic']?>" style="margin:0 auto; width:114px; height:150px; border:1px solid #364d33;" /></a> </div> <div class="esct_name666"> <div style="height:4px;"></div> <table border="0" cellpadding="0" cellspacing="0" style="width:114px;"> <tr> <td class="escort_name"><?=$row_escortpic['username']?></td> </tr> <tr> <? $sql_escortcity="SELECT * FROM citys WHERE id='".$row_newescort['escort_city']."'"; $res_escortcity=execute_query($sql_escortcity); $row_escortcity=mysql_fetch_array($res_escortcity); ?> <td style=" font-family:'Open Sans',sans-serif; margin:0 auto; color:#5c665c; text-align:center;"> in <?=$row_escortcity['name']?> </td> </tr> <tr height="3"></tr> </table> <?php /*?><p style="width:114px; font-family:'Open Sans',sans-serif; margin:0 auto; color:#690054; text-transform:uppercase; text-align:center; "><?=$row_escortpic['username']?></p> <? $sql_escortcity="SELECT * FROM citys WHERE id='".$row_newescort['escort_city']."'"; $res_escortcity=execute_query($sql_escortcity); $row_escortcity=mysql_fetch_array($res_escortcity); ?> <p style="width:114px; font-family:'Open Sans',sans-serif; margin:0 auto; color:#000; text-align:center;">in <?=$row_escortcity['name']?></p> <div style="height:4px;"></div><?php */?> </div> </div> <? if($ii%5==0) { ?> <br class="spacer" /> <div style="height:10px;"> <br class="spacer" /></div> <? } $ii++; } ?> <br class="spacer" /> <br/> </div> </div> <br class="spacer" /> <br/> </div> <br class="spacer" /> </div> </div> <br class="spacer" /> </div> <br/> </div> <? include "includes/footer.php";?>