Вход Регистрация
Файл: letters/index.php
Строк: 62
<?php
ini_set
('display_errors''off');
header ("Content-type: text/html; charset=utf-8");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-cache, must-relative");
print 
'<?xml version="1.0" encoding="utf-8"?>';
print 
"<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">";
include "../ini.php";
$login autorize();
print 
"<title>&#1055;&#1080;&#1089;&#1100;&#1084;&#1072;</title><link rel="StyleSheet" type="text/css" href="../style/0".$s.".css"></head><body>";
print 
"<div style="text-aligncenter">
<div class="
contur_rek"><div class="header_rek">&#1055;&#1080;&#1089;&#1100;&#1084;&#1072;</div></div>";
if(
$login) {
print 
"Письма, пролежавшие на сервере более одной недели, удаляются! Сохраняйте важные данные!</div></div><div style="text-alignleft"><div class="contur"><div class="header">";
@
mysql_query("DELETE FROM `".$px.$ltable."` WHERE `time` < ".(time() - 10*24*3600)." and ci='$ci';");
$q_letters_in = @mysql_query("select * from `".$px.$ltable."` where to_user='".$login['login']."' and ci='$ci' and new=1;");
$q_letters_to = @mysql_query("select * from `".$px.$ltable."` where from_user='".$login['login']."' and ci='$ci';");
$num_in = @mysql_num_rows($q_letters_in);
$num_to = @mysql_num_rows($q_letters_to);
print 
'<a href="inbox.php?s='.$s.'&amp;ci='.$ci.'&amp;id='.$id.'&amp;pass='.$pass.'">&#8594; &#1042;&#1093;&#1086;&#1076;&#1103;&#1097;&#1080;&#1077;('.$num_in.')</a><br/>'.
'<a href="draft.php?s='.$s.'&amp;ci='.$ci.'&amp;id='.$id.'&amp;pass='.$pass.'">&#8594; &#1048;&#1089;&#1093;&#1086;&#1076;&#1103;&#1097;&#1080;&#1077;('.$num_to.')</a><br/>'.
'<a href="sendform.php?s='.$s.'&amp;ci='.$ci.'&amp;id='.$id.'&amp;pass='.$pass.'">&#8594; &#1053;&#1072;&#1087;&#1080;&#1089;&#1072;&#1090;&#1100;</a></div></div>';
print 
"<div style="text-aligncenter">
<div class="
contur_rek"><div class="header_rek"><a href="../enter.php?s=$s&amp;ci=$ci&amp;id=$id&amp;pass=$pass">&#1055;&#1088;&#1080;&#1093;&#1086;&#1078;&#1072;&#1103;</a><br/>";
                } else { print 
"&#1054;&#1096;&#1080;&#1073;&#1082;&#1072; &#1072;&#1074;&#1090;&#1086;&#1088;&#1080;&#1079;&#1072;&#1094;&#1080;&#1080;!<br/>"; }
print 
'</div></div></div></body></html>';
@
mysql_close();
ob_end_flush();
?>
Онлайн: 1
Реклама