Тема: Угадывайте короче)))
Elka [Off] [#] (08.11.2011 / 00:02) |
Elka, [php]<?php
/**
* Created by: ramzes
* Date: 05.11.11
* Ti m ::e: нунумр0:30
* Only from Android Club Project * All right recerved.
*/
if(AUT){
if(isset($this->query[0])){
$private = $sql->query("SELECT
private.*, users.name, users.login, users.ontime FROM private LEFT JOIN
users ON private.author = users.id
WHERE private.id = ".abs(intval($this-
>query[0])).";")->fetch_assoc();
if($private['id']!=''){
if($private['from']==UID){ if($private['read']==1){
$sql->query("UPDATE private SET
`read` = '0' WHERE id = ".$private
['id'].";
"); echo $sql->error; if($user['private_mail'] > 0){
$sql->query("UPDATE users SET
private_mail = private_mail-1
WHERE id = ".UID.";
");
} } $headTitle = $title = $private
['subject'];
include('tmp/head.php'); echo'<div class="list">
<div styl...::