View file my/index.php

File size: 1.1Kb
<?php
require( "../inc/conf.inc.php" );
require( "../inc/check.php" );
$q1 = mysql_query( "select id from letters where id_to='{$id}' and new=1 and del_in=0;" );
$in1 = mysql_num_rows( $q1 );
$q2 = mysql_query( "select id from letters where id_to='{$id}' and del_in=0;" );
$in2 = mysql_num_rows( $q2 );
echo "<title>Личное меню</title>
\r\n</head>\r\n<body>\r\n
<div class=\"head\">Личное меню <b>".$row['login']."</b>!</div>";
echo "<div class=\"body\">";
echo "\r\n- <a href=\"../mail/index.php?id={$id}&amp;pass={$pass}&amp;ref={$ref}\">Письма({$in1}/{$in2})</a><br/>\r\n
\r\n- <a href=\"../prsm.php?id={$id}&amp;pass={$pass}\">Личный смайл</a><br/>
\r\n- <a href=\"profile.php?id={$id}&amp;pass={$pass}\">Анкета</a><br/>\r\n
- <a href=\"setup.php?id={$id}&amp;pass={$pass}\">Настройки чата</a></div>";
echo "<div class=\"foot\">";
echo "<a href=\"../enter.php?id={$id}&amp;pass={$pass}\">Прихожая</a></div>";
$end = gettime( );
echo "<div>\r\n".round( $end - $mystart, 5 )." cek.";
print "</div></body></html>";
mysql_close( $link );
?>