$who_online = "<CENTER>".translate("There are currently,")." $guest_online_num ".translate("guest(s) and")." $member_online_num ".translate("member(s) that are online.")."<BR><BR>";
$title = "".translate("Who's Online")."";
$content = "$who_online";
if ($user) {
$content .= "".translate("You are logged as")." <b>$username</b>.";
} else {
$content .= "".translate("You are Anonymous user. You can register for free by clicking <a href=user.php>here</a>.")."";
}
themesidebox($title, $content);
}
function bigstory() {
global $cookie;
$today = getdate();
$day = $today[mday];
if ($day < 10) {
$day = "0$day";
}
$month = $today[mon];
if ($month < 10) {
$month = "0$month";
}
$year = $today[year];
$tdate = "$year-$month-$day";
$result = mysql_query("select sid, title from stories where (time LIKE '%$tdate%') order by counter DESC limit 0,1");
list($fsid, $ftitle) = mysql_fetch_row($result);
if ((!$fsid) AND (!$ftitle)) {
$content = "<center>".translate("There isn't a Biggest Story for Today, yet.")."</center>";
} else {
$content = "<center>".translate("Today's most read Story is:")."<br><br>";