Просмотр файла ViPTurbo 3.0/design/default/style.php

Размер файла: 2.64Kb
<?php
@header("Cache-Control: no-cache");
@header("Content-Type: text/html; charset=utf-8");?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title><?echo $config["title"];?></title>
<link rel="shortcut icon" href="<?=TEMPLATE?>/favicon.ico">
<meta http-equiv="Content-Type" CONTENT="text/html; charset=UTF-8">
<?if(isset($link)) echo '<meta http-equiv="Refresh" CONTENT="'.$link.'">';

echo'<style type="text/css">
body { background: #000000 url("'.TEMPLATE.'/images/background/fon.png") fixed; border: 2px ridge #444444; color: #dad200; font: 10pt Arial; margin: 3px; padding: 2px; text-align: left;  }
img { vertical-align: middle; border: none; }

form { margin: 0; padding: 0; }
input { background-color: #ffffff; border: #809c00 solid 1px; color: #000000; font: 8pt Tahoma; padding: 1px 2px 1px 3px; margin: 1px 0;  }
input.sumbit, textarea, select { background-color: #ffffff; border: #809c00 solid 1px; color: #000000; font: 8pt Tahoma; padding: 1px 2px 1px 3px; margin: 1px 0; }

a:link, a:active, a:visited { color: #658d13; text-decoration: none; }
a:hover, a:focus { color: #95c434; text-shadow: 0 0 7px #949494; }


div.title { background: #333333 url("'.TEMPLATE.'/images/background/title.png") top repeat-x; color: #bc3110; font-weight : bold; padding: 3px; }

div.header { background: #4b4b4b url("'.TEMPLATE.'/images/background/header.png") top repeat-x; color: #a2ef2c; padding: 3px; }
div.header a:link, div.header a:active, div.header a:visited { color: #ff4500; text-decoration: none; }
div.header a:hover, div.header a:focus { color: #95c434; text-decoration: none; }

div.text { border: 1px solid #434343; margin: 1px 2px 1px 2px; padding: 2px; }

div.nav { background: #c3c3c3 url("'.TEMPLATE.'/images/background/nav.png") top repeat-x; color: #a2ef2c; padding: 3px; text-align: center; }
div.nav a:link, div.nav a:active, div.nav a:visited { color: #ff4500; text-decoration: none; }
div.nav a:hover, div.nav a:focus { color: #a600f3; text-decoration: none; }
</style>
</head>
<body>';

echo '<div class="center">'.reklama().'</div>';

put_content();
if(!isset($link)){
echo '<div class="nav">';
//if($config['accstat']=='1'  && $stat=get_stat($path.'/../database/counter/')){ echo $stat['hosts'].' | '.$stat['hits'].'<br>';   }
if($config['acconline']==1)echo (isset($user))?'OnLine: <a href="'.$config['myurl'].'/whois.php?online&amp;'.SID.'">'.$online['all'].'</a> ('.$online['users'].'/'.$online['guests'].')<br>':'OnLine: '.$online['all'].' ('.$online['users'].'/'.$online['guests'].')<br>';
echo '&#169; <a href="'.$config['myurl'].'">'.$config['copyright'].'</a></div>';
}
?>
</body>
</html>