All pastes #796462 Raw Edit

Stuff

public php v1 · immutable
#796462 ·published 2007-11-25 02:23 UTC
rendered paste body
<?phpsession_start();$status = $_SESSION['loggedin'];$email = $_SESSION['email'];$navn = $_SESSION['navn'];session_write_close();if ($status == 1){?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>OutWave - Kontrol panel</title><!--[if lt IE 7.]><script defer type="text/javascript" src="js/pngfix.js"></script><![endif]--><style type="text/css"><!-- html,body{	background-color: #C0C0C0;    margin:0;    padding:0;    height:100%;    border:none   }.menu:link {	color: #062F4E;}.menu:visited {	color: #062F4E;}.menu:hover {	color: #094471;}.menu:active {	color: #062F4E;}.menu {	font-weight: bold;}body,td,th {	font-family: Arial, Helvetica, sans-serif;	font-size: 12px;}img {	border-style: none;	display:block;}--></style></head><body><table border="0" align="center" cellpadding="0" cellspacing="0" style="width:700px; height:100%">  <tr>    <td style="background-image:url(images/index_1x1.jpg); height:45px; width:8px;">&nbsp;</td>    <td style="background-image:url(images/index_1x2.jpg); height:45px;">Logget ind som: <? echo $navn; ?> - Email: <? echo $email; ?></td>    <td style="background-image:url(images/index_1x3.jpg); height:45px; width:8px;">&nbsp;</td>  </tr>  <tr>    <td style="background-image:url(images/index_2x1.jpg); height:93px; width:8px;">&nbsp;</td>    <td align="center" style="background-image:url(images/index_2x2.jpg); height:93px; vertical-align:middle;"><center><h1 style="color: #FFFFFF"><img src="images/outwavelogo.png" alt="OutWave Logo" /></h1>    </center></td>    <td style="background-image:url(images/index_2x3.jpg); height:93px; width:8px;">&nbsp;</td>  </tr>  <tr>    <td style="background-image:url(images/index_3x1.jpg); height:38px; width:8px;">&nbsp;</td>    <td style="background-image:url(images/index_3x2.jpg); height:38px; vertical-align:middle;"><? // include('menu') ?></td>    <td style="background-image:url(images/index_3x5.jpg); height:38px; width:8px;">&nbsp;</td>  </tr>  <tr>    <td style="background-image:url(images/index_4x1.jpg); width:8px;">&nbsp;</td>    <!-- Content TD start -->    <td style="background-color:#E5E5E5; height:100%; vertical-align:text-top;"><br />    <?php	session_start(); 		if(isset($_GET['page']))		{			/**			 * Page content Switch			 */			switch ($_GET['page']) {										case "fejlmelding":	// News					include("fejlmelding.php");					break;				}		// First page(url with no params)		} else		{			include("home.php");		}?><br />    </td>    <!-- Content TD ends -->    <td style="background-image:url(images/index_4x3.jpg); width:8px;">&nbsp;</td>  </tr>  <tr>    <td style="background-image:url(images/index_5x1.jpg); height:27px; width:8px;">&nbsp;</td>    <td style="background-image:url(images/index_5x2.jpg); height:27px;">&nbsp;</td>    <td style="background-image:url(images/index_5x3.jpg); height:27px; width:8px;">&nbsp;</td>  </tr></table></body></html><? }else{  header('Location: http://www.rovfisk.dk/outwave/v3/?error=2&debug=1');     exit();}?>