Просмотр файла theme/web/head.php

Размер файла: 2.45Kb
<html>
<head>
<title><? echo $TITLES; ?></title>
<link rel="stylesheet" href="<? echo 'http://'.$_SERVER['HTTP_HOST'].'/'.$top.''; ?>theme/<? echo $web_theme; ?>/template.css" type="text/css" /></head>
<body id="page_bg">
<a name="up" id="up"></a>
<div class="center" align="center"><div id="wrapper">
<div id="wrapper_r"><div id="whitebox">
<div id="whitebox_t">
<div id="whitebox_tl">
<div id="whitebox_tr"></div>
</div>
</div><div id="header">
<div id="header_r">
<div id="logo"><? echo '<a href="http://'.$_SERVER['HTTP_HOST'].'">'.$_SERVER['HTTP_HOST'].'</a>'; ?></div>
</div>
</div><div id="tabarea">
<table cellpadding="0" cellspacing="0" class="pill">
<tr>
<td class="pill_l"></td>
<td class="pill_m">
<div id="pillmenu">
</div>
</td>
</tr>
</table>
</div>
<div id="whitebox_m">
<div id="area">
<div id="leftcolumn" style="float:left;">
<div class="moduletable_menu">
<b>Категории</b><br>
<?
$query = mysql_query( "SELECT * FROM `category`" ); 
while ( $result = mysql_fetch_assoc( $query ) ) { 
$count = mysql_result( mysql_query( "SELECT COUNT(*) FROM `users` WHERE `category` = {$result['nomer']} && counthost >= 1" ), 0 );
echo '<img src="images/category.png" alt="." />'; printf( '<a href="sites.php?id=%d">%s</a> ['.$count.']<br/>', $result['nomer'], $result['name'] );
} 
?>
</div>
<div class="moduletable_menu">
<b>Новости</b><br>
<?
echo '<img src="images/news.png" alt="." />'; include "dat/news.dat"; 
?></div>
<div class="moduletable">
<b>Авторизация</b><br>
<?
echo"<div class='content'>
<form method='post' action='admin.php?go=go'>
Ваш ID:<br>
<input type='text' name='id'  maxlength='40' value='$pid' ><br>
Ваш пароль:<br>
<input type='password' name='pass' maxlength='10' value='' ><br>
<input value='Войти' name='do' type='submit' ></form><br>
<a href='registration.php'>регистрация</a></div>";
?>
</div><div style="width: 100%;">
<br/>
<table style="width:137px;">
<tr>
<td>
</td>
</tr>
</table>
<table style="width:137px;height:16px;" cellpadding="0" cellspacing="0">
<tr>
<td></td>
<td width="2" height="16"></td>
<td></td>
</tr>
</table>
<table>
<tr>
<td class="sgf">
</td>
</tr>
</table>
</div> 
</div><div id="maincolumn">
<div class="nopad"><table class="contentpaneopen">
<tr>
<td class="contentheading" width="100%">
</td>
</tr>
</table><table class="contentpaneopen">
<tr>
<td>
</td>
</tr>
<tr>
<td valign="top">
</td>
</tr><tr>
<td valign="top" class="createdate">
</td>
</tr>
<tr>
<td valign="top">
<div align="right">