Размер файла: 2.06Kb
<?php
header("Content-type:text/html; charset=utf-8");
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>';
echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="shortcut icon" href="'.$config_home.'/favicon.ico"><title>'.$config_title.$my_title.'</title>
<style type="text/css">
body, td, tr {text-decoration: none; font-family: verdana, arial, helvetica, sans-serif; font-size: 8pt; cursor: default; color: #666;}
body {margin: 5px; padding: 5px; background: #fff; color: #666;}
legend {color: #ccc; width: 100%; font-size: 12px; font-weight: bold; border-bottom: solid 1px #f7f7f7; padding-bottom: 5px; margin-bottom: 5px;}
fieldset {border: solid 1px #fff; padding-bottom: 10px;}
form {margin: 0px; padding: 0px;}
a:active, a:visited, a:link {color: #446488; text-decoration: none; font-size: 10px;}
a:hover {color: #00004f; text-decoration: none; font-size: 8pt;}
a.nav:active, a.nav:visited, a.nav:link {color: #666; font-size: 10px; font-weight: bold; text-decoration: none;}
a.nav:hover {font-size: 10px; font-weight: bold; color: #666; text-decoration: underline;}
input, select {font-size: 8pt;}
textarea {width: 100%; font-size: 9pt; padding: 5px;}
div { margin: 1px 0px 1px 0px; padding: 5px 5px 5px 5px;}
table { margin: 1px 0px 1px 0px; padding: 1px 1px 1px 1px; font-size: 13px;}
.a {border-bottom: 1px solid #ccc; color: #666; background: #f7f7f7;}
.b {font-size: 13px; color: #666; background-color: #E5E5E5; padding: 3px; color: #666; }
.c {border-top: 1px solid #ccc; color: #666; background: #f7f7f7;}
.d {font-size: 14px; font-weight: bold; color: #ccc; text-decoration: none;}
</style>
</head><body bgcolor="#000000">';
echo '<div class="a" id="up"><img src="'.$config_logotip.'" alt=""><br>'.$config_logos.' </div><div>';
function myhtml($myhtml) { //так как смайлы изменили свое местоположение, это временно
$myhtml = str_replace("<img src=\"../smiles/","<img src=\"../images/smiles/",$myhtml);
return $myhtml; }
ob_start(myhtml);
?>