440 lines
18 KiB
HTML
440 lines
18 KiB
HTML
<!--|IBF|table_structure|START|-->
|
|
|
|
|
|
<!--START TABLE-->
|
|
<!--NAME FIELDS-->
|
|
<!--TOPIC TITLE-->
|
|
<!--POLL BOX-->
|
|
<!--POST BOX-->
|
|
<!--QUOTE BOX-->
|
|
<!--POST ICONS-->
|
|
<!--UPLOAD FIELD-->
|
|
<!--MOD OPTIONS-->
|
|
<!--END TABLE-->
|
|
|
|
|
|
<!--|IBF|table_structure|END|-->
|
|
|
|
<!--|IBF|table_top|START|-->
|
|
|
|
|
|
<script language='Javascript' type='text/javascript'>
|
|
<!--
|
|
function PopUp(url, name, width,height,center,resize,scroll,posleft,postop) {
|
|
if (posleft != 0) { x = posleft }
|
|
if (postop != 0) { y = postop }
|
|
|
|
if (!scroll) { scroll = 1 }
|
|
if (!resize) { resize = 1 }
|
|
|
|
if ((parseInt (navigator.appVersion) >= 4 ) && (center)) {
|
|
X = (screen.width - width ) / 2;
|
|
Y = (screen.height - height) / 2;
|
|
}
|
|
if (scroll != 0) { scroll = 1 }
|
|
|
|
var Win = window.open( url, name, 'width='+width+',height='+height+',top='+Y+',left='+X+',resizable='+resize+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no');
|
|
}
|
|
//-->
|
|
</script>
|
|
<table width="{ibf.skin.tbl_width}" align='center' border="0" cellspacing="1" cellpadding="0" bgcolor="{ibf.skin.tbl_border}">
|
|
<tr>
|
|
<td id='maintitleback' background='{ibf.vars.img_url}/tile_back.gif'>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td id='mainbg'>
|
|
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
|
<tr>
|
|
<td id='titlemedium' background='{ibf.vars.img_url}/tile_sub.gif' colspan="2">$data</td>
|
|
</tr>
|
|
|
|
|
|
<!--|IBF|table_top|END|-->
|
|
|
|
<!--|IBF|EndForm|START|-->
|
|
|
|
|
|
<tr>
|
|
<td id='mainfoot' align="center" colspan="2"><input type="submit" name="submit" value="$data" tabindex='4' class='forminput'>
|
|
<input type="submit" name="preview" value="{ibf.lang.button_preview}" tabindex='5' class='forminput'></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</form>
|
|
</table>
|
|
|
|
|
|
<!--|IBF|EndForm|END|-->
|
|
|
|
<!--|IBF|smilie_table|START|-->
|
|
|
|
|
|
<table align="center" cellspacing='1' cellpadding='3' border='0' id='row2' style="border-width:1px; border-color:{ibf.skin.tbl_border}; border-style:solid; width:95%" align='left'>
|
|
<tr>
|
|
<td colspan='{ibf.vars.emo_per_row}' align='center'>{ibf.lang.click_smilie}</td>
|
|
</tr>
|
|
<!--THE SMILIES-->
|
|
<tr>
|
|
<td colspan='{ibf.vars.emo_per_row}' id='row1' align='center'><a href='javascript:emo_pop()'>{ibf.lang.all_emoticons}</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<!--|IBF|smilie_table|END|-->
|
|
|
|
<!--|IBF|TopicSummary_bottom|START|-->
|
|
|
|
|
|
<!-- Cgi-bot TopicSummaryBottom -->
|
|
<tr>
|
|
<td valign='left' colspan='2' id='titlemedium'><a href="javascript:PopUp('index.{ibf.vars.php_ext}?act=ST&f={$ibforums->input['f']}&t={$ibforums->input['t']}','TopicSummary',700,450,1,1)">{ibf.lang.review_topic}</a></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- Cgi-bot End TopicSummaryBottom -->
|
|
|
|
|
|
<!--|IBF|TopicSummary_bottom|END|-->
|
|
|
|
<!--|IBF|PostIcons|START|-->
|
|
|
|
|
|
<tr>
|
|
<td valign="top" id='row1'>{ibf.lang.post_icon}</td>
|
|
<td valign="top" width="100%" id='row1'>
|
|
<INPUT type="radio" name="iconid" value="1"> <IMG SRC="{ibf.vars.img_url}/icon1.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <INPUT type="radio" name="iconid" value="2" > <IMG SRC="{ibf.vars.img_url}/icon2.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <INPUT type="radio" name="iconid" value="3" > <IMG SRC="{ibf.vars.img_url}/icon3.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <INPUT type="radio" name="iconid" value="4" > <IMG SRC="{ibf.vars.img_url}/icon4.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <INPUT type="radio" name="iconid" value="5" > <IMG SRC="{ibf.vars.img_url}/icon5.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <INPUT type="radio" name="iconid" value="6" > <IMG SRC="{ibf.vars.img_url}/icon6.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <INPUT type="radio" name="iconid" value="7" > <IMG SRC="{ibf.vars.img_url}/icon7.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <br>
|
|
<INPUT type="radio" name="iconid" value="8"> <IMG SRC="{ibf.vars.img_url}/icon8.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <INPUT type="radio" name="iconid" value="9" > <IMG SRC="{ibf.vars.img_url}/icon9.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <INPUT type="radio" name="iconid" value="10" > <IMG SRC="{ibf.vars.img_url}/icon10.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <INPUT type="radio" name="iconid" value="11" > <IMG SRC="{ibf.vars.img_url}/icon11.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <INPUT type="radio" name="iconid" value="12" > <IMG SRC="{ibf.vars.img_url}/icon12.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <INPUT type="radio" name="iconid" value="13" > <IMG SRC="{ibf.vars.img_url}/icon13.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <INPUT type="radio" name="iconid" value="14" > <IMG SRC="{ibf.vars.img_url}/icon14.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''>
|
|
<BR>
|
|
<INPUT type="radio" name="iconid" value="0" CHECKED> [ Use None ]
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<!--|IBF|PostIcons|END|-->
|
|
|
|
<!--|IBF|errors|START|-->
|
|
|
|
|
|
<table cellpadding='0' cellspacing='1' border='0' width='{ibf.skin.tbl_width}' bgcolor='{ibf.skin.TABLE_BORDER_COL}' align='center'>
|
|
<tr>
|
|
<td>
|
|
<table cellpadding='5' cellspacing='1' border='0' width='100%'>
|
|
<tr>
|
|
<td id='row1' valign='top' align='left'><b>{ibf.lang.errors_found}</b></font><hr noshade size='1' color='{ibf.skin.tbl_border}'>$data</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<br>
|
|
|
|
|
|
<!--|IBF|errors|END|-->
|
|
|
|
<!--|IBF|Upload_field|START|-->
|
|
|
|
|
|
<tr>
|
|
<td id="subtitle" colspan="2">{ibf.lang.upload_title}</td>
|
|
</tr>
|
|
<tr>
|
|
<td id='row1'>{ibf.lang.upload_text} $data</td>
|
|
<td id='row1' width="100%"><input class='textinput' type='file' size='30' name='FILE_UPLOAD'></td>
|
|
</tr>
|
|
|
|
|
|
<!--|IBF|Upload_field|END|-->
|
|
|
|
<!--|IBF|topictitle_fields|START|-->
|
|
|
|
|
|
<tr>
|
|
<td id="subtitle" colspan="2">{ibf.lang.tt_topic_settings}</td>
|
|
</tr>
|
|
<tr>
|
|
<td id='row1'>{ibf.lang.topic_title}</td>
|
|
<td id='row1' width="100%" valign="top"><input type='text' size='40' maxlength='50' name='TopicTitle' value='{$data[TITLE]}' tabindex='1' class='forminput'></td>
|
|
</tr>
|
|
<tr>
|
|
<td id='row1'>{ibf.lang.topic_desc}</td>
|
|
<td id='row1' width="100%" valign="top"><input type='text' size='40' maxlength='40' name='TopicDesc' value='{$data[DESC]}' tabindex='2' class='forminput'></td>
|
|
</tr>
|
|
|
|
|
|
<!--|IBF|topictitle_fields|END|-->
|
|
|
|
<!--|IBF|TopicSummary_body|START|-->
|
|
|
|
|
|
<tr id='postdetails'>
|
|
<td id='row1' align='left' valign='top' width='20%'><b>{$data['author']}</b></td>
|
|
<td id='row1' align='left' valign='top' width='80%'>{ibf.lang.posted_on} {$data['date']}<hr noshade size='1'><span id='postcolor'>{$data['post']}</span></td>
|
|
</tr>
|
|
|
|
|
|
<!--|IBF|TopicSummary_body|END|-->
|
|
|
|
<!--|IBF|preview|START|-->
|
|
|
|
|
|
<table cellpadding='0' cellspacing='1' border='0' width='{ibf.skin.tbl_width}' bgcolor='{ibf.skin.tbl_border}' align='center'>
|
|
<tr>
|
|
<td>
|
|
<table cellpadding='5' cellspacing='1' border='0' width='100%'>
|
|
<tr>
|
|
<td id='row1' valign='top' align='left'><b>{ibf.lang.post_preview}</b><hr noshade size='1' color='{ibf.skin.tbl_border}'><span id='postcolor'>$data</span></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<br>
|
|
|
|
|
|
<!--|IBF|preview|END|-->
|
|
|
|
<!--|IBF|TopicSummary_top|START|-->
|
|
|
|
|
|
<a name="top">
|
|
<!-- Cgi-bot TopicSummaryTop -->
|
|
<br>
|
|
<table cellpadding='0' cellspacing='0' border='0' width='{ibf.skin.tbl_width}' bgcolor='{ibf.skin.tbl_border}' align='center'>
|
|
<tr>
|
|
<td>
|
|
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
|
<tr>
|
|
<td valign='left' colspan='2' id='titlemedium'>{ibf.lang.last_posts}</td>
|
|
</tr>
|
|
<!-- Cgi-bot End TopicSummaryTop -->
|
|
|
|
|
|
<!--|IBF|TopicSummary_top|END|-->
|
|
|
|
<!--|IBF|nameField_reg|START|-->
|
|
|
|
|
|
<!-- REG NAME -->
|
|
|
|
|
|
<!--|IBF|nameField_reg|END|-->
|
|
|
|
<!--|IBF|mod_options|START|-->
|
|
|
|
|
|
<tr>
|
|
<td id="subtitle" colspan="2">{ibf.lang.tt_options}</td>
|
|
</tr>
|
|
<tr>
|
|
<td id="row1">{ibf.lang.mod_options}</td>
|
|
<td id="row1" width="100%">$jump</td>
|
|
</tr>
|
|
|
|
|
|
<!--|IBF|mod_options|END|-->
|
|
|
|
<!--|IBF|quote_box|START|-->
|
|
|
|
|
|
<tr>
|
|
<td id="subtitle" colspan="2">{ibf.lang.post_to_quote}</td>
|
|
</tr>
|
|
<tr>
|
|
<td id='row1' valign="top">{ibf.lang.post_to_quote_txt}</td>
|
|
<td id='row1' width="100%" valign="top">
|
|
<textarea cols='60' rows='12' wrap='soft' name='QPost' class='textinput'>{$data['post']}</textarea><input type='hidden' name='QAuthor' value='{$data['author_id']}'><input type='hidden' name='QAuthorN' value='{$data['author_name']}'><input type='hidden' name='QDate' value='{$data['post_date']}'></td>
|
|
</tr>
|
|
|
|
|
|
<!--|IBF|quote_box|END|-->
|
|
|
|
<!--|IBF|postbox_buttons|START|-->
|
|
|
|
|
|
<script language="javascript1.2">
|
|
<!--
|
|
|
|
var MessageMax = "{ibf.lang.the_max_length}";
|
|
var Override = "{ibf.lang.override}";
|
|
function emo_pop()
|
|
{
|
|
|
|
window.open('index.{ibf.vars.php_ext}?act=legends&CODE=emoticons&s={ibf.session_id}','Legends','width=250,height=500,resizable=yes,scrollbars=yes');
|
|
|
|
}
|
|
function CheckLength() {
|
|
MessageLength = document.REPLIER.Post.value.length;
|
|
message = "";
|
|
|
|
if (MessageMax !=0) {
|
|
message = "{ibf.lang.js_post}:\\n{ibf.lang.js_max_length} " + MessageMax + " {ibf.lang.js_characters}.";
|
|
} else {
|
|
message = "";
|
|
}
|
|
alert(message + "\\n{ibf.lang.js_used} " + MessageLength + " {ibf.lang.js_characters}.");
|
|
}
|
|
|
|
function ValidateForm(isMsg) {
|
|
MessageLength = document.REPLIER.Post.value.length;
|
|
errors = "";
|
|
|
|
if (isMsg == 1)
|
|
{
|
|
if (document.REPLIER.msg_title.value.length < 2)
|
|
{
|
|
errors = "{ibf.lang.msg_no_title}";
|
|
}
|
|
}
|
|
|
|
if (MessageLength < 2) {
|
|
errors = "{ibf.lang.js_no_message}";
|
|
}
|
|
if (MessageMax !=0) {
|
|
if (MessageLength > MessageMax) {
|
|
errors = "{ibf.lang.js_max_length} " + MessageMax + " {ibf.lang.js_characters}. {ibf.lang.js_current}: " + MessageLength;
|
|
}
|
|
}
|
|
if (errors != "" && Override == "") {
|
|
alert(errors);
|
|
return false;
|
|
} else {
|
|
document.REPLIER.submit.disabled = true;
|
|
return true;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// IBC Code stuff
|
|
var text_enter_url = "{ibf.lang.jscode_text_enter_url}";
|
|
var text_enter_url_name = "{ibf.lang.jscode_text_enter_url_name}";
|
|
var text_enter_image = "{ibf.lang.jscode_text_enter_image}";
|
|
var text_enter_email = "{ibf.lang.jscode_text_enter_email}";
|
|
var text_enter_flash = "{ibf.lang.jscode_text_enter_flash}";
|
|
var text_code = "{ibf.lang.jscode_text_code}";
|
|
var text_quote = "{ibf.lang.jscode_text_quote}";
|
|
var error_no_url = "{ibf.lang.jscode_error_no_url}";
|
|
var error_no_title = "{ibf.lang.jscode_error_no_title}";
|
|
var error_no_email = "{ibf.lang.jscode_error_no_email}";
|
|
var error_no_width = "{ibf.lang.jscode_error_no_width}";
|
|
var error_no_height = "{ibf.lang.jscode_error_no_height}";
|
|
//-->
|
|
</script>
|
|
<script language='Javascript' src='html/ibfcode.js'></script>
|
|
|
|
<tr>
|
|
<td id="subtitle" colspan="2">{ibf.lang.ib_code_buttons}</td>
|
|
</tr>
|
|
<tr>
|
|
<td id='row1'>{ibf.lang.ibf_code_txt}</td>
|
|
<td id='row1' width="100%" valign="top">
|
|
<table cellpadding='2' cellspacing='2' width='100%' align='center'>
|
|
<tr>
|
|
<td nowrap width='10%'>
|
|
<input type='button' accesskey='b' value=' B ' onClick='simpletag("B")' class='codebuttons' title="BOLD: [Control / Alt] + b" name='bold' style="font-weight:bold">
|
|
<input type='button' accesskey='i' value=' I ' onClick='simpletag("I")' class='codebuttons' title="ITALIC: [Control / Alt] + i" name='italic' style="font-style:italic">
|
|
<input type='button' accesskey='u' value=' U ' onClick='simpletag("U")' class='codebuttons' title="UNDERLINE: [Control / Alt] + u" name='under' style="text-decoration:underline">
|
|
|
|
<select name='ffont' class='codebuttons' onchange="alterfont(this.options[this.selectedIndex].value, 'FONT')">
|
|
<option value='0'>{ibf.lang.ct_font}</option>
|
|
<option value='Arial' style='font-family:Arial'>{ibf.lang.ct_arial}</option>
|
|
<option value='Times' style='font-family:Times'>{ibf.lang.ct_times}</option>
|
|
<option value='Courier' style='font-family:Courier'>{ibf.lang.ct_courier}</option>
|
|
<option value='Impact' style='font-family:Impact'>{ibf.lang.ct_impact}</option>
|
|
<option value='Geneva' style='font-family:Geneva'>{ibf.lang.ct_geneva}</option>
|
|
<option value='Optima' style='font-family:Optima'>Optima</option>
|
|
</select><select name='fsize' class='codebuttons' onchange="alterfont(this.options[this.selectedIndex].value, 'SIZE')">
|
|
<option value='0'>{ibf.lang.ct_size}</option>
|
|
<option value='1'>{ibf.lang.ct_sml}</option>
|
|
<option value='7'>{ibf.lang.ct_lrg}</option>
|
|
<option value='14'>{ibf.lang.ct_lest}</option>
|
|
</select><select name='fcolor' class='codebuttons' onchange="alterfont(this.options[this.selectedIndex].value, 'COLOR')">
|
|
<option value='0'>{ibf.lang.ct_color}</option>
|
|
<option value='blue' style='color:blue'>{ibf.lang.ct_blue}</option>
|
|
<option value='red' style='color:red'>{ibf.lang.ct_red}</option>
|
|
<option value='purple' style='color:purple'>{ibf.lang.ct_purple}</option>
|
|
<option value='orange' style='color:orange'>{ibf.lang.ct_orange}</option>
|
|
<option value='yellow' style='color:yellow'>{ibf.lang.ct_yellow}</option>
|
|
<option value='gray' style='color:gray'>{ibf.lang.ct_grey}</option>
|
|
<option value='green' style='color:green'>{ibf.lang.ct_green}</option>
|
|
</select>
|
|
</td>
|
|
<td align='left'nowrap width='10%'><input type='button' accesskey='c' value=' x ' onClick='closelast()' class='codebuttons' title="Close Current Tag: [Control / Alt] + c" name='bold' style="color:red"> Close Current Tag</td>
|
|
</tr>
|
|
<tr>
|
|
<td align='left'>
|
|
<input type='button' accesskey='h' value=' http:// ' onClick='tag_url()' class='codebuttons' title="HYPERLINK: [Control / Alt] + h" style="text-decoration:underline;color:blue">
|
|
<input type='button' accesskey='g' value=' IMG ' onClick='tag_image()' class='codebuttons' title="IMG: [Control / Alt] + g" >
|
|
<input type='button' accesskey='e' value=' @ ' onClick='tag_email()' class='codebuttons' title="EMAIL: [Control / Alt] + e" style="text-decoration:underline;color:blue">
|
|
<input type='button' accesskey='q' value=' Quote ' onClick='simpletag("QUOTE")' class='codebuttons' title="QUOTE: [Control / Alt] + q" name='quote'>
|
|
<input type='button' accesskey='p' value=' Code ' onClick='simpletag("CODE")' class='codebuttons' title="CODE: [Control / Alt] + p" name='code'>
|
|
<input type='button' accesskey='s' value=' SQL ' onClick='simpletag("SQL")' class='codebuttons' title="SQL: [Control / Alt] + s" name='code'>
|
|
<input type='button' accesskey='t' value=' HTML ' onClick='simpletag("HTML")' class='codebuttons' title="HTML: [Control / Alt] + t" name='code'>
|
|
</td>
|
|
<td align='left'>
|
|
<input type='button' accesskey='x' value=' X ' onClick='closeall()' class='codebuttons' title="Close Current Tag: [Control / Alt] + x" name='bold' style="color:red;font-weight:bold"> Close All Tags
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td id="subtitle" colspan="2">{ibf.lang.post}</td>
|
|
</tr>
|
|
<tr>
|
|
<td id='row1'>(<a href='javascript:CheckLength()'>{ibf.lang.check_length}</a>)<br><br><!--SMILIE TABLE--><img src="{ibf.vars.img_url}/spacer.gif" alt="" width="180" height="1"></td>
|
|
<td id='row1' width="100%" valign="top"><textarea cols='80' rows='15' wrap='soft' name='Post' tabindex='3' class='textinput'>$data</textarea><table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><input type='checkbox' name='enableemo' value='yes' checked></td>
|
|
<td width="100%">{ibf.lang.enable_emo}</td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type='checkbox' name='enablesig' value='yes' checked></td>
|
|
<td width="100%">{ibf.lang.enable_sig}</td>
|
|
</tr>
|
|
</table></td>
|
|
</tr>
|
|
|
|
|
|
<!--|IBF|postbox_buttons|END|-->
|
|
|
|
<!--|IBF|nameField_unreg|START|-->
|
|
|
|
|
|
<tr>
|
|
<td id="subtitle" colspan="2">{ibf.lang.unreg_namestuff}</td>
|
|
</tr>
|
|
<tr>
|
|
<td id="row1">{ibf.lang.guest_name}</td>
|
|
<td id="row1" width="100%"><input type='text' size='40' maxlength='40' name='UserName' value='$data' onMouseOver="this.focus()" onFocus="this.select()"></td>
|
|
</tr>
|
|
|
|
|
|
<!--|IBF|nameField_unreg|END|-->
|
|
|
|
<!--|IBF|poll_box|START|-->
|
|
|
|
|
|
<tr>
|
|
<td id="subtitle" colspan="2">{ibf.lang.tt_poll_settings}</td>
|
|
</tr>
|
|
<tr>
|
|
<td id='row1'>{ibf.lang.poll_choices}</td>
|
|
<td id='row1' width="100%" valign="top"><textarea cols='60' rows='12' wrap='soft' name='PollAnswers' class='textinput'>$data</textarea>
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td><input type='checkbox' size='40' value='1' name='allow_disc' class='forminput'></td>
|
|
<td width="100%">{ibf.lang.poll_only}</td>
|
|
</tr>
|
|
</table></td>
|
|
</tr>
|
|
|
|
|
|
<!--|IBF|poll_box|END|-->
|
|
|