if (mysql_num_rows($result) > 0)
{
$myrow = mysql_fetch_array($result);
do
{
printf ("<div style='position:relative; display:block;height:70px; background:#fff;border-left:solid 50px #ffffff;border-right:solid 100px #ffffff;'>
<div style='display:block; position:relative; margin-left:-50px; margin-right:-100px; padding:1px;'>
<div style='float:left; position:relative; height:50px; width:40px; left:0px; margin-left:5px;
'><a href='index.php?name=Alawar&online_games&ID=%s'><img src='%s'></a></div>
<div style='float:right; position:relative; width:90px; right:0px; margin-right:5px;
margin-top:10px;'><a href=\"javascript:{object=window.open('%s', 'windoname', 'location=0,menubar=0,toolbar=0,resizable=0,scrollbars=0,left=100,width=%s,height=%s');object.focus();}\"><img src='modules/Alawar/images/online.png'></a></div>
<div style='margin-left:60px; margin-right:110px;position:relative; display:block;[COLOR="Red"]height:1%;[/COLOR]'><strong>%s</strong><p>%s <a href='index.php?name=Alawar&online_games&ID=%s'>Подробнее...</a></p></div>
</div>
</div>",$myrow["ID"], $myrow["Game_Logo_44_44_URL"], $myrow["LINK"], $myrow["WIDTH"], $myrow["HEIGHT"], $myrow["Game_Name"], $myrow["Char_Desc_80"], $myrow["ID"] );
}
while ($myrow = mysql_fetch_array($result));