File: /var/www/ilya/data/www/irkboard.ru/cache/cacheid_6/skin_post.php
<?php
/*--------------------------------------------------*/
/* FILE GENERATED BY INVISION POWER BOARD */
/* CACHE FILE: Skin set id: 6 */
/* CACHE FILE: Generated: Sat, 12 Aug 2006 15:09:51 GMT */
/* DO NOT EDIT DIRECTLY - THE CHANGES WILL NOT BE */
/* WRITTEN TO THE DATABASE AUTOMATICALLY */
/*--------------------------------------------------*/
class skin_post_6 {
var $ipsclass;
//===========================================================================
// <ips:add_edit_box:desc:>
//===========================================================================
function add_edit_box($checked="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td colspan='2' align='center' class='bg1'>
<div style='width:100%;' align='center' class='borderwrap'>
<table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
<tr>
<td align="right" width='20%'>
<strong>{$this->ipsclass->lang['edit_ops']}</strong>
</td>
<td align="left" width='80%'>
<input type="checkbox" name="add_edit" value="1" $checked class="forminput" /> {$this->ipsclass->lang['append_edit']}
</td>
</tr>
</table>
</div>
</td>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:EndForm:desc:>
//===========================================================================
function EndForm($data="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td class="formbuttonrow" colspan="2">
<input type="submit" name="dosubmit" value="$data" tabindex="7" class="button" accesskey="s" />
<input type="submit" name="preview" value="{$this->ipsclass->lang['button_preview']}" tabindex="8" class="button" />
</td>
</tr>
</table>
</div>
</form>
<br style="clear: all;" />
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:errors:desc:>
//===========================================================================
function errors($data="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="borderwrap">
<div class="formsubtitle">{$this->ipsclass->lang['errors_found']}</div>
<div class="tablepad"><span class="postcolor">$data</span></div>
</div>
<br />
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:get_box_alreadytrack:desc:>
//===========================================================================
function get_box_alreadytrack() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<br />
{$this->ipsclass->lang['already_sub']}
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:get_box_enableemo:desc:>
//===========================================================================
function get_box_enableemo($checked="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<br />
<input type="checkbox" name="enableemo" class="checkbox" value="yes" $checked /> {$this->ipsclass->lang['enable_emo']}
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:get_box_enablesig:desc:>
//===========================================================================
function get_box_enablesig($checked="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<br />
<input type="checkbox" name="enablesig" class="checkbox" value="yes" $checked /> {$this->ipsclass->lang['enable_sig']}
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:get_box_enabletrack:desc:>
//===========================================================================
function get_box_enabletrack($checked="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<br />
<input type="checkbox" name="enabletrack" class="checkbox" value="1" $checked /> {$this->ipsclass->lang['enable_track']}
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:get_box_html:desc:>
//===========================================================================
function get_box_html($selected="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<select name="post_htmlstatus" class="dropdown">
<option value="0"{$selected[0]}>{$this->ipsclass->lang['pp_nohtml']}</option>
<option value="1"{$selected[1]}>{$this->ipsclass->lang['pp_html1']}</option>
<option value="2"{$selected[2]}>{$this->ipsclass->lang['pp_html2']}</option>
</select>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:inline_edit_quick_box:desc:>
//===========================================================================
function inline_edit_quick_box($post="",$pid=0,$error_msg="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<form style='display:block'>
EOF;
//startif
if ( $error_msg != "" )
{
$IPBHTML .= <<<EOF
<div class='input-warn-content'>{$error_msg}</div>
EOF;
}//endif
$IPBHTML .= <<<EOF
<div align='center' style='width:99%'>
<div>
<textarea style='margin:0px;padding:4px;width:100%' id='post-edit-{$pid}' class='rteiframe' cols='80' rows='15'>{$post}</textarea>
</div>
<div style='float:right'>
<input type='button' class='rtebottombutton' style='color:green' value='{$this->ipsclass->lang['qe_complete_edit']}' onclick='ajax_save_for_edit( $pid ); return false' />
<input type='button' class='rtebottombutton' style='color:red' value='{$this->ipsclass->lang['qe_cancel_edit']}' onclick='ajax_cancel_for_edit( $pid ); return false' />
</div>
<div align='left'>
<input type="button" value=" + " onclick='ajax_std_window_resize( 100 ,{$pid} );' id="rtesizeplus" class="rtebottombutton" />
<input type="button" value=" - " onclick='ajax_std_window_resize( -100,{$pid} );' id="rtesizeminus" class="rtebottombutton" />
</div>
</div>
</form>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:mod_options:desc:>
//===========================================================================
function mod_options($jump="",$can_set_open_time="",$can_set_close_time="",$mytimes=array()) {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<!--start-->
EOF;
//startif
if ( $jump != "" )
{
$IPBHTML .= <<<EOF
<tr>
<td colspan='2' align='center' class='bg1'>
<div style='width:100%;' align='center' class='borderwrap'>
<table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
<tr>
<td align="right" width='20%'>
<strong>{$this->ipsclass->lang['mod_options']}</strong>
</td>
<td align="left" width='80%'>
{$jump}</select>
</td>
</tr>
</table>
</div>
</td>
</tr>
EOF;
}//endif
$IPBHTML .= <<<EOF
<!--middle-->
EOF;
//startif
if ( $can_set_open_time == 1 )
{
$IPBHTML .= <<<EOF
<tr>
<td colspan='2' align='center' class='bg1'>
<div style='width:100%;' align='center' class='borderwrap'>
<table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
<tr>
<td align="right" width='20%'>
<strong>{$this->ipsclass->lang['mod_open_time']}</strong>
<br /><span class='desc'>{$this->ipsclass->lang['post_optional']}</span>
</td>
<td align="left" width='80%'>
<span class='desc'>{$this->ipsclass->lang['mod_date_format']}</span> <input type='input' size='11' name='open_time_date' value='{$mytimes['open_date']}' /> <span class='desc'>{$this->ipsclass->lang['mod_time_format']}</span> <input type='input' size='5' name='open_time_time' value='{$mytimes['open_time']}' />
</td>
</tr>
</table>
</div>
</td>
</tr>
EOF;
}//endif
//startif
if ( $can_set_close_time == 1 )
{
$IPBHTML .= <<<EOF
<tr>
<td colspan='2' align='center' class='bg1'>
<div style='width:100%;' align='center' class='borderwrap'>
<table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
<tr>
<td align="right" width='20%'>
<strong>{$this->ipsclass->lang['mod_close_time']}</strong>
<br /><span class='desc'>{$this->ipsclass->lang['post_optional']}</span>
</td>
<td align="left" width='80%'>
<span class='desc'>{$this->ipsclass->lang['mod_date_format']}</span> <input type='input' size='11' name='close_time_date' value='{$mytimes['close_date']}' /> <span class='desc'>{$this->ipsclass->lang['mod_time_format']}</span> <input type='input' size='5' name='close_time_time' value='{$mytimes['close_time']}' /></span>
</td>
</tr>
</table>
</div>
</td>
</tr>
EOF;
}//endif
$IPBHTML .= <<<EOF
<!--end-->
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:nameField_reg:desc:>
//===========================================================================
function nameField_reg() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<!-- REG NAME -->
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:nameField_unreg:desc:>
//===========================================================================
function nameField_unreg($data="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td colspan='2' align='center' class='bg1'>
<div style='width:100%;' align='center' class='borderwrap'>
<table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
<tr>
<td align="right" width='20%'>
<strong>{$this->ipsclass->lang['guest_name']}</strong>
</td>
<td align="left" width='80%'>
<input type="text" size="50" maxlength="40" name="UserName" value="$data" class="textinput" />
</td>
</tr>
</table>
</div>
</td>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:poll_box:desc:>
//===========================================================================
function poll_box($max_poll_questions="",$max_poll_choices="",$poll_questions="",$poll_choices="",$poll_votes="",$show_open="",$poll_question="",$is_mod=0) {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td colspan='2' align='left' class='bg1'>
<script type="text/javascript" src="jscripts/ipb_poll.js"></script>
<script type="text/javascript">
var showfullonload = parseInt("{$show_open}");
var is_mod = parseInt("{$is_mod}");
// Questions
var poll_questions =
{
{$poll_questions}
};
var poll_choices =
{
{$poll_choices}
};
var poll_votes =
{
{$poll_votes}
};
// Setting elements
var max_poll_questions = parseInt("{$max_poll_questions}");
var max_poll_choices = parseInt("{$max_poll_choices}");
// HTML elements
var html_add_question = "[<a href='#' title='{$this->ipsclass->lang['poll_tt_add_question']}' style='color:green;font-weight:bold' onclick='return poll_add_question()'>{$this->ipsclass->lang['poll_tt_add_question']}</a>]";
var html_add_choice = "<li> [<a href='#' title='{$this->ipsclass->lang['poll_tt_add_choice']}' style='color:green;font-weight:bold' onclick='return poll_add_choice("+'"'+'<%1>'+'"'+")'>{$this->ipsclass->lang['poll_tt_add_choice']}</a>]</li>";
var html_question_box = "<input type='text' id='question_<%1>' name='question[<%1>]' size='50' class='input' value='<%2>' /> [<a href='#' title='{$this->ipsclass->lang['poll_tt_remove_question']}' style='color:red;font-weight:bold' onclick='return poll_remove_question("+'"'+'<%1>'+'"'+")'>X</a>]";
var html_votes_box = " <input type='text' id='votes_<%1>_<%2>' name='votes[<%1>_<%2>]' size='5' class='input' value='<%3>' />";
var html_choice_box = "<li><input type='text' id='choice_<%1>_<%2>' name='choice[<%1>_<%2>]' size='35' class='input' value='<%3>' /><%4> [<a href='#' title='{$this->ipsclass->lang['poll_tt_remove_choice']}' style='color:red;font-weight:bold' onclick='return poll_remove_choice("+'"'+'<%1>_<%2>'+'"'+")'>X</a>]</li>";
var html_choice_wrap = "<ol><%1></ol>";
var html_question_wrap = "<div><%1></div>";
var html_stat_wrap = "<br /><div><%1></div>";
// Lang elements
var js_lang_confirm = "{$this->ipsclass->lang['poll_tt_confirm']}";
var poll_stat_lang = "{$this->ipsclass->lang['poll_tt_stat_lang']}";
</script>
<!--CLOSED DIV-->
<div align='center' id='poll-box-closed' style='display:none' class='borderwrap'>
<table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
<tr>
<td align="right" valign='top' width='20%'>
<strong>{$this->ipsclass->lang['poll_fs_options']}</strong>
</td>
<td valign="top">
<a href='#' onclick='show_poll_form(); return false;'>{$this->ipsclass->lang['poll_manage_link']}</a>
</td>
</tr>
</table>
</div>
<!--/CLOSED DIV-->
<!--OPEN DIV-->
<div align='center' id='poll-box-open' style='display:none' class='borderwrap'>
<table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
<tr>
<td align="right" valign='top' width='20%'>
<strong>{$this->ipsclass->lang['poll_fs_options']}</strong>
</td>
<td align='left' valign="top">
<fieldset>
<legend><strong>{$this->ipsclass->lang['poll_fs_title']}</strong></legend>
<input type='text' size='40' class='input' name='poll_question' value='{$poll_question}' />
</fieldset>
<!-- MAIN POLL AREA -->
<fieldset>
<legend><strong>{$this->ipsclass->lang['poll_fs_content']}</strong></legend>
<div id='poll-box-main'>
</div>
</fieldset>
<!-- MAIN POLL AREA -->
<br />
<a href='#' onclick='close_poll_form(); return false;'>{$this->ipsclass->lang['poll_fs_close']}</a>
<div id='poll-box-stat'></div>
</td>
</tr>
</table>
</div>
<!--/OPEN DIV-->
<!-- INIT DIVS -->
<script type="text/javascript">
poll_init_state();
</script>
<!--/ INIT DIVS -->
</td>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:poll_end_form:desc:>
//===========================================================================
function poll_end_form($data="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td class="formbuttonrow" colspan="2"><input type="submit" name="submit" value="$data" tabindex="4" class="button" accesskey="s" /> </td>
</tr>
</table>
</form>
<br style="clear: all;" />
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:poll_options:desc:>
//===========================================================================
function poll_options() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<br />
<input type="checkbox" size="40" value="1" name="allow_disc" class="forminput" /> {$this->ipsclass->lang['poll_only']}
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:postbox_wrap:desc:>
//===========================================================================
function postbox_wrap($editor_html="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td colspan='2' align='center' class='bg1'>
<div align='center' class='borderwrap'>
<table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
<tr>
<td align="right" valign='top' width='20%'>
<!--SMILIE TABLE-->
</td>
<td align='left' valign="top">
{$editor_html}
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td colspan='2' align='center' class='bg1'>
<div style='width:100%;' align='center' class='borderwrap'>
<table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
<tr>
<td align="right" valign='top' width='20%'>
<strong>{$this->ipsclass->lang['po_options']}</strong>
</td>
<td align="left" width='80%'>
<!--IBF.HTML-->
<!--IBF.EMO-->
<!--IBF.SIG-->
<!--IBF.TRACK-->
</td>
</tr>
</table>
</div>
</td>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:PostIcons:desc:>
//===========================================================================
function PostIcons() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td colspan='2' align='center' class='bg1'>
<div style='width:100%;' align='center' class='borderwrap'>
<table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
<tr>
<td align="right" valign='top' width='20%'>
<strong>{$this->ipsclass->lang['post_icon']}</strong>
<br /><span class='desc'>{$this->ipsclass->lang['post_optional']}</span>
</td>
<td align="left" width='80%'>
<input type="radio" class="radiobutton" name="iconid" value="1" /> <img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon1.gif" align='middle' alt='' /> <input type="radio" class="radiobutton" name="iconid" value="2" /> <img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon2.gif" align='middle' alt='' /> <input type="radio" class="radiobutton" name="iconid" value="3" /> <img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon3.gif" align='middle' alt='' /> <input type="radio" class="radiobutton" name="iconid" value="4" /> <img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon4.gif" align='middle' alt='' /> <input type="radio" class="radiobutton" name="iconid" value="5" /> <img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon5.gif" align='middle' alt='' /> <input type="radio" class="radiobutton" name="iconid" value="6" /> <img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon6.gif" align='middle' alt='' /> <input type="radio" class="radiobutton" name="iconid" value="7" /> <img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon7.gif" align='middle' alt='' /><br />
<input type="radio" class="radiobutton" name="iconid" value="8" /> <img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon8.gif" align='middle' alt='' /> <input type="radio" class="radiobutton" name="iconid" value="9" /> <img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon9.gif" align='middle' alt='' /> <input type="radio" class="radiobutton" name="iconid" value="10" /> <img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon10.gif" align='middle' alt='' /> <input type="radio" class="radiobutton" name="iconid" value="11" /> <img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon11.gif" align='middle' alt='' /> <input type="radio" class="radiobutton" name="iconid" value="12" /> <img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon12.gif" align='middle' alt='' /> <input type="radio" class="radiobutton" name="iconid" value="13" /> <img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon13.gif" align='middle' alt='' /> <input type="radio" class="radiobutton" name="iconid" value="14" /> <img src="{$this->ipsclass->vars['img_url']}/folder_post_icons/icon14.gif" align='middle' alt='' /><br />
<input type="radio" class="radiobutton" name="iconid" value="0" checked="checked" /> {$this->ipsclass->lang['picons_none']}
</td>
</tr>
</table>
</div>
</td>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:preview:desc:>
//===========================================================================
function preview($data="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="borderwrap">
<div class="formsubtitle">{$this->ipsclass->lang['post_preview']}</div>
<div class="row1">
<div class="postcolor" style='padding:4px;'>$data</div>
</div>
</div>
<br />
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:smilie_table:desc:>
//===========================================================================
function smilie_table() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div id='smiliestable' style='width:150px;text-align:center'>
<div class='rtebuttonbar1' align='center'><b>{$this->ipsclass->lang['click_smilie']}</b></div>
<div class='rteiframe' style='overflow:auto;width:148px;'>
<table cellspacing="0" cellpadding='0' align='center'>
<!--THE SMILIES-->
<tr>
<td align="center" colspan="{$this->ipsclass->vars['emo_per_row']}"><b><a href="javascript:emo_pop()">{$this->ipsclass->lang['all_emoticons']}</a></b><br /><b><a href="javascript:bbc_pop()">{$this->ipsclass->lang['bbc_help']}</a></b></td>
</tr>
</table>
</div>
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:table_structure:desc:>
//===========================================================================
function table_structure() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<!--FORUM RULES--><br />
<!--START TABLE-->
<!--NAME FIELDS-->
<!--TOPIC TITLE-->
<!--POLL BOX-->
<!--POST BOX-->
<!--UPLOAD FIELD-->
<!--MOD OPTIONS-->
<!--POST ICONS-->
<!--END TABLE-->
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:table_top:desc:>
//===========================================================================
function table_top($data="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="borderwrap">
<table cellspacing="0" class='ipbtable'>
<tr>
<td class="maintitle" colspan="2"> $data</td>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:TopicSummary_body:desc:>
//===========================================================================
function TopicSummary_body($data="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td class="row2" valign="top" width="20%"><b>{$data['author']}</b></td>
<td class="row2" valign="top" width="80%">{$this->ipsclass->lang['posted_on']} {$data['date']}</td>
</tr>
<tr>
<td class="row1" valign="top" width="20%"> </td>
<td class="row1" valign="top" width="80%"><span class="postcolor">{$data['post']}</span></td>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:topicsummary_body_hidden:desc:>
//===========================================================================
function topicsummary_body_hidden($data=array()) {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td class="row2" valign="top" width="20%"><b>{$data['author']}</b></td>
<td class="row2" valign="top" width="80%">{$this->ipsclass->lang['posted_on']} {$data['date']}</td>
</tr>
<tr>
<td class="row1" valign="top" width="20%"> </td>
<td class="row1" valign="top" width="80%"><span class="postcolor">{$this->ipsclass->lang['ignore_first_line']} {$data['members_display_name']}.</span></td>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:TopicSummary_bottom:desc:>
//===========================================================================
function TopicSummary_bottom() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td class="formbuttonrow" colspan="2"><a href="javascript:PopUp('index.{$this->ipsclass->vars['php_ext']}?act=ST&f={$this->ipsclass->input['f']}&t={$this->ipsclass->input['t']}','TopicSummary',700,450,1,1)">{$this->ipsclass->lang['review_topic']}</a></td>
</tr>
<tr>
<td class="catend" colspan="2"><!-- no content --></td>
</tr>
</table>
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:TopicSummary_top:desc:>
//===========================================================================
function TopicSummary_top() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<br />
<div class="borderwrap">
<div class="maintitle">{$this->ipsclass->lang['last_posts']}</div>
<table class='ipbtable' cellspacing="1">
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:topictitle_fields:desc:>
//===========================================================================
function topictitle_fields($data="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td colspan='2' align='center' class='bg1'>
<div style='width:100%;' align='center' class='borderwrap'>
<table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
<tr>
<td align="right" width='20%'>
<strong>{$this->ipsclass->lang['topic_title']}</strong>
</td>
<td align="left" width='80%'>
<input type="text" size="50" maxlength="{$this->ipsclass->vars['topic_title_max_len']}" name="TopicTitle" value="{$data[TITLE]}" tabindex="1" class="forminput" />
</td>
</tr>
<tr>
<td align="right" width='20%'>
<strong>{$this->ipsclass->lang['topic_desc']}</strong>
</td>
<td align="left" width='80%'>
<input type="text" size="50" maxlength="{$this->ipsclass->vars['topic_title_max_len']}" name="TopicDesc" value="{$data[DESC]}" tabindex="2" class="forminput" />
<span class='desc'>{$this->ipsclass->lang['post_optional']}</span>
</td>
</tr>
</table>
</div>
</td>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:Upload_field:desc:>
//===========================================================================
function Upload_field($data="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td colspan='2' align='center' class='bg1'>
<div style='width:100%;' align='center' class='borderwrap'>
<table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
<tr>
<td align="right" valign='top' width='20%'>
{$this->ipsclass->lang['upload_text']} $data
</td>
<td align="left" width='80%'>
<input class="forminput" type="file" size="30" name="FILE_UPLOAD" /> <input type="submit" onclick="Override=1;" name="attachgo" value="{$this->ipsclass->lang['button_add_attachment']}" class="button" /><!--IBF.UPLOADED_ITEMS-->
</td>
</tr>
</table>
</div>
</td>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:uploadbox_entry:desc:>
//===========================================================================
function uploadbox_entry($attach="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td width="1%"><img src="{$this->ipsclass->vars['mime_img']}/{$attach['image']}" alt="" /></td>
<td width="35%"><b>{$attach['attach_file']}</b></td>
<td width="20%">({$attach['size']})</td>
<td width="10%"><input type="submit" name="removeattach_{$attach['attach_id']}" class="codebuttons" onclick="removeattach({$attach['attach_id']})" value="{$this->ipsclass->lang['attach_remove']}" /></a>
<td width="10%"><input type="button" name="id{$attach['attach_id']}" class="codebuttons" onclick="insert_attach_to_textarea({$attach['attach_id']})" value="{$this->ipsclass->lang['attach_button']}" title="{$this->ipsclass->lang['attach_button_title']}" /></a>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:uploadbox_tableend:desc:>
//===========================================================================
function uploadbox_tableend($spaceleft="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
</tr>
</table>
<i>$spaceleft</i>
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:uploadbox_tabletop:desc:>
//===========================================================================
function uploadbox_tabletop() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<br />
<div class='borderwrap' style='padding:4px;width:70%;margin-left:4px'>
<table class='ipbtable' cellspacing="0">
EOF;
//--endhtml--//
return $IPBHTML;
}
}
/*--------------------------------------------------*/
/*<changed bits>
</changed bits>*/
/* END OF FILE */
/*--------------------------------------------------*/
?>