File size: 1.77Kb
<?php
#-----------------------------------------------------#
# ********* WAP-MOTORS ********* #
# Made by : VANTUZ #
# E-mail : [email protected] #
# Site : http://pizdec.ru #
# WAP-Site : http://visavi.net #
# ICQ : 36-44-66 #
# Вы не имеете право вносить изменения в код скрипта #
#-----------------------------------------------------#
if ($_SESSION['log']!="" && md5($_SESSION['par'])!="" && md5($_SESSION['par'])==$provpar && $_SESSION['log']==$provlog ) {
$user_time=$config_clocks*3600;
$chas=date("H",time()+$user_time);
if($chas>24){$chas=round($chas-24);}
if($chas<0){$chas=round($chas+24);}
if($chas<=4 || $chas>=23){echo '<font color="#FF0000"><b>Доброй ночи, '.nickname($_SESSION['log']).'</b></font><br>';}
if($chas>=5 && $chas<=10){echo '<font color="#FF0000"><b>Доброе утро, '.nickname($_SESSION['log']).'</b></font><br>';}
if($chas>=11 && $chas<=17){echo '<font color="#FF0000"><b>Добрый день, '.nickname($_SESSION['log']).'</b></font><br>';}
if($chas>=18 && $chas<=22){echo '<font color="#FF0000"><b>Добрый вечер, '.nickname($_SESSION['log']).'</b></font><br>';}
}
if($config_welcome=="1"){
$welcome_file=file_get_contents("local/welcome.dat");
echo'<div align="center">'.$welcome_file.'</div>';
}
if($config_showtime=="1"){
echo '<div align="center"><b>'.$currDate.'</b><br><small>'.$currTime.'</small></div>';
}
if($config_quotes=="1"){
$quot_file=file(BASEDIR."template/quotesbase.php");
$quot_count=count($quot_file)-1;
$quot_rand=rand(0,$quot_count);
echo $quot_file[$quot_rand].'<br>';
}
?>