3 // eXtreme Styles mod cache. Generated on Sun, 12 Jun 2005 15:51:34 -0400 (time=1118605894)
5 ?><script language="JavaScript" type="text/javascript">
13 var theSelection = false;
15 // Check for Browser & Platform for PC & IE specific bits
16 // More details from: http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html
17 var clientPC = navigator.userAgent.toLowerCase(); // Get client info
18 var clientVer = parseInt(navigator.appVersion); // Get browser version
20 var is_ie = ((clientPC.indexOf("msie") != -1) && (clientPC.indexOf("opera") == -1));
21 var is_nav = ((clientPC.indexOf('mozilla')!=-1) && (clientPC.indexOf('spoofer')==-1)
22 && (clientPC.indexOf('compatible') == -1) && (clientPC.indexOf('opera')==-1)
23 && (clientPC.indexOf('webtv')==-1) && (clientPC.indexOf('hotjava')==-1));
26 var is_win = ((clientPC.indexOf("win")!=-1) || (clientPC.indexOf("16bit") != -1));
27 var is_mac = (clientPC.indexOf("mac")!=-1);
30 b_help = "<?php echo isset($this->vars['L_BBCODE_B_HELP']) ? $this->vars['L_BBCODE_B_HELP'] : $this->lang('L_BBCODE_B_HELP'); ?>";
31 i_help = "<?php echo isset($this->vars['L_BBCODE_I_HELP']) ? $this->vars['L_BBCODE_I_HELP'] : $this->lang('L_BBCODE_I_HELP'); ?>";
32 u_help = "<?php echo isset($this->vars['L_BBCODE_U_HELP']) ? $this->vars['L_BBCODE_U_HELP'] : $this->lang('L_BBCODE_U_HELP'); ?>";
33 q_help = "<?php echo isset($this->vars['L_BBCODE_Q_HELP']) ? $this->vars['L_BBCODE_Q_HELP'] : $this->lang('L_BBCODE_Q_HELP'); ?>";
34 c_help = "<?php echo isset($this->vars['L_BBCODE_C_HELP']) ? $this->vars['L_BBCODE_C_HELP'] : $this->lang('L_BBCODE_C_HELP'); ?>";
35 l_help = "<?php echo isset($this->vars['L_BBCODE_L_HELP']) ? $this->vars['L_BBCODE_L_HELP'] : $this->lang('L_BBCODE_L_HELP'); ?>";
36 o_help = "<?php echo isset($this->vars['L_BBCODE_O_HELP']) ? $this->vars['L_BBCODE_O_HELP'] : $this->lang('L_BBCODE_O_HELP'); ?>";
37 p_help = "<?php echo isset($this->vars['L_BBCODE_P_HELP']) ? $this->vars['L_BBCODE_P_HELP'] : $this->lang('L_BBCODE_P_HELP'); ?>";
38 w_help = "<?php echo isset($this->vars['L_BBCODE_W_HELP']) ? $this->vars['L_BBCODE_W_HELP'] : $this->lang('L_BBCODE_W_HELP'); ?>";
39 a_help = "<?php echo isset($this->vars['L_BBCODE_A_HELP']) ? $this->vars['L_BBCODE_A_HELP'] : $this->lang('L_BBCODE_A_HELP'); ?>";
40 s_help = "<?php echo isset($this->vars['L_BBCODE_S_HELP']) ? $this->vars['L_BBCODE_S_HELP'] : $this->lang('L_BBCODE_S_HELP'); ?>";
41 f_help = "<?php echo isset($this->vars['L_BBCODE_F_HELP']) ? $this->vars['L_BBCODE_F_HELP'] : $this->lang('L_BBCODE_F_HELP'); ?>";
43 // Define the bbCode tags
45 bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','[/code]','[list]','[/list]','[list=]','[/list]','[img]','[/img]','[url]','[/url]');
48 // Shows the help messages in the helpline window
49 function helpline(help) {
50 document.post.helpbox.value = eval(help + "_help");
54 // Replacement for arrayname.length property
55 function getarraysize(thearray) {
56 for (i = 0; i < thearray.length; i++) {
57 if ((thearray[i] == "undefined") || (thearray[i] == "") || (thearray[i] == null))
60 return thearray.length;
63 // Replacement for arrayname.push(value) not implemented in IE until version 5.5
64 // Appends element to the array
65 function arraypush(thearray,value) {
66 thearray[ getarraysize(thearray) ] = value;
69 // Replacement for arrayname.pop() not implemented in IE until version 5.5
70 // Removes and returns the last element of an array
71 function arraypop(thearray) {
72 thearraysize = getarraysize(thearray);
73 retval = thearray[thearraysize - 1];
74 delete thearray[thearraysize - 1];
79 function checkForm() {
83 if (document.post.message.value.length < 2) {
84 formErrors = "<?php echo isset($this->vars['L_EMPTY_MESSAGE']) ? $this->vars['L_EMPTY_MESSAGE'] : $this->lang('L_EMPTY_MESSAGE'); ?>";
92 //formObj.preview.disabled = true;
93 //formObj.submit.disabled = true;
98 function emoticon(text) {
99 var txtarea = document.post.message;
100 text = ' ' + text + ' ';
101 if (txtarea.createTextRange && txtarea.caretPos) {
102 var caretPos = txtarea.caretPos;
103 caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? caretPos.text + text + ' ' : caretPos.text + text;
106 txtarea.value += text;
111 function bbfontstyle(bbopen, bbclose) {
112 var txtarea = document.post.message;
114 if ((clientVer >= 4) && is_ie && is_win) {
115 theSelection = document.selection.createRange().text;
117 txtarea.value += bbopen + bbclose;
121 document.selection.createRange().text = bbopen + theSelection + bbclose;
125 else if (txtarea.selectionEnd && (txtarea.selectionEnd - txtarea.selectionStart > 0))
127 mozWrap(txtarea, bbopen, bbclose);
132 txtarea.value += bbopen + bbclose;
139 function bbstyle(bbnumber) {
140 var txtarea = document.post.message;
144 theSelection = false;
147 if (bbnumber == -1) { // Close all open tags & default button names
149 butnumber = arraypop(bbcode) - 1;
150 txtarea.value += bbtags[butnumber + 1];
151 buttext = eval('document.post.addbbcode' + butnumber + '.value');
152 eval('document.post.addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"');
154 imageTag = false; // All tags are closed including image tags :D
159 if ((clientVer >= 4) && is_ie && is_win)
161 theSelection = document.selection.createRange().text; // Get text selection
163 // Add tags around selection
164 document.selection.createRange().text = bbtags[bbnumber] + theSelection + bbtags[bbnumber+1];
170 else if (txtarea.selectionEnd && (txtarea.selectionEnd - txtarea.selectionStart > 0))
172 mozWrap(txtarea, bbtags[bbnumber], bbtags[bbnumber+1]);
176 // Find last occurance of an open tag the same as the one just clicked
177 for (i = 0; i < bbcode.length; i++) {
178 if (bbcode[i] == bbnumber+1) {
184 if (donotinsert) { // Close all open tags up to the one just clicked & default button names
185 while (bbcode[bblast]) {
186 butnumber = arraypop(bbcode) - 1;
187 txtarea.value += bbtags[butnumber + 1];
188 buttext = eval('document.post.addbbcode' + butnumber + '.value');
189 eval('document.post.addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"');
194 } else { // Open tags
196 if (imageTag && (bbnumber != 14)) { // Close image tag before adding another
197 txtarea.value += bbtags[15];
198 lastValue = arraypop(bbcode) - 1; // Remove the close image tag from the list
199 document.post.addbbcode14.value = "Img"; // Return button back to normal state
204 txtarea.value += bbtags[bbnumber];
205 if ((bbnumber == 14) && (imageTag == false)) imageTag = 1; // Check to stop additional tags after an unclosed image tag
206 arraypush(bbcode,bbnumber+1);
207 eval('document.post.addbbcode'+bbnumber+'.value += "*"');
214 // From http://www.massless.org/mozedit/
215 function mozWrap(txtarea, open, close)
217 var selLength = txtarea.textLength;
218 var selStart = txtarea.selectionStart;
219 var selEnd = txtarea.selectionEnd;
220 if (selEnd == 1 || selEnd == 2)
223 var s1 = (txtarea.value).substring(0,selStart);
224 var s2 = (txtarea.value).substring(selStart, selEnd)
225 var s3 = (txtarea.value).substring(selEnd, selLength);
226 txtarea.value = s1 + open + s2 + close + s3;
230 // Insert at Claret position. Code from
231 // http://www.faqts.com/knowledge_base/view.phtml/aid/1052/fid/130
232 function storeCaret(textEl) {
233 if (textEl.createTextRange) textEl.caretPos = document.selection.createRange().duplicate();
241 $privmsg_extensions_count = ( isset($this->_tpldata['privmsg_extensions.']) ) ? sizeof($this->_tpldata['privmsg_extensions.']) : 0;
242 for ($privmsg_extensions_i = 0; $privmsg_extensions_i < $privmsg_extensions_count; $privmsg_extensions_i++)
244 $privmsg_extensions_item = &$this->_tpldata['privmsg_extensions.'][$privmsg_extensions_i];
245 $privmsg_extensions_item['S_ROW_COUNT'] = $privmsg_extensions_i;
246 $privmsg_extensions_item['S_NUM_ROWS'] = $privmsg_extensions_count;
249 <table border="0" cellspacing="0" cellpadding="0" align="center" width="100%">
251 <td valign="top" align="center" width="100%">
252 <table height="40" cellspacing="2" cellpadding="2" border="0">
254 <td><?php echo isset($this->vars['INBOX_IMG']) ? $this->vars['INBOX_IMG'] : $this->lang('INBOX_IMG'); ?></td>
255 <td><span class="cattitle"><?php echo isset($this->vars['INBOX_LINK']) ? $this->vars['INBOX_LINK'] : $this->lang('INBOX_LINK'); ?> </span></td>
256 <td><?php echo isset($this->vars['SENTBOX_IMG']) ? $this->vars['SENTBOX_IMG'] : $this->lang('SENTBOX_IMG'); ?></td>
257 <td><span class="cattitle"><?php echo isset($this->vars['SENTBOX_LINK']) ? $this->vars['SENTBOX_LINK'] : $this->lang('SENTBOX_LINK'); ?> </span></td>
258 <td><?php echo isset($this->vars['OUTBOX_IMG']) ? $this->vars['OUTBOX_IMG'] : $this->lang('OUTBOX_IMG'); ?></td>
259 <td><span class="cattitle"><?php echo isset($this->vars['OUTBOX_LINK']) ? $this->vars['OUTBOX_LINK'] : $this->lang('OUTBOX_LINK'); ?> </span></td>
260 <td><?php echo isset($this->vars['SAVEBOX_IMG']) ? $this->vars['SAVEBOX_IMG'] : $this->lang('SAVEBOX_IMG'); ?></td>
261 <td><span class="cattitle"><?php echo isset($this->vars['SAVEBOX_LINK']) ? $this->vars['SAVEBOX_LINK'] : $this->lang('SAVEBOX_LINK'); ?> </span></td>
271 } // END privmsg_extensions
273 if(isset($privmsg_extensions_item)) { unset($privmsg_extensions_item); }
277 <form action="<?php echo isset($this->vars['S_POST_ACTION']) ? $this->vars['S_POST_ACTION'] : $this->lang('S_POST_ACTION'); ?>" method="post" name="post" onsubmit="return checkForm(this)">
279 <?php echo isset($this->vars['POST_PREVIEW_BOX']) ? $this->vars['POST_PREVIEW_BOX'] : $this->lang('POST_PREVIEW_BOX'); ?>
280 <?php echo isset($this->vars['ERROR_BOX']) ? $this->vars['ERROR_BOX'] : $this->lang('ERROR_BOX'); ?>
282 <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
284 <td align="left"><span class="nav"><a href="<?php echo isset($this->vars['U_INDEX']) ? $this->vars['U_INDEX'] : $this->lang('U_INDEX'); ?>" class="nav"><?php echo isset($this->vars['L_INDEX']) ? $this->vars['L_INDEX'] : $this->lang('L_INDEX'); ?></a>
287 $switch_not_privmsg_count = ( isset($this->_tpldata['switch_not_privmsg.']) ) ? sizeof($this->_tpldata['switch_not_privmsg.']) : 0;
288 for ($switch_not_privmsg_i = 0; $switch_not_privmsg_i < $switch_not_privmsg_count; $switch_not_privmsg_i++)
290 $switch_not_privmsg_item = &$this->_tpldata['switch_not_privmsg.'][$switch_not_privmsg_i];
291 $switch_not_privmsg_item['S_ROW_COUNT'] = $switch_not_privmsg_i;
292 $switch_not_privmsg_item['S_NUM_ROWS'] = $switch_not_privmsg_count;
295 -> <a href="<?php echo isset($this->vars['U_VIEW_FORUM']) ? $this->vars['U_VIEW_FORUM'] : $this->lang('U_VIEW_FORUM'); ?>" class="nav"><?php echo isset($this->vars['FORUM_NAME']) ? $this->vars['FORUM_NAME'] : $this->lang('FORUM_NAME'); ?></a></span></td>
298 } // END switch_not_privmsg
300 if(isset($switch_not_privmsg_item)) { unset($switch_not_privmsg_item); }
306 <table border="0" cellpadding="3" cellspacing="1" width="100%" class="forumline">
308 <th class="thHead" colspan="2" height="25"><b><?php echo isset($this->vars['L_POST_A']) ? $this->vars['L_POST_A'] : $this->lang('L_POST_A'); ?></b></th>
312 $switch_username_select_count = ( isset($this->_tpldata['switch_username_select.']) ) ? sizeof($this->_tpldata['switch_username_select.']) : 0;
313 for ($switch_username_select_i = 0; $switch_username_select_i < $switch_username_select_count; $switch_username_select_i++)
315 $switch_username_select_item = &$this->_tpldata['switch_username_select.'][$switch_username_select_i];
316 $switch_username_select_item['S_ROW_COUNT'] = $switch_username_select_i;
317 $switch_username_select_item['S_NUM_ROWS'] = $switch_username_select_count;
321 <td class="row1"><span class="gen"><b><?php echo isset($this->vars['L_USERNAME']) ? $this->vars['L_USERNAME'] : $this->lang('L_USERNAME'); ?></b></span></td>
322 <td class="row2"><span class="genmed"><input type="text" class="post" tabindex="1" name="username" size="25" maxlength="25" value="<?php echo isset($this->vars['USERNAME']) ? $this->vars['USERNAME'] : $this->lang('USERNAME'); ?>" /></span></td>
326 } // END switch_username_select
328 if(isset($switch_username_select_item)) { unset($switch_username_select_item); }
333 $switch_privmsg_count = ( isset($this->_tpldata['switch_privmsg.']) ) ? sizeof($this->_tpldata['switch_privmsg.']) : 0;
334 for ($switch_privmsg_i = 0; $switch_privmsg_i < $switch_privmsg_count; $switch_privmsg_i++)
336 $switch_privmsg_item = &$this->_tpldata['switch_privmsg.'][$switch_privmsg_i];
337 $switch_privmsg_item['S_ROW_COUNT'] = $switch_privmsg_i;
338 $switch_privmsg_item['S_NUM_ROWS'] = $switch_privmsg_count;
342 <td class="row1"><span class="gen"><b><?php echo isset($this->vars['L_USERNAME']) ? $this->vars['L_USERNAME'] : $this->lang('L_USERNAME'); ?></b></span></td>
343 <td class="row2"><span class="genmed"><input type="text" class="post" name="username" maxlength="25" size="25" tabindex="1" value="<?php echo isset($this->vars['USERNAME']) ? $this->vars['USERNAME'] : $this->lang('USERNAME'); ?>" /> <input type="submit" name="usersubmit" value="<?php echo isset($this->vars['L_FIND_USERNAME']) ? $this->vars['L_FIND_USERNAME'] : $this->lang('L_FIND_USERNAME'); ?>" class="liteoption" onClick="window.open('<?php echo isset($this->vars['U_SEARCH_USER']) ? $this->vars['U_SEARCH_USER'] : $this->lang('U_SEARCH_USER'); ?>', '_phpbbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" /></span></td>
347 } // END switch_privmsg
349 if(isset($switch_privmsg_item)) { unset($switch_privmsg_item); }
353 <td class="row1" width="22%"><span class="gen"><b><?php echo isset($this->vars['L_SUBJECT']) ? $this->vars['L_SUBJECT'] : $this->lang('L_SUBJECT'); ?></b></span></td>
354 <td class="row2" width="78%"> <span class="gen">
355 <input type="text" name="subject" size="45" maxlength="60" style="width:450px" tabindex="2" class="post" value="<?php echo isset($this->vars['SUBJECT']) ? $this->vars['SUBJECT'] : $this->lang('SUBJECT'); ?>" />
359 <td class="row1" valign="top">
360 <table width="100%" border="0" cellspacing="0" cellpadding="1">
362 <td><span class="gen"><b><?php echo isset($this->vars['L_MESSAGE_BODY']) ? $this->vars['L_MESSAGE_BODY'] : $this->lang('L_MESSAGE_BODY'); ?></b></span> </td>
365 <td valign="middle" align="center"> <br />
366 <table width="100" border="0" cellspacing="0" cellpadding="5">
368 <td colspan="<?php echo isset($this->vars['S_SMILIES_COLSPAN']) ? $this->vars['S_SMILIES_COLSPAN'] : $this->lang('S_SMILIES_COLSPAN'); ?>" class="gensmall"><b><?php echo isset($this->vars['L_EMOTICONS']) ? $this->vars['L_EMOTICONS'] : $this->lang('L_EMOTICONS'); ?></b></td>
372 $smilies_row_count = ( isset($this->_tpldata['smilies_row.']) ) ? sizeof($this->_tpldata['smilies_row.']) : 0;
373 for ($smilies_row_i = 0; $smilies_row_i < $smilies_row_count; $smilies_row_i++)
375 $smilies_row_item = &$this->_tpldata['smilies_row.'][$smilies_row_i];
376 $smilies_row_item['S_ROW_COUNT'] = $smilies_row_i;
377 $smilies_row_item['S_NUM_ROWS'] = $smilies_row_count;
380 <tr align="center" valign="middle">
383 $smilies_col_count = ( isset($smilies_row_item['smilies_col.']) ) ? sizeof($smilies_row_item['smilies_col.']) : 0;
384 for ($smilies_col_i = 0; $smilies_col_i < $smilies_col_count; $smilies_col_i++)
386 $smilies_col_item = &$smilies_row_item['smilies_col.'][$smilies_col_i];
387 $smilies_col_item['S_ROW_COUNT'] = $smilies_col_i;
388 $smilies_col_item['S_NUM_ROWS'] = $smilies_col_count;
391 <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>
396 if(isset($smilies_col_item)) { unset($smilies_col_item); }
404 if(isset($smilies_row_item)) { unset($smilies_row_item); }
409 $switch_smilies_extra_count = ( isset($this->_tpldata['switch_smilies_extra.']) ) ? sizeof($this->_tpldata['switch_smilies_extra.']) : 0;
410 for ($switch_smilies_extra_i = 0; $switch_smilies_extra_i < $switch_smilies_extra_count; $switch_smilies_extra_i++)
412 $switch_smilies_extra_item = &$this->_tpldata['switch_smilies_extra.'][$switch_smilies_extra_i];
413 $switch_smilies_extra_item['S_ROW_COUNT'] = $switch_smilies_extra_i;
414 $switch_smilies_extra_item['S_NUM_ROWS'] = $switch_smilies_extra_count;
418 <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="window.open('<?php echo isset($this->vars['U_MORE_SMILIES']) ? $this->vars['U_MORE_SMILIES'] : $this->lang('U_MORE_SMILIES'); ?>', '_phpbbsmilies', 'HEIGHT=300,resizable=yes,scrollbars=yes,WIDTH=250');return false;" target="_phpbbsmilies" class="nav"><?php echo isset($this->vars['L_MORE_SMILIES']) ? $this->vars['L_MORE_SMILIES'] : $this->lang('L_MORE_SMILIES'); ?></a></span></td>
422 } // END switch_smilies_extra
424 if(isset($switch_smilies_extra_item)) { unset($switch_smilies_extra_item); }
432 <td class="row2" valign="top"><span class="gen"> <span class="genmed"> </span>
433 <table width="450" border="0" cellspacing="0" cellpadding="2">
434 <tr align="center" valign="middle">
435 <td><span class="genmed">
436 <input type="button" class="button" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onClick="bbstyle(0)" onMouseOver="helpline('b')" />
438 <td><span class="genmed">
439 <input type="button" class="button" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onClick="bbstyle(2)" onMouseOver="helpline('i')" />
441 <td><span class="genmed">
442 <input type="button" class="button" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onClick="bbstyle(4)" onMouseOver="helpline('u')" />
444 <td><span class="genmed">
445 <input type="button" class="button" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onClick="bbstyle(6)" onMouseOver="helpline('q')" />
447 <td><span class="genmed">
448 <input type="button" class="button" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onClick="bbstyle(8)" onMouseOver="helpline('c')" />
450 <td><span class="genmed">
451 <input type="button" class="button" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onClick="bbstyle(10)" onMouseOver="helpline('l')" />
453 <td><span class="genmed">
454 <input type="button" class="button" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onClick="bbstyle(12)" onMouseOver="helpline('o')" />
456 <td><span class="genmed">
457 <input type="button" class="button" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onClick="bbstyle(14)" onMouseOver="helpline('p')" />
459 <td><span class="genmed">
460 <input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onClick="bbstyle(16)" onMouseOver="helpline('w')" />
465 <table width="100%" border="0" cellspacing="0" cellpadding="0">
467 <td><span class="genmed"> <?php echo isset($this->vars['L_FONT_COLOR']) ? $this->vars['L_FONT_COLOR'] : $this->lang('L_FONT_COLOR'); ?>:
468 <select name="addbbcode18" onChange="bbfontstyle('[color=' + this.form.addbbcode18.options[this.form.addbbcode18.selectedIndex].value + ']', '[/color]');this.selectedIndex=0;" onMouseOver="helpline('s')">
469 <option style="color:black; background-color: <?php echo isset($this->vars['T_TD_COLOR1']) ? $this->vars['T_TD_COLOR1'] : $this->lang('T_TD_COLOR1'); ?>" value="<?php echo isset($this->vars['T_FONTCOLOR1']) ? $this->vars['T_FONTCOLOR1'] : $this->lang('T_FONTCOLOR1'); ?>" class="genmed"><?php echo isset($this->vars['L_COLOR_DEFAULT']) ? $this->vars['L_COLOR_DEFAULT'] : $this->lang('L_COLOR_DEFAULT'); ?></option>
470 <option style="color:darkred; background-color: <?php echo isset($this->vars['T_TD_COLOR1']) ? $this->vars['T_TD_COLOR1'] : $this->lang('T_TD_COLOR1'); ?>" value="darkred" class="genmed"><?php echo isset($this->vars['L_COLOR_DARK_RED']) ? $this->vars['L_COLOR_DARK_RED'] : $this->lang('L_COLOR_DARK_RED'); ?></option>
471 <option style="color:red; background-color: <?php echo isset($this->vars['T_TD_COLOR1']) ? $this->vars['T_TD_COLOR1'] : $this->lang('T_TD_COLOR1'); ?>" value="red" class="genmed"><?php echo isset($this->vars['L_COLOR_RED']) ? $this->vars['L_COLOR_RED'] : $this->lang('L_COLOR_RED'); ?></option>
472 <option style="color:orange; background-color: <?php echo isset($this->vars['T_TD_COLOR1']) ? $this->vars['T_TD_COLOR1'] : $this->lang('T_TD_COLOR1'); ?>" value="orange" class="genmed"><?php echo isset($this->vars['L_COLOR_ORANGE']) ? $this->vars['L_COLOR_ORANGE'] : $this->lang('L_COLOR_ORANGE'); ?></option>
473 <option style="color:brown; background-color: <?php echo isset($this->vars['T_TD_COLOR1']) ? $this->vars['T_TD_COLOR1'] : $this->lang('T_TD_COLOR1'); ?>" value="brown" class="genmed"><?php echo isset($this->vars['L_COLOR_BROWN']) ? $this->vars['L_COLOR_BROWN'] : $this->lang('L_COLOR_BROWN'); ?></option>
474 <option style="color:yellow; background-color: <?php echo isset($this->vars['T_TD_COLOR1']) ? $this->vars['T_TD_COLOR1'] : $this->lang('T_TD_COLOR1'); ?>" value="yellow" class="genmed"><?php echo isset($this->vars['L_COLOR_YELLOW']) ? $this->vars['L_COLOR_YELLOW'] : $this->lang('L_COLOR_YELLOW'); ?></option>
475 <option style="color:green; background-color: <?php echo isset($this->vars['T_TD_COLOR1']) ? $this->vars['T_TD_COLOR1'] : $this->lang('T_TD_COLOR1'); ?>" value="green" class="genmed"><?php echo isset($this->vars['L_COLOR_GREEN']) ? $this->vars['L_COLOR_GREEN'] : $this->lang('L_COLOR_GREEN'); ?></option>
476 <option style="color:olive; background-color: <?php echo isset($this->vars['T_TD_COLOR1']) ? $this->vars['T_TD_COLOR1'] : $this->lang('T_TD_COLOR1'); ?>" value="olive" class="genmed"><?php echo isset($this->vars['L_COLOR_OLIVE']) ? $this->vars['L_COLOR_OLIVE'] : $this->lang('L_COLOR_OLIVE'); ?></option>
477 <option style="color:cyan; background-color: <?php echo isset($this->vars['T_TD_COLOR1']) ? $this->vars['T_TD_COLOR1'] : $this->lang('T_TD_COLOR1'); ?>" value="cyan" class="genmed"><?php echo isset($this->vars['L_COLOR_CYAN']) ? $this->vars['L_COLOR_CYAN'] : $this->lang('L_COLOR_CYAN'); ?></option>
478 <option style="color:blue; background-color: <?php echo isset($this->vars['T_TD_COLOR1']) ? $this->vars['T_TD_COLOR1'] : $this->lang('T_TD_COLOR1'); ?>" value="blue" class="genmed"><?php echo isset($this->vars['L_COLOR_BLUE']) ? $this->vars['L_COLOR_BLUE'] : $this->lang('L_COLOR_BLUE'); ?></option>
479 <option style="color:darkblue; background-color: <?php echo isset($this->vars['T_TD_COLOR1']) ? $this->vars['T_TD_COLOR1'] : $this->lang('T_TD_COLOR1'); ?>" value="darkblue" class="genmed"><?php echo isset($this->vars['L_COLOR_DARK_BLUE']) ? $this->vars['L_COLOR_DARK_BLUE'] : $this->lang('L_COLOR_DARK_BLUE'); ?></option>
480 <option style="color:indigo; background-color: <?php echo isset($this->vars['T_TD_COLOR1']) ? $this->vars['T_TD_COLOR1'] : $this->lang('T_TD_COLOR1'); ?>" value="indigo" class="genmed"><?php echo isset($this->vars['L_COLOR_INDIGO']) ? $this->vars['L_COLOR_INDIGO'] : $this->lang('L_COLOR_INDIGO'); ?></option>
481 <option style="color:violet; background-color: <?php echo isset($this->vars['T_TD_COLOR1']) ? $this->vars['T_TD_COLOR1'] : $this->lang('T_TD_COLOR1'); ?>" value="violet" class="genmed"><?php echo isset($this->vars['L_COLOR_VIOLET']) ? $this->vars['L_COLOR_VIOLET'] : $this->lang('L_COLOR_VIOLET'); ?></option>
482 <option style="color:white; background-color: <?php echo isset($this->vars['T_TD_COLOR1']) ? $this->vars['T_TD_COLOR1'] : $this->lang('T_TD_COLOR1'); ?>" value="white" class="genmed"><?php echo isset($this->vars['L_COLOR_WHITE']) ? $this->vars['L_COLOR_WHITE'] : $this->lang('L_COLOR_WHITE'); ?></option>
483 <option style="color:black; background-color: <?php echo isset($this->vars['T_TD_COLOR1']) ? $this->vars['T_TD_COLOR1'] : $this->lang('T_TD_COLOR1'); ?>" value="black" class="genmed"><?php echo isset($this->vars['L_COLOR_BLACK']) ? $this->vars['L_COLOR_BLACK'] : $this->lang('L_COLOR_BLACK'); ?></option>
484 </select> <?php echo isset($this->vars['L_FONT_SIZE']) ? $this->vars['L_FONT_SIZE'] : $this->lang('L_FONT_SIZE'); ?>:<select name="addbbcode20" onChange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]')" onMouseOver="helpline('f')">
485 <option value="7" class="genmed"><?php echo isset($this->vars['L_FONT_TINY']) ? $this->vars['L_FONT_TINY'] : $this->lang('L_FONT_TINY'); ?></option>
486 <option value="9" class="genmed"><?php echo isset($this->vars['L_FONT_SMALL']) ? $this->vars['L_FONT_SMALL'] : $this->lang('L_FONT_SMALL'); ?></option>
487 <option value="12" selected class="genmed"><?php echo isset($this->vars['L_FONT_NORMAL']) ? $this->vars['L_FONT_NORMAL'] : $this->lang('L_FONT_NORMAL'); ?></option>
488 <option value="18" class="genmed"><?php echo isset($this->vars['L_FONT_LARGE']) ? $this->vars['L_FONT_LARGE'] : $this->lang('L_FONT_LARGE'); ?></option>
489 <option value="24" class="genmed"><?php echo isset($this->vars['L_FONT_HUGE']) ? $this->vars['L_FONT_HUGE'] : $this->lang('L_FONT_HUGE'); ?></option>
492 <td nowrap="nowrap" align="right"><span class="gensmall"><a href="javascript:bbstyle(-1)" class="genmed" onMouseOver="helpline('a')"><?php echo isset($this->vars['L_BBCODE_CLOSE_TAGS']) ? $this->vars['L_BBCODE_CLOSE_TAGS'] : $this->lang('L_BBCODE_CLOSE_TAGS'); ?></a></span></td>
498 <td colspan="9"> <span class="gensmall">
499 <input type="text" name="helpbox" size="45" maxlength="100" style="width:450px; font-size:10px" class="helpline" value="<?php echo isset($this->vars['L_STYLES_TIP']) ? $this->vars['L_STYLES_TIP'] : $this->lang('L_STYLES_TIP'); ?>" />
503 <td colspan="9"><span class="gen">
504 <textarea name="message" rows="15" cols="35" wrap="virtual" style="width:450px" tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);"><?php echo isset($this->vars['MESSAGE']) ? $this->vars['MESSAGE'] : $this->lang('MESSAGE'); ?></textarea>
511 <td class="row1" valign="top"><span class="gen"><b><?php echo isset($this->vars['L_OPTIONS']) ? $this->vars['L_OPTIONS'] : $this->lang('L_OPTIONS'); ?></b></span><br /><span class="gensmall"><?php echo isset($this->vars['HTML_STATUS']) ? $this->vars['HTML_STATUS'] : $this->lang('HTML_STATUS'); ?><br /><?php echo isset($this->vars['BBCODE_STATUS']) ? $this->vars['BBCODE_STATUS'] : $this->lang('BBCODE_STATUS'); ?><br /><?php echo isset($this->vars['SMILIES_STATUS']) ? $this->vars['SMILIES_STATUS'] : $this->lang('SMILIES_STATUS'); ?></span></td>
512 <td class="row2"><span class="gen"> </span>
513 <table cellspacing="0" cellpadding="1" border="0">
516 $switch_html_checkbox_count = ( isset($this->_tpldata['switch_html_checkbox.']) ) ? sizeof($this->_tpldata['switch_html_checkbox.']) : 0;
517 for ($switch_html_checkbox_i = 0; $switch_html_checkbox_i < $switch_html_checkbox_count; $switch_html_checkbox_i++)
519 $switch_html_checkbox_item = &$this->_tpldata['switch_html_checkbox.'][$switch_html_checkbox_i];
520 $switch_html_checkbox_item['S_ROW_COUNT'] = $switch_html_checkbox_i;
521 $switch_html_checkbox_item['S_NUM_ROWS'] = $switch_html_checkbox_count;
526 <input type="checkbox" name="disable_html" <?php echo isset($this->vars['S_HTML_CHECKED']) ? $this->vars['S_HTML_CHECKED'] : $this->lang('S_HTML_CHECKED'); ?> />
528 <td><span class="gen"><?php echo isset($this->vars['L_DISABLE_HTML']) ? $this->vars['L_DISABLE_HTML'] : $this->lang('L_DISABLE_HTML'); ?></span></td>
532 } // END switch_html_checkbox
534 if(isset($switch_html_checkbox_item)) { unset($switch_html_checkbox_item); }
539 $switch_bbcode_checkbox_count = ( isset($this->_tpldata['switch_bbcode_checkbox.']) ) ? sizeof($this->_tpldata['switch_bbcode_checkbox.']) : 0;
540 for ($switch_bbcode_checkbox_i = 0; $switch_bbcode_checkbox_i < $switch_bbcode_checkbox_count; $switch_bbcode_checkbox_i++)
542 $switch_bbcode_checkbox_item = &$this->_tpldata['switch_bbcode_checkbox.'][$switch_bbcode_checkbox_i];
543 $switch_bbcode_checkbox_item['S_ROW_COUNT'] = $switch_bbcode_checkbox_i;
544 $switch_bbcode_checkbox_item['S_NUM_ROWS'] = $switch_bbcode_checkbox_count;
549 <input type="checkbox" name="disable_bbcode" <?php echo isset($this->vars['S_BBCODE_CHECKED']) ? $this->vars['S_BBCODE_CHECKED'] : $this->lang('S_BBCODE_CHECKED'); ?> />
551 <td><span class="gen"><?php echo isset($this->vars['L_DISABLE_BBCODE']) ? $this->vars['L_DISABLE_BBCODE'] : $this->lang('L_DISABLE_BBCODE'); ?></span></td>
555 } // END switch_bbcode_checkbox
557 if(isset($switch_bbcode_checkbox_item)) { unset($switch_bbcode_checkbox_item); }
562 $switch_smilies_checkbox_count = ( isset($this->_tpldata['switch_smilies_checkbox.']) ) ? sizeof($this->_tpldata['switch_smilies_checkbox.']) : 0;
563 for ($switch_smilies_checkbox_i = 0; $switch_smilies_checkbox_i < $switch_smilies_checkbox_count; $switch_smilies_checkbox_i++)
565 $switch_smilies_checkbox_item = &$this->_tpldata['switch_smilies_checkbox.'][$switch_smilies_checkbox_i];
566 $switch_smilies_checkbox_item['S_ROW_COUNT'] = $switch_smilies_checkbox_i;
567 $switch_smilies_checkbox_item['S_NUM_ROWS'] = $switch_smilies_checkbox_count;
572 <input type="checkbox" name="disable_smilies" <?php echo isset($this->vars['S_SMILIES_CHECKED']) ? $this->vars['S_SMILIES_CHECKED'] : $this->lang('S_SMILIES_CHECKED'); ?> />
574 <td><span class="gen"><?php echo isset($this->vars['L_DISABLE_SMILIES']) ? $this->vars['L_DISABLE_SMILIES'] : $this->lang('L_DISABLE_SMILIES'); ?></span></td>
578 } // END switch_smilies_checkbox
580 if(isset($switch_smilies_checkbox_item)) { unset($switch_smilies_checkbox_item); }
585 $switch_signature_checkbox_count = ( isset($this->_tpldata['switch_signature_checkbox.']) ) ? sizeof($this->_tpldata['switch_signature_checkbox.']) : 0;
586 for ($switch_signature_checkbox_i = 0; $switch_signature_checkbox_i < $switch_signature_checkbox_count; $switch_signature_checkbox_i++)
588 $switch_signature_checkbox_item = &$this->_tpldata['switch_signature_checkbox.'][$switch_signature_checkbox_i];
589 $switch_signature_checkbox_item['S_ROW_COUNT'] = $switch_signature_checkbox_i;
590 $switch_signature_checkbox_item['S_NUM_ROWS'] = $switch_signature_checkbox_count;
595 <input type="checkbox" name="attach_sig" <?php echo isset($this->vars['S_SIGNATURE_CHECKED']) ? $this->vars['S_SIGNATURE_CHECKED'] : $this->lang('S_SIGNATURE_CHECKED'); ?> />
597 <td><span class="gen"><?php echo isset($this->vars['L_ATTACH_SIGNATURE']) ? $this->vars['L_ATTACH_SIGNATURE'] : $this->lang('L_ATTACH_SIGNATURE'); ?></span></td>
601 } // END switch_signature_checkbox
603 if(isset($switch_signature_checkbox_item)) { unset($switch_signature_checkbox_item); }
608 $switch_notify_checkbox_count = ( isset($this->_tpldata['switch_notify_checkbox.']) ) ? sizeof($this->_tpldata['switch_notify_checkbox.']) : 0;
609 for ($switch_notify_checkbox_i = 0; $switch_notify_checkbox_i < $switch_notify_checkbox_count; $switch_notify_checkbox_i++)
611 $switch_notify_checkbox_item = &$this->_tpldata['switch_notify_checkbox.'][$switch_notify_checkbox_i];
612 $switch_notify_checkbox_item['S_ROW_COUNT'] = $switch_notify_checkbox_i;
613 $switch_notify_checkbox_item['S_NUM_ROWS'] = $switch_notify_checkbox_count;
618 <input type="checkbox" name="notify" <?php echo isset($this->vars['S_NOTIFY_CHECKED']) ? $this->vars['S_NOTIFY_CHECKED'] : $this->lang('S_NOTIFY_CHECKED'); ?> />
620 <td><span class="gen"><?php echo isset($this->vars['L_NOTIFY_ON_REPLY']) ? $this->vars['L_NOTIFY_ON_REPLY'] : $this->lang('L_NOTIFY_ON_REPLY'); ?></span></td>
624 } // END switch_notify_checkbox
626 if(isset($switch_notify_checkbox_item)) { unset($switch_notify_checkbox_item); }
631 $switch_delete_checkbox_count = ( isset($this->_tpldata['switch_delete_checkbox.']) ) ? sizeof($this->_tpldata['switch_delete_checkbox.']) : 0;
632 for ($switch_delete_checkbox_i = 0; $switch_delete_checkbox_i < $switch_delete_checkbox_count; $switch_delete_checkbox_i++)
634 $switch_delete_checkbox_item = &$this->_tpldata['switch_delete_checkbox.'][$switch_delete_checkbox_i];
635 $switch_delete_checkbox_item['S_ROW_COUNT'] = $switch_delete_checkbox_i;
636 $switch_delete_checkbox_item['S_NUM_ROWS'] = $switch_delete_checkbox_count;
641 <input type="checkbox" name="delete" />
643 <td><span class="gen"><?php echo isset($this->vars['L_DELETE_POST']) ? $this->vars['L_DELETE_POST'] : $this->lang('L_DELETE_POST'); ?></span></td>
647 } // END switch_delete_checkbox
649 if(isset($switch_delete_checkbox_item)) { unset($switch_delete_checkbox_item); }
654 $switch_type_toggle_count = ( isset($this->_tpldata['switch_type_toggle.']) ) ? sizeof($this->_tpldata['switch_type_toggle.']) : 0;
655 for ($switch_type_toggle_i = 0; $switch_type_toggle_i < $switch_type_toggle_count; $switch_type_toggle_i++)
657 $switch_type_toggle_item = &$this->_tpldata['switch_type_toggle.'][$switch_type_toggle_i];
658 $switch_type_toggle_item['S_ROW_COUNT'] = $switch_type_toggle_i;
659 $switch_type_toggle_item['S_NUM_ROWS'] = $switch_type_toggle_count;
664 <td><span class="gen"><?php echo isset($this->vars['S_TYPE_TOGGLE']) ? $this->vars['S_TYPE_TOGGLE'] : $this->lang('S_TYPE_TOGGLE'); ?></span></td>
668 } // END switch_type_toggle
670 if(isset($switch_type_toggle_item)) { unset($switch_type_toggle_item); }
676 <?php echo isset($this->vars['POLLBOX']) ? $this->vars['POLLBOX'] : $this->lang('POLLBOX'); ?>
678 <td class="catBottom" colspan="2" align="center" height="28"> <?php echo isset($this->vars['S_HIDDEN_FORM_FIELDS']) ? $this->vars['S_HIDDEN_FORM_FIELDS'] : $this->lang('S_HIDDEN_FORM_FIELDS'); ?><input type="submit" tabindex="5" name="preview" class="mainoption" value="<?php echo isset($this->vars['L_PREVIEW']) ? $this->vars['L_PREVIEW'] : $this->lang('L_PREVIEW'); ?>" /> <input type="submit" accesskey="s" tabindex="6" name="post" class="mainoption" value="<?php echo isset($this->vars['L_SUBMIT']) ? $this->vars['L_SUBMIT'] : $this->lang('L_SUBMIT'); ?>" /></td>
682 <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
684 <td align="right" valign="top"><span class="gensmall"><?php echo isset($this->vars['S_TIMEZONE']) ? $this->vars['S_TIMEZONE'] : $this->lang('S_TIMEZONE'); ?></span></td>
689 <table width="100%" cellspacing="2" border="0" align="center">
691 <td valign="top" align="right"><?php echo isset($this->vars['JUMPBOX']) ? $this->vars['JUMPBOX'] : $this->lang('JUMPBOX'); ?></td>
695 <?php echo isset($this->vars['TOPIC_REVIEW_BOX']) ? $this->vars['TOPIC_REVIEW_BOX'] : $this->lang('TOPIC_REVIEW_BOX'); ?>