1 | <table class="tablebg" width="100%" cellspacing="1">
|
---|
2 | <tr>
|
---|
3 | <th><?php echo ((isset($this->_rootref['L_PREVIEW'])) ? $this->_rootref['L_PREVIEW'] : ((isset($user->lang['PREVIEW'])) ? $user->lang['PREVIEW'] : '{ PREVIEW }')); ?></th>
|
---|
4 | </tr>
|
---|
5 | <tr>
|
---|
6 | <td class="row1"><?php echo (isset($this->_rootref['MINI_POST_IMG'])) ? $this->_rootref['MINI_POST_IMG'] : ''; ?><span class="postdetails"><?php echo ((isset($this->_rootref['L_POSTED'])) ? $this->_rootref['L_POSTED'] : ((isset($user->lang['POSTED'])) ? $user->lang['POSTED'] : '{ POSTED }')); ?>: <?php echo (isset($this->_rootref['POST_DATE'])) ? $this->_rootref['POST_DATE'] : ''; ?> <?php echo ((isset($this->_rootref['L_POST_SUBJECT'])) ? $this->_rootref['L_POST_SUBJECT'] : ((isset($user->lang['POST_SUBJECT'])) ? $user->lang['POST_SUBJECT'] : '{ POST_SUBJECT }')); ?>: <?php echo (isset($this->_rootref['PREVIEW_SUBJECT'])) ? $this->_rootref['PREVIEW_SUBJECT'] : ''; ?></span></td>
|
---|
7 | </tr>
|
---|
8 | <?php if ($this->_rootref['S_HAS_POLL_OPTIONS']) { ?>
|
---|
9 | <tr>
|
---|
10 | <td class="row2" colspan="2" align="center"><br clear="all" />
|
---|
11 | <table cellspacing="0" cellpadding="4" border="0" align="center">
|
---|
12 | <tr>
|
---|
13 | <td align="center"><span class="gen"><b><?php echo (isset($this->_rootref['POLL_QUESTION'])) ? $this->_rootref['POLL_QUESTION'] : ''; ?></b></span><br /><span class="gensmall"><?php echo ((isset($this->_rootref['L_POLL_LENGTH'])) ? $this->_rootref['L_POLL_LENGTH'] : ((isset($user->lang['POLL_LENGTH'])) ? $user->lang['POLL_LENGTH'] : '{ POLL_LENGTH }')); ?></span></td>
|
---|
14 | </tr>
|
---|
15 | <tr>
|
---|
16 | <td align="center">
|
---|
17 | <table cellspacing="0" cellpadding="2" border="0">
|
---|
18 | <?php $_poll_option_count = (isset($this->_tpldata['poll_option'])) ? sizeof($this->_tpldata['poll_option']) : 0;if ($_poll_option_count) {for ($_poll_option_i = 0; $_poll_option_i < $_poll_option_count; ++$_poll_option_i){$_poll_option_val = &$this->_tpldata['poll_option'][$_poll_option_i]; ?>
|
---|
19 | <tr>
|
---|
20 | <td>
|
---|
21 | <?php if ($this->_rootref['S_IS_MULTI_CHOICE']) { ?>
|
---|
22 | <input type="checkbox" class="radio" name="vote_id" value="" />
|
---|
23 | <?php } else { ?>
|
---|
24 | <input type="radio" class="radio" name="vote_id" value="" />
|
---|
25 | <?php } ?>
|
---|
26 | </td>
|
---|
27 | <td><span class="gen"><?php echo $_poll_option_val['POLL_OPTION_CAPTION']; ?></span></td>
|
---|
28 | </tr>
|
---|
29 | <?php }} ?>
|
---|
30 | </table>
|
---|
31 | </td>
|
---|
32 | </tr>
|
---|
33 | <tr>
|
---|
34 | <td align="center"><span class="gensmall"><?php echo ((isset($this->_rootref['L_MAX_VOTES'])) ? $this->_rootref['L_MAX_VOTES'] : ((isset($user->lang['MAX_VOTES'])) ? $user->lang['MAX_VOTES'] : '{ MAX_VOTES }')); ?></span></td>
|
---|
35 | </tr>
|
---|
36 | </table>
|
---|
37 | </td>
|
---|
38 | </tr>
|
---|
39 | <?php } ?>
|
---|
40 | <tr>
|
---|
41 | <td class="row1">
|
---|
42 | <table width="100%" border="0" cellspacing="0" cellpadding="0">
|
---|
43 | <tr>
|
---|
44 | <td><div class="postbody"><?php echo (isset($this->_rootref['PREVIEW_MESSAGE'])) ? $this->_rootref['PREVIEW_MESSAGE'] : ''; ?></div>
|
---|
45 | <?php if (sizeof($this->_tpldata['attachment'])) { ?>
|
---|
46 | <br clear="all" /><br />
|
---|
47 |
|
---|
48 | <table class="tablebg" width="100%" cellspacing="1">
|
---|
49 | <tr>
|
---|
50 | <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>
|
---|
51 | </tr>
|
---|
52 | <?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]; ?>
|
---|
53 | <tr>
|
---|
54 | <td class="row2"><?php echo $_attachment_val['DISPLAY_ATTACHMENT']; ?></td>
|
---|
55 | </tr>
|
---|
56 | <?php }} ?>
|
---|
57 | </table>
|
---|
58 | <?php } if ($this->_rootref['PREVIEW_SIGNATURE']) { ?><span class="postbody"><br />_________________<br /><?php echo (isset($this->_rootref['PREVIEW_SIGNATURE'])) ? $this->_rootref['PREVIEW_SIGNATURE'] : ''; ?></span><?php } ?></td>
|
---|
59 | </tr>
|
---|
60 | </table>
|
---|
61 | </td>
|
---|
62 | </tr>
|
---|
63 | <tr>
|
---|
64 | <td class="spacer"><img src="images/spacer.gif" alt="" width="1" height="1" /></td>
|
---|
65 | </tr>
|
---|
66 | </table>
|
---|
67 |
|
---|
68 | <br clear="all" />
|
---|