checkVars(); session_start(); $req = mysql_query("SELECT * FROM `users` WHERE `id`='$_SESSION[uid]' LIMIT 1"); $s= mysql_fetch_assoc($req); echo ' ' . $s[title] . ' ' . "\n"; if($s[css_type] == 1){ echo ' '; }else{ echo '' . "\n"; } echo ''; if($s[slogo]==1){echo "
logo
";} $l_head = mysql_query("SELECT * FROM us_reklama WHERE user = '$s[id]' AND `pos`='1' ORDER BY RAND()"); while($a = mysql_fetch_assoc($l_head)) { echo '
» '.$a[name].'
'; } echo "
" . $s[title] . "
"; echo "