Код:
<?php
if (empty($_GET['style'])) {
if (empty($_COOKIE['style'])) {
$css_name = "default";
}
else {
$css_name = $_COOKIE['style'];
}
}
else {
$css_name = $_GET['style'];
setcookie("style", $css_name);
}
echo '<link rel="stylesheet" type="text/css" media="screen" title="User Defined Style" href="$css_name.css" />';
?>
<table align="center" width="800" height="100" border="1">
<tr>
<td align="center">
<p style="margin-top: 0; margin-bottom: 0"><img border="0" src="logo.PNG" width="799" height="99"></td>
</tr>
</table>
<table align="center" width="800" border="1">
<tr>
<td valign="top" align="center" width="150" height="410">
<?php include("menu.php"); ?>
<td align="center" valign="top" width="500">