Most Downloaded Wallpapers'; $today = getdate(); $month = $today['mon']; $mday = $today['mday']; $year = $today['year']; if($month<10) $month = "0".$month; if($mday<10) $mday = "0".$mday; $res1 = mysql_query("SELECT * FROM wallpapers WHERE active=1 ORDER BY dls DESC LIMIT 31") or die("ERROR ".__LINE__.": ".mysql_error()); while ($ar1 = mysql_fetch_array($res1)) { $x++; $res = mysql_query("SELECT * FROM wallpapers WHERE id='".$ar1['id']."'") or die("ERROR".__LINE__.": ".mysql_error()); $ar = mysql_fetch_array($res); if ($x == 1) { echo showThumb($ar, 600); if (!empty($ar['description'])) { echo '

'.$ar['description'].'/p>'; } echo '

More popular wallpapers:

'; } else { echo showThumb($ar, 200); } } // *** Show Popular Tags echo '

'; echo '

Popular Tags

'; ShowPopularTagClouds(60); //echo '
'; require("footer.php"); ?>