View file template/info.php

File size: 900B
<?php
// mod by Golem http://veplog.ru

if ($provlog==$_SESSION['log'] && $provpar==md5($_SESSION['par']) && $_SESSION['log']!="" && md5($_SESSION['par'])!=""){

$chas=date_fixed($sitetime,"H");
if($chas>24){$chas=round($chas-24);}
if($chas<0){$chas=round($chas+24);}

$uzertime=substr($udata[18],0,5);
$montime=date_fixed($sitetime,"d.m");
if($uzertime==$montime){
echo'<div align="center"><font color="#FF0000"><b>Поздравляем вас с днем рождения!</b></font></div>';
}}

if($config_quotes==1){
echo'<div class="tpanel">';
$quot_file=file(BASEDIR."template/quotesbase.php");
$quot_rand = array_rand($quot_file);
echo $quot_file[$quot_rand].'</div>';
}

if($config_calendar==1){
include_once BASEDIR."template/calendar.php";
}
if($config_onliner==1){
echo'<div class="tpanel">';
include_once BASEDIR."template/onliner.php";
echo'</div>';
}

?>