View file inc/head.php

File size: 771B
<?php

echo '<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru">
<header><meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="../css/style.css"/>
<link rel="shortcut icon" href="../css/favicon.ico" />
<meta name="copyright" content="" />
<title>'.$_SET['title'].'</title>
</header><body>';

echo '<div class="head"><a href="http://'.$_SERVER['SERVER_NAME'].'">Форум</a> | <a href="new.php">Новые посты</a></div>';

if($_SERVER['SCRIPT_NAME'] != '/index.php'){
echo $_SET['rkv'];
}else{
echo $_SET['rkvg'];
}

?>