source: forum/cache/tpl_wowred_ucp_pm_viewmessage.html.php@ 400

Last change on this file since 400 was 400, checked in by george, 16 years ago
  • Přidáno: Nové forum phpBB 3.
File size: 7.7 KB
Line 
1<?php $this->_tpl_include('ucp_header.html'); ?>
2
3<div id="pagecontent">
4
5<?php $this->_tpl_include('ucp_pm_message_header.html'); ?>
6<div style="padding: 2px;"></div>
7
8<table class="tablebg" width="100%" cellspacing="1" cellpadding="4">
9
10<tr class="row1">
11 <td class="genmed" nowrap="nowrap" width="150"><b><?php echo ((isset($this->_rootref['L_PM_SUBJECT'])) ? $this->_rootref['L_PM_SUBJECT'] : ((isset($user->lang['PM_SUBJECT'])) ? $user->lang['PM_SUBJECT'] : '{ PM_SUBJECT }')); ?>:</b></td>
12 <td class="gen"><?php echo (isset($this->_rootref['SUBJECT'])) ? $this->_rootref['SUBJECT'] : ''; ?></td>
13</tr>
14
15<tr class="row1">
16 <td class="genmed" nowrap="nowrap" width="150"><b><?php echo ((isset($this->_rootref['L_PM_FROM'])) ? $this->_rootref['L_PM_FROM'] : ((isset($user->lang['PM_FROM'])) ? $user->lang['PM_FROM'] : '{ PM_FROM }')); ?>:</b></td>
17 <td class="gen"><?php echo (isset($this->_rootref['MESSAGE_AUTHOR_FULL'])) ? $this->_rootref['MESSAGE_AUTHOR_FULL'] : ''; ?></td>
18</tr>
19
20<tr class="row1">
21 <td class="genmed" nowrap="nowrap" width="150"><b><?php echo ((isset($this->_rootref['L_SENT_AT'])) ? $this->_rootref['L_SENT_AT'] : ((isset($user->lang['SENT_AT'])) ? $user->lang['SENT_AT'] : '{ SENT_AT }')); ?>:</b></td>
22 <td class="gen"><?php echo (isset($this->_rootref['SENT_DATE'])) ? $this->_rootref['SENT_DATE'] : ''; ?></td>
23</tr>
24
25<?php if ($this->_rootref['S_TO_RECIPIENT']) { ?>
26 <tr class="row1">
27 <td class="genmed" nowrap="nowrap" width="150"><b><?php echo ((isset($this->_rootref['L_TO'])) ? $this->_rootref['L_TO'] : ((isset($user->lang['TO'])) ? $user->lang['TO'] : '{ TO }')); ?>:</b></td>
28 <td class="gen">
29 <?php $_to_recipient_count = (isset($this->_tpldata['to_recipient'])) ? sizeof($this->_tpldata['to_recipient']) : 0;if ($_to_recipient_count) {for ($_to_recipient_i = 0; $_to_recipient_i < $_to_recipient_count; ++$_to_recipient_i){$_to_recipient_val = &$this->_tpldata['to_recipient'][$_to_recipient_i]; if ($_to_recipient_val['IS_GROUP']) { ?><span class="sep"><a href="<?php echo $_to_recipient_val['U_VIEW']; ?>"><?php echo $_to_recipient_val['NAME']; ?></a></span><?php } else { echo $_to_recipient_val['NAME_FULL']; ?>&nbsp;<?php } }} ?>
30 </td>
31 </tr>
32<?php } if ($this->_rootref['S_BCC_RECIPIENT']) { ?>
33 <tr class="row1">
34 <td class="genmed" nowrap="nowrap" width="150"><b><?php echo ((isset($this->_rootref['L_BCC'])) ? $this->_rootref['L_BCC'] : ((isset($user->lang['BCC'])) ? $user->lang['BCC'] : '{ BCC }')); ?>:</b></td>
35 <td class="gen">
36 <?php $_bcc_recipient_count = (isset($this->_tpldata['bcc_recipient'])) ? sizeof($this->_tpldata['bcc_recipient']) : 0;if ($_bcc_recipient_count) {for ($_bcc_recipient_i = 0; $_bcc_recipient_i < $_bcc_recipient_count; ++$_bcc_recipient_i){$_bcc_recipient_val = &$this->_tpldata['bcc_recipient'][$_bcc_recipient_i]; if ($_bcc_recipient_val['IS_GROUP']) { ?><span class="sep"><a href="<?php echo $_bcc_recipient_val['U_VIEW']; ?>"><?php echo $_bcc_recipient_val['NAME']; ?></a></span><?php } else { echo $_bcc_recipient_val['NAME_FULL']; ?>&nbsp;<?php } }} ?>
37 </td>
38 </tr>
39<?php } ?>
40</table>
41
42<div style="padding: 2px;"></div>
43
44<table class="tablebg" width="100%" cellspacing="1" cellpadding="0">
45
46<tr>
47 <th nowrap="nowrap"><?php echo ((isset($this->_rootref['L_MESSAGE'])) ? $this->_rootref['L_MESSAGE'] : ((isset($user->lang['MESSAGE'])) ? $user->lang['MESSAGE'] : '{ MESSAGE }')); ?></th>
48</tr>
49
50<tr>
51 <td class="spacer" height="1"><img src="images/spacer.gif" alt="" width="1" height="1" /></td>
52</tr>
53
54<tr class="row1">
55 <td valign="top">
56 <table width="100%" cellspacing="5">
57 <tr>
58 <td>
59 <div class="postbody"><?php echo (isset($this->_rootref['MESSAGE'])) ? $this->_rootref['MESSAGE'] : ''; ?></div>
60
61 <?php if ($this->_rootref['S_HAS_ATTACHMENTS']) { ?>
62 <br clear="all" /><br />
63
64 <table class="tablebg" width="100%" cellspacing="1">
65 <tr>
66 <td class="row3"><b class="genmed"><?php echo ((isset($this->_rootref['L_ATTACHMENTS'])) ? $this->_rootref['L_ATTACHMENTS'] : ((isset($user->lang['ATTACHMENTS'])) ? $user->lang['ATTACHMENTS'] : '{ ATTACHMENTS }')); ?>: </b></td>
67 </tr>
68 <?php $_attachment_count = (isset($this->_tpldata['attachment'])) ? sizeof($this->_tpldata['attachment']) : 0;if ($_attachment_count) {for ($_attachment_i = 0; $_attachment_i < $_attachment_count; ++$_attachment_i){$_attachment_val = &$this->_tpldata['attachment'][$_attachment_i]; ?>
69 <tr>
70 <td class="row2"><?php echo $_attachment_val['DISPLAY_ATTACHMENT']; ?></td>
71 </tr>
72 <?php }} ?>
73 </table>
74 <?php } if ($this->_rootref['S_DISPLAY_NOTICE']) { ?>
75 <span class="gensmall error"><br /><br /><?php echo ((isset($this->_rootref['L_DOWNLOAD_NOTICE'])) ? $this->_rootref['L_DOWNLOAD_NOTICE'] : ((isset($user->lang['DOWNLOAD_NOTICE'])) ? $user->lang['DOWNLOAD_NOTICE'] : '{ DOWNLOAD_NOTICE }')); ?></span>
76 <?php } if ($this->_rootref['SIGNATURE']) { ?>
77 <span class="postbody"><br />_________________<br /><?php echo (isset($this->_rootref['SIGNATURE'])) ? $this->_rootref['SIGNATURE'] : ''; ?></span>
78 <?php } if ($this->_rootref['EDITED_MESSAGE']) { ?>
79 <span class="gensmall"><?php echo (isset($this->_rootref['EDITED_MESSAGE'])) ? $this->_rootref['EDITED_MESSAGE'] : ''; ?></span>
80 <?php } if (! $this->_rootref['S_HAS_ATTACHMENTS']) { ?><br clear="all" /><br /><?php } ?>
81
82 <table width="100%" cellspacing="0">
83 <tr valign="middle">
84 <td class="gensmall" align="<?php echo (isset($this->_rootref['S_CONTENT_FLOW_END'])) ? $this->_rootref['S_CONTENT_FLOW_END'] : ''; ?>"> <?php if ($this->_rootref['U_DELETE']) { ?><a href="<?php echo (isset($this->_rootref['U_DELETE'])) ? $this->_rootref['U_DELETE'] : ''; ?>"><?php echo (isset($this->_rootref['DELETE_IMG'])) ? $this->_rootref['DELETE_IMG'] : ''; ?></a> <?php } ?></td>
85 </tr>
86 </table>
87
88 </td>
89 </tr>
90 </table>
91 </td>
92</tr>
93
94<tr class="row1">
95 <td><div class="gensmall" style="float: <?php echo (isset($this->_rootref['S_CONTENT_FLOW_BEGIN'])) ? $this->_rootref['S_CONTENT_FLOW_BEGIN'] : ''; ?>;">&nbsp;<?php if ($this->_rootref['U_MESSAGE_AUTHOR']) { ?><a href="<?php echo (isset($this->_rootref['U_MESSAGE_AUTHOR'])) ? $this->_rootref['U_MESSAGE_AUTHOR'] : ''; ?>"><?php echo (isset($this->_rootref['PROFILE_IMG'])) ? $this->_rootref['PROFILE_IMG'] : ''; ?></a> <?php } if ($this->_rootref['U_EMAIL']) { ?><a href="<?php echo (isset($this->_rootref['U_EMAIL'])) ? $this->_rootref['U_EMAIL'] : ''; ?>"><?php echo (isset($this->_rootref['EMAIL_IMG'])) ? $this->_rootref['EMAIL_IMG'] : ''; ?></a> <?php } ?>&nbsp;</div> <div class="gensmall" style="float: <?php echo (isset($this->_rootref['S_CONTENT_FLOW_END'])) ? $this->_rootref['S_CONTENT_FLOW_END'] : ''; ?>;"><?php if ($this->_rootref['U_EDIT']) { ?><a href="<?php echo (isset($this->_rootref['U_EDIT'])) ? $this->_rootref['U_EDIT'] : ''; ?>"><?php echo (isset($this->_rootref['EDIT_IMG'])) ? $this->_rootref['EDIT_IMG'] : ''; ?></a> <?php } if ($this->_rootref['U_QUOTE']) { ?><a href="<?php echo (isset($this->_rootref['U_QUOTE'])) ? $this->_rootref['U_QUOTE'] : ''; ?>"><?php echo (isset($this->_rootref['QUOTE_IMG'])) ? $this->_rootref['QUOTE_IMG'] : ''; ?></a> <?php } if ($this->_rootref['U_POST_REPLY_PM']) { ?><a href="<?php echo (isset($this->_rootref['U_POST_REPLY_PM'])) ? $this->_rootref['U_POST_REPLY_PM'] : ''; ?>"><?php echo (isset($this->_rootref['REPLY_IMG'])) ? $this->_rootref['REPLY_IMG'] : ''; ?></a><?php } ?>&nbsp;</div></td>
96</tr>
97
98<tr>
99 <td class="spacer" height="1"><img src="images/spacer.gif" alt="" width="1" height="1" /></td>
100</tr>
101</table>
102
103<div style="padding: 2px;"></div>
104<?php $this->_tpl_include('ucp_pm_message_footer.html'); ?>
105
106<br clear="all" />
107
108</div>
109
110<?php if ($this->_rootref['S_DISPLAY_HISTORY']) { $this->_tpl_include('ucp_pm_history.html'); } $this->_tpl_include('ucp_footer.html'); ?>
Note: See TracBrowser for help on using the repository browser.