Просмотр файла webs/foot.php

Размер файла: 3.49Kb
<?php
#================================================#
#      === тема webs для Wap-motor 19.x ===      #
#             Made by:  Shur1k                   #
#             Site:  wap.rovno.ua                #
#             Рисую флеш логотипы[swf]           #
#             ICQ: 9400902                       #
#================================================#


echo'</td></tr></table>';  
echo'</td><td width="25%" valign="top">';

//----------------------------------Правый блок--------------------------------//
echo '<table cellpadding="5" cellspacing="0" width="100%"><tr><td class=f>';
if (is_user()){

if($config['showtime']=="1"){
echo '<div align="center"><br>Вы вошли как: <b>'.nickname($_SESSION['log']).'</b></div>';
}
 
if($udata[10]>0){ echo'<img src="images/img/mail.gif" alt=""> <b><a href="pages/privat.php?'.SID.'"><font color="red">Вам сообщение! ('.$privat.')</font></a></b><br>';}
	include_once(BASEDIR.'local/datamain/menu.dat');

		if (is_admin(array(101,102))){
echo '<hr><img src="'.BASEDIR.'themes/web/img/pix.gif" alt=""> <a href="'.ADMINDIR.'index.php?'.SID.'">Админ-панель</a>';}
		if (is_admin(array(103,105))){
echo '<hr><img src="'.BASEDIR.'themes/web/img/pix.gif" alt=""> <a href="'.ADMINDIR.'index.php?'.SID.'">Mодер-панель</a>';}

}else{

     
if (isset($_COOKIE['cookname'])){$cookname = check($_COOKIE['cookname']);} else {$cookname = "";}

echo '<img src="../images/img/partners.gif" alt="image" /> <b>Авторизация</b><br /><br />';

if (!is_user()){

echo '<form method="post" action="input.php?'.SID.'">';
echo 'Логин:<br /><input name="login" value="'.$cookname.'" /><br />';
echo 'Пароль:<br /><input name="pass" type="password" /><br /><br />';

echo 'Запомнить меня:';
echo '<input name="cookietrue" type="checkbox" value="1" checked="checked" /><br /><br />';}
echo '<input value="Войти" type="submit" /></form><hr />';

echo '<a href="registration.php?'.SID.'">Регистрация</a><br />';
echo '<a href="../mail/lostpassword.php?'.SID.'">Забыли пароль?</a><br />';

    }


include_once(BASEDIR.'local/datamain/kamerarivne.dat');
include_once(BASEDIR.'local/datamain/news.dat');
include_once(BASEDIR.'local/datamain/maps.dat');
include_once(BASEDIR.'local/datamain/pogoda.dat');
include_once(BASEDIR.'local/datamain/hosttreker.dat');
include_once(BASEDIR.'local/datamain/ip.dat');



echo '<br><div class=e> Статистика</div><center>';

echo'<div align="center">';
echo '<a href="'.$config['home'].'/?'.SID.'">'.$config['copy'].'</a><br />';
require_once BASEDIR."includes/counters.php";
require_once BASEDIR."includes/gzip_foot.php";
echo '<!--'.MOTOR_VERSION.' version-->';
echo '</center></div>';




echo '</td></tr></table>';
//----------------------------------Правый блок--------------------------------//	
	
	
echo'</td></tr></table>';


//----------------------------------Нижний блок--------------------------------//
echo'<table cellpadding="0" cellspacing="0" width="1000px" border="0">
                <tr>
                    <td class=foot><img src="'.BASEDIR.'themes/webs/site/logo_foot.png"  border="0" alt=""></td>  
                </tr>
            </table>
</td></tr></table>
';
//----------------------------------Нижний блок--------------------------------//	
echo'<!--'.$motor_version.' version-->';
echo'</center></body></html>';

?>