rendered paste body<?phpsession_start();include "funct.inc.php";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'])) {$theme = $_POST['theme'];}if (isset($_POST['font'])) {$font = $_POST['font'];} if (isset($_POST['size'])) {$size = $_POST['size'];}if (isset($_POST['name'])) {$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); echo "\t\t\t\t<font size='2' face='Arial' color='#878787'>\n"; echo "\t\t\t\t<a href='design.php'>VELG DESIGN</a> | \n"; echo "\t\t\t\t<a href='dinProfil.php'>DIN PROFIL</a> | \n"; echo "\t\t\t\t<a href='dineVenner.php'>DINE VENNER</a> | \n"; echo "\t\t\t\t<a href='kontakt.php'>KONTAKT</a><hr>\n"; echo "\t\t\t\t</font>\n";if (isset($_POST['theme']) && isset($_POST['font']) && isset($_POST['size']) && isset($_POST['name'])) { echo "\t\t\t\t<br><br><font size='$size' face='$font'>\n"; echo "\t\t\t\t<b>Hei $name</b><br><br>\n"; echo "\t\t\t\tHer er siden vist i henhold til dine innstillinger!<br><br>\n"; echo "\t\t\t\tDu kan lett endre disse innstillingene om du<br>fyller ut skjemaet på nytt.\n"; echo "\t\t\t\t</font>\n"; echo "\t\t\t\t<br><br><br><hr><br>\n";}?> <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>  <input type="radio" name="theme" value="sea"> <strong style="color:#4a5795;">Sea</strong>  <input type="radio" name="theme" value="sunset"> <strong style="color:#bb7301;">Sunset</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>  <input type="radio" name="font" value="Times"> <font size="2" face="Times">Times New Roman</font>  <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>  <input type="radio" name="size" value="4"> <font size="4">Medium</font>  <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 = ":)";tableEnd("center", $footerBG, "$footerText");bottom();$_SESSION['theme'] = $theme;$_SESSION['font'] = $font;$_SESSION['size'] = $size;$_SESSION['name'] = $name;?>