Файл: system/header.php
Строк: 12
<?php
if($user['id'])
{
if(!empty($user['css'])){
$css = mysql_fetch_assoc(mysql_query("SELECT * FROM `css` WHERE `id` = '".$user['css']."'LIMIT 1"));
if($css != 0)
{
$_style = $css['file'];
}
else
{
$_style = standsrt_css;
}
}
else
{
$_style = standart_css;
}
}
else
{
$_style = standart_css;
}
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">';
if(!$user['id']){
echo '<html><head><link rel="stylesheet" href="/css/07092013_34185_css.css" type="text/css">';
}else{
echo '<html><head><link rel="stylesheet" href="/css/'.$_style.'.css" type="text/css">';
}
echo'<title>'.(empty($_title) ? 'Портал Wap мастеров' : $_title ).'</title><link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/></head><body>';
list($msec,$sec)
= explode(chr(32), microtime());
$gtime = $sec+$msec;
?>