= 1) { $bannedinfo = mysql_fetch_array($getbanned); echo("
You Are Banned!
You have been banned for the following reason:
$bannedinfo[reason]
"); } else { ?> TechTuts.com - PHP, Photoshop, CSS, Bryce Tutorials and more
EOF; } else { echo<< $random[alt] EOF; } ?>
Navigation
 
Main Navigation
    Home
    Affiliates
    Contact
Interaction
    Forum
    Topsites
    Plug Your Site
    Version 3 Status
Tutorials
Submit Tutorial
"); while($tutcat = mysql_fetch_array($getcats)) { echo("     $tutcat[title]
"); } ?>
 
New Tutorials
 
$tuts[title]
"); } else { echo("
$tuts[title]
"); } $tutnum = $tutnum +1; } ?>
 
Recent Comments
Comment by $comments[author]
  "); } ?>
 
"); } echo ("
Poll
$getq[question]
"); ?>
"); while ($choices = mysql_fetch_array($getchoice1)){ echo ("
$choices[text]
"); } if ($_POST[pollsubmit] && $voted == 0) { $pchoiceq= mysql_query("SELECT * from poll_choices WHERE pollid = '$getq[id]' order by 'id' asc"); while ($pchoices = mysql_fetch_array($pchoiceq)){ $choiceid = $pchoices[id]; if ($_POST[choice] == $choiceid && $voted == 0) { $update_votes = mysql_query("Update poll_choices set votes = votes + 1 where id = '$choiceid'"); $fvote = mysql_query("INSERT INTO `poll_votes` ( `poll_id`, `ident`, `choice`, `date` )VALUES ('$getq[id]', '$ident', '$choiceid', NOW())"); echo ("Thank You for voting!"); } } } if ($voted == 1) { $totalvotes = 0; $getnumvotes = mysql_query("SELECT * from poll_choices where pollid = '$getq[id]' order by 'id' asc"); while($votes = mysql_fetch_array($getnumvotes)) { $totalvotes = $totalvotes + $votes[votes]; } $getpoll1 = mysql_query("SELECT * from poll_choices where pollid = '$getq[id]' order by 'id' asc"); while ($getpoll = mysql_fetch_array($getpoll1)) { $numvotes = $getpoll[votes] / $totalvotes; $numvotes2 = $numvotes * 100; echo ("$getpoll[text]"); $round = ceil($numvotes2); echo (" ($getpoll[votes] votes)
"); } } echo "
Total Votes: $totalvotes
"; ?>
 
[i]Italic Text[/i] -- This makes text italic (Italic Text)
[u]Underlined Text[/u] -- This makes text underlined(Underlined Text)
[s]Struck Through Text[/s] - This makes text struck through(Stuck Through Text)
1[sup]st[/sup] -- This makes text superscript (1st)
H[sub]2[/sub]O -- This makes text subscript (H2O)
[code]<HTML> Code Here[/code] -- Used for displaying code
[php]<? echo("This is php code"); ?>[/php] -- Used for displaying php code
[quote by=username]I said this![/quote] -- Used to display what other people said
[img]http://techtuts.com/button.gif[/img] -- Used to display an image
[url=http://techtuts.com]Awesome Site[/url] -- Used to display a link (Awesome Site)
[url]http://techtuts.com[/url] -- Another way to display a link (http://techtuts.com)
"); endbox(); break; } ?>
Shoutbox
   
Links
 
Sign Up!
   
"); } ?>
Random Affiliates
 
Statistics
 
Member Stats
Members:
Latest Member:
People Online
Forum Stats
Posts:
Topics:
Replies:
Admin Stats
Pending Affiliates: $pendingaff
"); } ?>
 
All Content Copyright 2005-2006 TechTuts.com or Respective Owners