"; // *** LATEST SUBMISSIONS *** if(isset($recent_top)) echo $recent_top; else echo $top; include ($path."/cron/latest_uploads.inc"); $output .= ''; $output .= ''; $output .= ''; $output .= ''; $output .= ''; $output .= ''; $output .= ''; $output .= ''; $output .= ''; $output .= '
Full List'._LAST_7DAY_SKINS.''._LAST_7DAY_WALLZ.''._LAST_7DAY_UPLOADS.''._RECENT_UPLOADS.''._ALL_UPLOADS.'
'; echo $output; if(isset($recent_bottom)) echo $recent_bottom; else echo $bottom; echo '
'; // *** FEATURED STUFF *** if($d_fs == 1 or $d_fa == 1 or empty($login)) { if(isset($index_featured_top)) echo $index_featured_top; else echo $top; echo ''; echo ''; echo '
'; if($d_fs == 1 or empty($login)) { include ($path."/cron/feat_skin.inc"); echo '

'; } if($d_fa == 1 or empty($login)) { echo ''; echo ''; echo ''; echo '
'._FEATURED_APPLICATION.'
'; //echo '
'; include ($path."/cron/feat_app.inc"); echo '
'; ?>
'; // echo ''; } echo '
'; // echo '
'; echo 'This site contain a large collection of wallpapers and skins for your computer ( Windows, Linux and other operating systems )and all important informations about them. Archive is daily updated with new wallpapers.'; // echo '
'; echo '
'; if(isset($index_bottom)) echo $index_bottom; else echo $bottom; echo "
"; echo ""; } // *** OTHER CRAP *** if(!empty($login)) { // SHOW RECENT if($d_recent == 1 || empty($login) || $d_topdl == 1 || $d_mainstat == 1) if(isset($index_recent_top)) echo $index_recent_top; else echo $top; if($d_recent == 1) { include ($path."/cron/latest_ul.inc"); echo "
"; } // SHOW TOP DOWNLOADS if($d_topdl == 1) { include ($path."/cron/pop_skins.inc"); echo "
"; } // MAIN STATS if($d_mainstat == 1) { if(!empty($login)) MainUlStats($login,"black"); echo "
"; } if($d_recent == 1 || empty($login) || $d_topdl == 1 || $d_mainstat == 1) if(isset($index_recent_bottom)) {echo $index_recent_mottom;} else {echo $bottom;} } // SHOW NEWS if($d_news == 1 or empty($login)) { if(empty($page)) $page=1; if(empty($hits)) $hits=15; $start = $hits*($page-1); $query = "SELECT id FROM slo_news"; $mysqlCalled++; $res = mysql_query($query) or die("ERROR ".__LINE__.": ".mysql_error()); $xnum = mysql_num_rows($res); $stw2 = ($xnum/$hits); $stw2 = (int) $stw2; if($xnum%$hits > 0) $stw2++; $np = $page+1; $pp = $page-1; if ($page == 1) $pp=1; if ($np > $stw2) $np = $stw2; if(isset($index_news_top)) {echo $index_news_top;} else {echo $top;} if($page == 1) { echo '
'; include("/opt/www/virtual/www.skinbase.si/cron/news2.txt"); echo '
'; } else { $mysqlCalled++; $res = mysql_query("SELECT news.id,news.headline,news.views,news.author,news.datum,news.preview, topic.topictext FROM news,topic WHERE topic.topicname=news.category ORDER BY datum DESC LIMIT $start,$hits") or die("ERROR ".__LINE__.": ".mysql_error()); while ($ar = mysql_fetch_array($res)) { echo '
'; $mysqlCalled++; $res4 = mysql_query("SELECT COUNT(*) AS numCom FROM news_comment WHERE nid='$ar[id]'") or die("ERROR ".__LINE__.": ".mysql_error()); $ar4 = mysql_fetch_array($res4); ereg ("([0-9]{4})([0-9]{1,2})([0-9]{1,2})([0-9]{1,2})([0-9]{1,2})([0-9]{1,2})", $ar[datum], $datetime); $local_date = mktime($datetime[4],$datetime[5],$datetime[6],$datetime[2],$datetime[3],$datetime[1]); $datum = date("j.m.y", $local_date); $ar[preview] = eregi_replace("
","
",$ar[preview]); $ar[headline] = eregi_replace("
","
",$ar[headline]); ?>

,, category, _TIMES_READ, _NUM_COMMENTS
';?>