File size: 1.39Kb
<?php
##################################
# head.php #
##################################
# Форум на MySQL #
#Афтар : Morgan #
#ICQ : 530-648 #
#Email : [email protected] #
##################################
echo '<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Форум</title><link rel="stylesheet" href="style/style.css" type="text/css" />
</head>
<!-- ©Morgan -->
<body>
<div class="logo">
<center><img src="style/logo.png" /></center>
</div><div class="cv">
<b>Форум WAP мастеров</b>
</div>';
$duhast=mysql_query('SELECT * FROM `mail` WHERE `mail`="'.$user_inf['login'].'" AND `new`="1";');
$duha=mysql_fetch_array($duhast);
if($_SERVER['SCRIPT_NAME']!='/mail.php'){
if($duha['new']>0)
{echo'<font color=red><a href="mail.php?mode=email">Есть непрочитанные письма!</a></font><br>';}}
echo'<div class="fon">
<a href="./">Форум</a> | <a href="users.php">Юзеры</a>
<br />
';
##################################
# © Все права защищены #
##################################
?>