GIF89a;
Direktori : /home/serb/public_html/ |
Current File : /home/serb/public_html/letest-update.php |
<? session_start(); include("lib/globals.php"); include("lib/common.php"); include("lib/functions.php"); $page="my_account"; ?> <? 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;"></div> <div style="width:1000px; margin:0 auto;"> <div class="menuleft_contain"> <? include "includes/escortdetails_leftcontent.php";?> </div> <div class="acountright_contain"> <? $date=date('Y-m-d'); $ntexpiry = date("Y-m-d", time() - 30*24*60*60 ); $sql="SELECT * FROM escort_details WHERE updatedate BETWEEN '$ntexpiry' AND '$date'"; $res=execute_query($sql); $num=mysql_num_rows($res); ?> <div class="acccmid1_header">Recent Updates</div> <div class="accountrightct_mid"> <div class="small_space"></div> <div class="profile_data"> <div class="update_letest"> <table border="0" cellpadding="0" cellspacing="0"> <tr style="background:url(images/service_header.png) 0 0 repeat-x; border-radius:3px 3px 0 0; height:36px;"> <td width="150" class="updatehdrstyle" >Name</td> <td width="150" class="updatehdrstyle">City</td> <td width="150" class="updatehdrstyle">State</td> <td width="150" class="updatehdrstyle">Update Type</td> <td width="150" class="updatehdrstyle">Date</td> </tr> </table> <div style=" width:650px;"> <table border="0" cellpadding="0" cellspacing="0"> <? while($row=mysql_fetch_array($res)) { $sql_userinfo="SELECT * FROM user_info WHERE userid='".$row['user_id']."'"; $res_userinfo=execute_query($sql_userinfo); $row_userinfo=mysql_fetch_array($res_userinfo); $sql_city="SELECT * FROM citys WHERE id='".$row['escort_city']."'"; $res_city=execute_query($sql_city); $row_city=mysql_fetch_array($res_city); $sql_state="SELECT * FROM states WHERE id='".$row['escort_state']."'"; $res_state=execute_query($sql_state); $row_state=mysql_fetch_array($res_state); $updatedate=explode('-',$row['updatedate']); ?> <tr height="5"></tr> <tr> <td width="150" class="updatehdrstyle22"><a style="color:#690054; text-decoration:underline;" href="escort-service-dtls.php?estid=<?=$row['id']?>&city_id=<?=$row['escort_city']?>"><?=$row_userinfo['username']?></a></td> <td width="150" class="updatehdrstyle22"><?=$row_city['name']?></td> <td width="150" class="updatehdrstyle22"><?=$row_state['name']?></td> <td width="150" class="updatehdrstyle22">Profile Update</td> <td width="150" class="updatehdrstyle22"><? echo $updatedate[1].'/'.$updatedate[2].'/'.$updatedate[0] ?></td> </tr> <? } ?> </table> </div> </div> <br class="spacer" /> </div> <br class="spacer" /> </div> </div> <br class="spacer" /> </div> <br/> </div> <? include "includes/footer.php";?>