All pastes #838655 Raw Edit

Stuff

public php v1 · immutable
#838655 ·published 2007-12-30 15:37 UTC
rendered paste body
<?function utime (){$time = explode( " ", microtime());$usec = (double)$time[0];$sec = (double)$time[1];return $sec + $usec;}$start = utime();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- saved from url=(0014)about:internet --><html xmlns="http://www.w3.org/1999/xhtml"><head><title>UK Youth Parliament @ rubothered.co.uk</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><?include("../include/meta.php");include("../include/yellow.php");include("../include/session.php");include("../include/settings.php");include("../include/dcon.php");include("../include/style.php");$page=$_GET['page'];$self = $_SERVER['PHP_SELF']; $menutype = 'ukyp';$fontlarge = $_COOKIE['fontlarge'];header( "Cache-Control:no-cache" );?></head><body bgcolor="#ffffff"><?include("../include/ticker.php");     echo "<table width='735' border='0' align='center' cellpadding='0' cellspacing='0'>";include("include/top.php");     	 echo "<tr>";     echo "<td bordercolor='#0066FF' bgcolor='#FFFF33' valign='top'>"; if($maintenance != 1 )   {include("../include/apuleftmenu.php");     echo "</td>";     echo "<td colspan='5' valign='top'>";     echo "<p>";     echo "<br>";     echo "<blockquote>";	 if($ukypvote==1){     echo "<p align='right'>";	 echo "<h2 align='right'>Vote</h2></p>";	 echo "<p align='left'>";	 include("include/vote_form.php");     echo "</p>";}elseif($session->isAdmin()){      echo "<p align='right'>";	 echo "<h2 align='right'>Vote</h2></p>";	 echo "<p align='left'>";	 include("include/vote_form.php");      echo "</p>";}else{     echo "<p align='right'>";	 echo "<h2 align='right'>Vote</h2></p>";	 echo "<p align='left'>Voting is currently closed.</p>"; } 	 echo "</blockquote>";     echo "</td>";     echo "<td valign='top'>";include("../include/usermenu.php");      echo "</td>";      }elseif($session->isAdmin()){include("../include/apuleftmenu.php");     echo "</td>";     echo "<td colspan='5' valign='top'>";     echo "<p>";     echo "<p align='center'>";	 echo "<b>Website Currently Disabled</b><br />";	 echo $maintenance_msg;	 echo "</p>";     echo "<blockquote>";	 if($ukypvote==1){ ?><font face="Verdana, Arial, Helvetica, sans-serif" color="#000000"><p align='right'><h2 align='right'>Vote</h2></p><p align='left'><? include("include/vote_form.php"); ?></p></font><? }elseif($session->isAdmin()){ ?><font face="Verdana, Arial, Helvetica, sans-serif" color="#000000"><p align='right'><h2 align='right'>Vote</h2></p><p align='left'><? include("include/vote_form.php"); ?></p></font><?}else{?><font face="Verdana, Arial, Helvetica, sans-serif" color="#000000"><p align='right'><h2 align='right'>Vote</h2></p><p align='left'>Voting is currently closed.</p></font><? } 	 echo "</blockquote>";     echo "</td>";     echo "<td valign='top'>";include("../include/usermenu.php");      echo "</td>";       }else   {     echo "</td>";	 echo "<td colspan='6'>";	 echo "<p align='center'>";	 echo "<b>Website Disabled</b><br />";	 echo $maintenance_msg; 	    }      echo "</p>";	 echo "</blockquote>";	 echo "</td>";	 echo "</tr>";	 include("../include/pagefooter.php");	 echo "</table>"; $end = utime(); $run = $end - $start;       echo "<div align='right'>";	 echo "<font size='-2'>";	 echo "Page generated in " . substr($run, 0, 5) . " secs.";	 echo "</font>";	 echo "</div>";?></body></html>