GIF89a;
| Direktori : /home/serb/www/ |
| Current File : /home/serb/www/my-account.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/acount_leftcontent.php";?>
</div>
<div class="acountright_contain">
<?
$sql="SELECT * FROM user_info WHERE userid='".$_SESSION['userid']."'";
$res=execute_query($sql);
$row=mysql_fetch_array($res);
$num=mysql_num_rows($res);
?>
<div class="acccmid1_header">Welcome <?=$row['username']?></div>
<div class="accountrightct_mid">
<div class="small_space"></div>
<div class="profile_data">
<?php /*?><?
$sql="SELECT * FROM user_info WHERE userid='".$_SESSION['userid']."'";
$res=execute_query($sql);
$row=mysql_fetch_array($res);
$num=mysql_num_rows($res);
?><?php */?>
<?php if($_REQUEST['ad_status'] == "success") {?>
<div style="margin:0 auto; width:600px; color:#387235; text-align:center; font-size:14px; line-height:30px; font-weight:bold;">Your ad has been submitted with payment successfully.</div>
<?php } ?>
<?php if($_REQUEST['upgrade_status'] == "success") {?>
<div style="margin:0 auto; width:600px; color:#387235; font-size:14px; text-align:center; line-height:30px; font-weight:bold;">Your ad has been upgraded successfully.</div>
<?php } ?>
<div class="estprofile_image">
<? if($row['pic']!="")
{ ?>
<img width="135" style="border:1px solid #7b0000; height:auto; border-radius:5px;" src="profile_pic/<?=$row['pic']?>" alt="">
<? }
else
{ ?>
<img width="135" height="170" style="border:1px solid #7b0000; border-radius:5px;" src="images/no_photo_female.gif" alt="">
<? }?>
</div>
<div class="estprof_in">
<table border="0" cellpadding="0" cellspacing="4">
<tr>
<td class="logintext">Email :</td>
<td class="dtl_ans"><?=$row['email']?></td>
</tr>
<tr>
<td class="logintext">City :</td>
<?
$sql_city="SELECT * FROM citys WHERE id='".$row['city']."'";
$res_city=execute_query($sql_city);
$row_city=mysql_fetch_array($res_city);
?>
<td class="dtl_ans"><?=$row_city['name']?></td>
</tr>
<tr>
<td class="logintext">State :</td>
<?
$sql_state="SELECT * FROM states WHERE id='".$row['state']."'";
$res_state=execute_query($sql_state);
$row_state=mysql_fetch_array($res_state);
?>
<td class="dtl_ans"><?=$row_state['name']?></td>
</tr>
<tr>
<td class="logintext">Country :</td>
<td class="dtl_ans">United State</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" style="margin-top:10px;">
<tr>
<td class="logintext">Message:</td>
<td class="dtl_ans"> You have gained <?=$row['rewards']?> Reward pts to date.To be used in our Pretty woman store</td>
</tr>
<tr height="10"></tr>
<tr>
<td colspan="2" style="color:#ff9131;">
<? if($_GET['msg']==1){ ?>
You Have Already One Ad. So You can only manage your Ad.
<? } ?>
</td>
</tr>
</table>
</div>
<br class="spacer" />
</div>
<br class="spacer" />
</div>
</div>
<br class="spacer" />
</div>
<br/>
</div>
<? include "includes/footer.php";?>