3 // eXtreme Styles mod cache. Generated on Tue, 14 Jun 2005 11:44:36 -0400 (time=1118763876)
6 <script language="javascript" type="text/javascript">
8 function emoticon(text) {
9 text = ' ' + text + ' ';
10 if (opener.document.forms['post'].message.createTextRange && opener.document.forms['post'].message.caretPos) {
11 var caretPos = opener.document.forms['post'].message.caretPos;
12 caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
13 opener.document.forms['post'].message.focus();
15 opener.document.forms['post'].message.value += text;
16 opener.document.forms['post'].message.focus();
22 <table width="100%" border="0" cellspacing="0" cellpadding="10">
24 <td><table width="100%" border="0" cellspacing="1" cellpadding="4" class="forumline">
26 <th class="thHead" height="25"><?php echo isset($this->vars['L_EMOTICONS']) ? $this->vars['L_EMOTICONS'] : $this->lang('L_EMOTICONS'); ?></th>
29 <td><table width="100" border="0" cellspacing="0" cellpadding="5">
32 $smilies_row_count = ( isset($this->_tpldata['smilies_row.']) ) ? sizeof($this->_tpldata['smilies_row.']) : 0;
33 for ($smilies_row_i = 0; $smilies_row_i < $smilies_row_count; $smilies_row_i++)
35 $smilies_row_item = &$this->_tpldata['smilies_row.'][$smilies_row_i];
36 $smilies_row_item['S_ROW_COUNT'] = $smilies_row_i;
37 $smilies_row_item['S_NUM_ROWS'] = $smilies_row_count;
40 <tr align="center" valign="middle">
43 $smilies_col_count = ( isset($smilies_row_item['smilies_col.']) ) ? sizeof($smilies_row_item['smilies_col.']) : 0;
44 for ($smilies_col_i = 0; $smilies_col_i < $smilies_col_count; $smilies_col_i++)
46 $smilies_col_item = &$smilies_row_item['smilies_col.'][$smilies_col_i];
47 $smilies_col_item['S_ROW_COUNT'] = $smilies_col_i;
48 $smilies_col_item['S_NUM_ROWS'] = $smilies_col_count;
51 <td><a href="javascript:emoticon('<?php echo isset($smilies_col_item['SMILEY_CODE']) ? $smilies_col_item['SMILEY_CODE'] : ''; ?>')"><img src="<?php echo isset($smilies_col_item['SMILEY_IMG']) ? $smilies_col_item['SMILEY_IMG'] : ''; ?>" border="0" alt="<?php echo isset($smilies_col_item['SMILEY_DESC']) ? $smilies_col_item['SMILEY_DESC'] : ''; ?>" title="<?php echo isset($smilies_col_item['SMILEY_DESC']) ? $smilies_col_item['SMILEY_DESC'] : ''; ?>" /></a></td>
56 if(isset($smilies_col_item)) { unset($smilies_col_item); }
64 if(isset($smilies_row_item)) { unset($smilies_row_item); }
69 $switch_smilies_extra_count = ( isset($this->_tpldata['switch_smilies_extra.']) ) ? sizeof($this->_tpldata['switch_smilies_extra.']) : 0;
70 for ($switch_smilies_extra_i = 0; $switch_smilies_extra_i < $switch_smilies_extra_count; $switch_smilies_extra_i++)
72 $switch_smilies_extra_item = &$this->_tpldata['switch_smilies_extra.'][$switch_smilies_extra_i];
73 $switch_smilies_extra_item['S_ROW_COUNT'] = $switch_smilies_extra_i;
74 $switch_smilies_extra_item['S_NUM_ROWS'] = $switch_smilies_extra_count;
78 <td colspan="<?php echo isset($this->vars['S_SMILIES_COLSPAN']) ? $this->vars['S_SMILIES_COLSPAN'] : $this->lang('S_SMILIES_COLSPAN'); ?>"><span class="nav"><a href="<?php echo isset($this->vars['U_MORE_SMILIES']) ? $this->vars['U_MORE_SMILIES'] : $this->lang('U_MORE_SMILIES'); ?>" onclick="open_window('<?php echo isset($this->vars['U_MORE_SMILIES']) ? $this->vars['U_MORE_SMILIES'] : $this->lang('U_MORE_SMILIES'); ?>', 250, 300);return false" target="_smilies" class="nav"><?php echo isset($this->vars['L_MORE_SMILIES']) ? $this->vars['L_MORE_SMILIES'] : $this->lang('L_MORE_SMILIES'); ?></a></td>
82 } // END switch_smilies_extra
84 if(isset($switch_smilies_extra_item)) { unset($switch_smilies_extra_item); }
90 <td align="center"><br /><span class="genmed"><a href="javascript:window.close();" class="genmed"><?php echo isset($this->vars['L_CLOSE_WINDOW']) ? $this->vars['L_CLOSE_WINDOW'] : $this->lang('L_CLOSE_WINDOW'); ?></a></span></td>