View file style/wap_style/foot.php

File size: 620B
<?php
$q=mysql_query("select* from `rekl` where `mesto`='3' order by `id`;");
print "<div class=\"foot2\">";
while ($row=mysql_fetch_array($q))
{
print "<a href='".$row['link']."'>".base64_decode($row['linkname'])."</a><div class='hr'></div>";
}
print "<center>";
include "online.php";
include "file/gen.php";
$q2=mysql_query("select* from `banners` where `mesto`='0'  order by `id`;");
while($row2=mysql_fetch_array($q2))
{
print "<br /><a href='".$row2['link']."'><img src='".$row2['linkimg']."' alt='".base64_decode($row2['banname'])."' /></a><br />";
}
print "</center></div>
</body>
</html>";

?>