السلا عليكم
اسعد الله ايامكم بالخير والمسرات
لدي هذا الكود
include_once('config.php');
$id= filler(intval($_REQUEST['id']));
if(!$templat||!file_exists("/template/$templat/style.css"))
{
$w=mysql_query("select * from setting where id='1'");
while($row=mysql_fetch_row($w))
{
$templat=$row[10];
}
}
if(!$templat||!file_exists("/template/$templat/style.css"))
{
echo "<LINK href=\"/images/style.css\" type=text/css rel=StyleSheet>";
}
else
{
echo "<LINK href=\"/template/$templat/style.css\" type=text/css rel=StyleSheet>";
}
?>
<?
$w22=mysql_query("select * from setting where id='1'");
while($rowss=mysql_fetch_row($w22))
{
$htmlorphp=$rowss[6];
}
$w=mysql_query("select * from play where catid=32 order by id desc limit 5");
while($row=mysql_fetch_row($w))
{
if($htmlorphp==1)
{
$urlplay='/play-'.$row[0].'.html';
}
else
{
$urlplay='/play.php?catslinkp='.$row[0].'';
}
if( strlen($row[7]) >= 205 )
{
$row[7]=substr($row[7],0,205)."...";
}
if($id==4 || $id==23)
{
$imglink=$row[3];
$writer=$row[4];
}
else
{
$imglink=$row[4];
$writer=$row[11];
}
if($imglink=='')
{
$image="<div style='height:90'></div>";
}
else
{
$checkhttp = '^[http]+[[:print:]]+$';
$check2 = '^[/]+[[:print:]]+$';
if ( eregi ( $checkhttp ,$imglink ) || eregi ( $check2 ,$imglink ) )
{
$image="<img height='90' width='85' src='$imglink' border=\"0\">";
}
else
{
$image="<img height='90' width='85' src='../../$imglink' border=\"0\">";
}
}
?>
<div class="glidecontent" style="position: absolute;width:100%; right:0px ; top:0px ">
<?
if($dir=="rtl"){$alignrr="right";}else{$alignrr="left";}
echo "<div align=\"center\">
<table width='100%' valign=\"top\" dir=$dir2 border=0>
<tr><td valign=\"top\"><a class=linktable href='$urlplay' TARGET=\"_blank\">$row[2]</a>
<br>
<font class='fonttable2'>$row[7]</font></td>
<td align='$alignrr'>$image</td>
</tr></table>
<table width=\"100%\" valign=\"top\" border=\"0\" style='margin-top:2px'>
<tr>
<td width=\"16%\" bgcolor=\"#f4f4f4\"><div dir='$dir2' align=\"center\"><a class=linktable href='$urlplay' TARGET=\"_blank\">$lag_readmore</a></div></td>
<td width=\"25%\" bgcolor=\"#f4f4f4\"><div dir='$dir2' align=\"center\"><font class='fonttable'>$lag_visit:<font class='fonttable2'>$row[5] </font></div></td>
<td width=\"29%\" bgcolor=\"#f4f4f4\"><div dir='$dir2' align=\"center\"><font class='fonttable'>$lag_send_mail_time:<font class='fonttable2'>$row[8]</font></div></td>
<td width=\"30%\" bgcolor=\"#f4f4f4\"><div dir='$dir2' align=\"center\"><font class='fonttable'>$lag_writer:<font class='fonttable2'>$writer</font></font></div></td>
</tr>
</table></div>
</div>
";
}
?>عبارة عن اظهار بيانات من قاعدة البيانات
لكن المشكلة بأن البيانات بتظهر فوق بعضها
وانا اريدها ان تظهر تحت بعضها
فما هو الحل؟

