Version 1.0.1
No files matched your search
@@ -0,0 +1,664 @@
|
||||
<?php
|
||||
|
||||
class ModCPView {
|
||||
|
||||
|
||||
|
||||
function topic_none() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' colspan='2'><i>{$ibforums->lang['q_t_n']}</i></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function endcp() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function post_none() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' colspan='2'><i>{$ibforums->lang['q_p_n']}</i></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function end_forum_splash() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function post_form_header($count) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['TITLEBACK']}' id='titlemedium' colspan='2'>{$ibforums->lang['q_posts']} $count</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function prune_form_header() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['TITLEBACK']}' id='titlemedium' colspan='2'>{$ibforums->lang['search_prune']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' colspan='2'>
|
||||
<i>{$ibforums->lang['define_search']}</i>
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post" name='theForm'>
|
||||
<input type='hidden' name='act' value='ModCP'>
|
||||
<input type='hidden' name='CODE' value='process_prune'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='f' value='$iB::IN{'f'}'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>{$ibforums->lang['s_prune_cutoff']}</td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><input type='text' name='DAYS' size='5' maxlength='10' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>{$ibforums->lang['s_prune_perpage']}</td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><input type='text' name='PAGE' size='5' maxlength='10' value='20' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_TWO']}' colspan='2' align='center'><input type='button' class='forminput' value='{$ibforums->lang['prune_forum']}' onClick='check_prune();'></form></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_post_results($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>
|
||||
<b>{$ibforums->lang['a_topic_results']}</b><hr noshade size=1 color='{$ibforums->skin['TABLE_BORDER_COL']}'>
|
||||
{$ibforums->lang['a_topic_deleted']} {$data[DELETED]}<br><br>
|
||||
{$ibforums->lang['a_topic_approved']} {$data[APPROVED]}<br><br>
|
||||
{$ibforums->lang['a_topic_left']} {$data[LEFT]}<br><br>
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function topic_header($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td><b>{$ibforums->lang['f_moderate']} {$data[FORUM_NAME]}</b><br>{$ibforums->lang['f_moderate_t']}
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post" name='theForm'>
|
||||
<input type='hidden' name='act' value='ModCP'>
|
||||
<input type='hidden' name='CODE' value='{$data[search_type]}'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='f' value='$iB::IN{'f'}'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellspacing='1' cellpadding='0' border='0' width='95%' align='center' bgcolor='{$ibforums->skin['TABLE_BORDER_COL']}'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellspacing='1' cellpadding='4' border='0' width='100%' align='center'>
|
||||
<tr>
|
||||
<td width='15%' bgcolor='{$ibforums->skin['TITLEBACK']}' id='titlemedium'>{$ibforums->lang['tt_action']}</td>
|
||||
<td width='45%' bgcolor='{$ibforums->skin['TITLEBACK']}' id='titlemedium'>{$ibforums->lang['st_topic']}</td>
|
||||
<td width='5%' bgcolor='{$ibforums->skin['TITLEBACK']}' id='titlemedium'>{$ibforums->lang['st_posts']}</td>
|
||||
<td width='35%' bgcolor='{$ibforums->skin['TITLEBACK']}' id='titlemedium'>{$ibforums->lang['st_last']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function open_form_header() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['TITLEBACK']}' id='titlemedium' colspan='2'>{$ibforums->lang['search_openclose']} $count</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' colspan='2'>
|
||||
<i>{$ibforums->lang['define_search']}</i>
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post" name='theForm'>
|
||||
<input type='hidden' name='act' value='ModCP'>
|
||||
<input type='hidden' name='CODE' value='process_open'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='f' value='$iB::IN{'f'}'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>{$ibforums->lang['s_topics_cutoff']}</td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><input type='text' name='DAYS' size='5' maxlength='10' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>{$ibforums->lang['s_sort']}</td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><select name='ORDER' class='forminput'><option value='asc'>{$ibforums->lang['s_topics_asc']}</option><option value='desc' selected>{$ibforums->lang['s_topics_desc']}</option></select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>{$ibforums->lang['s_limit']}</td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><input type='text' name='LIMIT' size='5' maxlength='10' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_TWO']}' colspan='2' align='center'><input type='submit' class='forminput' value='{$ibforums->lang['submit_topics']}'></form></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function render_topic_post($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' valign='middle'><input type='hidden' name='POST_{$data[POST]}->{'ID'}' value='{$data[POST]}->{'POST_ID'}'><input type='hidden' name='TOPIC_{$data[POST]}->{'ID'}' value='{$data[TOPIC]}->{'TOPIC_ID'}'><select name='CHOICE_{$data[POST]}->{'ID'}' class='forminput'><option value='APPROVE' selected>{$ibforums->lang['c_approve']}</option>{$data[TOPIC]}->{'DELETE'}<option value='LEAVE' selected>{$ibforums->lang['c_leave']}</option></select></td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' valign='top'>
|
||||
<table cellspacing='1' cellpadding='4' border='0' width='100%' align='center'>
|
||||
<tr>
|
||||
<td valign='top' width='15%'>{$data[POST]}->{'MEMBER_NAME'}</td>
|
||||
<td valign='top' width='85%'><b>{$ibforums->lang['ss_posted_on']}</b> {$data[POST]}->{'POST_DATE'}<hr noshade size=1 color='{$ibforums->skin['TABLE_BORDER_COL']}'>{$data[POST]}->{'POST'} ( <a href="javascript:PopUp('{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=ModCP&f=$iB::IN{'f'}&CODE=readpost&ID={$data[POST]}->{'ID'}','ViewPost','400','200','0','1','1','1')">{$ibforums->lang['ss_read_more']}</a> )</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function online_menu() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_TWO']}' id='controlpanel'>{$ibforums->lang['m_moderate']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=ModCP&f=$iB::IN{'f'}'>{$ibforums->lang['m_approve']}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=ModCP&f=$iB::IN{'f'};CODE=prune'>{$ibforums->lang['m_prune']}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=ModCP&f=$iB::IN{'f'};CODE=delete'>{$ibforums->lang['m_delete']}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=ModCP&f=$iB::IN{'f'};CODE=open'>{$ibforums->lang['m_open']}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=ModCP&f=$iB::IN{'f'};CODE=move'>{$ibforums->lang['m_move']}</a></td>
|
||||
</tr>
|
||||
<!-- To be added later
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_TWO']}' id='controlpanel'>{$ibforums->lang['m_prefs']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=ModCP&f=$iB::IN{'f'}'>{$ibforums->lang['m_email']}</a></td>
|
||||
</tr>
|
||||
-->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_topic_results($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>
|
||||
<b>{$ibforums->lang['a_post_results']}</b><hr noshade size=1 color='{$ibforums->skin['TABLE_BORDER_COL']}'>
|
||||
{$ibforums->lang['a_post_deleted']} {$data[DELETED]}<br><br>
|
||||
{$ibforums->lang['a_post_approved']} {$data[APPROVED]}<br><br>
|
||||
{$ibforums->lang['a_post_left']} {$data[LEFT]}<br><br>
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function main_splash() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td><b>{$ibforums->lang['mod_forum_t']}</b><br>{$ibforums->lang['mod_forum']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellspacing='1' cellpadding='0' border='0' width='95%' align='center' bgcolor='{$ibforums->skin['TABLE_BORDER_COL']}'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellspacing='1' cellpadding='4' border='0' width='100%' align='center'>
|
||||
<tr>
|
||||
<td width='54%' bgcolor='{$ibforums->skin['TITLEBACK']}' id='titlemedium'>{$ibforums->lang['forum_name']}</td>
|
||||
<td width='6%' bgcolor='{$ibforums->skin['TITLEBACK']}' id='titlemedium'>{$ibforums->lang['forum_topics']}</td>
|
||||
<td width='5%' bgcolor='{$ibforums->skin['TITLEBACK']}' id='titlemedium'>{$ibforums->lang['forum_posts']}</td>
|
||||
<td width='35%' bgcolor='{$ibforums->skin['TITLEBACK']}' id='titlemedium'>{$ibforums->lang['last_post']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function move_form_header() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['TITLEBACK']}' id='titlemedium' colspan='2'>{$ibforums->lang['search_move']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' colspan='2'>
|
||||
<i>{$ibforums->lang['define_search']}</i>
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post" name='theForm'>
|
||||
<input type='hidden' name='act' value='ModCP'>
|
||||
<input type='hidden' name='CODE' value='process_move'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='f' value='$iB::IN{'f'}'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>{$ibforums->lang['s_topics_cutoff']}</td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><input type='text' name='DAYS' size='5' maxlength='10' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>{$ibforums->lang['s_sort']}</td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><select name='ORDER' class='forminput'><option value='asc'>{$ibforums->lang['s_topics_asc']}</option><option value='desc' selected>{$ibforums->lang['s_topics_desc']}</option></select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>{$ibforums->lang['s_limit']}</td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><input type='text' name='LIMIT' size='5' maxlength='10' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_TWO']}' colspan='2' align='center'><input type='submit' class='forminput' value='{$ibforums->lang['submit_topics']}'></form></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function delete_form_header() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['TITLEBACK']}' id='titlemedium' colspan='2'>{$ibforums->lang['search_delete']} $count</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' colspan='2'>
|
||||
<i>{$ibforums->lang['define_search']}</i>
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post" name='theForm'>
|
||||
<input type='hidden' name='act' value='ModCP'>
|
||||
<input type='hidden' name='CODE' value='process_delete'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='f' value='$iB::IN{'f'}'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>{$ibforums->lang['s_topics_cutoff']}</td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><input type='text' name='DAYS' size='5' maxlength='10' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>{$ibforums->lang['s_sort']}</td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><select name='ORDER' class='forminput'><option value='asc'>{$ibforums->lang['s_topics_asc']}</option><option value='desc' selected>{$ibforums->lang['s_topics_desc']}</option></select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>{$ibforums->lang['s_limit']}</td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><input type='text' name='LIMIT' size='5' maxlength='10' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_TWO']}' colspan='2' align='center'><input type='submit' class='forminput' value='{$ibforums->lang['submit_topics']}'></form></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function render_cat($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor="{$ibforums->skin['CAT_BACK']}" id='category' colspan='4'>{$data[CAT_NAME]}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function topic_footer() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_TWO']}' colspan='4' align='center'><input type='submit' value='{$ibforums->lang['process_records']}' class='forminput'></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_move_results($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>
|
||||
<b>{$ibforums->lang['a_topic_results']}</b><hr noshade size=1 color='{$ibforums->skin['TABLE_BORDER_COL']}'>
|
||||
{$ibforums->lang['a_topic_d_left']} {$data[leave]}<br><br>
|
||||
{$ibforums->lang['a_topic_moved']} {$data[move]}<br><br>
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function search_header($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td><b>{$ibforums->lang['f_moderate']} {$data[FORUM_NAME]}</b><br>{$ibforums->lang['f_moderate_t']}
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post" name='theForm'>
|
||||
<input type='hidden' name='act' value='ModCP'>
|
||||
<input type='hidden' name='CODE' value='{$data[search_type]}'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='f' value='$iB::IN{'f'}'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellspacing='1' cellpadding='0' border='0' width='95%' align='center' bgcolor='{$ibforums->skin['TABLE_BORDER_COL']}'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellspacing='1' cellpadding='4' border='0' width='100%' align='center'>
|
||||
<tr>
|
||||
<td width='15%' bgcolor='{$ibforums->skin['TITLEBACK']}' id='titlemedium'>{$ibforums->lang['tt_action']}</td>
|
||||
<td width='85%' bgcolor='{$ibforums->skin['TITLEBACK']}' id='titlemedium'>{$ibforums->lang['tt_details']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function move_ops($html, $forum_name) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td><table cellspacing='0' cellpadding='4' border='0' width='100%' align='center'>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>{$ibforums->lang['move_topics_from']} <b>$forum_name</b> {$ibforums->lang['to']}:
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post" name='theForm'>
|
||||
<input type='hidden' name='act' value='ModCP'>
|
||||
<input type='hidden' name='CODE' value='do_move'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='f' value='$iB::IN{'f'}'>
|
||||
</td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>$html</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><b>{$ibforums->lang['delete_old']}</b></td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>
|
||||
<select name='leave' class='forminput'>
|
||||
<option value='leave_full' selected>{$ibforums->lang['leave_locked']}
|
||||
<option value='leave_empty'>{$ibforums->lang['leave_empty']}
|
||||
<option value='delete'>{$ibforums->lang['dont_leave']}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function read_post($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellspacing='1' cellpadding='0' border='0' width='100%' align='center' bgcolor='{$ibforums->skin['TABLE_BORDER_COL']}'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellspacing='1' cellpadding='4' border='0' width='100%' align='center'>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>{$data[POST]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function forum_splash($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td><b>{$ibforums->lang['f_moderate']} {$data[FORUM_NAME]}</b><br>{$ibforums->lang['f_moderate_t']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellspacing='1' cellpadding='0' border='0' width='95%' align='center' bgcolor='{$ibforums->skin['TABLE_BORDER_COL']}'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellspacing='1' cellpadding='4' border='0' width='100%' align='center'>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_open_results($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>
|
||||
<b>{$ibforums->lang['a_topic_results']}</b><hr noshade size=1 color='{$ibforums->skin['TABLE_BORDER_COL']}'>
|
||||
{$ibforums->lang['a_topic_open']} {$data[open]}<br><br>
|
||||
{$ibforums->lang['a_topic_close']} {$data[closed]}<br><br>
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function render_topic_title($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_TWO']}' colspan='2'>{$ibforums->lang['ss_topic_title']} <b>{$data[TOPIC_TITLE]}</b></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function render_forum($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor="{$ibforums->skin['FORUM_COL_TWO']}"><span id="linkthru"><b><a href="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=ModCP&f={$data[FORUM_ID]}">{$data[FORUM_NAME]}</a></b></span><br>{$ibforums->lang['topic_to_mod']} <b>{$data[TOPICS_NOT_APPROVED]}</b></td>
|
||||
<td bgcolor="{$ibforums->skin['FORUM_COL_ONE']}" align='center' valign='middle'>{$data[FORUM_TOPICS]}</td>
|
||||
<td bgcolor="{$ibforums->skin['FORUM_COL_ONE']}" align='center' valign='middle' id='highlight'>{$data[FORUM_POSTS]}</td>
|
||||
<td bgcolor="{$ibforums->skin['FORUM_COL_ONE']}" align="left" valign='middle'><span id='highlight'>{$data[FORUM_LAST_POST]}</span>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function render_newtopic($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_TWO']}' colspan='2'>{$ibforums->lang['ss_topic_title']} <b>{$data[TOPIC]}->{'TOPIC_TITLE'}</b></td>
|
||||
</tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' valign='middle'><input type='hidden' name='R_POST_{$data[TOPIC]}->{'TOPIC_ID'}' value='{$data[POST]}->{'POST_ID'}'><input type='hidden' name='POST_{$data[TOPIC]}->{'TOPIC_ID'}' value='{$data[POST]}->{'ID'}'><select name='CHOICE_{$data[TOPIC]}->{'TOPIC_ID'}' class='forminput'><option value='APPROVE' selected>{$ibforums->lang['c_approve']}</option>{$data[TOPIC]}->{'DELETE'}<option value='LEAVE' selected>{$ibforums->lang['c_leave']}</option></select></td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' valign='top'>
|
||||
<table cellspacing='1' cellpadding='4' border='0' width='100%' align='center'>
|
||||
<tr>
|
||||
<td valign='top' width='15%'><a href="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Profile&CODE=03&MID={$data[TOPIC]}->{'TOPIC_STARTER'}" target='_blank'><b>{$data[TOPIC]}->{'TOPIC_STARTER_N'}</b></a></td>
|
||||
<td valign='top' width='85%'><b>{$ibforums->lang['ss_posted_on']}</b> {$data[TOPIC]}->{'TOPIC_START_DATE'}<hr noshade size=1 color='{$ibforums->skin['TABLE_BORDER_COL']}'>{$data[POST]}->{'POST'} ( <a href="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Profile&CODE=03&MID={$data[TOPIC]}->{'{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=ModCP&f=$iB::IN{'f'}&CODE=readpost&ID={$data[POST]}->{'ID'}','ViewPost','400','200','0','1','1','1')">{$ibforums->lang['ss_read_more']}</a> )</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function topic_form() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' colspan='2'>
|
||||
<i>{$ibforums->lang['define_search']}</i>
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post" name='theForm'>
|
||||
<input type='hidden' name='act' value='ModCP'>
|
||||
<input type='hidden' name='CODE' value='topic_search'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='f' value='$iB::IN{'f'}'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>{$ibforums->lang['s_topics_cutoff']}</td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><input type='text' name='DAYS' size='5' maxlength='10' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>{$ibforums->lang['s_sort']}</td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><select name='ORDER' class='forminput'><option value='asc'>{$ibforums->lang['s_topics_asc']}</option><option value='desc' selected>{$ibforums->lang['s_topics_desc']}</option></select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>{$ibforums->lang['s_limit']}</td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><input type='text' name='LIMIT' size='5' maxlength='10' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_TWO']}' colspan='2' align='center'><input type='submit' name='TOPICS' class='forminput' value='{$ibforums->lang['submit_topics']}'></form></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function render_opentopic($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' valign='middle'>{$data[SELECT]}</td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><span id="linkthru"><a href="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=ST&f={$data[FORUM_ID]}&t={$data[TOPIC_ID]}" target='_blank'>{$data[TOPIC_TITLE]}</a></span><br>{$data[TOPIC_DESC]}</td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' align='center' valign='middle'>{$data[TOPIC_POSTS]}</td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><span id='highlight'>{$data[TOPIC_LAST_DATE]}</span><br>{$ibforums->lang['st_by']} {$data[LAST_POSTER]}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function post_form() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' colspan='2'>
|
||||
<i>{$ibforums->lang['define_search']}</i>
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post" name='theForm'>
|
||||
<input type='hidden' name='act' value='ModCP'>
|
||||
<input type='hidden' name='CODE' value='post_search'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='f' value='$iB::IN{'f'}'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>{$ibforums->lang['s_posts_cutoff']}</td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><input type='text' name='DAYS' size='5' maxlength='10' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>{$ibforums->lang['s_sort']}</td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><select name='ORDER' class='forminput'><option value='asc'>{$ibforums->lang['s_topics_asc']}</option><option value='desc' selected>{$ibforums->lang['s_topics_desc']}</option></select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>{$ibforums->lang['s_limit']}</td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><input type='text' name='LIMIT' size='5' maxlength='10' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_TWO']}' colspan='2' align='center'><input type='submit' name='POSTS' value='{$ibforums->lang['submit_posts']}' class='forminput'></form></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function startcp() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script langauge="javascript">
|
||||
<!--
|
||||
function check_prune() {
|
||||
var message = "{$ibforums->lang['prune_confirm']} "+document.theForm.DAYS.value+"\\n{$ibforums->lang['prune_confirm_b']}";
|
||||
if ( confirm( message ) ) {
|
||||
document.theForm.submit();
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
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 cellpadding='0' cellspacing='1' border='0' width='{$ibforums->skin['TABLE_WIDTH']}' bgcolor='{$ibforums->skin['TABLE_BORDER_COL']}' align='center'>
|
||||
<tr>
|
||||
<td width='20%' bgcolor='{$ibforums->skin['MISCBACK_ONE']}' valign='top'>
|
||||
<table cellspacing='0' cellpadding='4' border='0' width='100%' align='center'>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['TITLEBACK']}' valign='left' id='titlelarge'>{$ibforums->lang['menu']}</td>
|
||||
</tr>
|
||||
<!--menu goes here-->
|
||||
</table>
|
||||
</td>
|
||||
<td width='80%' bgcolor='{$ibforums->skin['MISCBACK_ONE']}' valign='top'>
|
||||
<table cellspacing='0' cellpadding='4' border='0' width='100%' align='center'>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['TITLEBACK']}' valign='left' id='titlelarge'>{$ibforums->lang['display']}</td>
|
||||
</tr>
|
||||
<!--main content-->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_delete_results($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'>
|
||||
<b>{$ibforums->lang['a_topic_results']}</b><hr noshade size=1 color='{$ibforums->skin['TABLE_BORDER_COL']}'>
|
||||
{$ibforums->lang['a_topic_d_delete']} {$data[delete]}<br><br>
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function search_footer() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_TWO']}' colspan='2' align='center'><input type='submit' value='{$ibforums->lang['process_records']}' class='forminput'></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function topic_form_header($count) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['TITLEBACK']}' id='titlemedium' colspan='2'>{$ibforums->lang['q_topics']} $count</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function offline_menu() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><b>{$ibforums->lang['menu_off']}</b></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function end_main_splash() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,101 @@
|
||||
<?php
|
||||
|
||||
class ReportView {
|
||||
|
||||
|
||||
|
||||
function body() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr><!--test-->
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' valign='top'>{$ibforums->lang['message']}<br><br><span style='font-size:12px;color:red;font-weight:bold'>{$ibforums->lang['warn']}</span></td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}'><textarea cols='60' rows='12' wrap='soft' name='Post' tabindex='3' class='textinput'></textarea></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function foot() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_TWO']}' align='center' colspan='2'>
|
||||
<input type="submit" value="{$ibforums->lang['send']}" class='forminput'>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function header($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}" method="post" name='REPLIER'>
|
||||
<input type='hidden' name='act' value='Report'>
|
||||
<input type='hidden' name='SEND' value='1'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='f' value='$iB::IN{'f'}'>
|
||||
<input type='hidden' name='t' value='$iB::IN{'t'}'>
|
||||
<input type='hidden' name='p' value='$iB::IN{'p'}'>
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='{$ibforums->skin['TABLE_WIDTH']}' bgcolor='{$ibforums->skin['TABLE_BORDER_COL']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['TITLEBACK']}' align='left' colspan='2' id='titlemedium'>{$ibforums->lang['title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' align='left' width='20%' valign='top'><b>{$ibforums->lang['in_forum']}</b></td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' width='80%'><b>{$data[FORUM]}->{'FORUM_NAME'}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' align='left' width='20%' valign='top'><b>{$ibforums->lang['in_topic']}</b></td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' width='80%'><b>{$data[TOPIC]}->{'TOPIC_TITLE'}</b></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function sent_screen($member_name) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='{$ibforums->skin['TABLE_WIDTH']}' bgcolor='{$ibforums->skin['TABLE_BORDER_COL']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['TITLEBACK']}' colspan='2' id='titlelarge'><b>{$ibforums->lang['email_sent']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' colspan='2' id='usermenu'><img src='{$ibforums->vars['html_url']}/images/cp_redtri.gif' border='0' height='15' width='15' align='middle' alt=''> <b>{$ibforums->lang['email_sent']}</b></td>
|
||||
</tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' valign='middle'><img src='{$ibforums->vars['html_url']}/images/msg_sent.gif' border='0' height='32' width='32' alt=''></td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' valign='middle'><b>{$ibforums->lang['email_sent_txt']} $member_name</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function guest() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' align='left' width='20%' valign='top'><b>{$ibforums->lang['name']}</b></td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' width='80%'><input type='text' name='name' value='' size='50' maxlength='50' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' align='left' width='20%' valign='top'><b>{$ibforums->lang['email']}</b></td>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_ONE']}' width='80%'><input type='text' name='email' value='' size='50' maxlength='50' class='forminput'></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,201 @@
|
||||
<?php
|
||||
|
||||
class skin_boards {
|
||||
|
||||
|
||||
|
||||
function stats_header() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Board Stats -->
|
||||
<br>
|
||||
<table cellpadding='2' width='{$ibforums->skin['tbl_width']}' align='center' id='solidborder'>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td id='titlemedium' colspan='2'>{$ibforums->lang['board_stats']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function ActiveUsers($active) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id='category' colspan='2'>$active[TOTAL] {$ibforums->lang['active_users']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="5%" id='forum1'>{$ibforums->skin['F_ACTIVE']}</td>
|
||||
<td id='forum2' width='95%'><b>{$active[GUESTS]}</b> {$ibforums->lang['guests']}, <b>$active[MEMBERS]</b> {$ibforums->lang['public_members']} <b>$active[ANON]</b> {$ibforums->lang['anon_members']} {$active[LINK]}<br>{$active[NAMES]}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function ShowStats($text) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id='category' colspan='2'>{$ibforums->lang['board_stats']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='forum1' width='5%' valign='middle'>{$ibforums->skin['F_STATS']}</td>
|
||||
<td id='forum2' width="95%" align='left'>$text<br>{$ibforums->lang['most_online']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function birthdays($birthusers="", $total="", $birth_lang="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id='category' colspan='2'>{$ibforums->lang['birthday_header']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='forum1' width='5%' valign='middle'>{$ibforums->skin['F_ACTIVE']}</td>
|
||||
<td id='forum2' width='95%'><b>$total</b> $birth_lang<br>$birthusers</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function stats_footer() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- Board Stats -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function BoardInformation() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br>
|
||||
<table cellspacing='4' cellpadding='0' width='70%' border='0' align='center'>
|
||||
<tr>
|
||||
<td align='center'>[ <a href="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Login&CODE=06">{$ibforums->lang['d_delete_cookies']}</a> ] :: [ <a href="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Login&CODE=05">{$ibforums->lang['d_post_read']}</a> ]</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function CatHeader_Expanded($Data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table width="{$ibforums->skin['tbl_width']}" align="center" border="0" cellspacing="1" cellpadding="0" bgcolor="{$ibforums->skin['tbl_border']}">
|
||||
<tr>
|
||||
<td id='maintitleback' background='{$ibforums->vars['img_url']}/tile_back.gif'>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="3">
|
||||
<tr>
|
||||
<td>{$ibforums->skin['CAT_IMG']}</td>
|
||||
<td width="100%" id="maintitle"><a href="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&c={$Data['id']}">{$Data['name']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='mainbg'>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
||||
<tr>
|
||||
<td align="center" nowrap id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'><img src="{$ibforums->vars['img_url']}/spacer.gif" alt="" width="28" height="1"></td>
|
||||
<td width="59%" nowrap id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'>{$ibforums->lang['cat_name']}</td>
|
||||
<td align="center" width="7%" nowrap id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'>{$ibforums->lang['topics']}</td>
|
||||
<td align="center" width="7%" nowrap id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'>{$ibforums->lang['replies']}</td>
|
||||
<td width="27%" nowrap id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'>{$ibforums->lang['last_post_info']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function subheader() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table width="{$ibforums->skin['tbl_width']}" align="center" border="0" cellspacing="1" cellpadding="0" bgcolor="{$ibforums->skin['tbl_border']}">
|
||||
<tr>
|
||||
<td id='mainbg'>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
||||
<tr>
|
||||
<td align="center" nowrap id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'><img src="{$ibforums->vars['img_url']}/spacer.gif" alt="" width="28" height="1"></td>
|
||||
<td width="59%" nowrap id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'>{$ibforums->lang['cat_name']}</td>
|
||||
<td align="center" width="7%" nowrap id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'>{$ibforums->lang['topics']}</td>
|
||||
<td align="center" width="7%" nowrap id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'>{$ibforums->lang['replies']}</td>
|
||||
<td width="27%" nowrap id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'>{$ibforums->lang['last_post_info']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function end_this_cat() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id='mainfoot' colspan="5"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function end_all_cats() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!--</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>-->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function newslink( $fid="", $title="", $tid="" ) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<b>{$ibforums->vars['board_name']} {$ibforums->lang['newslink']} <a href='{$ibforums->base_url}&act=ST&f=$fid&t=$tid'>$title</a></b><br>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function PageTop($lastvisit) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='4' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' align='center'>
|
||||
<tr>
|
||||
<td align='left' valign='bottom'><!-- IBF.NEWSLINK -->{$ibforums->lang['welcome_back_text']} $lastvisit</td>
|
||||
<td align='right' valign='bottom'>
|
||||
<a href='{$ibforums->base_url}&act=Stats&CODE=leaders'>{$ibforums->lang['sm_forum_leaders']}</a> |
|
||||
<a href='{$ibforums->base_url}&act=Search&CODE=getactive'>{$ibforums->lang['sm_todays_posts']}</a><br>
|
||||
<a href='{$ibforums->base_url}&act=Stats'>{$ibforums->lang['sm_today_posters']}</a> |
|
||||
<a href='{$ibforums->base_url}&act=Members&max_results=10&sort_key=posts&sort_order=desc'>{$ibforums->lang['sm_all_posters']}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function ForumRow($info) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Forum {$info['id']} entry -->
|
||||
<tr>
|
||||
<td id="forum2" align="center">{$info['img_new_post']}</td>
|
||||
<td id="forum2" width="59%"><span id="linkthru"><b><a href="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=SF&f={$info['id']}">{$info['name']}</a></b></span><br><span id='desc'>{$info['description']}</span><br>{$info['moderator']}</td>
|
||||
<td id="forum1" align="center" width="7%">{$info['topics']}</td>
|
||||
<td id="forum1" align="center" width="7%">{$info['posts']}</td>
|
||||
<td id="forum1" width="27%">{$info['last_post']}<br>{$ibforums->lang['in']}: {$info['last_topic']}<br>{$ibforums->lang['by']}: {$info['last_poster']}</td>
|
||||
</tr>
|
||||
<!-- End of Forum {$info['id']} entry -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,214 @@
|
||||
<?php
|
||||
|
||||
class skin_emails {
|
||||
|
||||
|
||||
|
||||
function icq_body($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<form action="http://msg.mirabilis.com/scripts/WWPMsg.dll" METHOD="POST" name="frmPager">
|
||||
<INPUT TYPE="hidden" NAME="subject" VALUE="From WebPager Panel">
|
||||
<input type="hidden" name="to" value="{$data[UIN]}">
|
||||
<tr>
|
||||
<td id='row2'' align='left'><b>{$ibforums->lang['name']}</b></td>
|
||||
<td id='row2'' align='left'><input type='text' name='from' value='{$ibforums->member['name']}' size='40' class='forminput' onMouseOver="this.focus()" onFocus="this.select()"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2'' align='left'><b>{$ibforums->lang['email']}</b></td>
|
||||
<td id='row2'' align='left'><input type='text' name='fromemail' value='{$ibforums->member['email']}' size='40' class='forminput' onMouseOver="this.focus()" onFocus="this.select()"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2'' align='left' valign='top'><b>{$ibforums->lang['msg']}</b></td>
|
||||
<td id='row2'' align='left'><textarea wrap='virtual' cols='50' rows='12' wrap='soft' name='body' class='textinput' onMouseOver="this.focus()" onFocus="this.select()"></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2'' align='center' colspan='2'><input type='submit' value='{$ibforums->lang['submit']}' class='forminput'></td>
|
||||
</tr>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function end_table() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- End content Table -->
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='category' colspan='2'> </td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function pager_header($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td colspan='2' align='center' id='titlemedium'>{$data[TITLE]}</td>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function aol_body($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Begin AIM Remote -->
|
||||
<table width='140' align='center'>
|
||||
<tr align='right'><td><a href="http://www.aol.co.uk/aim/index.html"><img src="http://www.aol.co.uk/aim/remote/gr/aimver_man.gif" width=44 height=55 border=0 alt="Download AIM"></a><img src="http://www.aol.co.uk/aim/remote/gr/aimver_topsm.gif" width=73 height=55 border=0 alt="AIM Remote"><br><a href="aim:goim?screenname={$data['AOLNAME']}&message=Hi.+Are+you+there?"><img src="http://www.aol.co.uk/aim/remote/gr/aimver_im.gif" width=117 height=39 border=0 alt="Send me an Instant Message"></a><br><a href="aim:addbuddy?screenname={$data['AOLNAME']}"><img src="http://www.aol.co.uk/aim/remote/gr/aimver_bud.gif" width=117 height=39 border=0 alt="Add me to Your Buddy List"></a><br><a href="http://www.aol.co.uk/aim/remote.html"><img src="http://www.aol.co.uk/aim/remote/gr/aimver_botadd.gif" width=117 height=23 border=0 alt="Add Remote to Your Page"></a><br><a href="http://www.aol.co.uk/aim/index.html"><img src="http://www.aol.co.uk/aim/remote/gr/aimver_botdow.gif" width=117 height=29 border=0 alt="Download AOL Instant Messenger"></a><br><br></td></tr></table>
|
||||
<!-- End AIM Remote -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function forward_form($title, $text, $lang) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}" method="post" name='REPLIER'>
|
||||
<input type='hidden' name='act' value='Forward'>
|
||||
<input type='hidden' name='CODE' value='01'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='st' value='{$ibforums->input['st']}'>
|
||||
<input type='hidden' name='f' value='{$ibforums->input['f']}'>
|
||||
<input type='hidden' name='t' value='{$ibforums->input['t']}'>
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td valign='left' colspan='2' id='titlemedium'>{$ibforums->lang['title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' align='left' width='30%' valign='top'><b>{$ibforums->lang['send_lang']}</b></td>
|
||||
<td id='row1' width='80%'>$lang</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' align='left' width='30%' valign='top'><b>{$ibforums->lang['to_name']}</b></td>
|
||||
<td id='row1' width='80%'><input type='text' class='forminput' name='to_name' value='' size='30' maxlength='100'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' align='left' width='30%' valign='top'><b>{$ibforums->lang['to_email']}</b></td>
|
||||
<td id='row1' width='80%'><input type='text' class='forminput' name='to_email' value='' size='30' maxlength='100'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' align='left' width='30%' valign='top'><b>{$ibforums->lang['subject']}</b></td>
|
||||
<td id='row1' width='80%'><input type='text' class='forminput' name='subject' value='{$title}' size='30' maxlength='120'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' align='left' width='30%' valign='top'><b>{$ibforums->lang['message']}</b></td>
|
||||
<td id='row1' width='80%'><textarea cols='60' rows='12' wrap='soft' name='message' class='textinput'>{$text}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2' align='center' colspan='2'>
|
||||
<input type="submit" value="{$ibforums->lang['submit_send']}" class='forminput'>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_address($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td id='titlemedium'><b>{$ibforums->lang['send_email_to']} {$data[NAME]}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1'>{$ibforums->lang['show_address_text']}</td>
|
||||
</tr>
|
||||
<td id='row1'>>><b><a href="mailto:{$data[ADDRESS]}" class='misc'>{$ibforums->lang['send_email_to']} {$data[NAME]}</a></b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function send_form($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}" method="post" name='REPLIER'>
|
||||
<input type='hidden' name='act' value='Mail'>
|
||||
<input type='hidden' name='CODE' value='01'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='to' value='{$data[TO]}'>
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='left' colspan='2' id='titlemedium'>{$ibforums->lang['send_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' colspan='2' id='usermenu'><b>{$ibforums->lang['send_email_to']} {$data[NAME]}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' align='left' width='20%' valign='top'><b>{$ibforums->lang['subject']}</b></td>
|
||||
<td id='row1' width='80%'><input type='text' name='subject' value='' size='50' maxlength='50' class='forminput'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' align='left' width='20%' valign='top'><b>{$ibforums->lang['message']}</b><br><br>{$ibforums->lang['msg_txt']}</td>
|
||||
<td id='row1' width='80%'><textarea cols='60' rows='12' wrap='soft' name='message' class='textinput'></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2' align='center' colspan='2'>
|
||||
<input type="submit" value="{$ibforums->lang['submit_send']}" class='forminput'>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function sent_screen($member_name) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td id='titlemedium'><b>{$ibforums->lang['email_sent']}</b></td>
|
||||
</tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' valign='middle'><b>{$ibforums->lang['email_sent_txt']} $member_name</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function forum_jump($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='{$ibforums->skin['tbl_width']}' align='center'>
|
||||
<tr>
|
||||
<td align='right'>$data</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,280 @@
|
||||
<?php
|
||||
|
||||
class skin_forum {
|
||||
|
||||
|
||||
|
||||
function Forum_log_in($Data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<form action='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id};act=SF&f=$Data' method='post'>
|
||||
<input type='hidden' name='act' value='SF'>
|
||||
<input type='hidden' name='f' value='$Data'>
|
||||
<input type='hidden' name='L' value='1'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='left' colspan='2' id='titlemedium'>{$ibforums->lang['need_password']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' colspan='2'>{$ibforums->lang['need_password_txt']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' width='40%'><b>{$ibforums->lang['enter_pass']}</b></td>
|
||||
<td id='row1'><input type='password' size='20' name='f_password'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2' align='center' colspan='2'><input type='submit' value='{$ibforums->lang['f_pass_submit']}' class='forminput'></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Mod_Panel($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='{$ibforums->skin['tbl_width']}' align='center'>
|
||||
<tr>
|
||||
<td align='center'><a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=ModCP&f=$data'>{$ibforums->lang['mod_cp']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_rules_full($rules) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Show FAQ/Forum Rules -->
|
||||
<br>
|
||||
<table cellpadding='4' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' align='center'>
|
||||
<tr>
|
||||
<td align='left' ><b>{$rules['title']}</b><br><br>{$rules['body']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<!-- End FAQ/Forum Rules -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_rules_link($rules) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Show FAQ/Forum Rules -->
|
||||
<br>
|
||||
<table cellpadding='4' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' align='center'>
|
||||
<tr>
|
||||
<td align='left' valign='middle'><b>>><a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=SR&f={$rules['fid']}'>{$rules['title']}</a></b></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<!-- End FAQ/Forum Rules -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function TableEnd($Data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='mainbg'>
|
||||
<table width='100%' border='0' cellspacing='1' cellpadding='4'>
|
||||
<tr>
|
||||
<td id='titlefoot' width='100%' align='center'>
|
||||
<table border='0' cellspacing='0' cellpadding='0'>
|
||||
<tr>
|
||||
<td>{$ibforums->lang['showing_text']}{$ibforums->lang['sort_text']}</td>
|
||||
<td> <input type='submit' value='{$ibforums->lang['sort_submit']}' class='forminput'></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</form>
|
||||
</tr>
|
||||
</table>
|
||||
<table width='{$ibforums->skin['tbl_width']}' border='0' cellspacing='0' cellpadding='4' align='center'>
|
||||
<tr>
|
||||
<td width='100%'>{$Data[SHOW_PAGES]}</td>
|
||||
<td align='right' nowrap><a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Post&CODE=00&f={$Data['id']}'>{$ibforums->skin['A_POST']}</a>{$Data[POLL_BUTTON]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width='{$ibforums->skin['tbl_width']}' border='0' cellspacing='0' cellpadding='3' align='center'>
|
||||
<tr>
|
||||
<td>{$ibforums->skin['B_NEW']}</td>
|
||||
<td nowrap>{$ibforums->lang['pm_open_new']} </td>
|
||||
<td>{$ibforums->skin['B_POLL']}</td>
|
||||
<td nowrap>{$ibforums->lang['pm_poll']} </td>
|
||||
<td width='100%' rowspan='4' align='right'>
|
||||
<table border='0' cellspacing='0' cellpadding='0'>
|
||||
<tr>
|
||||
<form action='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}' name='search'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='forums' value='{$Data['id']}'>
|
||||
<input type='hidden' name='cat_forum' value='forum'>
|
||||
<input type='hidden' name='act' value='Search'>
|
||||
<input type='hidden' name='CODE' value='01'>
|
||||
<td>{$ibforums->lang['search_forum']} </td>
|
||||
<td nowrap><input type='text' size='30' name='keywords' class='forminput' value='{$ibforums->lang['enter_keywords']}' onFocus='this.value = "";'> <input type='submit' value='{$ibforums->lang['search_go']}' class='forminput'></td>
|
||||
</form>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
{$Data[FORUM_JUMP]}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$ibforums->skin['B_NORM']}</td>
|
||||
<td nowrap>{$ibforums->lang['pm_open_no']} </td>
|
||||
<td>{$ibforums->skin['B_POLL_NN']}</td>
|
||||
<td nowrap>{$ibforums->lang['pm_poll_no']} </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$ibforums->skin['B_HOT']}</td>
|
||||
<td nowrap>{$ibforums->lang['pm_hot_new']} </td>
|
||||
<td>{$ibforums->skin['B_LOCKED']}</td>
|
||||
<td nowrap>{$ibforums->lang['pm_locked']} </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$ibforums->skin['B_HOT_NN']}</td>
|
||||
<td nowrap>{$ibforums->lang['pm_hot_no']} </td>
|
||||
<td>{$ibforums->skin['B_MOVED']}</td>
|
||||
<td nowrap>{$ibforums->lang['pm_moved']} </td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_rules($rules) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Show Forum FAQ/Rules -->
|
||||
<br>
|
||||
<table cellpadding='4' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td valign='left' id='titlemedium'>{$rules['title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1'>{$rules['body']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='titlemedium' align='center'>>><a href='{$ibforums->base_url}&act=SF&f={$rules['fid']}'>{$ibforums->lang['back_to_forum']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<!-- End Forum FAQ/Rules -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function page_title($title="", $pages="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' align='center'>
|
||||
<tr>
|
||||
<td><span id='pagetitle'>$title</span>$pages</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function PageTop($info) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Forum page unique top -->
|
||||
<table width='{$ibforums->skin['tbl_width']}' border='0' cellspacing='0' cellpadding='4' align='center'>
|
||||
<tr>
|
||||
<td width='100%'>{$info['SHOW_PAGES']}</td>
|
||||
<td align='right' nowrap><a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Post&CODE=00&f={$info['id']}'>{$ibforums->skin['A_POST']}</a>{$info[POLL_BUTTON]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width='{$ibforums->skin['tbl_width']}' align='center' border='0' cellspacing='1' cellpadding='0' bgcolor='{$ibforums->skin['tbl_border']}'>
|
||||
<tr>
|
||||
<form action='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}' method='POST'>
|
||||
<td background='{$ibforums->vars['img_url']}/tile_back.gif' id='maintitleback'>
|
||||
<table width='100%' border='0' cellspacing='0' cellpadding='3'>
|
||||
<tr>
|
||||
<td><img src='{$ibforums->vars['img_url']}/nav_m.gif' alt='' width='8' height='8'></td>
|
||||
<td width='100%' id='maintitle'>{$info['name']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='mainbg'>
|
||||
<table width='100%' border='0' cellspacing='1' cellpadding='4'>
|
||||
<tr>
|
||||
<td align='center' nowrap background='{$ibforums->vars['img_url']}/tile_sub.gif' id='titlemedium'>
|
||||
<!-- Tuck away hidden form elements -->
|
||||
<input type='hidden' name='act' value='SF'>
|
||||
<input type='hidden' name='f' value='{$info['id']}'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='st' value='{$ibforums->input['st']}'>
|
||||
<!-- End of tucking :D -->
|
||||
<img src='{$ibforums->vars['img_url']}/spacer.gif' alt='' width='20' height='1'></td>
|
||||
<td align='center' nowrap background='{$ibforums->vars['img_url']}/tile_sub.gif' id='titlemedium'><img src='{$ibforums->vars['img_url']}/spacer.gif' alt='' width='20' height='1'></td>
|
||||
<td width='45%' nowrap background='{$ibforums->vars['img_url']}/tile_sub.gif' id='titlemedium'>{$ibforums->lang['h_topic_title']} ( <a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Login&CODE=04&f={$info['id']}'>{$ibforums->lang['mark_as_read']}</a> )</td>
|
||||
<td width='14%' align='center' nowrap background='{$ibforums->vars['img_url']}/tile_sub.gif' id='titlemedium'>{$ibforums->lang['h_topic_starter']}</td>
|
||||
<td width='7%' align='center' nowrap background='{$ibforums->vars['img_url']}/tile_sub.gif' id='titlemedium'>{$ibforums->lang['h_replies']}</td>
|
||||
<td width='7%' align='center' nowrap background='{$ibforums->vars['img_url']}/tile_sub.gif' id='titlemedium'>{$ibforums->lang['h_hits']}</td>
|
||||
<td width='27%' nowrap background='{$ibforums->vars['img_url']}/tile_sub.gif' id='titlemedium'>{$ibforums->lang['h_last_action']}</td>
|
||||
</tr>
|
||||
<!-- Forum page unique top -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_no_matches() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id='forum2' colspan='7' align='center'>
|
||||
<br>
|
||||
<b>{$ibforums->lang['no_topics']}</b>
|
||||
<br><br>
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function RenderRow($Data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Begin Topic Entry {$Data['tid']} -->
|
||||
<tr>
|
||||
<td align='center' id='forum2'>{$Data['folder_img']}</td>
|
||||
<td align='center' id='forum1'>{$Data['topic_icon']}</td>
|
||||
<td id='forum2'>
|
||||
<table width='100%' border='0' cellspacing='0' cellpadding='0'>
|
||||
<tr>
|
||||
<td valign='middle'>{$Data['go_new_post']}</td>
|
||||
<td width='100%'><span id='linkthru'>{$Data['prefix']} <a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?act=ST&f={$Data['forum_id']}&t={$Data['tid']}&s={$ibforums->session_id}' id='linkthru' title='{$ibforums->lang['topic_started_on']} {$Data['start_date']}'>{$Data['title']}</a></span> {$Data[PAGES]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<span id='desc'>{$Data['description']}</span></td>
|
||||
<td align='center' id='forum1'>{$Data['starter']}</td>
|
||||
<td align='center' id='forum2'>{$Data['posts']}</td>
|
||||
<td align='center' id='forum1'>{$Data['views']}</td>
|
||||
<td id='forum1'>{$Data['last_post']}<br><a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=ST&f={$Data['forum_id']}&t={$Data['tid']}&view=getlastpost'>{$Data['last_text']}</a> <b>{$Data['last_poster']}</b></td>
|
||||
</tr>
|
||||
<!-- End Topic Entry {$Data['tid']} -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,273 @@
|
||||
<?php
|
||||
|
||||
class skin_global {
|
||||
|
||||
|
||||
|
||||
function Member_bar($msg) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
{$ibforums->lang['logged_in_as']} <b>{$ibforums->member['name']}</b> ( <a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=UserCP&CODE=00'>{$ibforums->lang['your_cp']}</a> | <a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Login&CODE=03'>{$ibforums->lang['log_out']}</a> | <a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Msg&CODE=01'>{$msg[TEXT]}</a> )
|
||||
EOF;
|
||||
}
|
||||
|
||||
function BoardHeader($time="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<table width='{$ibforums->skin['tbl_width']}' border='0' align='center' cellpadding='0' cellspacing='1' bgcolor='{$ibforums->skin['tbl_border']}'>
|
||||
<tr>
|
||||
<td background='{$ibforums->vars['img_url']}/header_tile.gif'><img src='{$ibforums->vars['img_url']}/logo.jpg' alt='Powered by IBForums' border='0'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='alt1'>
|
||||
<table width='100%' border='0' cellspacing='0' cellpadding='2'>
|
||||
<tr>
|
||||
<td width='100%'>
|
||||
<% MEMBER BAR %>
|
||||
</td>
|
||||
<td nowrap valign='middle'><a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Search&f={$ibforums->input['f']}' style='text-decoration:none'><img src='{$ibforums->vars['img_url']}/icon_search.gif' title='Search' name='search' border='0' align='absmiddle'> Search</a> | <a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Members' style='text-decoration:none'><img src='{$ibforums->vars['img_url']}/icon_members.gif' title='Members List' name='members' align='absmiddle' border='0'> Member List</a> | <a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Help' style='text-decoration:none'><img src='{$ibforums->vars['img_url']}/icon_help.gif' title='Help Files' name='help' border='0' align='absmiddle'> Help</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</td>
|
||||
</table>
|
||||
<br>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function start_nav() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table width='{$ibforums->skin['tbl_width']}' align='center' border="0" cellspacing="0" cellpadding="1">
|
||||
<tr>
|
||||
<td>{$ibforums->skin['F_NAV']}</td>
|
||||
<td width="100%" id="nav">
|
||||
EOF;
|
||||
}
|
||||
|
||||
function end_nav() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Redirect($Text, $Url) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<html>
|
||||
<head>
|
||||
<title>{$ibforums->lang['stand_by']}</title>
|
||||
<meta http-equiv='refresh' content='2; url={$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}$Url'>
|
||||
<link type='text/css' href='style_sheets/stylesheet_{$ibforums->skin['css_id']}.css' rel='stylesheet'>
|
||||
</head>
|
||||
|
||||
<body id='mainbg'>
|
||||
<table width='{$ibforums->skin['tbl_width']}' height='85%' align='center'>
|
||||
<tr>
|
||||
<td valign='middle'>
|
||||
<table align='center' border="0" cellspacing="1" cellpadding="0" bgcolor="{$ibforums->skin['tbl_border']}">
|
||||
<tr>
|
||||
<td id='mainbg'>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="12">
|
||||
<tr>
|
||||
<td width="100%" align="center" id='alt1'>
|
||||
{$ibforums->lang['thanks']},
|
||||
$Text<br><br>
|
||||
{$ibforums->lang['transfer_you']}<br><br>
|
||||
(<a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}$Url'>{$ibforums->lang['dont_wait']}</a>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function PM_popup() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script language='JavaScript'>
|
||||
<!--
|
||||
window.open('index.{$ibforums->vars['php_ext']}?act=Msg&CODE=99&s={$ibforums->session_id}','NewPM','width=500,height=250,resizable=yes,scrollbars=1');
|
||||
//-->
|
||||
</script>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Guest_bar() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
{$ibforums->lang['guest_stuff']} ( <a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Login&CODE=00'>{$ibforums->lang['log_in']}</a> | <a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Reg&CODE=00'>{$ibforums->lang['register']}</a> )
|
||||
EOF;
|
||||
}
|
||||
|
||||
function admin_link() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
( <b><a href='{$ibforums->vars['board_url']}/admin.{$ibforums->vars['php_ext']}' target='_blank'>{$ibforums->lang['admin_cp']}</a></b> )
|
||||
EOF;
|
||||
}
|
||||
|
||||
function error_log_in($q_string) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<form action='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}' method='post'>
|
||||
<input type='hidden' name='act' value='Login'>
|
||||
<input type='hidden' name='CODE' value='01'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='referer' value='$q_string'>
|
||||
<input type='hidden' name='CookieDate' value='1'>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='80%' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='left' colspan='2' id='titlemedium'>{$ibforums->lang['er_log_in_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' width='40%'>{$ibforums->lang['erl_enter_name']}</td>
|
||||
<td id='row1'><input type='text' size='20' maxlength='64' name='UserName' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' width='40%'>{$ibforums->lang['erl_enter_pass']}</td>
|
||||
<td id='row1'><input type='password' size='20' name='PassWord' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2' align='center' colspan='2'>
|
||||
<input type='submit' name='submit' value='{$ibforums->lang['erl_log_in_submit']}' class='forminput'>
|
||||
</td>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function board_offline($message = "") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table width='{$ibforums->skin['tbl_width']}' border='0' align='center' cellpadding='0' cellspacing='1' bgcolor='{$ibforums->skin['tbl_border']}'>
|
||||
<tr>
|
||||
<td background='{$ibforums->vars['img_url']}/tile_back.gif'>
|
||||
<table width='100%' border='0' cellspacing='0' cellpadding='3'>
|
||||
<tr>
|
||||
<td><img src='{$ibforums->vars['img_url']}/nav_m.gif' alt='' width='8' height='8'></td>
|
||||
<td width='100%' id='titlemedium'>{$ibforums->lang['offline_title']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='mainbg'>
|
||||
<table width='100%' border='0' cellspacing='1' cellpadding='4'>
|
||||
<tr>
|
||||
<td colspan='2' valign='top' id='post1'> <p>$message</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' valign='top' id='posthead'>{$ibforums->lang['offline_login']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<form action='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}' method='post'>
|
||||
<input type='hidden' name='act' value='Login'>
|
||||
<input type='hidden' name='CODE' value='01'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='referer' value=''>
|
||||
<input type='hidden' name='CookieDate' value='1'>
|
||||
<td id='alt1'>{$ibforums->lang['erl_enter_name']}<br><img src='{$ibforums->vars['img_url']}/spacer.gif' alt='' width='180' height='1'></td>
|
||||
<td width='100%' id='alt1'><input type='text' size='20' maxlength='64' name='UserName' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='alt1'>{$ibforums->lang['erl_enter_pass']}</td>
|
||||
<td width='100%' id='alt1'><input type='password' size='20' name='PassWord' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' align='center' id='titlefoot'><input type='submit' name='submit' value='{$ibforums->lang['erl_log_in_submit']}' class='forminput'></td>
|
||||
</form>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Error($message, $ad_email_one="", $ad_email_two="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script language='javascript'>
|
||||
<!--
|
||||
function contact_admin() {
|
||||
|
||||
// Very basic spam bot stopper
|
||||
|
||||
admin_email_one = '$ad_email_one';
|
||||
admin_email_two = '$ad_email_two';
|
||||
|
||||
window.location = 'mailto:'+admin_email_one+'@'+admin_email_two+'?subject=Error on the forums';
|
||||
|
||||
}
|
||||
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<table width='{$ibforums->skin['tbl_width']}' border='0' cellspacing='1' align='center' cellpadding='0' bgcolor='{$ibforums->skin['tbl_border']}'>
|
||||
<tr>
|
||||
<td id='maintitleback' background='{$ibforums->vars['img_url']}/tile_back.gif'>
|
||||
<table width='100%' border='0' cellspacing='0' cellpadding='3'>
|
||||
<tr>
|
||||
<td><img src='{$ibforums->vars['img_url']}/nav_m.gif' alt='' width='8' height='8'></td>
|
||||
<td width='100%' id='maintitle'><b>{$ibforums->lang['error_title']}</b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='mainbg'>
|
||||
<table width='100%' border='0' cellspacing='1' cellpadding='4'>
|
||||
<tr>
|
||||
<td id='alt1' valign='top'>
|
||||
{$ibforums->lang['exp_text']}<br><br>
|
||||
<b>{$ibforums->lang['msg_head']}</b>
|
||||
<br><br>
|
||||
<span id='alert'>$message</span>
|
||||
<br><br>
|
||||
<!-- IBF.LOG_IN_TABLE -->
|
||||
<br><br>
|
||||
<b>Useful Links:</b>
|
||||
<br><br>
|
||||
• <a href='{$ibforums->base_url}&act=Reg&CODE=10'>{$ibforums->lang['er_lost_pass']}</a><br>
|
||||
• <a href='{$ibforums->base_url}&act=Reg&CODE=00'>{$ibforums->lang['er_register']}</a><br>
|
||||
• <a href='{$ibforums->base_url}&act=Help&CODE=00'>{$ibforums->lang['er_help_files']}</a><br>
|
||||
• <a href='javascript:contact_admin();'>{$ibforums->lang['er_contact_admin']}</a></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='titlefoot' align='center'>< <a href='javascript:history.go(-1)'>{$ibforums->lang['error_back']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Member_no_usepm_bar() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
{$ibforums->lang['logged_in_as']} <b>{$ibforums->member['name']}</b> ( <a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=UserCP&CODE=00'>{$ibforums->lang['your_cp']}</a> | <a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Login&CODE=03'>{$ibforums->lang['log_out']}</a> )
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,89 @@
|
||||
<?php
|
||||
|
||||
class skin_help {
|
||||
|
||||
|
||||
|
||||
function row($entry) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Help Entry ID:{$entry[ID]} -->
|
||||
<tr>
|
||||
<td id='{$entry['CELL_COLOUR']}' style='height:28px'><a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?act=Help&s={$ibforums->session_id}&CODE=01&HID={$entry['id']}'><b>{$entry['title']}</b></a><br>{$entry['description']}</td>
|
||||
</tr>
|
||||
<!-- End Help Entry -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function display($text) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Displaying Help Topic -->
|
||||
<tr>
|
||||
<td id='row1' colspan='2' id='postcolor'>$text</td>
|
||||
</tr>
|
||||
<!-- End Display -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function end() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function no_results() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id='row1' colspan='2'><b>{$ibforums->lang['no_results']}</b></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function start($one_text, $two_text, $three_text) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding=4 cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' align='center'>
|
||||
<tr><td>$two_text</td></tr>
|
||||
</table>
|
||||
|
||||
<table cellpadding=0 cellspacing='1' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='left' colspan='2' id='titlemedium' background="{$ibforums->vars['img_url']}/tile_sub.gif">$one_text</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' colspan='2'>
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?act=Help;s={$ibforums->session_id};CODE=02" method="post">
|
||||
<input type='hidden' name='act' value='Help'>
|
||||
<input type='hidden' name='CODE' value='02'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
{$ibforums->lang['search_txt']} <input type='text' maxlength='60' size='30' class='forminput' name='search_q'> <input type='submit' value='{$ibforums->lang['submit']}' class='forminput'>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<table cellpadding=0 cellspacing='1' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td colspan='2' id='titlemedium' background="{$ibforums->vars['img_url']}/tile_sub.gif"><b>$three_text</b></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
class skin_legends {
|
||||
|
||||
|
||||
function emoticon_javascript()
|
||||
{
|
||||
return <<<EOF
|
||||
<script language='javascript'>
|
||||
<!--
|
||||
function add_smilie(code)
|
||||
{
|
||||
opener.document.REPLIER.Post.value += ' ' + code + ' ';
|
||||
//return true;
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function page_header( $title, $row1, $row2 ) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='5' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td colspan='4' id='titlemedium' align='center'>$title</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='50%' align='center' id='category' valign='middle'>$row1</td>
|
||||
<td width='50%' align='center' id='category' valign='middle'>$row2</td>
|
||||
</tr>
|
||||
|
||||
|
||||
EOF;
|
||||
|
||||
}
|
||||
|
||||
function emoticons_row($code, $image) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<tr>
|
||||
<td align='center' id='row1' valign='middle'><a href='javascript:add_smilie("$code")'>$code</a></td>
|
||||
<td align='center' id='row2' valign='middle'><a href='javascript:add_smilie("$code")'><img src='{$ibforums->vars['EMOTICONS_URL']}/$image' border='0' valign='absmiddle' alt='$image'></a></td>
|
||||
</tr>
|
||||
|
||||
|
||||
EOF;
|
||||
|
||||
}
|
||||
|
||||
function page_footer() {
|
||||
|
||||
return <<<EOF
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
EOF;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,132 @@
|
||||
<?php
|
||||
|
||||
class skin_login {
|
||||
|
||||
|
||||
|
||||
function ShowLogOutForm() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br>
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}" method="post">
|
||||
<input type='hidden' name='act' value='Login'>
|
||||
<input type='hidden' name='CODE' value='03'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['TITLEBACK']}' valign='left' colspan='2' id='titlelarge'>{$ibforums->lang['log_out']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' colspan='2' valign='middle'><br>{$ibforums->lang['log_out_txt']}<br></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2' align='center' colspan='2'>
|
||||
<input type="submit" value="{$ibforums->lang['log_out_submit']}" class='forminput'>
|
||||
</td></tr></table>
|
||||
</td></tr></table>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function errors($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='5' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td id='row1' valign='top' align='left' id='highlight'><b>{$ibforums->lang['errors_found']}</b><hr noshade size='1' color='{$ibforums->skin['tbl_border']}'>$data</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function ShowForm($message) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script language='JavaScript'>
|
||||
<!--
|
||||
function ValidateForm() {
|
||||
var Check = 0;
|
||||
if (document.LOGIN.UserName.value == '') { Check = 1; }
|
||||
if (document.LOGIN.PassWord.value == '') { Check = 1; }
|
||||
|
||||
if (Check == 1) {
|
||||
alert("{$ibforums->lang['blank_fields']}");
|
||||
return false;
|
||||
} else {
|
||||
document.LOGIN.submit.disabled = true;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<br>
|
||||
<table cellpadding='3' cellspacing='1' border='0' align='center' width='{$ibforums->skin['tbl_width']}'>
|
||||
<tr>
|
||||
<td align='left'>{$ibforums->lang['login_text']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left'><b>{$ibforums->lang['forgot_pass']} <a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?act=Reg&CODE=10'>{$ibforums->lang['pass_link']}</a></b></td>
|
||||
</tr>
|
||||
</table>
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post" name='LOGIN' onSubmit='return ValidateForm()'>
|
||||
<input type='hidden' name='act' value='Login'>
|
||||
<input type='hidden' name='CODE' value='01'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='referer' value="">
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='left' colspan='2' id='titlemedium'>$message</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' width='40%'>{$ibforums->lang['enter_name']}</td>
|
||||
<td id='row1'><input type='text' size='20' maxlength='64' name='UserName' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' width='40%'>{$ibforums->lang['enter_pass']}</td>
|
||||
<td id='row1'><input type='password' size='20' name='PassWord' class='forminput'></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td bgcolor='{$ibforums->skin['MISCBACK_TITLE']}' align='left' colspan='2' id='titlemedium'>{$ibforums->lang['options']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' width='40%' align='left' valign='top'>{$ibforums->lang['cookies']}</td>
|
||||
<td id='row1' width='40%'><input type="radio" name="CookieDate" value="1" checked>{$ibforums->lang['cookie_yes']}<br><input type="radio" name="CookieDate" value="0">{$ibforums->lang['cookie_no']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' width='40%' align='left' valign='top'>{$ibforums->lang['privacy']}</td>
|
||||
<td id='row1' width='40%'><input type="checkbox" name="Privacy" value="1">{$ibforums->lang['anon_name']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2' align='center' colspan='2'>
|
||||
<input type="submit" name='submit' value="{$ibforums->lang['log_in_submit']}" class='forminput'>
|
||||
</td></tr></table>
|
||||
</td></tr></table>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,122 @@
|
||||
<?php
|
||||
|
||||
class skin_mlist {
|
||||
|
||||
|
||||
|
||||
function Page_header($links) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<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="{$ibforums->skin['tbl_width']}" border="0" align='center' cellspacing="0" cellpadding="4">
|
||||
<tr>
|
||||
<td width="100%" height='38'>{$links[SHOW_PAGES]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="{$ibforums->skin['tbl_width']}" border="0" align='center' cellspacing="1" cellpadding="0" bgcolor="{$ibforums->skin['tbl_border']}">
|
||||
<tr>
|
||||
<td id='maintitleback' background='{$ibforums->vars['img_url']}/tile_back.gif'>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='mainbg'>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
||||
<tr>
|
||||
<td nowrap background="{$ibforums->vars['img_url']}/tile_sub.gif" id='titlemedium' width="30%">{$ibforums->lang['member_name']}</td>
|
||||
<td nowrap background="{$ibforums->vars['img_url']}/tile_sub.gif" id='titlemedium' align="center" width="20%">{$ibforums->lang['member_level']}</td>
|
||||
<td nowrap background="{$ibforums->vars['img_url']}/tile_sub.gif" id='titlemedium' align="center" width="20%">{$ibforums->lang['member_group']}</td>
|
||||
<td nowrap background="{$ibforums->vars['img_url']}/tile_sub.gif" id='titlemedium' align="center" width="20%">{$ibforums->lang['member_joined']}</td>
|
||||
<td nowrap background="{$ibforums->vars['img_url']}/tile_sub.gif" id='titlemedium' align="center" width="10%">{$ibforums->lang['member_posts']}</td>
|
||||
<td nowrap background="{$ibforums->vars['img_url']}/tile_sub.gif" id='titlemedium' align="center">{$ibforums->lang['member_email']}</td>
|
||||
<td nowrap background="{$ibforums->vars['img_url']}/tile_sub.gif" id='titlemedium' align="center">{$ibforums->lang['member_aol']}</td>
|
||||
<td nowrap background="{$ibforums->vars['img_url']}/tile_sub.gif" id='titlemedium' align="center">{$ibforums->lang['member_icq']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function end($links) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table width="{$ibforums->skin['tbl_width']}" border="0" align='center' cellspacing="0" cellpadding="4">
|
||||
<tr>
|
||||
<td width="100%" height='38'>{$links[SHOW_PAGES]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function no_results() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
No results
|
||||
EOF;
|
||||
}
|
||||
|
||||
function start() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- nothing here -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Page_end() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- End content Table -->
|
||||
|
||||
<form action='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id};act=Members' method='POST'>
|
||||
<input type='hidden' name='act' value='Members'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<tr>
|
||||
<td id='subtitle' colspan="9" align='center'>{$ibforums->lang['sorting_text']} <input type='submit' value='{$ibforums->lang['sort_submit']}' class='forminput'></td>
|
||||
</tr>
|
||||
</form>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_row($member) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Entry for {$member[MEMBER_NAME]} -->
|
||||
<tr>
|
||||
<td id='forum2' width="30%"><b><a href="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Profile&CODE=03&MID={$member[MEMBER_ID]}">{$member[MEMBER_NAME]}</a></b></td>
|
||||
<td id='forum2' nowrap width="20%">{$member[MEMBER_PIPS_IMG]}</td>
|
||||
<td id='forum1' align="center" width="20%">{$member[MEMBER_GROUP]}</td>
|
||||
<td id='forum2' nowrap align="center" width="20%">{$member[MEMBER_JOINED]}</td>
|
||||
<td id='forum2' align="center" width="10%">{$member[MEMBER_POSTS]}</td>
|
||||
<td id='forum1' align="center">{$member[MEMBER_EMAIL]}</td>
|
||||
<td id='forum1' align="center">{$member[AOLNAME]}</td>
|
||||
<td id='forum1' align="center">{$member[ICQNUMBER]}</td>
|
||||
</tr>
|
||||
<!-- End of Entry -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,678 @@
|
||||
<?php
|
||||
|
||||
class skin_mod {
|
||||
|
||||
|
||||
function modtopicview_start($tid,$forumname, $fid, $title) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<form name='ibform' action='{$ibforums->base_url}' method='POST'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='act' value='ModCP'>
|
||||
<input type='hidden' name='CODE' value='domodposts'>
|
||||
<input type='hidden' name='f' value='{$fid}'>
|
||||
<input type='hidden' name='tid' value='{$tid}'>
|
||||
|
||||
<tr>
|
||||
<td colspan='2'>
|
||||
<table cellpadding='2' cellspacing='1' border='0' width='100%' id='fancyborder' align='center'>
|
||||
<tr>
|
||||
<td><span id='pagetitle'>{$ibforums->lang['cp_mod_posts_title2']} $forumname</span>
|
||||
<br>$pages
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2'>
|
||||
<table width='100%' cellpadding='4' cellspacing='1' bgcolor='{$ibforums->skin['tbl_border']}'>
|
||||
<tr>
|
||||
<td valign='middle' id='titlemedium' align='left' colspan='2'>$title</td>
|
||||
</tr>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function modpost_topicstart($forumname, $fid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<tr>
|
||||
<td colspan='2'>
|
||||
<table cellpadding='2' cellspacing='1' border='0' width='100%' id='fancyborder' align='center'>
|
||||
<tr>
|
||||
<td><span id='pagetitle'>{$ibforums->lang['cp_mod_posts_title2']} $forumname</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width='100%' cellpadding='4' cellspacing='1' bgcolor='{$ibforums->skin['tbl_border']}'>
|
||||
<tr>
|
||||
<td id='titlemedium' width='40%'>{$ibforums->lang['cp_3_title']}</td>
|
||||
<td id='titlemedium' width='20%' align='center'>{$ibforums->lang['cp_3_replies']}</td>
|
||||
<td id='titlemedium' width='20%' align='center'>{$ibforums->lang['cp_3_approveall']}</td>
|
||||
<td id='titlemedium' width='20%' align='center'>{$ibforums->lang['cp_3_viewall']}</td>
|
||||
</tr>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function modpost_topicentry($title, $tid, $replies, $fid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<tr>
|
||||
<td id='row1' width='40%' align='left'><b><a href='{$ibforums->base_url}&act=ST&f=$fid&t=$tid' target='_blank'>$title</a></b></td>
|
||||
<td id='row1' width='20%' align='center'>$replies</td>
|
||||
<td id='row1' width='20%' align='center'><a href='{$ibforums->base_url}&act=ModCP&f=$fid&tid=$tid&CODE=modtopicapprove'>{$ibforums->lang['cp_3_approveall']}</a></td>
|
||||
<td id='row1' width='20%' align='center'><a href='{$ibforums->base_url}&act=ModCP&f=$fid&tid=$tid&CODE=modtopicview'>{$ibforums->lang['cp_3_viewall']}</a></td>
|
||||
</tr>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function modpost_topicend() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function modtopics_start($pages,$forumname, $fid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<form name='ibform' action='{$ibforums->base_url}' method='POST'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='act' value='ModCP'>
|
||||
<input type='hidden' name='CODE' value='domodtopics'>
|
||||
<input type='hidden' name='f' value='{$fid}'>
|
||||
|
||||
<tr>
|
||||
<td colspan='2'>
|
||||
<table cellpadding='2' cellspacing='1' border='0' width='100%' id='fancyborder' align='center'>
|
||||
<tr>
|
||||
<td><span id='pagetitle'>{$ibforums->lang['cp_mod_topics_title2']} $forumname</span>
|
||||
<br>$pages
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function modtopics_end() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<tr>
|
||||
<td id='row2' align='center'><select name='type' class='forminput'><option value='approve'>{$ibforums->lang['cp_1_approve']}</option><option value='remove'>{$ibforums->lang['cp_1_remove']}</option></select> {$ibforums->lang['cp_1_selected']} <input type='submit' value='{$ibforums->lang['cp_1_go']}' class='forminput'></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function mod_topic_title($title, $topic_id) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<tr>
|
||||
<td colspan='2'>
|
||||
<table width='100%' cellpadding='4' cellspacing='1' bgcolor='{$ibforums->skin['tbl_border']}'>
|
||||
<tr>
|
||||
<td valign='middle' id='titlemedium' align='left' colspan='2'><input type='checkbox' name='TID_$topic_id' value='1'> $title</td>
|
||||
</tr>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function mod_postentry($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<tr>
|
||||
<td valign='top' id='row1' width='25%'><span id='normalname'>{$data['member']['name']}</span><br><br>{$data['member']['avatar']}<span id='postdetails'><br>{$data['member']['MEMBER_GROUP']}<br>{$data['member']['MEMBER_POSTS']}<br>{$data['member']['MEMBER_JOINED']}</span></td>
|
||||
<td valign='top' height='100%' id='row1' width='75%'>
|
||||
<b>{$ibforums->lang['posted_on']} {$data['msg']['post_date']}</b><br><br>
|
||||
<span id='postcolor'>
|
||||
{$data['msg']['post']}
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function mod_postentry_checkbox($pid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<tr>
|
||||
<td align='left' colspan='2' id='category'><input type='checkbox' name='PID_$pid' value='1'> {$ibforums->lang['cp_3_postno']} $pid</td>
|
||||
</tr>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function mod_topic_spacer() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2'>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function results($text) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<tr>
|
||||
<td colspan='2'>
|
||||
<table cellpadding='2' cellspacing='1' border='0' width='100%' id='fancyborder' align='center'>
|
||||
<tr>
|
||||
<td><span id='pagetitle'>{$ibforums->lang['cp_results']}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2'><b>$text</b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function prune_confirm($tcount, $count, $link, $link_text) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<tr>
|
||||
<td colspan='2'>
|
||||
<table cellpadding='2' cellspacing='1' border='0' width='100%' id='fancyborder' align='center'>
|
||||
<tr>
|
||||
<td><span id='pagetitle'>{$ibforums->lang['cp_check_result']}</span>
|
||||
<br>{$ibforums->lang['cp_check_text']}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>{$ibforums->lang['cp_total_topics']}</b></td>
|
||||
<td>$tcount</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b><span style='color:red'>{$ibforums->lang['cp_total_match']}</span></b></td>
|
||||
<td><span style='color:red'>$count</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' align='center' id='row2'><b><a href='{$ibforums->base_url}$link'>$link_text</a></b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function prune_splash($forum, $forums, $select) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<form name='ibform' action='{$ibforums->base_url}' method='POST'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='act' value='ModCP'>
|
||||
<input type='hidden' name='CODE' value='prune'>
|
||||
<input type='hidden' name='f' value='{$forum['id']}'>
|
||||
<input type='hidden' name='check' value='1'>
|
||||
|
||||
<!-- IBF.CONFIRM -->
|
||||
|
||||
<tr>
|
||||
<td colspan='2' id='pagetitle'>{$ibforums->lang['cp_prune']} {$forum['name']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2'>{$ibforums->lang['cp_prune_text']}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='40%' id='row2'>{$ibforums->lang['cp_action']}</td>
|
||||
<td id='row2'><select name='df' class='forminput'>$forums</select></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='40%'>{$ibforums->lang['cp_prune_days']}</td>
|
||||
<td><input type='text' size='40' name='dateline' value='{$ibforums->input['dateline']}' class='forminput'></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='40%'>{$ibforums->lang['cp_prune_type']}</td>
|
||||
<td>$select</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='40%'>{$ibforums->lang['cp_prune_replies']}</td>
|
||||
<td><input type='text' size='40' name='posts' value='{$ibforums->input['posts']}' class='forminput'></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='40%'>{$ibforums->lang['cp_prune_member']}</td>
|
||||
<td><input type='text' size='40' name='member' value='{$ibforums->input['member']}' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' align='center'><input type='submit' value='{$ibforums->lang['cp_prune_sub1']}' class='forminput'></td>
|
||||
</tr>
|
||||
</form>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
function edit_user_form($profile) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<form name='ibform' action='{$ibforums->base_url}' method='POST'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='act' value='ModCP'>
|
||||
<input type='hidden' name='CODE' value='compedit'>
|
||||
<input type='hidden' name='f' value='{$ibforums->input['f']}'>
|
||||
<input type='hidden' name='memberid' value='{$profile['id']}'>
|
||||
<tr>
|
||||
<td colspan='2' id='pagetitle'>{$ibforums->lang['cp_edit_user']}: {$profile['name']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%'>{$ibforums->lang['cp_remove_av']}</td>
|
||||
<td><select name='avatar' class='forminput'><option value='0'>{$ibforums->lang['no']}</option><option value='1'>{$ibforums->lang['yes']}</option></select></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='40%'>{$ibforums->lang['cp_edit_website']}</td>
|
||||
<td><input type='text' size='40' name='website' value='{$profile['website']}' class='forminput'></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='40%'>{$ibforums->lang['cp_edit_location']}</td>
|
||||
<td><input type='text' size='40' name='location' value='{$profile['location']}' class='forminput'></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='40%'>{$ibforums->lang['cp_edit_interests']}</td>
|
||||
<td><textarea cols='50' rows='3' name='interests' class='forminput'>{$profile['interests']}</textarea></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='40%'>{$ibforums->lang['cp_edit_signature']}</td>
|
||||
<td><textarea cols='50' rows='5' name='signature' class='forminput'>{$profile['signature']}</textarea></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan='2' align='center'><input type='submit' value='{$ibforums->lang['cp_find_2_submit']}' class='forminput'></td>
|
||||
</tr>
|
||||
</form>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function find_two($select) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<form name='ibform' action='{$ibforums->base_url}' method='POST'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='act' value='ModCP'>
|
||||
<input type='hidden' name='CODE' value='doedituser'>
|
||||
<input type='hidden' name='f' value='{$ibforums->input['f']}'>
|
||||
<tr>
|
||||
<td colspan='2' id='pagetitle'>{$ibforums->lang['cp_edit_user']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%'>{$ibforums->lang['cp_find_2_user']}</td>
|
||||
<td>$select</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' align='center'><input type='submit' value='{$ibforums->lang['cp_find_2_submit']}' class='forminput'></td>
|
||||
</tr>
|
||||
</form>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function find_user() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<form name='ibform' action='{$ibforums->base_url}' method='POST'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='act' value='ModCP'>
|
||||
<input type='hidden' name='CODE' value='dofinduser'>
|
||||
<input type='hidden' name='f' value='{$ibforums->input['f']}'>
|
||||
<tr>
|
||||
<td colspan='2' id='pagetitle'>{$ibforums->lang['cp_edit_user']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%'>{$ibforums->lang['cp_find_user']}</td>
|
||||
<td><input type='text' size='40' name='name' value='' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' align='center'><input type='submit' value='{$ibforums->lang['cp_find_submit']}' class='forminput'></td>
|
||||
</tr>
|
||||
</form>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function splash($tcount, $pcount, $forum) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<tr>
|
||||
<td id='pagetitle'>{$ibforums->lang['cp_welcome']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$ibforums->lang['cp_welcome_text']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='2' cellspacing='1' border='0' width='75%' id='fancyborder' align='center'>
|
||||
<tr>
|
||||
<td><b>{$ibforums->lang['cp_mod_in']}</b></td>
|
||||
<td>$forum</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>{$ibforums->lang['cp_topics_wait']}</b></td>
|
||||
<td>$tcount</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>{$ibforums->lang['cp_posts_wait']}</b></td>
|
||||
<td>$pcount</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function mod_exp($words) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<td id='row1' colspan='2'>$words</td>
|
||||
</tr>
|
||||
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function end_form($action) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
|
||||
<tr>
|
||||
<td id='row2' align='center' colspan='2'>
|
||||
<input type="submit" name="submit" value="$action" class='forminput'>
|
||||
</td></tr></table>
|
||||
</td></tr></table>
|
||||
</form>
|
||||
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function move_form($jhtml, $forum_name) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
|
||||
<tr>
|
||||
<td id='row1'>{$ibforums->lang[move_from]} <b>$forum_name</b> {$ibforums->lang[to]}:</td>
|
||||
<td id='row1'><select name='move_id' class='forminput'>$jhtml</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1'><b>{$ibforums->lang['leave_link']}</b></td>
|
||||
<td id='row1'>
|
||||
<select name='leave' class='forminput'>
|
||||
<option value='y' selected>{$ibforums->lang['yes']}</option>
|
||||
<option value='n'>{$ibforums->lang['no']}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function delete_js() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<script language='JavaScript'>
|
||||
<!--
|
||||
function ValidateForm() {
|
||||
document.REPLIER.submit.disabled = true;
|
||||
return true;
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function topictitle_fields($title, $desc) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
|
||||
<tr>
|
||||
<td id='row1'><b>{$ibforums->lang[edit_f_title]}</b></td>
|
||||
<td id='row1'><input type='text' size='40' maxlength='50' name='TopicTitle' value='$title'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1'><b>{$ibforums->lang[edit_f_desc]}</b></td>
|
||||
<td id='row1'><input type='text' size='40' maxlength='40' name='TopicDesc' value='$desc'></td>
|
||||
</tr>
|
||||
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function poll_entry($id, $entry) {
|
||||
global $ibforums;
|
||||
|
||||
return <<<EOF
|
||||
|
||||
<tr>
|
||||
<td id='row1'><b>{$ibforums->lang['pe_option']} $id</b></td>
|
||||
<td id='row1'><input type='text' size='60' maxlength='250' name='POLL_$id' value='$entry'></td>
|
||||
</tr>
|
||||
|
||||
EOF;
|
||||
|
||||
}
|
||||
|
||||
|
||||
function poll_select_form() {
|
||||
global $ibforums;
|
||||
|
||||
return <<<EOF
|
||||
|
||||
<tr>
|
||||
<td id='row1'><b>{$ibforums->lang['pe_pollonly']} $id</b></td>
|
||||
<td id='row1'><select name='pollonly' class='forminput'><option value='0'>{$ibforums->lang['pe_no']}</option><option value='1'>{$ibforums->lang['pe_yes']}</option></select></td>
|
||||
</tr>
|
||||
|
||||
EOF;
|
||||
|
||||
}
|
||||
|
||||
|
||||
function table_top($posting_title) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='5' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td valign='left' colspan='2' id='titlemedium'>$posting_title</td>
|
||||
</tr>
|
||||
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function forum_jump($data, $menu_extra="") {
|
||||
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<br>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' align='center'>
|
||||
<tr>
|
||||
<td align='right'>{$data}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
EOF;
|
||||
|
||||
}
|
||||
|
||||
function Menu_bar($base_url, $fid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<br>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='2' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='20%' id='titlemedium'> </td>
|
||||
<td width='80%' id='titlemedium'> </td>
|
||||
</tr>
|
||||
<td id='row1' valign='top'>
|
||||
|
||||
<!-- Moderate Topics -->
|
||||
|
||||
<table cellpadding='2' cellspacing='1' border='0' width='100%' id='fancyborder'>
|
||||
<tr>
|
||||
<td id='title'><b>{$ibforums->lang['cp_mod_topics_title']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1'><a href='{$base_url}&act=ModCP&CODE=modtopics&f=$fid'>{$ibforums->lang['cp_mod_topics']}</a></td>
|
||||
</tr>
|
||||
<td id='row1'><a href='{$base_url}&act=ModCP&CODE=modposts&f=$fid'>{$ibforums->lang['cp_mod_posts']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<!-- Manage Topics -->
|
||||
|
||||
<br>
|
||||
|
||||
<table cellpadding='2' cellspacing='1' border='0' width='100%' id='fancyborder'>
|
||||
<tr>
|
||||
<td id='title'><b>{$ibforums->lang['cp_manage_posts']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1'><a href='{$base_url}&act=ModCP&CODE=prune&f=$fid'>{$ibforums->lang['cp_prune_posts']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<!-- Manage Users -->
|
||||
|
||||
<br>
|
||||
|
||||
<table cellpadding='2' cellspacing='1' border='0' width='100%' id='fancyborder'>
|
||||
<tr>
|
||||
<td id='title'><b>{$ibforums->lang['cp_mod_users_title']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1'><a href='{$base_url}&act=ModCP&CODE=edituser&f=$fid'>{$ibforums->lang['cp_user_edit']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
<td id='row1' valign='top'>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
<!-- Start main CP area -->
|
||||
|
||||
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function CP_end() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<!-- end main CP area -->
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table></td></tr></table>
|
||||
|
||||
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function mod_error($msg="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<tr>
|
||||
<td id='pagetitle'>{$ibforums->lang['cp_error']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>$msg</td>
|
||||
</tr>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
} // end class
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,521 @@
|
||||
<?php
|
||||
|
||||
class skin_msg {
|
||||
|
||||
|
||||
function preview($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<td colspan='2' id='row1'>
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='100%' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='5' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td id='category' valign='top' align='left'><b>{$ibforums->lang['pm_preview']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' valign='top' align='left'>$data</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function pm_popup($text) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script language='javascript'>
|
||||
<!--
|
||||
function goto_inbox() {
|
||||
opener.document.location.href = '{$ibforums->base_url}&act=Msg&CODE=01';
|
||||
window.close();
|
||||
}
|
||||
|
||||
function goto_this_inbox() {
|
||||
window.resizeTo('650','500');
|
||||
document.location.href = '{$ibforums->base_url}&act=Msg&CODE=01';
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<table cellspacing='1' cellpadding='10' width='100%' height='100%' align='center' id='row1'>
|
||||
<tr>
|
||||
<td id='pagetitle' align='center'>{$ibforums->lang['pmp_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='center'>$text</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='center' style='font-size:12px;font-weight:bold'><a href='javascript:goto_inbox();'>{$ibforums->lang['pmp_go_inbox']}</a> ( <a href='javascript:goto_this_inbox();'>{$ibforums->lang['pmp_thiswindow']}</a> )<br><br><a href='javascript:window.close();'>{$ibforums->lang['pmp_ignore']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function archive_html_header() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<html>
|
||||
<head>
|
||||
<title>Private Message Archive</title>
|
||||
</head>
|
||||
<body bgcolor='#FFFFFF'>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function archive_html_entry($info) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellspacing='1' cellpadding='0' width='80%' bgcolor='#000000' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellspacing='1' cellpadding='4' width='100%' align='center'>
|
||||
<tr>
|
||||
<td valign='top' bgcolor='#FEFEFE'><font face='verdana' size='3'><b>{$info['msg_title']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor='#FFFFFF'><font face='verdana size='2'>{$info['msg_content']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign='top' bgcolor='#FEFEFE'><font face='verdana' size='3'>Sent by <b>{$info['msg_sender']}</b> on {$info['msg_date']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function archive_html_footer() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</body>
|
||||
</html>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function archive_complete() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<td id='row1 colspan='2'><span id='pagetitle'>{$ibforums->lang['arc_comp_title']}</span><br>{$ibforums->lang['arc_complete']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function archive_form($jump_html="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<td id='row1 colspan='2'><span id='pagetitle'>{$ibforums->lang['archive_title']}</span><br>{$ibforums->lang['archive_text']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1 colspan='2'>
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post">
|
||||
<input type='hidden' name='act' value='Msg'>
|
||||
<input type='hidden' name='CODE' value='15'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1'><b>{$ibforums->lang['arc_folders']}</b></td>
|
||||
<td id='row1'>$jump_html</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2'><b>{$ibforums->lang['arc_dateline']}</b></td>
|
||||
<td id='row2' valign='middle'><select name='dateline' class='forminput'><option value='1'>1</option><option value='7'>7</option><option value='30' selected>30</option><option value='90'>90</option><option value='365'>365</option><option value='all'>{$ibforums->lang['arc_alldays']}</option></select> {$ibforums->lang['arc_days']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1'><b>{$ibforums->lang['arc_max']}</b></td>
|
||||
<td id='row1' valign='middle'><select name='number' class='forminput'><option value='5'>5</option><option value='10'>10</option><option value='20' selected>20</option><option value='30'>30</option><option value='40'>40</option><option value='50'>50</option></select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2'><b>{$ibforums->lang['arc_delete']}</b></td>
|
||||
<td id='row2' valign='middle'><select name='delete' class='forminput'><option value='yes' selected>{$ibforums->lang['arc_yes']}</option><option value='no'>{$ibforums->lang['arc_no']}</option></select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1'><b>{$ibforums->lang['arc_type']}</b></td>
|
||||
<td id='row1' valign='middle'><select name='type' class='forminput'><option value='xls' selected>{$ibforums->lang['arc_xls']}</option><option value='html'>{$ibforums->lang['arc_html']}</option></select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' align='center' id='row2'><input type="submit" value="{$ibforums->lang['arc_submit']}" class='forminput'></td>
|
||||
</tr>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function No_msg_inbox() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id='row1' colspan='5' align='center'><b>{$ibforums->lang['inbox_no_msg']}</b></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function prefs_add_dirs() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td colspan='2' id='category'><b>{$ibforums->lang['prefs_new']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1 colspan='2'>{$ibforums->lang['prefs_text_b']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function end_address_table() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</table></td></tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Address_header() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<td colspan='2' id='category'><b>{$ibforums->lang['address_current']}</b></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Address_none() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id='row1 colspan='2' align='center'><b>{$ibforums->lang['address_none']}</b></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function address_edit($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<td colspan='2' id='category'><b>{$ibforums->lang['member_edit']}</b></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1 align='left' valign='middle' colspan='2'>
|
||||
<table cellspacing='1' cellpadding='2' width='100%' border='0'>
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post">
|
||||
<input type='hidden' name='act' value='Msg'>
|
||||
<input type='hidden' name='CODE' value='12'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='MID' value='{$data[MEMBER]['contact_id']}'>
|
||||
<tr>
|
||||
<td valign='middle' align='left'><b>{$data[MEMBER]['contact_name']}</b></td>
|
||||
<td valign='middle' align='left'>{$ibforums->lang['enter_desc']}<br><input type='text' name='mem_desc' size='30' maxlength='60' value='{$data[MEMBER]['contact_desc']}' class='forminput'></td>
|
||||
<td valign='middle' align='left'>{$ibforums->lang['allow_msg']}<br>{$data[SELECT]}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='3' align='center'><input type="submit" value="{$ibforums->lang['submit_address_edit']}" class='forminput'></td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function render_address_row($entry) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id='row1 align='left' valign='middle'><a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Profile&CODE=03&MID={$entry['contact_id']}'><b>{$entry['contact_name']}</b></a> [ {$entry['contact_desc']} ]</td>
|
||||
<td id='row1 align='left' valign='middle'>
|
||||
[ <a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Msg&CODE=11&MID={$entry['contact_id']}' class='misc'>{$ibforums->lang['edit']}</a> ] :: [ <a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Msg&CODE=10&MID={$entry['contact_id']}'>{$ibforums->lang['delete']}</a> ]
|
||||
( {$entry['text']} )
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function address_add($mem_to_add) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td colspan='2' id='category'><b>{$ibforums->lang['member_add']}</b></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1 align='left' valign='middle' colspan='2'>
|
||||
<table cellspacing='1' cellpadding='2' width='100%' border='0'>
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post">
|
||||
<input type='hidden' name='act' value='Msg'>
|
||||
<input type='hidden' name='CODE' value='09'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<tr>
|
||||
<td valign='middle' align='left'>{$ibforums->lang['enter_a_name']}<br><input type='text' name='mem_name' size='20' maxlength='40' value='$mem_to_add' class='forminput'></td>
|
||||
<td valign='middle' align='left'>{$ibforums->lang['enter_desc']}<br><input type='text' name='mem_desc' size='30' maxlength='60' value='' class='forminput'></td>
|
||||
<td valign='middle' align='left'>{$ibforums->lang['allow_msg']}<br><select name='allow_msg' class='forminput'><option value='yes' selected>{$ibforums->lang['yes']}<option value='no'>{$ibforums->lang['no']}</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2' colspan='3' align='center'><input type="submit" value="{$ibforums->lang['submit_address']}" class='forminput'></td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function prefs_footer() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id='row2 colspan='2' align='center'><input type='submit' value='{$ibforums->lang['prefs_submit']}' class='forminput'></td>
|
||||
</tr></form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function prefs_row($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id='row1 colspan='2'><input type='text' name='{$data[ID]}' value='{$data[REAL]}' class='forminput'>{$data[EXTRA]}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Address_table_header() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td valign='top' id='row1 colspan='2'>
|
||||
<table cellpadding='4' cellspacing='0' align='center' width='100%' style='border:1px solid {$this->class['SKIN']['TABLE_BORDER_COL']}'>
|
||||
<tr>
|
||||
<td id='row2 align='left' width='60%' id='titlemedium'><b>{$ibforums->lang['member_name']}</b></td>
|
||||
<td id='row2 align='left' width='40%' id='titlemedium'><b>{$ibforums->lang['enter_block']}</b></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Render_msg($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<td id='row1 align='left'><span id='pagetitle'>{$data['msg']['title']}</span><br>{$data['msg']['msg_date']}</td>
|
||||
<td id='row1 align='right'>
|
||||
<a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&CODE=04&act=Msg&MID={$data['member']['id']}&MSID={$data['msg']['msg_id']}'>{$ibforums->skin[M_REPLY]}</a>
|
||||
|
||||
<a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&CODE=02&act=Msg&MID={$data['member']['id']}'>{$ibforums->skin[M_ADDMEM]}</a>
|
||||
|
||||
<a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&CODE=05&act=Msg&MSID={$data['msg']['msg_id']}&VID={$data['member']['VID']}'>{$ibforums->skin[M_DELETE]}</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan='2'>
|
||||
<table width='100%' cellpadding='4' cellspacing='1' bgcolor='{$ibforums->skin['tbl_border']}'>
|
||||
<tr>
|
||||
<td valign='middle' id='titlemedium' align='center' width='25%'>{$ibforums->lang['author']}</td>
|
||||
<td valign='middle' id='titlemedium' align='center' width='75%'>{$ibforums->lang['m_pmessage']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign='top' id='row1'><span id='normalname'>{$data['member']['name']}</span><br>{$data['member']['avatar']}<br><span id="membertitle">{$data['member']['title']}</span><span id='postdetails'><br>{$data['member']['MEMBER_GROUP']}<br>{$data['member']['MEMBER_POSTS']}<br>{$data['member']['MEMBER_JOINED']}</span></td>
|
||||
<td valign='top' height='100%' id='row1'>
|
||||
<span id='postcolor'>
|
||||
{$data['msg']['message']}
|
||||
{$data['member']['signature']}
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' id='titlemedium' align='center'>{$data['member']['MESSAGE_ICON']}{$data['member']['EMAIL_ICON']}{$data['member']['WEBSITE_ICON']}{$data['member']['ICQ_ICON']}{$data['member']['AOL_ICON']}{$data['member']['YAHOO_ICON']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1 align='right' colspan='2'>
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" name='jump' method="post">
|
||||
<input type='hidden' name='act' value='Msg'>
|
||||
<input type='hidden' name='CODE' value='01'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<font class='misc'><b>{$ibforums->lang[goto_folder]}:</b> {$data['jump']}
|
||||
<input type='submit' name='submit' value='{$ibforums->lang[goto_submit]}' class='forminput'>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function inbox_table_header($dirname, $info) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- inbox folder -->
|
||||
<script language='JavaScript'>
|
||||
<!--
|
||||
function CheckAll(cb) {
|
||||
var fmobj = document.mutliact;
|
||||
for (var i=0;i<fmobj.elements.length;i++) {
|
||||
var e = fmobj.elements[i];
|
||||
if ((e.name != 'allbox') && (e.type=='checkbox') && (!e.disabled)) {
|
||||
e.checked = fmobj.allbox.checked;
|
||||
}
|
||||
}
|
||||
}
|
||||
function CheckCheckAll(cb) {
|
||||
var fmobj = document.mutliact;
|
||||
var TotalBoxes = 0;
|
||||
var TotalOn = 0;
|
||||
for (var i=0;i<fmobj.elements.length;i++) {
|
||||
var e = fmobj.elements[i];
|
||||
if ((e.name != 'allbox') && (e.type=='checkbox')) {
|
||||
TotalBoxes++;
|
||||
if (e.checked) {
|
||||
TotalOn++;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (TotalBoxes==TotalOn) {fmobj.allbox.checked=true;}
|
||||
else {fmobj.allbox.checked=false;}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id};CODE=06;act=Msg" name='mutliact' method="post">
|
||||
<input type='hidden' name='act' value='Msg'>
|
||||
<input type='hidden' name='CODE' value='06'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<tr>
|
||||
<td valign='top' colspan='2'><span id='pagetitle'>$dirname</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2'><b>{$ibforums->lang['total_messages']}:</b> {$info['total_messages']} {$info['full_percent']}<br><b>{$ibforums->lang['messages_left']}</b> {$info['space_free']} {$info['full_messenger']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign='top' colspan='2'>
|
||||
<table cellpadding='4' cellspacing='1' align='center' width='100%' style='border:1px solid {$ibforums->skin['tbl_border']}'>
|
||||
<tr>
|
||||
<td align='left' width='5%' id='titlemedium'> </td>
|
||||
<td align='left' width='40%' id='titlemedium'><b>{$ibforums->lang['message_title']}</b></td>
|
||||
<td align='left' width='30%' id='titlemedium'><b>{$ibforums->lang['message_from']}</b></td>
|
||||
<td align='left' width='20%' id='titlemedium'><b>{$ibforums->lang['message_date']}</b></td>
|
||||
<td align='left' width='5%' id='titlemedium'><input name="allbox" type="checkbox" value="Check All" onClick="CheckAll();"></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function inbox_row($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id='row2 align='left' valign='middle'>{$data['msg']['icon']}</td>
|
||||
<td id='row2 align='left'><a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Msg&CODE=03&VID={$data['stat']['current_id']}&MSID={$data['msg']['msg_id']}'>{$data['msg']['title']}</a></td>
|
||||
<td id='row2 align='left'><a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Profile&MID={$data['msg']['from_id']}'>{$data['msg']['from_name']}</a> {$data['msg']['add_to_contacts']}</td>
|
||||
<td id='row2 align='left'>{$data['msg']['date']}</td>
|
||||
<td id='row2 align='left'><input type='checkbox' name='msgid-{$data['msg']['msg_id']}' value='yes' class='forminput'></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function end_inbox($vdi_html) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td align='right' nowrap id='titlemedium' colspan='5'>
|
||||
<input type='submit' name='move' value='{$ibforums->lang['move_button']}' class='forminput'> $vdi_html {$ibforums->lang['move_or_delete']} <input type='submit' name='delete' value='{$ibforums->lang['delete_button']}' class='forminput'> {$ibforums->lang['selected_msg']}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</td></tr>
|
||||
<tr>
|
||||
<td id='row1 align='left' valign='middle'>
|
||||
{$ibforums->skin['M_READ']} {$ibforums->lang['icon_read']}
|
||||
{$ibforums->skin['M_UNREAD']} {$ibforums->lang['icon_unread']}
|
||||
</td>
|
||||
<td id='row1 align='right' valign='middle'>
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id};CODE=01;act=Msg" name='jump' method="post">
|
||||
<input type='hidden' name='act' value='Msg'>
|
||||
<input type='hidden' name='CODE' value='01'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<b>{$ibforums->lang['goto_folder']}: </b> $vdi_html
|
||||
<input type='submit' name='submit' value='{$ibforums->lang['goto_submit']}' class='forminput'>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function send_form_footer() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td colspan='2' id='category'><b>{$ibforums->lang['msg_options']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' align='left' width='40%'> </td>
|
||||
<td id='row1' align='left' width='60%'>
|
||||
<input type='checkbox' name='add_sent' value='yes' checked> <b>{$ibforums->lang['auto_sent_add']}</b>
|
||||
<br><input type='checkbox' name='add_tracking' value='1'> <b>{$ibforums->lang['read_rec_notify']}</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2' align='center' colspan='2'>
|
||||
<input type="submit" value="{$ibforums->lang['submit_send']}" class='forminput' name='submit'>
|
||||
<input type="submit" value="{$ibforums->lang['pm_pre_button']}" class='forminput' name='preview'>
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Send_form($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post" name='REPLIER' onSubmit='return ValidateForm(1)'>
|
||||
<input type='hidden' name='act' value='Msg'>
|
||||
<input type='hidden' name='CODE' value='04'>
|
||||
<input type='hidden' name='MODE' value='01'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
|
||||
<td colspan='2' id='category'><b>{$ibforums->lang['to_whom']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' align='left' width='40%'>{$ibforums->lang['address_list']}</td>
|
||||
<td id='row1' align='left' width='60%' valign='top'>{$data[CONTACTS]}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' align='left' width='40%'>{$ibforums->lang['enter_name']}</td>
|
||||
<td id='row1' align='left' width='60%' valign='top'><input type='text' name='entered_name' value='{$data[N_ENTER]}' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' id='category'><b>{$ibforums->lang['enter_message']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' align='left' width='40%'>{$ibforums->lang['msg_title']}</td>
|
||||
<td id='row1' align='left' width='60%' valign='top'><input type='text' name='msg_title' size='40' maxlength='40' value='{$data[O_TITLE]}' class='forminput'></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function prefs_header() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<td colspan='2' id='category'><b>{$ibforums->lang['prefs_current']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1 colspan='2'>{$ibforums->lang['prefs_text_a']}</td>
|
||||
</tr>
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post">
|
||||
<input type='hidden' name='act' value='Msg'>
|
||||
<input type='hidden' name='CODE' value='08'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,98 @@
|
||||
<?php
|
||||
|
||||
class skin_online {
|
||||
|
||||
|
||||
|
||||
function end($links) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br>
|
||||
<table cellpadding='0' cellspacing='4' border='0' width='{$ibforums->skin['tbl_width']}' align='center'>
|
||||
<tr>
|
||||
<td valign='middle' align='left'>{$links[SHOW_PAGES]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_row($session) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Entry for {$session['member_id']} -->
|
||||
<tr>
|
||||
<td id='row1'>{$session['member_name']}</td>
|
||||
<td id='row1'>{$session['where_line']}</td>
|
||||
<td id='row1' align='center'>{$session['running_time']}</td>
|
||||
<td id='row1' align='center'>{$session['msg_icon']}</td>
|
||||
</tr>
|
||||
<!-- End of Entry -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Page_end($links) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- End content Table -->
|
||||
<tr>
|
||||
<td colspan='4' id='category'> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<table cellpadding='0' cellspacing='4' border='0' width='{$ibforums->skin['tbl_width']}' align='center'>
|
||||
<tr>
|
||||
<td valign='middle' align='left'>$links</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Page_header($links) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<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 cellpadding='0' cellspacing='4' border='0' width='{$ibforums->skin['tbl_width']}' align='center'>
|
||||
<tr>
|
||||
<td valign='middle' align='left'>$links</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='left' width='30%' id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'>{$ibforums->lang['member_name']}</td>
|
||||
<td align='left' width='30%' id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'>{$ibforums->lang['where']}</td>
|
||||
<td align='center' width='20%' id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'>{$ibforums->lang['time']}</td>
|
||||
<td align='left' width='10%' id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'> </td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
|
||||
class skin_poll {
|
||||
|
||||
|
||||
|
||||
function edit_link($tid, $fid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
[ <a href="{$ibforums->base_url}&act=Mod&CODE=20&f=$fid&t=$tid">{$ibforums->lang['ba_edit']}</a> ]
|
||||
EOF;
|
||||
}
|
||||
|
||||
function delete_link($tid, $fid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
[ <a href="{$ibforums->base_url}&act=Mod&CODE=22&f=$fid&t=$tid">{$ibforums->lang['ba_delete']}</a> ]
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Render_row_form($votes, $id, $answer) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id='row1' colspan='3'><INPUT type="radio" name="poll_vote" value="$id"> <b>$answer</b></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function ShowPoll_header($tid, $edit, $delete) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}" method="post">
|
||||
<input type='hidden' name='act' value='Poll'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='t' value='$tid'>
|
||||
<br>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='5' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='right' colspan='3' id='titlemedium'>$edit $delete</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' valign='middle' align='left' width='50%'><b>{$ibforums->lang['poll_s_choices']}</b></td>
|
||||
<td id='row1' valign='middle' align='left' width='10%'><b>{$ibforums->lang['poll_s_votes']}</b></td>
|
||||
<td id='row1' valign='middle' align='left' width='40%'><b>{$ibforums->lang['poll_s_stats']}</b></td>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function ShowPoll_footer($vote_button) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id='row2' align='center' colspan='3'>
|
||||
$vote_button
|
||||
</td></tr></table>
|
||||
</td></tr></table>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Render_row_results($votes, $id, $answer, $percentage, $width) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id='row1'><b>$answer</b></td>
|
||||
<td id='row1'><b>$votes</b></td>
|
||||
<td id='row1'><img src='{$ibforums->vars['img_url']}/bar_left.gif' border='0' width='4' height='11' align='middle' alt=''><img src='{$ibforums->vars['img_url']}/bar.gif' border='0' width='$width' height='11' align='middle' alt=''><img src='{$ibforums->vars['img_url']}/bar_right.gif' border='0' width='4' height='11' align='middle' alt=''> [$percentage%]</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,430 @@
|
||||
<?php
|
||||
|
||||
class skin_post {
|
||||
|
||||
|
||||
|
||||
function table_structure() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!--START TABLE-->
|
||||
<!--NAME FIELDS-->
|
||||
<!--TOPIC TITLE-->
|
||||
<!--POLL BOX-->
|
||||
<!--POST BOX-->
|
||||
<!--QUOTE BOX-->
|
||||
<!--POST ICONS-->
|
||||
<!--UPLOAD FIELD-->
|
||||
<!--MOD OPTIONS-->
|
||||
<!--END TABLE-->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function table_top($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<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="{$ibforums->skin['tbl_width']}" align='center' border="0" cellspacing="1" cellpadding="0" bgcolor="{$ibforums->skin['tbl_border']}">
|
||||
<tr>
|
||||
<td id='maintitleback' background='{$ibforums->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='{$ibforums->vars['img_url']}/tile_sub.gif' colspan="2">$data</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function EndForm($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<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="{$ibforums->lang['button_preview']}" tabindex='5' class='forminput'></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function smilie_table() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table align="center" cellspacing='1' cellpadding='3' border='0' id='row2' style="border-width:1px; border-color:{$ibforums->skin['tbl_border']}; border-style:solid; width:95%" align='left'>
|
||||
<tr>
|
||||
<td colspan='{$ibforums->vars['emo_per_row']}' align='center'>{$ibforums->lang['click_smilie']}</td>
|
||||
</tr>
|
||||
<!--THE SMILIES-->
|
||||
<tr>
|
||||
<td colspan='{$ibforums->vars['emo_per_row']}' id='row1' align='center'><a href='javascript:emo_pop()'>{$ibforums->lang['all_emoticons']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function TopicSummary_bottom() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Cgi-bot TopicSummaryBottom -->
|
||||
<tr>
|
||||
<td valign='left' colspan='2' id='titlemedium'><a href="javascript:PopUp('index.{$ibforums->vars['php_ext']}?act=ST&f={$ibforums->input['f']}&t={$ibforums->input['t']}','TopicSummary',700,450,1,1)">{$ibforums->lang['review_topic']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- Cgi-bot End TopicSummaryBottom -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function PostIcons() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td valign="top" id='row1'>{$ibforums->lang['post_icon']}</td>
|
||||
<td valign="top" width="100%" id='row1'>
|
||||
<INPUT type="radio" name="iconid" value="1"> <IMG SRC="{$ibforums->vars['img_url']}/icon1.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <INPUT type="radio" name="iconid" value="2" > <IMG SRC="{$ibforums->vars['img_url']}/icon2.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <INPUT type="radio" name="iconid" value="3" > <IMG SRC="{$ibforums->vars['img_url']}/icon3.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <INPUT type="radio" name="iconid" value="4" > <IMG SRC="{$ibforums->vars['img_url']}/icon4.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <INPUT type="radio" name="iconid" value="5" > <IMG SRC="{$ibforums->vars['img_url']}/icon5.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <INPUT type="radio" name="iconid" value="6" > <IMG SRC="{$ibforums->vars['img_url']}/icon6.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <INPUT type="radio" name="iconid" value="7" > <IMG SRC="{$ibforums->vars['img_url']}/icon7.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <br>
|
||||
<INPUT type="radio" name="iconid" value="8"> <IMG SRC="{$ibforums->vars['img_url']}/icon8.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <INPUT type="radio" name="iconid" value="9" > <IMG SRC="{$ibforums->vars['img_url']}/icon9.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <INPUT type="radio" name="iconid" value="10" > <IMG SRC="{$ibforums->vars['img_url']}/icon10.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <INPUT type="radio" name="iconid" value="11" > <IMG SRC="{$ibforums->vars['img_url']}/icon11.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <INPUT type="radio" name="iconid" value="12" > <IMG SRC="{$ibforums->vars['img_url']}/icon12.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <INPUT type="radio" name="iconid" value="13" > <IMG SRC="{$ibforums->vars['img_url']}/icon13.gif" HEIGHT='15' WIDTH='15' ALIGN='center' alt=''> <INPUT type="radio" name="iconid" value="14" > <IMG SRC="{$ibforums->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>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function errors($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->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>{$ibforums->lang['errors_found']}</b></font><hr noshade size='1' color='{$ibforums->skin['tbl_border']}'>$data</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Upload_field($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id="subtitle" colspan="2">{$ibforums->lang['upload_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1'>{$ibforums->lang['upload_text']} $data</td>
|
||||
<td id='row1' width="100%"><input class='textinput' type='file' size='30' name='FILE_UPLOAD'></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function topictitle_fields($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id="subtitle" colspan="2">{$ibforums->lang['tt_topic_settings']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1'>{$ibforums->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'>{$ibforums->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>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function TopicSummary_body($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<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%'>{$ibforums->lang['posted_on']} {$data['date']}<hr noshade size='1'><span id='postcolor'>{$data['post']}</span></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function preview($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->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>{$ibforums->lang['post_preview']}</b><hr noshade size='1' color='{$ibforums->skin['tbl_border']}'><span id='postcolor'>$data</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function TopicSummary_top() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<a name="top">
|
||||
<!-- Cgi-bot TopicSummaryTop -->
|
||||
<br>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td valign='left' colspan='2' id='titlemedium'>{$ibforums->lang['last_posts']}</td>
|
||||
</tr>
|
||||
<!-- Cgi-bot End TopicSummaryTop -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function nameField_reg() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- REG NAME -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function mod_options($jump) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id="subtitle" colspan="2">{$ibforums->lang['tt_options']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="row1">{$ibforums->lang['mod_options']}</td>
|
||||
<td id="row1" width="100%">$jump</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function quote_box($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id="subtitle" colspan="2">{$ibforums->lang['post_to_quote']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' valign="top">{$ibforums->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>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function postbox_buttons($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script language="javascript1.2">
|
||||
<!--
|
||||
|
||||
var MessageMax = "{$ibforums->lang['the_max_length']}";
|
||||
var Override = "{$ibforums->lang['override']}";
|
||||
function emo_pop()
|
||||
{
|
||||
|
||||
window.open('index.{$ibforums->vars['php_ext']}?act=legends&CODE=emoticons&s={$ibforums->session_id}','Legends','width=250,height=500,resizable=yes,scrollbars=yes');
|
||||
|
||||
}
|
||||
function CheckLength() {
|
||||
MessageLength = document.REPLIER.Post.value.length;
|
||||
message = "";
|
||||
|
||||
if (MessageMax !=0) {
|
||||
message = "{$ibforums->lang['js_post']}:\\n{$ibforums->lang['js_max_length']} " + MessageMax + " {$ibforums->lang['js_characters']}.";
|
||||
} else {
|
||||
message = "";
|
||||
}
|
||||
alert(message + "\\n{$ibforums->lang['js_used']} " + MessageLength + " {$ibforums->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 = "{$ibforums->lang['msg_no_title']}";
|
||||
}
|
||||
}
|
||||
|
||||
if (MessageLength < 2) {
|
||||
errors = "{$ibforums->lang['js_no_message']}";
|
||||
}
|
||||
if (MessageMax !=0) {
|
||||
if (MessageLength > MessageMax) {
|
||||
errors = "{$ibforums->lang['js_max_length']} " + MessageMax + " {$ibforums->lang['js_characters']}. {$ibforums->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 = "{$ibforums->lang['jscode_text_enter_url']}";
|
||||
var text_enter_url_name = "{$ibforums->lang['jscode_text_enter_url_name']}";
|
||||
var text_enter_image = "{$ibforums->lang['jscode_text_enter_image']}";
|
||||
var text_enter_email = "{$ibforums->lang['jscode_text_enter_email']}";
|
||||
var text_enter_flash = "{$ibforums->lang['jscode_text_enter_flash']}";
|
||||
var text_code = "{$ibforums->lang['jscode_text_code']}";
|
||||
var text_quote = "{$ibforums->lang['jscode_text_quote']}";
|
||||
var error_no_url = "{$ibforums->lang['jscode_error_no_url']}";
|
||||
var error_no_title = "{$ibforums->lang['jscode_error_no_title']}";
|
||||
var error_no_email = "{$ibforums->lang['jscode_error_no_email']}";
|
||||
var error_no_width = "{$ibforums->lang['jscode_error_no_width']}";
|
||||
var error_no_height = "{$ibforums->lang['jscode_error_no_height']}";
|
||||
//-->
|
||||
</script>
|
||||
<script language='Javascript' src='html/ibfcode.js'></script>
|
||||
|
||||
<tr>
|
||||
<td id="subtitle" colspan="2">{$ibforums->lang['ib_code_buttons']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1'>{$ibforums->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'>{$ibforums->lang['ct_font']}</option>
|
||||
<option value='Arial' style='font-family:Arial'>{$ibforums->lang['ct_arial']}</option>
|
||||
<option value='Times' style='font-family:Times'>{$ibforums->lang['ct_times']}</option>
|
||||
<option value='Courier' style='font-family:Courier'>{$ibforums->lang['ct_courier']}</option>
|
||||
<option value='Impact' style='font-family:Impact'>{$ibforums->lang['ct_impact']}</option>
|
||||
<option value='Geneva' style='font-family:Geneva'>{$ibforums->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'>{$ibforums->lang['ct_size']}</option>
|
||||
<option value='1'>{$ibforums->lang['ct_sml']}</option>
|
||||
<option value='7'>{$ibforums->lang['ct_lrg']}</option>
|
||||
<option value='14'>{$ibforums->lang['ct_lest']}</option>
|
||||
</select><select name='fcolor' class='codebuttons' onchange="alterfont(this.options[this.selectedIndex].value, 'COLOR')">
|
||||
<option value='0'>{$ibforums->lang['ct_color']}</option>
|
||||
<option value='blue' style='color:blue'>{$ibforums->lang['ct_blue']}</option>
|
||||
<option value='red' style='color:red'>{$ibforums->lang['ct_red']}</option>
|
||||
<option value='purple' style='color:purple'>{$ibforums->lang['ct_purple']}</option>
|
||||
<option value='orange' style='color:orange'>{$ibforums->lang['ct_orange']}</option>
|
||||
<option value='yellow' style='color:yellow'>{$ibforums->lang['ct_yellow']}</option>
|
||||
<option value='gray' style='color:gray'>{$ibforums->lang['ct_grey']}</option>
|
||||
<option value='green' style='color:green'>{$ibforums->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">{$ibforums->lang['post']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1'>(<a href='javascript:CheckLength()'>{$ibforums->lang['check_length']}</a>)<br><br><!--SMILIE TABLE--><img src="{$ibforums->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%">{$ibforums->lang['enable_emo']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type='checkbox' name='enablesig' value='yes' checked></td>
|
||||
<td width="100%">{$ibforums->lang['enable_sig']}</td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function nameField_unreg($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id="subtitle" colspan="2">{$ibforums->lang['unreg_namestuff']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="row1">{$ibforums->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>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function poll_box($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id="subtitle" colspan="2">{$ibforums->lang['tt_poll_settings']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1'>{$ibforums->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%">{$ibforums->lang['poll_only']}</td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
|
||||
class skin_printpage {
|
||||
|
||||
|
||||
|
||||
function pp_postentry($poster, $entry ) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<b>{$ibforums->lang['by']}: {$entry['author_name']}</b> {$this->class['LANG']['on']} {$entry['post_date']}
|
||||
<br><br>
|
||||
{$entry['post']}
|
||||
<hr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function pp_end() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<i>{$ibforums->lang['end']}</i>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function pp_header($forum_name, $topic_title, $topic_starter) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<html>
|
||||
<head>
|
||||
<title>{$ibforums->vars['board_name']} [Powered by IB Forums]</title>
|
||||
</head>
|
||||
<body bgcolor='#FFFFFF' alink='#000000' vlink='#000000' link='#000000'>
|
||||
<table width='90%' border='0' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<font face='arial' size='3' color='#000000'>
|
||||
<b>{$ibforums->lang['title']}</b>
|
||||
<br><br>
|
||||
-{$ibforums->vars['board_name']}<br>
|
||||
+--{$ibforums->lang['forum']}: $forum_name<br>
|
||||
+---{$ibforums->lang['topic']}: $topic_title {$ibforums->lang['start']} $topic_starter
|
||||
<hr noshade size='1' color='#000000'>
|
||||
<br>
|
||||
<br>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,166 @@
|
||||
<?php
|
||||
|
||||
class skin_profile {
|
||||
|
||||
|
||||
|
||||
function user_edit($info) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td align='left'><a href='{$info['base_url']}&act=UserCP&CODE=22'>{$ibforums->lang['edit_my_sig']}</a> |
|
||||
<a href='{$info['base_url']}&act=UserCP&CODE=24'>{$ibforums->lang['edit_avatar']}</a> |
|
||||
<a href='{$info['base_url']}&act=UserCP&CODE=01'>{$ibforums->lang['edit_profile']}</a></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_profile($info) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='{$ibforums->skin['tbl_width']}' align='center'>
|
||||
<tr>
|
||||
<td><span id='pagetitle'>{$info['name']}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left'><a href='{$info['base_url']}&act=Search&CODE=01&cat_forum=cat&cats=all&useridsearch={$info['mid']}'>{$ibforums->lang['find_posts']}</a> |
|
||||
<a href='{$info['base_url']}&act=Msg&CODE=02&MID={$info['mid']}'>{$ibforums->lang['add_to_contact']}</a></td>
|
||||
</tr>
|
||||
<!--MEM OPTIONS-->
|
||||
</table>
|
||||
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='{$ibforums->skin['tbl_width']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='100%' bgcolor='{$ibforums->skin['tbl_border']}'>
|
||||
<tr>
|
||||
<td width='50%' valign='top' id='row1'>
|
||||
<table cellpadding='6' cellspacing='1' border='0' width='100%' id='row1'>
|
||||
<tr>
|
||||
<td align='center' colspan='2' id='titlemedium'>{$ibforums->lang['active_stats']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' width='30%' valign='top'><b>{$ibforums->lang['total_posts']}</b></td>
|
||||
<td align='left' id='bottomborder'><b>{$info['posts']}</b><br>( {$info['total_pct']}% {$ibforums->lang['total_percent']} )</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='top'><b>{$ibforums->lang['posts_per_day']}</b></td>
|
||||
<td align='left' id='bottomborder'><b>{$info['posts_day']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='top'><b>{$ibforums->lang['joined']}</b></td>
|
||||
<td align='left' id='bottomborder'><b>{$info['joined']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='top'><b>{$ibforums->lang['fav_forum']}</b></td>
|
||||
<td align='left'><a href='{$info['base_url']}&act=SF&f={$info['fav_id']}'>{$info['fav_forum']}</a><br>{$info['fav_posts']} {$ibforums->lang['fav_posts']}<br>( {$info['percent']}% {$ibforums->lang['fav_percent']} )</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='top'><b>{$ibforums->lang['user_local_time']}</b></td>
|
||||
<td align='left'>{$info['local_time']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
<!-- Communication -->
|
||||
|
||||
<td width='50%' valign='top' id='row1'>
|
||||
<table cellpadding='6' cellspacing='1' border='0' width='100%' id='row1'>
|
||||
<tr>
|
||||
<td align='center' colspan='2' id='titlemedium'>{$ibforums->lang['communicate']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' width='30%' valign='top'><b>{$ibforums->lang['email']}</b></td>
|
||||
<td align='left' id='bottomborder'>{$info['email']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='top'><b>{$ibforums->lang['aim']}</b></td>
|
||||
<td align='left' id='bottomborder'>{$info['aim_name']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='top'><b>{$ibforums->lang['icq']}</b></td>
|
||||
<td align='left' id='bottomborder'>{$info['icq_number']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='top'><b>{$ibforums->lang['yahoo']}</b></td>
|
||||
<td align='left' id='bottomborder'>{$info['yahoo']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='top'><b>{$ibforums->lang['msn']}</b></td>
|
||||
<td align='left' id='bottomborder'>{$info['msn_name']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='top'><b>{$ibforums->lang['pm']}</b></td>
|
||||
<td align='left'><a href='{$info['base_url']}&act=Msg&CODE=4&MID={$info['mid']}'>{$ibforums->lang['click_here']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
<!-- END CONTENT ROW 1 -->
|
||||
<!-- information -->
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='50%' valign='top' id='row1'>
|
||||
<table cellpadding='6' cellspacing='1' border='0' width='100%' id='row1'>
|
||||
<tr>
|
||||
<td align='center' colspan='2' id='titlemedium'>{$ibforums->lang['info']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' width='30%' valign='top'><b>{$ibforums->lang['mgroup']}</b></td>
|
||||
<td align='left' id='bottomborder'>{$info['group_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='top'><b>{$ibforums->lang['mtitle']}</b></td>
|
||||
<td align='left' id='bottomborder'>{$info['member_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='top'><b>{$ibforums->lang['homepage']}</b></td>
|
||||
<td align='left' id='bottomborder'>{$info['homepage']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='top'><b>{$ibforums->lang['birthday']}</b></td>
|
||||
<td align='left' id='bottomborder'>{$info['birthday']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='top'><b>{$ibforums->lang['location']}</b></td>
|
||||
<td align='left' id='bottomborder'>{$info['location']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='top'><b>{$ibforums->lang['interests']}</b></td>
|
||||
<td align='left'>{$info['interests']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
<!-- Profile -->
|
||||
|
||||
<td width='50%' valign='top' id='row1'>
|
||||
<table cellpadding='6' cellspacing='1' border='0' width='100%' id='row1'>
|
||||
<tr>
|
||||
<td align='center' colspan='2' id='titlemedium'>{$ibforums->lang['post_detail']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' width='30%' valign='top'><b>{$ibforums->lang['avatar']}</b></td>
|
||||
<td align='left' id='bottomborder'>{$info['avatar']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='top'><b>{$ibforums->lang['siggie']}</b></td>
|
||||
<td align='left'>{$info['signature']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' id='row2' align='center' style='height:24px'><( <a href='javascript:history.go(-1)'>{$ibforums->lang['back']}</a> )</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,219 @@
|
||||
<?php
|
||||
|
||||
class skin_register {
|
||||
|
||||
|
||||
|
||||
function lost_pass_form() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br>
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post">
|
||||
<input type='hidden' name='act' value='Reg'>
|
||||
<input type='hidden' name='CODE' value='11'>
|
||||
<table cellpadding='0' cellspacing='4' border='0' width='{$ibforums->skin['tbl_width']}' align='center'>
|
||||
<tr>
|
||||
<td valign='middle' align='left'><b>{$ibforums->lang['lp_header']}</b><br><br>{$ibforums->lang['lp_text']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td valign='left' colspan='2' id='titlemedium'>{$ibforums->lang['complete_form']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' width='40%'>{$ibforums->lang['lp_user_name']}</td>
|
||||
<td id='row1'><input type='text' size='32' maxlength='32' name='member_name' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2' align='center' colspan='2'>
|
||||
<input type="submit" value="{$ibforums->lang['lp_send']}" class='forminput'>
|
||||
</td></tr></table>
|
||||
</td></tr></table>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_authorise($member) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td valign='left' id='titlemedium'>{$ibforums->lang['registration_process']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1'>{$ibforums->lang['thank_you']} {$member['name']}. {$ibforums->lang['auth_text']} {$member['email']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_preview($member) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td valign='left' id='titlemedium'>{$ibforums->lang['registration_process']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1'>{$ibforums->lang['thank_you']} {$member['name']}. {$ibforums->lang['preview_reg_text']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_dumb_form($type="reg") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script language='javascript'>
|
||||
<!--
|
||||
function Validate() {
|
||||
// Check for Empty fields
|
||||
if (document.REG.uid.value == "" || document.REG.aid.value == "") {
|
||||
alert ("{$ibforums->lang['js_blanks']}");
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<br>
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post" name='REG' onSubmit='return Validate()'>
|
||||
<input type='hidden' name='act' value='Reg'>
|
||||
<input type='hidden' name='CODE' value='03'>
|
||||
<input type='hidden' name='type' value='$type'>
|
||||
<table cellpadding='0' cellspacing='4' border='0' width='{$ibforums->skin['tbl_width']}' align='center'>
|
||||
<tr>
|
||||
<td valign='middle' align='left'><b>{$ibforums->lang['dumb_header']}</b><br><br>{$ibforums->lang['dumb_text']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td valign='left' colspan='2' id='titlemedium'>{$ibforums->lang['complete_form']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' width='40%'>{$ibforums->lang['user_id']}</td>
|
||||
<td id='row1'><input type='text' size='32' maxlength='32' name='uid' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2' width='40%'>{$ibforums->lang['val_key']}</td>
|
||||
<td id='row2'><input type='text' size='32' maxlength='50' name='aid' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2' align='center' colspan='2'>
|
||||
<input type="submit" value="{$ibforums->lang['dumb_submit']}" class='forminput'>
|
||||
</td></tr></table>
|
||||
</td></tr></table>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function ShowForm($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script language='javascript'>
|
||||
<!--
|
||||
function Validate() {
|
||||
// Check for Empty fields
|
||||
if (document.REG.UserName.value == "" || document.REG.PassWord.value == "" || document.REG.PassWord_Check.value == "" || document.REG.EmailAddress.value == "") {
|
||||
alert ("{$ibforums->lang['js_blanks']}");
|
||||
return false;
|
||||
}
|
||||
|
||||
// Have we checked the checkbox?
|
||||
|
||||
if (document.REG.agree.checked == true) {
|
||||
return true;
|
||||
} else {
|
||||
alert ("{$ibforums->lang['js_no_check']}");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<br>
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post" name='REG' onSubmit='return Validate()'>
|
||||
<input type='hidden' name='act' value='Reg'>
|
||||
<input type='hidden' name='CODE' value='02'>
|
||||
<table cellpadding='0' cellspacing='4' border='0' width='{$ibforums->skin['tbl_width']}' align='center'>
|
||||
<tr>
|
||||
<td valign='middle' align='left'>{$ibforums->lang['reg_header']}</b><br><br>{$data['TEXT']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td valign='left' colspan='2' id='titlemedium'>{$ibforums->lang['complete_form']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' width='40%'>{$ibforums->lang['user_name']}</td>
|
||||
<td id='row1'><input type='text' size='32' maxlength='64' name='UserName' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2' width='40%'>{$ibforums->lang['pass_word']}</td>
|
||||
<td id='row2'><input type='password' size='32' maxlength='32' name='PassWord' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2' width='40%'>{$ibforums->lang['re_enter_pass']}</td>
|
||||
<td id='row2'><input type='password' size='32' maxlength='32' name='PassWord_Check' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' width='40%'>{$ibforums->lang['email_address']}</td>
|
||||
<td id='row1'><input type='text' size='32' maxlength='50' name='EmailAddress' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' width='40%'>{$ibforums->lang['email_address_two']}</td>
|
||||
<td id='row1'><input type='text' size='32' maxlength='50' name='EmailAddress_two' class='forminput'></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td valign='left' id='titlemedium'>{$ibforums->lang['terms_service']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' align='center'>{$ibforums->lang['terms_service_text']}<br>
|
||||
<textarea cols='75' rows='9' wrap='soft' name='Post' class='textinput' style='font-size:10px'>{$data[RULES]}</textarea>
|
||||
<br><br><b>{$ibforums->lang['agree_submit']}</b> <input type='checkbox' name='agree' value='1'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2' align='center'>
|
||||
<input type="submit" value="{$ibforums->lang['submit_form']}" class='forminput'>
|
||||
</td></tr></table>
|
||||
</td></tr></table>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,292 @@
|
||||
<?php
|
||||
|
||||
class skin_search {
|
||||
|
||||
|
||||
//
|
||||
function RenderRow($Data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Begin Topic Entry {$Data['tid']} -->
|
||||
<tr>
|
||||
<td align='center' id='forum2'>{$Data['folder_img']}</td>
|
||||
<td align='center' width='3%' id='forum1'>{$Data['topic_icon']}</td>
|
||||
<td id='forum2'>
|
||||
<table width='100%' border='0' cellspacing='0' cellpadding='0'>
|
||||
<tr>
|
||||
<td valign='middle'>{$Data['go_new_post']}</td>
|
||||
<td width='100%'><span id='linkthru'>{$Data['prefix']} <a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?act=ST&f={$Data['forum_id']}&t={$Data['tid']}&hl={$Data['keywords']}&s={$ibforums->session_id}' id='linkthru'>{$Data['title']}</a></span> {$Data[PAGES]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<span id='desc'>{$Data['description']}</span></td>
|
||||
<td id='forum2' width='20%' align='center'><span id="linkthru"><a href="{$ibforums->base_url}&act=SF&f={$Data['forum_id']}">{$Data['forum_name']}</a></span></td>
|
||||
<td align='center' id='forum1'>{$Data['starter']}</td>
|
||||
<td align='center' id='forum2'>{$Data['posts']}</td>
|
||||
<td align='center' id='forum1'>{$Data['views']}</td>
|
||||
<td id='forum1'>{$Data['last_post']}<br><a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=ST&f={$Data['forum_id']}&t={$Data['tid']}&view=getlastpost'>{$Data['last_text']}</a> <b>{$Data['last_poster']}</b></td>
|
||||
</tr>
|
||||
<!-- End Topic Entry {$Data['tid']} -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function end($Data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr><td colspan='8' id='titlemedium'> </td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellpadding='0 'cellspacing='4' border='0' width='{$ibforums->skin['tbl_width']}' align='center'>
|
||||
<tr>
|
||||
<td valign='middle' width='50%' nowrap align='left'>{$Data[SHOW_PAGES]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellpadding='0' cellspacing='4' border='0' width='50%' align='center'>
|
||||
<tr>
|
||||
<td valign='middle' nowrap>{$ibforums->skin['B_NEW']} {$ibforums->lang['pm_open_new']}</td>
|
||||
<td valign='middle' nowrap>{$ibforums->skin['B_HOT']} {$ibforums->lang['pm_hot_new']}</td>
|
||||
<td valign='middle' nowrap>{$ibforums->skin['B_POLL']} {$ibforums->lang['pm_poll']}</td>
|
||||
<td valign='middle' nowrap>{$ibforums->skin['B_LOCKED']} {$ibforums->lang['pm_locked']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign='middle' nowrap>{$ibforums->skin['B_NORM']} {$ibforums->lang['pm_open_no']}</td>
|
||||
<td valign='middle' nowrap>{$ibforums->skin['B_HOT_NN']} {$ibforums->lang['pm_hot_no']}</td>
|
||||
<td valign='middle' nowrap>{$ibforums->skin['B_POLL_NN']} {$ibforums->lang['pm_poll_no']}</td>
|
||||
<td valign='middle' nowrap>{$ibforums->skin['B_MOVED']} {$ibforums->lang['pm_moved']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Form($forums, $cats) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Search Form -->
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post" name='sForm'>
|
||||
<input type='hidden' name='act' value='Search'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='CODE' value='01'>
|
||||
$hidden_fields
|
||||
<br>
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td colspan='2' id="titlemedium" background='{$ibforums->vars['img_url']}/tile_sub.gif' align='center'>{$ibforums->lang['keywords_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='title' width='50%'><b>{$ibforums->lang['key_search']}</b></td>
|
||||
<td id='title' width='50%'><b>{$ibforums->lang['mem_search']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' valign='top'><input type='text' maxlength='100' size='40' name='keywords' class='forminput'> <select name='smethod' class='forminput'><option value='simple'>{$ibforums->lang['se_simple']}</option><option value='advanced'>{$ibforums->lang['se_advanced']}</option></select><br><br>{$ibforums->lang['keysearch_text']}</td>
|
||||
<td id='row1' valign='top'><input type='text' maxlength='100' size='50' name='namesearch' class='forminput'><br><br><input name='exactname' type='radio' value='1' checked> {$ibforums->lang['match_name_ex']}<br><input name='exactname' type='radio' value='1'> {$ibforums->lang['match_name_pa']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
|
||||
<tr>
|
||||
<td colspan='2' id="titlemedium" background='{$ibforums->vars['img_url']}/tile_sub.gif' align='center'>{$ibforums->lang['search_options']}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td id='title' width='50%' valign='top'><b>{$ibforums->lang['search_where']}</b></td>
|
||||
<td id='title' width='50%' valign='top'><b>{$ibforums->lang['search_refine']}</b></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td id='row1' valign='middle'>
|
||||
<table cellspacing='4' cellpadding='0' width='100%' align='center' border='0'>
|
||||
<tr>
|
||||
<td valign='top' width='40%' nowrap><input type='radio' name='cat_forum' value='cat'> <b>{$ibforums->lang['search_cats']}</b></td>
|
||||
<td valign='top' width='60%'>$cats</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign='top' nowrap><input type='radio' name='cat_forum' value='forum' checked> <b>{$ibforums->lang['search_forums']}</b></td>
|
||||
<td valign='top'>$forums</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type='radio' name='search_in' value='posts' checked> {$ibforums->lang['in_posts']}</td>
|
||||
<td><input type='radio' name='search_in' value='titles'> {$ibforums->lang['in_topics']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td id='row1' valign='top'>
|
||||
<table cellspacing='4' cellpadding='0' width='100%' align='center' border='0'>
|
||||
<tr>
|
||||
<td valign='top'>
|
||||
<b>{$ibforums->lang['search_from']}</b>
|
||||
<br>
|
||||
<select name='prune' class='forminput'>
|
||||
<option value='1'>{$ibforums->lang['today']}
|
||||
<option value='7'>{$ibforums->lang['this_week']}
|
||||
<option value='30' selected>{$ibforums->lang['this_month']}
|
||||
<option value='365'>{$ibforums->lang['this_year']}
|
||||
<option value='0'>{$ibforums->lang['ever']}
|
||||
</select>
|
||||
<br>{$ibforums->lang['and']} <input type='radio' name='prune_type' value='older' class='forminput' style='background-color:{$ibforums->skin['MISCBACK_ONE']}'> {$ibforums->lang['older']} <input type='radio' name='prune_type' value='newer' class='forminput' style='background-color:{$ibforums->skin['MISCBACK_ONE']}' checked> {$ibforums->lang['newer']}
|
||||
</td>
|
||||
<td valign='top'>
|
||||
<b>{$ibforums->lang['sort_results']}</b><br>
|
||||
<select name='sort_key' class='forminput'>
|
||||
<option value='last_post'>{$ibforums->lang['last_date']}</option>
|
||||
<option value='posts'>{$ibforums->lang['number_topics']}</option>
|
||||
<option value='starter_name'>{$ibforums->lang['poster_name']}</option>
|
||||
<option value='forum_id'>{$ibforums->lang['forum_name']}</option>
|
||||
</select>
|
||||
<br><input type='radio' name='sort_order' value='desc' checked>{$ibforums->lang['descending']}
|
||||
<br><input type='radio' name='sort_order' value='asc''>{$ibforums->lang['ascending']}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' colspan='2' align='center'><input type='submit' value='{$ibforums->lang['do_search']}' class='forminput'></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<SCRIPT LANGUAGE="JavaScript1.1">
|
||||
function chooseForum() {
|
||||
document.sForm.cat_forum[1].checked = true;
|
||||
}
|
||||
function chooseCat() {
|
||||
document.sForm.cat_forum[0].checked = true;
|
||||
}
|
||||
</SCRIPT>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function active_start($Data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script language='Javascript'>
|
||||
<!--
|
||||
function checkvalues() {
|
||||
f = document.dateline;
|
||||
if (f.st_day.value < f.end_day.value) {
|
||||
alert("{$ibforums->lang['active_js_error']}");
|
||||
return false;
|
||||
}
|
||||
if (f.st_day.value == f.end_day.value) {
|
||||
alert("{$ibforums->lang['active_js_error']}");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
-->
|
||||
</script>
|
||||
<br>
|
||||
<table cellpadding='0 'cellspacing='4' border='0' width='{$ibforums->skin['tbl_width']}' align='center'>
|
||||
<tr>
|
||||
<td valign='middle' nowrap align='left'><span id='pagetitle'>{$ibforums->lang['active_topics']}</span><br>{$Data[SHOW_PAGES]}</td>
|
||||
<td valign='middle' align='right'>
|
||||
<form action='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}' method='POST' name='dateline' onSubmit='return checkvalues();'>
|
||||
<input type='hidden' name='act' value='Search'>
|
||||
<input type='hidden' name='CODE' value='getactive'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellpadding='2' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td id='maintitle' background='{$ibforums->vars['img_url']}/tile_back.gif' align='center'>
|
||||
{$ibforums->lang['active_st_text']}
|
||||
<select name='st_day' class='forminput'>
|
||||
<option value='s1'>{$ibforums->lang['active_yesterday']}</option>
|
||||
<option value='s2'>2 {$ibforums->lang['active_days']}</option>
|
||||
<option value='s3'>3 {$ibforums->lang['active_days']}</option>
|
||||
<option value='s4'>4 {$ibforums->lang['active_days']}</option>
|
||||
<option value='s5'>5 {$ibforums->lang['active_days']}</option>
|
||||
<option value='s6'>6 {$ibforums->lang['active_days']}</option>
|
||||
<option value='s7'>{$ibforums->lang['active_week']}</option>
|
||||
<option value='s30'>{$ibforums->lang['active_month']}</option>
|
||||
</select>
|
||||
{$ibforums->lang['active_end_text']}
|
||||
<select name='end_day' class='forminput'>
|
||||
<option value='e0'>{$ibforums->lang['active_today']}</option>
|
||||
<option value='e1'>{$ibforums->lang['active_yesterday']}</option>
|
||||
<option value='e2'>2 {$ibforums->lang['active_days']}</option>
|
||||
<option value='e3'>3 {$ibforums->lang['active_days']}</option>
|
||||
<option value='e4'>4 {$ibforums->lang['active_days']}</option>
|
||||
<option value='e5'>5 {$ibforums->lang['active_days']}</option>
|
||||
<option value='e6'>6 {$ibforums->lang['active_days']}</option>
|
||||
<option value='e7'>{$ibforums->lang['active_week']}</option>
|
||||
</select>
|
||||
<input type='submit' value='>>' class='forminput'></form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%' align='center'>
|
||||
<tr>
|
||||
<td id='mainbg'>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td id='titlemedium' colspan='2' background='{$ibforums->vars['img_url']}/tile_sub.gif'> </td>
|
||||
<td align='left' id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'>{$ibforums->lang['h_topic_title']}</td>
|
||||
<td align='center' id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'>{$ibforums->lang['h_forum_name']}</td>
|
||||
<td align='center' id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'>{$ibforums->lang['h_topic_starter']}</td>
|
||||
<td align='center' id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'>{$ibforums->lang['h_replies']}</td>
|
||||
<td align='center' id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'>{$ibforums->lang['h_hits']}</td>
|
||||
<td id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'>{$ibforums->lang['h_last_action']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function start($Data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Cgi-bot Start Forum page unique top -->
|
||||
<table cellpadding='0 'cellspacing='4' border='0' width='{$ibforums->skin['tbl_width']}' align='center'>
|
||||
<tr>
|
||||
<td valign='middle' width='50%' nowrap align='left'>{$Data[SHOW_PAGES]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellpadding='1' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%' align='center'>
|
||||
<tr>
|
||||
<td id='mainbg'>
|
||||
<table cellpadding='2' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td id='titlemedium' colspan='2' background='{$ibforums->vars['img_url']}/tile_sub.gif'> </td>
|
||||
<td align='left' id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'>{$ibforums->lang['h_topic_title']}</td>
|
||||
<td align='center' id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'>{$ibforums->lang['h_forum_name']}</td>
|
||||
<td align='center' id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'>{$ibforums->lang['h_topic_starter']}</td>
|
||||
<td align='center' id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'>{$ibforums->lang['h_replies']}</td>
|
||||
<td align='center' id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'>{$ibforums->lang['h_hits']}</td>
|
||||
<td id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'>{$ibforums->lang['h_last_action']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function active_none() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr><td colspan='8' id='row1' align='center'><b>{$ibforums->lang['active_no_topics']}</b></td></tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,114 @@
|
||||
<?php
|
||||
|
||||
class skin_stats {
|
||||
|
||||
|
||||
|
||||
function page_title($title) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' align='center'>
|
||||
<tr>
|
||||
<td valign='middle' align='left'><span id='pagetitle'>{$title}</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function group_strip( $group ) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='5' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td colspan='4' id='titlemedium' align='center' background='{$ibforums->vars['img_url']}/tile_sub.gif'>$group</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='30%' align='left' id='category' valign='middle'>{$ibforums->lang['leader_name']}</td>
|
||||
<td width='40%' align='center' id='category' valign='middle'>{$ibforums->lang['leader_forums']}</td>
|
||||
<td align='center' width='25%' id='category' valign='middle'>{$ibforums->lang['leader_location']}</td>
|
||||
<td align='center' width='5%' id='category' valign='middle'> </td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function leader_row($info, $forums) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td align='left' id='row1' valign='middle'><a href='{$ibforums->base_url}&act=Profile&MID={$info['id']}'>{$info['name']}</a></td>
|
||||
<td align='center' id='row1' valign='middle'>$forums</td>
|
||||
<td align='center' id='row1' valign='middle'>{$info['location']}</td>
|
||||
<td align='center' id='row2' valign='middle'>{$info['msg_icon']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function close_strip() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function top_poster_header() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='5' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='30%' align='left' background='{$ibforums->vars['img_url']}/tile_sub.gif' id='titlemedium' valign='middle'>{$ibforums->lang['member']}</td>
|
||||
<td width='20%' align='center' background='{$ibforums->vars['img_url']}/tile_sub.gif' id='titlemedium' valign='middle'>{$ibforums->lang['member_joined']}</td>
|
||||
<td align='center' width='15%' background='{$ibforums->vars['img_url']}/tile_sub.gif' id='titlemedium' valign='middle'>{$ibforums->lang['member_posts']}</td>
|
||||
<td align='center' width='15%' background='{$ibforums->vars['img_url']}/tile_sub.gif' id='titlemedium' valign='middle'>{$ibforums->lang['member_today']}</td>
|
||||
<td align='center' width='20%' background='{$ibforums->vars['img_url']}/tile_sub.gif' id='titlemedium' valign='middle'>{$ibforums->lang['member_percent']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function top_poster_row($info) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td align='left' id='row1' valign='middle'><a href='{$ibforums->base_url}&act=Profile&MID={$info['id']}'>{$info['name']}</a></td>
|
||||
<td align='center' id='row1' valign='middle'>{$info['joined']}</td>
|
||||
<td align='center' id='row1' valign='middle'>{$info['posts']}</td>
|
||||
<td align='center' id='row2' valign='middle'>{$info['tpost']}</td>
|
||||
<td align='center' id='row2' valign='middle'>{$info['today_pct']}%</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function top_poster_footer($info) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td colspan='5' align='center' id='titlemedium' valign='middle'>{$ibforums->lang['total_today']} $info</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function top_poster_no_info() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td colspan='5' align='center' id='row1' valign='middle'>{$ibforums->lang['no_info']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,258 @@
|
||||
<?php
|
||||
|
||||
class skin_topic {
|
||||
|
||||
|
||||
|
||||
function mod_cp_link($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
( <a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=ModCP&f=$data'>{$ibforums->lang['mod_cp']}</a> )
|
||||
EOF;
|
||||
}
|
||||
|
||||
function report_link($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Report&f={$data[FORUM_ID]}&t={$data[TOPIC_ID]}&p={$data[POST_ID]}'>{$ibforums->lang['snitch_geezer_to_a_copper']}</a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function ip_show($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
{$ibforums->lang['ip']}: $data
|
||||
EOF;
|
||||
}
|
||||
|
||||
function golastpost_link($fid, $tid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
( <a href='{$ibforums->base_url}&act=ST&f=$fid&t=$tid&view=getnewpost'>{$ibforums->lang['go_new_post']}</a> )
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Mod_Panel($data, $fid, $tid, $modcp=" ") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' align='center'>
|
||||
<tr>
|
||||
<td align='left'>$modcp</td>
|
||||
<td align='right'>
|
||||
<form method='POST' name='modform' action='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='t' value='$tid'>
|
||||
<input type='hidden' name='f' value='$fid'>
|
||||
<input type='hidden' name='st' value='{$ibforums->input['st']}'>
|
||||
<input type='hidden' name='act' value='Mod'>
|
||||
<select name='CODE' class='forminput'>
|
||||
<option value='-1'>{$ibforums->lang['moderation_ops']}</option>
|
||||
$data
|
||||
</select> <input type='submit' value='{$ibforums->lang['jmp_go']}' class='forminput'>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function mod_wrapper($id="", $text="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<option value='$id'>$text</option>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function TableFooter($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</table></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='mainbg'>
|
||||
<table width='100%' border='0' cellspacing='1' cellpadding='4'>
|
||||
<tr>
|
||||
<td id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif' width='100%'>
|
||||
<table width='100%' border='0' cellspacing='0' cellpadding='0'>
|
||||
<tr>
|
||||
<td align='left'><b>{$ibforums->lang['topic_stats']}</b></td>
|
||||
<td align='right'><b><a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Track&f={$data['FORUM']['id']}&t={$data['TOPIC']['tid']}'>{$ibforums->lang['track_topic']}</a> |
|
||||
<a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Forward&f={$data['FORUM']['id']}&t={$data['TOPIC']['tid']}'>{$ibforums->lang['forward']}</a> |
|
||||
<a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Print&f={$data['FORUM']['id']}&t={$data['TOPIC']['tid']}'>{$ibforums->lang['print']}</a></b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width='{$ibforums->skin['tbl_width']}' align='center' border='0' cellspacing='0' cellpadding='4'>
|
||||
<tr>
|
||||
<td width='100%'>{$data[TOPIC][SHOW_PAGES]}<br><a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=SF&f={$data['FORUM']['id']}'>Back to {$data['FORUM']['name']}</a></td>
|
||||
<td align='right' nowrap>{$data[TOPIC][REPLY_BUTTON]}<a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Post&CODE=00&f={$data[FORUM]['id']}' title='{$ibforums->lang['start_new_topic']}'>{$ibforums->skin['A_POST']}</a>{$data[TOPIC][POLL_BUTTON]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<table width='{$ibforums->skin['tbl_width']}' align='center' border='0' cellspacing='0' cellpadding='3'>
|
||||
<tr>
|
||||
<td width='100%' align='right'>{$data[FORUM]['JUMP']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function RenderRow($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!--Begin Msg Number {$data[POST]['pid']}-->
|
||||
<tr>
|
||||
<td valign='middle' id='posthead'><a name='entry{$data[POST]['pid']}'></a><span id='{$data[POST]['name_css']}'>{$data[POSTER]['name']}</span></td>
|
||||
<td id='posthead' valign='top'>
|
||||
<table width='100%' border='0' cellspacing='0' cellpadding='0'>
|
||||
<tr>
|
||||
<td id='posthead'>{$data[POST]['post_icon']}<b>{$ibforums->lang['posted_on']}</b> {$data[POST]['post_date']}</td>
|
||||
<td id='posthead' align='right'>{$data[POST]['delete_button']}{$data[POST]['edit_button']}<a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Post&CODE=06&f={$ibforums->input[f]}&t={$ibforums->input[t]}&p={$data[POST]['pid']}'>{$ibforums->skin['P_QUOTE']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign='top' id='post1'>
|
||||
{$data[POSTER]['avatar']}<br><br>
|
||||
{$data[POSTER]['title']}<br>
|
||||
{$data[POSTER]['member_rank_img']}<br><br>
|
||||
{$data[POSTER]['member_group']}<br>
|
||||
{$data[POSTER]['member_posts']}<br>
|
||||
{$data[POSTER]['member_number']}<br>
|
||||
{$data[POSTER]['member_joined']}<br>
|
||||
{$data[POSTER][WARN_GFX]}<br><br>
|
||||
<img src='{$ibforums->vars['img_url']}/spacer.gif' alt='' width='160' height='1'><br>
|
||||
</td>
|
||||
<td width='100%' valign='top' id='post1'><span id='postcolor'>{$data[POST]['post']} {$data[POST]['attachment']} {$data[POST]['signature']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='postfoot' align='left'> </td>
|
||||
<td id='postfoot' nowrap align='left'>
|
||||
<table width='100%' border='0' cellspacing='0' cellpadding='0'>
|
||||
<tr>
|
||||
<td id='postfoot' align='left' valign='middle' nowrap>{$data[POSTER]['message_icon']}{$data[POSTER]['email_icon']}{$data[POSTER]['website_icon']}{$data[POSTER]['icq_icon']}{$data[POSTER]['aol_icon']}{$data[POSTER]['yahoo_icon']}{$data[POSTER]['msn_icon']}</td>
|
||||
<td id='postfoot' valign='middle' align='right'>{$data[POST]['ip_address']}{$data[POST]['report_link']}</td>
|
||||
<td id='postfoot' valign='middle' align='right' width='2%'><a href='javascript:scroll(0,0);'><img src='{$ibforums->vars['img_url']}/p_up.gif' alt='Top' border='0'></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='postsep' colspan='2'><img src='{$ibforums->vars['img_url']}/spacer.gif' alt='' width='1' height='1'></td>
|
||||
</tr>
|
||||
<!-- end Message -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function PageTop($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script language='javascript'>
|
||||
<!--
|
||||
function delete_post(theURL) {
|
||||
if (confirm('{$ibforums->lang['js_del_1']}')) {
|
||||
window.location.href=theURL;
|
||||
}
|
||||
else {
|
||||
alert ('{$ibforums->lang['js_del_2']}');
|
||||
}
|
||||
}
|
||||
|
||||
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>
|
||||
<a name='top'></a>
|
||||
<!-- Cgi-bot Start Forum page unique top -->
|
||||
<table width='{$ibforums->skin['tbl_width']}' border='0' cellspacing='0' cellpadding='4' align='center'>
|
||||
<tr>
|
||||
<td width='100%'>{$data['TOPIC']['SHOW_PAGES']} {$data['TOPIC']['go_new']}</td>
|
||||
<td align='right' nowrap>{$data[TOPIC][REPLY_BUTTON]}<a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Post&CODE=00&f={$data[FORUM]['id']}' title='{$ibforums->lang['start_new_topic']}'>{$ibforums->skin['A_POST']}</a>{$data[TOPIC][POLL_BUTTON]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width='{$ibforums->skin['tbl_width']}' border='0' cellspacing='1' cellpadding='0' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
|
||||
<tr>
|
||||
<td background='{$ibforums->vars['img_url']}/tile_back.gif' id='maintitleback'>
|
||||
<table width='100%' border='0' cellspacing='0' cellpadding='3'>
|
||||
<tr>
|
||||
<td><img src='{$ibforums->vars['img_url']}/nav_m.gif' alt='' width='8' height='8'></td>
|
||||
<td width='100%' id='maintitle'><b>{$data['TOPIC']['title']}</b>{$data['TOPIC']['description']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='mainbg'>
|
||||
<table width='100%' border='0' cellspacing='1' cellpadding='4'>
|
||||
<tr>
|
||||
<td width='100%' id='titlemedium' nowrap background='{$ibforums->vars['img_url']}/tile_sub.gif' colspan="2">
|
||||
<table width='100%' border='0' cellspacing='0' cellpadding='0'>
|
||||
<tr>
|
||||
<td align='left'><b>« <a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=ST&f={$data[FORUM]['id']}&t={$data[TOPIC]['tid']}&view=old'>{$ibforums->lang['t_old']}</a> | <a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=ST&f={$data[FORUM]['id']}&t={$data[TOPIC]['tid']}&view=new'>{$ibforums->lang['t_new']}</a> »</b></td>
|
||||
<td align='right'><b>
|
||||
<a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Track&f={$data['FORUM']['id']}&t={$data['TOPIC']['tid']}'>{$ibforums->lang['track_topic']}</a> |
|
||||
<a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Forward&f={$data['FORUM']['id']}&t={$data['TOPIC']['tid']}'>{$ibforums->lang['forward']}</a> |
|
||||
<a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Print&f={$data['FORUM']['id']}&t={$data['TOPIC']['tid']}'>{$ibforums->lang['print']}</a></b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- Cgi-bot End Forum page unique top -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Show_attachments_img($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br><br><center><b>{$ibforums->lang['pic_attach']}</b></center><br>
|
||||
<table cellpadding='4' cellspacing='0' border='0' width='50%' align='center' id='fancyborder'>
|
||||
<tr>
|
||||
<td valign='middle' align='center'><img src='{$ibforums->vars['upload_url']}/{$data['file_name']}' border='0' alt='{$ibforums->lang['pic_attach']}'></td>
|
||||
</tr>
|
||||
</table>
|
||||
<p>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Show_attachments($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br><br>
|
||||
<table cellpadding='4' cellspacing='0' border='0' width='50%' align='center' id='fancyborder'>
|
||||
<tr>
|
||||
<td align='right' valign='middle' rowspan='2'><img src='{$ibforums->vars['mime_img']}/{$data['image']}' border='0' alt='User Attached Image'></td>
|
||||
<td align='left'><a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=Attach&type=post&id={$data['pid']}' target='_blank'>{$ibforums->lang['attach_dl']}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='middle' width='98%'>{$data['name']} ( {$ibforums->lang['attach_hits']}: {$data['hits']} )</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br><br>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,919 @@
|
||||
<?php
|
||||
|
||||
class skin_ucp {
|
||||
|
||||
|
||||
|
||||
function birthday($day,$month,$year) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id='row2' width='40%'><b>{$ibforums->lang['birthday']}</b></td>
|
||||
<td id='row2'>
|
||||
<select name='day' class='forminput'>{$day}</select>
|
||||
<select name='month' class='forminput'>{$month}</select>
|
||||
<select name='year' class='forminput'>{$year}</select>
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function email_change($txt="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<td colspan='2' id='category'><b>{$ibforums->lang['change_email_title']}</b></td>
|
||||
</tr>
|
||||
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post" name='form1'>
|
||||
<input type='hidden' name='act' value='UserCP'>
|
||||
<input type='hidden' name='CODE' value='09'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<tr>
|
||||
<td id='row1' colspan='2'>$txt</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' nowrap><b>{$ibforums->lang['ce_new_email']}</b></td>
|
||||
<td id='row1' width='70%' align='left'><input type='text' name='in_email_1' value='' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' nowrap><b>{$ibforums->lang['ce_new_email2']}</b></td>
|
||||
<td id='row1' width='70%' align='left'><input type='text' name='in_email_2' value='' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2' align='center' colspan='2'><input type="submit" name='change_email' value="{$ibforums->lang['account_email_submit']}" class='forminput'></td>
|
||||
</tr>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function pass_change() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post" name='form1'>
|
||||
<input type='hidden' name='act' value='UserCP'>
|
||||
<input type='hidden' name='CODE' value='29'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
|
||||
<td colspan='2' id='category'><b>{$ibforums->lang['account_pass_title']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' colspan='2'>{$ibforums->lang['pass_change_text']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2' nowrap><b>{$ibforums->lang['account_pass_old']}</b></td>
|
||||
<td id='row2' align='left'><input type='password' name='current_pass' value='' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' nowrap><b>{$ibforums->lang['account_pass_new']}</b></td>
|
||||
<td id='row1' align='left'><input type='password' name='new_pass_1' value='' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' nowrap><b>{$ibforums->lang['account_pass_new2']}</b></td>
|
||||
<td id='row1' align='left'><input type='password' name='new_pass_2' value='' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2' align='center' colspan='2'><input type="submit" name='s_pass' value="{$ibforums->lang['account_pass_submit']}" class='forminput'></td>
|
||||
</tr>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function personal_splash() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<td colspan='2' id='category'>{$ibforums->lang['personal_ops']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' colspan='2'><b>{$ibforums->member['name']}</b>, {$ibforums->lang['personal_ops_txt']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2' colspan='2'><span id='usermenu'><u><b><a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=UserCP&CODE=01&MODE=2'>{$ibforums->lang['edit_profile']}</a></b></u></span><br><br>{$ibforums->lang['edit_profile_txt']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function member_title($title) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id='row1' width='40%'>{$ibforums->lang['member_title']}</td>
|
||||
<td id='row1'><input type='text' size='40' maxlength='120' name='member_title' value='$title' class='forminput'></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function personal_avatar($data, $formextra="", $hidden_field="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script langauge='javascript'>
|
||||
<!--
|
||||
|
||||
function checkTheBox() {
|
||||
|
||||
var isUrl = "{$ibforums->vars['avatar_url']}";
|
||||
|
||||
if (isUrl == 1)
|
||||
{
|
||||
document.creator.choice[1].checked = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
document.creator.choice[0].checked = true;
|
||||
}
|
||||
}
|
||||
|
||||
function showavatar(theURL) {
|
||||
|
||||
document.creator.choice[0].checked = true;
|
||||
|
||||
document.images.show_avatar.src=theURL+document.creator.gallery_list.options[document.creator.gallery_list.selectedIndex].value;
|
||||
}
|
||||
|
||||
function select_url() {
|
||||
document.creator.choice[1].checked = true;
|
||||
}
|
||||
|
||||
function select_upload() {
|
||||
document.creator.choice[1].checked = true;
|
||||
document.creator.url_avatar.value = "";
|
||||
}
|
||||
|
||||
function select_none() {
|
||||
document.creator.choice[2].checked = true;
|
||||
}
|
||||
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<form action='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}' method='post' onload='checkTheBox' $formextra name='creator'>
|
||||
<input type='hidden' name='act' value='UserCP'>
|
||||
<input type='hidden' name='CODE' value='25'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
$hidden_field
|
||||
|
||||
<td align='left' colspan='2' id='category'><b>{$ibforums->lang['av_current']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2' width='40%' valign='middle'>{$ibforums->lang['this_avatar']}</td>
|
||||
<td id='row2' width='60%' valign='middle'>{$data[CUR_AV]}</td>
|
||||
<tr>
|
||||
<td valign='left' colspan='2' id='category'><input type='radio' name='choice' value='gallery' onclick='return true;'><b>{$ibforums->lang['avatar_pre_title']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' width='40%' valign='top'>{$ibforums->lang['avatar_pre_txt']}</td>
|
||||
<td id='row1' valign='top'>{$data[AVATARS]} {$data[SHOW_AVS]}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function avatar_upload_field($text="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id='row1' width='40%' valign='top'><b>{$ibforums->lang['upload_avatar']}</b></td>
|
||||
<td id='row1'><input type='file' size='30' name='FILE_UPLOAD' class='forminput' onfocus='select_upload()' onclick='select_upload()'><br>$text</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function personal_avatar_URL($Profile, $avatar, $allowed_ext) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td valign='left' colspan='2' id='category'><input type='radio' name='choice' value='url' checked onclick='return true;'><b>{$ibforums->lang['avatar_url_title']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' width='40%' valign='top'>{$ibforums->lang['avatar']}<br>{$ibforums->lang['avatar_url_ext']}<br><b>$allowed_ext</b></td>
|
||||
<td id='row1'><input type='text' size='55' maxlength='80' name='url_avatar' value='$avatar' class='forminput' onfocus='select_url()'></td>
|
||||
</tr>
|
||||
<!-- IBF.UPLOAD_AVATAR -->
|
||||
<tr>
|
||||
<td id='row1' width='40%' valign='top'>{$ibforums->lang['avatar_dims']}<br>{$ibforums->lang['maximum']} {$ibforums->lang['width']} = {$ibforums->vars['av_width']} {$ibforums->lang['pixels']}<br>{$ibforums->lang['maximum']} {$ibforums->lang['height']} = {$ibforums->vars['av_height']} {$ibforums->lang['pixels']})</td>
|
||||
<td id='row1'>{$ibforums->lang['width']} <input type='text' size='3' maxlength='3' name='Avatar_width' value='{$Profile[AVATAR_WIDTH]}' class='forminput' onfocus='select_url()'> x {$ibforums->lang['height']} <input type='text' size='3' maxlength='3' name='Avatar_height' value='{$Profile[AVATAR_HEIGHT]}' onfocus='select_url()' class='forminput'></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function personal_avatar_end() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td valign='left' colspan='2' id='category'><input type='radio' name='choice' value='none' onclick='return true;'><b>{$ibforums->lang['av_tt_one']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' align='center' colspan='2'>{$ibforums->lang['av_tt_two']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2' align='center' colspan='2'><input type="submit" value="{$ibforums->lang['avatar_pre_submit']}" class='forminput'></td>
|
||||
</tr>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function personal_splash_av() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id='row2' colspan='2'><span id='usermenu'><b><u><a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=UserCP&CODE=01&MODE=1'>{$ibforums->lang['avatar_ops']}</a></u></b></span><br><br>{$ibforums->lang['avatar_ops_txt']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function signature($sig, $t_sig) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script language="javascript1.2">
|
||||
<!--
|
||||
|
||||
var MessageMax = "{$ibforums->lang['the_max_length']}";
|
||||
var Override = "{$ibforums->lang['override']}";
|
||||
|
||||
function CheckLength() {
|
||||
MessageLength = document.REPLIER.Post.value.length;
|
||||
message = "";
|
||||
|
||||
if (MessageMax > 0) {
|
||||
message = "{$ibforums->lang['js_max_length']} " + MessageMax + " {$ibforums->lang['js_characters']}.";
|
||||
} else {
|
||||
message = "";
|
||||
}
|
||||
alert(message + "\\n{$ibforums->lang['js_used']} " + MessageLength + " {$ibforums->lang['js_characters']}.");
|
||||
}
|
||||
|
||||
function ValidateForm() {
|
||||
MessageLength = document.REPLIER.Post.value.length;
|
||||
errors = "";
|
||||
|
||||
if (MessageMax !=0) {
|
||||
if (MessageLength > MessageMax) {
|
||||
errors = "{$ibforums->lang['js_max_length']} " + MessageMax + " {$ibforums->lang['js_characters']}.\\n{$ibforums->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 = "{$ibforums->lang['jscode_text_enter_url']}";
|
||||
var text_enter_url_name = "{$ibforums->lang['jscode_text_enter_url_name']}";
|
||||
var text_enter_image = "{$ibforums->lang['jscode_text_enter_image']}";
|
||||
var text_enter_email = "{$ibforums->lang['jscode_text_enter_email']}";
|
||||
var text_enter_flash = "{$ibforums->lang['jscode_text_enter_flash']}";
|
||||
var text_code = "{$ibforums->lang['jscode_text_code']}";
|
||||
var text_quote = "{$ibforums->lang['jscode_text_quote']}";
|
||||
var error_no_url = "{$ibforums->lang['jscode_error_no_url']}";
|
||||
var error_no_title = "{$ibforums->lang['jscode_error_no_title']}";
|
||||
var error_no_email = "{$ibforums->lang['jscode_error_no_email']}";
|
||||
var error_no_width = "{$ibforums->lang['jscode_error_no_width']}";
|
||||
var error_no_height = "{$ibforums->lang['jscode_error_no_height']}";
|
||||
//-->
|
||||
</script>
|
||||
<script language='Javascript' src='html/ibfcode.js'></script>
|
||||
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="POST" name='REPLIER'>
|
||||
<input type='hidden' name='act' value='UserCP'>
|
||||
<input type='hidden' name='CODE' value='23'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<td id='title'><b>{$ibforums->lang['cp_current_sig']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' align='center'>
|
||||
<table cellpadding='2' cellspacing='0' width='75%' align='center'>
|
||||
<tr>
|
||||
<td id='signature'>$sig</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='title'><b>{$ibforums->lang['cp_edit_sig']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' align='center'>
|
||||
<table cellpadding='2' cellspacing='2' width='100%'>
|
||||
<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'>{$ibforums->lang['ct_font']}</option>
|
||||
<option value='Arial' style='font-family:Arial'>{$ibforums->lang['ct_arial']}</option>
|
||||
<option value='Times' style='font-family:Times'>{$ibforums->lang['ct_times']}</option>
|
||||
<option value='Courier' style='font-family:Courier'>{$ibforums->lang['ct_courier']}</option>
|
||||
<option value='Impact' style='font-family:Impact'>{$ibforums->lang['ct_impact']}</option>
|
||||
<option value='Geneva' style='font-family:Geneva'>{$ibforums->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'>{$ibforums->lang['ct_size']}</option>
|
||||
<option value='7'>{$ibforums->lang['ct_sml']}</option>
|
||||
<option value='14'>{$ibforums->lang['ct_lrg']}</option>
|
||||
<option value='18'>{$ibforums->lang['ct_lest']}</option>
|
||||
</select><select name='fcolor' class='codebuttons' onchange="alterfont(this.options[this.selectedIndex].value, 'COLOR')">
|
||||
<option value='0'>{$ibforums->lang['ct_color']}</option>
|
||||
<option value='blue' style='color:blue'>{$ibforums->lang['ct_blue']}</option>
|
||||
<option value='red' style='color:red'>{$ibforums->lang['ct_red']}</option>
|
||||
<option value='purple' style='color:purple'>{$ibforums->lang['ct_purple']}</option>
|
||||
<option value='orange' style='color:orange'>{$ibforums->lang['ct_orange']}</option>
|
||||
<option value='yellow' style='color:yellow'>{$ibforums->lang['ct_yellow']}</option>
|
||||
<option value='gray' style='color:orange'>{$ibforums->lang['ct_grey']}</option>
|
||||
<option value='green' style='color:green'>{$ibforums->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='row1' align='center'><textarea cols='60' rows='12' wrap='soft' name='Post' tabindex='3' class='textinput'>$t_sig</textarea><br>(<a href='javascript:CheckLength()'>{$ibforums->lang['check_length']}</a>)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' align='center'><input type='submit' value='{$ibforums->lang['cp_submit_sig']}'></td>
|
||||
</tr>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function personal_panel($Profile) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script language="javascript">
|
||||
<!--
|
||||
|
||||
var LocationMax = "{$ibforums->vars['max_location_length']}";
|
||||
var InterestMax = "{$ibforums->vars['max_interest_length']}";
|
||||
|
||||
function CheckLength(Type) {
|
||||
LocationLength = document.theForm.Location.value.length;
|
||||
InterestLength = document.theForm.Interests.value.length;
|
||||
message = "";
|
||||
|
||||
if (Type == "location") {
|
||||
if (LocationMax !=0) {
|
||||
message = "{$ibforums->lang['js_location']}:\\n{$ibforums->lang['js_max']} " + LocationMax + " {$ibforums->lang['js_characters']}.";
|
||||
} else {
|
||||
message = "";
|
||||
}
|
||||
alert(message + "\\n{$ibforums->lang['js_used']} " + LocationLength + " {$ibforums->lang['js_so_far']}.");
|
||||
}
|
||||
if (Type == "interest") {
|
||||
if (InterestMax !=0) {
|
||||
message = "{$ibforums->lang['js_interests']}:\\n{$ibforums->lang['js_max']} " + InterestMax + " {$ibforums->lang['js_characters']}.";
|
||||
} else {
|
||||
message = "";
|
||||
}
|
||||
alert(message + "\\n{$ibforums->lang['js_used']} " + InterestLength + " {$ibforums->lang['js_so_far']}.");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function ValidateProfile() {
|
||||
|
||||
LocationLength = document.theForm.Location.value.length;
|
||||
InterestLength = document.theForm.Interests.value.length;
|
||||
|
||||
errors = "";
|
||||
|
||||
if (LocationMax !=0) {
|
||||
if (LocationLength > LocationMax) {
|
||||
errors = "{$ibforums->lang['js_location']}:\\n{$ibforums->lang['js_max']} " + LocationMax + " {$ibforums->lang['js_characters']}.\\n{$ibforums->lang['js_used']}: " + LocationLength;
|
||||
}
|
||||
}
|
||||
if (InterestMax !=0) {
|
||||
if (InterestLength > InterestMax) {
|
||||
errors = errors + "\\n{$ibforums->lang['js_interests']}:\\n{$ibforums->lang['js_max']} " + InterestMax + " {$ibforums->lang['js_characters']}.\\n{$ibforums->lang['js_used']}: " + InterestLength;
|
||||
}
|
||||
}
|
||||
|
||||
if (errors != "") {
|
||||
alert(errors);
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post" name='theForm' onSubmit='return ValidateProfile()'>
|
||||
<input type='hidden' name='act' value='UserCP'>
|
||||
<input type='hidden' name='CODE' value='21'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
|
||||
<td valign='left' colspan='2' id='category'>{$ibforums->lang['profile_title']}</td>
|
||||
</tr>
|
||||
<!--{MEMBERTITLE}-->
|
||||
<!--{BIRTHDAY}-->
|
||||
<!-- for v1.1<tr>
|
||||
<td id='row1' width='40%'>{$ibforums->lang['photo']}</td>
|
||||
<td id='row1'><input type='text' size='40' maxlength='120' name='Photo' value='{$Profile['photo']}' class='forminput'></td>
|
||||
</tr> -->
|
||||
<tr>
|
||||
<td id='row2' width='40%'>{$ibforums->lang['website']}</td>
|
||||
<td id='row2'><input type='text' size='40' maxlength='1200' name='WebSite' value='{$Profile['website']}' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' width='40%'>{$ibforums->lang['icq']}</td>
|
||||
<td id='row1'><input type='text' size='40' maxlength='20' name='ICQNumber' value='{$Profile['icq_number']}' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2' width='40%'>{$ibforums->lang['aol']}</td>
|
||||
<td id='row2'><input type='text' size='40' maxlength='30' name='AOLName' value='{$Profile['aim_name']}' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' width='40%'>{$ibforums->lang['yahoo']}</td>
|
||||
<td id='row1'><input type='text' size='40' maxlength='30' name='YahooName' value='{$Profile['yahoo']}' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2' width='40%'>{$ibforums->lang['msn']}</td>
|
||||
<td id='row2'><input type='text' size='40' maxlength='30' name='MSNName' value='{$Profile['msnname']}' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' width='40%'>{$ibforums->lang['location']}<br>(<a href='javascript:CheckLength("location");'>{$ibforums->lang['check_length']}</a>)</td>
|
||||
<td id='row1'><input type='text' size='40' name='Location' value='{$Profile['location']}' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2' width='40%' valign='top'>{$ibforums->lang['interests']}<br>(<a href='javascript:CheckLength("interest");'>{$ibforums->lang['check_length']}</a>)</td>
|
||||
<td id='row2'><textarea cols='60' rows='10' wrap='soft' name='Interests' class='forminput'>{$Profile['interests']}</textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2' align='center' colspan='2'>
|
||||
<input type="submit" value="{$ibforums->lang['submit_profile']}" class='forminput'>
|
||||
</td></tr>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Menu_bar($base_url) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br>
|
||||
<table width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center' border="0" cellspacing="1" cellpadding="0">
|
||||
<tr>
|
||||
<td id='maintitleback' background='{$ibforums->vars['img_url']}/tile_back.gif'>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table id='mainbg' width="100%" border="0" cellspacing="1" cellpadding="4">
|
||||
<tr>
|
||||
<td nowrap id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'> </td>
|
||||
<td width="100%" nowrap id='titlemedium' background='{$ibforums->vars['img_url']}/tile_sub.gif'> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='alt1' valign="top">
|
||||
<table cellpadding='0' cellspacing='0' width='100%' align='left' border='0'>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
<!-- Messenger -->
|
||||
<b>{$ibforums->lang['m_messenger']}</b><br>
|
||||
<img src="{$ibforums->vars['img_url']}/dark_line.gif" alt="" width="155" height="7"><br>
|
||||
• <a href='{$base_url}&act=Msg&CODE=04'>{$ibforums->lang['mess_new']}</a><br>
|
||||
• <a href='{$base_url}&act=Msg&CODE=02'>{$ibforums->lang['mess_contact']}</a><br>
|
||||
• <a href='{$base_url}&act=Msg&CODE=07'>{$ibforums->lang['mess_folders']}</a><br>
|
||||
• <a href='{$base_url}&act=Msg&CODE=01'>{$ibforums->lang['mess_inbox']}</a><br>
|
||||
• <a href='{$base_url}&act=Msg&CODE=14'>{$ibforums->lang['mess_archive']}</a><br>
|
||||
<br>
|
||||
|
||||
<!-- Profile -->
|
||||
<b>{$ibforums->lang['m_personal']}</b><br>
|
||||
<img src="{$ibforums->vars['img_url']}/dark_line.gif" alt="" width="155" height="7"><br>
|
||||
• <a href='{$base_url}&act=UserCP&CODE=01'>{$ibforums->lang['m_contact_info']}</a><br>
|
||||
<!-- • <a href='#'>{$ibforums->lang['m_bio_info']}</a><br> -->
|
||||
• <a href='{$base_url}&act=UserCP&CODE=22'>{$ibforums->lang['m_sig_info']}</a><br>
|
||||
• <a href='{$base_url}&act=UserCP&CODE=24'>{$ibforums->lang['m_avatar_info']}</a><br>
|
||||
<!-- • <a href='#'>{$ibforums->lang['m_edit_links']}</a><br> -->
|
||||
|
||||
<!-- Options -->
|
||||
<br>
|
||||
<b>{$ibforums->lang['m_options']}</b><br>
|
||||
<img src="{$ibforums->vars['img_url']}/dark_line.gif" alt="" width="155" height="7"><br>
|
||||
• <a href='{$base_url}&act=UserCP&CODE=02'>{$ibforums->lang['m_email_opt']}</a><br>
|
||||
• <a href='{$base_url}&act=UserCP&CODE=04'>{$ibforums->lang['m_board_opt']}</a><br>
|
||||
• <a href='{$base_url}&act=UserCP&CODE=06'>{$ibforums->lang['m_skin_lang']}</a><br>
|
||||
• <a href='{$base_url}&act=UserCP&CODE=08'>{$ibforums->lang['m_email_change']}</a><br>
|
||||
• <a href='{$base_url}&act=UserCP&CODE=28'>{$ibforums->lang['m_passy_opt']}</a><br>
|
||||
|
||||
<!-- Topic Tracker -->
|
||||
<br>
|
||||
<b>{$ibforums->lang['m_tracker']}</b><br>
|
||||
<img src="{$ibforums->vars['img_url']}/dark_line.gif" alt="" width="155" height="7"><br>
|
||||
• <a href='{$base_url}&act=UserCP&CODE=26'>{$ibforums->lang['m_view_subs']}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td valign='top' id='alt1'>
|
||||
<table cellpadding='4' cellspacing='0' width='100%' align='left' border='0'>
|
||||
<tr>
|
||||
|
||||
<!-- Start main CP area -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function CP_end() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- end main CP area -->
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function splash($member) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<td id='subtitle' width="100%">{$ibforums->lang['stats_header']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='alt1' valign="top" width="100%">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="40%">{$ibforums->lang['email_address']}</td>
|
||||
<td width="60%">{$member[MEMBER_EMAIL]}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%">{$ibforums->lang['number_posts']}</td>
|
||||
<td width="60%">{$member[MEMBER_POSTS]}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%">{$ibforums->lang['registered']}</td>
|
||||
<td width="60%">{$member[DATE_REGISTERED]}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%">{$ibforums->lang['daily_average']}</td>
|
||||
<td width="60%">{$member[DAILY_AVERAGE]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='subtitle' width="100%">{$ibforums->lang['messenger_summary']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='alt1' valign="top" width="100%">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="40%">{$ibforums->lang['total_messages']}</td>
|
||||
<td width="60%">{$member['total_messages']} {$member['full_percent']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="40%">{$ibforums->lang['messages_left']}</td>
|
||||
<td width="60%">{$member['space_free']} {$member['full_messenger']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='subtitle' width="100%">{$ibforums->lang['note_pad']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='alt1' valign="top" width="100%">
|
||||
<form name='notepad' action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post">
|
||||
<input type='hidden' name='act' value='UserCP'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<input type='hidden' name='CODE' value='20'>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<textarea cols='65' rows='{$member['SIZE']}' wrap='soft' name='notes' class='forminput' style='width:100%'>{$member['NOTES']}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="right" width="50%">{$ibforums->lang['ta_size']} </td>
|
||||
<td nowrap width="50%">
|
||||
<select name='ta_size' class='forminput'>
|
||||
{$member['SIZE_CHOICE']}
|
||||
</select>
|
||||
<input type='submit' value='{$ibforums->lang['submit_notepad']}' class='forminput'>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function settings_header($Profile, $time_select, $time, $dst_check) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post">
|
||||
<input type='hidden' name='act' value='UserCP'>
|
||||
<input type='hidden' name='CODE' value='05'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
|
||||
|
||||
<td colspan='2' id='category'><b>{$ibforums->lang['settings_time']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' colspan='2'><b>{$ibforums->lang['settings_time_txt']}</b><br><span id='highlight'>$time</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' colspan='2' align='left'>$time_select</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' nowrap>{$ibforums->lang['dst_box']}</td>
|
||||
<td id='row1' width='70%' align='left'><input type='checkbox' class='forminput' name='DST' value='1' $dst_check></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function skin_lang_header($lang_select) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script language='Javascript'>
|
||||
<!--
|
||||
function do_preview() {
|
||||
|
||||
var f = document.prefs.u_skin;
|
||||
|
||||
var base_url = "{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&";
|
||||
|
||||
if (f.options[f.selectedIndex].value == -1) {
|
||||
return false;
|
||||
}
|
||||
|
||||
window.open( base_url + 'skinid='+f.options[f.selectedIndex].value, 'Preview', 'width=800,height=600,top=0,left=0,resizable=1,scrollbars=1,location=no,directories=no,status=no,menubar=no,toolbar=no');
|
||||
|
||||
}
|
||||
-->
|
||||
</script>
|
||||
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post" name='prefs'>
|
||||
<input type='hidden' name='act' value='UserCP'>
|
||||
<input type='hidden' name='CODE' value='07'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
|
||||
<td colspan='2' id='category'><b>{$ibforums->lang['settings_title']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' nowrap><b>{$ibforums->lang['settings_lang_txt']}</b></td>
|
||||
<td id='row1' align='left'>$lang_select</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function settings_skin($skin) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</tr>
|
||||
<td colspan='2' id='category'><b>{$ibforums->lang['settings_skin']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' nowrap><b>{$ibforums->lang['settings_skin_txt']}</b></td>
|
||||
<td id='row1' align='left'>$skin <input type='button' value='{$ibforums->lang['cp_skin_preview']}' class='forminput' onClick='do_preview()'></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function skin_lang_end() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id='row2' colspan='2' align='center'><input type='submit' name='submit' value='{$ibforums->lang['settings_submit']}' class='forminput'></form></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function settings_end($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td colspan='2' id='category'><b>{$ibforums->lang['settings_display']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' nowrap><b>{$ibforums->lang['settings_viewsig']}</b></td>
|
||||
<td id='row1' width='70%' align='left'>{$data[SIG]}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' nowrap><b>{$ibforums->lang['settings_viewimg']}</b></td>
|
||||
<td id='row1' width='70%' align='left'>{$data[IMG]}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' nowrap><b>{$ibforums->lang['settings_viewava']}</b></td>
|
||||
<td id='row1' width='70%' align='left'>{$data[AVA]}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' nowrap><b>{$ibforums->lang['settings_dopopup']}</b></td>
|
||||
<td id='row1' width='70%' align='left'>{$data[POP]}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' nowrap>{$ibforums->lang['hide_session_txt']}</td>
|
||||
<td id='row1' width='70%' align='left'>{$data[SESS]}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row2' colspan='2' align='center'><input type='submit' name='submit' value='{$ibforums->lang['settings_submit']}' class='forminput'></form></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function email($Profile) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post">
|
||||
<input type='hidden' name='act' value='UserCP'>
|
||||
<input type='hidden' name='CODE' value='03'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
<td valign='left' colspan='2' id='category'><b>{$ibforums->lang['privacy_settings']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' align='right' valign='top'><input type='checkbox' name='hide_email' value='1' {$Profile['hide_email']}></td>
|
||||
<td id='row1' align='left' width='100%'>{$ibforums->lang['hide_email']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' align='right' valign='top'><input type='checkbox' name='admin_send' value='1' {$Profile['allow_admin_mails']}></td>
|
||||
<td id='row1' align='left' width='100%'>{$ibforums->lang['admin_send']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign='left' colspan='2' id='category'><b>{$ibforums->lang['board_prefs']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id='row1' align='right' valign='top'><input type='checkbox' name='send_full_msg' value='1' {$Profile['email_full']}></td>
|
||||
<td id='row1' align='left' width='100%'>{$ibforums->lang['send_full_msg']}</td>
|
||||
</tr>
|
||||
<!--<tr>
|
||||
<td id='row1' align='right' valign='top'><input type='checkbox' name='pm_reminder' value='1' {$Profile['email_pm']}></td>
|
||||
<td id='row1' align='left' width='100%'>{$ibforums->lang['pm_reminder']}</td>
|
||||
</tr>-->
|
||||
<tr>
|
||||
<td id='row2' align='center' colspan='2'>
|
||||
<input type="submit" value="{$ibforums->lang['submit_email']}" class='forminput'>
|
||||
</td></tr>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function subs_header() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- inbox folder -->
|
||||
<script language='JavaScript'>
|
||||
<!--
|
||||
function CheckAll(cb) {
|
||||
var fmobj = document.mutliact;
|
||||
for (var i=0;i<fmobj.elements.length;i++) {
|
||||
var e = fmobj.elements[i];
|
||||
if ((e.name != 'allbox') && (e.type=='checkbox') && (!e.disabled)) {
|
||||
e.checked = fmobj.allbox.checked;
|
||||
}
|
||||
}
|
||||
}
|
||||
function CheckCheckAll(cb) {
|
||||
var fmobj = document.mutliact;
|
||||
var TotalBoxes = 0;
|
||||
var TotalOn = 0;
|
||||
for (var i=0;i<fmobj.elements.length;i++) {
|
||||
var e = fmobj.elements[i];
|
||||
if ((e.name != 'allbox') && (e.type=='checkbox')) {
|
||||
TotalBoxes++;
|
||||
if (e.checked) {
|
||||
TotalOn++;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (TotalBoxes==TotalOn) {fmobj.allbox.checked=true;}
|
||||
else {fmobj.allbox.checked=false;}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<td align='left' nowrap id='pagetitle'>{$ibforums->lang['subs_header']}</td>
|
||||
<td>
|
||||
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" name='mutliact' method="post">
|
||||
<input type='hidden' name='act' value='UserCP'>
|
||||
<input type='hidden' name='CODE' value='27'>
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign='top' colspan='2' >
|
||||
<table cellpadding='4' cellspacing='1' align='center' width='100%' bgcolor='{$ibforums->skin['tbl_border']}'>
|
||||
<tr>
|
||||
<td id='titlemedium' align='left' width='5%'> </td>
|
||||
<td id='titlemedium' align='left' width='*'>{$ibforums->lang['subs_topic']}</td>
|
||||
<td id='titlemedium' align='center' width='5%'>{$ibforums->lang['subs_replies']}</td>
|
||||
<td id='titlemedium' align='center' width='5%'>{$ibforums->lang['subs_view']}</td>
|
||||
<td id='titlemedium' align='left' width='20%'>{$ibforums->lang['subs_last_post']}</td>
|
||||
<td align='center' width='5%' id='titlemedium'><input name="allbox" type="checkbox" value="Check All" onClick="CheckAll();"></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function subs_row($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td id='row1' align='center' width='5%'>{$data['folder_icon']}</td>
|
||||
<td id='row1' align='left'><span id='linkthru'><a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=ST&f={$data['forum_id']}&t={$data['tid']}'>{$data['title']}</a> ( <a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=ST&f={$data['forum_id']}&t={$data['tid']}' target='_blank'>{$ibforums->lang['new_window']}</a> )</span><br><span id='desc'>{$data['description']}{$ibforums->lang['subs_start']} {$data['start_date']}</span></td>
|
||||
<td id='row1' align='center'>{$data['posts']}</td>
|
||||
<td id='row1' align='center'>{$data['views']}</td>
|
||||
<td id='row1' align='left'>{$data['last_post_date']}<br>{$ibforums->lang['subs_by']} {$data['last_poster']}</td>
|
||||
<td id='row2' align='center'><input type='checkbox' name='id-{$data['trid']}' value='yes' class='forminput'></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function subs_end() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td align='center' id='titlemedium' valign='middle' colspan='6'><input type='submit' class='forminput' value='{$ibforums->lang['subs_delete']}'> {$ibforums->lang['with_selected']}</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table></td></tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function forum_jump($data, $menu_extra="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script language='Javascript'>
|
||||
<!--
|
||||
function jump_page(internal) {
|
||||
|
||||
var f = document.jumpForm.themenu;
|
||||
|
||||
var base_url = "{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&";
|
||||
|
||||
if (f.options[f.selectedIndex].value == -1) {
|
||||
return false;
|
||||
}
|
||||
|
||||
var l_data = f.options[f.selectedIndex].value;
|
||||
|
||||
s_data = l_data.split("|");
|
||||
|
||||
if (s_data[0] == 0) {
|
||||
window.location = base_url + s_data[1];
|
||||
}
|
||||
else {
|
||||
window.open( s_data[1], 'width=800,height=600,top=0,left=0,resizable=1,scrollbars=1,location=yes,directories=yes,status=yes,menubar=yes,toolbar=yes');
|
||||
}
|
||||
|
||||
}
|
||||
-->
|
||||
</script>
|
||||
<br>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' align='center'>
|
||||
<tr>
|
||||
<td align='left'>
|
||||
<form name='jumpForm'>
|
||||
<select name='themenu' onchange='jump_page("1")' class='forminput'>
|
||||
<option value='-1'>{$ibforums->lang['qc_header']}</option>
|
||||
<option value='0|act=Msg&CODE=00'>{$ibforums->lang['qc_messenger']}</option>
|
||||
<option value='0|act=Msg&CODE=01&VID=in'>{$ibforums->lang['qc_inbox']}</option>
|
||||
<option value='0|act=Msg&CODE=01&VID=sent'>{$ibforums->lang['qc_sent']}</option>
|
||||
<option value='0|act=Msg&CODE=04'>{$ibforums->lang['qc_compose']}</option>
|
||||
<option value='0|act=Msg&CODE=07'>{$ibforums->lang['qc_prefs']}</option>
|
||||
<option value='-1'>--------------</option>
|
||||
<option value='0|act=Search&CODE=00'>{$ibforums->lang['qc_search']}</option>
|
||||
<option value=''>{$ibforums->lang['qc_home']}</option>
|
||||
<option value='0|act=Help&CODE=00'>{$ibforums->lang['qc_help']}</option>
|
||||
$menu_extra
|
||||
</select>
|
||||
</form>
|
||||
</td>
|
||||
<td align='right'>{$data}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,614 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| IBFORUMS v1
|
||||
| ========================================
|
||||
| by Matthew Mecham and David Baxter
|
||||
| (c) 2001,2002 IBForums
|
||||
| http://www.ibforums.com
|
||||
| ========================================
|
||||
| Web: http://www.ibforums.com
|
||||
| Email: phpboards@ibforums.com
|
||||
| Licence Info: phpib-licence@ibforums.com
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > Admin wrapper script
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 1st March 2002
|
||||
|
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/*-----------------------------------------------
|
||||
USER CONFIGURABLE ELEMENTS
|
||||
------------------------------------------------*/
|
||||
|
||||
// Root path
|
||||
|
||||
$root_path = "./";
|
||||
|
||||
// Check IP address to see if they match?
|
||||
// this may cause problems for users on proxies
|
||||
// where the IP address changes during a session
|
||||
|
||||
$check_ip = 1;
|
||||
|
||||
// Use GZIP content encoding for fast page generation
|
||||
// in the admin center?
|
||||
|
||||
$use_gzip = 1;
|
||||
|
||||
|
||||
/*-----------------------------------------------
|
||||
NO USER EDITABLE SECTIONS BELOW
|
||||
------------------------------------------------*/
|
||||
|
||||
error_reporting (E_ERROR | E_WARNING | E_PARSE);
|
||||
set_magic_quotes_runtime(0);
|
||||
|
||||
if (function_exists('ini_get'))
|
||||
{
|
||||
$safe_switch = ini_get("safe_mode") ? 1 : 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
$safe_switch = 1;
|
||||
}
|
||||
|
||||
define( 'SAFE_MODE_ON', $safe_switch );
|
||||
|
||||
if (function_exists("set_time_limit") == 1 and SAFE_MODE_ON == 0)
|
||||
{
|
||||
@set_time_limit(0);
|
||||
}
|
||||
|
||||
|
||||
class Debug {
|
||||
function startTimer() {
|
||||
global $starttime;
|
||||
$mtime = microtime ();
|
||||
$mtime = explode (' ', $mtime);
|
||||
$mtime = $mtime[1] + $mtime[0];
|
||||
$starttime = $mtime;
|
||||
}
|
||||
function endTimer() {
|
||||
global $starttime;
|
||||
$mtime = microtime ();
|
||||
$mtime = explode (' ', $mtime);
|
||||
$mtime = $mtime[1] + $mtime[0];
|
||||
$endtime = $mtime;
|
||||
$totaltime = round (($endtime - $starttime), 5);
|
||||
return $totaltime;
|
||||
}
|
||||
}
|
||||
|
||||
class info {
|
||||
|
||||
var $vars = "";
|
||||
var $version = '1.0';
|
||||
|
||||
|
||||
function info($INFO)
|
||||
{
|
||||
//global $INFO;
|
||||
$this->vars = $INFO;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*-----------------------------------------------
|
||||
Import $INFO
|
||||
------------------------------------------------*/
|
||||
|
||||
require $root_path."conf_global.php";
|
||||
|
||||
$ibforums = new info($INFO);
|
||||
|
||||
$Debug = new Debug;
|
||||
$Debug->startTimer();
|
||||
|
||||
/*-----------------------------------------------
|
||||
Make sure our data is reset on each invocation
|
||||
------------------------------------------------*/
|
||||
$MEMBER = array();
|
||||
$SESSION_ID = "";
|
||||
$SKIN = "";
|
||||
|
||||
// Put an end to insane thoughs before they begin
|
||||
$MEMBER_NAME = "";
|
||||
$MEMBER_PASSWORD = "";
|
||||
$MEMBER_EMAIL = "";
|
||||
$UserName = "";
|
||||
$PassWord = "";
|
||||
|
||||
|
||||
/*-----------------------------------------------
|
||||
Load up our classes (compiled into one package)
|
||||
------------------------------------------------*/
|
||||
|
||||
require $root_path."sources/functions.php";
|
||||
|
||||
$std = new FUNC;
|
||||
|
||||
/*-----------------------------------------------
|
||||
Steralize our FORM and GET input
|
||||
------------------------------------------------*/
|
||||
|
||||
$IN = $std->parse_incoming();
|
||||
|
||||
$IN['AD_SESS'] = $HTTP_POST_VARS['adsess'] ? $HTTP_POST_VARS['adsess'] : $HTTP_GET_VARS['adsess'];
|
||||
|
||||
/*-----------------------------------------------
|
||||
Import $PAGES and $CATS
|
||||
------------------------------------------------*/
|
||||
|
||||
require $root_path."sources/Admin/admin_pages.php";
|
||||
|
||||
|
||||
/*-----------------------------------------------
|
||||
Import Skinable elements
|
||||
------------------------------------------------*/
|
||||
|
||||
require $root_path."sources/Admin/admin_skin.php";
|
||||
|
||||
$SKIN = new admin_skin();
|
||||
|
||||
/*-----------------------------------------------
|
||||
Import Admin Functions
|
||||
------------------------------------------------*/
|
||||
|
||||
require $root_path."sources/Admin/admin_functions.php";
|
||||
|
||||
$ADMIN = new admin_functions();
|
||||
|
||||
/*-----------------------------------------------
|
||||
Load up our database library
|
||||
------------------------------------------------*/
|
||||
|
||||
$INFO['sql_driver'] = !$INFO['sql_driver'] ? 'mySQL' : $INFO['sql_driver'];
|
||||
|
||||
$to_require = $root_path."sources/Drivers/".$INFO['sql_driver'].".php";
|
||||
require ($to_require);
|
||||
|
||||
$DB = new db_driver;
|
||||
|
||||
$DB->obj['sql_database'] = $INFO['sql_database'];
|
||||
$DB->obj['sql_user'] = $INFO['sql_user'];
|
||||
$DB->obj['sql_pass'] = $INFO['sql_pass'];
|
||||
$DB->obj['sql_host'] = $INFO['sql_host'];
|
||||
$DB->obj['sql_tbl_prefix'] = $INFO['sql_tbl_prefix'];
|
||||
|
||||
// Get a DB connection
|
||||
$DB->connect();
|
||||
|
||||
//------------------------------------------------
|
||||
// Fix up the "show" ID's for the menu tree...
|
||||
//
|
||||
// show=1,4,5 holds the current ID's, clicking on a
|
||||
// collapse link creates out=4 - "4" is then removed
|
||||
// from the show link.
|
||||
//
|
||||
// Good eh?
|
||||
//------------------------------------------------
|
||||
|
||||
if ($IN['show'] == 'none')
|
||||
{
|
||||
$IN['show'] = "";
|
||||
}
|
||||
else if ($IN['show'] == 'all')
|
||||
{
|
||||
$IN['show'] = "";
|
||||
|
||||
foreach($CATS as $cid => $name)
|
||||
{
|
||||
$IN['show'] .= $cid.',';
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$IN['show'] = preg_replace( "/(?:^|,)".$IN['out']."(?:,|$)/", ",", $IN['show'] );
|
||||
$IN['show'] = preg_replace( "/,,/" , "" , $IN['show'] );
|
||||
$IN['show'] = preg_replace( "/,$/" , "" , $IN['show'] );
|
||||
$IN['show'] = preg_replace( "/^,/" , "" , $IN['show'] );
|
||||
}
|
||||
|
||||
|
||||
//------------------------------------------------
|
||||
// Admin.php Rules:
|
||||
//
|
||||
// No adsess number?
|
||||
// -----------------
|
||||
//
|
||||
// Then we log into the admin CP
|
||||
//
|
||||
// Got adsess number?
|
||||
// ------------------
|
||||
//
|
||||
// Then we check the cookie "ad_login" for a session key.
|
||||
//
|
||||
// If this session key matches the one stored in the admin_sessions
|
||||
// table, then we check the data against the data stored in the
|
||||
// profiles table.
|
||||
//
|
||||
// The session key and ad_sess keys are generated each time we log in.
|
||||
//
|
||||
// If we don't have a valid adsess in the URL, then we ask for a log in.
|
||||
//
|
||||
//------------------------------------------------
|
||||
|
||||
$session_validated = 0;
|
||||
$this_session = array();
|
||||
|
||||
$validate_login = 0;
|
||||
|
||||
if ($IN['login'] != 'yes') {
|
||||
|
||||
if ( (!$IN['adsess']) or (empty($IN['adsess'])) or (!isset($IN['adsess'])) or ($IN['adsess'] == "") )
|
||||
{
|
||||
//----------------------------------
|
||||
// No URL adsess found, lets log in.
|
||||
//----------------------------------
|
||||
|
||||
do_login("No administration session found");
|
||||
}
|
||||
else
|
||||
{
|
||||
//----------------------------------
|
||||
// We have a URL adsess, lets verify...
|
||||
//----------------------------------
|
||||
|
||||
$DB->query("SELECT * FROM ibf_admin_sessions WHERE ID='".$IN['adsess']."'");
|
||||
$row = $DB->fetch_row();
|
||||
|
||||
if ($row['ID'] == "")
|
||||
{
|
||||
//----------------------------------
|
||||
// Fail-safe, no DB record found, lets log in..
|
||||
//----------------------------------
|
||||
|
||||
do_login("Could not retrieve session record");
|
||||
}
|
||||
else if ($row['MEMBER_ID'] == "")
|
||||
{
|
||||
|
||||
//----------------------------------
|
||||
// No member ID is stored, log in!
|
||||
//----------------------------------
|
||||
|
||||
do_login("Could not retrieve a valid member id");
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
//----------------------------------
|
||||
// Key is good, check the member details
|
||||
//----------------------------------
|
||||
|
||||
$DB->query("SELECT * FROM ibf_members WHERE id='".$row['MEMBER_ID']."'");
|
||||
$MEMBER = $DB->fetch_row();
|
||||
|
||||
if ($MEMBER['id'] == "")
|
||||
{
|
||||
|
||||
//----------------------------------
|
||||
// Ut-oh, no such member, log in!
|
||||
//----------------------------------
|
||||
|
||||
do_login("Member ID invalid");
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
//----------------------------------
|
||||
// Member found, check passy
|
||||
//----------------------------------
|
||||
|
||||
if ($row['SESSION_KEY'] != $MEMBER['password'])
|
||||
{
|
||||
//----------------------------------
|
||||
// Passys don't match..
|
||||
//----------------------------------
|
||||
|
||||
do_login("Session member password mismatch");
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
//----------------------------------
|
||||
// Do we have admin access?
|
||||
//----------------------------------
|
||||
|
||||
$DB->query("SELECT * FROM ibf_groups WHERE g_id='".$MEMBER['mgroup']."'");
|
||||
|
||||
$GROUP = $DB->fetch_row();
|
||||
|
||||
if ($GROUP['g_access_cp'] != 1)
|
||||
{
|
||||
do_login("You do not have access to the administrative CP");
|
||||
}
|
||||
else
|
||||
{
|
||||
$session_validated = 1;
|
||||
$this_session = $row;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
//----------------------------------
|
||||
// We must have submitted the form
|
||||
// time to check some details.
|
||||
//----------------------------------
|
||||
|
||||
if ( empty($IN['username']) )
|
||||
{
|
||||
do_login("You must enter a username before proceeding");
|
||||
}
|
||||
|
||||
if ( empty($IN['password']) )
|
||||
{
|
||||
do_login("You must enter a password before proceeding");
|
||||
}
|
||||
|
||||
//----------------------------------
|
||||
// Attempt to get the details from the
|
||||
// DB
|
||||
//----------------------------------
|
||||
|
||||
$DB->query("SELECT name, password, id, mgroup FROM ibf_members WHERE LOWER(name)='".strtolower($IN['username'])."'");
|
||||
$mem = $DB->fetch_row();
|
||||
|
||||
if ( empty($mem['id']) )
|
||||
{
|
||||
do_login("Could not find a record matching that username, please check the spelling");
|
||||
}
|
||||
|
||||
$pass = md5( $IN['password'] );
|
||||
|
||||
if ($pass != $mem['password'])
|
||||
{
|
||||
do_login("The password entered did not match the one in our records");
|
||||
}
|
||||
else
|
||||
{
|
||||
$DB->query("SELECT * FROM ibf_groups WHERE g_id='".$mem['mgroup']."'");
|
||||
|
||||
$GROUP = $DB->fetch_row();
|
||||
|
||||
if ($GROUP['g_access_cp'] != 1)
|
||||
{
|
||||
do_login("You do not have access to the administrative CP");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
//----------------------------------
|
||||
// All is good, rejoice as we set a
|
||||
// session for this user
|
||||
//----------------------------------
|
||||
|
||||
$sess_id = md5( uniqid( microtime() ) );
|
||||
|
||||
$db_string = $DB->compile_db_insert_string( array (
|
||||
'ID' => $sess_id,
|
||||
'IP_ADDRESS' => $IN['IP_ADDRESS'],
|
||||
'MEMBER_NAME' => $mem['name'],
|
||||
'MEMBER_ID' => $mem['id'],
|
||||
'SESSION_KEY' => $pass,
|
||||
'LOCATION' => 'index',
|
||||
'LOG_IN_TIME' => time(),
|
||||
'RUNNING_TIME' => time(),
|
||||
) );
|
||||
|
||||
$DB->query("INSERT INTO ibf_admin_sessions (".$db_string['FIELD_NAMES'].") VALUES (".$db_string['FIELD_VALUES'].")");
|
||||
|
||||
$IN['AD_SESS'] = $sess_id;
|
||||
|
||||
// Print the "well done page"
|
||||
|
||||
$ADMIN->page_title = "Log in successful";
|
||||
|
||||
$ADMIN->page_detail = "You may now proceed to the administrative control panel";
|
||||
|
||||
$ADMIN->html .= $SKIN->start_table("Proceed");
|
||||
|
||||
$ADMIN->html .= "<tr><td id='tdrow1'><a href='".$INFO['board_url']."/admin.".$INFO['php_ext']."?adsess=".$IN['AD_SESS']."'>Take me to administrative control panel</a></td></tr>";
|
||||
|
||||
$ADMIN->html .= $SKIN->end_table();
|
||||
|
||||
$ADMIN->output();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
//----------------------------------
|
||||
// Ok, so far so good. If we have a
|
||||
// validate session, check the running
|
||||
// time. if it's older than 2 hours,
|
||||
// ask for a log in
|
||||
//----------------------------------
|
||||
|
||||
|
||||
if ($session_validated == 1)
|
||||
{
|
||||
if ($this_session['RUNNING_TIME'] < ( time() - 60*60*2) )
|
||||
{
|
||||
$session_validated = 0;
|
||||
do_login("This administration session has expired");
|
||||
}
|
||||
|
||||
//------------------------------
|
||||
// Are we checking IP's?
|
||||
//------------------------------
|
||||
|
||||
else if ($check_ip == 1)
|
||||
{
|
||||
if ($this_session['IP_ADDRESS'] != $IN['IP_ADDRESS'])
|
||||
{
|
||||
$session_validated = 0;
|
||||
do_login("Your current IP address does not match the one in our records");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($session_validated == 1 )
|
||||
{
|
||||
//------------------------------
|
||||
// If we get this far, we're good to go..
|
||||
//------------------------------
|
||||
|
||||
$IN['AD_SESS'] = $IN['adsess'];
|
||||
|
||||
//------------------------------
|
||||
// Lets update the sessions table:
|
||||
//------------------------------
|
||||
|
||||
$DB->query("UPDATE ibf_admin_sessions SET RUNNING_TIME='".time()."', LOCATION='".$IN['act']."' WHERE MEMBER_ID='".$MEMBER['id']."' AND ID='".$IN['AD_SESS']."'");
|
||||
|
||||
do_admin_stuff();
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
//------------------------------
|
||||
// Session is not validated...
|
||||
//------------------------------
|
||||
|
||||
do_login("Session not validated - please attempt to log in again");
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
function do_login($message="") {
|
||||
global $IN, $DB, $ADMIN, $SKIN;
|
||||
|
||||
//-------------------------------------------------------
|
||||
// Remove all out of date sessions, like a good boy. Woof.
|
||||
//-------------------------------------------------------
|
||||
|
||||
$cut_off_stamp = time() - 60*60*2;
|
||||
|
||||
$DB->query("DELETE FROM ibf_admin_sessions WHERE RUNNING_TIME < $cut_off_stamp");
|
||||
|
||||
//+------------------------------------------------------
|
||||
|
||||
$ADMIN->page_detail = "You must have administrative access to successfully log into the Invision Board Admin CP.<br>Please enter your forums username and password below";
|
||||
|
||||
if ($message != "")
|
||||
{
|
||||
$ADMIN->page_detail .= "<br><br><span style='color:red;font-weight:bold'>$message</span>";
|
||||
}
|
||||
|
||||
$ADMIN->html .= "<script language='javascript'>
|
||||
<!--
|
||||
if (top.location != self.location) { top.location = self.location }
|
||||
//-->
|
||||
</script>
|
||||
";
|
||||
|
||||
$ADMIN->html .= $SKIN->start_form( array( 1 => array('login', 'yes') ) );
|
||||
|
||||
$SKIN->td_header[] = array( " " , "40%" );
|
||||
$SKIN->td_header[] = array( " " , "60%" );
|
||||
|
||||
$ADMIN->html .= $SKIN->start_table( "Verification Required" );
|
||||
|
||||
$ADMIN->html .= $SKIN->add_td_row( array( "Your Forums Username:",
|
||||
"<input type='text' style='width:100%' name='username' value=''>",
|
||||
) );
|
||||
|
||||
$ADMIN->html .= $SKIN->add_td_row( array( "Your Forums Password:",
|
||||
"<input type='password' style='width:100%' name='password' value=''>",
|
||||
) );
|
||||
|
||||
$ADMIN->html .= $SKIN->end_form("Log in");
|
||||
|
||||
$ADMIN->html .= $SKIN->end_table();
|
||||
|
||||
$ADMIN->output();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function do_admin_stuff() {
|
||||
global $IN, $root_path, $INFO, $DB, $SKIN, $ADMIN, $std, $MEMBER, $GROUP, $ibforums;
|
||||
|
||||
|
||||
/*----------------------------------
|
||||
What do you want to require today?
|
||||
------------------------------------*/
|
||||
|
||||
$choice = array(
|
||||
"idx" => "doframes",
|
||||
"menu" => "menu",
|
||||
"index" => "index",
|
||||
"cat" => "categories",
|
||||
"forum" => "forums",
|
||||
"mem" => "member",
|
||||
'group' => "groups",
|
||||
'mod' => 'moderator',
|
||||
'op' => 'settings',
|
||||
'help' => 'help',
|
||||
'skin' => 'skins',
|
||||
'wrap' => 'wrappers',
|
||||
'style' => 'stylesheets',
|
||||
'image' => 'imagemacros',
|
||||
'sets' => 'stylesets',
|
||||
'templ' => 'templates',
|
||||
'lang' => 'languages',
|
||||
'import' => 'skin_import',
|
||||
'modlog' => 'modlogs',
|
||||
);
|
||||
|
||||
|
||||
/***************************************************/
|
||||
|
||||
$IN['act'] = $IN['act'] == '' ? "idx" : $IN['act'];
|
||||
|
||||
// Check to make sure the array key exits..
|
||||
if (! isset($choice[$IN['act']]) ) {
|
||||
$IN['act'] = 'idx';
|
||||
}
|
||||
|
||||
// Require and run
|
||||
|
||||
if ($IN['act'] == 'idx')
|
||||
{
|
||||
print $SKIN->frame_set();
|
||||
exit;
|
||||
}
|
||||
else if ($IN['act'] == 'menu')
|
||||
{
|
||||
$ADMIN->menu();
|
||||
}
|
||||
else
|
||||
{
|
||||
require $root_path."sources/Admin/ad_".$choice[$IN['act']].".php";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
//+-------------------------------------------------
|
||||
// GLOBAL ROUTINES
|
||||
//+-------------------------------------------------
|
||||
|
||||
function fatal_error($message="", $help="") {
|
||||
echo("$message<br><br>$help");
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1 @@
|
||||
<html>␍<head><title>IBForums - Bulletin Board System</title></head>␍<body>␍<h1>403: IBForums-> Forbidden</h1>␍<hr>␍You have reached this Page in error, please use␍your back button to return to Invision Board.␍<hr>␍<a href="http://www.invisionboard.com/">Get your free download of IBForums now!</a>␍</body>␍</html>␍
|
||||
@@ -0,0 +1 @@
|
||||
<html>␍<head><title>IBForums - Bulletin Board System</title></head>␍<body>␍<h1>403: IBForums-> Forbidden</h1>␍<hr>␍You have reached this Page in error, please use␍your back button to return to Invision Board.␍<hr>␍<a href="http://www.invisionboard.com/">Get your free download of IBForums now!</a>␍</body>␍</html>␍
|
||||
@@ -0,0 +1,102 @@
|
||||
<?php
|
||||
$INFO['sig_allow_ibc'] = '1';
|
||||
$INFO['show_user_posted'] = '1';
|
||||
$INFO['avatar_ext'] = 'gif|jpeg|jpg|swf|png';
|
||||
$INFO['avatar_url'] = '1';
|
||||
$INFO['avup_size_max'] = '20';
|
||||
$INFO['avatars_on'] = '1';
|
||||
$INFO['avatar_dims'] = '64x64';
|
||||
$INFO['avatar_def'] = '64x64';
|
||||
$INFO['email_in'] = '';
|
||||
$INFO['email_out'] = '';
|
||||
$INFO['allow_images'] = '1';
|
||||
$INFO['max_emos'] = '20';
|
||||
$INFO['allow_creator_vote'] = '1';
|
||||
$INFO['allow_dynamic_img'] = '0';
|
||||
$INFO['allow_flash'] = '1';
|
||||
$INFO['allow_online_list'] = '1';
|
||||
$INFO['allow_skins'] = '1';
|
||||
$INFO['ban_ip'] = '';
|
||||
$INFO['ban_email'] = '';
|
||||
$INFO['ban_names'] = '';
|
||||
$INFO['board_start'] = '1020214590';
|
||||
$INFO['news_forum_id'] = '1';
|
||||
$INFO['index_news_link'] = '1';
|
||||
$INFO['allow_dup_email'] = '1';
|
||||
$INFO['admin_group'] = '4';
|
||||
$INFO['auth_group'] = '1';
|
||||
$INFO['member_group'] = '3';
|
||||
$INFO['guest_group'] = '2';
|
||||
$INFO['boardname'] = 'IBForums';
|
||||
$INFO['board_desc'] = 'Website forums';
|
||||
$INFO['board_name'] = 'IBForums';
|
||||
$INFO['php_ext'] = 'php';
|
||||
$INFO['board_url'] = '';
|
||||
$INFO['match_browser'] = '0';
|
||||
$INFO['clock_long'] = 'M j Y, h:i A';
|
||||
$INFO['clock_short'] = 'jS F Y - h:i A';
|
||||
$INFO['clock_joined'] = 'j-F y';
|
||||
$INFO['load_limit'] = '';
|
||||
$INFO['cookie_domain'] = '';
|
||||
$INFO['cookie_id'] = '';
|
||||
$INFO['cookie_path'] = '';
|
||||
$INFO['email_header'] = 'This email generated via IBForums';
|
||||
$INFO['email_footer'] = '';
|
||||
$INFO['show_active'] = '1';
|
||||
$INFO['show_birthdays'] = '1';
|
||||
$INFO['show_totals'] = '1';
|
||||
$INFO['sql_driver'] = 'mySQL';
|
||||
$INFO['sql_host'] = 'localhost';
|
||||
$INFO['sql_database'] = '';
|
||||
$INFO['sql_pass'] = '';
|
||||
$INFO['sql_port'] = '';
|
||||
$INFO['sql_tbl_prefix'] = 'ibf_';
|
||||
$INFO['sql_user'] = 'root';
|
||||
$INFO['display_max_posts'] = '15';
|
||||
$INFO['display_max_topics'] = '15';
|
||||
$INFO['emo_per_row'] = '3';
|
||||
$INFO['etfilter_punct'] = '0';
|
||||
$INFO['etfilter_shout'] = '0';
|
||||
$INFO['flood_control'] = '30';
|
||||
$INFO['force_login'] = '0';
|
||||
$INFO['show_img_upload'] = '1';
|
||||
$INFO['home_name'] = 'ibforums.com';
|
||||
$INFO['home_url'] = 'http://localhost';
|
||||
$INFO['hot_topic'] = '15';
|
||||
$INFO['html_dir'] = '';
|
||||
$INFO['base_dir'] = '';
|
||||
$INFO['html_url'] = '';
|
||||
$INFO['upload_dir'] = '';
|
||||
$INFO['upload_url'] = '';
|
||||
$INFO['img_ext'] = 'gif|jpeg|jpg|png';
|
||||
$INFO['max_h_flash'] = '200';
|
||||
$INFO['max_images'] = '10';
|
||||
$INFO['max_post_length'] = '1000';
|
||||
$INFO['max_w_flash'] = '200';
|
||||
$INFO['max_messages'] = '50';
|
||||
$INFO['pre_moved'] = 'Moved: ';
|
||||
$INFO['pre_pinned'] = 'Pinned: ';
|
||||
$INFO['pre_polls'] = 'Poll: ';
|
||||
$INFO['session_expiration'] = '3600';
|
||||
$INFO['reg_auth_type'] = '0';
|
||||
$INFO['time_offset'] = '0';
|
||||
$INFO['new_reg_notify'] = '0';
|
||||
$INFO['use_mail_form'] = '1';
|
||||
$INFO['msg_allow_code'] = '1';
|
||||
$INFO['msg_allow_html'] = '0';
|
||||
$INFO['allow_search'] = '1';
|
||||
$INFO['print_headers'] = '1';
|
||||
$INFO['nocache'] = '1';
|
||||
$INFO['debug_level'] = '1';
|
||||
$INFO['forum_skin_1'] = '';
|
||||
$INFO['forum_skin_8'] = '';
|
||||
$INFO['board_offline'] = '0';
|
||||
$INFO['offline_msg'] = '';
|
||||
$INFO['no_reg'] = '0';
|
||||
$INFO['max_sig_length'] = '50000';
|
||||
$INFO['sig_allow_html'] = '0';
|
||||
$INFO['max_location_length'] = '50000';
|
||||
$INFO['max_interest_length'] = '50000';
|
||||
$INFO['post_titlechange'] = '50000';
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
$mime_types = array(
|
||||
|
||||
|
||||
// mime allow post img type allow avatar
|
||||
|
||||
"application/pdf" => array( 1, 'pdf.gif' , 'PDF Document' ) ,
|
||||
"image/x-png" => array( 1, 'quicktime.gif' , 'PNG Image' ) ,
|
||||
"video/vivo" => array( 1, 'win_player.gif', 'VIVO Movie' ) ,
|
||||
"application/x-compress" => array( 1, 'zip.gif' , 'Compressed File') ,
|
||||
"video/x-msvideo" => array( 1, 'win_player.gif' , 'MS Video' ) ,
|
||||
"text/html" => array( 1, 'html.gif' , 'HTML Page' ) ,
|
||||
"audio/x-pn-realaudio" => array( 1, 'real_audio.gif', 'Real Audio File') ,
|
||||
"image/gif" => array( 1, 'gif.gif' , 'GIF Image' ,1 ) ,
|
||||
"video/mpeg" => array( 1, 'quicktime.gif' , 'MPEG Video' ) ,
|
||||
"image/ico" => array( 1, 'gif.gif' , 'Icon File' ) ,
|
||||
"application/x-tar" => array( 1, 'zip.gif' , 'TAR Ball' ) ,
|
||||
"image/x-MS-bmp" => array( 1, 'bmp.gif' , 'BMP Image' ) ,
|
||||
"image/tiff" => array( 1, 'quicktime.gif' , 'TIFF Image' ) ,
|
||||
"text/richtext" => array( 1, 'txt.gif' , 'Rich Text' ) ,
|
||||
"audio/x-realaudio" => array( 1, 'realaudio.gif' , 'Real Audio' ) ,
|
||||
"application/mac-binhex40" => array( 1, 'stuffit.gif' , 'Mac Binary' ) ,
|
||||
"audio/x-aiff" => array( 1, 'quicktime.gif' , 'AIFF File' ) ,
|
||||
"application/x-gzip" => array( 1, 'zip.gif' , 'GZIP File' ) ,
|
||||
"application/zip" => array( 1, 'zip.gif' , 'ZIP File' ) ,
|
||||
"application/postscript" => array( 1, 'postscript.gif', 'Postscript' ) ,
|
||||
"application/msword" => array( 1, 'word.gif' , 'MS Word doc' ) ,
|
||||
"video/quicktime" => array( 1, 'quicktime.gif' , 'QuickTime Movie') ,
|
||||
"application/powerpoint" => array( 1, 'apps.gif' , 'PowerPoint Doc' ) ,
|
||||
"audio/x-wav" => array( 1, 'sound.gif' , 'WAV File' ) ,
|
||||
"audio/x-mpeg" => array( 1, 'mp3.gif' , 'MPEG Audio' ) ,
|
||||
"image/jpeg" => array( 1, 'jpeg.gif' , 'JPEG Image' ,1) ,
|
||||
"application/x-zip-compressed" => array( 1, 'zip.gif' , 'ZIP File' ) ,
|
||||
"application/octet-stream" => array( 1, 'quicktime.gif' , 'OCTET Stream' ) ,
|
||||
"text/plain" => array( 1, 'text.gif' , 'Text File' ) ,
|
||||
"image/pjpeg" => array( 1, 'jpeg.gif' , 'JPEG Image' ,1) ,
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
|
After Width: | Height: | Size: 634 B |
|
After Width: | Height: | Size: 450 B |
|
After Width: | Height: | Size: 540 B |
|
After Width: | Height: | Size: 398 B |
|
After Width: | Height: | Size: 362 B |
|
After Width: | Height: | Size: 317 B |
|
After Width: | Height: | Size: 655 B |
|
After Width: | Height: | Size: 459 B |
|
After Width: | Height: | Size: 237 B |
|
After Width: | Height: | Size: 477 B |
|
After Width: | Height: | Size: 299 B |
|
After Width: | Height: | Size: 448 B |
|
After Width: | Height: | Size: 597 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 417 B |
|
After Width: | Height: | Size: 446 B |
@@ -0,0 +1 @@
|
||||
<html>␍<head><title>IBForums - Bulletin Board System</title></head>␍<body>␍<h1>403: IBForums-> Forbidden</h1>␍<hr>␍You have reached this Page in error, please use␍your back button to return to Invision Board.␍<hr>␍<a href="http://www.invisionboard.com/">Get your free download of IBForums now!</a>␍</body>␍</html>␍
|
||||
|
After Width: | Height: | Size: 325 B |
|
After Width: | Height: | Size: 309 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 321 B |
|
After Width: | Height: | Size: 362 B |
|
After Width: | Height: | Size: 371 B |
|
After Width: | Height: | Size: 325 B |
|
After Width: | Height: | Size: 465 B |
|
After Width: | Height: | Size: 696 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 482 B |
|
After Width: | Height: | Size: 472 B |
|
After Width: | Height: | Size: 696 B |
|
After Width: | Height: | Size: 696 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 468 B |
|
After Width: | Height: | Size: 699 B |
|
After Width: | Height: | Size: 708 B |
|
After Width: | Height: | Size: 690 B |
|
After Width: | Height: | Size: 699 B |
|
After Width: | Height: | Size: 698 B |
|
After Width: | Height: | Size: 481 B |
|
After Width: | Height: | Size: 698 B |
|
After Width: | Height: | Size: 705 B |
|
After Width: | Height: | Size: 705 B |
|
After Width: | Height: | Size: 698 B |
|
After Width: | Height: | Size: 697 B |
|
After Width: | Height: | Size: 699 B |
|
After Width: | Height: | Size: 698 B |
|
After Width: | Height: | Size: 897 B |
|
After Width: | Height: | Size: 946 B |
|
After Width: | Height: | Size: 699 B |
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1 @@
|
||||
bbtags = new Array();␍␍//--------------------------------------------␍// Get stack size␍//--------------------------------------------␍␍function stacksize(thearray)␍{␍ for (i = 0 ; i < thearray.length; i++ )␍ {␍ if ( (thearray[i] == "") || (thearray[i] == null) || (thearray == 'undefined') )␍ {␍ return i;␍ }␍ }␍ ␍ return thearray.length;␍}␍␍//--------------------------------------------␍// Push stack␍//--------------------------------------------␍␍function pushstack(thearray, newval)␍{␍ arraysize = stacksize(thearray);␍ thearray[arraysize] = newval;␍}␍␍//--------------------------------------------␍// Pop stack␍//--------------------------------------------␍␍function popstack(thearray)␍{␍ arraysize = stacksize(thearray);␍ theval = thearray[arraysize - 1];␍ delete thearray[arraysize - 1];␍ return theval;␍}␍␍//--------------------------------------------␍// Close current open tag␍//--------------------------------------------␍␍function closelast()␍{␍␍ if (bbtags[0])␍ {␍ document.REPLIER.Post.value += "[/" + popstack(bbtags) + "]";␍ }␍ ␍ document.REPLIER.Post.focus();␍ ␍}␍␍//--------------------------------------------␍// Close all tags␍//--------------------------------------------␍␍function closeall()␍{␍ if (bbtags[0])␍ {␍ while (bbtags[0])␍ {␍ document.REPLIER.Post.value += "[/" + popstack(bbtags) + "]";␍ }␍ ␍ document.REPLIER.Post.value += " ";␍ }␍ ␍ document.REPLIER.Post.focus();␍}␍␍//--------------------------------------------␍// EMOTICONS␍//--------------------------------------------␍␍function emoticon(theSmilie)␍ {␍ if (document.REPLIER.Post.caretPos && document.REPLIER.Post.createTextRange)␍ {␍ var caretPos = document.REPLIER.Post.caretPos;␍ caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? theSmilie + ' ' : theSmilie;␍ }␍ else␍ {␍ document.REPLIER.Post.value += ' ' + theSmilie + ' ';␍ }␍ ␍ document.REPLIER.Post.focus();␍}␍␍//--------------------------------------------␍// ADD CODE␍//--------------------------------------------␍␍function add_code(NewCode)␍{␍ document.REPLIER.Post.value += NewCode;␍ document.REPLIER.Post.focus();␍ return;␍}␍␍//--------------------------------------------␍// ALTER FONT␍//--------------------------------------------␍␍function alterfont(theval, thetag)␍{␍ if (theval == 0)␍ {␍ return;␍ }␍ else␍ {␍ document.REPLIER.Post.value += "[" + thetag + "=" + theval + "]";␍ pushstack(bbtags, thetag);␍ }␍ ␍ document.REPLIER.ffont.selectedIndex = 0;␍ document.REPLIER.fsize.selectedIndex = 0;␍ document.REPLIER.fcolor.selectedIndex = 0;␍ ␍ document.REPLIER.Post.focus();␍}␍␍␍//--------------------------------------------␍// SIMPLE TAGS (such as B, I U, etc)␍//--------------------------------------------␍␍function simpletag(thetag)␍{␍ document.REPLIER.Post.value += "[" + thetag + "]";␍ ␍ pushstack(bbtags, thetag);␍ ␍ document.REPLIER.Post.focus();␍}␍␍function tag_url()␍{␍ var FoundErrors = '';␍ var enterURL = prompt(text_enter_url, "http://");␍ var enterTITLE = prompt(text_enter_url_name, "My Webpage");␍ if (!enterURL)␍ {␍ FoundErrors += " " + error_no_url;␍ }␍ if (!enterTITLE)␍ {␍ FoundErrors += " " + error_no_title;␍ }␍ if (FoundErrors)␍ {␍ alert("Error!"+FoundErrors);␍ return;␍ }␍ var ToAdd = "[URL="+enterURL+"]"+enterTITLE+"[/URL]";␍ document.REPLIER.Post.value+=ToAdd;␍ document.REPLIER.Post.focus();␍}␍␍function tag_image()␍{␍ var FoundErrors = '';␍ var enterURL = prompt(text_enter_image, "http://");␍ if (!enterURL) {␍ FoundErrors += " " + error_no_url;␍ }␍ if (FoundErrors) {␍ alert("Error!"+FoundErrors);␍ return;␍ }␍ var ToAdd = "[IMG]"+enterURL+"[/IMG]";␍ document.REPLIER.Post.value+=ToAdd;␍ document.REPLIER.Post.focus();␍}␍␍function tag_email()␍{␍ var emailAddress = prompt(text_enter_email,"");␍ if (!emailAddress) { alert(error_no_email); return; }␍ var ToAdd = "[EMAIL]"+emailAddress+"[/EMAIL]";␍ document.REPLIER.Post.value+=ToAdd;␍ document.REPLIER.Post.focus();␍}
|
||||
@@ -0,0 +1 @@
|
||||
<html>␍<head><title>IBForums - Bulletin Board System</title></head>␍<body>␍<h1>403: IBForums-> Forbidden</h1>␍<hr>␍You have reached this Page in error, please use␍your back button to return to Invision Board.␍<hr>␍<a href="http://www.invisionboard.com/">Get your free download of IBForums now!</a>␍</body>␍</html>␍
|
||||
|
After Width: | Height: | Size: 245 B |
|
After Width: | Height: | Size: 183 B |
|
After Width: | Height: | Size: 183 B |
|
After Width: | Height: | Size: 123 B |
|
After Width: | Height: | Size: 183 B |
|
After Width: | Height: | Size: 183 B |
|
After Width: | Height: | Size: 256 B |
|
After Width: | Height: | Size: 216 B |
|
After Width: | Height: | Size: 616 B |
|
After Width: | Height: | Size: 153 B |
|
After Width: | Height: | Size: 130 B |
|
After Width: | Height: | Size: 395 B |
|
After Width: | Height: | Size: 592 B |
|
After Width: | Height: | Size: 254 B |
|
After Width: | Height: | Size: 259 B |
|
After Width: | Height: | Size: 111 B |
|
After Width: | Height: | Size: 135 B |
|
After Width: | Height: | Size: 177 B |
|
After Width: | Height: | Size: 170 B |
|
After Width: | Height: | Size: 182 B |