All pastes #946388 Raw Edit

!mine || is it?

public php v1 · immutable
·published 2008-03-17 17:51 UTC
rendered paste body
<?phpsession_start();include "funct.inc.php";/*$sunrise = "#bb7301";$wine = "#6e1c21";$sea = "#4a5795";$bodyBG = "#5c3b30";$bannerPath = "Images/cookiesBanner.jpg";$footerBG = "#a38059";*/if (isset ($_SESSION['theme'])) {$theme = $_SESSION['theme'];}if (isset ($_SESSION['font'])) {$font = $_SESSION['font'];}if (isset ($_SESSION['size'])) {$size = $_SESSION['size'];}if (isset ($_SESSION['name'])) {$name = $_SESSION['name'];}	if (isset($_POST['theme']) && isset($_POST['font']) && isset($_POST['size']) && isset($_POST['name'])) {			$theme = $_POST['theme'];	$font = $_POST['font'];	$size = $_POST['size'];	$name = $_POST['name'];}	if ($theme == "wine") {		$bodyBG="#6e1c21";		$bannerPath="Images/wineBanner.jpg";		$footerBG="#6e1c21";} elseif ($theme == "sea") {		$bodyBG="#4a5795";		$bannerPath="Images/seaBanner.jpg";		$footerBG="#4a5795";} elseif ($theme == "sunset") {		$bodyBG="#bb7301";		$bannerPath="Images/sunsetBanner.jpg";		$footerBG="#bb7301";} else {		$bodyBG = "#000000";		$bannerPath="Images/cookiesBanner.jpg";		$footerBG="000000";}top("Tilstandsbevaring", "$bodyBG");tableStart(700, "#FFFFFF", 10, "design.php", $bannerPath);// Menyecho "<font size='2' face='Arial' color='#878787'>";echo "<a href='design.php'>VELG DESIGN</a>&nbsp|&nbsp";echo "<a href='dinProfil.php'>DIN PROFIL</a>&nbsp|&nbsp";echo "<a href='dineVenner.php'>DINE VENNER</a>&nbsp|&nbsp";echo "<a href='kontakt.php'>KONTAKT</a><hr>";echo "</font>";echo "<br><br><font size='$size' face='$font'>";echo "Hei $name<br><br>";echo "Her er siden vist i henhold til dine instillinger";echo "</font>";echo "<br><br><hr><br>";?>				<form name="design" action="design.php" method="post"><br>										<strong>Hvilket fargetema ønsker du?</strong><br><br>					<input type="radio" name="theme" value="wine">						<strong style="color:#6e1c21;">Wine</strong>&nbsp					<input type="radio" name="theme" value="sea">						<strong style="color:#4a5795;">Sea</strong>&nbsp					<input type="radio" name="theme" value="sunset">						<strong style="color:#bb7301;">Sunrise</strong><br><br><br>										<strong>Hvilken fonttype ønsker du?</strong><br><br>					<input type="radio" name="font" value="Arial">						<font size="2" face="Arial">Arial</font>&nbsp					<input type="radio" name="font" value="Times">						<font size="2" face="Times">Times New Roman</font>&nbsp					<input type="radio" name="font" value="Verdana">						<font size="2" face="Verdana">Verdana</font><br><br><br>										<strong>Hvilken fontstørrelse ønsker du?</strong><br><br>					<input type="radio" name="size" value="2">						<font size="2">Liten</font>&nbsp					<input type="radio" name="size" value="4">						<font size="4">Medium</font>&nbsp					<input type="radio" name="size" value="5">						<font size="5">Stor</font><br><br><br>										<strong>Ditt navn<br><br>					<input type="text" name="name" size="30"><br><br><br>					<input type="submit" value="SEND">									</form><?php$footerText = "her kan du skrive inn tekst";tableEnd("center", $footerBG, "$footerText");bottom();?>