$page = "store";
require_once($_SERVER['DOCUMENT_ROOT'].'/includes/header.php');
dbConnect("db162598_guforums");
$replygrab = mysql_query("SELECT replycount,lastpost,threadcount FROM forum WHERE forumid = 26");
$replyrow = mysql_fetch_assoc($replygrab);
$replies = $replyrow["replycount"];
$activity = $replyrow["lastpost"];
$lastactivity = date("m/d/y g:ia",$activity);
$threadcount = $replyrow["threadcount"];
$assetgrab = mysql_query("SELECT attachmentid FROM attachment");
$assetcount = mysql_num_rows($assetgrab);
$viewgrab = mysql_query("SELECT views FROM thread WHERE forumid = 26");
$storeviews = 0;
while (list($threadviews) = mysql_fetch_row($viewgrab)) {
$recordviews = intval($threadviews);
$storeviews = $storeviews + $recordviews;
$recordviews = "";
}
$cdate = intval(date("Ymd"));
?>
Fancast Activity: Last Update: echo $lastactivity; ?> Content Threads: echo $threadcount; ?> Total Views: echo $storeviews; ?> Fan Comments: echo $replies; ?> |
/*
![]() |
About the GU Fancast: The fancast is GU's way of provding bonus content to didicated fans. Right now, most of it is artwork not seen anywhere else for years and will be moving into new artwork made specifically for fancast members in the coming months. The GU Fancast is based in a private section of the GU Forums, so members with forum accounts do not have to create a new account somewhere else. |
![]() |
Membership Benefits: Rare Artwork, Bonus Comics, Non-GU Artwork, Wallpapers, First Chance at some giveaways, Tutorials, Videos, etc. Additional control over your forum account. Make suggestions, requests, and discuss Bonus Content. Coming Soon: We're currently working on the ability receive email and/or SMS updates when new Assets or Comments are added. |
*/ ?>