Файл: head.php
Строк: 55
<?php
header("Content-Type: text/html; charset=utf-8");
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>
Мини чат
</title>
<style type="text/css">
body
{
margin: auto;
max-width:300px;
background-color:#000000;
font-style: italic;
text-align: left;
color:#000000;
padding:2px;
}
.even
{
background-color: #000000;
text-indent: 2%;
color:lime;
margin:2px;
padding:2px;
border: 1px solid blue;
}
.uneven
{
background-color: #000000;
text-indent: 2%;
color:lime;
margin:2px;
padding:2px;
border: 1px solid blue;
}
.text
{
background-color:#000000;
color:lime;
margin:2px;
padding:2px;
border: 1px solid lime;
}
.form
{
background-color:#000000;
color:lime;
margin:2px;
padding:3px;
border: 1px solid blue;
}
.p
{
background-color: #000000;
font-style: normal;
font-weight: lighter;
color:lime;
padding:3px;
margin: 1px;
border-top: 1px solid blue;
}
div
{
font-style: normal;
}
textarea
{
width: 100%;
}
.p a
{
color: aqua;
}
div a
{
color: red;
}
a
{
color: aqua;
text-decoration: underline;
}
a:hover
{
font-size:109%;
text-decoration: none;
}
a:active
{
font-size:120%;
text-decoration: none;
}
</style>
</head>
<body>
';
if (!empty($_SESSION['text']))
{
echo '<div class="text">
';
echo $_SESSION['text'].'
';
echo '</div>
';
$_SESSION['text']='';
}
$end='';
if ($_SERVER['PHP_SELF']==dirname($_SERVER['PHP_SELF']).'/index.php')
{
$end.='<div class="p">
- <a href="/index.php">ГЛАВНАЯ</a><br/>
</div>
';
$end.='<a href="http://dyec.h2m.ru">© 2010-2011 DYEC.H2M.RU</a><br/>
';
}
$end.='</body>
</html>';
?>