Profile image for majed majed majed
السلام
Language
PHP
Tags
شو

شو بيج

1 <? 2 include("header.php"); 3 4 include("navbar.php"); 5 6 $pn=$_GET['p']; 7 $a1=mysql_query("select * from pages where pid='$pn' "); 8 $a2=mysql_fetch_array($a1); 9 10 11 ?> 12 13 <br /> 14 15 <div align="right" style="direction: rtl;height: 900px;border-right: 0px dotted #000000; 16 padding: 5px;margin-right: 0px;"> 17 18 <div style="border-bottom: 1px dotted #000000;width: 96%;padding: 5px;margin-right: 10px;font-family:Arial;font-Size:12pt;color:#000000;font-weight: bold;"> 19 <img src="images/bb1.jpg" border="0"/> 20 &nbsp;<a href="index.php" style="color:#1704C1;">الرئيسية</a> &raquo; 21 ألبوم الصور 22 </div> 23 24 25 <center> 26 <br /><br /> 27 <table width="97%" border=0> 28 <tr> 29 <? 30 $q=mysql_query("select * from album "); 31 while($pic=mysql_fetch_array($q)){ 32 ?> 33 34 <td > 35 <div style="text-align: center;font-family:Arial;font-Size:9pt"> 36 <a href="images/album/<?=$pic['a_pic']?>" rel="facybox"> 37 <img src="images/album/<?=$pic['a_pic']?>" width="200px" height="132px" style="padding:5px;border: 1px solid #C9C0C7;color: #34383A;" /> 38 </a> 39 </div> 40 <div style="text-align: center;font-family:tahoma;font-Size:9pt;margin-top: 5px;"><?=$pic['a_name']?></div> 41 </td> 42 43 <? 44 $colument++; 45 if($colument ==3) 46 { 47 echo "</tr><tr><td colspan=\"3\">&nbsp;</td></tr>"; 48 $colument=0; 49 } 50 } 51 52 ?> 53 54 55 </table> 56 </center> 57 58 </div> 59 </div> 60 61 <? 62 include("footer.php"); 63 ?>

Comments