Просмотр файла mail/index.php

Размер файла: 14.59Kb
<?php
include '../system/inc/connect.php';
include '../system/inc/core.php';

$title = $cont_mail['title'];
include '../system/inc/header.php';
if(!$user){
	header('Location: /index.php');
}

$count_d = mysql_result(mysql_query("SELECT COUNT(id) FROM `kont` WHERE `id_user` = '$user[id]' OR `kont_user` = '$user[id]'"), 0);

$str = $user['str'];
$k_page = k_page($count_d, $str);
$page = page($k_page);
$start = $str*$page-$str;
if (!$count_d) {
	echo '<div class="pole">' . $cont_mail['clean'] . '</div> <!-- .pole -->';
}
$sql = mysql_query("SELECT * FROM `kont` WHERE `id_user` = '$user[id]' OR `kont_user` = '$user[id]' ORDER BY `time` DESC LIMIT $start, $str");
while($diolog = mysql_fetch_assoc($sql)){
	// Делаем махинации с ид автора диалога
	if($diolog['id_user'] == $user['id']){
		$diolog['id_user'] = $diolog['kont_user'];
	}
	// Запрос на последнее сообщение в диалоге
	$mes = mysql_fetch_assoc(mysql_query("SELECT * FROM `messages` WHERE `cont` = '$diolog[id]' ORDER BY `time` DESC LIMIT 1"));
	// Выводим последнее сообщение из диалога и ник с авой собеседника
?>
<a class="url" href="/mail/write<?php echo $diolog['id']; ?>#top">
<table width="100%" class="menu"><tr>
<td>
<?php avatar($diolog['id_user'], 50); ?>
</td>
<td class="left">
<?php
	user($diolog['id_user']);
	$msg = mb_substr($mes['msg'], 0, 150, 'UTF-8');
	if (mb_strlen($mes['msg']) > 150) {
		$ttt = '...';
	} else {
		$ttt = '';
	}
	if($mes['a']=="not"){
		echo '<br /><div class="pole">
'.code(smile(output($msg))).$ttt.'
</div> <!-- .pole -->';
	} else {
		echo '<br />'.code(smile(output($msg))).$ttt;
	}
	$cf = mysql_result(mysql_query("SELECT COUNT(id) FROM `kont_photo` WHERE `mess` = '$mes[id]'"), 0);
	if($cf){
		echo '<br /><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAAG0OVFdAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ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+fn5zcCgF9jY+O+4ODg8PloAd6JD+Ap06Ojo0OWLVsWOl0NWbx4cejNmzePHz161KDX67/X6/U7Dhw4sFan022laVqkUqk+KC4u/qC4uPhNz+00mUx/qays7AAAUXJy8ntlZWU7GIYRz4b2+iIBxu2a4TiO89RZio6OXrpixYqwGTpZTGlp6e59+/bZjUZjfWVl5TeVlZW3AYBdv379Ep1O975Go9GKRCJpQEBAeH9/v4VlWXtXV9c9k8l0t7W1tQ/4lc2srKw127dvzxaLxRJ+unq2rCMHrwkLm68WAA/WdFIU5fJUW2JiYsJVKlXwbGgZwzCSnJyc3JycnFyXy8Xeu3fv7q1bt76tqKj4h81maxa8dEoul4vT09Pfy8jISF61atX7DMOIveW10zTNwviQMK/ibQSESMC9xr0IAPxTU1Pj9u7d+2cgEGq/q6ioKMVsNv8A7oBSFCLm1YAQkZc1/1XBLXAXuGEuXLjwnVqt/nTTpk1HSbOPNv65c+d+bTabH8JoJJAd3kJg6NsKCkVh4FLMGigLCws/1Ol0pVKpNGQhNrzNZrOcP3/+yJkzZ27DaCwgiiIeE6E8n/cFjFlPh9H9AGifHtoTgAqqMjB227ZPKDmM30zqgNEFqGHs//YJZiV9bmMIHis40S4fdI2vEQAmmH4Wbi1HArjpn+97A9HT4yXXKAExfK3Rp0oG4bG3OhlA0sUvcJAcQYQABIQABIQABIQABIQABIQABIQABIQABIQABIQABIQABIQABIQABIQABIQABL6H/w8AzusEPRJ6+iMAAAAASUVORK5CYII=" width="20" height="20" alt="*"> <b>Фото</b>';
	}
?>
</td>
<td class="top"><span style="border-bottom: 1px dashed #666;"><?=vtime($diolog['time']);?></span></td>
</tr></table>
</a>
<?php
}
if ($k_page > 1) {
	str("?", $k_page, $page);
}
include '../system/inc/footer.php';