if ($superset!="showArticle") { ?>

include "headlines.txt" ?>
|
|

|
| |
if ($pollset=="isVote") {
if ($toVote=="yes") {
$sqlTop="select * from polls where id='" . $_POST["thisPoll"] . "'";
$resTop=mysql_query($sqlTop);
if ($myrowTop=mysql_fetch_array($resTop)) {
if ($_POST["toVote"]<10 && $_POST["toVote"]>=0) {
$totalVotes=$myrowTop["votes_total"]+1;
$thisVote=$myrowTop["votes_" . $_POST["toVote"]]+1;
$sql="update polls set votes_total='" . $totalVotes . "' where id='" . $_POST["thisPoll"] . "'"; mysql_query($sql);
$sql="update polls set votes_" . $_POST["toVote"] . "='" . $thisVote . "' where id='" . $_POST["thisPoll"] . "'"; mysql_query($sql);
if ($_POST["myName"]!="" && $_POST["myComments"]!="") {
$myHour=date("H")+$estDiff;
$myDay=date("d");
if ($myHour<0) { $myHour=24+$myHour; $myDay=$myDay-1; }
$myDate=date("Y-m-" . $myDay);
$myTime=$myHour . date(":i:s");
$sql="insert into poll_comments (poll_id, date, time, vote_val, name, comment) values ('" . $_POST["thisPoll"] . "', '" . $myDate . "', '" . $myTime . "', '" . $_POST["toVote"] . "', '" . $_POST["myName"] . "', '" . $_POST["myComments"] . "')"; mysql_query($sql);
} } } }
$sql="select * from polls order by date desc, time desc";
$res=mysql_query($sql);
if ($myrow=mysql_fetch_array($res)) {
$sqlX="select * from poll_comments where poll_id='" . $myrow["id"] . "'";
$resX=mysql_query($sqlX);
$commentCount=0;
if ($myrowX=mysql_fetch_array($resX)) { do {
$commentCount=$commentCount+1;
} while ($myrowX=mysql_fetch_array($resX)); } ?>
= $myrow["title"] ?>
','popup','width=450,height=300,resizable=no,left=20,top=20,screenX=20,screenY=20,scrollbars=yes');">View Comments [= $commentCount ?> Comments]
$totalVotes=$myrow["votes_total"];
if ($totalVotes>0) {
$x=0; do { if ($myrow["votes_" . $x . "_title"]!="") { ?>
= $myrow["votes_" . $x . "_title"] ?>
[= $myrow["votes_" . $x] ?> votes / = number_format((($myrow["votes_" . $x]/$totalVotes) * 100), 1, '.', '') ?>%]
" height="6" border="0">
} $x=$x+1; } while ($x<10); ?> } else { echo " No Votes for this Poll
"; } } ?>
} ?>
if ($pollset=="toVote") { ?>
$sql="select * from polls order by date desc, time desc";
$res=mysql_query($sql);
if ($myrow=mysql_fetch_array($res)) { ?>
} ?>
} ?>
|
|
} else { ?>
} ?>
|
if ($subset=="front") { ?>
|
|
} ?>
if ($subset=="pg") { ?>
|
} ?>
if ($subset=="profile") { ?>
|
} ?>
if ($subset=="archive") { ?>
| |
if ($superset=="showArticle") { ?>
$sql="select * from posts where id='" . $_GET["archive"] . "'";
$res=mysql_query($sql);
if ($myrow=mysql_fetch_array($res)) { ?>
if ($myrow["subtype"]=="") { ?>
if ($myrow["type"]=="Live Review") { ?>= $myrow["type"] ?>: } } else { ?>
">= $myrow["subtype"] ?>: } ?>= $myrow["title"] ?>
by: ">= stripslashes($myrow["username"]) ?>
on: = date("n/j/Y", strtotime($myrow["date"])) . " " . date("g:i a", strtotime($myrow["time"])) . " est" ?>
if ($myrow["image"]!="") { ?>
" border="0" alt="">
} ?>
$thisArticleBody=ereg_replace("(\r\n|\n|\r)", "\n ", $myrow["body"]);
$thisArticleBody=str_replace("[b]", "", $thisArticleBody);
$thisArticleBody=str_replace("[/b]", "", $thisArticleBody);
$thisArticleBody=str_replace("[i]", "", $thisArticleBody);
$thisArticleBody=str_replace("[/i]", "", $thisArticleBody);
$thisArticleBody=str_replace("[u]", "", $thisArticleBody);
$thisArticleBody=str_replace("[/u]", "", $thisArticleBody);
$thisArticleBody=str_replace("[link]", "[Link]", $thisArticleBody);
$thisArticleBody=str_replace("[url]", "[Link]", $thisArticleBody);
$thisArticleBody=str_replace("[image]", " ", $thisArticleBody);
$thisArticleBody=str_replace("[img]", " ", $thisArticleBody); ?>
= $thisArticleBody ?>
if ($myrow["type"]=="Show Review" || $myrow["type"]=="Tape Review" || $myrow["type"]=="Book Review") { if ($myrow["rating"]!="") { ?>
Overall Rating for this = $myrow["type"] ?>: = $myrow["rating"] ?>
} } ?>
$sqlY="select * from poster_prof where username='" . addslashes($myrow["username"]) . "'";
$resY=mysql_query($sqlY);
if ($myrowY=mysql_fetch_array($resY)) { if ($myrowY["email"]!="") { ?>
" class="title2">Email this Author
} } ?>
} ?>
} ?>
if ($superset=="full") { ?>
if ($supraset=="listMonth") { ?>
} ?>
if ($supraset=="showMonth") { ?>
Existing Archives sorted by Date
Archives for = $_GET["date"] ?>
} ?>
} ?>
if ($superset=="byPoster") {
$var_test=empty($_GET["thisPoster"]); if ($var_test!="true") { ?>
Existing Archives for = stripslashes($_GET["thisPoster"]) ?>
} } ?>
if ($superset=="byColumn") {
$var_test=empty($_GET["thisColumn"]); if ($var_test!="true") { ?>
Existing Archives for = stripslashes($_GET["thisColumn"]) ?>
} } ?>
if ($superset=="byType") {
$var_test=empty($_GET["thisType"]); if ($var_test!="true") { ?>
Oratory = $_GET["thisType"] ?> Archives
} } ?>
if ($superset=="search") { ?>
$x=0;
$sql="select * from posts order by date desc, time desc";
$res=mysql_query($sql);
if ($myrow=mysql_fetch_array($res)) { do { if (ereg(strtolower($_POST["searchTerm"]), strtolower($myrow["username"])) || ereg(strtolower($_POST["searchTerm"]), strtolower($myrow["title"])) || ereg(strtolower($_POST["searchTerm"]), strtolower($myrow["comment"])) || ereg(strtolower($_POST["searchTerm"]), strtolower($myrow["body"]))) {
$x=$x+1; } } while ($myrow=mysql_fetch_array($res)); } ?>
[= $x ?>] Search Results
} ?>
|
|
|
} ?>