diff --git a/themes/Sixteen/inbox.php b/themes/Sixteen/inbox.php
index ac7f2d72b..bba63402a 100644
--- a/themes/Sixteen/inbox.php
+++ b/themes/Sixteen/inbox.php
@@ -4,6 +4,8 @@
if (!defined('FORUM'))
exit;
+include load_page('inbox-delete-post.php');
+
?>
+
@@ -41,75 +48,77 @@
+ |
|
|
|
|
- |
- query("SELECT * FROM ".$db->prefix."messages WHERE show_message=1 AND owner='".$luna_user['id']."' ORDER BY last_post DESC LIMIT ".$limit) or error("Unable to find the list of the pms.", __FILE__, __LINE__, $db->error());
-
- // If there are messages in this folder.
- if ($db->num_rows($result)) {
- while ($cur_mess = $db->fetch_assoc($result)) {
- $item_status = 'roweven';
- if ($cur_mess['showed'] == '0') {
- $item_status .= ' inew';
- $icon_type = 'icon icon-new';
- $subject = ''.
- ''.luna_htmlspecialchars($cur_mess['subject']).''.
- '';
- } else {
- $icon_type = 'icon';
- $subject = ''.
- luna_htmlspecialchars($cur_mess['subject']).
- '';
- }
-
- $last_post = ''.format_time($cur_mess['last_post']).' '.__('by', 'luna').' '.luna_htmlspecialchars($cur_mess['last_poster']).'';
- ?>
+query("SELECT * FROM ".$db->prefix."messages WHERE show_message=1 AND owner='".$luna_user['id']."' ORDER BY last_post DESC LIMIT ".$limit) or error("Unable to find the list of the pms.", __FILE__, __LINE__, $db->error());
+
+// If there are messages in this folder.
+if ($db->num_rows($result)) {
+ while ($cur_mess = $db->fetch_assoc($result)) {
+ $item_status = 'roweven';
+ if ($cur_mess['showed'] == '0') {
+ $item_status .= ' inew';
+ $icon_type = 'icon icon-new';
+ $subject = ''.
+ ''.luna_htmlspecialchars($cur_mess['subject']).''.
+ '';
+ } else {
+ $icon_type = 'icon';
+ $subject = ''.
+ luna_htmlspecialchars($cur_mess['subject']).
+ '';
+ }
+
+ $last_post = ''.format_time($cur_mess['last_post']).' '.__('by', 'luna').' '.luna_htmlspecialchars($cur_mess['last_poster']).'';
+?>
+
+
+ |
|
- '.luna_htmlspecialchars($cur_mess['sender']).'';
- else
- echo luna_htmlspecialchars($cur_mess['sender']);
- ?>
+ '.luna_htmlspecialchars($cur_mess['sender']).'';
+ else
+ echo luna_htmlspecialchars($cur_mess['sender']);
+ ?>
|
- '.luna_htmlspecialchars($sender_list[$i]).'';
-
- if($ids_list[$i][count($ids_list[$i])-'1'])
- echo' ';
- }
- } else
- echo luna_htmlspecialchars($cur_mess['receiver']);
- ?>
+ '.luna_htmlspecialchars($sender_list[$i]).'';
+
+ if($ids_list[$i][count($ids_list[$i])-'1'])
+ echo' ';
+ }
+ } else
+ echo luna_htmlspecialchars($cur_mess['receiver']);
+ ?>
|
|
- |
- '.__('No messages', 'luna').' | '."\n";
- ?>
+'.__('No messages', 'luna').' | '."\n";
+?>