include "botcheck.php"; //Not really in use. require_once "functions.php"; require_once "datatypes.php"; InitUser(); include_once "useronline/addonline.php"; include "dailyhits.php"; CheckMySQL(); $domain = "http://www.phrozenflame.com/"; $title = $HTTP_GET_VARS["title"]; if ($title=="") { $title = "News"; } $query = "SELECT ExtendedTitle,Page,Views FROM content2 WHERE Title = '$title'"; $result = MySQL_query($query); $rows = MySQL_fetch_array($result); $page = $rows['Page']; if (strpos($page, '?')) { $page = substr($page, 0, strpos($page, '?')); } $exttitle = $rows['ExtendedTitle']; $viewsold = $rows['Views']; $views = "$viewsold"+1; $sql = "UPDATE content2 SET Views = '$views' WHERE Title = '$title'"; $result = MySQL_query($sql); switch ($title) { case 'News': $show = 'True'; break; case 'FlashMovies': $type = 'Movie'; break; case 'FlashGames': $type = 'Game'; break; case 'NewsAll': $category = 'ALL'; break; case 'NewsGeneral': $category = 'General'; break; case 'NewsFlash': $category = 'Flash'; break; case 'NewsGaming': $category = 'Gaming'; break; case 'NewsTech': $category = 'Tech'; break; case 'FlashAnimutation': $type = 'Movie'; $category = 'Animutation'; break; case 'FlashMusicVid': $type = 'Movie'; $category = 'MusicVid'; break; case 'FlashAction': $type = 'Movie'; $category = 'Action'; break; case 'FlashMisc': $type = 'Movie'; $category = 'Misc'; break; case 'FlashArtistic': $type = 'Movie'; $category = 'Artistic'; break; case 'ScoredGames': $type = 'Game'; $category = 'Scored'; break; case 'FNext': $type = 'Movie'; $fid = $_GET['fid']; break; case 'GNext': $type = 'Game'; $fid = $_GET['fid']; break; case 'Comment': $type = 'News'; $id = $_GET['cid']; break; } ?>
include "includes/featurespot.php"; ?> | ||||
/* include "includes/revver.php"; */ include "includes/geoad2.php"; ?> | ||||
. | include "includes/newflash.php"; ?> | |||
include "includes/leftbar.php"; ?> | if ($page) { include "$page"; } else { echo("The page you are looking for uhh... can't be found...i think.."); } ?> | |||
include "includes/footer.php"; ?> |