"; #print $_SERVER[REQUEST_URI]; if (strtolower($addr) == "distorm") { echo "\r\n"; exit; } if (strtolower($addr) == "blogs") { echo "\r\n"; exit; } // 1 is no DB, 2 is DB $arr["news"] = 2; $arr["guestb00k"] = 2; $arr["links"] = 1; $arr["projects"] = 1; $arr["contact"] = 2; $arr["about"] = 1; $arr["forum"] = 1; $arr["f0rump0st"] = 2; $arr["thread"] = 2; $arr["snippets"] = 1; $arr["samples"] = 1; $arr["snippet"] = 1; $arr["sample"] = 1; $arr["tutorials"] = 1; $arr["tutorial"] = 1; $arr["downloads"] = 1; $arr["c0mments"] = 2; if ($arr[$addr] == NULL) $addr = "news"; // We need the DB everytime for the TOP's sections... $conn = new mysqli("localhost", "rsq_rssql", "qeynos", "rsq_rsmysql"); if (!$conn) die("Couldn't access database"); #$res = MySQL_Select_DB("rsq_rsmysql"); #if (!$res) die("Couldn't select database"); ?> Ragestorm - Programming World \r\n"; } else { echo ""; } ?>
Home
Tutorials
Code Snippets
Code Samples
Downloads
Links

The Blog
Our Projects
About
Contact

::Add RageStorm to Favorites!::

The Blog | Our Projects | Guest Book | About | Contact

 
::Top 5 Tutorials::
query("SELECT * FROM Tutorials ORDER BY Views DESC LIMIT 0,5") or die(0); while(@$tutorial = mysqli_fetch_array($res)) echo "" .$tutorial["Name"] ."[" .$tutorial["Views"] ."]
" ?>

::Top 5 Samples::
query("SELECT * FROM SourceCodes WHERE Flag=1 ORDER BY Downloads DESC LIMIT 0,5") or die(0); while(@$sample = mysqli_fetch_array($res)) echo "" .$sample["Name"] ."[" .$sample["Downloads"] ."]
" ?>