Version 1.3.0
No files matched your search
@@ -0,0 +1 @@
|
||||
<html>␍<head><title>Invision Power Board - Bulletin Board System</title></head>␍<body>␍<h1>403: Invision Power Board -> 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/">Invision Power Board</a>␍</body>␍</html>␍
|
||||
@@ -1,237 +1,294 @@
|
||||
<?php
|
||||
|
||||
class skin_boards {
|
||||
|
||||
|
||||
|
||||
function stats_header() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Board Stats -->
|
||||
<!--IBF.QUICK_LOG_IN-->
|
||||
<br>
|
||||
<table width="<{tbl_width}>" align="center" border="0" cellspacing="4" cellpadding="0">
|
||||
<tr>
|
||||
<td align='center'><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> |
|
||||
<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>
|
||||
<br>
|
||||
<table cellpadding='2' width='<{tbl_width}>' align='center' class='solidborder'>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td class='titlemedium' colspan='2'>{$ibforums->lang['board_stats']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function ActiveUsers($active) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class='category' colspan='2'>$active[TOTAL] {$ibforums->lang['active_users']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="5%" class='forum1'><{F_ACTIVE}></td>
|
||||
<td class='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 class='category' colspan='2'>{$ibforums->lang['board_stats']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='forum1' width='5%' valign='middle'><{F_STATS}></td>
|
||||
<td class='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 class='category' colspan='2'>{$ibforums->lang['birthday_header']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='forum1' width='5%' valign='middle'><{F_ACTIVE}></td>
|
||||
<td class='forum2' width='95%'><b>$total</b> $birth_lang<br>$birthusers</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function calendar_events($events = "") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class='category' colspan='2'>{$ibforums->lang['calender_f_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='forum1' width='5%' valign='middle'><{F_ACTIVE}></td>
|
||||
<td class='forum2' width='95%'>$events</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="<{tbl_width}>" align="center" border="0" cellspacing="1" cellpadding="0" bgcolor="<{tbl_border}>">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="3" class='maintitle'>
|
||||
<tr>
|
||||
<td class="maintitle"><{CAT_IMG}></td>
|
||||
<td width="100%" class="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 class='mainbg'>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
||||
<tr>
|
||||
<td align="center" nowrap class='titlemedium'><img src="{$ibforums->vars['img_url']}/spacer.gif" alt="" width="28" height="1"></td>
|
||||
<td width="59%" nowrap class='titlemedium'>{$ibforums->lang['cat_name']}</td>
|
||||
<td align="center" width="7%" nowrap class='titlemedium'>{$ibforums->lang['topics']}</td>
|
||||
<td align="center" width="7%" nowrap class='titlemedium'>{$ibforums->lang['replies']}</td>
|
||||
<td width="27%" nowrap class='titlemedium'>{$ibforums->lang['last_post_info']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function subheader() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br>
|
||||
<table width="<{tbl_width}>" align="center" border="0" cellspacing="1" cellpadding="0" bgcolor="<{tbl_border}>">
|
||||
<tr>
|
||||
<td class='mainbg'>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
||||
<tr>
|
||||
<td align="center" nowrap class='titlemedium'><img src="{$ibforums->vars['img_url']}/spacer.gif" alt="" width="28" height="1"></td>
|
||||
<td width="59%" nowrap class='titlemedium'>{$ibforums->lang['cat_name']}</td>
|
||||
<td align="center" width="7%" nowrap class='titlemedium'>{$ibforums->lang['topics']}</td>
|
||||
<td align="center" width="7%" nowrap class='titlemedium'>{$ibforums->lang['replies']}</td>
|
||||
<td width="27%" nowrap class='titlemedium'>{$ibforums->lang['last_post_info']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function end_this_cat() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class='mainfoot' colspan="5"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function end_all_cats() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
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='<{tbl_width}>' align='center'>
|
||||
<tr>
|
||||
<td align='left' valign='bottom'><!-- IBF.NEWSLINK -->{$ibforums->lang['welcome_back_text']} $lastvisit</td>
|
||||
<td align='right' valign='bottom'> </td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function quick_log_in() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<form style='display:inline' action="{$ibforums->base_url}&act=Login&CODE=01&CookieDate=1" method="post">
|
||||
<table cellpadding='3' cellspacing='0' border='0' width='<{tbl_width}>' align='center'>
|
||||
<tr>
|
||||
<td align='right' valign='middle' width='100%'><b>{$ibforums->lang['qli_title']}</b></td>
|
||||
<td align='right' valign='middle' nowrap>
|
||||
<input type='text' class='forminput' size='10' name='UserName' onFocus='this.value=""' value='{$ibforums->lang['qli_name']}'>
|
||||
<input type='password' class='forminput' size='10' name='PassWord' onFocus='this.value=""' value='ibfrules'>
|
||||
<input type='submit' class='forminput' value='{$ibforums->lang['qli_go']}'>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function ForumRow($info) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Forum {$info['id']} entry -->
|
||||
<tr>
|
||||
<td class="forum2" align="center">{$info['img_new_post']}</td>
|
||||
<td class="forum2" width="59%"><span class="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 class='desc'>{$info['description']}</span><br>{$info['moderator']}</td>
|
||||
<td class="forum1" align="center" width="7%">{$info['topics']}</td>
|
||||
<td class="forum1" align="center" width="7%">{$info['posts']}</td>
|
||||
<td class="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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
<?php
|
||||
|
||||
class skin_boards {
|
||||
|
||||
function whoschatting_show($total, $names, $link, $txt) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class='pformstrip' colspan='2'>{$total} {$ibforums->lang['whoschatting_total']} <a href='$link'>{$ibforums->lang['whoschatting_loadchat']}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="5%" class='row2'><{F_ACTIVE}></td>
|
||||
<td class='row4' width='95%'>
|
||||
{$names}<div class='desc' style='margin-top:5px'>$txt</div>
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function whoschatting_empty($link) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class='pformstrip' colspan='2'>{$ibforums->lang['whoschatting_total']} <a href='$link'>{$ibforums->lang['whoschatting_loadchat']}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="5%" class='row2'><{F_ACTIVE}></td>
|
||||
<td class='row4' width='95%'>
|
||||
<i>{$ibforums->lang['whoschatting_none']}</i>
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function whoschatting_inline_link() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
{$ibforums->base_url}act=chat
|
||||
EOF;
|
||||
}
|
||||
|
||||
function whoschatting_popup_link() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
javascript:chat_pop({$ibforums->vars['chat_width']}, {$ibforums->vars['chat_height']});
|
||||
EOF;
|
||||
}
|
||||
|
||||
function active_list_sep() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
,
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function stats_header() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Board Stats -->
|
||||
<!--IBF.QUICK_LOG_IN-->
|
||||
<br />
|
||||
<div align='center'>
|
||||
<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> |
|
||||
<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>
|
||||
</div>
|
||||
<br />
|
||||
<div class="tableborder">
|
||||
<div class="maintitle">{$ibforums->lang['board_stats']}</div>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function ActiveUsers($active) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class='pformstrip' colspan='2'>$active[TOTAL] {$ibforums->lang['active_users']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="5%" class='row2'><{F_ACTIVE}></td>
|
||||
<td class='row4' 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']}
|
||||
<div class='thin'>{$active[NAMES]}</div>
|
||||
{$active['links']}
|
||||
</td>
|
||||
</tr>
|
||||
<!--IBF.WHOSCHATTING-->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function active_user_links() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
{$ibforums->lang['oul_show_more']} <a href='{$ibforums->base_url}act=Online&CODE=listall&sort_key=click'>{$ibforums->lang['oul_click']}</a>, <a href='{$ibforums->base_url}act=Online&CODE=listall&sort_key=name&sort_order=asc&show_mem=reg'>{$ibforums->lang['oul_name']}</a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function ShowStats($text) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class='pformstrip' colspan='2'>{$ibforums->lang['board_stats']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row2' width='5%' valign='middle'><{F_STATS}></td>
|
||||
<td class='row4' 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 class='pformstrip' colspan='2'>{$ibforums->lang['birthday_header']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row2' width='5%' valign='middle'><{F_ACTIVE}></td>
|
||||
<td class='row4' width='95%'><b>$total</b> $birth_lang<br />$birthusers</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function calendar_events($events = "") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class='pformstrip' colspan='2'>{$ibforums->lang['calender_f_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row2' width='5%' valign='middle'><{F_ACTIVE}></td>
|
||||
<td class='row4' width='95%'>$events</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function stats_footer() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</table>
|
||||
</div>
|
||||
<!-- Board Stats -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function bottom_links() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br />
|
||||
<div align='right'><a href="{$ibforums->base_url}act=Login&CODE=06">{$ibforums->lang['d_delete_cookies']}</a> · <a href="{$ibforums->base_url}act=Login&CODE=05">{$ibforums->lang['d_post_read']}</a></div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function CatHeader_Expanded($Data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class="tableborder">
|
||||
<div class='maintitle' align='left'><{CAT_IMG}> <a href="{$ibforums->base_url}c={$Data['id']}">{$Data['name']}</a></div>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
||||
<tr>
|
||||
<th align="center" width="2%" class='titlemedium'><img src="{$ibforums->vars['img_url']}/spacer.gif" alt="" width="28" height="1" /></th>
|
||||
<th align="left" width="59%" class='titlemedium'>{$ibforums->lang['cat_name']}</th>
|
||||
<th align="center" width="7%" class='titlemedium'>{$ibforums->lang['topics']}</th>
|
||||
<th align="center" width="7%" class='titlemedium'>{$ibforums->lang['replies']}</th>
|
||||
<th align="left" width="25%" class='titlemedium'>{$ibforums->lang['last_post_info']}</th>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function subheader() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br />
|
||||
<div class="tableborder">
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
||||
<tr>
|
||||
<td align="center" class='titlemedium'><img src="{$ibforums->vars['img_url']}/spacer.gif" alt="" width="28" height="1" /></td>
|
||||
<th align='left' width="59%" class='titlemedium'>{$ibforums->lang['cat_name']}</th>
|
||||
<th align="center" width="7%" class='titlemedium'>{$ibforums->lang['topics']}</th>
|
||||
<th align="center" width="7%" class='titlemedium'>{$ibforums->lang['replies']}</th>
|
||||
<th align='left' width="27%" class='titlemedium'>{$ibforums->lang['last_post_info']}</th>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function end_this_cat() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class='darkrow2' colspan="5"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br />
|
||||
EOF;
|
||||
}
|
||||
|
||||
function end_all_cats() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function newslink( $fid="", $title="", $tid="" ) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<b>{$ibforums->vars['board_name']} {$ibforums->lang['newslink']} <a href='{$ibforums->base_url}showtopic=$tid'>$title</a></b><br />
|
||||
EOF;
|
||||
}
|
||||
|
||||
function PageTop($lastvisit) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div align='left' style='text-align:left;padding-bottom:4px'>
|
||||
<!-- IBF.NEWSLINK -->{$ibforums->lang['welcome_back_text']} $lastvisit
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function quick_log_in() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<form style='display:inline' action="{$ibforums->base_url}act=Login&CODE=01&CookieDate=1" method="post">
|
||||
<div align='right'><strong>{$ibforums->lang['qli_title']}</strong>
|
||||
<input type="text" class="forminput" size="10" name="UserName" onfocus="this.value=''" value="{$ibforums->lang['qli_name']}" />
|
||||
<input type='password' class='forminput' size='10' name='PassWord' onfocus="this.value=''" value='ibfrules' />
|
||||
<input type='submit' class='forminput' value='{$ibforums->lang['qli_go']}' />
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function forum_img_with_link($img, $id) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<a href='{$ibforums->base_url}act=Login&CODE=04&f={$id}' title='{$ibforums->lang['bi_markread']}'>{$img}</a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function subforum_img_with_link($img, $id) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<a href='{$ibforums->base_url}act=Login&CODE=04&f={$id}&i=1' title='{$ibforums->lang['bi_markallread']}'>{$img}</a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function ForumRow($info) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class="row4" align="center">{$info['img_new_post']}</td>
|
||||
<td class="row4"><b><a href="{$ibforums->base_url}showforum={$info['id']}">{$info['name']}</a></b><br /><span class='desc'>{$info['description']}<br />{$info['moderator']}</span></td>
|
||||
<td class="row2" align="center">{$info['topics']}</td>
|
||||
<td class="row2" align="center">{$info['posts']}</td>
|
||||
<td class="row2" nowrap="nowrap">{$info['last_post']}<br />{$ibforums->lang['in']}: {$info['last_unread']}{$info['last_topic']}<br />{$ibforums->lang['by']}: {$info['last_poster']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function forum_redirect_row($info) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Forum {$info['id']} entry -->
|
||||
<tr>
|
||||
<td class="row4" align="center"><{BR_REDIRECT}></td>
|
||||
<td class="row4"><b><a href="{$ibforums->base_url}showforum={$info['id']}" {$info['redirect_target']}>{$info['name']}</a></b><br /><span class='desc'>{$info['description']}</span></td>
|
||||
<td class="row2" align="center">-</td>
|
||||
<td class="row2" align="center">-</td>
|
||||
<td class="row2">{$ibforums->lang['rd_hits']}: {$info['redirect_hits']}</td>
|
||||
</tr>
|
||||
<!-- End of Forum {$info['id']} entry -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function forumrow_lastunread_link($fid, $tid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<a href='{$ibforums->base_url}showtopic=$tid&view=getlastpost' title='{$ibforums->lang['tt_golast']}'><{LAST_POST}></a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -1,222 +1,154 @@
|
||||
<?php
|
||||
|
||||
class skin_buddy {
|
||||
|
||||
|
||||
function buddy_js() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script language='javascript'>
|
||||
<!--
|
||||
function redirect_to(where, closewin)
|
||||
{
|
||||
opener.location= '$ibforums->base_url' + where;
|
||||
|
||||
if (closewin == 1)
|
||||
{
|
||||
self.close();
|
||||
}
|
||||
}
|
||||
|
||||
function check_form(helpform)
|
||||
{
|
||||
opener.name = "ibfmain";
|
||||
|
||||
if (helpform == 1) {
|
||||
document.theForm2.target = 'ibfmain';
|
||||
} else {
|
||||
document.theForm.target = 'ibfmain';
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
function shrink()
|
||||
{
|
||||
window.resizeTo('200','75');
|
||||
}
|
||||
|
||||
function expand()
|
||||
{
|
||||
window.resizeTo('200','450');
|
||||
}
|
||||
|
||||
|
||||
//-->
|
||||
</script>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function build_away_msg() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
{$ibforums->lang['new_posts']}
|
||||
<br>
|
||||
{$ibforums->lang['my_replies']}
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function append_view($url="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
( <b><a href='javascript:redirect_to("$url", 0)'>{$ibforums->lang['view_link']}</a></b> )
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function main($away_text="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%' height='100%' class='row1' align='center'>
|
||||
<tr>
|
||||
<td valign='top'>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='5' cellspacing='1' border='0' width='100%' height='100%'>
|
||||
<tr>
|
||||
<td class='titlemedium' align='center'>{$ibforums->lang['page_title']} [ <a href='javascript:shrink()' style='text-decoration:none'>-</a> <a href='javascript:expand()' style='text-decoration:none'>+</a> ]</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class='category' valign='middle' align='center'>{$ibforums->lang['while_away']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' class='row1'>$away_text</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td class='category' valign='middle' align='center'>{$ibforums->lang['show_me']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' class='row1'>
|
||||
<table cellpadding='5' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='left' width='1%'><img src='{$ibforums->vars['img_url']}/nav_m_dark.gif' border='0'></td>
|
||||
<td align='left' width='99%'><a href='javascript:redirect_to("&act=Stats&CODE=leaders",0)'>{$ibforums->lang['sm_forum_leaders']}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' width='1%'><img src='{$ibforums->vars['img_url']}/nav_m_dark.gif' border='0'></td>
|
||||
<td align='left' class='row1'><a href='javascript:redirect_to("&act=Search&CODE=getactive",0)'>{$ibforums->lang['sm_todays_posts']}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' width='1%'><img src='{$ibforums->vars['img_url']}/nav_m_dark.gif' border='0'></td>
|
||||
<td align='left' class='row1'><a href='javascript:redirect_to("&act=Stats",0)'>{$ibforums->lang['sm_today_posters']}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' width='1%'><img src='{$ibforums->vars['img_url']}/nav_m_dark.gif' border='0'></td>
|
||||
<td align='left' class='row1'><a href='javascript:redirect_to("&act=Members&max_results=10&sort_key=posts&sort_order=desc",0)'>{$ibforums->lang['sm_all_posters']}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' width='1%'><img src='{$ibforums->vars['img_url']}/nav_m_dark.gif' border='0'></td>
|
||||
<td align='left' class='row1'><a href='javascript:redirect_to("&act=Search&CODE=lastten",0)'>{$ibforums->lang['sm_my_last_posts']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='category' valign='middle' align='center'>{$ibforums->lang['search_forums']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='center' class='row1' valign='middle'><form action="{$ibforums->base_url}&act=Search&CODE=01&smethod=simple&forums=all&cat_forum=forum&search_in=posts&result_type=topics" method="post" name='theForm' onSubmit='return check_form();'><input type='text' size='17' name='keywords' class='forminput'> <input type='submit' value='{$ibforums->lang['go']}'></form></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='category' valign='middle' align='center'>{$ibforums->lang['search_help']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='center' class='row1' valign='middle'><form action="{$ibforums->base_url}&act=Help&CODE=02" method="post" name='theForm2' onSubmit='return check_form(1);'><input type='text' size='17' name='search_q' class='forminput'> <input type='submit' value='{$ibforums->lang['go']}'></form></td>
|
||||
</tr>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<!--CLOSE.LINK-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function login() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<form action="{$ibforums->base_url}&act=Login&CODE=01&CookieDate=1&buddy=1" method="post" name='theForm' onSubmit='return check_form();'>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%' height='100%' class='row1' align='center'>
|
||||
<tr>
|
||||
<td valign='top'>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='5' cellspacing='1' border='0' width='100%' height='100%'>
|
||||
<tr>
|
||||
<td class='titlemedium' align='center'>{$ibforums->lang['page_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='category' valign='middle' align='center'>{$ibforums->lang['log_in_needed']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' class='row1'>
|
||||
{$ibforums->lang['no_guests']}
|
||||
<br><br>
|
||||
<center>
|
||||
<b>{$ibforums->lang['log_in']}</b>
|
||||
<br><br>
|
||||
{$ibforums->lang['lin_name']}<br><input type='text' name='UserName' class='forminput'>
|
||||
<br>
|
||||
{$ibforums->lang['lin_pass']}<br><input type='password' name='PassWord' class='forminput'>
|
||||
<br>
|
||||
<input type='submit' value='{$ibforums->lang['log_in']}' class='forminput'>
|
||||
</center>
|
||||
<br><br>
|
||||
{$ibforums->lang['reg_text']}
|
||||
<br><br>
|
||||
<center><a href='javascript:redirect_to("&act=Reg", 1);'>{$ibforums->lang['reg_link']}</a></center>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<!--CLOSE.LINK-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function closelink() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<table cellpadding='4' cellspacing='0' border='0' width='100%' class='row1' align='center'>
|
||||
<tr>
|
||||
<td class='category' valign='middle' align='center'>[ <a href="javascript:window.location=window.location;">{$ibforums->lang['refresh']}</a> ] | [ <a href='javascript:self.close();'>{$ibforums->lang['close_win']}</a> ]</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
}
|
||||
<?php
|
||||
|
||||
class skin_buddy {
|
||||
|
||||
|
||||
function buddy_js() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script language='javascript' type="text/javascript">
|
||||
<!--
|
||||
function redirect_to(where, closewin)
|
||||
{
|
||||
opener.location= '$ibforums->base_url' + where;
|
||||
|
||||
if (closewin == 1)
|
||||
{
|
||||
self.close();
|
||||
}
|
||||
}
|
||||
|
||||
function check_form(helpform)
|
||||
{
|
||||
opener.name = "ibfmain";
|
||||
|
||||
if (helpform == 1) {
|
||||
document.theForm2.target = 'ibfmain';
|
||||
} else {
|
||||
document.theForm.target = 'ibfmain';
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
function shrink()
|
||||
{
|
||||
window.resizeTo('200','75');
|
||||
}
|
||||
|
||||
function expand()
|
||||
{
|
||||
window.resizeTo('200','450');
|
||||
}
|
||||
|
||||
|
||||
//-->
|
||||
</script>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function build_away_msg() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
{$ibforums->lang['new_posts']}
|
||||
<br />
|
||||
{$ibforums->lang['my_replies']}
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function append_view($url="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
( <b><a href='javascript:redirect_to("$url", 0)'>{$ibforums->lang['view_link']}</a></b> )
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function main($away_text="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div id="ucpcontent">
|
||||
<div class="titlemedium" align="center">{$ibforums->lang['page_title']} [ <a href='javascript:shrink()' style='text-decoration:none'>-</a> <a href='javascript:expand()' style='text-decoration:none'>+</a> ]</div>
|
||||
<div class="pformstrip" align="center">{$ibforums->lang['while_away']}</div>
|
||||
<p>{$away_text}</p>
|
||||
<div class="pformstrip" align="center">{$ibforums->lang['show_me']}</div>
|
||||
<p>
|
||||
· <a href='javascript:redirect_to("&act=Stats&CODE=leaders",0)'>{$ibforums->lang['sm_forum_leaders']}</a>
|
||||
<br />· <a href='javascript:redirect_to("&act=Search&CODE=getactive",0)'>{$ibforums->lang['sm_todays_posts']}</a>
|
||||
<br />· <a href='javascript:redirect_to("&act=Stats",0)'>{$ibforums->lang['sm_today_posters']}</a>
|
||||
<br />· <a href='javascript:redirect_to("&act=Members&max_results=10&sort_key=posts&sort_order=desc",0)'>{$ibforums->lang['sm_all_posters']}</a>
|
||||
<br />· <a href='javascript:redirect_to("&act=Search&CODE=lastten",0)'>{$ibforums->lang['sm_my_last_posts']}</a>
|
||||
</p>
|
||||
<div class="pformstrip" align="center">{$ibforums->lang['search_forums']}</div>
|
||||
<div align="center">
|
||||
<p>
|
||||
<form action="{$ibforums->base_url}act=Search&CODE=01&forums=all&cat_forum=forum&joinname=1&search_in=posts&result_type=topics" method="post" name='theForm' onsubmit='return check_form();'>
|
||||
<input type='text' size='17' name='keywords' class='forminput' /> <input type='submit' value='{$ibforums->lang['go']}' />
|
||||
</form>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="pformstrip" align="center">{$ibforums->lang['search_help']}</div>
|
||||
<div align="center">
|
||||
<p>
|
||||
<form action="{$ibforums->base_url}act=Help&CODE=02" method="post" name='theForm2' onsubmit='return check_form(1);'>
|
||||
<input type='text' size='17' name='search_q' class='forminput' /> <input type='submit' value='{$ibforums->lang['go']}' />
|
||||
</form>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div align="center"><!--CLOSE.LINK--></div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function login() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<form action="{$ibforums->base_url}act=Login&CODE=01&CookieDate=1&buddy=1" method="post" name='theForm' onSubmit='return check_form();'>
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'>{$ibforums->lang['page_title']}</div>
|
||||
<div class='pformstrip'>{$ibforums->lang['log_in_needed']}</div>
|
||||
<div class='tablepad'>
|
||||
{$ibforums->lang['no_guests']}
|
||||
<br /><br />
|
||||
<center>
|
||||
<b>{$ibforums->lang['log_in']}</b>
|
||||
<br /><br />
|
||||
{$ibforums->lang['lin_name']}<br /><input type='text' name='UserName' class='forminput'>
|
||||
<br />
|
||||
{$ibforums->lang['lin_pass']}<br /><input type='password' name='PassWord' class='forminput'>
|
||||
<br />
|
||||
<input type='submit' value='{$ibforums->lang['log_in']}' class='forminput'>
|
||||
</center>
|
||||
<br /><br />
|
||||
{$ibforums->lang['reg_text']}
|
||||
<br /><br />
|
||||
<center><a href='javascript:redirect_to("&act=Reg", 1);'>{$ibforums->lang['reg_link']}</a></center>
|
||||
</div>
|
||||
</div>
|
||||
<!--CLOSE.LINK-->
|
||||
</form>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function closelink() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<div align="center">
|
||||
[ <a href="javascript:window.location=window.location;">{$ibforums->lang['refresh']}</a> ] | [ <a href='javascript:self.close();'>{$ibforums->lang['close_win']}</a> ]
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -1,274 +1,444 @@
|
||||
<?php
|
||||
|
||||
class skin_calendar {
|
||||
|
||||
|
||||
function cal_edit_button($id) {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
<div align='right'><a href='{$ibforums->base_url}&act=calendar&code=edit&eventid=$id'><{P_EDIT}></a></div><br>
|
||||
HTML;
|
||||
}
|
||||
|
||||
|
||||
function cal_show_event($event, $member, $event_type, $edit_button="") {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
|
||||
<table width="<{tbl_width}>" align='center' border="0" cellspacing="1" cellpadding="0" bgcolor="<{tbl_border}>">
|
||||
<tr>
|
||||
<td colspan='2' class='maintitle' style='height:30px'> <b>{$ibforums->lang['event_date']} {$event['mday']} {$event['month_text']} {$event['year']}</b> [ <b>{$event['title']}</b> ] ($event_type)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='mainbg'>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
||||
<tr>
|
||||
<td valign='top' class='row1' width='25%'><span class='normalname'><a href='{$ibforums->base_url}&act=Profile&MID={$member['id']}'>{$member['name']}</a></span><br><br>{$member['avatar']}<span class='postdetails'><br>{$ibforums->lang['group']} {$member['g_title']}<br>{$ibforums->lang['posts']} {$member['posts']}<br>{$ibforums->lang['joined']} {$member['joined']}</span></td>
|
||||
<td valign='top' height='100%' class='row1' width='75%'>
|
||||
$edit_button
|
||||
<span class='postcolor'>
|
||||
{$event['event_text']}
|
||||
</span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='titlefoot' width='100%' align='center' colspan='2'>
|
||||
<table border='0' cellspacing='0' cellpadding='0' width='100%' align='center'>
|
||||
<tr>
|
||||
<td align='center' valign='middle'>
|
||||
<< <a href='{$ibforums->base_url}&act=calendar&d={$event['mday']}&m={$event['month']}&y={$event['year']}'>{$ibforums->lang['back']}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
|
||||
HTML;
|
||||
}
|
||||
|
||||
function cal_page_events_start() {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
|
||||
<br>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='<{tbl_width}>' align='center'>
|
||||
<tr>
|
||||
<td valign='middle' align='left'><span class='pagetitle'>{$ibforums->lang['cal_title_events']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
HTML;
|
||||
}
|
||||
|
||||
function cal_birthday_start() {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
|
||||
<table width="<{tbl_width}>" align='center' border="0" cellspacing="1" cellpadding="0" bgcolor="<{tbl_border}>">
|
||||
<tr>
|
||||
<td class='maintitle' style='height:30px'>
|
||||
<table width='100%' cellpadding='4' cellspacing='1'>
|
||||
<tr>
|
||||
<td align='left' class='maintitle'><b>{$ibforums->lang['cal_birthdays']}</b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='mainbg'>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
||||
<tr>
|
||||
<br>
|
||||
<ul>
|
||||
|
||||
|
||||
HTML;
|
||||
}
|
||||
|
||||
function cal_birthday_entry($uid, $uname, $age="") {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
<li><a href='{$ibforums->base_url}&act=Profile&MID=$uid'>$uname</a> ($age)</li>
|
||||
HTML;
|
||||
}
|
||||
|
||||
|
||||
function cal_birthday_end() {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='titlefoot' width='100%' align='center' colspan='7'>
|
||||
<table border='0' cellspacing='0' cellpadding='0' width='100%' align='center'>
|
||||
<tr>
|
||||
<td align='center' valign='middle'>
|
||||
<< <a href='{$ibforums->base_url}&act=calendar&d={$ibforums->input['d']}&m={$ibforums->input['m']}&y={$ibforums->input['y']}'>{$ibforums->lang['back']}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
HTML;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function cal_main_content($month, $year, $prev, $next) {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
|
||||
<br>
|
||||
<form action='{$ibforums->base_url}&act=calendar' method='POST'>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='<{tbl_width}>' align='center'>
|
||||
<tr>
|
||||
<td valign='middle' align='left'><span class='pagetitle'>$month $year</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width="<{tbl_width}>" align='center' border="0" cellspacing="1" cellpadding="0" bgcolor="<{tbl_border}>">
|
||||
<tr>
|
||||
<td class='maintitle' style='height:30px'>
|
||||
<table width='100%' cellpadding='4' cellspacing='1'>
|
||||
<tr>
|
||||
<td align='left' class='maintitle'>{$ibforums->lang['table_title']}</td>
|
||||
<td align='right' class='maintitle' style='font-weight:bold'>
|
||||
< <a href='{$ibforums->base_url}&act=calendar&m={$prev['month_id']}&y={$prev['year_id']}'>{$prev['month_name']} {$prev['year_id']}</a>
|
||||
<a href='{$ibforums->base_url}&act=calendar&m={$next['month_id']}&y={$next['year_id']}'>{$next['month_name']} {$next['year_id']}</a> >
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='mainbg'>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
||||
<tr>
|
||||
<!--IBF.DAYS_TITLE_ROW-->
|
||||
|
||||
<!--IBF.DAYS_CONTENT-->
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='titlefoot' width='100%' align='center' colspan='7'>
|
||||
<table border='0' cellspacing='0' cellpadding='0' width='100%' align='center'>
|
||||
<tr>
|
||||
<td align='left' valign='middle'>
|
||||
<select name='m' class='forminput'><!--IBF.MONTH_BOX--></select> <select name='y' class='forminput'><!--IBF.YEAR_BOX--></select> <input type='submit' value='{$ibforums->lang['form_submit_show']}' class='forminput'>
|
||||
</td>
|
||||
<td align='center' valign='middle'><a href='{$ibforums->base_url}&act=calendar&code=newevent'>{$ibforums->lang['post_new_event']}</a></td>
|
||||
<td align='right' style='font-weight:bold'>
|
||||
< <a href='{$ibforums->base_url}&act=calendar&m={$prev['month_id']}&y={$prev['year_id']}'>{$prev['month_name']} {$prev['year_id']}</a>
|
||||
<a href='{$ibforums->base_url}&act=calendar&m={$next['month_id']}&y={$next['year_id']}'>{$next['month_name']} {$next['year_id']}</a> >
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
HTML;
|
||||
}
|
||||
|
||||
function cal_day_bit($day) {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
|
||||
<td width='14%' class='titlemedium'><b>$day</b></td>
|
||||
HTML;
|
||||
}
|
||||
|
||||
|
||||
function cal_new_row() {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
|
||||
</tr>
|
||||
<!-- NEW ROW-->
|
||||
<tr>
|
||||
|
||||
HTML;
|
||||
}
|
||||
|
||||
function cal_blank_cell() {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
|
||||
<td style='height:80px' class='row2'><br></td>
|
||||
|
||||
HTML;
|
||||
}
|
||||
|
||||
|
||||
function cal_date_cell($month_day, $events="") {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
|
||||
<td style='height:80px' valign='top' class='row1' align='left'>$month_day $events</td>
|
||||
|
||||
HTML;
|
||||
}
|
||||
|
||||
function cal_date_cell_today($month_day, $events="") {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
|
||||
<td style='height:80px;border:2px;border-style:outset' valign='top' class='row1' align='left'><span class='highlight'><b>$month_day</b></span>$events</td>
|
||||
|
||||
HTML;
|
||||
}
|
||||
|
||||
|
||||
function cal_events_start() {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
<!--<ul>-->
|
||||
<br>
|
||||
HTML;
|
||||
}
|
||||
|
||||
function cal_events_wrap($link, $text) {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
<li type='square'><a href='{$ibforums->base_url}&act=calendar&$link'>$text</a>
|
||||
HTML;
|
||||
}
|
||||
|
||||
function cal_events_end() {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
<!--</ul>-->
|
||||
HTML;
|
||||
}
|
||||
|
||||
}
|
||||
<?php
|
||||
|
||||
class skin_calendar {
|
||||
|
||||
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');
|
||||
}
|
||||
|
||||
function changeDiv(id, method)
|
||||
{
|
||||
var itm = null;
|
||||
if (document.getElementById) {
|
||||
itm = document.getElementById(id);
|
||||
} else if (document.all) {
|
||||
itm = document.all[id];
|
||||
} else if (document.layers) {
|
||||
itm = document.layers[id];
|
||||
}
|
||||
|
||||
if (itm.style)
|
||||
{
|
||||
if ( method == 'show' )
|
||||
{
|
||||
itm.style.display = "";
|
||||
}
|
||||
else
|
||||
{
|
||||
itm.style.display = "none";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
itm.visibility = "show";
|
||||
}
|
||||
}
|
||||
|
||||
function selecttype()
|
||||
{
|
||||
|
||||
if ( document.REPLIER.eventtype[1].checked == true )
|
||||
{
|
||||
// Ranged date...
|
||||
|
||||
changeDiv( 'rangeshow', 'show' );
|
||||
changeDiv( 'rangehide', 'none' );
|
||||
changeDiv( 'recurshow', 'none' );
|
||||
changeDiv( 'recurhide', 'show' );
|
||||
}
|
||||
else if ( document.REPLIER.eventtype[2].checked == true )
|
||||
{
|
||||
// Repeating event
|
||||
|
||||
changeDiv( 'rangeshow', 'none' );
|
||||
changeDiv( 'rangehide', 'show' );
|
||||
changeDiv( 'recurshow', 'show' );
|
||||
changeDiv( 'recurhide', 'none' );
|
||||
}
|
||||
else
|
||||
{
|
||||
changeDiv( 'rangeshow', 'none' );
|
||||
changeDiv( 'rangehide', 'show' );
|
||||
changeDiv( 'recurshow', 'none' );
|
||||
changeDiv( 'recurhide', 'show' );
|
||||
}
|
||||
}
|
||||
|
||||
function changeColour(BOXid, val)
|
||||
{
|
||||
document.all.BOXid.style.backgroundColor = val;
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<table class='tableborder' cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td class='maintitle' colspan="2"> $data</td>
|
||||
</tr>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function calendar_end_form($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class='pformstrip' align='center' style='text-align:center' colspan="2"><input type="submit" name="submit" value="$data" tabindex='4' class='forminput'></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<br />
|
||||
<br clear="all" />
|
||||
EOF;
|
||||
}
|
||||
|
||||
function calendar_start_form() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<form action='{$ibforums->base_url}act=calendar&code=addnewevent' method='post' name='REPLIER' onSubmit='return ValidateForm()'>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function calendar_start_edit_form($eventid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<form action='{$ibforums->base_url}act=calendar&code=doedit&eventid=$eventid' method='post' name='REPLIER' onsubmit='return ValidateForm()'>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function calendar_event_title($data="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<tr>
|
||||
<td class="pformleft"><strong>{$ibforums->lang['calendar_title']}</strong></td>
|
||||
<td class="pformright"><input type='text' size='40' maxlength='40' name='event_title' class='forminput' value='$data' /></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function calendar_delete_box() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class="row1" width="100%" colspan='2' style='height:40px;border:1px solid black'><input type='checkbox' name='event_delete' value='1'> {$ibforums->lang['calendar_delete_box']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function calendar_choose_date($days, $months, $years, $end_days, $end_months, $end_years, $recur_days, $recur_unit, $div, $checked, $cols, $recend) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class="pformleft" valign='top'><strong>{$ibforums->lang['calendar_event_date']}</strong></td>
|
||||
<td class="pformright">
|
||||
<table cellpadding='3'>
|
||||
<tr>
|
||||
<td><input type='radio' name='eventtype' id='single' onclick='selecttype();' class='radiobutton' value='single' {$checked['normal']}><strong><label for='single'>{$ibforums->lang['fv_single']}</label></strong></td>
|
||||
<td><select name='e_day' class='forminput'>$days</select> <select name='e_month' class='forminput'>$months</select> <select name='e_year' class='forminput'>$years</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type='radio' name='eventtype' id='range' onclick='selecttype();' class='radiobutton' value='range'{$checked['range']}><strong><label for='range'>{$ibforums->lang['fv_range']}</label></strong></td>
|
||||
<td>
|
||||
<div id='rangeshow' style='display:{$div['range_on']}'>
|
||||
<table cellpadding='3'>
|
||||
<tr>
|
||||
<td><strong>{$ibforums->lang['fv_range_ends']}</strong></td>
|
||||
<td><select name='end_day' class='forminput'>$end_days</select> <select name='end_month' class='forminput'>$end_months</select> <select name='end_year' class='forminput'>$end_years</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>{$ibforums->lang['fv_bgcolor']}</strong></td>
|
||||
<td>{$cols['bg']} <input type='text' name='style' size='5' readonly='readonly' id='stylebg' style='border:2px inset black;' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>{$ibforums->lang['fv_font']}</strong></td>
|
||||
<td>{$cols['ft']} <input type='text' name='style2' size='5' readonly='readonly' id='styleft' style='border:2px inset black;' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id='rangehide' style='display:{$div['range_off']}'>{$ibforums->lang['fv_hidden']}</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type='radio' name='eventtype' id='recur' onclick='selecttype();' class='radiobutton' value='recur' {$checked['recur']}><strong><label for='recur'>{$ibforums->lang['fv_recur']}</label></strong></td>
|
||||
<td>
|
||||
<div id='recurshow' style='display:{$div['recur_on']}'>
|
||||
<strong>{$ibforums->lang['fv_recur_every']}</strong> <select name='recur_unit' class='forminput'>$recur_unit</select>
|
||||
<strong>{$ibforums->lang['fv_until']}</strong> <select name='recend_day' class='forminput'>{$recend['d']}</select><select name='recend_month' class='forminput'>{$recend['m']}</select> <select name='recend_year' class='forminput'>{$recend['y']}</select>
|
||||
</div>
|
||||
<div id='recurhide' style='display:{$div['recur_off']}'>{$ibforums->lang['fv_hidden']}</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function calendar_event_type($pub_select="", $priv_select="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class="pformleft"><strong>{$ibforums->lang['calendar_event_type']}</strong></td>
|
||||
<td class="pformright"><select name='e_type' class='forminput'><option value='public'$pub_select>{$ibforums->lang['calendar_type_public']}</option><option value='private'$priv_select>{$ibforums->lang['calendar_type_private']}</option></select></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function calendar_admin_group_box($groups) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class="pformleft">{$ibforums->lang['calendar_group_filter']}</td>
|
||||
<td class="pformright"><select name='e_groups[]' class='forminput' size='5' multiple>$groups</select></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function cal_edit_del_button($id) {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
<div align='right'><a href='javascript:deleteEvent($id)'><{P_DELETE}></a> <a href='{$ibforums->base_url}act=calendar&code=edit&eventid=$id'><{P_EDIT}></a></div>
|
||||
HTML;
|
||||
}
|
||||
|
||||
|
||||
function cal_show_event($event, $member, $event_type, $edit_button="", $type, $date_ends="") {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
<div class='pformstrip'>{$event['title']} ($event_type)</div>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="3">
|
||||
<tr>
|
||||
<td class='row4' width='1%' valign='middle' nowrap='nowrap'><span class='normalname'><a href='{$ibforums->base_url}showuser={$member['id']}'>{$member['name']}</a></span></td>
|
||||
<td class='row4' width='99%'><div align='left' style='float:left;width:auto;padding-top:4px;padding-bottom:4px;'><strong>{$ibforums->lang['event_date']} {$event['mday']} {$event['month_text']} {$event['year']}</strong> $date_ends ($type)</div>$edit_button</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign='top' class='row1' nowrap='nowrap'>{$member['avatar']}<span class='postdetails'><br />{$ibforums->lang['group']} {$member['g_title']}<br />{$ibforums->lang['posts']} {$member['posts']}<br />{$ibforums->lang['joined']} {$member['joined']}</span></td>
|
||||
<td valign='top' class='row1'><span class='postcolor'>{$event['event_text']}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
HTML;
|
||||
}
|
||||
|
||||
function cal_page_events_start() {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
<script type='text/javascript'>
|
||||
function deleteEvent(id) {
|
||||
if (confirm('{$ibforums->lang['js_del_1']}')) {
|
||||
window.location.href = "{$ibforums->base_url}act=calendar&code=delete&e=" + id;
|
||||
}
|
||||
else {
|
||||
alert ('{$ibforums->lang['js_del_2']}');
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'>{$ibforums->lang['cal_title_events']}</div>
|
||||
HTML;
|
||||
}
|
||||
|
||||
function cal_page_events_end() {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
<div align='center' class='pformstrip'><< <a href='{$ibforums->base_url}act=calendar&d={$ibforums->input['d']}&m={$ibforums->input['m']}&y={$ibforums->input['y']}'>{$ibforums->lang['back']}</a></div>
|
||||
</div>
|
||||
HTML;
|
||||
}
|
||||
|
||||
function cal_birthday_start() {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
<div class='pformstrip'>{$ibforums->lang['cal_birthdays']}</div>
|
||||
<div class='tablepad'>
|
||||
<ul>
|
||||
HTML;
|
||||
}
|
||||
|
||||
function cal_birthday_entry($uid, $uname, $age="") {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
<li><a href='{$ibforums->base_url}showuser=$uid'>$uname</a> ($age)</li>
|
||||
HTML;
|
||||
}
|
||||
|
||||
|
||||
function cal_birthday_end() {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
</ul>
|
||||
</div>
|
||||
HTML;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function cal_main_content($month, $year, $prev, $next) {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
|
||||
<form action='{$ibforums->base_url}act=calendar' method='post'>
|
||||
<div align='left' id='calendarname'><a href='{$ibforums->base_url}act=calendar&code=newevent' title='{$ibforums->lang['post_new_event']}'><{CAL_NEWEVENT}></a> <span style='position:relative;top:3px'>$month $year</span></div>
|
||||
<br />
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'>
|
||||
<div align='center'>
|
||||
< <a href='{$ibforums->base_url}act=calendar&m={$prev['month_id']}&y={$prev['year_id']}'>{$prev['month_name']} {$prev['year_id']}</a>
|
||||
· {$ibforums->lang['table_title']} ·
|
||||
<a href='{$ibforums->base_url}act=calendar&m={$next['month_id']}&y={$next['year_id']}'>{$next['month_name']} {$next['year_id']}</a> >
|
||||
</div>
|
||||
</div>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
||||
<tr>
|
||||
<!--IBF.DAYS_TITLE_ROW-->
|
||||
|
||||
<!--IBF.DAYS_CONTENT-->
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br />
|
||||
<div class='tableborder'>
|
||||
<div class='pformstrip'>
|
||||
<div align='left' style='float:left;width:40%'><a href='{$ibforums->base_url}act=calendar&code=newevent'>{$ibforums->lang['post_new_event']}</a></div>
|
||||
<div align='right'><strong>{$ibforums->lang['month_jump']}</strong> <select name='m' class='forminput'><!--IBF.MONTH_BOX--></select> <select name='y' class='forminput'><!--IBF.YEAR_BOX--></select> <input type='submit' value='{$ibforums->lang['form_submit_show']}' class='forminput' /></div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
HTML;
|
||||
}
|
||||
|
||||
function cal_day_bit($day) {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
|
||||
<td width='14%' class='pformstrip'>$day</td>
|
||||
HTML;
|
||||
}
|
||||
|
||||
|
||||
function cal_new_row() {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
|
||||
</tr>
|
||||
<!-- NEW ROW-->
|
||||
<tr>
|
||||
|
||||
HTML;
|
||||
}
|
||||
|
||||
function cal_blank_cell() {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
|
||||
<td style='height:100px' class='darkrow1'><br /></td>
|
||||
|
||||
HTML;
|
||||
}
|
||||
|
||||
|
||||
function cal_date_cell($month_day, $events="") {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
|
||||
<td style='height:100px' valign='top' class='row3'>
|
||||
<div class='caldate'>$month_day</div>$events
|
||||
</td>
|
||||
|
||||
HTML;
|
||||
}
|
||||
|
||||
function cal_date_cell_today($month_day, $events="") {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
|
||||
<td style='height:100px;border:2px;border-style:outset' valign='top' class='row1'>
|
||||
<div class='caldate'>$month_day</div>
|
||||
$events
|
||||
</td>
|
||||
|
||||
HTML;
|
||||
}
|
||||
|
||||
|
||||
function cal_events_start() {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
<div style='padding:2px'>
|
||||
|
||||
HTML;
|
||||
}
|
||||
|
||||
function cal_events_wrap($link, $text) {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
·<strong><a href='{$ibforums->base_url}act=calendar&$link'>$text</a></strong><br />
|
||||
HTML;
|
||||
}
|
||||
|
||||
function cal_events_wrap_range($link, $text, $ft="", $bg="") {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
<div style='background-color:$bg;color:$ft;padding:3px;border-top:3px outset $bg;border-bottom:3px outset $bg;'><a href='{$ibforums->base_url}act=calendar&$link' style='color:$ft'>$text</a></div>
|
||||
HTML;
|
||||
}
|
||||
|
||||
function cal_events_wrap_recurring($link, $text) {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
· <a href='{$ibforums->base_url}act=calendar&$link' title='{$ibforums->lang['tbt_recur']}'>$text</a><br />
|
||||
HTML;
|
||||
}
|
||||
|
||||
function cal_events_end() {
|
||||
global $ibforums;
|
||||
|
||||
return <<<HTML
|
||||
</div>
|
||||
HTML;
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,436 @@
|
||||
<?php
|
||||
|
||||
class skin_csite {
|
||||
|
||||
function rules_link($url="", $title="")
|
||||
{
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
· <a href="$url">$title</a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_chat_link_inline()
|
||||
{
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<img src="{$ibforums->vars['img_url']}/atb_chat.gif" border="0" alt="" /> <a href='{$ibforums->base_url}act=chat'>{$ibforums->lang['live_chat']}</a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_chat_link_popup()
|
||||
{
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<img src="{$ibforums->vars['img_url']}/atb_chat.gif" border="0" alt="" /> <a href="javascript:chat_pop();">{$ibforums->lang['live_chat']}</a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function csite_javascript() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
function buddy_pop() { window.open('{$ibforums->js_base_url}act=buddy','BrowserBuddy','width=200,height=500,resizable=yes,scrollbars=yes'); }
|
||||
function chat_pop() { window.open('{$ibforums->js_base_url}act=chat&pop=1','Chat','width={$ibforums->vars['chat_width']},height={$ibforums->vars['chat_height']},resizable=yes,scrollbars=yes'); }
|
||||
//-->
|
||||
</script>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function csite_css_inline($css="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<style type='text/css'>
|
||||
{$css}
|
||||
</style>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function csite_sep_char() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
,
|
||||
EOF;
|
||||
}
|
||||
|
||||
function csite_css_external($css, $img) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<style type='text/css' media="all">
|
||||
@import url({$ibforums->vars['board_url']}/css.php?d={$css}_{$img}.css);
|
||||
</style>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function tmpl_links_wrap($link="", $name="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
· <a href='$link' style='text-decoration:none'>$name</a><br />
|
||||
EOF;
|
||||
}
|
||||
|
||||
function tmpl_welcomebox_member($pm_string="",$last_visit="", $name="", $return="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'><{CAT_IMG}> {$ibforums->lang['wbox_welcome']}, $name</div>
|
||||
<div class='tablepad'>
|
||||
<span class='desc'>$last_visit</span>
|
||||
<br />· <a href="{$ibforums->base_url}act=Search&CODE=getnew" style='text-decoration:none'>{$ibforums->lang['wbox_getnewposts']}</a>
|
||||
<br />· <a href="{$ibforums->base_url}act=UserCP" style='text-decoration:none'>{$ibforums->lang['wbox_mycontrols']}</a>
|
||||
<br />· <a href="javascript:buddy_pop();" style='text-decoration:none'>{$ibforums->lang['wbox_myassistant']}</a>
|
||||
<br />· <a href="{$ibforums->base_url}act=Login&CODE=03&return=$return" style='text-decoration:none'>{$ibforums->lang['wbox_logout']}</a>
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'><{CAT_IMG}> <a href='{$ibforums->base_url}&act=Msg'>{$ibforums->lang['pm_title']}</a></div>
|
||||
<div class='tablepad'><span class='desc'>$pm_string</span></div>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function tmpl_welcomebox_guest($top_string, $return) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<form action="{$ibforums->base_url}act=Login&CODE=01&CookieDate=1&return=$return" method="post">
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'><{CAT_IMG}> {$ibforums->lang['wbox_welcome']}, {$ibforums->lang['wbox_guest_name']}</div>
|
||||
<div class='tablepad'>
|
||||
<span class='desc'>$top_string</span>
|
||||
<br /><br />· <strong><a href="{$ibforums->base_url}act=Search&CODE=getactive" style='text-decoration:none'>{$ibforums->lang['wbox_getnewposts']}</a></strong>
|
||||
<br /><br /><span class='desc'>{$ibforums->lang['wbox_g_username']}</span>
|
||||
<br /><input type='text' class='textinput' size='15' name='UserName' />
|
||||
<br /><span class='desc'>{$ibforums->lang['wbox_g_password']}</span>
|
||||
<br /><input type='password' class='textinput' size='15' name='PassWord' />
|
||||
<br /><input type='submit' class='textinput' value='{$ibforums->lang['wbox_g_login']}' />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function tmpl_search() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br />
|
||||
<form action='{$ibforums->base_url}act=Search&CODE=01&forums=all' method='post' name='search'>
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'><{CAT_IMG}> {$ibforums->lang['search_title']}</div>
|
||||
<div class='tablepad' align='center'>
|
||||
<input type='text' name='keywords' value='' size='10' class='textinput' /><input type='submit' value='{$ibforums->lang['search_go']}' />
|
||||
<br /><a href='{$ibforums->base_url}act=Search&mode=adv'>{$ibforums->lang['search_advanced']}</a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function tmpl_sitenav($links) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br />
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'><{CAT_IMG}> {$ibforums->lang['links_title']}</div>
|
||||
<div class='tablepad'>
|
||||
$links
|
||||
</div>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function tmpl_affiliates($links) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br />
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'><{CAT_IMG}> {$ibforums->lang['aff_title']}</div>
|
||||
<div class='tablepad'>
|
||||
$links
|
||||
</div>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function tmpl_changeskin($select) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br />
|
||||
<form action="{$ibforums->vars['dynamiclite']}&s={$ibforums->session_id}&setskin=1" method="post">
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'><{CAT_IMG}> {$ibforums->lang['cskin_title']}</div>
|
||||
<div class='tablepad' align="center">
|
||||
<span class='desc'>{$ibforums->lang['cskin_text']}</span>
|
||||
<br />
|
||||
$select
|
||||
<br />
|
||||
<input type='submit' value='{$ibforums->lang['cskin_go']}' />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function tmpl_onlineusers($breakdown, $split, $names) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br />
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'><{CAT_IMG}> <a href="{$ibforums->base_url}act=Online">{$ibforums->lang['online_title']}</a></div>
|
||||
<div class='tablepad'>
|
||||
<span class='desc'>$breakdown<br />$split<br />$names</span>
|
||||
</div>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function tmpl_poll_header($question,$tid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br />
|
||||
<form action="{$ibforums->base_url}act=Poll&t=$tid" method="post">
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'><{CAT_IMG}> <a href="{$ibforums->base_url}showtopic=$tid">{$ibforums->lang['poll_title']}</a></div>
|
||||
<div class='pformstrip'>$question</div>
|
||||
<div class='tablepad'>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function tmpl_poll_result_row($votes, $id, $choice, $percent, $width) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
$choice
|
||||
<br /><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='' />
|
||||
<br />
|
||||
EOF;
|
||||
}
|
||||
|
||||
function tmpl_poll_choice_row($id, $choice) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<input type='radio' name='poll_vote' value='$id' class='radiobutton' /> <strong>$choice</strong>
|
||||
<br />
|
||||
EOF;
|
||||
}
|
||||
|
||||
function tmpl_poll_footer($vote, $total, $tid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<span class='desc'>
|
||||
· <strong>$total</strong>
|
||||
<br />· $vote
|
||||
<br />· <a href="{$ibforums->base_url}showtopic=$tid">{$ibforums->lang['poll_discuss']}</a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function tmpl_poll_vote() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<input type='submit' value='{$ibforums->lang['poll_vote']}' class='codebuttons' />
|
||||
EOF;
|
||||
}
|
||||
|
||||
function tmpl_latestposts($posts) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br />
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'><{CAT_IMG}> {$ibforums->lang['discuss_title']}</div>
|
||||
$posts
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function tmpl_topic_row($tid, $title, $posts, $views, $mid, $mname, $date) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class='row2' style='padding:3px'><strong><a href='{$ibforums->base_url}showtopic=$tid' style='text-decoration:none;font-size:10px'>$title</a></strong></div>
|
||||
<div class='desc' style='padding:3px'>
|
||||
<a href='{$ibforums->base_url}showuser=$mid' style='text-decoration:none'>$mname</a> @ $date
|
||||
<br />{$ibforums->lang['recent_read']}: $views {$ibforums->lang['recent_comments']}: $posts
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function tmpl_recentarticles($articles) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br />
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'><{CAT_IMG}> {$ibforums->lang['recent_title']}</div>
|
||||
$articles
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function tmpl_comment_link($tid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<a href="{$ibforums->base_url}showtopic=$tid&view=getlastpost">{$ibforums->lang['article_comment']}</a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function tmpl_readmore_link($tid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
...<a href="{$ibforums->base_url}showtopic=$tid">{$ibforums->lang['article_readmore']}</a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function tmpl_articles($articles) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
$articles
|
||||
EOF;
|
||||
}
|
||||
|
||||
function tmpl_skin_select_top() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<select name="skinid" class="forminput" onchange="window.location='{$ibforums->vars['dynamiclite']}&s={$ibforums->session_id}&setskin=1&skinid=' + this.value">
|
||||
EOF;
|
||||
}
|
||||
|
||||
function tmpl_skin_select_row($sid, $name, $used) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<option value="$sid" $used>$name</option>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function tmpl_skin_select_bottom() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</select>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function tmpl_articles_row($entry, $bottom_string, $read_more, $top_string) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellspacing="0" width="100%" class='tableborder'>
|
||||
<tr>
|
||||
<td class='maintitle' colspan="2"><img src="{$ibforums->vars['img_url']}/cs_page.gif" alt="" border="0" /> <a href="{$ibforums->base_url}showtopic={$entry['tid']}">{$entry['title']}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row2' colspan="2" style='padding:5px'>$top_string</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="post1" width="5%" valign="top" style="padding:5px">{$entry['avatar']}</td>
|
||||
<td class="post1" width="95%" valign="top" style="padding:5px">{$entry['post']} $read_more</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row2' colspan="2" style='padding:5px' align='right'>
|
||||
$bottom_string
|
||||
<a href="{$ibforums->base_url}act=Print&client=printer&f={$entry['forum_id']}&t={$entry['tid']}"><img src="{$ibforums->vars['img_url']}/cs_print.gif" alt="Print" border="0" /></a>
|
||||
<a href="{$ibforums->base_url}act=Forward&f={$entry['forum_id']}&t={$entry['tid']}"><img src="{$ibforums->vars['img_url']}/cs_email.gif" alt="email" border="0" /></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
EOF;
|
||||
}
|
||||
|
||||
function tmpl_wrap_avatar($avatar) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
$avatar
|
||||
EOF;
|
||||
}
|
||||
|
||||
function tmpl_debug($queries, $time) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class='desc'>[ DB Queries: $queries ] [ Execution Time: $time ]</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function csite_skeleton_template() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
|
||||
<meta name="generator" content="IPDynamic Lite">
|
||||
<meta http-equiv="Pragma" content="no-cache">
|
||||
<meta http-equiv="no-cache">
|
||||
<meta http-equiv="Cache-Control" content="no-cache">
|
||||
<title><!--CS.TEMPLATE.TITLE--></title>
|
||||
<!--CS.TEMPLATE.JAVASCRIPT-->
|
||||
<!--CS.TEMPLATE.CSS-->
|
||||
</head>
|
||||
<body>
|
||||
<div id='ipbwrapper'>
|
||||
<!--Header-->
|
||||
<div id='logostrip'>
|
||||
<a href='{$ibforums->base_url}' title='Board Home'><img src='{$ibforums->vars['img_url']}/logo4.gif' alt='Powered by Invision Power Board' border="0" /></a>
|
||||
</div>
|
||||
<table width="100%" cellspacing="6" id="submenu">
|
||||
<tr>
|
||||
<td><a href='{$ibforums->vars['home_url']}'>{$ibforums->vars['home_name']}</a><!--IBF.RULES--></td>
|
||||
<td align="right">
|
||||
<img src="{$ibforums->vars['img_url']}/atb_help.gif" border="0" alt="" /> <a href='{$ibforums->base_url}act=Help'>{$ibforums->lang['tb_help']}</a>
|
||||
<img src="{$ibforums->vars['img_url']}/atb_search.gif" border="0" alt="" /> <a href='{$ibforums->base_url}act=Search&f={$ibforums->input['f']}'>{$ibforums->lang['tb_search']}</a>
|
||||
<img src="{$ibforums->vars['img_url']}/atb_members.gif" border="0" alt="" /> <a href='{$ibforums->base_url}act=Members'>{$ibforums->lang['tb_mlist']}</a>
|
||||
<img src="{$ibforums->vars['img_url']}/atb_calendar.gif" border="0" alt="" /> <a href='{$ibforums->base_url}act=calendar'>{$ibforums->lang['tb_calendar']}</a>
|
||||
<!--IBF.CHATLINK-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--CS.TEMPLATE.LINKS-->
|
||||
<!--End Header-->
|
||||
<!--Main Content-->
|
||||
<table width="100%" class='tableborder' cellspacing="0" cellpadding="6">
|
||||
<tr>
|
||||
<td width="200" class='row3' valign="top">
|
||||
<!-- LEFT -->
|
||||
<!--CS.TEMPLATE.WELCOMEBOX-->
|
||||
<!--CS.TEMPLATE.SEARCH-->
|
||||
<!--CS.TEMPLATE.SITENAV-->
|
||||
<!--CS.TEMPLATE.CHANGESKIN-->
|
||||
<!--CS.TEMPLATE.ONLINEUSERS-->
|
||||
<!--CS.TEMPLATE.POLL-->
|
||||
<!--CS.TEMPLATE.LATESTPOSTS-->
|
||||
<!--CS.TEMPLATE.RECENTARTICLES-->
|
||||
<!--CS.TEMPLATE.AFFILIATES-->
|
||||
<!--END LEFT-->
|
||||
<br /><img src='{$ibforums->vars['img_url']}/spacer.gif' alt='' width='200' height='1' />
|
||||
</td>
|
||||
<!--SPACER-->
|
||||
<td width="5" class='row3'> </td>
|
||||
<td width="90%" class='row3' valign="top">
|
||||
<!--MAIN-->
|
||||
|
||||
<!--CS.TEMPLATE.ARTICLES-->
|
||||
|
||||
<!--END MAIN-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--End Main Content-->
|
||||
<tr>
|
||||
<td colspan='3' class='row3' align='center'>
|
||||
<!--CS.TEMPLATE.COPYRIGHT-->
|
||||
<!--CS.TEMPLATE.DEBUG-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class='titlemedium'> </div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -1,291 +1,311 @@
|
||||
<?php
|
||||
|
||||
class skin_emails {
|
||||
|
||||
|
||||
function report_form($fid, $tid, $pid, $st, $topic_title) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<form action="{$ibforums->base_url}&act=report&send=1&f=$fid&t=$tid&p=$pid&st=$st" method="post" name='REPLIER'>
|
||||
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td valign='left' colspan='2' class='titlemedium'>{$ibforums->lang['report_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' align='left' width='30%' valign='top'><b>{$ibforums->lang['report_topic']}</b></td>
|
||||
<td class='row1' width='80%'><a href='{$ibforums->base_url}&act=ST&f=$fid&t=$tid&st=$st&#entry$pid'>$topic_title</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' align='left' width='30%' valign='top'>{$ibforums->lang['report_message']}</td>
|
||||
<td class='row1' width='80%'><textarea cols='60' rows='12' wrap='soft' name='message' class='textinput'></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row2' align='center' colspan='2'>
|
||||
<input type="submit" value="{$ibforums->lang['report_submit']}" class='forminput'>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function msn_body($msnname) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<object classid='clsid:F3A614DC-ABE0-11d2-A441-00C04F795683' codebase='#Version=2,0,0,83' codetype='application/x-oleobject' class='MsgrObj' width='0' height='0'></object>
|
||||
<object classid='clsid:FB7199AB-79BF-11d2-8D94-0000F875C541' codetype='application/x-oleobject' class='MsgrApp' width='0' height='0'></object>
|
||||
<tr>
|
||||
<td class='row2' align='left'><b>{$ibforums->lang['msn_name']}</b></td>
|
||||
<td class='row2' align='left'><input type='text' name='msnname' value='$msnname' size='40' class='forminput' onMouseOver="this.focus()" onFocus="this.select()"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row2' align='center' colspan='2'><a href="javascript:MsgrApp.LaunchIMUI('$msnname');">{$ibforums->lang['msn_send_msg']}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row2' align='center' colspan='2'><a href="javascript:MsgrApp.LaunchAddContactUI('$msnname');">{$ibforums->lang['msn_add_contact']}</a></td>
|
||||
</tr>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function yahoo_body($yahoo) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<tr>
|
||||
<td class='row2' align='left'><b>{$ibforums->lang['yahoo_name']}</b></td>
|
||||
<td class='row2' align='left'><input type='text' name='msnname' value='$yahoo' size='40' class='forminput' onMouseOver="this.focus()" onFocus="this.select()"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row2' align='left'><b>{$ibforums->lang['yahoo_status']}</b></td>
|
||||
<td class='row2' align='left'><img border=0 src="http://opi.yahoo.com/online?u=$yahoo&m=g&t=2"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row2' align='center' colspan='2'><a href="http://edit.yahoo.com/config/send_webmesg?.target=$yahoo&.src=pg">{$ibforums->lang['yahoo_send_msg']}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row2' align='center' colspan='2'><a href="http://members.yahoo.com/interests?.oc=t&.kw=$yahoo&.sb=1">{$ibforums->lang['yahoo_view_profile']}</a></td>
|
||||
</tr>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
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 class='row2' align='left'><b>{$ibforums->lang['name']}</b></td>
|
||||
<td class='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 class='row2' align='left'><b>{$ibforums->lang['email']}</b></td>
|
||||
<td class='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 class='row2' align='left' valign='top'><b>{$ibforums->lang['msg']}</b></td>
|
||||
<td class='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 class='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 class='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='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td colspan='2' align='center' class='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='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td valign='left' colspan='2' class='titlemedium'>{$ibforums->lang['title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' align='left' width='30%' valign='top'><b>{$ibforums->lang['send_lang']}</b></td>
|
||||
<td class='row1' width='80%'>$lang</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' align='left' width='30%' valign='top'><b>{$ibforums->lang['to_name']}</b></td>
|
||||
<td class='row1' width='80%'><input type='text' class='forminput' name='to_name' value='' size='30' maxlength='100'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' align='left' width='30%' valign='top'><b>{$ibforums->lang['to_email']}</b></td>
|
||||
<td class='row1' width='80%'><input type='text' class='forminput' name='to_email' value='' size='30' maxlength='100'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' align='left' width='30%' valign='top'><b>{$ibforums->lang['subject']}</b></td>
|
||||
<td class='row1' width='80%'><input type='text' class='forminput' name='subject' value='{$title}' size='30' maxlength='120'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' align='left' width='30%' valign='top'><b>{$ibforums->lang['message']}</b></td>
|
||||
<td class='row1' width='80%'><textarea cols='60' rows='12' wrap='soft' name='message' class='textinput'>{$text}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='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='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td class='titlemedium'><b>{$ibforums->lang['send_email_to']} {$data[NAME]}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1'>{$ibforums->lang['show_address_text']}</td>
|
||||
</tr>
|
||||
<td class='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='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='left' colspan='2' class='titlemedium'>{$ibforums->lang['send_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' colspan='2' class='usermenu'><b>{$ibforums->lang['send_email_to']} {$data[NAME]}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' align='left' width='20%' valign='top'><b>{$ibforums->lang['subject']}</b></td>
|
||||
<td class='row1' width='80%'><input type='text' name='subject' value='' size='50' maxlength='50' class='forminput'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' align='left' width='20%' valign='top'><b>{$ibforums->lang['message']}</b><br><br>{$ibforums->lang['msg_txt']}</td>
|
||||
<td class='row1' width='80%'><textarea cols='60' rows='12' wrap='soft' name='message' class='textinput'></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='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='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td class='titlemedium'><b>{$ibforums->lang['email_sent']}</b></td>
|
||||
</tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='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='<{tbl_width}>' align='center'>
|
||||
<tr>
|
||||
<td align='right'>$data</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
<?php
|
||||
|
||||
class skin_emails {
|
||||
|
||||
function board_rules( $title="", $body="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class="tableborder">
|
||||
<div class="pformstrip">$title</div>
|
||||
<div class="tablepad">$body</div>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function errors($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class="tableborder">
|
||||
<div class="pformstrip">{$ibforums->lang['errors_found']}</div>
|
||||
<div class="tablepad"><span class='postcolor'>$data</span></div>
|
||||
</div>
|
||||
<br />
|
||||
EOF;
|
||||
}
|
||||
|
||||
function chat_inline($acc_no, $lang, $w, $h, $user="",$pass="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'><{CAT_IMG}> {$ibforums->lang['chat_title']}</div>
|
||||
<div class='tablepad' align='center'>
|
||||
<applet
|
||||
codebase="http://client.invisionchat.com/current/"
|
||||
code="Client.class" archive="scclient_$lang.zip"
|
||||
width=$w height=$h
|
||||
style='border: 1px solid #000'>
|
||||
<param name="room" value="$acc_no">
|
||||
<param name="cabbase" value="scclient_$lang.cab">
|
||||
<param name="username" value="$user">
|
||||
<param name="password" value="$pass">
|
||||
<param name="autologin" value="yes">
|
||||
</applet>
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'><{CAT_IMG}> {$ibforums->lang['chat_help']}</div>
|
||||
<div class='tablepad'>
|
||||
{$ibforums->lang['chat_help_text']}
|
||||
</div>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function chat_pop($acc_no, $lang, $w, $h, $user="",$pass="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div align='center'>
|
||||
<applet
|
||||
codebase="http://client.invisionchat.com/current/"
|
||||
code="Client.class" archive="scclient_$lang.zip"
|
||||
width=$w height=$h
|
||||
style='border: 1px solid <{tbl_border}>'>
|
||||
<param name="room" value="$acc_no">
|
||||
<param name="cabbase" value="scclient_$lang.cab">
|
||||
<param name="username" value="$user">
|
||||
<param name="password" value="$pass">
|
||||
<param name="autologin" value="yes">
|
||||
</applet>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function report_form($fid, $tid, $pid, $st, $topic_title) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<form action="{$ibforums->base_url}act=report&send=1&f=$fid&t=$tid&p=$pid&st=$st" method="post" name='REPLIER'>
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'><{CAT_IMG}> {$ibforums->lang['report_title']}</div>
|
||||
<div class='pformstrip'> </div>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td class='row1' align='left' width='30%' valign='top'><b>{$ibforums->lang['report_topic']}</b></td>
|
||||
<td class='row1' width='80%'><a href='{$ibforums->base_url}showtopic=$tid&st=$st&#entry$pid'>$topic_title</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' align='left' width='30%' valign='top'>{$ibforums->lang['report_message']}</td>
|
||||
<td class='row1' width='80%'><textarea cols='60' rows='12' wrap='soft' name='message' class='textinput'></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div align='center' class='pformstrip'><input type="submit" value="{$ibforums->lang['report_submit']}" class='forminput' /></div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function msn_body($msnname) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<object classid='clsid:F3A614DC-ABE0-11d2-A441-00C04F795683' codebase='#Version=2,0,0,83' codetype='application/x-oleobject' id='MsgrObj' name='MsgrApp' width='0' height='0'></object>
|
||||
<object classid='clsid:FB7199AB-79BF-11d2-8D94-0000F875C541' codetype='application/x-oleobject' id='MsgrApp' name='MsgrApp' width='0' height='0'></object>
|
||||
<tr>
|
||||
<td class='row2' align='left'><b>{$ibforums->lang['msn_name']}</b></td>
|
||||
<td class='row2' align='left'><input type='text' name='msnname' value='$msnname' size='40' class='forminput' onMouseOver="this.focus()" onFocus="this.select()"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row2' align='center' colspan='2'><a href="javascript:MsgrApp.LaunchIMUI('$msnname');">{$ibforums->lang['msn_send_msg']}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row2' align='center' colspan='2'><a href="javascript:MsgrApp.LaunchAddContactUI('$msnname');">{$ibforums->lang['msn_add_contact']}</a></td>
|
||||
</tr>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function yahoo_body($yahoo) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<tr>
|
||||
<td class='row2' align='left'><b>{$ibforums->lang['yahoo_name']}</b></td>
|
||||
<td class='row2' align='left'><input type='text' name='msnname' value='$yahoo' size='40' class='forminput' onMouseOver="this.focus()" onFocus="this.select()"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row2' align='left'><b>{$ibforums->lang['yahoo_status']}</b></td>
|
||||
<td class='row2' align='left'><img border=0 src="http://opi.yahoo.com/online?u=$yahoo&m=g&t=2"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row2' align='center' colspan='2'><a href="http://edit.yahoo.com/config/send_webmesg?.target=$yahoo&.src=pg">{$ibforums->lang['yahoo_send_msg']}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row2' align='center' colspan='2'><a href="http://members.yahoo.com/interests?.oc=t&.kw=$yahoo&.sb=1">{$ibforums->lang['yahoo_view_profile']}</a></td>
|
||||
</tr>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
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 class='row2' align='left'><b>{$ibforums->lang['name']}</b></td>
|
||||
<td class='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 class='row2' align='left'><b>{$ibforums->lang['email']}</b></td>
|
||||
<td class='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 class='row2' align='left' valign='top'><b>{$ibforums->lang['msg']}</b></td>
|
||||
<td class='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 class='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 class='darkrow1' colspan='2'> </td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function pager_header($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td colspan='2' align='center' class='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->base_url}" 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']}'>
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'><{CAT_IMG}> {$ibforums->lang['title']}</div>
|
||||
<table cellpadding='4' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td class='row1' align='left' width='30%' valign='top'><b>{$ibforums->lang['send_lang']}</b></td>
|
||||
<td class='row1' width='80%'>$lang</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' align='left' width='30%' valign='top'><b>{$ibforums->lang['to_name']}</b></td>
|
||||
<td class='row1' width='80%'><input type='text' class='forminput' name='to_name' value='' size='30' maxlength='100'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' align='left' width='30%' valign='top'><b>{$ibforums->lang['to_email']}</b></td>
|
||||
<td class='row1' width='80%'><input type='text' class='forminput' name='to_email' value='' size='30' maxlength='100'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' align='left' width='30%' valign='top'><b>{$ibforums->lang['subject']}</b></td>
|
||||
<td class='row1' width='80%'><input type='text' class='forminput' name='subject' value='{$title}' size='30' maxlength='120'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' align='left' width='30%' valign='top'><b>{$ibforums->lang['message']}</b></td>
|
||||
<td class='row1' width='80%'><textarea cols='60' rows='12' wrap='soft' name='message' class='textinput'>{$text}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div align='center' class='pformstrip'><input type="submit" value="{$ibforums->lang['submit_send']}" class='forminput' /></div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_address($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'>{$ibforums->lang['send_email_to']} {$data[NAME]}</div>
|
||||
<div class='tablepad'>{$ibforums->lang['show_address_text']}
|
||||
<br />
|
||||
>><b><a href="mailto:{$data[ADDRESS]}" class='misc'>{$ibforums->lang['send_email_to']} {$data[NAME]}</a></b>
|
||||
</div>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function send_form($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<form action="{$ibforums->base_url}" method="post" name='REPLIER'>
|
||||
<input type='hidden' name='act' value='Mail'>
|
||||
<input type='hidden' name='CODE' value='01'>
|
||||
<input type='hidden' name='to' value='{$data['TO']}'>
|
||||
<div><strong>{$ibforums->lang['imp_text']}</strong></div>
|
||||
<br />
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'>{$ibforums->lang['send_title']}</div>
|
||||
<div class='pformstrip'>{$ibforums->lang['send_email_to']} {$data['NAME']}</div>
|
||||
<table width='100%' cellspacing='1'>
|
||||
<tr>
|
||||
<td class='pformleftw' valign='top'><b>{$ibforums->lang['subject']}</b></td>
|
||||
<td class='pformright'><input type='text' name='subject' value='{$data['subject']}' size='50' maxlength='50' class='forminput' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='pformleftw' valign='top'><b>{$ibforums->lang['message']}</b><br /><br />{$ibforums->lang['msg_txt']}</td>
|
||||
<td class='pformright'><textarea cols='60' rows='12' wrap='soft' name='message' class='textinput'>{$data['content']}</textarea></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class='pformstrip' align='center'><input type="submit" value="{$ibforums->lang['submit_send']}" class='forminput' /></div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function sent_screen($member_name) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'>{$ibforums->lang['email_sent']}</div>
|
||||
<div class='tablepad'>{$ibforums->lang['email_sent_txt']} $member_name</div>
|
||||
</div>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function forum_jump($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='<{tbl_width}>' align='center'>
|
||||
<tr>
|
||||
<td align='right'>$data</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -1,369 +1,266 @@
|
||||
<?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='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='left' colspan='2' class='titlemedium'>{$ibforums->lang['need_password']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' colspan='2'>{$ibforums->lang['need_password_txt']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' width='40%'><b>{$ibforums->lang['enter_pass']}</b></td>
|
||||
<td class='row1'><input type='password' size='20' name='f_password'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='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 show_rules_full($rules) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Show FAQ/Forum Rules -->
|
||||
<br>
|
||||
<table cellpadding='4' cellspacing='0' border='0' width='<{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='<{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 show_sub_link($fid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
| <a href='{$ibforums->base_url}&act=Track&f=$fid&type=forum'>{$ibforums->lang['ft_title']}</a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function TableEnd($Data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='mainbg'>
|
||||
<!--IBF.FORUM_ACTIVE-->
|
||||
<table width='100%' border='0' cellspacing='1' cellpadding='4'>
|
||||
<tr>
|
||||
<td class='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='<{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']}'><{A_POST}></a>{$Data[POLL_BUTTON]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width='<{tbl_width}>' border='0' cellspacing='0' cellpadding='3' align='center'>
|
||||
<tr>
|
||||
<td><{B_NEW}></td>
|
||||
<td nowrap>{$ibforums->lang['pm_open_new']} </td>
|
||||
<td><{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><{B_NORM}></td>
|
||||
<td nowrap>{$ibforums->lang['pm_open_no']} </td>
|
||||
<td><{B_POLL_NN}></td>
|
||||
<td nowrap>{$ibforums->lang['pm_poll_no']} </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><{B_HOT}></td>
|
||||
<td nowrap>{$ibforums->lang['pm_hot_new']} </td>
|
||||
<td><{B_LOCKED}></td>
|
||||
<td nowrap>{$ibforums->lang['pm_locked']} </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><{B_HOT_NN}></td>
|
||||
<td nowrap>{$ibforums->lang['pm_hot_no']} </td>
|
||||
<td><{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='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td valign='left' class='titlemedium'>{$rules['title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1'>{$rules['body']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='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='<{tbl_width}>' align='center'>
|
||||
<tr>
|
||||
<td><span class='pagetitle'>$title</span>$pages</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function PageTop($info) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Forum page unique top -->
|
||||
|
||||
<script language='javascript'>
|
||||
<!--
|
||||
function who_posted(tid)
|
||||
{
|
||||
window.open("{$ibforums->base_url}&act=Stats&CODE=who&t="+tid, "WhoPosted", "toolbar=no,scrollbars=yes,resizable=yes,width=230,height=300");
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<!--IBF.SUBFORUMS-->
|
||||
|
||||
<table width='<{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']}'><{A_POST}></a>{$info[POLL_BUTTON]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width='<{tbl_width}>' align='center' border='0' cellspacing='1' cellpadding='0' bgcolor='<{tbl_border}>'>
|
||||
|
||||
<tr>
|
||||
<form action='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}' method='POST'>
|
||||
<td class='maintitle'>
|
||||
<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%' class='maintitle'>{$info['name']}</td>
|
||||
<td align='right' class='maintitle' nowrap><span style='font-size:10px'>[ <a href='{$ibforums->base_url}&act=Login&CODE=04&f={$info['id']}'>{$ibforums->lang['mark_as_read']}</a> <!--IBF.SUB_FORUM_LINK--> ]</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='mainbg'>
|
||||
<table width='100%' border='0' cellspacing='1' cellpadding='4'>
|
||||
<tr>
|
||||
<td align='center' nowrap class='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 class='titlemedium'><img src='{$ibforums->vars['img_url']}/spacer.gif' alt='' width='20' height='1'></td>
|
||||
<td width='45%' nowrap class='titlemedium'>{$ibforums->lang['h_topic_title']}</td>
|
||||
<td width='14%' align='center' nowrap class='titlemedium'>{$ibforums->lang['h_topic_starter']}</td>
|
||||
<td width='7%' align='center' nowrap class='titlemedium'>{$ibforums->lang['h_replies']}</td>
|
||||
<td width='7%' align='center' nowrap class='titlemedium'>{$ibforums->lang['h_hits']}</td>
|
||||
<td width='27%' nowrap class='titlemedium'>{$ibforums->lang['h_last_action']}</td>
|
||||
</tr>
|
||||
<!-- Forum page unique top -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function forum_active_users($active=array()) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<table width='100%' border='0' cellspacing='1' cellpadding='4'>
|
||||
<tr>
|
||||
<td class='titlemedium' align='left'>{$ibforums->lang['active_users_title']} ({$ibforums->lang['active_users_detail']})</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='forum1'><b>{$ibforums->lang['active_users_members']}</b> {$active['names']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function show_no_matches() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class='forum2' colspan='7' align='center'>
|
||||
<br>
|
||||
<b>{$ibforums->lang['no_topics']}</b>
|
||||
<br><br>
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function who_link($tid, $posts) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<a href='javascript:who_posted($tid);'>$posts</a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function RenderRow($Data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Begin Topic Entry {$Data['tid']} -->
|
||||
<tr>
|
||||
<td align='center' class='forum2'>{$Data['folder_img']}</td>
|
||||
<td align='center' class='forum1'>{$Data['topic_icon']}</td>
|
||||
<td class='forum2'>
|
||||
<table width='100%' border='0' cellspacing='0' cellpadding='0'>
|
||||
<tr>
|
||||
<td valign='middle'>{$Data['go_new_post']}</td>
|
||||
<td width='100%'><span class='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}' class='linkthru' title='{$ibforums->lang['topic_started_on']} {$Data['start_date']}'>{$Data['title']}</a></span> {$Data[PAGES]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<span class='desc'>{$Data['description']}</span></td>
|
||||
<td align='center' class='forum1'>{$Data['starter']}</td>
|
||||
<td align='center' class='forum2'>{$Data['posts']}</td>
|
||||
<td align='center' class='forum1'>{$Data['views']}</td>
|
||||
<td class='forum1'><span class='desc'>{$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></span></td>
|
||||
</tr>
|
||||
<!-- End Topic Entry {$Data['tid']} -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function render_pinned_start() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- START PINNED -->
|
||||
<tr>
|
||||
<td align='center' class='category'> </td>
|
||||
<td align='center' class='category'> </td>
|
||||
<td align='left' class='category' colspan='5'>{$ibforums->lang['pinned_start']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function render_pinned_end() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- END PINNED -->
|
||||
<tr>
|
||||
<td align='center' class='category'> </td>
|
||||
<td align='center' class='category'> </td>
|
||||
<td align='left' class='category' colspan='5'>{$ibforums->lang['regular_topics']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function render_pinned_row($Data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Begin Pinned Topic Entry {$Data['tid']} -->
|
||||
<tr>
|
||||
<td align='center' class='forum2'>{$Data['folder_img']}</td>
|
||||
<td align='center' class='forum1'>{$Data['topic_icon']}</td>
|
||||
<td class='forum2'>
|
||||
<table width='100%' border='0' cellspacing='0' cellpadding='0'>
|
||||
<tr>
|
||||
<td valign='middle'>{$Data['go_new_post']}</td>
|
||||
<td width='100%'><span class='linkthru' style='font-weight:bold'>{$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}' class='linkthru' title='{$ibforums->lang['topic_started_on']} {$Data['start_date']}'>{$Data['title']}</a></span> {$Data[PAGES]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<span class='desc'>{$Data['description']}</span></td>
|
||||
<td align='center' class='forum2'>{$Data['starter']}</td>
|
||||
<td align='center' class='forum2'>{$Data['posts']}</td>
|
||||
<td align='center' class='forum2'>{$Data['views']}</td>
|
||||
<td class='forum2'><span class='desc'>{$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></span></td>
|
||||
</tr>
|
||||
<!-- End Pinned Topic Entry {$Data['tid']} -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
<?php
|
||||
|
||||
class skin_forum {
|
||||
|
||||
function show_page_jump($total, $pp, $qe) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<a href="javascript:multi_page_jump( $total, $pp, '$qe' )" title="{$ibforums->lang['tpl_jump']}">{$ibforums->lang['multi_page_forum']}</a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function Forum_log_in($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<form action='{$ibforums->base_url};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}'>
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'><{CAT_IMG}> {$ibforums->lang['need_password']}</div>
|
||||
<div class='tablepad'>{$ibforums->lang['need_password_txt']}</div>
|
||||
<div class='tablepad' style='text-align:center'>
|
||||
<strong>{$ibforums->lang['enter_pass']}</strong>
|
||||
<br />
|
||||
<input type='password' size='20' name='f_password' />
|
||||
</div>
|
||||
<div class='pformstrip' align='center'><input type='submit' value='{$ibforums->lang['f_pass_submit']}' class='forminput' /></div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function show_sub_link($fid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
| <a href='{$ibforums->base_url}act=Track&f=$fid&type=forum'>{$ibforums->lang['ft_title']}</a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_mod_link($fid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br />
|
||||
<strong>{$ibforums->lang['post_modq']} <a href='{$ibforums->base_url}act=modcp'>{$ibforums->lang['post_click']}</a></strong>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function PageTop($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script language='javascript' type="text/javascript">
|
||||
<!--
|
||||
function who_posted(tid)
|
||||
{
|
||||
window.open("{$ibforums->js_base_url}act=Stats&CODE=who&t="+tid, "WhoPosted", "toolbar=no,scrollbars=yes,resizable=yes,width=230,height=300");
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<!--IBF.SUBFORUMS-->
|
||||
<!--IBF.MODLINK-->
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align='left' width="20%" nowrap="nowrap">{$data['SHOW_PAGES']}</td>
|
||||
<td align='right' width="80%"><a href='{$ibforums->base_url}act=Post&CODE=00&f={$data['id']}'><{A_POST}></a>{$data[POLL_BUTTON]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
|
||||
<form action='{$ibforums->base_url}act=SF&f={$data['id']}&st={$ibforums->input['st']}' method='post'>
|
||||
<div class="tableborder">
|
||||
<div class='maintitle'><{CAT_IMG}> {$data['name']}</div>
|
||||
<table width='100%' border='0' cellspacing='1' cellpadding='4'>
|
||||
<tr>
|
||||
<td align='center' class='titlemedium'><img src='{$ibforums->vars['img_url']}/spacer.gif' alt='' width='20' height='1' /></td>
|
||||
<td align='center' class='titlemedium'><img src='{$ibforums->vars['img_url']}/spacer.gif' alt='' width='20' height='1' /></td>
|
||||
<th width='45%' align='left' nowrap="nowrap" class='titlemedium'>{$ibforums->lang['h_topic_title']}</th>
|
||||
<th width='14%' align='center' nowrap="nowrap" class='titlemedium'>{$ibforums->lang['h_topic_starter']}</th>
|
||||
<th width='7%' align='center' nowrap="nowrap" class='titlemedium'>{$ibforums->lang['h_replies']}</th>
|
||||
<th width='7%' align='center' nowrap="nowrap" class='titlemedium'>{$ibforums->lang['h_hits']}</th>
|
||||
<th width='27%' align='left' nowrap="nowrap" class='titlemedium'>{$ibforums->lang['h_last_action']}</th>
|
||||
</tr>
|
||||
<!-- Forum page unique top -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function TableEnd($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</table>
|
||||
|
||||
<!--IBF.FORUM_ACTIVE-->
|
||||
|
||||
<div align='center' class='darkrow2' style='padding:4px'>{$ibforums->lang['showing_text']}{$ibforums->lang['sort_text']} <input type='submit' value='{$ibforums->lang['sort_submit']}' class='forminput' /></div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<br />
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align='left' width="20%" nowrap="nowrap">{$data['SHOW_PAGES']}</td>
|
||||
<td align='right' width="80%"><a href='{$ibforums->base_url}act=Post&CODE=00&f={$data['id']}'><{A_POST}></a>{$data[POLL_BUTTON]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br />
|
||||
|
||||
<div align='left' class="wrapmini">
|
||||
<{B_NEW}> {$ibforums->lang['pm_open_new']}
|
||||
<br /><{B_NORM}> {$ibforums->lang['pm_open_no']}
|
||||
<br /><{B_HOT}> {$ibforums->lang['pm_hot_new']}
|
||||
<br /><{B_HOT_NN}> {$ibforums->lang['pm_hot_no']}
|
||||
</div>
|
||||
|
||||
<div align='left' class="wrapmini">
|
||||
<{B_POLL}> {$ibforums->lang['pm_poll']}
|
||||
<br /><{B_POLL_NN}> {$ibforums->lang['pm_poll_no']}
|
||||
<br /><{B_LOCKED}> {$ibforums->lang['pm_locked']}
|
||||
<br /><{B_MOVED}> {$ibforums->lang['pm_moved']}
|
||||
</div>
|
||||
|
||||
<div align='right'>
|
||||
<form action='{$ibforums->base_url}' method='post' name='search'>
|
||||
<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='joinname' value='1' />
|
||||
<input type='hidden' name='CODE' value='01' />
|
||||
{$ibforums->lang['search_forum']}
|
||||
<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' />
|
||||
</form>
|
||||
<br />
|
||||
<br />
|
||||
{$data[FORUM_JUMP]}
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
<div align='center'><a href='{$ibforums->base_url}act=Login&CODE=04&f={$data['id']}'>{$ibforums->lang['mark_as_read']}</a> <!--IBF.SUB_FORUM_LINK--></div>
|
||||
<br clear="all" />
|
||||
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_rules($rules) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'>{$rules['title']}</div>
|
||||
<div class='tablepad'>{$rules['body']}</div>
|
||||
<div class='pformstrip' align='center'>>><a href='{$ibforums->base_url}act=SF&f={$rules['fid']}'>{$ibforums->lang['back_to_forum']}</a></div>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function page_title($title="", $pages="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div><span class='pagetitle'>$title</span>$pages</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
function forum_active_users($active=array()) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class='darkrow2' style='padding:6px'>{$ibforums->lang['active_users_title']} ({$ibforums->lang['active_users_detail']})</div>
|
||||
<div class='row2' style='padding:6px'>{$ibforums->lang['active_users_members']} {$active['names']}</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function show_no_matches() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class='row4' colspan='7' align='center'>
|
||||
<br />
|
||||
<b>{$ibforums->lang['no_topics']}</b>
|
||||
<br /><br />
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function who_link($tid, $posts) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<a href='javascript:who_posted($tid);'>$posts</a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function RenderRow($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Begin Topic Entry {$data['tid']} -->
|
||||
<tr>
|
||||
<td align='center' class='row4'>{$data['folder_img']}</td>
|
||||
<td align='center' class='row2'>{$data['topic_icon']}</td>
|
||||
<td class='row4'>
|
||||
{$data['go_new_post']}{$data['prefix']} <a href="{$ibforums->base_url}showtopic={$data['tid']}" title="{$ibforums->lang['topic_started_on']} {$data['start_date']}">{$data['title']}</a> {$data[PAGES]}
|
||||
<br /><span class='desc'>{$data['description']}</span></td>
|
||||
<td align='center' class='row2'>{$data['starter']}</td>
|
||||
<td align='center' class='row4'>{$data['posts']}</td>
|
||||
<td align='center' class='row2'>{$data['views']}</td>
|
||||
<td class='row2'><span class='desc'>{$data['last_post']}<br /><a href='{$ibforums->base_url}showtopic={$data['tid']}&view=getlastpost'>{$data['last_text']}</a> <b>{$data['last_poster']}</b></span></td>
|
||||
</tr>
|
||||
<!-- End Topic Entry {$data['tid']} -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function render_pinned_start() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- START PINNED -->
|
||||
<tr>
|
||||
<td align='center' class='darkrow1'> </td>
|
||||
<td align='center' class='darkrow1'> </td>
|
||||
<td align='left' class='darkrow1' colspan='5' style='padding:6px'><b>{$ibforums->lang['pinned_start']}</b></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function render_pinned_end() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- END PINNED -->
|
||||
<tr>
|
||||
<td align='center' class='darkrow1'> </td>
|
||||
<td align='center' class='darkrow1'> </td>
|
||||
<td align='left' class='darkrow1' colspan='5' style='padding:6px'><b>{$ibforums->lang['regular_topics']}</b></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function render_pinned_row($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Begin Pinned Topic Entry {$data['tid']} -->
|
||||
<tr>
|
||||
<td align='center' class='row4'>{$data['folder_img']}</td>
|
||||
<td align='center' class='row2'>{$data['topic_icon']}</td>
|
||||
<td class='row4'>
|
||||
{$data['go_new_post']}<b>{$data['prefix']} <a href='{$ibforums->base_url}showtopic={$data['tid']}' class='linkthru' title='{$ibforums->lang['topic_started_on']} {$data['start_date']}'>{$data['title']}</a></b> {$data[PAGES]}
|
||||
<br /><span class='desc'>{$data['description']}</span></td>
|
||||
<td align='center' class='row4'>{$data['starter']}</td>
|
||||
<td align='center' class='row4'>{$data['posts']}</td>
|
||||
<td align='center' class='row4'>{$data['views']}</td>
|
||||
<td class='row4'><span class='desc'>{$data['last_post']}<br /><a href='{$ibforums->base_url}showtopic={$data['tid']}&view=getlastpost'>{$data['last_text']}</a> <b>{$data['last_poster']}</b></span></td>
|
||||
</tr>
|
||||
<!-- End Pinned Topic Entry {$data['tid']} -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -2,67 +2,242 @@
|
||||
|
||||
class skin_global {
|
||||
|
||||
|
||||
|
||||
function Member_bar($msg, $ad_link, $mod_link) {
|
||||
function pop_up_window($title, $css, $text) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>
|
||||
<tr>
|
||||
<td align='left' valign='middle'><b>{$ibforums->lang['logged_in_as']} {$ibforums->member['name']}</b> ( <a href='{$ibforums->base_url}&act=Login&CODE=03'>{$ibforums->lang['log_out']}</a>$ad_link $mod_link )</td>
|
||||
<td align='right' valign='middle'>
|
||||
<b><a href='{$ibforums->base_url}&act=UserCP&CODE=00' title='{$ibforums->lang['cp_tool_tip']}'>{$ibforums->lang['your_cp']}</a></b> | <a href='{$ibforums->base_url}&act=Msg&CODE=01'>{$msg[TEXT]}</a>
|
||||
| <a href='{$ibforums->base_url}&act=Search&CODE=getnew'>{$ibforums->lang['view_new_posts']}</a> | <a href='javascript:buddy_pop();' title='{$ibforums->lang['bb_tool_tip']}'>{$ibforums->lang['l_qb']}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
|
||||
<title>$title</title>
|
||||
$css
|
||||
</head>
|
||||
<script language='JavaScript' type="text/javascript">
|
||||
<!--
|
||||
function buddy_pop() { window.open('index.{$ibforums->vars['php_ext']}?act=buddy&s={$ibforums->session_id}','BrowserBuddy','width=250,height=500,resizable=yes,scrollbars=yes'); }
|
||||
function chat_pop(cw,ch) { window.open('index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=chat&pop=1','Chat','width='+cw+',height='+ch+',resizable=yes,scrollbars=yes'); }
|
||||
function multi_page_jump( url_bit, total_posts, per_page )
|
||||
{
|
||||
pages = 1; cur_st = parseInt("{$ibforums->input['st']}"); cur_page = 1;
|
||||
if ( total_posts % per_page == 0 ) { pages = total_posts / per_page; }
|
||||
else { pages = Math.ceil( total_posts / per_page ); }
|
||||
msg = "{$ibforums->lang['tpl_q1']}" + " " + pages;
|
||||
if ( cur_st > 0 ) { cur_page = cur_st / per_page; cur_page = cur_page -1; }
|
||||
show_page = 1;
|
||||
if ( cur_page < pages ) { show_page = cur_page + 1; }
|
||||
if ( cur_page >= pages ) { show_page = cur_page - 1; }
|
||||
else { show_page = cur_page + 1; }
|
||||
userPage = prompt( msg, show_page );
|
||||
if ( userPage > 0 ) {
|
||||
if ( userPage < 1 ) { userPage = 1; }
|
||||
if ( userPage > pages ) { userPage = pages; }
|
||||
if ( userPage == 1 ) { start = 0; }
|
||||
else { start = (userPage - 1) * per_page; }
|
||||
window.location = url_bit + "&st=" + start;
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<body>
|
||||
<div style='text-align:left'>
|
||||
$text
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function ibf_banner() {
|
||||
|
||||
function make_page_jump($tp="", $pp="", $ub="" ) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<a href='http://www.ipshosting.com' target='_blank'><img src='html/sys-img/ipshosting.gif' border='0' alt='IPS Hosting'></a>
|
||||
<a title="{$ibforums->lang['tpl_jump']}" href="javascript:multi_page_jump('$ub',$tp,$pp);">{$ibforums->lang['tpl_pages']}</a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function signature_separator($sig="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br /><br />--------------------<br />
|
||||
<div class='signature'>$sig</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function forum_show_rules_full($rules) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Show FAQ/Forum Rules -->
|
||||
<div align='left'><{F_RULES}> <b>{$rules['title']}</b><br /><br />{$rules['body']}</div>
|
||||
<br />
|
||||
<!-- End FAQ/Forum Rules -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function forum_show_rules_link($rules) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Show FAQ/Forum Rules -->
|
||||
|
||||
<div align='left'><{F_RULES}> <b><a href='{$ibforums->base_url}act=SR&f={$rules['fid']}'>{$rules['title']}</a></b></div>
|
||||
|
||||
<!-- End FAQ/Forum Rules -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function css_inline($css="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<style type='text/css'>
|
||||
{$css}
|
||||
</style>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function css_external($css, $img) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<style type='text/css' media="all">
|
||||
@import url(css.php?d={$css}_{$img}.css);
|
||||
</style>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Member_bar($msg, $ad_link, $mod_link, $val_link) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table width="100%" id="userlinks" cellspacing="6">
|
||||
<tr>
|
||||
<td><strong>{$ibforums->lang['logged_in_as']} <a href='{$ibforums->base_url}showuser={$ibforums->member['id']}'>{$ibforums->member['name']}</a></strong> ( <a href='{$ibforums->base_url}act=Login&CODE=03'>{$ibforums->lang['log_out']}</a>$ad_link $mod_link $val_link )</td>
|
||||
<td align='right'>
|
||||
<b><a href='{$ibforums->base_url}act=UserCP&CODE=00' title='{$ibforums->lang['cp_tool_tip']}'>{$ibforums->lang['your_cp']}</a></b> · <a href='{$ibforums->base_url}act=Msg&CODE=01'>{$msg[TEXT]}</a>
|
||||
· <a href='{$ibforums->base_url}act=Search&CODE=getnew'>{$ibforums->lang['view_new_posts']}</a> · <a href='javascript:buddy_pop();' title='{$ibforums->lang['bb_tool_tip']}'>{$ibforums->lang['l_qb']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Guest_bar() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table width="100%" id="userlinks" cellspacing="6">
|
||||
<tr>
|
||||
<td>{$ibforums->lang['guest_stuff']} ( <a href='{$ibforums->base_url}act=Login&CODE=00'>{$ibforums->lang['log_in']}</a> | <a href='{$ibforums->base_url}act=Reg&CODE=00'>{$ibforums->lang['register']}</a> )</td>
|
||||
<td align='right'><a href='{$ibforums->base_url}act=Reg&CODE=reval'>{$ibforums->lang['ml_revalidate']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function member_bar_disabled() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table width="100%" id="userlinks" cellspacing="6">
|
||||
<tr>
|
||||
<td><strong>{$ibforums->lang['mb_disabled']} </strong></td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Member_no_usepm_bar($ad_link, $mod_link, $val_link) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table width="100%" id="userlinks" cellspacing="6">
|
||||
<tr>
|
||||
<td><b>{$ibforums->lang['logged_in_as']} {$ibforums->member['name']}</b> ( <a href='{$ibforums->base_url}act=Login&CODE=03'>{$ibforums->lang['log_out']}</a>$ad_link $mod_link $val_link )</td>
|
||||
<td align='right'>
|
||||
<b><a href='{$ibforums->base_url}act=UserCP&CODE=00' title='{$ibforums->lang['cp_tool_tip']}'>{$ibforums->lang['your_cp']}</a></b>
|
||||
· <a href='{$ibforums->base_url}act=Search&CODE=getnew'>{$ibforums->lang['view_new_posts']}</a> · <a href='javascript:buddy_pop();' title='{$ibforums->lang['bb_tool_tip']}'>{$ibforums->lang['l_qb']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function BoardHeader($time="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script language='JavaScript' type="text/javascript">
|
||||
<!--
|
||||
function buddy_pop() { window.open('index.{$ibforums->vars['php_ext']}?act=buddy&s={$ibforums->session_id}','BrowserBuddy','width=250,height=500,resizable=yes,scrollbars=yes'); }
|
||||
function chat_pop(cw,ch) { window.open('index.{$ibforums->vars['php_ext']}?s={$ibforums->session_id}&act=chat&pop=1','Chat','width='+cw+',height='+ch+',resizable=yes,scrollbars=yes'); }
|
||||
function multi_page_jump( url_bit, total_posts, per_page )
|
||||
{
|
||||
pages = 1; cur_st = parseInt("{$ibforums->input['st']}"); cur_page = 1;
|
||||
if ( total_posts % per_page == 0 ) { pages = total_posts / per_page; }
|
||||
else { pages = Math.ceil( total_posts / per_page ); }
|
||||
msg = "{$ibforums->lang['tpl_q1']}" + " " + pages;
|
||||
if ( cur_st > 0 ) { cur_page = cur_st / per_page; cur_page = cur_page -1; }
|
||||
show_page = 1;
|
||||
if ( cur_page < pages ) { show_page = cur_page + 1; }
|
||||
if ( cur_page >= pages ) { show_page = cur_page - 1; }
|
||||
else { show_page = cur_page + 1; }
|
||||
userPage = prompt( msg, show_page );
|
||||
if ( userPage > 0 ) {
|
||||
if ( userPage < 1 ) { userPage = 1; }
|
||||
if ( userPage > pages ) { userPage = pages; }
|
||||
if ( userPage == 1 ) { start = 0; }
|
||||
else { start = (userPage - 1) * per_page; }
|
||||
window.location = url_bit + "&st=" + start;
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<!--IBF.BANNER-->
|
||||
<div id='logostrip'>
|
||||
<a href='{$ibforums->base_url}' title='Board Home'><img src='{$ibforums->vars['img_url']}/logo4.gif' alt='Powered by Invision Power Board' border="0" /></a>
|
||||
</div>
|
||||
|
||||
<script language='JavaScript'>
|
||||
<!--
|
||||
function buddy_pop()
|
||||
{
|
||||
window.open('index.{$ibforums->vars['php_ext']}?act=buddy&s={$ibforums->session_id}','BrowserBuddy','width=200,height=450,resizable=yes,scrollbars=yes');
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<table width='<{tbl_width}>' border='0' align='center' cellpadding='0' cellspacing='1' bgcolor='<{tbl_border}>'>
|
||||
<tr>
|
||||
<td align='left'>
|
||||
<table width='100%' border='0' cellspacing='0' cellpadding='0' background='{$ibforums->vars['img_url']}/header_tile.gif'>
|
||||
<tr>
|
||||
<td align='left'><a href='{$ibforums->base_url}' title='Board Home'><img src='{$ibforums->vars['img_url']}/logo.jpg' alt='Powered by Invision Board' border='0'></a></td>
|
||||
<td align='right' valign='middle' background='{$ibforums->vars['img_url']}/header_tile.gif'><!--IBF.BANNER--></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1'>
|
||||
<table width='100%' border='0' cellspacing='0' cellpadding='8'>
|
||||
<tr>
|
||||
<td width='100%' valign='middle' align='center'> <% MEMBER BAR %>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</td>
|
||||
<!-- IE6/Win TABLE FIX -->
|
||||
<table width="100%" cellspacing="6" id="submenu">
|
||||
<tr>
|
||||
<td><a href='{$ibforums->vars['home_url']}'>{$ibforums->vars['home_name']}</a><!--IBF.RULES--></td>
|
||||
<td align="right">
|
||||
<img src="{$ibforums->vars['img_url']}/atb_help.gif" border="0" alt="" /> <a href='{$ibforums->base_url}act=Help'>{$ibforums->lang['tb_help']}</a>
|
||||
<img src="{$ibforums->vars['img_url']}/atb_search.gif" border="0" alt="" /> <a href='{$ibforums->base_url}act=Search&f={$ibforums->input['f']}'>{$ibforums->lang['tb_search']}</a>
|
||||
<img src="{$ibforums->vars['img_url']}/atb_members.gif" border="0" alt="" /> <a href='{$ibforums->base_url}act=Members'>{$ibforums->lang['tb_mlist']}</a>
|
||||
<img src="{$ibforums->vars['img_url']}/atb_calendar.gif" border="0" alt="" /> <a href='{$ibforums->base_url}act=calendar'>{$ibforums->lang['tb_calendar']}</a>
|
||||
<!--IBF.CHATLINK-->
|
||||
<!--IBF.TSLLINK-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<% MEMBER BAR %>
|
||||
<br />
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function rules_link($url="", $title="")
|
||||
{
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
· <a href="$url">$title</a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_tsl_link_inline()
|
||||
{
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<img src="{$ibforums->vars['img_url']}/atb_toplist.gif" border="0" alt="" /> <a href='{$ibforums->base_url}act=module&module=toplist'>{$ibforums->lang['tb_toplist']}</a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_chat_link_inline()
|
||||
{
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<img src="{$ibforums->vars['img_url']}/atb_chat.gif" border="0" alt="" /> <a href='{$ibforums->base_url}act=chat'>{$ibforums->lang['live_chat']}</a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_chat_link_popup()
|
||||
{
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<img src="{$ibforums->vars['img_url']}/atb_chat.gif" border="0" alt="" /> <a href="javascript:chat_pop({$ibforums->vars['chat_width']}, {$ibforums->vars['chat_height']});">{$ibforums->lang['live_chat']}</a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
@@ -70,64 +245,47 @@ EOF;
|
||||
function start_nav() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table width='<{tbl_width}>' align='center' border="0" cellspacing="0" cellpadding="2">
|
||||
<tr>
|
||||
<td width='1%' valign='middle'><{F_NAV}></td>
|
||||
<td width="100%" align='left' valign='middle' class="nav">
|
||||
<div id='navstrip' align='left'><{F_NAV}>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function end_nav() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</td>
|
||||
<td align='right' valign='middle' nowrap>
|
||||
<table cellpadding='5' cellspacing='0' border='0' style='border:1px solid <{tbl_border}>' class='row2'>
|
||||
<tr>
|
||||
<td nowrap><a href='{$ibforums->base_url}&act=Help'>{$ibforums->lang['tb_help']}</a>
|
||||
<span style='color:<{tbl_border}>'>|</span> <a href='{$ibforums->base_url}&act=Search&f={$ibforums->input['f']}'>{$ibforums->lang['tb_search']}</a>
|
||||
<span style='color:<{tbl_border}>'>|</span> <a href='{$ibforums->base_url}&act=Members'>{$ibforums->lang['tb_mlist']}</a>
|
||||
<span style='color:<{tbl_border}>'>|</span> <a href='{$ibforums->base_url}&act=calendar'>{$ibforums->lang['tb_calendar']}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br />
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function Redirect($Text, $Url, $css) {
|
||||
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'>
|
||||
<meta http-equiv='refresh' content='2; url=$Url' />
|
||||
<script type="text/javascript"> </script>
|
||||
$css
|
||||
</head>
|
||||
<body class='mainbg'>
|
||||
<table width='<{tbl_width}>' height='85%' align='center'>
|
||||
<body>
|
||||
<table width='100%' height='85%' align='center'>
|
||||
<tr>
|
||||
<td valign='middle'>
|
||||
<table align='center' border="0" cellspacing="1" cellpadding="0" bgcolor="#000000">
|
||||
<tr>
|
||||
<td class='mainbg'>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="12">
|
||||
<tr>
|
||||
<td width="100%" align="center" class='row1'>
|
||||
{$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>
|
||||
<td valign='middle'>
|
||||
<table align='center' cellpadding="4" class="tablefill">
|
||||
<tr>
|
||||
<td width="100%" align="center">
|
||||
{$ibforums->lang['thanks']},
|
||||
$Text<br /><br />
|
||||
{$ibforums->lang['transfer_you']}<br /><br />
|
||||
(<a href='$Url'>{$ibforums->lang['dont_wait']}</a>)
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
@@ -138,7 +296,7 @@ EOF;
|
||||
function PM_popup() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script language='JavaScript'>
|
||||
<script language='JavaScript' type="text/javascript">
|
||||
<!--
|
||||
window.open('index.{$ibforums->vars['php_ext']}?act=Msg&CODE=99&s={$ibforums->session_id}','NewPM','width=500,height=250,resizable=yes,scrollbars=yes');
|
||||
//-->
|
||||
@@ -146,24 +304,24 @@ return <<<EOF
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Guest_bar() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
{$ibforums->lang['guest_stuff']} ( <a href='{$ibforums->base_url}&act=Login&CODE=00'>{$ibforums->lang['log_in']}</a> | <a href='{$ibforums->base_url}&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>
|
||||
· <b><a href='{$ibforums->vars['board_url']}/admin.{$ibforums->vars['php_ext']}' target='_blank'>{$ibforums->lang['admin_cp']}</a></b>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function mod_link() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
| <b><a href='{$ibforums->base_url}&act=modcp'>{$ibforums->lang['mod_cp']}</a></b>
|
||||
· <b><a href='{$ibforums->base_url}act=modcp&forum={$ibforums->input['f']}'>{$ibforums->lang['mod_cp']}</a></b>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function validating_link() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
· <a href='{$ibforums->base_url}act=Reg&CODE=reval'>{$ibforums->lang['ml_revalidate']}</a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
@@ -171,149 +329,117 @@ 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='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='left' colspan='2' class='titlemedium'>{$ibforums->lang['er_log_in_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' width='40%'>{$ibforums->lang['erl_enter_name']}</td>
|
||||
<td class='row1'><input type='text' size='20' maxlength='64' name='UserName' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' width='40%'>{$ibforums->lang['erl_enter_pass']}</td>
|
||||
<td class='row1'><input type='password' size='20' name='PassWord' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='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>
|
||||
<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' />
|
||||
<div class="tableborder">
|
||||
<div class="titlemedium">{$ibforums->lang['er_log_in_title']}</div>
|
||||
<table>
|
||||
<tr>
|
||||
<td class="pformleft">{$ibforums->lang['erl_enter_name']}</td>
|
||||
<td class="pformright"><input type='text' size='20' maxlength='64' name='UserName' class='forminput' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="pformleft">{$ibforums->lang['erl_enter_pass']}</td>
|
||||
<td class="pformright"><input type='password' size='20' name='PassWord' class='forminput' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="pformstrip" align="center"><input type='submit' name='submit' value='{$ibforums->lang['erl_log_in_submit']}' class='forminput' /></div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function board_offline($message = "") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table width='<{tbl_width}>' border='0' align='center' cellpadding='0' cellspacing='1' bgcolor='<{tbl_border}>'>
|
||||
<tr>
|
||||
<td >
|
||||
<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%' class='titlemedium'>{$ibforums->lang['offline_title']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<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' />
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'><{CAT_IMG}> {$ibforums->lang['offline_title']}</div>
|
||||
<div class='tablepad'>$message</div>
|
||||
<table width='100%' cellpadding='0' cellspacing='0'>
|
||||
<tr>
|
||||
<td class='pformleftw'>{$ibforums->lang['erl_enter_name']}</td>
|
||||
<td class='pformright'><input type='text' size='20' maxlength='64' name='UserName' class='forminput' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='mainbg'>
|
||||
<table width='100%' border='0' cellspacing='1' cellpadding='4'>
|
||||
<tr>
|
||||
<td colspan='2' valign='top' class='post1'> <p>$message</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' valign='top' class='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 class='row1'>{$ibforums->lang['erl_enter_name']}<br><img src='{$ibforums->vars['img_url']}/spacer.gif' alt='' width='180' height='1'></td>
|
||||
<td width='100%' class='row1'><input type='text' size='20' maxlength='64' name='UserName' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1'>{$ibforums->lang['erl_enter_pass']}</td>
|
||||
<td width='100%' class='row1'><input type='password' size='20' name='PassWord' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' align='center' class='titlefoot'><input type='submit' name='submit' value='{$ibforums->lang['erl_log_in_submit']}' class='forminput'></td>
|
||||
</form>
|
||||
</tr>
|
||||
</table></td>
|
||||
<tr>
|
||||
<td class='pformleftw'>{$ibforums->lang['erl_enter_pass']}</td>
|
||||
<td class='pformright'><input type='password' size='20' name='PassWord' class='forminput' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</table>
|
||||
<div class='pformstrip' align='center'><input type='submit' name='submit' value='{$ibforums->lang['erl_log_in_submit']}' class='forminput' /></div>
|
||||
</div>
|
||||
</form>
|
||||
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>
|
||||
<script language='JavaScript' type="text/javascript">
|
||||
<!--
|
||||
function contact_admin() {
|
||||
|
||||
<table width='<{tbl_width}>' border='0' cellspacing='1' align='center' cellpadding='0' bgcolor='<{tbl_border}>'>
|
||||
<tr>
|
||||
<td class='maintitle' >
|
||||
<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%' class='maintitle'><b>{$ibforums->lang['error_title']}</b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='mainbg'>
|
||||
<table width='100%' border='0' cellspacing='1' cellpadding='4'>
|
||||
<tr>
|
||||
<td class='row1' valign='top'>
|
||||
{$ibforums->lang['exp_text']}<br><br>
|
||||
<b>{$ibforums->lang['msg_head']}</b>
|
||||
<br><br>
|
||||
<span class='highlight'>$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 class='titlefoot' align='center'>< <a href='javascript:history.go(-1)'>{$ibforums->lang['error_back']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
// 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>
|
||||
<div class="tableborder">
|
||||
<div class="maintitle"><img src='{$ibforums->vars['img_url']}/nav_m.gif' alt='' width='8' height='8' /> {$ibforums->lang['error_title']}</div>
|
||||
</div>
|
||||
<div class="tablefill">
|
||||
{$ibforums->lang['exp_text']}<br /><br />
|
||||
<b>{$ibforums->lang['msg_head']}</b>
|
||||
<br /><br />
|
||||
<span class='postcolor' style='padding:10px'>$message</span>
|
||||
<br /><br />
|
||||
<!--IBF.LOG_IN_TABLE-->
|
||||
<!--IBF.POST_TEXTAREA-->
|
||||
<br /><br />
|
||||
<b>{$ibforums->lang['er_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>
|
||||
</div>
|
||||
<div class="tableborder">
|
||||
<div class="pformstrip" align="center">< <a href='javascript:history.go(-1)'>{$ibforums->lang['error_back']}</a></div>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Member_no_usepm_bar() {
|
||||
function error_post_textarea($post="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
{$ibforums->lang['logged_in_as']} <b>{$ibforums->member['name']}</b> ( <a href='{$ibforums->base_url}&act=UserCP&CODE=00'>{$ibforums->lang['your_cp']}</a> | <a href='{$ibforums->base_url}&act=Login&CODE=03'>{$ibforums->lang['log_out']}</a> )
|
||||
<br />
|
||||
<div>
|
||||
<strong>{$ibforums->lang['err_title']}</strong>
|
||||
<br /><br />
|
||||
{$ibforums->lang['err_expl']}
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
<div align='center'>
|
||||
<input type='button' tabindex='1' value='{$ibforums->lang['err_select']}' onclick='document.mehform.saved.select()'><br />
|
||||
<form name='mehform'>
|
||||
<textarea cols='70' rows='5' name='saved' tabindex='2'>$post</textarea>
|
||||
</form>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,89 +1,65 @@
|
||||
<?php
|
||||
|
||||
class skin_help {
|
||||
|
||||
|
||||
|
||||
function row($entry) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Help Entry ID:{$entry[ID]} -->
|
||||
<tr>
|
||||
<td class='{$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 class='row1' colspan='2' class='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 class='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='<{tbl_width}>' align='center'>
|
||||
<tr><td>$two_text</td></tr>
|
||||
</table>
|
||||
|
||||
<table cellpadding=0 cellspacing='1' border='0' width='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='left' colspan='2' class='titlemedium' >$one_text</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='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='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td colspan='2' class='titlemedium' ><b>$three_text</b></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
<?php
|
||||
|
||||
class skin_help {
|
||||
|
||||
|
||||
|
||||
function row($entry) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<li class="helprow"><a href='{$ibforums->base_url}act=Help&CODE=01&HID={$entry['id']}'><b>{$entry['title']}</b></a><br />{$entry['description']}</li>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function display($text) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</div>
|
||||
<div style='padding:4px'>$text</div>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function end() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function no_results() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class='row1' colspan='2'><b>{$ibforums->lang['no_results']}</b></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function start($one_text, $two_text, $three_text) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div>$two_text</div>
|
||||
<br />
|
||||
<form action="{$ibforums->base_url}" method="post">
|
||||
<input type='hidden' name='act' value='Help' />
|
||||
<input type='hidden' name='CODE' value='02' />
|
||||
<div class="tableborder">
|
||||
<div class="maintitle">$one_text</div>
|
||||
<div class="tablepad">{$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' /></div>
|
||||
</div>
|
||||
</form>
|
||||
<br />
|
||||
<div class="tableborder">
|
||||
<div class="maintitle">$three_text</div>
|
||||
<div class="tablepad">
|
||||
<ul id="help">
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -1,210 +1,220 @@
|
||||
<?php
|
||||
|
||||
class skin_legends {
|
||||
|
||||
|
||||
function find_user_one($entry="", $name="", $sep="comma") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<form name='finduser' method='post' action='{$ibforums->base_url}&act=legends&entry=$entry&name=$name&sep=$sep&CODE=finduser_two'>
|
||||
<table cellspacing='1' cellpadding='10' width='100%' height='100%' align='center' class='row1'>
|
||||
<tr>
|
||||
<td class='pagetitle' align='left'>{$ibforums->lang['fu_title']}<hr noshade></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='center' valign='middle'><b>{$ibforums->lang['fu_enter_name']}</b><br><br><input type='text' size='40' name='username' class='forminput'><br><br><input type='submit' value='{$ibforums->lang['fu_search_but']}'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='center' style='font-size:12px;font-weight:bold'><a href='javascript:window.close();'>{$ibforums->lang['fu_close_win']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function find_user_error($msg) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<form name='finduser' method='post' action='{$ibforums->base_url}&entry=$entry&name=$name&sep=$sep&CODE=finduser_two'>
|
||||
<table cellspacing='1' cellpadding='10' width='100%' height='100%' align='center' class='row1'>
|
||||
<tr>
|
||||
<td class='pagetitle' align='left'>{$ibforums->lang['fu_error']}<hr noshade></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='center' valign='middle'>$msg</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='center' style='font-size:12px;font-weight:bold'><a href='javascript:history.go(-1);'>{$ibforums->lang['fu_back']}</a> :: <a href='javascript:window.close();'>{$ibforums->lang['fu_close_win']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function find_user_final($names="",$entry="", $name="", $sep="line") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<script language='javascript'>
|
||||
<!--
|
||||
function add_to_form()
|
||||
{
|
||||
|
||||
var separator = '$sep';
|
||||
var entry = '$entry';
|
||||
|
||||
var name = document.finduser.username.options[document.finduser.username.selectedIndex].value;
|
||||
|
||||
if (separator == 'line')
|
||||
{
|
||||
separator = '\\n';
|
||||
}
|
||||
|
||||
if (entry == 'textarea')
|
||||
{
|
||||
// Where shall we put the separator?
|
||||
|
||||
var tbox = opener.document.REPLIER.$name.value;
|
||||
var tboxSize = opener.document.REPLIER.$name.value.length;
|
||||
|
||||
// Remove leading spaces...
|
||||
|
||||
while ( opener.document.REPLIER.$name.value.slice(0,1) == " " )
|
||||
{
|
||||
opener.document.REPLIER.$name.value = opener.document.REPLIER.$name.value.substr(1, opener.document.REPLIER.$name.value.length - 1);
|
||||
opener.document.REPLIER.$name.value.length = opener.document.REPLIER.$name.value.length;
|
||||
}
|
||||
|
||||
// Remove trailing spaces...
|
||||
|
||||
while ( opener.document.REPLIER.$name.value.slice(opener.document.REPLIER.$name.value.length - 1, opener.document.REPLIER.$name.value.length) == " " )
|
||||
{
|
||||
opener.document.REPLIER.$name.value = opener.document.REPLIER.$name.value.substr(0, opener.document.REPLIER.$name.value.length - 1);
|
||||
opener.document.REPLIER.$name.value.length = opener.document.REPLIER.$name.value.length;
|
||||
}
|
||||
|
||||
// Do we have a leading comma?
|
||||
|
||||
while ( opener.document.REPLIER.$name.value.slice(0,1) == "\\n" )
|
||||
{
|
||||
opener.document.REPLIER.$name.value = opener.document.REPLIER.$name.value.substr(1, opener.document.REPLIER.$name.value.length - 1);
|
||||
opener.document.REPLIER.$name.value.length = opener.document.REPLIER.$name.value.length;
|
||||
}
|
||||
|
||||
// Do we have a trailing comma?...
|
||||
|
||||
while ( opener.document.REPLIER.$name.value.slice(opener.document.REPLIER.$name.value.length - 1, opener.document.REPLIER.$name.value.length) == "\\n" )
|
||||
{
|
||||
opener.document.REPLIER.$name.value = opener.document.REPLIER.$name.value.substr(0, opener.document.REPLIER.$name.value.length - 1);
|
||||
opener.document.REPLIER.$name.value.length = opener.document.REPLIER.$name.value.length;
|
||||
}
|
||||
|
||||
// First in box?
|
||||
|
||||
if ( opener.document.REPLIER.$name.value.length == 0)
|
||||
{
|
||||
opener.document.REPLIER.$name.value += name;
|
||||
}
|
||||
else
|
||||
{
|
||||
opener.document.REPLIER.$name.value += separator + name;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<form name='finduser'>
|
||||
<table cellspacing='1' cellpadding='10' width='100%' height='100%' align='center' class='row1'>
|
||||
<tr>
|
||||
<td class='pagetitle' align='left'>{$ibforums->lang['fu_title']}<hr noshade></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='center' valign='middle'>{$ibforums->lang['fu_add_desc']}<br><br><select name='username' class='forminput'>$names</select><br><br><input type='button' name='add' onClick='add_to_form()' value='{$ibforums->lang['fu_add_mem']}'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='center' style='font-size:12px;font-weight:bold'><a href='javascript:history.go(-1);'>{$ibforums->lang['fu_back']}</a> :: <a href='javascript:window.close();'>{$ibforums->lang['fu_close_win']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
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='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='5' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td colspan='4' class='titlemedium' align='center'>$title</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='50%' align='center' class='category' valign='middle'>$row1</td>
|
||||
<td width='50%' align='center' class='category' valign='middle'>$row2</td>
|
||||
</tr>
|
||||
|
||||
|
||||
EOF;
|
||||
|
||||
}
|
||||
|
||||
function emoticons_row($code, $image) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<tr>
|
||||
<td align='center' class='row1' valign='middle'><a href='javascript:add_smilie("$code")'>$code</a></td>
|
||||
<td align='center' class='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;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
<?php
|
||||
|
||||
class skin_legends {
|
||||
|
||||
|
||||
function find_user_one($entry="", $name="", $sep="comma") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<form name='finduser' method='post' action='{$ibforums->base_url}act=legends&entry=$entry&name=$name&sep=$sep&CODE=finduser_two'>
|
||||
<table cellspacing='1' cellpadding='10' width='100%' height='100%' align='center' class='row1'>
|
||||
<tr>
|
||||
<td class='pagetitle' align='left'>{$ibforums->lang['fu_title']}<hr noshade></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='center' valign='middle'><b>{$ibforums->lang['fu_enter_name']}</b><br /><br /><input type='text' size='40' name='username' class='forminput'><br /><br /><input type='submit' value='{$ibforums->lang['fu_search_but']}'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='center' style='font-size:12px;font-weight:bold'><a href='javascript:window.close();'>{$ibforums->lang['fu_close_win']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function find_user_error($msg) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<form name='finduser' method='post' action='{$ibforums->base_url}entry=$entry&name=$name&sep=$sep&CODE=finduser_two'>
|
||||
<table cellspacing='1' cellpadding='10' width='100%' height='100%' align='center' class='row1'>
|
||||
<tr>
|
||||
<td class='pagetitle' align='left'>{$ibforums->lang['fu_error']}<hr noshade></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='center' valign='middle'>$msg</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='center' style='font-size:12px;font-weight:bold'><a href='javascript:history.go(-1);'>{$ibforums->lang['fu_back']}</a> :: <a href='javascript:window.close();'>{$ibforums->lang['fu_close_win']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function find_user_final($names="",$entry="", $name="", $sep="line") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<script language='javascript'>
|
||||
<!--
|
||||
function add_to_form()
|
||||
{
|
||||
|
||||
var separator = '$sep';
|
||||
var entry = '$entry';
|
||||
|
||||
var name = document.finduser.username.options[document.finduser.username.selectedIndex].value;
|
||||
|
||||
if (separator == 'line')
|
||||
{
|
||||
separator = '\\n';
|
||||
}
|
||||
|
||||
if (entry == 'textarea')
|
||||
{
|
||||
// Where shall we put the separator?
|
||||
|
||||
var tbox = opener.document.REPLIER.$name.value;
|
||||
var tboxSize = opener.document.REPLIER.$name.value.length;
|
||||
|
||||
// Remove leading spaces...
|
||||
|
||||
while ( opener.document.REPLIER.$name.value.slice(0,1) == " " )
|
||||
{
|
||||
opener.document.REPLIER.$name.value = opener.document.REPLIER.$name.value.substr(1, opener.document.REPLIER.$name.value.length - 1);
|
||||
opener.document.REPLIER.$name.value.length = opener.document.REPLIER.$name.value.length;
|
||||
}
|
||||
|
||||
// Remove trailing spaces...
|
||||
|
||||
while ( opener.document.REPLIER.$name.value.slice(opener.document.REPLIER.$name.value.length - 1, opener.document.REPLIER.$name.value.length) == " " )
|
||||
{
|
||||
opener.document.REPLIER.$name.value = opener.document.REPLIER.$name.value.substr(0, opener.document.REPLIER.$name.value.length - 1);
|
||||
opener.document.REPLIER.$name.value.length = opener.document.REPLIER.$name.value.length;
|
||||
}
|
||||
|
||||
// Do we have a leading comma?
|
||||
|
||||
while ( opener.document.REPLIER.$name.value.slice(0,1) == "\\n" )
|
||||
{
|
||||
opener.document.REPLIER.$name.value = opener.document.REPLIER.$name.value.substr(1, opener.document.REPLIER.$name.value.length - 1);
|
||||
opener.document.REPLIER.$name.value.length = opener.document.REPLIER.$name.value.length;
|
||||
}
|
||||
|
||||
// Do we have a trailing comma?...
|
||||
|
||||
while ( opener.document.REPLIER.$name.value.slice(opener.document.REPLIER.$name.value.length - 1, opener.document.REPLIER.$name.value.length) == "\\n" )
|
||||
{
|
||||
opener.document.REPLIER.$name.value = opener.document.REPLIER.$name.value.substr(0, opener.document.REPLIER.$name.value.length - 1);
|
||||
opener.document.REPLIER.$name.value.length = opener.document.REPLIER.$name.value.length;
|
||||
}
|
||||
|
||||
// First in box?
|
||||
|
||||
if ( opener.document.REPLIER.$name.value.length == 0)
|
||||
{
|
||||
opener.document.REPLIER.$name.value += name;
|
||||
}
|
||||
else
|
||||
{
|
||||
opener.document.REPLIER.$name.value += separator + name;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<form name='finduser'>
|
||||
<table cellspacing='1' cellpadding='10' width='100%' height='100%' align='center' class='row1'>
|
||||
<tr>
|
||||
<td class='pagetitle' align='left'>{$ibforums->lang['fu_title']}<hr noshade></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='center' valign='middle'>{$ibforums->lang['fu_add_desc']}<br /><br /><select name='username' class='forminput'>$names</select><br /><br /><input type='button' name='add' onClick='add_to_form()' value='{$ibforums->lang['fu_add_mem']}'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='center' style='font-size:12px;font-weight:bold'><a href='javascript:history.go(-1);'>{$ibforums->lang['fu_back']}</a> :: <a href='javascript:window.close();'>{$ibforums->lang['fu_close_win']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function emoticon_javascript()
|
||||
{
|
||||
return <<<EOF
|
||||
<script language='javascript'>
|
||||
<!--
|
||||
function add_smilie(code)
|
||||
{
|
||||
opener.document.REPLIER.Post.value += ' ' + code + ' ';
|
||||
//return true;
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function bbcode_header() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div style='padding:6px'>{$ibforums->lang['bbc_intro']}</div>
|
||||
<br />
|
||||
EOF;
|
||||
}
|
||||
|
||||
function wrap_tag($tag) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<span style='color:#F00;font-weight:bold;'>$tag</span>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function page_header( $title, $row1, $row2 ) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'>$title</div>
|
||||
<table class='tablebasic' cellspacing='1' cellpadding='4'>
|
||||
<tr>
|
||||
<td width='50%' align='center' class='pformstrip' valign='middle'>$row1</td>
|
||||
<td width='50%' align='center' class='pformstrip' valign='middle'>$row2</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function emoticons_row($code, $image, $in="'", $out="'") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td align='center' class='row1' valign='middle'><a href={$out}javascript:add_smilie({$in}$code{$in}){$out}>$code</a></td>
|
||||
<td align='center' class='row2' valign='middle'><a href={$out}javascript:add_smilie({$in}$code{$in}){$out}><img src='{$ibforums->vars['EMOTICONS_URL']}/$image' border='0' valign='absmiddle' alt='$image'></a></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function bbcode_row($before, $after) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td align='left' class='row1' valign='middle'>$before</td>
|
||||
<td align='left' class='row2' valign='middle'>$after</td>
|
||||
</tr>
|
||||
EOF;
|
||||
|
||||
}
|
||||
|
||||
function page_footer() {
|
||||
|
||||
return <<<EOF
|
||||
</table>
|
||||
</div>
|
||||
|
||||
EOF;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -1,129 +1,77 @@
|
||||
<?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='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td bgcolor='<{TITLEBACK}>' valign='left' colspan='2' class='titlelarge'>{$ibforums->lang['log_out']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' colspan='2' valign='middle'><br>{$ibforums->lang['log_out_txt']}<br></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='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='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='5' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td class='row1' valign='top' align='left' class='highlight'><b>{$ibforums->lang['errors_found']}</b><hr noshade size='1' color='<{tbl_border}>'>$data</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function ShowForm($message, $referer="") {
|
||||
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='<{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->base_url}&act=Login&CODE=01" method="post" name='LOGIN' onSubmit='return ValidateForm()'>
|
||||
<input type='hidden' name='referer' value="$referer">
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='left' colspan='2' class='titlemedium'>$message</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' width='40%'>{$ibforums->lang['enter_name']}</td>
|
||||
<td class='row1'><input type='text' size='20' maxlength='64' name='UserName' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' width='40%'>{$ibforums->lang['enter_pass']}</td>
|
||||
<td class='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='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='left' colspan='2' class='titlemedium'>{$ibforums->lang['options']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' width='40%' align='left' valign='top'>{$ibforums->lang['cookies']}</td>
|
||||
<td class='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 class='row1' width='40%' align='left' valign='top'>{$ibforums->lang['privacy']}</td>
|
||||
<td class='row1' width='40%'><input type="checkbox" name="Privacy" value="1">{$ibforums->lang['anon_name']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
<?php
|
||||
|
||||
class skin_login {
|
||||
|
||||
|
||||
function errors($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class="tableborder">
|
||||
<div class="pformstrip">{$ibforums->lang['errors_found']}</div>
|
||||
<div class="tablepad"><span class='postcolor'>$data</span></div>
|
||||
</div>
|
||||
<br />
|
||||
EOF;
|
||||
}
|
||||
|
||||
function ShowForm($message, $referer="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script language='JavaScript' type="text/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>
|
||||
{$ibforums->lang['login_text']}
|
||||
<br />
|
||||
<br />
|
||||
<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>
|
||||
<br />
|
||||
<br />
|
||||
<form action="{$ibforums->base_url}act=Login&CODE=01" method="post" name='LOGIN' onsubmit='return ValidateForm()'>
|
||||
<input type='hidden' name='referer' value="$referer" />
|
||||
<div class="tableborder">
|
||||
<div class="maintitle"><{CAT_IMG}> {$ibforums->lang['log_in']}</div>
|
||||
<div class='pformstrip'>$message</div>
|
||||
<table class="tablebasic" cellspacing="1">
|
||||
<tr>
|
||||
<td class='pformleftw'>{$ibforums->lang['enter_name']}</td>
|
||||
<td class='pformright'><input type='text' size='20' maxlength='64' name='UserName' class='forminput' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='pformleftw'>{$ibforums->lang['enter_pass']}</td>
|
||||
<td class='pformright'><input type='password' size='20' name='PassWord' class='forminput' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="pformstrip">{$ibforums->lang['options']}</div>
|
||||
<table class="tablebasic" cellspacing="1">
|
||||
<tr>
|
||||
<td class='pformleftw'>{$ibforums->lang['cookies']}</td>
|
||||
<td class='pformright'><input type="radio" name="CookieDate" value="1" checked="checked" />{$ibforums->lang['cookie_yes']}<br /><input type="radio" name="CookieDate" value="0" />{$ibforums->lang['cookie_no']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='pformleftw'>{$ibforums->lang['privacy']}</td>
|
||||
<td class='pformright'><input type="checkbox" name="Privacy" value="1" />{$ibforums->lang['anon_name']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="pformstrip" align="center"><input type="submit" name='submit' value="{$ibforums->lang['log_in_submit']}" class='forminput' /></div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -1,128 +1,124 @@
|
||||
<?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="<{tbl_width}>" border="0" align='center' cellspacing="0" cellpadding="4">
|
||||
<tr>
|
||||
<td width="100%" height='38'>{$links[SHOW_PAGES]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="<{tbl_width}>" border="0" align='center' cellspacing="1" cellpadding="0" bgcolor="<{tbl_border}>">
|
||||
<tr>
|
||||
<td class='maintitle' >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='mainbg'>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
||||
<tr>
|
||||
<td nowrap class='titlemedium' width="30%">{$ibforums->lang['member_name']}</td>
|
||||
<td nowrap class='titlemedium' align="center" width="20%">{$ibforums->lang['member_level']}</td>
|
||||
<td nowrap class='titlemedium' align="center" width="20%">{$ibforums->lang['member_group']}</td>
|
||||
<td nowrap class='titlemedium' align="center" width="20%">{$ibforums->lang['member_joined']}</td>
|
||||
<td nowrap class='titlemedium' align="center" width="10%">{$ibforums->lang['member_posts']}</td>
|
||||
<td nowrap class='titlemedium' align="center">{$ibforums->lang['member_email']}</td>
|
||||
<td nowrap class='titlemedium' align="center">{$ibforums->lang['member_aol']}</td>
|
||||
<td nowrap class='titlemedium' align="center">{$ibforums->lang['member_icq']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function end($links) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table width="<{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 class='postfoot' colspan="9" align='center' valign='middle'>
|
||||
<select class='forminput' name='name_box'>
|
||||
<option value='begins'>{$ibforums->lang['ch_begins']}</option>
|
||||
<option value='contains'>{$ibforums->lang['ch_contains']}</option>
|
||||
<option value='all' selected>{$ibforums->lang['ch_all']}</option>
|
||||
</select> <input class='forminput' type='text' size='25' name='name' value='{$ibforums->input['name']}'><br>
|
||||
{$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 class='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 class='forum2' nowrap width="20%">{$member[MEMBER_PIPS_IMG]}</td>
|
||||
<td class='forum1' align="center" width="20%">{$member[MEMBER_GROUP]}</td>
|
||||
<td class='forum2' nowrap align="center" width="20%">{$member[MEMBER_JOINED]}</td>
|
||||
<td class='forum2' align="center" width="10%">{$member[MEMBER_POSTS]}</td>
|
||||
<td class='forum1' align="center">{$member[MEMBER_EMAIL]}</td>
|
||||
<td class='forum1' align="center">{$member[AOLNAME]}</td>
|
||||
<td class='forum1' align="center">{$member[ICQNUMBER]}</td>
|
||||
</tr>
|
||||
<!-- End of Entry -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
<?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>
|
||||
<form action='{$ibforums->base_url}' method='post'>
|
||||
<input type='hidden' name='act' value='Members' />
|
||||
<input type='hidden' name='s' value='{$ibforums->session_id}' />
|
||||
<div align="left">{$links[SHOW_PAGES]}</div>
|
||||
<br />
|
||||
<div class='tableborder'>
|
||||
<div class="maintitle">{$ibforums->lang['page_title']}</div>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
||||
<tr>
|
||||
<th class='pformstrip' width="30%">{$ibforums->lang['member_name']}</th>
|
||||
<th class='pformstrip' align="center" width="10%">{$ibforums->lang['member_level']}</th>
|
||||
<th class='pformstrip' align="center" width="10%">{$ibforums->lang['member_group']}</th>
|
||||
<th class='pformstrip' align="center" width="20%">{$ibforums->lang['member_joined']}</th>
|
||||
<th class='pformstrip' align="center" width="10%">{$ibforums->lang['member_posts']}</th>
|
||||
<th class='pformstrip' align="center">{$ibforums->lang['member_email']}</th>
|
||||
<th class='pformstrip' align="center">{$ibforums->lang['member_aol']}</th>
|
||||
<th class='pformstrip' align="center">{$ibforums->lang['member_icq']}</th>
|
||||
<th class='pformstrip' width="5%" align="center">{$ibforums->lang['member_photo']}</th>
|
||||
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function end($links) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br />
|
||||
<div align="left">{$links[SHOW_PAGES]}</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function no_results() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
No results
|
||||
EOF;
|
||||
}
|
||||
|
||||
function start() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- nothing here -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Page_end($checked="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- End content Table -->
|
||||
<tr>
|
||||
<td class='row3' colspan="9" align='center' valign='middle'>
|
||||
<strong>{$ibforums->lang['photo_only']} <input type="checkbox" value="1" name="photoonly" class="forminput" $checked /></strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='pformstrip' colspan="9" align='center' valign='middle'>
|
||||
<select class='forminput' name='name_box'>
|
||||
<option value='begins'>{$ibforums->lang['ch_begins']}</option>
|
||||
<option value='contains'>{$ibforums->lang['ch_contains']}</option>
|
||||
<option value='all' selected="selected">{$ibforums->lang['ch_all']}</option>
|
||||
</select> <input class='forminput' type='text' size='25' name='name' value='{$ibforums->input['name']}' />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='darkrow1' colspan="9" align='center' valign='middle'>
|
||||
{$ibforums->lang['sorting_text']} <input type='submit' value='{$ibforums->lang['sort_submit']}' class='forminput' />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_row($member) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Entry for {$member[MEMBER_NAME]} -->
|
||||
<tr>
|
||||
<td class='row4'><strong><a href="{$ibforums->base_url}showuser={$member['id']}">{$member['name']}</a></strong></td>
|
||||
<td class='row4'>{$member['pips']}</td>
|
||||
<td class='row2' align="center" width="20%">{$member['group']}</td>
|
||||
<td class='row4' align="center" width="20%">{$member['joined']}</td>
|
||||
<td class='row4' align="center" width="10%">{$member['posts']}</td>
|
||||
<td class='row2' align="center">{$member['member_email']}</td>
|
||||
<td class='row2' align="center">{$member['aim_name']}</td>
|
||||
<td class='row2' align="center">{$member['icq_number']}</td>
|
||||
<td class='row2' align="center">{$member['camera']}</td>
|
||||
</tr>
|
||||
<!-- End of Entry -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -1,98 +1,82 @@
|
||||
<?php
|
||||
|
||||
class skin_online {
|
||||
|
||||
|
||||
|
||||
function end($links) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br>
|
||||
<table cellpadding='0' cellspacing='4' border='0' width='<{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 class='row1'>{$session['member_name']}</td>
|
||||
<td class='row1'>{$session['where_line']}</td>
|
||||
<td class='row1' align='center'>{$session['running_time']}</td>
|
||||
<td class='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' class='category'> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<table cellpadding='0' cellspacing='4' border='0' width='<{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='<{tbl_width}>' align='center'>
|
||||
<tr>
|
||||
<td valign='middle' align='left'>$links</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='left' width='30%' class='titlemedium'>{$ibforums->lang['member_name']}</td>
|
||||
<td align='left' width='30%' class='titlemedium'>{$ibforums->lang['where']}</td>
|
||||
<td align='center' width='20%' class='titlemedium'>{$ibforums->lang['time']}</td>
|
||||
<td align='left' width='10%' class='titlemedium'> </td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
<?php
|
||||
|
||||
class skin_online {
|
||||
|
||||
|
||||
|
||||
function show_row($session) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Entry for {$session['member_id']} -->
|
||||
<tr>
|
||||
<td class='row1'>{$session['member_name']}</td>
|
||||
<td class='row1'>{$session['where_line']}</td>
|
||||
<td class='row1' align='center'>{$session['running_time']}</td>
|
||||
<td class='row1' align='center'>{$session['msg_icon']}</td>
|
||||
</tr>
|
||||
<!-- End of Entry -->
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Page_end($show_mem, $sort_order, $sort_key, $links) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- End content Table -->
|
||||
<tr>
|
||||
<td colspan='4' class='darkrow1' align='center' valign='middle'>
|
||||
<form method='post' action='{$ibforums->base_url}act=Online&CODE=listall'>
|
||||
<b>{$ibforums->lang['s_by']} </b>
|
||||
<select class='forminput' name='sort_key'>{$sort_key}</select>
|
||||
<select class='forminput' name='show_mem'> {$show_mem}</select>
|
||||
<select class='forminput' name='sort_order'> {$sort_order}</select>
|
||||
<input type='submit' value='{$ibforums->lang['s_go']}' class='forminput'>
|
||||
<form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br />
|
||||
<div align='left'>$links</div>
|
||||
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>
|
||||
|
||||
<div align='left'>$links</div>
|
||||
<br />
|
||||
<div class="tableborder">
|
||||
<div class='maintitle'> {$ibforums->lang['page_title']}</div>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<th align='left' width='30%' class='titlemedium'>{$ibforums->lang['member_name']}</th>
|
||||
<th align='left' width='30%' class='titlemedium'>{$ibforums->lang['where']}</th>
|
||||
<th align='center' width='20%' class='titlemedium'>{$ibforums->lang['time']}</th>
|
||||
<th align='left' width='10%' class='titlemedium'> </th>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -1,100 +1,120 @@
|
||||
<?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 class='row1' colspan='3'><INPUT type="radio" name="poll_vote" value="$id"> <b>$answer</b></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function ShowPoll_header($tid, $poll_q, $edit, $delete) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='right' colspan='3' width='99%' class='titlemedium'><form action="{$ibforums->base_url}&act=Poll&t=$tid" method="post"> $edit $delete</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1'>
|
||||
<table cellpadding='4' cellspacing='1' border='0' align='center'>
|
||||
<tr>
|
||||
<td colspan='3' align='center'><b>$poll_q</b></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function ShowPoll_Form_header($tid, $poll_q, $edit, $delete) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='right' colspan='3' width='99%' class='titlemedium'><form action="{$ibforums->base_url}&act=Poll&t=$tid" method="post"> $edit $delete</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1'>
|
||||
<table cellpadding='4' cellspacing='1' border='0' align='center'>
|
||||
<tr>
|
||||
<td colspan='3' align='center'><b>$poll_q</b></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function ShowPoll_footer($vote_button) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
</table>
|
||||
</td>
|
||||
<tr>
|
||||
<td class='titlemedium' align='center' colspan='3'>
|
||||
$vote_button</form>
|
||||
</td></tr></table>
|
||||
</td></tr></table>
|
||||
<td class='mainbg'>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='mainbg'>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Render_row_results($votes, $id, $answer, $percentage, $width) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class='row1'>$answer</td>
|
||||
<td class='row1'> [ <b>$votes</b> ] </td>
|
||||
<td class='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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
<?php
|
||||
|
||||
class skin_poll {
|
||||
|
||||
function poll_javascript($tid,$fid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script type="text/javascript">
|
||||
function go_gadget_show()
|
||||
{
|
||||
window.location = "{$ibforums->base_url}&act=ST&f=$fid&t=$tid&mode=show&st={$ibforums->input['start']}";
|
||||
}
|
||||
function go_gadget_vote()
|
||||
{
|
||||
window.location = "{$ibforums->base_url}&act=ST&f=$fid&t=$tid&st={$ibforums->input['start']}";
|
||||
}
|
||||
</script>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function button_vote() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<input type='submit' name='submit' value='{$ibforums->lang['poll_add_vote']}' title="{$ibforums->lang['tt_poll_vote']}" class='forminput' />
|
||||
EOF;
|
||||
}
|
||||
|
||||
function button_null_vote() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<input type='submit' name='nullvote' value='{$ibforums->lang['poll_null_vote']}' title="{$ibforums->lang['tt_poll_null']}" class='forminput' />
|
||||
EOF;
|
||||
}
|
||||
|
||||
function button_show_results() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<input type='button' value='{$ibforums->lang['pl_show_results']}' class='forminput' title="{$ibforums->lang['tt_poll_show']}" onclick='go_gadget_show()' />
|
||||
EOF;
|
||||
}
|
||||
|
||||
function button_show_voteable() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<input type='button' name='viewresult' value='{$ibforums->lang['pl_show_vote']}' title="{$ibforums->lang['tt_poll_svote']}" class='forminput' onclick='go_gadget_vote()' />
|
||||
EOF;
|
||||
}
|
||||
|
||||
function edit_link($tid, $fid, $key="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
[ <a href="{$ibforums->base_url}act=Mod&CODE=20&f=$fid&t=$tid&auth_key=$key">{$ibforums->lang['ba_edit']}</a> ]
|
||||
EOF;
|
||||
}
|
||||
|
||||
function delete_link($tid, $fid, $key="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
[ <a href="{$ibforums->base_url}act=Mod&CODE=22&f=$fid&t=$tid&auth_key=$key">{$ibforums->lang['ba_delete']}</a> ]
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Render_row_form($votes, $id, $answer) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class='row1' colspan='3'><input type="radio" name="poll_vote" value="$id" class="radiobutton" /> <strong>$answer</strong></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function poll_header($tid, $poll_q, $edit, $delete) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!--IBF.POLL_JS-->
|
||||
<form action="{$ibforums->base_url}act=Poll&t=$tid" method="post">
|
||||
<div align="right" class="pformstrip">$edit $delete</div>
|
||||
<div class="tablepad" align="center">
|
||||
<table cellpadding="5" align="center">
|
||||
<tr>
|
||||
<td colspan='3' align='center'><b>$poll_q</b></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function ShowPoll_footer() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</table>
|
||||
</div>
|
||||
<div align="center" class="pformstrip"><!--IBF.VOTE--> <!--IBF.SHOW--></div>
|
||||
</form>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Render_row_results($votes, $id, $answer, $percentage, $width) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class='row1'>$answer</td>
|
||||
<td class='row1'> [ <b>$votes</b> ] </td>
|
||||
<td class='row1' align='left'><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;
|
||||
}
|
||||
|
||||
function show_total_votes($total_votes) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class='row1' colspan='3' align='center'><strong>{$ibforums->lang['pv_total_votes']}: $total_votes</strong></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -5,36 +5,24 @@ class skin_printpage {
|
||||
function choose_form($fid, $tid, $title) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br>
|
||||
<table width='<{tbl_width}>' border='0' cellspacing='1' cellpadding='0' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td class='mainbg'>
|
||||
<table width='100%' border='0' cellspacing='1' cellpadding='4'>
|
||||
<tr>
|
||||
<td width='100%' class='titlemedium'>{$ibforums->lang['tvo_title']} $title</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1'>
|
||||
<b><a href='{$ibforums->base_url}&act=Print&client=printer&f=$fid&t=$tid'>{$ibforums->lang['o_print_title']}</a></b>
|
||||
<br>
|
||||
{$ibforums->lang['o_print_desc']}
|
||||
<br><br>
|
||||
<b><a href='{$ibforums->base_url}&act=Print&client=html&f=$fid&t=$tid'>{$ibforums->lang['o_html_title']}</a></b>
|
||||
<br>
|
||||
{$ibforums->lang['o_html_desc']}
|
||||
<br><br>
|
||||
<b><a href='{$ibforums->base_url}&act=Print&client=wordr&f=$fid&t=$tid'>{$ibforums->lang['o_word_title']}</a></b>
|
||||
<br>
|
||||
{$ibforums->lang['o_word_desc']}
|
||||
<br><br><br><br>
|
||||
<<<a href='{$ibforums->base_url}&act=ST&f=$fid&t=$tid'>{$ibforums->lang['back_topic']}</a></b>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'><{CAT_IMG}> {$ibforums->lang['tvo_title']} $title</div>
|
||||
<div class='tablepad'>
|
||||
<b><a href='{$ibforums->base_url}act=Print&client=printer&f=$fid&t=$tid'>{$ibforums->lang['o_print_title']}</a></b>
|
||||
<br />
|
||||
{$ibforums->lang['o_print_desc']}
|
||||
<br /><br />
|
||||
<b><a href='{$ibforums->base_url}act=Print&client=html&f=$fid&t=$tid'>{$ibforums->lang['o_html_title']}</a></b>
|
||||
<br />
|
||||
{$ibforums->lang['o_html_desc']}
|
||||
<br /><br />
|
||||
<b><a href='{$ibforums->base_url}act=Print&client=wordr&f=$fid&t=$tid'>{$ibforums->lang['o_word_title']}</a></b>
|
||||
<br />
|
||||
{$ibforums->lang['o_word_desc']}
|
||||
</div>
|
||||
<div align='center' class='pformstrip'><<<a href='{$ibforums->base_url}showtopic=$tid'>{$ibforums->lang['back_topic']}</a></div>
|
||||
</div>
|
||||
<br />
|
||||
EOF;
|
||||
}
|
||||
|
||||
@@ -58,7 +46,7 @@ EOF;
|
||||
function pp_end() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<center><font face='arial' size='1' color='#000000'>Powered by Invision Board (http://www.invisionboard.com)<br />© Invision Power Services (http://www.invisionpower.com)</font></center>
|
||||
<center><font face='arial' size='1' color='#000000'>Powered by Invision Power Board (http://www.invisionboard.com)<br />© Invision Power Services (http://www.invisionpower.com)</font></center>
|
||||
EOF;
|
||||
}
|
||||
|
||||
@@ -67,13 +55,13 @@ global $ibforums;
|
||||
return <<<EOF
|
||||
<html>
|
||||
<head>
|
||||
<title>{$ibforums->vars['board_name']} [Powered by IB Forums]</title>
|
||||
<title>{$ibforums->vars['board_name']} [Powered by Invision Power Board]</title>
|
||||
</head>
|
||||
<body bgcolor='#FFFFFF' alink='#000000' vlink='#000000' link='#000000'>
|
||||
<table width='90%' border='0' align='center' cellpadding='6'>
|
||||
<tr>
|
||||
<td><b><font face='arial' size='5' color='#4C77B6'><b>{$ibforums->lang['title']}</font></b>
|
||||
<br /><font face='arial' size='2' color='#000000'><b><a href='{$ibforums->base_url}&act=ST&f=$fid&t=$tid'>{$ibforums->lang['topic_here']}</a></b></font>
|
||||
<br /><font face='arial' size='2' color='#000000'><b><a href='{$ibforums->base_url}act=ST&f=$fid&t=$tid'>{$ibforums->lang['topic_here']}</a></b></font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@@ -2,163 +2,401 @@
|
||||
|
||||
class skin_profile {
|
||||
|
||||
function warn_level($mid, $img, $percent) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class="row3" valign='top'><b>{$ibforums->lang['warn_level']}</b></td>
|
||||
<td align='left' class='row1'><a href="javascript:PopUp('{$ibforums->base_url}act=warn&mid={$mid}&CODE=view','Pager','500','450','0','1','1','1')">{$percent}</a>%: <a href='{$ibforums->base_url}act=warn&type=minus&mid={$mid}' title='{$ibforums->lang['tt_warn_minus']}'><{WARN_MINUS}></a>{$img}<a href='{$ibforums->base_url}act=warn&type=add&mid={$mid}' title='{$ibforums->lang['tt_warn_add']}'><{WARN_ADD}></a>
|
||||
</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function warn_level_no_mod($mid, $img, $percent) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class="row3" valign='top'><b>{$ibforums->lang['warn_level']}</b></td>
|
||||
<td align='left' class='row1'><a href="javascript:PopUp('{$ibforums->base_url}act=warn&mid={$mid}&CODE=view','Pager','500','450','0','1','1','1')">{$percent}</a>%: {$img}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function warn_level_rating($mid, $level,$min=0,$max=10) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class="row3" valign='top'><b>{$ibforums->lang['rating_level']}</b></td>
|
||||
<td align='left' class='row1'><a href='{$ibforums->base_url}act=warn&type=minus&mid={$mid}' title='{$ibforums->lang['tt_warn_minus']}'><{WARN_MINUS}></a> < $min ( <a href="javascript:PopUp('{$ibforums->base_url}act=warn&mid={$mid}&CODE=view','Pager','500','450','0','1','1','1')">{$level}</a> ) $max > <a href='{$ibforums->base_url}act=warn&type=add&mid={$mid}' title='{$ibforums->lang['tt_warn_add']}'><{WARN_ADD}></a></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function warn_level_rating_no_mod($mid, $level,$min=0,$max=10) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class="row3" valign='top'><b>{$ibforums->lang['rating_level']}</b></td>
|
||||
<td align='left' class='row1'>< $min ( <a href="javascript:PopUp('{$ibforums->base_url}act=warn&mid={$mid}&CODE=view','Pager','500','450','0','1','1','1')">{$level}</a> ) $max ></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function get_photo($show_photo, $show_width, $show_height) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<img src="$show_photo" border="0" alt="User Photo" $show_width $show_height />
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_photo($name, $photo) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div id="photowrap">
|
||||
<div id="phototitle">$name</div>
|
||||
<div id="photoimg">$photo</div>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_card_download($name, $photo, $info) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<html>
|
||||
<head>
|
||||
<title>$name</title>
|
||||
<style type="text/css">
|
||||
form { display:inline; }
|
||||
img { vertical-align:middle }
|
||||
BODY { font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 11px; color: #000; margin-left:5%;margin-right:5%;margin-top:5px; }
|
||||
TABLE, TR, TD { font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 11px; color: #000; }
|
||||
a:link, a:visited, a:active { text-decoration: underline; color: #000 }
|
||||
a:hover { color: #465584; text-decoration:underline }
|
||||
#profilename { font-size:28px; font-weight:bold; }
|
||||
#photowrap { padding:6px; }
|
||||
#phototitle { font-size:24px; border-bottom:1px solid black }
|
||||
#photoimg { text-align:center; margin-top:15px }
|
||||
.plainborder { border:1px solid #345487;background-color:#F5F9FD }
|
||||
.tableborder { border:1px solid #345487;background-color:#FFF }
|
||||
.tablefill { border:1px solid #345487;background-color:#F5F9FD;padding:6px }
|
||||
.tablepad { background-color:#F5F9FD;padding:6px }
|
||||
.tablebasic { width:100%; padding:0px 0px 0px 0px; margin:0px; border:0px }
|
||||
.row1 { background-color: #F5F9FD }
|
||||
.row2 { background-color: #DFE6EF }
|
||||
.row3 { background-color: #EEF2F7 }
|
||||
.row4 { background-color: #E4EAF2 }
|
||||
</style>
|
||||
<script language='javascript' type="text/javascript">
|
||||
<!--
|
||||
function redirect_to(where, closewin)
|
||||
{
|
||||
document.location= '$ibforums->base_url' + where;
|
||||
|
||||
if (closewin == 1)
|
||||
{
|
||||
self.close();
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%" height="100%">
|
||||
<tr>
|
||||
<td valign="middle" align="center" width="400">
|
||||
<div id="phototitle">$name</div>
|
||||
<br />
|
||||
<table class="tablebasic" cellspacing="6">
|
||||
<tr>
|
||||
<td valign="middle" class="row1">$photo</td>
|
||||
<td width="100%" class="row1" valign="bottom">
|
||||
<table class="tablebasic" cellpadding="5">
|
||||
<tr>
|
||||
<td nowrap="nowrap">{$ibforums->lang['email']}</td>
|
||||
<td width="100%">{$info['email']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">{$ibforums->lang['integ_msg']}</td>
|
||||
<td width="100%">{$info['integ_msg']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">{$ibforums->lang['aim']}</td>
|
||||
<td width="100%">{$info['aim_name']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">{$ibforums->lang['icq']}</td>
|
||||
<td width="100%">{$info['icq_number']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">{$ibforums->lang['yahoo']}</td>
|
||||
<td width="100%">{$info['yahoo']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">{$ibforums->lang['msn']}</td>
|
||||
<td width="100%">{$info['msn_name']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">{$ibforums->lang['pm']}</b></td>
|
||||
<td><a href='javascript:redirect_to("&act=Msg&;CODE=4&MID={$info['mid']}", 1);'>{$ibforums->lang['click_here']}</a></td>
|
||||
</tr>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_card($name, $photo, $info) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script language='javascript' type="text/javascript">
|
||||
<!--
|
||||
function redirect_to(where, closewin)
|
||||
{
|
||||
opener.location= '$ibforums->base_url' + where;
|
||||
|
||||
if (closewin == 1)
|
||||
{
|
||||
self.close();
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<div id="photowrap">
|
||||
<div id="phototitle">$name</div>
|
||||
<br />
|
||||
<table class="tablebasic" cellspacing="6">
|
||||
<tr>
|
||||
<td valign="middle" class="row1">$photo</td>
|
||||
<td width="100%" class="row1" valign="bottom">
|
||||
<table class="tablebasic" cellpadding="5">
|
||||
<tr>
|
||||
<td nowrap="nowrap">{$ibforums->lang['email']}</td>
|
||||
<td width="100%">{$info['email']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">{$ibforums->lang['integ_msg']}</td>
|
||||
<td width="100%">{$info['integ_msg']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">{$ibforums->lang['aim']}</td>
|
||||
<td width="100%">{$info['aim_name']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">{$ibforums->lang['icq']}</td>
|
||||
<td width="100%">{$info['icq_number']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">{$ibforums->lang['yahoo']}</td>
|
||||
<td width="100%">{$info['yahoo']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">{$ibforums->lang['msn']}</td>
|
||||
<td width="100%">{$info['msn_name']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">{$ibforums->lang['pm']}</b></td>
|
||||
<td><a href='javascript:redirect_to("&act=Msg&CODE=4&MID={$info['mid']}", 1);'>{$ibforums->lang['click_here']}</a></td>
|
||||
</tr>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div align="center">
|
||||
<a href="{$ibforums->base_url}act=Profile&CODE=showcard&MID={$info['mid']}&download=1">{$ibforums->lang['ac_download']}</a>
|
||||
· <a href="javascript:self.close();">{$ibforums->lang['ac_close']}</a>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
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>
|
||||
· <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>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_profile($info) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='<{tbl_width}>' align='center'>
|
||||
<tr>
|
||||
<td><span class='pagetitle'>{$info['name']}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left'><a href='{$info['base_url']}&act=Search&CODE=getalluser&mid={$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-->
|
||||
<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 class="tablebasic" cellspacing="0" cellpadding="2">
|
||||
<tr>
|
||||
<td>{$info['photo']}</td>
|
||||
<td width="100%" valign="bottom">
|
||||
<div id="profilename">{$info['name']}</div>
|
||||
<div>
|
||||
<a href='{$info['base_url']}act=Search&CODE=getalluser&mid={$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>
|
||||
<!--MEM OPTIONS-->
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='<{tbl_width}>' align='center'>
|
||||
<br />
|
||||
<table cellpadding='0' align='center' cellspacing='2' border='0' width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='100%' bgcolor='<{tbl_border}>'>
|
||||
<tr>
|
||||
<td width='50%' valign='top' class='row1'>
|
||||
<table cellpadding='6' cellspacing='1' border='0' width='100%' class='row1'>
|
||||
<tr>
|
||||
<td align='center' colspan='2' class='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' class='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' class='bottomborder'><b>{$info['posts_day']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='top'><b>{$ibforums->lang['joined']}</b></td>
|
||||
<td align='left' class='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' class='row1'>
|
||||
<table cellpadding='6' cellspacing='1' border='0' width='100%' class='row1'>
|
||||
<tr>
|
||||
<td align='center' colspan='2' class='titlemedium'>{$ibforums->lang['communicate']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' width='30%' valign='top'><b>{$ibforums->lang['email']}</b></td>
|
||||
<td align='left' class='bottomborder'>{$info['email']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='top'><b>{$ibforums->lang['aim']}</b></td>
|
||||
<td align='left' class='bottomborder'>{$info['aim_name']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='top'><b>{$ibforums->lang['icq']}</b></td>
|
||||
<td align='left' class='bottomborder'>{$info['icq_number']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='top'><b>{$ibforums->lang['yahoo']}</b></td>
|
||||
<td align='left' class='bottomborder'>{$info['yahoo']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='top'><b>{$ibforums->lang['msn']}</b></td>
|
||||
<td align='left' class='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' class='row1'>
|
||||
<table cellpadding='6' cellspacing='1' border='0' width='100%' class='row1'>
|
||||
<tr>
|
||||
<td align='center' colspan='2' class='titlemedium'>{$ibforums->lang['info']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='top'><b>{$ibforums->lang['homepage']}</b></td>
|
||||
<td align='left' class='bottomborder'>{$info['homepage']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='top'><b>{$ibforums->lang['birthday']}</b></td>
|
||||
<td align='left' class='bottomborder'>{$info['birthday']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='top'><b>{$ibforums->lang['location']}</b></td>
|
||||
<td align='left' class='bottomborder'>{$info['location']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='top'><b>{$ibforums->lang['interests']}</b></td>
|
||||
<td align='left'>{$info['interests']}</td>
|
||||
</tr>
|
||||
<!--{CUSTOM.FIELDS}-->
|
||||
</table>
|
||||
</td>
|
||||
|
||||
<!-- Profile -->
|
||||
|
||||
<td width='50%' valign='top' class='row1'>
|
||||
<table cellpadding='6' cellspacing='1' border='0' width='100%' class='row1'>
|
||||
<tr>
|
||||
<td align='center' colspan='2' class='titlemedium'>{$ibforums->lang['post_detail']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' width='30%' valign='top'><b>{$ibforums->lang['mgroup']}</b></td>
|
||||
<td align='left' class='bottomborder'>{$info['group_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' valign='top'><b>{$ibforums->lang['mtitle']}</b></td>
|
||||
<td align='left' class='bottomborder'>{$info['member_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' width='30%' valign='top'><b>{$ibforums->lang['avatar']}</b></td>
|
||||
<td align='left' class='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' class='row2' align='center' style='height:24px'><( <a href='javascript:history.go(-1)'>{$ibforums->lang['back']}</a> )</td>
|
||||
</tr>
|
||||
<td width='50%' valign='top' class="plainborder">
|
||||
<table cellspacing="1" cellpadding='6' width='100%'>
|
||||
<tr>
|
||||
<td align='center' colspan='2' class='maintitle'>{$ibforums->lang['active_stats']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3" width='30%' valign='top'><b>{$ibforums->lang['total_posts']}</b></td>
|
||||
<td align='left' width='70%' class='row1'><b>{$info['posts']}</b><br />( {$info['total_pct']}% {$ibforums->lang['total_percent']} )</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3" valign='top'><b>{$ibforums->lang['posts_per_day']}</b></td>
|
||||
<td align='left' class='row1'><b>{$info['posts_day']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3" valign='top'><b>{$ibforums->lang['joined']}</b></td>
|
||||
<td align='left' class='row1'><b>{$info['joined']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3" valign='top'><b>{$ibforums->lang['fav_forum']}</b></td>
|
||||
<td align='left' class='row1'><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 class="row3" valign='top'><b>{$ibforums->lang['user_local_time']}</b></td>
|
||||
<td align='left' class='row1'>{$info['local_time']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<!-- Communication -->
|
||||
|
||||
<td width='50%' valign='top' class="plainborder">
|
||||
<table cellspacing="1" cellpadding='6' width='100%'>
|
||||
<tr>
|
||||
<td align='center' colspan='2' class='maintitle'>{$ibforums->lang['communicate']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3" width='30%' valign='top'><b>{$ibforums->lang['email']}</b></td>
|
||||
<td align='left' width='70%' class='row1'>{$info['email']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3" valign='top'><b>{$ibforums->lang['integ_msg']}</b></td>
|
||||
<td align='left' class='row1'>{$info['integ_msg']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3" valign='top'><b>{$ibforums->lang['aim']}</b></td>
|
||||
<td align='left' class='row1'>{$info['aim_name']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3" valign='top'><b>{$ibforums->lang['icq']}</b></td>
|
||||
<td align='left' class='row1'>{$info['icq_number']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3" valign='top'><b>{$ibforums->lang['yahoo']}</b></td>
|
||||
<td align='left' class='row1'>{$info['yahoo']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3" valign='top'><b>{$ibforums->lang['msn']}</b></td>
|
||||
<td align='left' class='row1'>{$info['msn_name']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3" valign='top'><b>{$ibforums->lang['pm']}</b></td>
|
||||
<td align='left' class='row1'><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' class="plainborder">
|
||||
<table cellspacing="1" cellpadding='6' width='100%'>
|
||||
<tr>
|
||||
<td align='center' colspan='2' class='maintitle'>{$ibforums->lang['info']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3" width='30%' valign='top'><b>{$ibforums->lang['homepage']}</b></td>
|
||||
<td align='left' width='70%' class='row1'>{$info['homepage']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3" valign='top'><b>{$ibforums->lang['birthday']}</b></td>
|
||||
<td align='left' class='row1'>{$info['birthday']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3" valign='top'><b>{$ibforums->lang['location']}</b></td>
|
||||
<td align='left' class='row1'>{$info['location']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3" valign='top'><b>{$ibforums->lang['interests']}</b></td>
|
||||
<td align='left' class='row1'>{$info['interests']}</td>
|
||||
</tr>
|
||||
<!--{CUSTOM.FIELDS}-->
|
||||
</table>
|
||||
</td>
|
||||
|
||||
<!-- Profile -->
|
||||
|
||||
<td width='50%' valign='top' class="plainborder">
|
||||
<table cellspacing="1" cellpadding='6' width='100%'>
|
||||
<tr>
|
||||
<td align='center' colspan='2' class='maintitle'>{$ibforums->lang['post_detail']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3" width='30%' valign='top'><b>{$ibforums->lang['mgroup']}</b></td>
|
||||
<td align='left' width='70%' class='row1'>{$info['group_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3" valign='top'><b>{$ibforums->lang['mtitle']}</b></td>
|
||||
<td align='left' class='row1'>{$info['member_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3" valign='top'><b>{$ibforums->lang['avatar']}</b></td>
|
||||
<td align='left' class='row1'>{$info['avatar']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3" valign='top'><b>{$ibforums->lang['siggie']}</b></td>
|
||||
<td align='left' class='row1'>{$info['signature']}</td>
|
||||
</tr>
|
||||
<!--{WARN_LEVEL}-->
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class='tableborder'>
|
||||
<div class='pformstrip' align='center'><( <a href='javascript:history.go(-1)'>{$ibforums->lang['back']}</a> )</div>
|
||||
</div>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
@@ -166,8 +404,8 @@ function custom_field($title, $value="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td align='left' width='30%' valign='top'><b>$title</b></td>
|
||||
<td align='left' class='bottomborder'>$value</td>
|
||||
<td class="row3" valign='top'><b>$title</b></td>
|
||||
<td align='left' class='row1'>$value</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
@@ -16,19 +16,19 @@ return <<<EOF
|
||||
<tr>
|
||||
<td valign='middle' align='left'>
|
||||
<span class='pagetitle'>{$ibforums->vars['board_name']}: {$ibforums->lang['cpf_title']}</span>
|
||||
<br><br>
|
||||
<br /><br />
|
||||
<b><span style='font-size:12px'>{$ibforums->lang['cpf_perm_parent']}</span></b>
|
||||
<br><br>
|
||||
<br /><br />
|
||||
{$ibforums->lang['cpf_fax']} {$ibforums->vars['coppa_fax']}
|
||||
<br><br>
|
||||
<br /><br />
|
||||
{$ibforums->lang['cpf_address']}
|
||||
<br>
|
||||
<br />
|
||||
{$ibforums->vars['coppa_address']}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<br />
|
||||
<table cellpadding='4' cellspacing='2' border='1' width='95%' align='center'>
|
||||
<tr>
|
||||
<td width='40%'>{$ibforums->lang['user_name']}</td>
|
||||
@@ -43,7 +43,7 @@ return <<<EOF
|
||||
<td> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<br />
|
||||
<table cellpadding='0' cellspacing='4' border='0' width='95%' align='center'>
|
||||
<tr>
|
||||
<td valign='middle' align='left'>
|
||||
@@ -51,7 +51,7 @@ return <<<EOF
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<br />
|
||||
<table cellpadding='10' cellspacing='2' border='1' width='95%' align='center'>
|
||||
<tr>
|
||||
<td width='40%'>{$ibforums->lang['cpf_name']}</td>
|
||||
@@ -86,334 +86,405 @@ EOF;
|
||||
function coppa_two() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td valign='left' class='titlemedium'>{$ibforums->lang['cp2_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' align='left'>
|
||||
{$ibforums->lang['cp2_text']}
|
||||
<br><br>
|
||||
<center><span style='font-weight:bold;font-size:12px'>
|
||||
<< <a href='{$ibforums->base_url}'>{$ibforums->lang['cp2_cancel']}</a>
|
||||
- <a href='{$ibforums->base_url}&act=Reg&coppa_pass=1&coppa_user=1'>{$ibforums->lang['cp2_continue']}</a> >>
|
||||
</span></center>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign='left' class='titlemedium'>{$ibforums->lang['coppa_form']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' align='left'>{$ibforums->lang['coppa_form_text']} <a href='mailto:{$ibforums->vars['email_in']}'>{$ibforums->vars['email_in']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'>{$ibforums->lang['cp2_title']}</div>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td class='row1' align='left'>
|
||||
{$ibforums->lang['cp2_text']}
|
||||
<br /><br />
|
||||
<center><span style='font-weight:bold;font-size:12px'>
|
||||
<< <a href='{$ibforums->base_url}'>{$ibforums->lang['cp2_cancel']}</a>
|
||||
- <a href='{$ibforums->base_url}act=Reg&coppa_pass=1&coppa_user=1'>{$ibforums->lang['cp2_continue']}</a> >>
|
||||
</span></center>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign='left' class='titlemedium'>{$ibforums->lang['coppa_form']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' align='left'>{$ibforums->lang['coppa_form_text']} <a href='mailto:{$ibforums->vars['email_in']}'>{$ibforums->vars['email_in']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function coppa_start($coppadate) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td valign='left' class='titlemedium'>{$ibforums->lang['coppa_info']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' align='center' style='font-weight:bold;font-size:12px'>
|
||||
<br><br>
|
||||
{$ibforums->lang['coppa_link']}
|
||||
<br><br>
|
||||
< <a href='{$ibforums->base_url}&act=Reg&coppa_pass=1'>{$ibforums->lang['coppa_date_before']} $coppadate</a>
|
||||
- <a href='{$ibforums->base_url}&act=Reg&CODE=coppa_two'>{$ibforums->lang['coppa_date_after']} $coppadate</a> >
|
||||
<br><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign='left' class='titlemedium'>{$ibforums->lang['coppa_form']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' align='left'>{$ibforums->lang['coppa_form_text']} <a href='mailto:{$ibforums->vars['email_in']}'>{$ibforums->vars['email_in']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="tableborder">
|
||||
<div class="maintitle"><{CAT_IMG}> {$ibforums->lang['registration_form']}</div>
|
||||
<div class="pformstrip">{$ibforums->lang['coppa_info']}</div>
|
||||
<div class="tablepad" align="center">
|
||||
<span class="postcolor">
|
||||
<strong>
|
||||
{$ibforums->lang['coppa_link']}
|
||||
<br /><br />
|
||||
< <a href='{$ibforums->base_url}act=Reg&coppa_pass=1'>{$ibforums->lang['coppa_date_before']} $coppadate</a>
|
||||
- <a href='{$ibforums->base_url}act=Reg&CODE=coppa_two'>{$ibforums->lang['coppa_date_after']} $coppadate</a> >
|
||||
</strong>
|
||||
</span>
|
||||
</div>
|
||||
<div class="pformstrip">{$ibforums->lang['coppa_form']}</div>
|
||||
<div class="tablepad">{$ibforums->lang['coppa_form_text']} <a href='mailto:{$ibforums->vars['email_in']}'>{$ibforums->vars['email_in']}</a></div>
|
||||
</div>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function lost_pass_form() {
|
||||
function lost_pass_form($lasid="") {
|
||||
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='<{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='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td valign='left' colspan='2' class='titlemedium'>{$ibforums->lang['complete_form']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' width='40%'>{$ibforums->lang['lp_user_name']}</td>
|
||||
<td class='row1'><input type='text' size='32' maxlength='32' name='member_name' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row2' align='center' colspan='2'>
|
||||
<input type="submit" value="{$ibforums->lang['lp_send']}" class='forminput'>
|
||||
</td></tr></table>
|
||||
</td></tr></table>
|
||||
</form>
|
||||
<form action="{$ibforums->base_url}" method="post">
|
||||
<input type='hidden' name='act' value='Reg' />
|
||||
<input type='hidden' name='CODE' value='11' />
|
||||
<div class="tableborder">
|
||||
<div class="maintitle"><{CAT_IMG}> {$ibforums->lang['lost_pass_form']}</div>
|
||||
<div class="pformstrip">{$ibforums->lang['lp_header']}</div>
|
||||
<div class="tablepad"><span style="line-height:140%">{$ibforums->lang['lp_text']}</span></div>
|
||||
<div class="pformstrip">{$ibforums->lang['complete_form']}</div>
|
||||
<table class="tablebasic">
|
||||
<tr>
|
||||
<td class="pformleft"><strong>{$ibforums->lang['lp_user_name']}</strong></td>
|
||||
<td class="pformright"><input type='text' size='32' maxlength='32' name='member_name' class='forminput' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!--{REG.ANTISPAM}-->
|
||||
<br />
|
||||
<div class="tableborder">
|
||||
<div class="pformstrip" align="center"><input type="submit" value="{$ibforums->lang['lp_send']}" class='forminput' /></div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_authorise($member) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td valign='left' class='titlemedium'>{$ibforums->lang['registration_process']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1'>{$ibforums->lang['thank_you']} {$member['name']}. {$ibforums->lang['auth_text']} {$member['email']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="tableborder">
|
||||
<div class="maintitle"><!-- --></div>
|
||||
<div class="pformstrip">{$ibforums->lang['registration_process']}</div>
|
||||
<div class="tablepad">{$ibforums->lang['thank_you']} {$member['name']}. {$ibforums->lang['auth_text']} {$member['email']}</div>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function show_revalidated() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class="tableborder">
|
||||
<div class="maintitle"><{CAT_IMG}> {$ibforums->lang['rv_title']}</div>
|
||||
<div class="pformstrip">{$ibforums->lang['rv_process']}</div>
|
||||
<div class="tablepad">{$ibforums->lang['rv_done']}</div>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_lostpasswait($member) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class="tableborder">
|
||||
<div class="maintitle"><{CAT_IMG}> {$ibforums->lang['lpf_title']}</div>
|
||||
<div class="pformstrip">{$ibforums->lang['registration_process']}</div>
|
||||
<div class="tablepad">{$ibforums->lang['lpass_text']}</div>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_preview($member) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td valign='left' class='titlemedium'>{$ibforums->lang['registration_process']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1'>{$ibforums->lang['thank_you']} {$member['name']}. {$ibforums->lang['preview_reg_text']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="tableborder">
|
||||
<div class="maintitle"><!-- --></div>
|
||||
<div class="pformstrip">{$ibforums->lang['registration_process']}</div>
|
||||
<div class="tablepad">{$ibforums->lang['thank_you']} {$member['name']}. {$ibforums->lang['preview_reg_text']}</div>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_revalidate_form($name="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<form action="{$ibforums->base_url}" method="post" name='REG'>
|
||||
<input type='hidden' name='act' value='Reg' />
|
||||
<input type='hidden' name='CODE' value='reval2' />
|
||||
<div>{$ibforums->lang['rv_ins']}</div>
|
||||
<br />
|
||||
<div class="tableborder">
|
||||
<div class="maintitle"><{CAT_IMG}> {$ibforums->lang['rv_title']}</div>
|
||||
<table class="tablebasic">
|
||||
<tr>
|
||||
<td class="pformleft"><strong>{$ibforums->lang['rv_name']}</strong></td>
|
||||
<td class="pformright"><input type='text' size='32' maxlength='64' name='username' value='$name' class='forminput' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="pformstrip" align="center"><input type="submit" value="{$ibforums->lang['rv_go']}" class='forminput' /></div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function show_lostpass_form() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script language='javascript' type="text/javascript">
|
||||
<!--
|
||||
function Validate() {
|
||||
// Check for Empty fields
|
||||
if (document.REG.uid.value == "" || document.REG.aid.value == "") {
|
||||
alert ("{$ibforums->lang['js_blanks']}");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<form action="{$ibforums->base_url}" 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='lostpass' />
|
||||
<div class="tableborder">
|
||||
<div class="maintitle"><{CAT_IMG}> {$ibforums->lang['dumb_header']}</div>
|
||||
<div class="pformstrip">{$ibforums->lang['lpf_title']}</div>
|
||||
<!--IBF.INPUT_TYPE-->
|
||||
<tr>
|
||||
<td class="pformleft"><strong>{$ibforums->lang['lpf_pass1']}</strong><br><em>{$ibforums->lang['lpf_pass11']}</em></td>
|
||||
<td class="pformright"><input type='password' size='32' maxlength='32' name='pass1' class='forminput' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="pformleft"><strong>{$ibforums->lang['lpf_pass2']}</strong><br><em>{$ibforums->lang['lpf_pass22']}</em></td>
|
||||
<td class="pformright"><input type='password' size='32' maxlength='32' name='pass2' class='forminput' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class="pformstrip" align="center"><input type="submit" value="{$ibforums->lang['dumb_submit']}" class='forminput' /></div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_lostpass_form_manual() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class="tablepad">{$ibforums->lang['dumb_text']}</div>
|
||||
<div class="pformstrip">{$ibforums->lang['complete_form']}</div>
|
||||
<table class="tablebasic">
|
||||
<tr>
|
||||
<td class="pformleft"><strong>{$ibforums->lang['user_id']}</strong></td>
|
||||
<td class="pformright"><input type='text' size='32' maxlength='32' name='uid' class='forminput' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="pformleft"><strong>{$ibforums->lang['val_key']}</strong></td>
|
||||
<td class="pformright"><input type='text' size='32' maxlength='50' name='aid' class='forminput' /></td>
|
||||
</tr>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_lostpass_form_auto($aid,$uid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<input type='hidden' name='uid' value='$uid' />
|
||||
<input type='hidden' name='aid' value='$aid' />
|
||||
<table class="tablebasic">
|
||||
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='<{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='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td valign='left' colspan='2' class='titlemedium'>{$ibforums->lang['complete_form']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' width='40%'>{$ibforums->lang['user_id']}</td>
|
||||
<td class='row1'><input type='text' size='32' maxlength='32' name='uid' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row2' width='40%'>{$ibforums->lang['val_key']}</td>
|
||||
<td class='row2'><input type='text' size='32' maxlength='50' name='aid' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row2' align='center' colspan='2'>
|
||||
<input type="submit" value="{$ibforums->lang['dumb_submit']}" class='forminput'>
|
||||
</td></tr></table>
|
||||
</td></tr></table>
|
||||
</form>
|
||||
<script language='javascript' type="text/javascript">
|
||||
<!--
|
||||
function Validate() {
|
||||
// Check for Empty fields
|
||||
if (document.REG.uid.value == "" || document.REG.aid.value == "") {
|
||||
alert ("{$ibforums->lang['js_blanks']}");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<form action="{$ibforums->base_url}" 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' />
|
||||
<div class="tableborder">
|
||||
<div class="titlemedium">{$ibforums->lang['dumb_header']}</div>
|
||||
<div class="tablepad">{$ibforums->lang['dumb_text']}</div>
|
||||
<div class="pformstrip">{$ibforums->lang['complete_form']}</div>
|
||||
<table class="tablebasic">
|
||||
<tr>
|
||||
<td class="pformleft">{$ibforums->lang['user_id']}</td>
|
||||
<td class="pformright"><input type='text' size='32' maxlength='32' name='uid' class='forminput' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="pformleft">{$ibforums->lang['val_key']}</td>
|
||||
<td class="pformright"><input type='text' size='32' maxlength='50' name='aid' class='forminput' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="pformstrip" align="center"><input type="submit" value="{$ibforums->lang['dumb_submit']}" class='forminput' /></div>
|
||||
</div>
|
||||
</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;
|
||||
}
|
||||
<script language='javascript' type="text/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?
|
||||
// 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'>
|
||||
<input type='hidden' name='coppa_user' value='{$data['coppa_user']}'>
|
||||
<table cellpadding='0' cellspacing='4' border='0' width='<{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='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td valign='left' colspan='2' class='titlemedium'>{$ibforums->lang['complete_form']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' width='40%'>{$ibforums->lang['user_name']}</td>
|
||||
<td class='row1'><input type='text' size='32' maxlength='64' value='{$ibforums->input['UserName']}' name='UserName' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row2' width='40%'>{$ibforums->lang['pass_word']}</td>
|
||||
<td class='row2'><input type='password' size='32' maxlength='32' value='{$ibforums->input['PassWord']}' name='PassWord' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row2' width='40%'>{$ibforums->lang['re_enter_pass']}</td>
|
||||
<td class='row2'><input type='password' size='32' maxlength='32' value='{$ibforums->input['PassWord_Check']}' name='PassWord_Check' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' width='40%'>{$ibforums->lang['email_address']}</td>
|
||||
<td class='row1'><input type='text' size='32' maxlength='50' value='{$ibforums->input['EmailAddress']}' name='EmailAddress' class='forminput'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' width='40%'>{$ibforums->lang['email_address_two']}</td>
|
||||
<td class='row1'><input type='text' size='32' maxlength='50' value='{$ibforums->input['EmailAddress_two']}' name='EmailAddress_two' class='forminput'></td>
|
||||
</tr>
|
||||
<!--{REQUIRED.FIELDS}-->
|
||||
<!--{OPTIONAL.FIELDS}-->
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--{REG.ANTISPAM}-->
|
||||
<br>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td valign='left' class='titlemedium'>{$ibforums->lang['terms_service']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='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 class='row2' align='center'>
|
||||
<input type="submit" value="{$ibforums->lang['submit_form']}" class='forminput'>
|
||||
</td></tr></table>
|
||||
</td></tr></table>
|
||||
</form>
|
||||
if (document.REG.agree.checked == true) {
|
||||
return true;
|
||||
} else {
|
||||
alert ("{$ibforums->lang['js_no_check']}");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<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' />
|
||||
<input type='hidden' name='coppa_user' value='{$data['coppa_user']}' />
|
||||
<b>{$ibforums->lang['reg_header']}</b><br /><br />{$data['TEXT']}
|
||||
<br />
|
||||
<br />
|
||||
<div class="tableborder">
|
||||
<div class="maintitle"><{CAT_IMG}> {$ibforums->lang['registration_form']}</div>
|
||||
<div class="pformstrip">{$ibforums->lang['complete_form']}</div>
|
||||
<table class="tablebasic">
|
||||
<tr>
|
||||
<td class="pformleft">{$ibforums->lang['user_name']}</td>
|
||||
<td class="pformright"><input type='text' size='32' maxlength='64' value='{$ibforums->input['UserName']}' name='UserName' class='forminput' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="pformleft">{$ibforums->lang['pass_word']}</td>
|
||||
<td class="pformright"><input type='password' size='32' maxlength='32' value='{$ibforums->input['PassWord']}' name='PassWord' class='forminput' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="pformleft">{$ibforums->lang['re_enter_pass']}</td>
|
||||
<td class="pformright"><input type='password' size='32' maxlength='32' value='{$ibforums->input['PassWord_Check']}' name='PassWord_Check' class='forminput' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="pformleft">{$ibforums->lang['email_address']}</td>
|
||||
<td class="pformright"><input type='text' size='32' maxlength='50' value='{$ibforums->input['EmailAddress']}' name='EmailAddress' class='forminput' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="pformleft">{$ibforums->lang['email_address_two']}</td>
|
||||
<td class="pformright"><input type='text' size='32' maxlength='50' value='{$ibforums->input['EmailAddress_two']}' name='EmailAddress_two' class='forminput' /></td>
|
||||
</tr>
|
||||
<!--{REQUIRED.FIELDS}-->
|
||||
<!--{OPTIONAL.FIELDS}-->
|
||||
<!--IBF.MODULES.EXTRA-->
|
||||
</table>
|
||||
</div>
|
||||
<br />
|
||||
<!--{REG.ANTISPAM}-->
|
||||
<br />
|
||||
<div class="tableborder">
|
||||
<div class="pformstrip">{$ibforums->lang['terms_service']}</div>
|
||||
<div class="tablepad" align="center">
|
||||
<strong>{$ibforums->lang['terms_service_text']}</strong>
|
||||
<br />
|
||||
<br />
|
||||
<textarea cols='75' rows='9' readonly="readonly" name='Post' class='textinput'>{$data[RULES]}</textarea>
|
||||
<br /><br /><b>{$ibforums->lang['agree_submit']}</b> <input type='checkbox' name='agree' value='1' />
|
||||
</div>
|
||||
<div class="pformstrip" align="center"><input type="submit" value="{$ibforums->lang['submit_form']}" class='forminput' /></div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function errors($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='5' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td class='row1' valign='top' align='left'><b>{$ibforums->lang['errors_found']}</b></font><hr noshade size='1' color='<{tbl_border}>'>$data</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<div class="tableborder">
|
||||
<div class="pformstrip">{$ibforums->lang['errors_found']}</div>
|
||||
<div class="tablepad"><span class='postcolor'>$data</span></div>
|
||||
</div>
|
||||
<br />
|
||||
EOF;
|
||||
}
|
||||
|
||||
function reg_antispam($regid) {
|
||||
function bot_antispam($regid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='3' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td valign='left' colspan='2' class='titlemedium'>{$ibforums->lang['ras_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' width='40%'>{$ibforums->lang['ras_numbers']}</td>
|
||||
<td class='row1'>
|
||||
<input type='hidden' name='regid' value='$regid'>
|
||||
<img src='{$ibforums->base_url}&act=Reg&CODE=image&rc={$regid}&p=1' border='0' alt='Code Bit'>
|
||||
<img src='{$ibforums->base_url}&act=Reg&CODE=image&rc={$regid}&p=2' border='0' alt='Code Bit'>
|
||||
<img src='{$ibforums->base_url}&act=Reg&CODE=image&rc={$regid}&p=3' border='0' alt='Code Bit'>
|
||||
<img src='{$ibforums->base_url}&act=Reg&CODE=image&rc={$regid}&p=4' border='0' alt='Code Bit'>
|
||||
<img src='{$ibforums->base_url}&act=Reg&CODE=image&rc={$regid}&p=5' border='0' alt='Code Bit'>
|
||||
<img src='{$ibforums->base_url}&act=Reg&CODE=image&rc={$regid}&p=6' border='0' alt='Code Bit'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row2' width='40%'>{$ibforums->lang['ras_text']}</td>
|
||||
<td class='row2'><input type='text' size='32' maxlength='32' name='reg_code' class='forminput'></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<div class="tableborder">
|
||||
<div class="pformstrip">{$ibforums->lang['las_title']}</div>
|
||||
<table class="tablebasic">
|
||||
<td class='row1' width='40%'>{$ibforums->lang['las_numbers']}</td>
|
||||
<td class='row1'>
|
||||
<input type='hidden' name='regid' value='$regid' />
|
||||
<img src='{$ibforums->base_url}act=Reg&CODE=image&rc={$regid}&p=1' border='0' alt='Code Bit' />
|
||||
<img src='{$ibforums->base_url}act=Reg&CODE=image&rc={$regid}&p=2' border='0' alt='Code Bit' />
|
||||
<img src='{$ibforums->base_url}act=Reg&CODE=image&rc={$regid}&p=3' border='0' alt='Code Bit' />
|
||||
<img src='{$ibforums->base_url}act=Reg&CODE=image&rc={$regid}&p=4' border='0' alt='Code Bit' />
|
||||
<img src='{$ibforums->base_url}act=Reg&CODE=image&rc={$regid}&p=5' border='0' alt='Code Bit' />
|
||||
<img src='{$ibforums->base_url}act=Reg&CODE=image&rc={$regid}&p=6' border='0' alt='Code Bit' />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' width='40%'>{$ibforums->lang['las_text']}</td>
|
||||
<td class='row1'><input type='text' size='32' maxlength='32' name='reg_code' class='forminput' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function bot_antispam_gd($regid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br />
|
||||
<div class="tableborder">
|
||||
<div class="pformstrip">{$ibforums->lang['las_title']}</div>
|
||||
<table class="tablebasic">
|
||||
<tr>
|
||||
<td class='row1' width='40%'>{$ibforums->lang['las_numbers']}</td>
|
||||
<td class='row1'>
|
||||
<input type='hidden' name='regid' value='$regid' />
|
||||
<img src='{$ibforums->base_url}act=Reg&CODE=image&rc={$regid}' border='0' alt='Loading Image' />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' width='40%'>{$ibforums->lang['las_text']}</td>
|
||||
<td class='row1'><input type='text' size='32' maxlength='32' name='reg_code' class='forminput' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function tmpl_form($action, $hidden, $title, $content ) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<form method="post" action="$action">
|
||||
$hidden
|
||||
<div class="tableborder">
|
||||
<div class="maintitle">$title</div>
|
||||
<table class="tablebasic">
|
||||
$content
|
||||
</table>
|
||||
<div class="pformstrip" align="center"><input type="submit" class='forminput' /></div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
@@ -422,40 +493,40 @@ EOF;
|
||||
function optional_title() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td valign='left' colspan='2' class='titlemedium'>{$ibforums->lang['cf_optional']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' class='pformstrip'>{$ibforums->lang['cf_optional']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function field_entry($title, $desc="", $content) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class='row1' width='40%' valign='top'><b>$title</b><br>$desc</td>
|
||||
<td class='row1'>$content</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='pformleft' valign='top'><b>$title</b><br />$desc</td>
|
||||
<td class='pformright'>$content</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function field_textinput($name, $value="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<input type='text' size='50' name='$name' value='$value' class='forminput'>
|
||||
<input type='text' size='30' name='$name' value='$value' class='forminput' />
|
||||
EOF;
|
||||
}
|
||||
|
||||
function field_dropdown($name, $options) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<select name='$name' class='forminput'>$options</select>
|
||||
<select name='$name' class='forminput'>$options</select>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function field_textarea($name, $value) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<textarea cols='60' rows='5' wrap='soft' name='$name' class='forminput'>$value</textarea>
|
||||
<textarea cols='60' rows='5' name='$name' class='forminput'>$value</textarea>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
@@ -3,27 +3,27 @@
|
||||
class skin_search {
|
||||
|
||||
|
||||
//
|
||||
|
||||
function RenderRow($Data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Begin Topic Entry {$Data['tid']} -->
|
||||
<tr>
|
||||
<td align='center' class='forum2'>{$Data['folder_img']}</td>
|
||||
<td align='center' width='3%' class='forum1'>{$Data['topic_icon']}</td>
|
||||
<td class='forum2'>
|
||||
<td align='center' class='row4'>{$Data['folder_img']}</td>
|
||||
<td align='center' width='3%' class='row2'>{$Data['topic_icon']}</td>
|
||||
<td class='row4'>
|
||||
<table width='100%' border='0' cellspacing='0' cellpadding='0'>
|
||||
<tr>
|
||||
<td valign='middle'>{$Data['go_new_post']}</td>
|
||||
<td width='100%'><span class='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}' class='linkthru'>{$Data['title']}</a></span> {$Data[PAGES]}</td>
|
||||
<td width='100%'>{$Data['prefix']} <a href='{$ibforums->base_url}showtopic={$Data['tid']}&hl={$Data['keywords']}'>{$Data['title']}</a> {$Data[PAGES]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<span class='desc'>{$Data['description']}</span></td>
|
||||
<td class='forum2' width='20%' align='center'><span class="linkthru"><a href="{$ibforums->base_url}&act=SF&f={$Data['forum_id']}">{$Data['forum_name']}</a></span></td>
|
||||
<td align='center' class='forum1'>{$Data['starter']}</td>
|
||||
<td align='center' class='forum2'>{$Data['posts']}</td>
|
||||
<td align='center' class='forum1'>{$Data['views']}</td>
|
||||
<td class='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>
|
||||
<td class='row4' width='20%' align='center'><a href="{$ibforums->base_url}showforum={$Data['forum_id']}">{$Data['forum_name']}</a></td>
|
||||
<td align='center' class='row2'>{$Data['starter']}</td>
|
||||
<td align='center' class='row4'>{$Data['posts']}</td>
|
||||
<td align='center' class='row2'>{$Data['views']}</td>
|
||||
<td class='row2'>{$Data['last_post']}<br /><a href='{$ibforums->base_url}showtopic={$Data['tid']}&view=getlastpost'>{$Data['last_text']}</a> <b>{$Data['last_poster']}</b></td>
|
||||
</tr>
|
||||
<!-- End Topic Entry {$Data['tid']} -->
|
||||
EOF;
|
||||
@@ -32,91 +32,57 @@ EOF;
|
||||
function RenderPostRow($Data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Begin Topic Entry {$Data['tid']} -->
|
||||
<tr>
|
||||
<td align='center' class='titlemedium' colspan='2'>
|
||||
<table cellpadding='5' cellspacing='0' width='100%' border='0'>
|
||||
<tr>
|
||||
<td align='left'>{$Data['folder_img']}</td>
|
||||
<td align='left' width='100%'><b>{$ibforums->lang['rp_topic']} <span class='linkthru'>{$Data['prefix']} <a href='{$ibforums->base_url}&act=ST&f={$Data['forum_id']}&t={$Data['tid']}&hl={$Data['keywords']}' class='linkthru'>{$Data['title']}</a></span></b> {$Data[PAGES]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='150' align='left' class='posthead'><span class='normalname'>{$Data['author_name']}</span></td>
|
||||
<td class='posthead'>
|
||||
{$ibforums->lang['rp_forum']} <span class="linkthru"><a href="{$ibforums->base_url}&act=SF&f={$Data['forum_id']}">{$Data['forum_name']}</a></span> {$ibforums->lang['rp_postedon']} {$Data['post_date']} {$ibforums->lang['rp_post']} <a href='{$ibforums->base_url}&act=ST&f={$Data['forum_id']}&t={$Data['tid']}&hl={$Data['keywords']}&#entry{$Data['pid']}' class='linkthru'>#{$Data['pid']}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='post1' align='left'>
|
||||
<img src='{$ibforums->vars['img_url']}/spacer.gif' alt='' width='150' height='15'>
|
||||
<br>
|
||||
<span class='postdetails'>{$ibforums->lang['rp_replies']} <b>{$Data['posts']}</b><br>{$ibforums->lang['rp_hits']} <b>{$Data['views']}</b></span>
|
||||
</td>
|
||||
<td class='post1' align='left'>{$Data['post']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='postsep' colspan='2'><img src='{$ibforums->vars['img_url']}/spacer.gif' alt='' width='1' height='1'></td>
|
||||
</tr>
|
||||
<!-- End Topic Entry {$Data['tid']} -->
|
||||
<br />
|
||||
<div class="tableborder">
|
||||
<div class="maintitle">{$Data['folder_img']} {$Data['prefix']} <a href='{$ibforums->base_url}showtopic={$Data['tid']}&hl={$Data['keywords']}' class='linkthru'>{$Data['title']}</a></span></b> {$Data[PAGES]}</div>
|
||||
<table class="tablebasic" cellpadding="6" cellspacing="1" width='100%'>
|
||||
<tr>
|
||||
<td width='150' align='left' class='row4'><span class='normalname'>{$Data['author_name']}</span></td>
|
||||
<td class='row4' width="100%"><strong>{$ibforums->lang['rp_postedon']} {$Data['post_date']}</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='post1' align='left'>
|
||||
<img src='{$ibforums->vars['img_url']}/spacer.gif' alt='' width='150' height='15' />
|
||||
<br />
|
||||
<span class='postdetails'>{$ibforums->lang['rp_replies']} <b>{$Data['posts']}</b><br />{$ibforums->lang['rp_hits']} <b>{$Data['views']}</b></span>
|
||||
</td>
|
||||
<td class='post1' align='left' width="100%">{$Data['post']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row4'> </td>
|
||||
<td class='row4'>{$ibforums->lang['rp_forum']} <a href="{$ibforums->base_url}showforum={$Data['forum_id']}">{$Data['forum_name']}</a> · {$ibforums->lang['rp_post']} <a href='{$ibforums->base_url}act=ST&f={$Data['forum_id']}&t={$Data['tid']}&hl={$Data['keywords']}&view=findpost&p={$Data['pid']}' class='linkthru'>#{$Data['pid']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function start_as_post($Data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Cgi-bot Start Forum page unique top -->
|
||||
<table cellpadding='0 'cellspacing='4' border='0' width='<{tbl_width}>' align='center'>
|
||||
<tr>
|
||||
<td valign='middle' width='50%' nowrap align='left'>{$Data[SHOW_PAGES]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td class='mainbg'>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%' align='center' >
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='2' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='center' width='150' class='maintitle'>{$ibforums->lang['rp_author']}</td>
|
||||
<td align='center' width='100%' class='maintitle'>{$ibforums->lang['rp_message']}</td>
|
||||
</tr>
|
||||
<div>{$Data[SHOW_PAGES]}</div>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function end_as_post($Data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr><td colspan='2' class='titlemedium'> </td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellpadding='0 'cellspacing='4' border='0' width='<{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><{B_NEW}> {$ibforums->lang['pm_open_new']}</td>
|
||||
<td valign='middle' nowrap><{B_HOT}> {$ibforums->lang['pm_hot_new']}</td>
|
||||
<td valign='middle' nowrap><{B_POLL}> {$ibforums->lang['pm_poll']}</td>
|
||||
<td valign='middle' nowrap><{B_LOCKED}> {$ibforums->lang['pm_locked']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign='middle' nowrap><{B_NORM}> {$ibforums->lang['pm_open_no']}</td>
|
||||
<td valign='middle' nowrap><{B_HOT_NN}> {$ibforums->lang['pm_hot_no']}</td>
|
||||
<td valign='middle' nowrap><{B_POLL_NN}> {$ibforums->lang['pm_poll_no']}</td>
|
||||
<td valign='middle' nowrap><{B_MOVED}> {$ibforums->lang['pm_moved']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<div>{$Data[SHOW_PAGES]}</div>
|
||||
<div align='left' class="wrapmini">
|
||||
<{B_NEW}> {$ibforums->lang['pm_open_new']}
|
||||
<br /><{B_NORM}> {$ibforums->lang['pm_open_no']}
|
||||
<br /><{B_HOT}> {$ibforums->lang['pm_hot_new']}
|
||||
<br /><{B_HOT_NN}> {$ibforums->lang['pm_hot_no']}
|
||||
</div>
|
||||
|
||||
<div align='left' class="wrapmini">
|
||||
<{B_POLL}> {$ibforums->lang['pm_poll']}
|
||||
<br /><{B_POLL_NN}> {$ibforums->lang['pm_poll_no']}
|
||||
<br /><{B_LOCKED}> {$ibforums->lang['pm_locked']}
|
||||
<br /><{B_MOVED}> {$ibforums->lang['pm_moved']}
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
@@ -124,271 +90,397 @@ EOF;
|
||||
function end($Data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr><td colspan='8' class='titlemedium'> </td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellpadding='0 'cellspacing='4' border='0' width='<{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><{B_NEW}> {$ibforums->lang['pm_open_new']}</td>
|
||||
<td valign='middle' nowrap><{B_HOT}> {$ibforums->lang['pm_hot_new']}</td>
|
||||
<td valign='middle' nowrap><{B_POLL}> {$ibforums->lang['pm_poll']}</td>
|
||||
<td valign='middle' nowrap><{B_LOCKED}> {$ibforums->lang['pm_locked']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign='middle' nowrap><{B_NORM}> {$ibforums->lang['pm_open_no']}</td>
|
||||
<td valign='middle' nowrap><{B_HOT_NN}> {$ibforums->lang['pm_hot_no']}</td>
|
||||
<td valign='middle' nowrap><{B_POLL_NN}> {$ibforums->lang['pm_poll_no']}</td>
|
||||
<td valign='middle' nowrap><{B_MOVED}> {$ibforums->lang['pm_moved']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</table>
|
||||
<div class="titlemedium"> </div>
|
||||
</div>
|
||||
<br />
|
||||
<div>{$Data[SHOW_PAGES]}</div>
|
||||
<br />
|
||||
<div align='left' class="wrapmini">
|
||||
<{B_NEW}> {$ibforums->lang['pm_open_new']}
|
||||
<br /><{B_NORM}> {$ibforums->lang['pm_open_no']}
|
||||
<br /><{B_HOT}> {$ibforums->lang['pm_hot_new']}
|
||||
<br /><{B_HOT_NN}> {$ibforums->lang['pm_hot_no']}
|
||||
</div>
|
||||
|
||||
<div align='left' class="wrapmini">
|
||||
<{B_POLL}> {$ibforums->lang['pm_poll']}
|
||||
<br /><{B_POLL_NN}> {$ibforums->lang['pm_poll_no']}
|
||||
<br /><{B_LOCKED}> {$ibforums->lang['pm_locked']}
|
||||
<br /><{B_MOVED}> {$ibforums->lang['pm_moved']}
|
||||
</div>
|
||||
<br />
|
||||
<br clear="all" />
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Form($forums, $cats) {
|
||||
|
||||
function boolean_explain_page() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Search Form -->
|
||||
|
||||
<SCRIPT LANGUAGE="JavaScript">
|
||||
<!--
|
||||
function chooseForum() {
|
||||
document.sForm.cat_forum[1].checked = true;
|
||||
}
|
||||
function chooseCat() {
|
||||
document.sForm.cat_forum[0].checked = true;
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<form action="{$ibforums->base_url}&act=Search&CODE=01" method="post" name='sForm'>
|
||||
$hidden_fields
|
||||
<br>
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td colspan='2' class="maintitle" align='center'>{$ibforums->lang['keywords_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='titlemedium' width='50%'><b>{$ibforums->lang['key_search']}</b></td>
|
||||
<td class='titlemedium' width='50%'><b>{$ibforums->lang['mem_search']}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' valign='top'><input type='text' maxlength='100' size='40' name='keywords' class='forminput'><br><br>{$ibforums->lang['keysearch_text']}</td>
|
||||
<td class='row1' valign='top'>
|
||||
<table width='100%' cellpadding='4' cellspacing='0' border='0' align='center'>
|
||||
<tr>
|
||||
<td colspan='2'><input type='text' maxlength='100' size='50' name='namesearch' class='forminput'></td>
|
||||
</tr>
|
||||
<td width='40%'>
|
||||
<input name='exactname' type='radio' value='1' checked> {$ibforums->lang['match_name_ex']}
|
||||
<br><input name='exactname' type='radio' value='0'> {$ibforums->lang['match_name_pa']}
|
||||
</td>
|
||||
<td width='60%'>
|
||||
<input name='joinname' type='radio' value='1' checked> {$ibforums->lang['joinname_true']}
|
||||
<br><input name='joinname' type='radio' value='0'> {$ibforums->lang['joinname_false']}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
|
||||
<tr>
|
||||
<td colspan='2' class="maintitle" align='center'>{$ibforums->lang['search_options']}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class='titlemedium' width='50%' valign='middle'><b>{$ibforums->lang['search_where']}</b></td>
|
||||
<td class='titlemedium' width='50%' valign='middle'><b>{$ibforums->lang['search_refine']}</b></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class='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']}<br><input type='radio' name='search_in' value='titles'> {$ibforums->lang['in_topics']}</td>
|
||||
<td><input type='radio' name='result_type' value='topics' checked> {$ibforums->lang['results_topics']}<br><input type='radio' name='result_type' value='posts'> {$ibforums->lang['results_post']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class='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:<{MISCBACK_ONE}>'> {$ibforums->lang['older']} <input type='radio' name='prune_type' value='newer' class='forminput' style='background-color:<{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 class='row1' colspan='2' align='center'><input type='submit' value='{$ibforums->lang['do_search']}' class='forminput'></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'><{CAT_IMG}> {$ibforums->lang['be_link']}</div>
|
||||
<table width='100%' cellpadding='0' cellspacing='1'>
|
||||
<tr>
|
||||
<th width='30%' class='pformstrip'>{$ibforums->lang['be_use']}</th>
|
||||
<th width='70%' class='pformstrip'>{$ibforums->lang['be_means']}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='pformleft'>{$ibforums->lang['be_u1']}</td>
|
||||
<td class='pformleft'>{$ibforums->lang['be_m1']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='pformleft'>{$ibforums->lang['be_u2']}</td>
|
||||
<td class='pformleft'>{$ibforums->lang['be_m2']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='pformleft'>{$ibforums->lang['be_u3']}</td>
|
||||
<td class='pformleft'>{$ibforums->lang['be_m3']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='pformleft'>{$ibforums->lang['be_u4']}</td>
|
||||
<td class='pformleft'>{$ibforums->lang['be_m4']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='pformleft'>{$ibforums->lang['be_u5']}</td>
|
||||
<td class='pformleft'>{$ibforums->lang['be_m5']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function boolean_explain_link() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
[ <a href='#' title='{$ibforums->lang['be_ttip']}' onclick='win_pop()'>{$ibforums->lang['be_link']}</a> ]
|
||||
EOF;
|
||||
}
|
||||
|
||||
function simple_form($forums) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
function go_gadget_advanced()
|
||||
{
|
||||
window.location = "{$ibforums->js_base_url}act=Search&mode=adv&f={$ibforums->input['f']}";
|
||||
}
|
||||
function win_pop()
|
||||
{
|
||||
window.open('{$ibforums->js_base_url}act=Search&CODE=explain','WIN','width=400,height=300,resizable=yes,scrollbars=yes');
|
||||
}
|
||||
-->
|
||||
</script>
|
||||
<form action="{$ibforums->base_url}act=Search&CODE=simpleresults&mode=simple" method="post" name='sForm'>
|
||||
$hidden_fields
|
||||
<div class="tableborder">
|
||||
<div class="maintitle" align='center'>{$ibforums->lang['search_options']}</div>
|
||||
<div class="pformstrip" align="center">{$ibforums->lang['key_search']}</div>
|
||||
<div class="tablepad" align="center">
|
||||
<input type='text' maxlength='100' size='40' id="keywords" name='keywords' class='forminput' />
|
||||
<br />
|
||||
<label for="keywords">{$ibforums->lang['keysearch_text']}</label> <!--IBF.BOOLEAN_EXPLAIN-->
|
||||
</div>
|
||||
<div class="pformstrip" align="center">{$ibforums->lang['search_where']}</div>
|
||||
<div class="tablepad" align="center">
|
||||
$forums
|
||||
<br /><br />
|
||||
<strong>{$ibforums->lang['sf_show_me']}</strong>
|
||||
<input type="radio" name="sortby" value="relevant" id="sortby_one" checked="checked" class="radiobutton" />
|
||||
<label for="sortby_one">{$ibforums->lang['sf_most_r_f']}</label>
|
||||
|
||||
<input type="radio" name="sortby" value="date" id="sortby_two" class="radiobutton" />
|
||||
<label for="sortby_two">{$ibforums->lang['sf_most_date']}</label>
|
||||
</div>
|
||||
<div class="pformstrip" align="center">
|
||||
<input type='submit' value='{$ibforums->lang['do_search']}' class='forminput' />
|
||||
|
||||
<input type='button' value='{$ibforums->lang['so_more_opts']}' onclick="go_gadget_advanced()" class='forminput' />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function active_start($Data) {
|
||||
function result_simple_header($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='<{tbl_width}>' align='center'>
|
||||
<tr>
|
||||
<td valign='middle' nowrap align='left'><span class='pagetitle'>{$ibforums->lang['active_topics']}</span><br>{$Data[SHOW_PAGES]}</td>
|
||||
<td valign='middle' align='right'>
|
||||
<form action='{$ibforums->base_url}&act=Search&CODE=getactive' method='POST' name='dateline' onSubmit='return checkvalues();'>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellpadding='2' cellspacing='0' border='0' width='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td class='maintitle' 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 class='mainbg'>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td class='titlemedium' colspan='2' > </td>
|
||||
<td align='left' class='titlemedium'>{$ibforums->lang['h_topic_title']}</td>
|
||||
<td align='center' class='titlemedium'>{$ibforums->lang['h_forum_name']}</td>
|
||||
<td align='center' class='titlemedium'>{$ibforums->lang['h_topic_starter']}</td>
|
||||
<td align='center' class='titlemedium'>{$ibforums->lang['h_replies']}</td>
|
||||
<td align='center' class='titlemedium'>{$ibforums->lang['h_hits']}</td>
|
||||
<td class='titlemedium'>{$ibforums->lang['h_last_action']}</td>
|
||||
</tr>
|
||||
<div class="plainborder">
|
||||
<div class="maintitle"><{CAT_IMG}> {$ibforums->lang['search_results']}</div>
|
||||
<div class="pformstrip">
|
||||
<div class="pagelinks">{$ibforums->lang['g_searched_for']} <strong>{$data['keyword']}</strong></div>
|
||||
<div align="right">
|
||||
{$ibforums->lang['g_results']} <strong>{$data['start']} - {$data['end']}</strong> {$ibforums->lang['g_of_about']} <strong>{$data['matches']}</strong>.
|
||||
{$ibforums->lang['g_search_took']} <strong>{$data['ex_time']}</strong> {$ibforums->lang['g_seconds']}
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
EOF;
|
||||
}
|
||||
|
||||
function result_simple_footer($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class="pformstrip" align="left">{$ibforums->lang['search_pages']} <span class="googlepagelinks">{$data['links']}</span></div>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function result_simple_entry($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class="{$data['css_class']}">
|
||||
<span class="googlish"><a href='{$ibforums->base_url}act=ST&t={$data['tid']}&f={$data['id']}&view=findpost&p={$data['pid']}'>{$data['title']}</span></a>
|
||||
<br />
|
||||
{$data['post']}
|
||||
<br />
|
||||
<span class='googlesmall'>
|
||||
{$ibforums->lang['location_g']}: <a href='{$ibforums->base_url}act=idx'>{$ibforums->lang['g_b_home']}</a>
|
||||
> <a href='{$ibforums->base_url}act=SC&c={$data['cat_id']}'>{$data['cat_name']}</a>
|
||||
> <a href='{$ibforums->base_url}act=SF&f={$data['id']}'>{$data['name']}</a>
|
||||
</span>
|
||||
<br />
|
||||
<span class="googlebottom"><strong>{$ibforums->lang['g_relevance']}: {$data['relevance']}% · Author: {$data['author_name']} · Posted on: {$data['post_date']}</strong></span>
|
||||
<span class="googlesmall"> - <a href='{$ibforums->base_url}act=ST&t={$data['tid']}&f={$data['id']}&view=findpost&p={$data['pid']}' target='_blank'>{$ibforums->lang['g_new_window']}</a></span>
|
||||
</div>
|
||||
<br />
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function Form($forums) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
function go_gadget_simple()
|
||||
{
|
||||
window.location = "{$ibforums->js_base_url}act=Search&mode=simple&f={$ibforums->input['f']}";
|
||||
}
|
||||
function win_pop()
|
||||
{
|
||||
window.open('{$ibforums->js_base_url}act=Search&CODE=explain','WIN','width=400,height=300,resizable=yes,scrollbars=yes');
|
||||
}
|
||||
-->
|
||||
</script>
|
||||
<form action="{$ibforums->base_url}act=Search&CODE=01" method="post" name='sForm'>
|
||||
$hidden_fields
|
||||
<div class="tableborder">
|
||||
<table cellpadding='4' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td colspan='2' class="maintitle" align='center'>{$ibforums->lang['keywords_title']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='pformstrip' width='50%'>{$ibforums->lang['key_search']}</td>
|
||||
<td class='pformstrip' width='50%'>{$ibforums->lang['mem_search']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='row1' valign='top'>
|
||||
<input type='text' maxlength='100' size='40' name='keywords' id="keywords" class='forminput' />
|
||||
<br /><br />
|
||||
<label for="keywords">{$ibforums->lang['keysearch_text']}</label> <!--IBF.BOOLEAN_EXPLAIN-->
|
||||
</td>
|
||||
<td class='row1' valign='top'>
|
||||
<table width='100%' cellpadding='4' cellspacing='0' border='0' align='center'>
|
||||
<tr>
|
||||
<td><input type='text' maxlength='100' size='50' name='namesearch' class='forminput' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='40%'><input type='checkbox' name='exactname' id='matchexact' value='1' class="checkbox" /><label for="matchexact">{$ibforums->lang['match_name_ex']}</label></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br />
|
||||
<div class="tableborder">
|
||||
<table cellpadding='4' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td colspan='2' class="maintitle" align='center'>{$ibforums->lang['search_options']}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class='pformstrip' width='50%' valign='middle'>{$ibforums->lang['search_where']}</td>
|
||||
<td class='pformstrip' width='50%' valign='middle'>{$ibforums->lang['search_refine']}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class='row1' valign='middle'>
|
||||
$forums
|
||||
<br />
|
||||
<input type='checkbox' name='searchsubs' value='1' id="searchsubs" checked="checked" /> <label for="searchsubs">{$ibforums->lang['search_in_subs']}</label>
|
||||
</td>
|
||||
<td class='row1' valign='top'>
|
||||
<table cellspacing='4' cellpadding='0' width='100%' align='center' border='0'>
|
||||
<tr>
|
||||
<td valign='top'>
|
||||
<fieldset class="search">
|
||||
<legend><strong>{$ibforums->lang['search_from']}</strong></legend>
|
||||
<select name='prune' class='forminput'>
|
||||
<option value='1'>{$ibforums->lang['today']}</option>
|
||||
<option value='7'>{$ibforums->lang['this_week']}</option>
|
||||
<option value='30' selected="selected">{$ibforums->lang['this_month']}</option>
|
||||
<option value='60'>{$ibforums->lang['this_60']}</option>
|
||||
<option value='90'>{$ibforums->lang['this_90']}</option>
|
||||
<option value='180'>{$ibforums->lang['this_180']}</option>
|
||||
<option value='365'>{$ibforums->lang['this_year']}</option>
|
||||
<option value='0'>{$ibforums->lang['ever']}</option>
|
||||
</select>
|
||||
<br />
|
||||
<input type='radio' name='prune_type' id="prune_older" value='older' class='radiobutton' /> <label for="prune_older">{$ibforums->lang['older']}</label>
|
||||
<br />
|
||||
<input type='radio' name='prune_type' id="prune_newer" value='newer' class='radiobutton' checked="checked" /> <label for="prune_newer">{$ibforums->lang['newer']}</label>
|
||||
</fieldset>
|
||||
</td>
|
||||
<td valign='top'>
|
||||
<fieldset class="search">
|
||||
<legend><strong>{$ibforums->lang['sort_results']}</strong></legend>
|
||||
<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' id="sort_desc" class="radiobutton" value='desc' checked="checked" /><label for="sort_desc">{$ibforums->lang['descending']}</label>
|
||||
<br /><input type='radio' name='sort_order' id="sort_asc" class="radiobutton" value='asc' /><label for="sort_asc">{$ibforums->lang['ascending']}</label>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap">
|
||||
<fieldset class="search">
|
||||
<legend><strong>{$ibforums->lang['search_where']}</strong></legend>
|
||||
<input type='radio' name='search_in' class="radiobutton" id="search_in_posts" value='posts' checked="checked" /><label for="search_in_posts">{$ibforums->lang['in_posts']}</label>
|
||||
<br />
|
||||
<input type='radio' name='search_in' class="radiobutton" id="search_in_titles" value='titles' /><label for="search_in_titles">{$ibforums->lang['in_topics']}</label>
|
||||
</fieldset>
|
||||
</td>
|
||||
<td>
|
||||
<fieldset class="search">
|
||||
<legend><strong>{$ibforums->lang['result_type']}</strong></legend>
|
||||
<input type='radio' name='result_type' class="radiobutton" value='topics' id="result_topics" checked="checked" /><label for="result_topics">{$ibforums->lang['results_topics']}</label>
|
||||
<br />
|
||||
<input type='radio' name='result_type' class="radiobutton" value='posts' id="result_posts" /><label for="result_posts">{$ibforums->lang['results_post']}</label>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='pformstrip' colspan='2' align='center'><input type='submit' value='{$ibforums->lang['do_search']}' class='forminput' /><!--IBF.SIMPLE_BUTTON--></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
EOF;
|
||||
}
|
||||
function form_simple_button() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<input type='button' value='{$ibforums->lang['so_less_opts']}' onclick="go_gadget_simple()" class='forminput' />
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function active_start($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script language='Javascript' type="text/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 />
|
||||
<form action='{$ibforums->base_url}act=Search&CODE=getactive' method='post' name='dateline' onsubmit='return checkvalues();'>
|
||||
<div class="pagelinks">{$data['SHOW_PAGES']}</div>
|
||||
<div align="right" style="width:35%;text-align:center;margin-right:0;margin-left:auto">
|
||||
<fieldset class="search">
|
||||
<legend><strong>{$ibforums->lang['active_st_text']}</strong></legend>
|
||||
<label for='st_day'>{$ibforums->lang['active_mid_text']}</label>
|
||||
<select name='st_day' id='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>
|
||||
|
||||
<label for='end_day'>{$ibforums->lang['active_end_text']}</label>
|
||||
<select name='end_day' id='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='>>' title="{$ibforums->lang['active_label']}" class='forminput'>
|
||||
</fieldset>
|
||||
</div>
|
||||
</form>
|
||||
<br />
|
||||
<div class="tableborder">
|
||||
<div class="maintitle"><{CAT_IMG}>{$ibforums->lang['active_topics']}</div>
|
||||
<table class="tablebasic" cellspacing="1" cellpadding="4">
|
||||
<tr>
|
||||
<td class='titlemedium' colspan='2' > </td>
|
||||
<th align='left' class='titlemedium'>{$ibforums->lang['h_topic_title']}</th>
|
||||
<th align='center' class='titlemedium'>{$ibforums->lang['h_forum_name']}</th>
|
||||
<th align='center' class='titlemedium'>{$ibforums->lang['h_topic_starter']}</th>
|
||||
<th align='center' class='titlemedium'>{$ibforums->lang['h_replies']}</th>
|
||||
<th align='center' class='titlemedium'>{$ibforums->lang['h_hits']}</th>
|
||||
<th class='titlemedium'>{$ibforums->lang['h_last_action']}</th>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function start($Data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- Cgi-bot Start Forum page unique top -->
|
||||
<table cellpadding='0 'cellspacing='4' border='0' width='<{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='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%' align='center'>
|
||||
<tr>
|
||||
<td class='mainbg'>
|
||||
<table cellpadding='2' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td class='titlemedium' colspan='2' > </td>
|
||||
<td align='left' class='titlemedium'>{$ibforums->lang['h_topic_title']}</td>
|
||||
<td align='center' class='titlemedium'>{$ibforums->lang['h_forum_name']}</td>
|
||||
<td align='center' class='titlemedium'>{$ibforums->lang['h_topic_starter']}</td>
|
||||
<td align='center' class='titlemedium'>{$ibforums->lang['h_replies']}</td>
|
||||
<td align='center' class='titlemedium'>{$ibforums->lang['h_hits']}</td>
|
||||
<td class='titlemedium'>{$ibforums->lang['h_last_action']}</td>
|
||||
</tr>
|
||||
<div>{$Data[SHOW_PAGES]}</div>
|
||||
<br />
|
||||
<div class="tableborder">
|
||||
<div class="maintitle"><{CAT_IMG}> {$ibforums->lang['your_results']} · <a style="text-decoration:underline" href="{$ibforums->base_url}act=Login&CODE=05">{$ibforums->lang['mark_search_as_read']}</a></div>
|
||||
<table class="tablebasic" cellpadding="2" cellspacing="1" width='100%'>
|
||||
<tr>
|
||||
<td class='titlemedium' colspan='2'> </td>
|
||||
<td align='left' class='titlemedium'>{$ibforums->lang['h_topic_title']}</td>
|
||||
<td align='center' class='titlemedium'>{$ibforums->lang['h_forum_name']}</td>
|
||||
<td align='center' class='titlemedium'>{$ibforums->lang['h_topic_starter']}</td>
|
||||
<td align='center' class='titlemedium'>{$ibforums->lang['h_replies']}</td>
|
||||
<td align='center' class='titlemedium'>{$ibforums->lang['h_hits']}</td>
|
||||
<td class='titlemedium'>{$ibforums->lang['h_last_action']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function active_none() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr><td colspan='8' class='row1' align='center'><b>{$ibforums->lang['active_no_topics']}</b></td></tr>
|
||||
<tr><td colspan='8' class='row1' align='center'><strong>{$ibforums->lang['active_no_topics']}</strong></td></tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,22 +14,18 @@ return <<<EOF
|
||||
var tid = '$tid';
|
||||
var fid = '$fid';
|
||||
|
||||
opener.location= '$ibforums->base_url' + '&act=ST&f=' + fid + '&t=' + tid;
|
||||
opener.location= '$ibforums->base_url' + 'showtopic=' + tid;
|
||||
self.close();
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='5' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td colspan='2' class='titlemedium' align='center' >{$ibforums->lang['who_farted']} $title</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='70%' align='left' class='category' valign='middle'>{$ibforums->lang['who_poster']}</td>
|
||||
<td width='30%' align='center' class='category' valign='middle'>{$ibforums->lang['who_posts']}</td>
|
||||
</tr>
|
||||
<div class="tableborder">
|
||||
<div class="titlemedium" align="center">{$ibforums->lang['who_farted']} $title</div>
|
||||
<table cellpadding='5' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='70%' align='left' class='pformstrip' valign='middle'>{$ibforums->lang['who_poster']}</td>
|
||||
<td width='30%' align='center' class='pformstrip' valign='middle'>{$ibforums->lang['who_posts']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
@@ -37,18 +33,17 @@ EOF;
|
||||
function who_row($row) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td align='left' class='row1' valign='middle'>{$row['author_name']}</td>
|
||||
<td align='center' class='row1' valign='middle'>{$row['pcount']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' class='row1' valign='middle'>{$row['author_name']}</td>
|
||||
<td align='center' class='row1' valign='middle'>{$row['pcount']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function who_name_link($id, $name) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<a href='{$ibforums->base_url}&act=Profile&MID=$id' target='_blank'>$name</a>
|
||||
|
||||
<a href='{$ibforums->base_url}showuser=$id' target='_blank'>$name</a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
@@ -56,13 +51,9 @@ EOF;
|
||||
function who_end() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td colspan='2' align='center' class='titlemedium' valign='middle'><a href='javascript:bog_off();'>{$ibforums->lang['who_go']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</table>
|
||||
<div class='titlemedium' align='center'><a href='javascript:bog_off();'>{$ibforums->lang['who_go']}</a></div>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
@@ -82,94 +73,107 @@ EOF;
|
||||
function group_strip( $group ) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='5' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td colspan='4' class='titlemedium' align='center' >$group</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='30%' align='left' class='category' valign='middle'>{$ibforums->lang['leader_name']}</td>
|
||||
<td width='40%' align='center' class='category' valign='middle'>{$ibforums->lang['leader_forums']}</td>
|
||||
<td align='center' width='25%' class='category' valign='middle'>{$ibforums->lang['leader_location']}</td>
|
||||
<td align='center' width='5%' class='category' valign='middle'> </td>
|
||||
</tr>
|
||||
<div class="tableborder">
|
||||
<div class="maintitle"><{CAT_IMG}> $group</div>
|
||||
<table cellpadding='4' cellspacing='1' width="100%">
|
||||
<tr>
|
||||
<td width='30%' align='left' class='pformstrip' valign='middle'>{$ibforums->lang['leader_name']}</td>
|
||||
<td width='40%' align='center' class='pformstrip' valign='middle'>{$ibforums->lang['leader_forums']}</td>
|
||||
<td align='center' width='25%' class='pformstrip' valign='middle'>{$ibforums->lang['leader_location']}</td>
|
||||
<td align='center' width='5%' class='pformstrip' valign='middle'> </td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function leader_row($info, $forums) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td align='left' class='row1' valign='middle'><a href='{$ibforums->base_url}&act=Profile&MID={$info['id']}'>{$info['name']}</a></td>
|
||||
<td align='center' class='row1' valign='middle'>$forums</td>
|
||||
<td align='center' class='row1' valign='middle'>{$info['location']}</td>
|
||||
<td align='center' class='row2' valign='middle'>{$info['msg_icon']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' class='row1' valign='middle'><a href='{$ibforums->base_url}showuser={$info['id']}'>{$info['name']}</a></td>
|
||||
<td align='center' class='row1' valign='middle'>$forums</td>
|
||||
<td align='center' class='row1' valign='middle'>{$info['location']}</td>
|
||||
<td align='center' class='row1' valign='middle'>{$info['msg_icon']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function leader_row_forum_start($id, $count_string) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<form method="post" onsubmit="if(document.jmenu$id.f.value == -1){return false;}" action="{$ibforums->base_url}act=SF" name="jmenu$id">
|
||||
<select class='forminput' name="f" onchange="if(this.options[this.selectedIndex].value != -1){ document.jmenu$id.submit() }" style='width:95%'>
|
||||
<option value="-1">$count_string</option>
|
||||
<option value="-1">--------------------------------------------------------</option>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function leader_row_forum_entry($id, $name) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<option value='$id'>$name</option>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function leader_row_forum_end() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</select></form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function close_strip() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
</table>
|
||||
</div>
|
||||
<br />
|
||||
EOF;
|
||||
}
|
||||
|
||||
function top_poster_header() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='<{tbl_width}>' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='5' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<td width='30%' align='left' class='titlemedium' valign='middle'>{$ibforums->lang['member']}</td>
|
||||
<td width='20%' align='center' class='titlemedium' valign='middle'>{$ibforums->lang['member_joined']}</td>
|
||||
<td align='center' width='15%' class='titlemedium' valign='middle'>{$ibforums->lang['member_posts']}</td>
|
||||
<td align='center' width='15%' class='titlemedium' valign='middle'>{$ibforums->lang['member_today']}</td>
|
||||
<td align='center' width='20%' class='titlemedium' valign='middle'>{$ibforums->lang['member_percent']}</td>
|
||||
</tr>
|
||||
<div class='tableborder'>
|
||||
<div class='maintitle'><{CAT_IMG}> {$ibforums->lang['todays_posters']}</div>
|
||||
<table cellpadding='5' cellspacing='1' border='0' width='100%'>
|
||||
<tr>
|
||||
<th width='30%' align='left' class='pformstrip' valign='middle'>{$ibforums->lang['member']}</th>
|
||||
<th width='20%' align='center' class='pformstrip' valign='middle'>{$ibforums->lang['member_joined']}</th>
|
||||
<th align='center' width='15%' class='pformstrip' valign='middle'>{$ibforums->lang['member_posts']}</th>
|
||||
<th align='center' width='15%' class='pformstrip' valign='middle'>{$ibforums->lang['member_today']}</th>
|
||||
<th align='center' width='20%' class='pformstrip' valign='middle'>{$ibforums->lang['member_percent']}</th>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function top_poster_row($info) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td align='left' class='row1' valign='middle'><a href='{$ibforums->base_url}&act=Profile&MID={$info['id']}'>{$info['name']}</a></td>
|
||||
<td align='center' class='row1' valign='middle'>{$info['joined']}</td>
|
||||
<td align='center' class='row1' valign='middle'>{$info['posts']}</td>
|
||||
<td align='center' class='row2' valign='middle'>{$info['tpost']}</td>
|
||||
<td align='center' class='row2' valign='middle'>{$info['today_pct']}%</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align='left' class='row1' valign='middle'><a href='{$ibforums->base_url}showuser={$info['id']}'>{$info['name']}</a></td>
|
||||
<td align='center' class='row1' valign='middle'>{$info['joined']}</td>
|
||||
<td align='center' class='row1' valign='middle'>{$info['posts']}</td>
|
||||
<td align='center' class='row1' valign='middle'>{$info['tpost']}</td>
|
||||
<td align='center' class='row1' valign='middle'>{$info['today_pct']}%</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function top_poster_footer($info) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td colspan='5' align='center' class='titlemedium' valign='middle'>{$ibforums->lang['total_today']} $info</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</table>
|
||||
<div class='pformstrip' align='center'>{$ibforums->lang['total_today']} $info</div>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function top_poster_no_info() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td colspan='5' align='center' class='row1' valign='middle'>{$ibforums->lang['no_info']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='5' align='center' class='row1' valign='middle'>{$ibforums->lang['no_info']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,550 @@
|
||||
<?php
|
||||
|
||||
class skin_subscriptions {
|
||||
|
||||
function do_nochex_upgrade_screen($ccode, $member_id, $new_sub_id, $to_pay, $nochex_email, $sub_title, $cur_tran_id, $desc_string="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class="pformstrip">{$ibforums->lang['sc_complete']}</div>
|
||||
<p>
|
||||
{$ibforums->lang['sc_upgrade_explain']}
|
||||
<br /><br />$desc_string
|
||||
|
||||
<br /><br /><b>{$ibforums->lang['gw_nochex']}</b>
|
||||
</p>
|
||||
<form action='https://www.nochex.com/nochex.dll/checkout' method='post'>
|
||||
<input type="hidden" name="email" value="$nochex_email" />
|
||||
<input type="hidden" name="amount" value="$to_pay" />
|
||||
<input type="hidden" name="ordernumber" value="{$new_sub_id}x{$member_id}x$cur_tran_id" />
|
||||
<input type="hidden" name="returnurl" value="{$ibforums->base_url}act=module&module=subscription&CODE=paydone&type=nochex">
|
||||
<br /><br />
|
||||
<center>
|
||||
<input type="image" src="http://www.nochex.com/web/images/payme4.gif" border="0" name="submit" alt="Pay with NOCHEX now"></center>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function do_nochex_normal_screen($ccode, $member_id, $new_sub_id, $to_pay, $nochex_email, $sub_title, $desc_string="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class="pformstrip">{$ibforums->lang['sc_complete']}</div>
|
||||
<p>
|
||||
{$ibforums->lang['sc_upgrade_explain']}
|
||||
<br /><br />$desc_string
|
||||
<br /><br /><b>{$ibforums->lang['gw_nochex']}</b>
|
||||
</p>
|
||||
<form action='https://www.nochex.com/nochex.dll/checkout' method='post'>
|
||||
<input type="hidden" name="email" value="$nochex_email" />
|
||||
<input type="hidden" name="amount" value="$to_pay" />
|
||||
<input type="hidden" name="ordernumber" value="{$new_sub_id}x{$member_id}x0" />
|
||||
<input type="hidden" name="returnurl" value="{$ibforums->base_url}act=module&module=subscription&CODE=paydone&type=nochex">
|
||||
<br /><br />
|
||||
<center>
|
||||
<input type="image" src="http://www.nochex.com/web/images/payme4.gif" border="0" name="submit" alt="Pay with NOCHEX now"></center>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function show_ticket($sub, $id, $paid, $extra="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<h2>{$ibforums->lang['man_title']}</h2>
|
||||
<br />
|
||||
<table cellpadding='0' cellspacing='1' border='0' width='245' align='center' bgcolor='#000000'>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding='4' cellspacing='1' border='0' width='100%' align='center'>
|
||||
<tr>
|
||||
<td width='50%' bgcolor='#FFFFFF'>{$ibforums->lang['man_mem']}</td>
|
||||
<td width='50%' bgcolor='#FFFFFF'>{$ibforums->member['name']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='50%' bgcolor='#FFFFFF'>{$ibforums->lang['man_mem_id']}</td>
|
||||
<td width='50%' bgcolor='#FFFFFF'>{$ibforums->member['id']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='50%' bgcolor='#FFFFFF'>{$ibforums->lang['man_email']}</td>
|
||||
<td width='50%' bgcolor='#FFFFFF'>{$ibforums->member['email']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='50%' bgcolor='#FFFFFF'>{$ibforums->lang['man_trans_id']}</td>
|
||||
<td width='50%' bgcolor='#FFFFFF'>{$id}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='50%' bgcolor='#FFFFFF'>{$ibforums->lang['man_sub']}</td>
|
||||
<td width='50%' bgcolor='#FFFFFF'>{$sub['sub_title']} $extra</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='50%' bgcolor='#FFFFFFF'>{$ibforums->lang['man_pay']}</td>
|
||||
<td width='50%' bgcolor='#FFFFFF'>{$paid}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function do_manual_normal_screen($new_sub_id, $desc_string="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
function pop_ticket()
|
||||
{
|
||||
window.open('{$ibforums->js_base_url}act=module&module=subscription&type=manual&CODE=custom&mode=ticket&tickid=0&upgrade=0&sid=$new_sub_id','TICKET','width=250,height=350,resizable=yes,scrollbars=yes');
|
||||
}
|
||||
|
||||
//-->
|
||||
</script>
|
||||
<div class="pformstrip">{$ibforums->lang['sc_complete']}</div>
|
||||
<p>
|
||||
$desc_string
|
||||
<br /><br />
|
||||
{$ibforums->lang['post_manual']}
|
||||
<br /><br />
|
||||
{$ibforums->lang['post_manual_more']}
|
||||
</p>
|
||||
<br /><br />
|
||||
<center>
|
||||
<input type="button" value="{$ibforums->lang['gw_manual']}" onclick="pop_ticket()" />
|
||||
</center>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function do_manual_upgrade_screen($new_sub_id, $cur_id, $desc_string="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
function pop_ticket()
|
||||
{
|
||||
window.open('{$ibforums->js_base_url}act=module&module=subscription&type=manual&CODE=custom&mode=ticket&tickid={$cur_id}&upgrade=1&sid=$new_sub_id','TICKET','width=250,height=350,resizable=yes,scrollbars=yes');
|
||||
}
|
||||
|
||||
//-->
|
||||
</script>
|
||||
<div class="pformstrip">{$ibforums->lang['sc_upgrade_title']}</div>
|
||||
<p>
|
||||
$desc_string
|
||||
<br /><br />
|
||||
{$ibforums->lang['post_manual']}
|
||||
<br /><br />
|
||||
{$ibforums->lang['post_manual_more']}
|
||||
</p>
|
||||
<br /><br />
|
||||
<center>
|
||||
<input type="button" value="{$ibforums->lang['gw_manual']}" onclick="pop_ticket()" />
|
||||
</center>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function do_paypal_normal_recurring_screen($ccode, $member_id, $new_sub_id, $unit, $length, $cost, $paypal_email, $sub_title, $desc_string="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class="pformstrip">{$ibforums->lang['sc_complete']}</div>
|
||||
<p>
|
||||
{$ibforums->lang['sc_upgrade_explain']}
|
||||
<br /><br />$desc_string
|
||||
<br /><br /><b>{$ibforums->lang['gw_paypal']}</b>
|
||||
</p>
|
||||
<form action='https://www.paypal.com/cgi-bin/webscr' method='post'>
|
||||
<input type="hidden" name="cmd" value="_xclick-subscriptions" />
|
||||
<input type="hidden" name="business" value="$paypal_email" />
|
||||
<input type="hidden" name="item_name" value="$sub_title" />
|
||||
<input type="hidden" name="item_number" value="$new_sub_id" />
|
||||
<input type="hidden" name="no_shipping" value="1" />
|
||||
<input type="hidden" name="src" value="1" />
|
||||
<input type="hidden" name="a3" value="$cost" />
|
||||
<input type="hidden" name="p3" value="$length" />
|
||||
<input type="hidden" name="t3" value="$unit" />
|
||||
<input type="hidden" name="custom" value="$member_id" />
|
||||
<input type="hidden" name="notify_url" value="{$ibforums->base_url}act=module&module=subscription&CODE=incoming&type=paypal" />
|
||||
<input type="hidden" name="currency_code" value="$ccode">
|
||||
<input type="hidden" name="return" value="{$ibforums->base_url}act=module&module=subscription&CODE=paydone&type=paypal">
|
||||
<input type="hidden" name="cancel_return" value="{$ibforums->base_url}act=module&module=subscription&CODE=paydone&type=paypal">
|
||||
<br /><br />
|
||||
<center>
|
||||
<input type="image" src="https://www.paypal.com/images/x-click-but6.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"></center>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function do_paypal_upgrade_recurring_screen($ccode, $member_id, $new_sub_id, $to_pay, $time_left_to_run, $time_left_unit, $unit, $length, $cost, $paypal_email, $sub_title, $cur_tran_id, $desc_string="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class="pformstrip">{$ibforums->lang['sc_complete']}</div>
|
||||
<p>
|
||||
{$ibforums->lang['sc_upgrade_explain']}
|
||||
<br /><br />$desc_string
|
||||
<br /><br /><b>{$ibforums->lang['gw_paypal']}</b>
|
||||
</p>
|
||||
<form action='https://www.paypal.com/cgi-bin/webscr' method='post'>
|
||||
<input type="hidden" name="cmd" value="_xclick-subscriptions" />
|
||||
<input type="hidden" name="business" value="$paypal_email" />
|
||||
<input type="hidden" name="item_name" value="$sub_title" />
|
||||
<input type="hidden" name="item_number" value="$new_sub_id" />
|
||||
<input type="hidden" name="no_shipping" value="1" />
|
||||
<input type="hidden" name="src" value="1" />
|
||||
<input type="hidden" name="a1" value="$to_pay" />
|
||||
<input type="hidden" name="p1" value="$time_left_to_run" />
|
||||
<input type="hidden" name="t1" value="$time_left_unit" />
|
||||
<input type="hidden" name="a3" value="$cost" />
|
||||
<input type="hidden" name="p3" value="$length" />
|
||||
<input type="hidden" name="t3" value="$unit" />
|
||||
<input type="hidden" name="invoice" value="{$cur_tran_id}x{$new_sub_id}x{$member_id}" />
|
||||
<input type="hidden" name="custom" value="$member_id" />
|
||||
<input type="hidden" name="memo" value="upgrade" />
|
||||
<input type="hidden" name="notify_url" value="{$ibforums->base_url}act=module&module=subscription&CODE=incoming&type=paypal" />
|
||||
<input type="hidden" name="currency_code" value="$ccode">
|
||||
<input type="hidden" name="return" value="{$ibforums->base_url}act=module&module=subscription&CODE=paydone&type=paypal">
|
||||
<input type="hidden" name="cancel_return" value="{$ibforums->base_url}act=module&module=subscription&CODE=paydone&type=paypal">
|
||||
<br /><br />
|
||||
<center>
|
||||
<input type="image" src="https://www.paypal.com/images/x-click-but6.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"></center>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function do_paypal_normal_screen($ccode, $member_id, $new_sub_id, $to_pay, $paypal_email, $sub_title, $desc_string="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class="pformstrip">{$ibforums->lang['sc_complete']}</div>
|
||||
<p>
|
||||
{$ibforums->lang['sc_upgrade_explain']}
|
||||
<br /><br />$desc_string
|
||||
<br /><br /><b>{$ibforums->lang['gw_paypal']}</b>
|
||||
</p>
|
||||
<form action='https://www.paypal.com/cgi-bin/webscr' method='post'>
|
||||
<input type="hidden" name="cmd" value="_xclick" />
|
||||
<input type="hidden" name="business" value="$paypal_email" />
|
||||
<input type="hidden" name="amount" value="$to_pay">
|
||||
<input type="hidden" name="item_name" value="$sub_title" />
|
||||
<input type="hidden" name="item_number" value="$new_sub_id" />
|
||||
<input type="hidden" name="no_shipping" value="1" />
|
||||
<input type="hidden" name="custom" value="$member_id" />
|
||||
<input type="hidden" name="notify_url" value="{$ibforums->base_url}act=module&module=subscription&CODE=incoming&type=paypal" />
|
||||
<input type="hidden" name="currency_code" value="$ccode">
|
||||
<input type="hidden" name="return" value="{$ibforums->base_url}act=module&module=subscription&CODE=paydone&type=paypal">
|
||||
<input type="hidden" name="cancel_return" value="{$ibforums->base_url}act=module&module=subscription&CODE=paydone&type=paypal">
|
||||
<br /><br />
|
||||
<center>
|
||||
<input type="image" src="https://www.paypal.com/images/x-click-but6.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"></center>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function do_paypal_upgrade_screen($ccode, $member_id, $new_sub_id, $to_pay, $paypal_email, $sub_title, $cur_tran_id, $desc_string="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class="pformstrip">{$ibforums->lang['sc_complete']}</div>
|
||||
<p>
|
||||
{$ibforums->lang['sc_upgrade_explain']}
|
||||
<br /><br />$desc_string
|
||||
<br /><br /><b>{$ibforums->lang['gw_paypal']}</b>
|
||||
</p>
|
||||
<form action='https://www.paypal.com/cgi-bin/webscr' method='post'>
|
||||
<input type="hidden" name="cmd" value="_xclick" />
|
||||
<input type="hidden" name="business" value="$paypal_email" />
|
||||
<input type="hidden" name="amount" value="$to_pay">
|
||||
<input type="hidden" name="item_name" value="$sub_title" />
|
||||
<input type="hidden" name="item_number" value="$new_sub_id" />
|
||||
<input type="hidden" name="no_shipping" value="1" />
|
||||
<input type="hidden" name="invoice" value="{$cur_tran_id}x{$new_sub_id}x{$member_id}" />
|
||||
<input type="hidden" name="custom" value="$member_id" />
|
||||
<input type="hidden" name="memo" value="upgrade" />
|
||||
<input type="hidden" name="notify_url" value="{$ibforums->base_url}act=module&module=subscription&CODE=incoming&type=paypal" />
|
||||
<input type="hidden" name="currency_code" value="$ccode">
|
||||
<input type="hidden" name="return" value="{$ibforums->base_url}act=module&module=subscription&CODE=paydone&type=paypal">
|
||||
<input type="hidden" name="cancel_return" value="{$ibforums->base_url}act=module&module=subscription&CODE=paydone&type=paypal">
|
||||
<br /><br />
|
||||
<center>
|
||||
<input type="image" src="https://www.paypal.com/images/x-click-but6.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"></center>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function sub_two_upgrade_summary() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class="pformstrip">{$ibforums->lang['sc_upgrade_title']}</div>
|
||||
<p>{$ibforums->lang['sc_upgrade_explain']}
|
||||
<br /><br />{$ibforums->lang['sc_upgrade_string']}
|
||||
</p>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function sub_two_normal_summary() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class="pformstrip">{$ibforums->lang['sc_normal_title']}</div>
|
||||
<p>{$ibforums->lang['sc_upgrade_explain']}
|
||||
<br /><br />{$ibforums->lang['sc_normal_string']}
|
||||
</p>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function sub_two_methods_top($sub_chosen, $upgrade="", $curid="", $currency="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class="pformstrip">{$ibforums->lang['sc_available_methods']}</div>
|
||||
<form action='{$ibforums->base_url}act=module&module=subscription&upgrade=$upgrade&CODE=paymentscreen&curid=$curid&sub=$sub_chosen&currency=$currency' method='post'>
|
||||
<div class="tableborder">
|
||||
<table cellpadding='4' cellspacing='1' width="100%">
|
||||
<tr>
|
||||
<th width='5%' class='titlemedium' align="center"> </th>
|
||||
<th width='95%' class='titlemedium'>{$ibforums->lang['sc_method']}</th>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function sub_two_methods_row($mid, $name, $desc="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class="row3" align="center"><input type='radio' name='methodid' value="$mid" /></td>
|
||||
<td class="row3"><b>$name</b><br /><i>$desc</i></td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function sub_two_methods_bottom() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</table>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function sub_two_methods_continue_button() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br />
|
||||
<div class='tableborder'>
|
||||
<div class='pformstrip' align="center"><input type='submit' value='{$ibforums->lang['s_continue_button2']}' class='forminput' /></div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function sub_choose_current_top() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class="pformstrip">{$ibforums->lang['s_current_subs']}</div>
|
||||
<p>{$ibforums->lang['s_current_explain']}</p>
|
||||
<div class="tableborder">
|
||||
<table cellpadding='4' cellspacing='1' width="100%">
|
||||
<tr>
|
||||
<th width='5%' class='titlemedium' align="center">{$ibforums->lang['s_transid']}</th>
|
||||
<th width='35%' class='titlemedium'>{$ibforums->lang['s_detail']}</th>
|
||||
<th width='20%' class='titlemedium' align="center">{$ibforums->lang['s_started']}</th>
|
||||
<th width='20%' class='titlemedium' align="center">{$ibforums->lang['s_end']}</th>
|
||||
<th width='10%' class='titlemedium' align="center">{$ibforums->lang['s_paid']}</th>
|
||||
<th width='10%' class='titlemedium' align="center">{$ibforums->lang['s_status']}</th>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function sub_choose_current_row($id, $name, $start, $end, $paid, $state ) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class="row3" align="center">$id</td>
|
||||
<td class="row3"><b>$name</b></td>
|
||||
<td class="row3" align="center">$start</td>
|
||||
<td class="row3" align="center">$end</td>
|
||||
<td class="row3" align="center">{$paid}</td>
|
||||
<td class="row3" align="center">$state</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function sub_choose_current_bottom() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</table>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function sub_page_bottom() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<p>{$ibforums->lang['s_current_bottom']}</p>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function sub_choose_dead_top() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class="pformstrip">{$ibforums->lang['s_dead_subs']}</div>
|
||||
<p>{$ibforums->lang['s_dead_explain']}</p>
|
||||
<div class="tableborder">
|
||||
<table cellpadding='4' cellspacing='1' width="100%">
|
||||
<tr>
|
||||
<th width='5%' class='titlemedium' align="center">{$ibforums->lang['s_transid']}</th>
|
||||
<th width='35%' class='titlemedium'>{$ibforums->lang['s_detail']}</th>
|
||||
<th width='20%' class='titlemedium' align="center">{$ibforums->lang['s_started']}</th>
|
||||
<th width='20%' class='titlemedium' align="center">{$ibforums->lang['s_end']}</th>
|
||||
<th width='10%' class='titlemedium' align="center">{$ibforums->lang['s_paid']}</th>
|
||||
<th width='10%' class='titlemedium' align="center">{$ibforums->lang['s_status']}</th>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function sub_choose_dead_row($id, $name, $start, $end, $paid, $state ) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class="row3" align="center">$id</td>
|
||||
<td class="row3"><b>$name</b></td>
|
||||
<td class="row3" align="center">$start</td>
|
||||
<td class="row3" align="center">$end</td>
|
||||
<td class="row3" align="center">{$paid}</td>
|
||||
<td class="row3" align="center">$state</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function sub_choose_dead_bottom() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</table>
|
||||
</div>
|
||||
<br />
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function sub_choose_upgrade_top($cur_id="", $currency="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br />
|
||||
<div class="pformstrip">{$ibforums->lang['s_upgrade_subs']}</div>
|
||||
<p>{$ibforums->lang['s_upgrade_explain']}</p>
|
||||
<br />
|
||||
<form action='{$ibforums->base_url}act=module&module=subscription&upgrade=1&CODE=paymentmethod&curid=$cur_id&currency=$currency' method='post'>
|
||||
<div class="tableborder">
|
||||
<table cellpadding='4' cellspacing='1' width="100%">
|
||||
<tr>
|
||||
<th width='5%' class='titlemedium'> </th>
|
||||
<th width='55%' class='titlemedium'>{$ibforums->lang['s_detail']}</th>
|
||||
<th width='20%' class='titlemedium' align="center">{$ibforums->lang['s_end']}</th>
|
||||
<th width='20%' class='titlemedium' align="center">{$ibforums->lang['s_balance_cost']}</th>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function sub_choose_upgrade_row($id, $name, $desc, $cost, $duration ) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class="row3" align="center"><input type='radio' name='sub' value="$id" /></td>
|
||||
<td class="row3"><b>$name</b><br /><i>$desc</i></td>
|
||||
<td class="row3" align="center">$duration</td>
|
||||
<td class="row3" align="center">{$cost}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function sub_choose_upgrade_bottom() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</table>
|
||||
</div>
|
||||
<div class='tableborder'>
|
||||
<div class='pformstrip' align="center"><input type='submit' value='{$ibforums->lang['s_continue_button']}' class='forminput' /></div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function sub_choose_new_top($currency) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class="pformstrip">{$ibforums->lang['s_available_subs']}</div>
|
||||
<p>{$ibforums->lang['s_explain']}</p>
|
||||
<br />
|
||||
<form action='{$ibforums->base_url}act=module&module=subscription&CODE=paymentmethod&currency=$currency' method='post'>
|
||||
<div class="tableborder">
|
||||
<table cellpadding='4' cellspacing='1' width="100%">
|
||||
<tr>
|
||||
<th width='5%' class='titlemedium'> </th>
|
||||
<th width='55%' class='titlemedium'>{$ibforums->lang['s_detail']}</th>
|
||||
<th width='20%' class='titlemedium' align="center">{$ibforums->lang['s_duration']}</th>
|
||||
<th width='20%' class='titlemedium' align="center">{$ibforums->lang['s_cost']}</th>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function sub_choose_new_row($id, $name, $desc, $cost, $duration ) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<tr>
|
||||
<td class="row3" align="center"><input type='radio' name='sub' value="$id" /></td>
|
||||
<td class="row3"><b>$name</b><br /><i>$desc</i></td>
|
||||
<td class="row3" align="center">$duration</td>
|
||||
<td class="row3" align="center">{$cost}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function sub_choose_new_bottom() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</table>
|
||||
</div>
|
||||
<div class='tableborder'>
|
||||
<div class='pformstrip' align="center"><input type='submit' value='{$ibforums->lang['s_continue_button']}' class='forminput' /></div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function sub_currency_change_form($select, $url) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div align='right'><form action="$url" method="post">{$ibforums->lang['cc_currency_in']} $select <input type='submit' value='{$ibforums->lang['cc_change']}' class='forminput' /></form></div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function sub_currency_change_top() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<select name='currency' class='forminput'>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function sub_currency_change_row($id, $name, $default="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<option value='$id' $default>$id $name</option>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function sub_currency_change_bottom() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</select>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -1,291 +1,410 @@
|
||||
<?php
|
||||
|
||||
class skin_topic {
|
||||
|
||||
|
||||
function report_link($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<span class='desc'><a href='{$ibforums->base_url}&act=report&f={$data['forum_id']}&t={$data['topic_id']}&p={$data['pid']}&st={$ibforums->input['st']}'>{$ibforums->lang['snitch_geezer_to_a_copper']}</a></span>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function ip_show($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<span class='desc'>{$ibforums->lang['ip']}: $data</span>
|
||||
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) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!--<table cellpadding='0' cellspacing='0' width='100%' border='0' align='right'>
|
||||
<tr>
|
||||
<td align='right'>-->
|
||||
<form method='POST' style='display:inline' 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' style="font-weight:bold;color:red">
|
||||
<option value='-1' style='color:black'>{$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 class='mainbg'>
|
||||
<!--IBF.TOPIC_ACTIVE-->
|
||||
<table width='100%' border='0' cellspacing='1' cellpadding='4'>
|
||||
<tr>
|
||||
<td class='titlemedium' 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->base_url}&act=Track&f={$data['FORUM']['id']}&t={$data['TOPIC']['tid']}'>{$ibforums->lang['track_topic']}</a> |
|
||||
<a href='{$ibforums->base_url}&act=Forward&f={$data['FORUM']['id']}&t={$data['TOPIC']['tid']}'>{$ibforums->lang['forward']}</a> |
|
||||
<a href='{$ibforums->base_url}&act=Print&client=printer&f={$data['FORUM']['id']}&t={$data['TOPIC']['tid']}'>{$ibforums->lang['print']}</a></b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width='<{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']}'><{A_POST}></a>{$data[TOPIC][POLL_BUTTON]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<table width='<{tbl_width}>' align='center' border='0' cellspacing='0' cellpadding='3'>
|
||||
<tr>
|
||||
<td width='60%' align='left'>
|
||||
<!--IBF.EMAIL_OPTIONS-->
|
||||
</td>
|
||||
<td width='40%' align='right' nowrap valign='top'>{$data[FORUM]['JUMP']}<br><br><!--IBF.MOD_PANEL--></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function email_options($tid, $fid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<table cellpadding='0' cellspacing='0' width='80%' align='left' border='0'>
|
||||
<tr>
|
||||
<td>
|
||||
<b><a href='{$ibforums->base_url}&act=Track&f=$fid&t=$tid'>{$ibforums->lang['tt_title']}</a></b>
|
||||
<br>{$ibforums->lang['tt_desc']}
|
||||
<br><br>
|
||||
<b><a href='{$ibforums->base_url}&act=Track&f=$fid&type=forum'>{$ibforums->lang['ft_title']}</a></b>
|
||||
<br>{$ibforums->lang['ft_desc']}
|
||||
<br><br>
|
||||
<b><a href='{$ibforums->base_url}&act=Print&client=choose&f=$fid&t=$tid'>{$ibforums->lang['av_title']}</a></b>
|
||||
<br>{$ibforums->lang['av_desc']}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function RenderRow($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!--Begin Msg Number {$data[POST]['pid']}-->
|
||||
<tr>
|
||||
<td valign='middle' class='posthead'><a name='entry{$data[POST]['pid']}'></a><span class='{$data[POST]['name_css']}'>{$data[POSTER]['name']}</span></td>
|
||||
<td class='posthead' valign='top'>
|
||||
<table width='100%' border='0' cellspacing='0' cellpadding='0'>
|
||||
<tr>
|
||||
<td class='posthead'>{$data[POST]['post_icon']}<span class='postdetails'><b>{$ibforums->lang['posted_on']}</b> {$data[POST]['post_date']}</span></td>
|
||||
<td class='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']}'><{P_QUOTE}></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign='top' class='{$data['POST']['post_css']}'>
|
||||
<span class='postdetails'>{$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></span>
|
||||
<img src='{$ibforums->vars['img_url']}/spacer.gif' alt='' width='160' height='1'><br>
|
||||
</td>
|
||||
<td width='100%' valign='top' class='{$data['POST']['post_css']}'><span class='postcolor'>{$data[POST]['post']} {$data[POST]['attachment']} {$data[POST]['signature']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='postfoot' align='left'>{$data[POST]['ip_address']} </td>
|
||||
<td class='postfoot' nowrap align='left'>
|
||||
<table width='100%' border='0' cellspacing='0' cellpadding='0'>
|
||||
<tr>
|
||||
<td class='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 class='postfoot' valign='middle' align='right'>{$data[POST]['report_link']} </td>
|
||||
<td class='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 class='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='<{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']}'><{A_POST}></a>{$data[TOPIC][POLL_BUTTON]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width='<{tbl_width}>' border='0' cellspacing='1' cellpadding='0' bgcolor='<{tbl_border}>' align='center'>
|
||||
<tr>
|
||||
<td class='maintitle'>
|
||||
<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%' class='maintitle'><b>{$data['TOPIC']['title']}</b>{$data['TOPIC']['description']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='mainbg'>
|
||||
<!--{IBF.POLL}-->
|
||||
<table width='100%' border='0' cellspacing='1' cellpadding='4'>
|
||||
<tr>
|
||||
<td width='100%' class='titlemedium' nowrap 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&client=printer&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 topic_active_users($active=array()) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<table width='100%' border='0' cellspacing='1' cellpadding='4'>
|
||||
<tr>
|
||||
<td class='titlemedium' align='left'>{$ibforums->lang['active_users_title']} ({$ibforums->lang['active_users_detail']})</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='forum1'><b>{$ibforums->lang['active_users_members']}</b> {$active['names']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
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' class='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' class='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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
<?php
|
||||
|
||||
class skin_topic {
|
||||
|
||||
function warn_level_warn($id, $percent) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
{$ibforums->lang['tt_warn']} (<a href="javascript:PopUp('{$ibforums->base_url}act=warn&mid={$id}&CODE=view','Pager','500','450','0','1','1','1')">{$percent}</a>%)
|
||||
EOF;
|
||||
}
|
||||
|
||||
function warn_level_rating($id, $level,$min=0,$max=10) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
< $min ( <a href="javascript:PopUp('{$ibforums->base_url}act=warn&mid={$id}&CODE=view','Pager','500','450','0','1','1','1')">{$level}</a> ) $max >
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function report_link($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<a href='{$ibforums->base_url}act=report&f={$data['forum_id']}&t={$data['topic_id']}&p={$data['pid']}&st={$ibforums->input['st']}'><{P_REPORT}></a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function ip_show($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<span class='desc'>{$ibforums->lang['ip']}: $data</span>
|
||||
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 mm_start($tid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br />
|
||||
<form action='{$ibforums->base_url}act=mmod&t=$tid' method='post'>
|
||||
<input type='hidden' name='check' value='1'>
|
||||
<select name='mm_id' class='forminput'>
|
||||
<option value='-1'>{$ibforums->lang['mm_title']}</option>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function mm_entry($id, $name) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<option value='$id'>$name</option>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function mm_end() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
</select> <input type='submit' value='{$ibforums->lang['mm_submit']}' class='forminput' /></form>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Mod_Panel($data, $fid, $tid, $key="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div align='left' style='float:left;width:auto'>
|
||||
<form method='POST' style='display:inline' name='modform' action='{$ibforums->base_url}'>
|
||||
<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='auth_key' value='$key' />
|
||||
<input type='hidden' name='act' value='Mod' />
|
||||
<select name='CODE' class='forminput' style="font-weight:bold;color:red">
|
||||
<option value='-1' style='color:black'>{$ibforums->lang['moderation_ops']}</option>
|
||||
$data
|
||||
</select> <input type='submit' value='{$ibforums->lang['jmp_go']}' class='forminput' /></form>
|
||||
</div>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function mod_wrapper($id="", $text="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<option value='$id'>$text</option>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
function quick_reply_box_open($fid="",$tid="",$show="hide", $key="") {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
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');
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<br />
|
||||
<div align='left' id='qr_open' style="display:$show;position:relative;">
|
||||
<form name='REPLIER' action="{$ibforums->base_url}" method='post'>
|
||||
<input type='hidden' name='act' value='Post' />
|
||||
<input type='hidden' name='CODE' value='03' />
|
||||
<input type='hidden' name='f' value='$fid' />
|
||||
<input type='hidden' name='t' value='$tid' />
|
||||
<input type='hidden' name='st' value='{$ibforums->input['st']}' />
|
||||
<input type='hidden' name='enabletrack' value='{$ibforums->member['auto_track']}' />
|
||||
<input type='hidden' name='auth_key' value='$key' />
|
||||
<!-- TITLE DIV -->
|
||||
<div class="tableborder">
|
||||
<div class='maintitle'><{CAT_IMG}> {$ibforums->lang['qr_title']}</div>
|
||||
<div class="tablepad" align="center">
|
||||
<textarea cols='70' rows='8' name='Post' class='textinput' tabindex="1"></textarea>
|
||||
<br /><br />
|
||||
<a href='javascript:emo_pop();'>{$ibforums->lang['show_emo']}</a> |
|
||||
<input type='checkbox' name='enableemo' value='yes' class="checkbox" checked="checked" /> {$ibforums->lang['qr_add_smilie']} |
|
||||
<input type='checkbox' name='enablesig' value='yes' class="checkbox" checked="checked" /> {$ibforums->lang['qr_add_sig']}
|
||||
<br /><br />
|
||||
<input type='submit' name='submit' value='{$ibforums->lang['qr_submit']}' class='forminput' tabindex="2" accesskey="s" />
|
||||
<input type='submit' name='preview' value='{$ibforums->lang['qr_more_opts']}' class='forminput' />
|
||||
<input type='button' name='qrc' onclick="ShowHide('qr_open','qr_closed');" value='{$ibforums->lang['qr_closeit']}' class='forminput' />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function quick_reply_box_closed() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<!-- DEFAULT DIV -->
|
||||
<a href="javascript:ShowHide('qr_open','qr_closed');" title="{$ibforums->lang['qr_open']}" accesskey="f"><{T_QREPLY}></a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function start_poll_link($fid, $tid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<a href="{$ibforums->base_url}act=Post&CODE=14&f=$fid&t=$tid">{$ibforums->lang['new_poll_link']}</a> |
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function PageTop($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<script language='javascript' type='text/javascript'>
|
||||
<!--
|
||||
|
||||
function link_to_post(pid)
|
||||
{
|
||||
temp = prompt( "{$ibforums->lang['tt_prompt']}", "{$ibforums->base_url}showtopic={$ibforums->input['t']}&view=findpost&p=" + pid );
|
||||
return false;
|
||||
}
|
||||
|
||||
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');
|
||||
}
|
||||
|
||||
function ShowHide(id1, id2) {
|
||||
if (id1 != '') expMenu(id1);
|
||||
if (id2 != '') expMenu(id2);
|
||||
}
|
||||
|
||||
function expMenu(id) {
|
||||
var itm = null;
|
||||
if (document.getElementById) {
|
||||
itm = document.getElementById(id);
|
||||
} else if (document.all){
|
||||
itm = document.all[id];
|
||||
} else if (document.layers){
|
||||
itm = document.layers[id];
|
||||
}
|
||||
|
||||
if (!itm) {
|
||||
// do nothing
|
||||
}
|
||||
else if (itm.style) {
|
||||
if (itm.style.display == "none") { itm.style.display = ""; }
|
||||
else { itm.style.display = "none"; }
|
||||
}
|
||||
else { itm.visibility = "show"; }
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<a name='top'></a>
|
||||
<!--IBF.FORUM_RULES-->
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align='left' width="20%" nowrap="nowrap">{$data['TOPIC']['SHOW_PAGES']} {$data['TOPIC']['go_new']}</td>
|
||||
<td align='right' width="80%">{$data[TOPIC][REPLY_BUTTON]}<a href='{$ibforums->base_url}act=Post&CODE=00&f={$data[FORUM]['id']}' title='{$ibforums->lang['start_new_topic']}'><{A_POST}></a>{$data[TOPIC][POLL_BUTTON]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<div class="tableborder">
|
||||
<div class='maintitle'><{CAT_IMG}> <b>{$data['TOPIC']['title']}</b>{$data['TOPIC']['description']}</div>
|
||||
<!--{IBF.POLL}-->
|
||||
<div align='right' class='postlinksbar'>
|
||||
<strong><!--{IBF.START_NEW_POLL}--><a href='{$ibforums->base_url}act=Track&f={$data['FORUM']['id']}&t={$data['TOPIC']['tid']}'>{$ibforums->lang['track_topic']}</a> |
|
||||
<a href='{$ibforums->base_url}act=Forward&f={$data['FORUM']['id']}&t={$data['TOPIC']['tid']}'>{$ibforums->lang['forward']}</a> |
|
||||
<a href='{$ibforums->base_url}act=Print&client=printer&f={$data['FORUM']['id']}&t={$data['TOPIC']['tid']}'>{$ibforums->lang['print']}</a></strong>
|
||||
</div>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function RenderRow($post, $author) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<!--Begin Msg Number {$post['pid']}-->
|
||||
<table width='100%' border='0' cellspacing='1' cellpadding='3'>
|
||||
<tr>
|
||||
<td valign='middle' class='row4' width="1%"><a name='entry{$post['pid']}'></a><span class='{$post['name_css']}'>{$author['name']}</span></td>
|
||||
<td class='row4' valign='top' width="99%">
|
||||
|
||||
<!-- POSTED DATE DIV -->
|
||||
|
||||
<div align='left' class='row4' style='float:left;padding-top:4px;padding-bottom:4px'>
|
||||
{$post['post_icon']}<span class='postdetails'><b><a title="{$ibforums->lang['tt_link']}" href="#" onclick="link_to_post({$post['pid']}); return false;" style="text-decoration:underline">{$ibforums->lang['posted_on']}</a></b> {$post['post_date']}</span>
|
||||
</div>
|
||||
|
||||
<!-- REPORT / DELETE / EDIT / QUOTE DIV -->
|
||||
|
||||
<div align='right'>
|
||||
{$post['report_link']}{$post['delete_button']}{$post['edit_button']}<a href='{$ibforums->base_url}act=Post&CODE=06&f={$ibforums->input[f]}&t={$ibforums->input[t]}&p={$post['pid']}'><{P_QUOTE}></a>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign='top' class='{$post['post_css']}'>
|
||||
<span class='postdetails'>{$author['avatar']}<br /><br />
|
||||
{$author['title']}<br />
|
||||
{$author['member_rank_img']}<br /><br />
|
||||
{$author['member_group']}<br />
|
||||
{$author['member_posts']}<br />
|
||||
{$author['member_number']}<br />
|
||||
{$author['member_joined']}<br /><br />
|
||||
{$author['warn_text']} {$author['warn_minus']}{$author['warn_img']}{$author['warn_add']}</span><br />
|
||||
<!--$ author[field_1]-->
|
||||
<img src='{$ibforums->vars['img_url']}/spacer.gif' alt='' width='160' height='1' /><br />
|
||||
</td>
|
||||
<td width='100%' valign='top' class='{$post['post_css']}'>
|
||||
<!-- THE POST {$post['pid']} -->
|
||||
<div class='postcolor'>{$post['post']} {$post['attachment']}</div>
|
||||
{$post['signature']}
|
||||
<!-- THE POST -->
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='darkrow3' align='left'><b>{$post['ip_address']}</b></td>
|
||||
<td class='darkrow3' nowrap="nowrap" align='left'>
|
||||
|
||||
<!-- PM / EMAIL / WWW / MSGR -->
|
||||
|
||||
<div align='left' class='darkrow3' style='float:left;width:auto'>
|
||||
{$author['addresscard']}{$author['message_icon']}{$author['email_icon']}{$author['website_icon']}{$author['integ_icon']}{$author['icq_icon']}{$author['aol_icon']}{$author['yahoo_icon']}{$author['msn_icon']}
|
||||
</div>
|
||||
|
||||
<!-- REPORT / UP -->
|
||||
|
||||
<div align='right'>
|
||||
<a href='javascript:scroll(0,0);'><img src='{$ibforums->vars['img_url']}/p_up.gif' alt='Top' border='0' /></a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class='darkrow1' style='height:5px'><!-- --></div>
|
||||
|
||||
EOF;
|
||||
}
|
||||
|
||||
function TableFooter($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
|
||||
<!--IBF.TOPIC_ACTIVE-->
|
||||
<div class="activeuserstrip" align="center">« <a href='{$ibforums->base_url}showtopic={$data[TOPIC]['tid']}&view=old'>{$ibforums->lang['t_old']}</a> | <strong><a href='{$ibforums->base_url}showforum={$data['FORUM']['id']}'>{$data['FORUM']['name']}</a></strong> | <a href='{$ibforums->base_url}showtopic={$data[TOPIC]['tid']}&view=new'>{$ibforums->lang['t_new']}</a> »</div>
|
||||
</div>
|
||||
|
||||
<br />
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align='left' width="20%" nowrap="nowrap"><!--IBF.TOPIC_OPTIONS_CLOSED-->{$data[TOPIC][SHOW_PAGES]}</td>
|
||||
<td align='right' width="80%">{$data[TOPIC][REPLY_BUTTON]}<!--IBF.QUICK_REPLY_CLOSED--><a href='{$ibforums->base_url}act=Post&CODE=00&f={$data[FORUM]['id']}' title='{$ibforums->lang['start_new_topic']}'><{A_POST}></a>{$data[TOPIC][POLL_BUTTON]}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<!--IBF.QUICK_REPLY_OPEN-->
|
||||
<!--IBF.TOPIC_OPTIONS_OPEN-->
|
||||
|
||||
<br />
|
||||
<!--IBF.MOD_PANEL-->
|
||||
<div align='right'>{$data[FORUM]['JUMP']}</div>
|
||||
<!--IBF.MULTIMOD-->
|
||||
<br />
|
||||
EOF;
|
||||
}
|
||||
|
||||
function topic_opts_open($fid, $tid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div id='topic_open' style='display:none;z-index:2;'>
|
||||
<div class="tableborder">
|
||||
<div class='maintitle'><{CAT_IMG}> <a href="javascript:ShowHide('topic_open','topic_closed')">{$ibforums->lang['to_close']}</a></div>
|
||||
<div class='tablepad'>
|
||||
<b><a href='{$ibforums->base_url}act=Track&f={$fid}&t={$tid}'>{$ibforums->lang['tt_title']}</a></b>
|
||||
<br />
|
||||
<span class='desc'>{$ibforums->lang['tt_desc']}</span>
|
||||
<br /><br />
|
||||
<b><a href='{$ibforums->base_url}act=Track&f={$fid}&type=forum'>{$ibforums->lang['ft_title']}</a></b>
|
||||
<br />
|
||||
<span class='desc'>{$ibforums->lang['ft_desc']}</span>
|
||||
<br /><br />
|
||||
<b><a href='{$ibforums->base_url}act=Print&client=choose&f={$fid}&t={$tid}'>{$ibforums->lang['av_title']}</a></b>
|
||||
<br />
|
||||
<span class='desc'>{$ibforums->lang['av_desc']}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function topic_opts_closed() {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<a href="javascript:ShowHide('topic_open','topic_closed')" title="{$ibforums->lang['to_open']}"><{T_OPTS}></a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
function topic_active_users($active=array()) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<div class="activeuserstrip">{$ibforums->lang['active_users_title']} ({$ibforums->lang['active_users_detail']})</div>
|
||||
<div class='row2' style='padding:6px'>{$ibforums->lang['active_users_members']} {$active['names']}</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Show_attachments_img($file_name) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br />
|
||||
<br />
|
||||
<strong><span class='edit'>{$ibforums->lang['pic_attach']}</span></strong>
|
||||
<br />
|
||||
<img src='{$ibforums->vars['upload_url']}/$file_name' class='attach' alt='{$ibforums->lang['pic_attach']}' />
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Show_attachments_img_thumb($file_name, $width, $height, $aid) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br />
|
||||
<br />
|
||||
<strong><span class='edit'>{$ibforums->lang['pic_attach_thumb']}</span></strong>
|
||||
<br />
|
||||
<a href='{$ibforums->base_url}act=Attach&type=post&id=$aid' title='{$ibforums->lang['pic_attach_thumb']}' target='_blank'><img src='{$ibforums->vars['upload_url']}/$file_name' width='$width' height='$height' class='attach' alt='{$ibforums->lang['pic_attach']}' /></a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
function Show_attachments($data) {
|
||||
global $ibforums;
|
||||
return <<<EOF
|
||||
<br />
|
||||
<br />
|
||||
<strong><span class='edit'>{$ibforums->lang['attached_file']} ( {$ibforums->lang['attach_hits']}: {$data['hits']} )</span></strong>
|
||||
<br />
|
||||
<a href='{$ibforums->base_url}act=Attach&type=post&id={$data['pid']}' title='{$ibforums->lang['attach_dl']}' target='_blank'><img src='{$ibforums->vars['mime_img']}/{$data['image']}' border='0' alt='{$ibforums->lang['attached_file']}' /></a>
|
||||
<a href='{$ibforums->base_url}act=Attach&type=post&id={$data['pid']}' title='{$ibforums->lang['attach_dl']}' target='_blank'>{$data['name']}</a>
|
||||
EOF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -2,15 +2,17 @@
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| IBFORUMS v1
|
||||
| Invision Power Board v1.3 Final
|
||||
| ========================================
|
||||
| by Matthew Mecham and David Baxter
|
||||
| (c) 2001,2002 IBForums
|
||||
| http://www.ibforums.com
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2003 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.ibforums.com
|
||||
| Email: phpboards@ibforums.com
|
||||
| Licence Info: phpib-licence@ibforums.com
|
||||
| Web: http://www.invisionboard.com
|
||||
| Time: Sun, 04 Jan 2004 00:30:16 GMT
|
||||
| Release: 28e7bfb25f08ac72a789cb1b172fa185
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > Admin wrapper script
|
||||
@@ -31,7 +33,7 @@ $is_on_tripod = 0;
|
||||
|
||||
// Root path
|
||||
|
||||
$root_path = "./";
|
||||
define( 'ROOT_PATH', './' );
|
||||
|
||||
// Check IP address to see if they match?
|
||||
// this may cause problems for users on proxies
|
||||
@@ -43,8 +45,13 @@ $check_ip = 1;
|
||||
// in the admin center?
|
||||
|
||||
$use_gzip = 1;
|
||||
|
||||
|
||||
|
||||
// Enable module usage?
|
||||
// (Vital for some mods and IPB enhancements)
|
||||
|
||||
define ( 'USE_MODULES', 1 );
|
||||
|
||||
|
||||
/*-----------------------------------------------
|
||||
NO USER EDITABLE SECTIONS BELOW
|
||||
------------------------------------------------*/
|
||||
@@ -52,6 +59,8 @@ $use_gzip = 1;
|
||||
error_reporting (E_ERROR | E_WARNING | E_PARSE);
|
||||
set_magic_quotes_runtime(0);
|
||||
|
||||
define ( 'IN_ACP', 1 );
|
||||
|
||||
if ( $is_on_tripod != 1 )
|
||||
{
|
||||
if (function_exists('ini_get'))
|
||||
@@ -97,14 +106,22 @@ class Debug {
|
||||
|
||||
class info {
|
||||
|
||||
var $vars = "";
|
||||
var $version = '1.0';
|
||||
|
||||
var $vars = "";
|
||||
var $version = '1.3';
|
||||
var $acpversion = '13005';
|
||||
var $base_url = '';
|
||||
|
||||
function info($INFO)
|
||||
{
|
||||
//global $INFO;
|
||||
$this->vars = $INFO;
|
||||
|
||||
$this->vars['TEAM_ICON_URL'] = $INFO['html_url'] . '/team_icons';
|
||||
$this->vars['AVATARS_URL'] = $INFO['html_url'] . '/avatars';
|
||||
$this->vars['EMOTICONS_URL'] = $INFO['html_url'] . '/emoticons';
|
||||
$this->vars['mime_img'] = $INFO['html_url'] . '/mime_types';
|
||||
|
||||
$this->base_url = $INFO['board_url']."/index.".$INFO['php_ext'].'?';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -114,7 +131,7 @@ class info {
|
||||
Import $INFO
|
||||
------------------------------------------------*/
|
||||
|
||||
require $root_path."conf_global.php";
|
||||
require ROOT_PATH."conf_global.php";
|
||||
|
||||
$ibforums = new info($INFO);
|
||||
|
||||
@@ -140,7 +157,7 @@ $PassWord = "";
|
||||
Load up our classes (compiled into one package)
|
||||
------------------------------------------------*/
|
||||
|
||||
require $root_path."sources/functions.php";
|
||||
require ROOT_PATH."sources/functions.php";
|
||||
|
||||
$std = new FUNC;
|
||||
|
||||
@@ -152,26 +169,30 @@ $IN = $std->parse_incoming();
|
||||
|
||||
$IN['AD_SESS'] = $HTTP_POST_VARS['adsess'] ? $HTTP_POST_VARS['adsess'] : $HTTP_GET_VARS['adsess'];
|
||||
|
||||
$IN['AD_SESS'] = $std->clean_value( $IN['AD_SESS'] );
|
||||
|
||||
/*-----------------------------------------------
|
||||
Import $PAGES and $CATS
|
||||
------------------------------------------------*/
|
||||
|
||||
require $root_path."sources/Admin/admin_pages.php";
|
||||
require ROOT_PATH."sources/Admin/admin_pages.php";
|
||||
|
||||
|
||||
/*-----------------------------------------------
|
||||
Import Skinable elements
|
||||
------------------------------------------------*/
|
||||
|
||||
require $root_path."sources/Admin/admin_skin.php";
|
||||
require ROOT_PATH."sources/Admin/admin_skin.php";
|
||||
|
||||
$SKIN = new admin_skin();
|
||||
|
||||
$skin_universal = &$SKIN; //To keep functions.php happy
|
||||
|
||||
/*-----------------------------------------------
|
||||
Import Admin Functions
|
||||
------------------------------------------------*/
|
||||
|
||||
require $root_path."sources/Admin/admin_functions.php";
|
||||
require ROOT_PATH."sources/Admin/admin_functions.php";
|
||||
|
||||
$ADMIN = new admin_functions();
|
||||
|
||||
@@ -181,7 +202,7 @@ $ADMIN = new admin_functions();
|
||||
|
||||
$INFO['sql_driver'] = !$INFO['sql_driver'] ? 'mySQL' : $INFO['sql_driver'];
|
||||
|
||||
$to_require = $root_path."sources/Drivers/".$INFO['sql_driver'].".php";
|
||||
$to_require = ROOT_PATH."sources/Drivers/".$INFO['sql_driver'].".php";
|
||||
require ($to_require);
|
||||
|
||||
$DB = new db_driver;
|
||||
@@ -205,6 +226,30 @@ $DB->connect();
|
||||
// Good eh?
|
||||
//------------------------------------------------
|
||||
|
||||
|
||||
//------------------------------------------------
|
||||
// Sort out settings cookie
|
||||
//------------------------------------------------
|
||||
|
||||
$INFO['menu'] = 0;
|
||||
$INFO['tx'] = 80;
|
||||
$INFO['ty'] = 40;
|
||||
$INFO['preview'] = "";
|
||||
|
||||
if ( $cookie = $std->my_getcookie('acpprefs') )
|
||||
{
|
||||
list( $INFO['menu'], $INFO['tx'], $INFO['ty'], $INFO['preview'] ) = explode( ",", $cookie );
|
||||
}
|
||||
|
||||
//------------------------------------------------
|
||||
// ME 'N U!
|
||||
//------------------------------------------------
|
||||
|
||||
if ( ! isset($IN['show']) )
|
||||
{
|
||||
$IN['show'] = $std->my_getcookie('acpmenu');
|
||||
}
|
||||
|
||||
if ($IN['show'] == 'none')
|
||||
{
|
||||
$IN['show'] = "";
|
||||
@@ -372,7 +417,9 @@ else
|
||||
// DB
|
||||
//----------------------------------
|
||||
|
||||
$DB->query("SELECT name, password, id, mgroup FROM ibf_members WHERE LOWER(name)='".strtolower($IN['username'])."'");
|
||||
$username = strtolower(str_replace( '|', '|', $IN['username']) );
|
||||
|
||||
$DB->query("SELECT name, password, id, mgroup FROM ibf_members WHERE LOWER(name)='".$username."'");
|
||||
$mem = $DB->fetch_row();
|
||||
|
||||
if ( empty($mem['id']) )
|
||||
@@ -502,7 +549,7 @@ else
|
||||
|
||||
|
||||
function do_login($message="") {
|
||||
global $IN, $DB, $ADMIN, $SKIN;
|
||||
global $IN, $DB, $ADMIN, $SKIN, $std;
|
||||
|
||||
//-------------------------------------------------------
|
||||
// Remove all out of date sessions, like a good boy. Woof.
|
||||
@@ -527,6 +574,29 @@ function do_login($message="") {
|
||||
//-->
|
||||
</script>
|
||||
";
|
||||
//+------------------------------------------------------
|
||||
//| SEMI-AUTO Log in ma-thingy?
|
||||
//+------------------------------------------------------
|
||||
|
||||
$name = "";
|
||||
$extra = "";
|
||||
|
||||
$mid = intval( $std->my_getcookie('member_id') );
|
||||
|
||||
if ( $mid > 0 )
|
||||
{
|
||||
$DB->query("SELECT m.id, m.name, m.mgroup, g.g_access_cp FROM ibf_members m, ibf_groups g WHERE m.id=$mid AND g.g_id=m.mgroup AND g.g_access_cp=1");
|
||||
|
||||
if ( $r = $DB->fetch_row() )
|
||||
{
|
||||
$name = $r['name'];
|
||||
$extra = 'onload="document.theAdminForm.password.focus();"';
|
||||
}
|
||||
}
|
||||
|
||||
//+------------------------------------------------------
|
||||
//| SHW DA FRM (txt msg stylee)
|
||||
//+------------------------------------------------------
|
||||
|
||||
$ADMIN->html .= $SKIN->start_form( array( 1 => array('login', 'yes') ) );
|
||||
|
||||
@@ -536,7 +606,7 @@ function do_login($message="") {
|
||||
$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=''>",
|
||||
"<input type='text' style='width:100%' name='username' value='$name'>",
|
||||
) );
|
||||
|
||||
$ADMIN->html .= $SKIN->add_td_row( array( "Your Forums Password:",
|
||||
@@ -546,6 +616,10 @@ function do_login($message="") {
|
||||
$ADMIN->html .= $SKIN->end_form("Log in");
|
||||
|
||||
$ADMIN->html .= $SKIN->end_table();
|
||||
|
||||
$SKIN->top_extra = $extra;
|
||||
|
||||
$ADMIN->no_jump = 1;
|
||||
|
||||
$ADMIN->output();
|
||||
|
||||
@@ -556,7 +630,20 @@ function do_login($message="") {
|
||||
|
||||
|
||||
function do_admin_stuff() {
|
||||
global $IN, $root_path, $INFO, $DB, $SKIN, $ADMIN, $std, $MEMBER, $GROUP, $ibforums;
|
||||
global $IN, $INFO, $DB, $SKIN, $ADMIN, $std, $MEMBER, $GROUP, $ibforums;
|
||||
|
||||
if ( $INFO['ipb_reg_number'] )
|
||||
{
|
||||
list( $a, $b, $c, $d, $e ) = explode( '-', $INFO['ipb_reg_number'] );
|
||||
|
||||
if ( strlen($e) > 9 )
|
||||
{
|
||||
if ( time() > $e )
|
||||
{
|
||||
$ADMIN->rebuild_config( array( 'ipb_reg_number' => '' ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------
|
||||
@@ -590,6 +677,16 @@ function do_admin_stuff() {
|
||||
'adminlog' => "adminlogs",
|
||||
'ips' => 'ips',
|
||||
'mysql' => 'mysql',
|
||||
'pin' => 'plugins',
|
||||
'emaillog' => 'emaillogs',
|
||||
'multimod' => 'multi_moderate',
|
||||
'prefs' => "prefs",
|
||||
'spiderlog' => "spiderlogs",
|
||||
'warnlog' => "warnlogs",
|
||||
'csite' => 'ad_dynamiclite',
|
||||
'msubs' => 'subsmanager',
|
||||
'mtools' => 'member_tools',
|
||||
'skinfix' => 'skinfix',
|
||||
);
|
||||
|
||||
|
||||
@@ -598,7 +695,8 @@ function do_admin_stuff() {
|
||||
$IN['act'] = $IN['act'] == '' ? "idx" : $IN['act'];
|
||||
|
||||
// Check to make sure the array key exits..
|
||||
if (! isset($choice[$IN['act']]) ) {
|
||||
if (! isset($choice[$IN['act']]) )
|
||||
{
|
||||
$IN['act'] = 'idx';
|
||||
}
|
||||
|
||||
@@ -613,9 +711,13 @@ function do_admin_stuff() {
|
||||
{
|
||||
$ADMIN->menu();
|
||||
}
|
||||
else if ($IN['act'] == 'csite')
|
||||
{
|
||||
require ROOT_PATH."sources/dynamiclite/ad_dynamiclite.php";
|
||||
}
|
||||
else
|
||||
{
|
||||
require $root_path."sources/Admin/ad_".$choice[$IN['act']].".php";
|
||||
require ROOT_PATH."sources/Admin/ad_".$choice[$IN['act']].".php";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,133 @@
|
||||
/* FIX IE6 Scrollbars bug - Leave this in! */
|
||||
html { overflow-x: auto; }
|
||||
|
||||
/* Body entry, change forum page background colour, default font, font size, etc. Leave text-align:center to center board content
|
||||
#ipwrapper will set text-align back to left for the forum. Any other tables / divs you use must use text-align:left to re-align
|
||||
the content properly. This is a work around to a known Internet Explorer bug */
|
||||
BODY { font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 11px; color: #000; margin:0px;padding:0px;background-color:#FFF; text-align:center }
|
||||
TABLE, TR, TD { font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 11px; color: #000; }
|
||||
|
||||
/* MAIN WRAPPER: Adjust forum width here. Leave margins alone to auto-center content */
|
||||
#ipbwrapper { text-align:left; width:95%; margin-left:auto;margin-right:auto }
|
||||
#ipbwrapper img { vertical-align:middle; border: 0px }
|
||||
|
||||
a:link, a:visited, a:active { text-decoration: underline; color: #000 }
|
||||
a:hover { color: #465584; text-decoration:underline }
|
||||
|
||||
fieldset.search { padding:6px; line-height:150% }
|
||||
label { cursor:pointer; }
|
||||
form { display:inline; }
|
||||
img.attach { border:2px outset #EEF2F7;padding:2px }
|
||||
|
||||
.googleroot { padding:6px; line-height:130% }
|
||||
.googlechild { padding:6px; margin-left:30px; line-height:130% }
|
||||
.googlebottom, .googlebottom a:link, .googlebottom a:visited, .googlebottom a:active { font-size:11px; color: #3A4F6C; }
|
||||
.googlish, .googlish a:link, .googlish a:visited, .googlish a:active { font-size:14px; font-weight:bold; color:#00D; }
|
||||
.googlepagelinks { font-size:1.1em; letter-spacing:1px }
|
||||
.googlesmall, .googlesmall a:link, .googlesmall a:active, .googlesmall a:visited { font-size:10px; color:#434951 }
|
||||
|
||||
li.helprow { padding:0px; margin:0px 0px 10px 0px }
|
||||
ul#help { padding:0px 0px 0px 15px }
|
||||
|
||||
option.cat { font-weight:bold; }
|
||||
option.sub { font-weight:bold;color:#555 }
|
||||
.caldate { text-align:right;font-weight:bold;font-size:11px;color:#777;background-color:#DFE6EF;padding:4px;margin:0px }
|
||||
|
||||
.warngood { color:green }
|
||||
.warnbad { color:red }
|
||||
|
||||
#padandcenter { margin-left:auto;margin-right:auto;text-align:center;padding:14px 0px 14px 0px }
|
||||
|
||||
#profilename { font-size:28px; font-weight:bold; }
|
||||
#calendarname { font-size:22px; font-weight:bold; }
|
||||
|
||||
#photowrap { padding:6px; }
|
||||
#phototitle { font-size:24px; border-bottom:1px solid black }
|
||||
#photoimg { text-align:center; margin-top:15px }
|
||||
|
||||
#ucpmenu { line-height:150%;width:22%; border:1px solid #345487;background-color: #F5F9FD }
|
||||
#ucpmenu p { padding:2px 5px 6px 9px;margin:0px; }
|
||||
#ucpcontent { background-color: #F5F9FD; border:1px solid #345487;line-height:150%; width:auto }
|
||||
#ucpcontent p { padding:10px;margin:0px; }
|
||||
|
||||
#ipsbanner { position:absolute;top:1px;right:5%; }
|
||||
#logostrip { border:1px solid #345487;background-color: #3860BB;background-image:url(style_images/<#IMG_DIR#>/tile_back.gif);padding:0px;margin:0px; }
|
||||
#submenu { border:1px solid #BCD0ED;background-color: #DFE6EF;font-size:10px;margin:3px 0px 3px 0px;color:#3A4F6C;font-weight:bold;}
|
||||
#submenu a:link, #submenu a:visited, #submenu a:active { font-weight:bold;font-size:10px;text-decoration: none; color: #3A4F6C; }
|
||||
#userlinks { border:1px solid #C2CFDF; background-color: #F0F5FA }
|
||||
|
||||
#navstrip { font-weight:bold;padding:6px 0px 6px 0px; }
|
||||
|
||||
.activeuserstrip { background-color:#BCD0ED; padding:6px }
|
||||
|
||||
/* Form stuff (post / profile / etc) */
|
||||
.pformstrip { background-color: #D1DCEB; color:#3A4F6C;font-weight:bold;padding:7px;margin-top:1px }
|
||||
.pformleft { background-color: #F5F9FD; padding:6px; margin-top:1px;width:25%; border-top:1px solid #C2CFDF; border-right:1px solid #C2CFDF; }
|
||||
.pformleftw { background-color: #F5F9FD; padding:6px; margin-top:1px;width:40%; border-top:1px solid #C2CFDF; border-right:1px solid #C2CFDF; }
|
||||
.pformright { background-color: #F5F9FD; padding:6px; margin-top:1px;border-top:1px solid #C2CFDF; }
|
||||
|
||||
/* Topic View elements */
|
||||
.signature { font-size: 10px; color: #339; line-height:150% }
|
||||
.postdetails { font-size: 10px }
|
||||
.postcolor { font-size: 12px; line-height: 160% }
|
||||
|
||||
.normalname { font-size: 12px; font-weight: bold; color: #003 }
|
||||
.normalname a:link, .normalname a:visited, .normalname a:active { font-size: 12px }
|
||||
.unreg { font-size: 11px; font-weight: bold; color: #900 }
|
||||
|
||||
.post1 { background-color: #F5F9FD }
|
||||
.post2 { background-color: #EEF2F7 }
|
||||
.postlinksbar { background-color:#D1DCEB;padding:7px;margin-top:1px;font-size:10px; background-image: url(style_images/<#IMG_DIR#>/tile_sub.gif) }
|
||||
|
||||
/* Common elements */
|
||||
.row1 { background-color: #F5F9FD }
|
||||
.row2 { background-color: #DFE6EF }
|
||||
.row3 { background-color: #EEF2F7 }
|
||||
.row4 { background-color: #E4EAF2 }
|
||||
|
||||
.darkrow1 { background-color: #C2CFDF; color:#4C77B6; }
|
||||
.darkrow2 { background-color: #BCD0ED; color:#3A4F6C; }
|
||||
.darkrow3 { background-color: #D1DCEB; color:#3A4F6C; }
|
||||
|
||||
.hlight { background-color: #DFE6EF }
|
||||
.dlight { background-color: #EEF2F7 }
|
||||
|
||||
.titlemedium { font-weight:bold; color:#3A4F6C; padding:7px; margin:0px; background-image: url(style_images/<#IMG_DIR#>/tile_sub.gif) }
|
||||
.titlemedium a:link, .titlemedium a:visited, .titlemedium a:active { text-decoration: underline; color: #3A4F6C }
|
||||
|
||||
/* Main table top (dark blue gradient by default) */
|
||||
.maintitle { vertical-align:middle;font-weight:bold; color:#FFF; padding:8px 0px 8px 5px; background-image: url(style_images/<#IMG_DIR#>/tile_back.gif) }
|
||||
.maintitle a:link, .maintitle a:visited, .maintitle a:active { text-decoration: none; color: #FFF }
|
||||
.maintitle a:hover { text-decoration: underline }
|
||||
|
||||
/* tableborders gives the white column / row lines effect */
|
||||
.plainborder { border:1px solid #345487;background-color:#F5F9FD }
|
||||
.tableborder { border:1px solid #345487;background-color:#FFF; padding:0; margin:0 }
|
||||
.tablefill { border:1px solid #345487;background-color:#F5F9FD;padding:6px; }
|
||||
.tablepad { background-color:#F5F9FD;padding:6px }
|
||||
.tablebasic { width:100%; padding:0px 0px 0px 0px; margin:0px; border:0px }
|
||||
|
||||
.wrapmini { float:left;line-height:1.5em;width:25% }
|
||||
.pagelinks { float:left;line-height:1.2em;width:35% }
|
||||
|
||||
.desc { font-size:10px; color:#434951 }
|
||||
.edit { font-size: 9px }
|
||||
|
||||
|
||||
.searchlite { font-weight:bold; color:#F00; background-color:#FF0 }
|
||||
|
||||
#QUOTE { white-space:normal; font-family: Verdana, Arial; font-size: 11px; color: #465584; background-color: #FAFCFE; border: 1px solid #000; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px }
|
||||
#CODE { white-space:normal; font-family: Courier, Courier New, Verdana, Arial; font-size: 11px; color: #465584; background-color: #FAFCFE; border: 1px solid #000; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px }
|
||||
|
||||
.copyright { font-family: Verdana, Tahoma, Arial, Sans-Serif; font-size: 9px; line-height: 12px }
|
||||
|
||||
.codebuttons { font-size: 10px; font-family: verdana, helvetica, sans-serif; vertical-align: middle }
|
||||
.forminput, .textinput, .radiobutton, .checkbox { font-size: 11px; font-family: verdana, helvetica, sans-serif; vertical-align: middle }
|
||||
|
||||
.thin { padding:6px 0px 6px 0px;line-height:140%;margin:2px 0px 2px 0px;border-top:1px solid #FFF;border-bottom:1px solid #FFF }
|
||||
|
||||
.purple { color:purple;font-weight:bold }
|
||||
.red { color:red;font-weight:bold }
|
||||
.green { color:green;font-weight:bold }
|
||||
.blue { color:blue;font-weight:bold }
|
||||
.orange { color:#F90;font-weight:bold }
|
||||
@@ -0,0 +1 @@
|
||||
<html>␍<head><title>Invision Power Board - Bulletin Board System</title></head>␍<body>␍<h1>403: Invision Power Board -> 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/">Invision Power Board</a>␍</body>␍</html>␍
|
||||
@@ -29,7 +29,7 @@ $INFO['member_group'] = '3';
|
||||
$INFO['guest_group'] = '2';
|
||||
$INFO['boardname'] = 'IBForums';
|
||||
$INFO['board_desc'] = 'Website forums';
|
||||
$INFO['board_name'] = 'IBForums';
|
||||
$INFO['board_name'] = 'Invision Power Board';
|
||||
$INFO['php_ext'] = 'php';
|
||||
$INFO['board_url'] = '';
|
||||
$INFO['match_browser'] = '0';
|
||||
@@ -60,7 +60,7 @@ $INFO['etfilter_shout'] = '0';
|
||||
$INFO['flood_control'] = '30';
|
||||
$INFO['force_login'] = '0';
|
||||
$INFO['show_img_upload'] = '1';
|
||||
$INFO['home_name'] = 'ibforums.com';
|
||||
$INFO['home_name'] = 'Site Home';
|
||||
$INFO['home_url'] = 'http://localhost';
|
||||
$INFO['hot_topic'] = '15';
|
||||
$INFO['html_dir'] = '';
|
||||
|
||||
@@ -6,10 +6,11 @@ $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' ) ,
|
||||
"image/x-png" => array( 1, 'quicktime.gif' , 'PNG Image' , 1 ) ,
|
||||
"image/png" => array( 1, 'quicktime.gif' , 'PNG Image' , 1 ) ,
|
||||
"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' ) ,
|
||||
"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 ) ,
|
||||
@@ -35,6 +36,8 @@ $mime_types = array(
|
||||
"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) ,
|
||||
"application/x-shockwave-flash"=> array( 0, 'quicktime.gif' , 'Flash' ,0) ,
|
||||
|
||||
);
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
<?
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Pretend we're a css sheet but process a saved cache file and convert
|
||||
// over the img_dir stuff.
|
||||
//
|
||||
// Sneaky!
|
||||
//-------------------------------------------------------------------
|
||||
|
||||
|
||||
$root_path = './';
|
||||
|
||||
$in = explode( "_", $_GET['d'], 2 );
|
||||
|
||||
$css_id = intval($in[0]);
|
||||
$img_id = preg_replace( "/.css$/", "", $in[1] );
|
||||
$data = "";
|
||||
|
||||
if ( $css_id && $img_id )
|
||||
{
|
||||
if ( $FH = @fopen( $root_path."cache/css_{$css_id}.css", 'r' ) )
|
||||
{
|
||||
$data = @fread( $FH, @filesize($root_path."cache/css_{$css_id}.css") );
|
||||
@fclose( $FH );
|
||||
}
|
||||
}
|
||||
|
||||
$data = str_replace( "<#IMG_DIR#>", $img_id, $data );
|
||||
|
||||
@header( "Content-type: text/css" );
|
||||
print $data;
|
||||
exit();
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,33 @@
|
||||
Fonts by Tom Murphy 7
|
||||
---------------------
|
||||
|
||||
http://fonts.tom7.com/
|
||||
|
||||
This is the official version of the license for all the fonts (except where noted). It supercedes any other licenses circulating.
|
||||
|
||||
I am employing a very generous license with these fonts (the way I think most software should be) for a number of reasons. Mainly though, it is because I would be making fonts regardless of whether I was distributing them or not, and because I know that people benefit from the fact that I give them away. I take enough stuff for free and it makes me feel good to know that I am 'giving back'.
|
||||
|
||||
Here is the license. You are free to download and use these fonts without my explicit permission for anything you want, except for the following:
|
||||
You may NOT * resell the actual font files (without my written permission and without having to give me something in return). This includes but is not limited to selling it on a Font CD (even when the fee involved is a nominal "distribution" or "handling" fee, or some similar thing), or distributing it on a site which charges a fee per font download. (In contrast, a pay-per-hour service such as America Online is free to distribute the fonts.)
|
||||
You may not misrepresent the creator of the font (pretend you made them)
|
||||
You may not adapt them to different fonts without my permission.
|
||||
You may not modify the font files for subsequent redistribution.
|
||||
|
||||
However, you have permission to do the following:
|
||||
Use them to make graphics for your home page, non-profit web page, or commerical web site.
|
||||
Give them to your friends for free.
|
||||
Make them available (for free) on your web page, as long as you don't pretend you made them. It'd be nice of you to include this README file, too.
|
||||
Use them in design work that you get paid for.
|
||||
Use them in any smalltime publications or fliers or other non mass-produced literature.
|
||||
Make commercial products like T-shirts or Mugs or Books using the fonts and sell them. In this case, since you are indirectly profiting off of my work, I ask that you send me one of the T-shirts or Mugs or Books free, where reasonable . Obviously some discretion on your part is due; but try to be fair. If it is inappropriate for you to send me one of your product, at least make an attempt to write me an e-mail at imightbetm@aol.com and let me know where the font is being used.
|
||||
|
||||
Exception to the above: The fonts (or converted versions of them) may be included on any recognized distribution of the Linux and (Open/Net/Free)BSD operating systems, even if the CD is sold. Please include the readme .
|
||||
|
||||
* "Not", as in, "Not without my permission". I regularly give permission for this sort of thing, so if you want to redistribute the fonts for a fee, let me know and we can probably work something out. Generally I simply request a copy of the CD or magazine or whatever.
|
||||
|
||||
For your information, here is my address:
|
||||
Permanent address:
|
||||
Tom Murphy 7
|
||||
339 Still Hill Rd
|
||||
Hamden CT 06518.1830
|
||||
USA
|
||||
@@ -0,0 +1 @@
|
||||
<html>␍<head><title>Invision Power Board - Bulletin Board System</title></head>␍<body>␍<h1>403: Invision Power Board -> 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/">Invision Power Board</a>␍</body>␍</html>␍
|
||||
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 5.8 KiB |
|
After Width: | Height: | Size: 4.5 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 6.2 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 6.7 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 5.4 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
@@ -0,0 +1,31 @@
|
||||
Readme for Avatars Distributed with Invisionboard
|
||||
-------------------------------------------------
|
||||
|
||||
The avatars distributed with Invisionboard were created by members of the Invisionboard
|
||||
community. As such, the creator of each avatar is responsible for the copyright of each image.
|
||||
Invisionboard does not claim to own any of the images, and any questions regarding individual
|
||||
avatars should be directed to the original creator.
|
||||
|
||||
|
||||
Author of each Avatar
|
||||
----------------------
|
||||
|
||||
IBFstars.jpg - chrishanke
|
||||
Whale.jpg - Jay144
|
||||
Hammer-man.jpg - Jay144
|
||||
Dolphin.jpg - Jay144
|
||||
Crazyman.jpg - Jay144
|
||||
Meow.gif - SoftwareX
|
||||
Woof.gif - SoftwareX
|
||||
Melon.gif - Adam
|
||||
Leaf.gif - Adam
|
||||
Golfball.gif - Adam
|
||||
Fish.gif - Adam
|
||||
Aeroplane.gif - Adam
|
||||
No-Avatar.gif - //n2
|
||||
Pow.gif - //n2
|
||||
Radioactive - //n2
|
||||
Wub.gif - //n2
|
||||
Pink-sea.gif - Xerro
|
||||
Orange-sticks.gif - Xerro
|
||||
Green-haze.gif - Xerro
|
||||
|
Before Width: | Height: | Size: 325 B |
@@ -0,0 +1 @@
|
||||
<html>␍<head><title>Invision Power Board - Bulletin Board System</title></head>␍<body>␍<h1>403: Invision Power Board -> 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/">Invision Power Board</a>␍</body>␍</html>␍
|
||||
|
Before Width: | Height: | Size: 699 B After Width: | Height: | Size: 698 B |
@@ -1 +1,394 @@
|
||||
//--------------------------------------------
// Set up our simple tag open values
//--------------------------------------------
var B_open = 0;
var I_open = 0;
var U_open = 0;
var QUOTE_open = 0;
var CODE_open = 0;
var SQL_open = 0;
var HTML_open = 0;
var bbtags = new Array();
// Set the initial radio button status based on cookies
var allcookies = document.cookie;
var pos = allcookies.indexOf("bbmode=");
prep_mode();
function prep_mode()
{
if (pos != 1) {
var cstart = pos + 7;
var cend = allcookies.indexOf(";", cstart);
if (cend == -1) { cend = allcookies.length; }
cvalue = allcookies.substring(cstart, cend);
if (cvalue == 'ezmode') {
document.REPLIER.bbmode[0].checked = true;
} else {
document.REPLIER.bbmode[1].checked = true;
}
} else {
// default to normal mode.
document.REPLIER.bbmode[1].checked = true;
}
}
function setmode(mVal)
{
document.cookie = "bbmode="+mVal+"; path=/; expires=Wed, 1 Jan 2020 00:00:00 GMT;";
}
function get_easy_mode_state()
{
// Returns true if we've chosen easy mode
if (document.REPLIER.bbmode[0].checked)
{
return true;
}
else
{
return false;
}
}
//--------------------------------------------
// Set the help bar status
//--------------------------------------------
function hstat(msg)
{
document.REPLIER.helpbox.value = eval( "help_" + msg );
}
// Set the number of tags open box
function cstat()
{
var c = stacksize(bbtags);
if ( (c < 1) || (c == null) )
{
c = 0;
}
if ( ! bbtags[0] )
{
c = 0;
}
document.REPLIER.tagcount.value = c;
}
//--------------------------------------------
// 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 all tags
//--------------------------------------------
function closeall()
{
if (bbtags[0])
{
while (bbtags[0])
{
tagRemove = popstack(bbtags)
document.REPLIER.Post.value += "[/" + tagRemove + "]";
// Change the button status
eval("document.REPLIER." + tagRemove + ".value = ' " + tagRemove + " '");
eval(tagRemove + "_open = 0");
}
}
// Ensure we got them all
document.REPLIER.tagcount.value = 0;
bbtags = new array();
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 + "] [/" + 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)
{
var tagOpen = eval(thetag + "_open");
if ( get_easy_mode_state() )
{
inserttext = prompt(prompt_start + "\n[" + thetag + "]xxx[/" + thetag + "]");
if ( (inserttext != null) && (inserttext != "") )
{
document.REPLIER.Post.value += "[" + thetag + "]" + inserttext + "[/" + thetag + "] ";
}
}
else
{
if (tagOpen == 0)
{
document.REPLIER.Post.value += "[" + thetag + "]";
eval(thetag + "_open = 1");
// Change the button status
eval("document.REPLIER." + thetag + ".value += '*'");
pushstack(bbtags, thetag);
cstat();
hstat('click_close');
}
else
{
// Find the last occurance of the opened tag
lastindex = 0;
for (i = 0 ;
Line truncated
|
||||
//--------------------------------------------
|
||||
// Set up our simple tag open values
|
||||
//--------------------------------------------
|
||||
//
|
||||
// Modified by Volker Puttrich to allow IE 4+
|
||||
// on windows to use cursor position for inserting
|
||||
// tags / smilies
|
||||
|
||||
var B_open = 0;
|
||||
var I_open = 0;
|
||||
var U_open = 0;
|
||||
var QUOTE_open = 0;
|
||||
var CODE_open = 0;
|
||||
var SQL_open = 0;
|
||||
var HTML_open = 0;
|
||||
|
||||
var bbtags = new Array();
|
||||
|
||||
// Determine browser type and stuff.
|
||||
// Borrowed from http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html
|
||||
|
||||
var myAgent = navigator.userAgent.toLowerCase();
|
||||
var myVersion = parseInt(navigator.appVersion);
|
||||
|
||||
var is_ie = ((myAgent.indexOf("msie") != -1) && (myAgent.indexOf("opera") == -1));
|
||||
var is_nav = ((myAgent.indexOf('mozilla')!=-1) && (myAgent.indexOf('spoofer')==-1)
|
||||
&& (myAgent.indexOf('compatible') == -1) && (myAgent.indexOf('opera')==-1)
|
||||
&& (myAgent.indexOf('webtv') ==-1) && (myAgent.indexOf('hotjava')==-1));
|
||||
|
||||
var is_win = ((myAgent.indexOf("win")!=-1) || (myAgent.indexOf("16bit")!=-1));
|
||||
var is_mac = (myAgent.indexOf("mac")!=-1);
|
||||
|
||||
// Set the initial radio button status based on cookies
|
||||
|
||||
var allcookies = document.cookie;
|
||||
var pos = allcookies.indexOf("bbmode=");
|
||||
|
||||
prep_mode();
|
||||
|
||||
function prep_mode()
|
||||
{
|
||||
if (pos != 1) {
|
||||
var cstart = pos + 7;
|
||||
var cend = allcookies.indexOf(";", cstart);
|
||||
if (cend == -1) { cend = allcookies.length; }
|
||||
cvalue = allcookies.substring(cstart, cend);
|
||||
|
||||
if (cvalue == 'ezmode') {
|
||||
document.REPLIER.bbmode[0].checked = true;
|
||||
} else {
|
||||
document.REPLIER.bbmode[1].checked = true;
|
||||
}
|
||||
}
|
||||
else {
|
||||
// default to normal mode.
|
||||
document.REPLIER.bbmode[1].checked = true;
|
||||
}
|
||||
}
|
||||
|
||||
function setmode(mVal)
|
||||
{
|
||||
document.cookie = "bbmode="+mVal+"; path=/; expires=Wed, 1 Jan 2020 00:00:00 GMT;";
|
||||
}
|
||||
|
||||
function get_easy_mode_state()
|
||||
{
|
||||
// Returns true if we've chosen easy mode
|
||||
|
||||
if (document.REPLIER.bbmode[0].checked) {
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------
|
||||
// Set the help bar status
|
||||
//--------------------------------------------
|
||||
|
||||
function hstat(msg)
|
||||
{
|
||||
document.REPLIER.helpbox.value = eval( "help_" + msg );
|
||||
}
|
||||
|
||||
// Set the number of tags open box
|
||||
|
||||
function cstat()
|
||||
{
|
||||
var c = stacksize(bbtags);
|
||||
|
||||
if ( (c < 1) || (c == null) ) {
|
||||
c = 0;
|
||||
}
|
||||
|
||||
if ( ! bbtags[0] ) {
|
||||
c = 0;
|
||||
}
|
||||
|
||||
document.REPLIER.tagcount.value = c;
|
||||
}
|
||||
|
||||
//--------------------------------------------
|
||||
// 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 all tags
|
||||
//--------------------------------------------
|
||||
|
||||
function closeall()
|
||||
{
|
||||
if (bbtags[0]) {
|
||||
while (bbtags[0]) {
|
||||
tagRemove = popstack(bbtags)
|
||||
document.REPLIER.Post.value += "[/" + tagRemove + "]";
|
||||
|
||||
// Change the button status
|
||||
// Ensure we're not looking for FONT, SIZE or COLOR as these
|
||||
// buttons don't exist, they are select lists instead.
|
||||
|
||||
if ( (tagRemove != 'FONT') && (tagRemove != 'SIZE') && (tagRemove != 'COLOR') )
|
||||
{
|
||||
eval("document.REPLIER." + tagRemove + ".value = ' " + tagRemove + " '");
|
||||
eval(tagRemove + "_open = 0");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Ensure we got them all
|
||||
document.REPLIER.tagcount.value = 0;
|
||||
bbtags = new Array();
|
||||
document.REPLIER.Post.focus();
|
||||
}
|
||||
|
||||
//--------------------------------------------
|
||||
// EMOTICONS
|
||||
//--------------------------------------------
|
||||
|
||||
function emoticon(theSmilie)
|
||||
{
|
||||
doInsert(" " + theSmilie + " ", "", false);
|
||||
}
|
||||
|
||||
//--------------------------------------------
|
||||
// ADD CODE
|
||||
//--------------------------------------------
|
||||
|
||||
function add_code(NewCode)
|
||||
{
|
||||
document.REPLIER.Post.value += NewCode;
|
||||
document.REPLIER.Post.focus();
|
||||
}
|
||||
|
||||
//--------------------------------------------
|
||||
// ALTER FONT
|
||||
//--------------------------------------------
|
||||
|
||||
function alterfont(theval, thetag)
|
||||
{
|
||||
if (theval == 0)
|
||||
return;
|
||||
|
||||
if(doInsert("[" + thetag + "=" + theval + "]", "[/" + thetag + "]", true))
|
||||
pushstack(bbtags, thetag);
|
||||
|
||||
document.REPLIER.ffont.selectedIndex = 0;
|
||||
document.REPLIER.fsize.selectedIndex = 0;
|
||||
document.REPLIER.fcolor.selectedIndex = 0;
|
||||
|
||||
cstat();
|
||||
|
||||
}
|
||||
|
||||
|
||||
//--------------------------------------------
|
||||
// SIMPLE TAGS (such as B, I U, etc)
|
||||
//--------------------------------------------
|
||||
|
||||
function simpletag(thetag)
|
||||
{
|
||||
var tagOpen = eval(thetag + "_open");
|
||||
|
||||
if ( get_easy_mode_state() )
|
||||
{
|
||||
inserttext = prompt(prompt_start + "\n[" + thetag + "]xxx[/" + thetag + "]");
|
||||
if ( (inserttext != null) && (inserttext != "") )
|
||||
{
|
||||
doInsert("[" + thetag + "]" + inserttext + "[/" + thetag + "] ", "", false);
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (tagOpen == 0)
|
||||
{
|
||||
if(doInsert("[" + thetag + "]", "[/" + thetag + "]", true))
|
||||
{
|
||||
eval(thetag + "_open = 1");
|
||||
// Change the button status
|
||||
eval("document.REPLIER." + thetag + ".value += '*'");
|
||||
|
||||
pushstack(bbtags, thetag);
|
||||
cstat();
|
||||
hstat('click_close');
|
||||
}
|
||||
}
|
||||
else {
|
||||
// Find the last occurance of the opened tag
|
||||
lastindex = 0;
|
||||
|
||||
for (i = 0 ; i < bbtags.length; i++ )
|
||||
{
|
||||
if ( bbtags[i] == thetag )
|
||||
{
|
||||
lastindex = i;
|
||||
}
|
||||
}
|
||||
|
||||
// Close all tags opened up to that tag was opened
|
||||
while (bbtags[lastindex])
|
||||
{
|
||||
tagRemove = popstack(bbtags);
|
||||
doInsert("[/" + tagRemove + "]", "", false)
|
||||
|
||||
// Change the button status
|
||||
if ( (tagRemove != 'FONT') && (tagRemove != 'SIZE') && (tagRemove != 'COLOR') )
|
||||
{
|
||||
eval("document.REPLIER." + tagRemove + ".value = ' " + tagRemove + " '");
|
||||
eval(tagRemove + "_open = 0");
|
||||
}
|
||||
}
|
||||
|
||||
cstat();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function tag_list()
|
||||
{
|
||||
var listvalue = "init";
|
||||
var thelist = "";
|
||||
|
||||
while ( (listvalue != "") && (listvalue != null) )
|
||||
{
|
||||
listvalue = prompt(list_prompt, "");
|
||||
if ( (listvalue != "") && (listvalue != null) )
|
||||
{
|
||||
thelist = thelist+"[*]"+listvalue+"\n";
|
||||
}
|
||||
}
|
||||
|
||||
if ( thelist != "" )
|
||||
{
|
||||
doInsert( "[LIST]\n" + thelist + "[/LIST]\n", "", false);
|
||||
}
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
doInsert("[URL="+enterURL+"]"+enterTITLE+"[/URL]", "", false);
|
||||
}
|
||||
|
||||
function tag_image()
|
||||
{
|
||||
var FoundErrors = '';
|
||||
var enterURL = prompt(text_enter_image, "http://");
|
||||
|
||||
if (!enterURL) {
|
||||
FoundErrors += " " + error_no_url;
|
||||
}
|
||||
|
||||
if (FoundErrors) {
|
||||
alert("Error!"+FoundErrors);
|
||||
return;
|
||||
}
|
||||
|
||||
doInsert("[IMG]"+enterURL+"[/IMG]", "", false);
|
||||
}
|
||||
|
||||
function tag_email()
|
||||
{
|
||||
var emailAddress = prompt(text_enter_email, "");
|
||||
|
||||
if (!emailAddress) {
|
||||
alert(error_no_email);
|
||||
return;
|
||||
}
|
||||
|
||||
doInsert("[EMAIL]"+emailAddress+"[/EMAIL]", "", false);
|
||||
}
|
||||
|
||||
//--------------------------------------------
|
||||
// GENERAL INSERT FUNCTION
|
||||
//--------------------------------------------
|
||||
// ibTag: opening tag
|
||||
// ibClsTag: closing tag, used if we have selected text
|
||||
// isSingle: true if we do not close the tag right now
|
||||
// return value: true if the tag needs to be closed later
|
||||
|
||||
//
|
||||
|
||||
function doInsert(ibTag, ibClsTag, isSingle)
|
||||
{
|
||||
var isClose = false;
|
||||
var obj_ta = document.REPLIER.Post;
|
||||
|
||||
if ( (myVersion >= 4) && is_ie && is_win) // Ensure it works for IE4up / Win only
|
||||
{
|
||||
if(obj_ta.isTextEdit){ // this doesn't work for NS, but it works for IE 4+ and compatible browsers
|
||||
obj_ta.focus();
|
||||
var sel = document.selection;
|
||||
var rng = sel.createRange();
|
||||
rng.colapse;
|
||||
if((sel.type == "Text" || sel.type == "None") && rng != null){
|
||||
if(ibClsTag != "" && rng.text.length > 0)
|
||||
ibTag += rng.text + ibClsTag;
|
||||
else if(isSingle)
|
||||
isClose = true;
|
||||
|
||||
rng.text = ibTag;
|
||||
}
|
||||
}
|
||||
else{
|
||||
if(isSingle)
|
||||
isClose = true;
|
||||
|
||||
obj_ta.value += ibTag;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if(isSingle)
|
||||
isClose = true;
|
||||
|
||||
obj_ta.value += ibTag;
|
||||
}
|
||||
|
||||
obj_ta.focus();
|
||||
|
||||
// clear multiple blanks
|
||||
// obj_ta.value = obj_ta.value.replace(/ /, " ");
|
||||
|
||||
return isClose;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
//--------------------------------------------
// Set up our simple tag open values
//--------------------------------------------
var B_open = 0;
var I_open = 0;
var U_open = 0;
var QUOTE_open = 0;
var CODE_open = 0;
var SQL_open = 0;
var HTML_open = 0;
var bbtags = new Array();
// Set the initial radio button status based on cookies
var allcookies = document.cookie;
var pos = allcookies.indexOf("bbmode=");
prep_mode();
function prep_mode()
{
if (pos != 1) {
var cstart = pos + 7;
var cend = allcookies.indexOf(";", cstart);
if (cend == -1) { cend = allcookies.length; }
cvalue = allcookies.substring(cstart, cend);
if (cvalue == 'ezmode') {
document.REPLIER.bbmode[0].checked = true;
} else {
document.REPLIER.bbmode[1].checked = true;
}
} else {
// default to normal mode.
document.REPLIER.bbmode[1].checked = true;
}
}
function setmode(mVal)
{
document.cookie = "bbmode="+mVal+"; path=/; expires=Wed, 1 Jan 2020 00:00:00 GMT;";
}
function get_easy_mode_state()
{
// Returns true if we've chosen easy mode
if (document.REPLIER.bbmode[0].checked)
{
return true;
}
else
{
return false;
}
}
//--------------------------------------------
// Set the help bar status
//--------------------------------------------
function hstat(msg)
{
document.REPLIER.helpbox.value = eval( "help_" + msg );
}
// Set the number of tags open box
function cstat()
{
var c = stacksize(bbtags);
if ( (c < 1) || (c == null) )
{
c = 0;
}
if ( ! bbtags[0] )
{
c = 0;
}
document.REPLIER.tagcount.value = c;
}
//--------------------------------------------
// 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 all tags
//--------------------------------------------
function closeall()
{
//var c=bbtags.length;
//alert('Stack: ' + c);
if (bbtags[0])
{
while (bbtags[0])
{
tagRemove = popstack(bbtags)
document.REPLIER.Post.value += "[/" + tagRemove + "]";
// Change the button status
eval("document.REPLIER." + tagRemove + ".value = ' " + tagRemove + " '");
eval(tagRemove + "_open = 0");
}
}
// Ensure we got them all
document.REPLIER.tagcount.value = 0;
bbtags = new Array();
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 + "] [/" + 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)
{
var tagOpen = eval(thetag + "_open");
if ( get_easy_mode_state() )
{
inserttext = prompt(prompt_start + "\n[" + thetag + "]xxx[/" + thetag + "]");
if ( (inserttext != null) && (inserttext != "") )
{
document.REPLIER.Post.value += "[" + thetag + "]" + inserttext + "[/" + thetag + "] ";
}
}
else
{
if (tagOpen == 0)
{
document.REPLIER.Post.value += "[" + thetag + "]";
eval(thetag + "_open = 1");
// Change the button status
eval("document.REPLIER." + thetag + ".value += '*'");
pushstack(bbtags, thetag);
cstat();
hstat('click_close');
}
else
{
// Find the last occurance of the
Line truncated
|
||||
|
After Width: | Height: | Size: 576 B |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 8.7 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
@@ -1 +1 @@
|
||||
<head>
<title>Invision Board Colour Picker</title>
<script language="JavaScript">
<!-- Begin
var theColour = "";
function showColor(val) {
document.colorform.hexval.value = val;
document.all.HEX.style.backgroundColor = val;
theColour = val;
}
function keepColor() {
document.colorform.keepcolour.value = theColour;
}
// End -->
</script>
</head>
<body bgcolor='#FFFFFF'>
<font face='arial' size='2' color='#000000'>
<center>
<form name="colorform">
<b>Invision Board Color Picker<br><br>Simply roll your mouse over the desired colour to get the Hex value and a colour preview
<br>
<map name="colmap">
<area shape="rect" coords="1,1,7,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#00FF00')" onClick="javascript:keepColor()">
<area shape="rect" coords="9,1,15,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#00FF33')" onClick="javascript:keepColor()">
<area shape="rect" coords="17,1,23,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#00FF66')" onClick="javascript:keepColor()">
<area shape="rect" coords="25,1,31,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#00FF99')" onClick="javascript:keepColor()">
<area shape="rect" coords="33,1,39,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#00FFCC')" onClick="javascript:keepColor()">
<area shape="rect" coords="41,1,47,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#00FFFF')" onClick="javascript:keepColor()">
<area shape="rect" coords="49,1,55,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#33FF00')" onClick="javascript:keepColor()">
<area shape="rect" coords="57,1,63,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#33FF33')" onClick="javascript:keepColor()">
<area shape="rect" coords="65,1,71,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#33FF66')" onClick="javascript:keepColor()">
<area shape="rect" coords="73,1,79,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#33FF99')" onClick="javascript:keepColor()">
<area shape="rect" coords="81,1,87,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#33FFCC')" onClick="javascript:keepColor()">
<area shape="rect" coords="89,1,95,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#33FFFF')" onClick="javascript:keepColor()">
<area shape="rect" coords="97,1,103,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#66FF00')" onClick="javascript:keepColor()">
<area shape="rect" coords="105,1,111,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#66FF33')" onClick="javascript:keepColor()">
<area shape="rect" coords="113,1,119,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#66FF66')" onClick="javascript:keepColor()">
<area shape="rect" coords="121,1,127,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#66FF99')" onClick="javascript:keepColor()">
<area shape="rect" coords="129,1,135,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#66FFCC')" onClick="javascript:keepColor()">
<area shape="rect" coords="137,1,143,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#66FFFF')" onClick="javascript:keepColor()">
<area shape="rect" coords="145,1,151,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#99FF00')" onClick="javascript:keepColor()">
<area shape="rect" coords="153,1,159,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#99FF33')" onClick="javascript:keepColor()">
<area shape="rect" coords="161,1,167,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#99FF66')" onClick="javascript:keepColor()">
<area shape="rect" coords="169,1,175,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#99FF99')" onClick="javascript:keepColor()">
<area shape="rect" coords="177,1,183,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#99FFCC')" onClick="javascript:keepColor()">
<area shape="rect" coords="185,1,191,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#99FFFF')" onClick="javascript:keepColor()">
<area shape="rect" coords="193,1,199,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#CCFF00')" onClick="javascript:keepColor()">
<area shape="rect" coords="201,1,207,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#CCFF33')" onClick="javascript:keepColor()">
<area shape="rect" coords="209,1,215,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#CCFF66')" onClick="javascript:keepColor()">
<area shape="rect" coords="217,1,223,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColoLine truncated
|
||||
<head>
<title>Invision Power Board Colour Picker</title>
<script language="JavaScript" type='text/javascript'>
var theColour = "";
function showColor(val) {
document.colorform.hexval.value = val;
theColour = val;
document.all.HEX.style.backgroundColor = val;
}
function keepColor() {
document.colorform.keepcolour.value = theColour;
}
</script>
</head>
<body bgcolor='#FFFFFF'>
<font face='arial' size='2' color='#000000'>
<center>
<form name="colorform">
<b>Invision Power Board Color Picker<br><br>Simply roll your mouse over the desired colour to get the Hex value and a colour preview
<br>
<map name="colmap">
<area shape="rect" coords="1,1,7,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#00FF00')" onClick="javascript:keepColor()">
<area shape="rect" coords="9,1,15,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#00FF33')" onClick="javascript:keepColor()">
<area shape="rect" coords="17,1,23,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#00FF66')" onClick="javascript:keepColor()">
<area shape="rect" coords="25,1,31,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#00FF99')" onClick="javascript:keepColor()">
<area shape="rect" coords="33,1,39,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#00FFCC')" onClick="javascript:keepColor()">
<area shape="rect" coords="41,1,47,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#00FFFF')" onClick="javascript:keepColor()">
<area shape="rect" coords="49,1,55,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#33FF00')" onClick="javascript:keepColor()">
<area shape="rect" coords="57,1,63,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#33FF33')" onClick="javascript:keepColor()">
<area shape="rect" coords="65,1,71,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#33FF66')" onClick="javascript:keepColor()">
<area shape="rect" coords="73,1,79,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#33FF99')" onClick="javascript:keepColor()">
<area shape="rect" coords="81,1,87,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#33FFCC')" onClick="javascript:keepColor()">
<area shape="rect" coords="89,1,95,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#33FFFF')" onClick="javascript:keepColor()">
<area shape="rect" coords="97,1,103,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#66FF00')" onClick="javascript:keepColor()">
<area shape="rect" coords="105,1,111,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#66FF33')" onClick="javascript:keepColor()">
<area shape="rect" coords="113,1,119,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#66FF66')" onClick="javascript:keepColor()">
<area shape="rect" coords="121,1,127,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#66FF99')" onClick="javascript:keepColor()">
<area shape="rect" coords="129,1,135,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#66FFCC')" onClick="javascript:keepColor()">
<area shape="rect" coords="137,1,143,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#66FFFF')" onClick="javascript:keepColor()">
<area shape="rect" coords="145,1,151,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#99FF00')" onClick="javascript:keepColor()">
<area shape="rect" coords="153,1,159,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#99FF33')" onClick="javascript:keepColor()">
<area shape="rect" coords="161,1,167,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#99FF66')" onClick="javascript:keepColor()">
<area shape="rect" coords="169,1,175,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#99FF99')" onClick="javascript:keepColor()">
<area shape="rect" coords="177,1,183,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#99FFCC')" onClick="javascript:keepColor()">
<area shape="rect" coords="185,1,191,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#99FFFF')" onClick="javascript:keepColor()">
<area shape="rect" coords="193,1,199,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#CCFF00')" onClick="javascript:keepColor()">
<area shape="rect" coords="201,1,207,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#CCFF33')" onClick="javascript:keepColor()">
<area shape="rect" coords="209,1,215,10" onMouseOut="javascript:showColor('')" onMouseOver="javascript:showColor('#CCFF66')" onClick="javascript:keepColor()">
<area shape="rect" coords="217,1,223,10" onMouseOut="javascript:showColor('')" onMouseOver="jaLine truncated
|
||||
|
After Width: | Height: | Size: 321 B |
|
After Width: | Height: | Size: 14 KiB |
@@ -1 +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>␍
|
||||
<html>␍<head><title>Invision Power Board - Bulletin Board System</title></head>␍<body>␍<h1>403: Invision Power Board -> 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/">Invision Power Board</a>␍</body>␍</html>␍
|
||||
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 7.4 KiB |
@@ -2,15 +2,17 @@
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Board v1.1
|
||||
| Invision Power Board v1.3 Final
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001,2002 Invision Power Services
|
||||
| http://www.ibforums.com
|
||||
| (c) 2001 - 2003 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.ibforums.com
|
||||
| Email: phpboards@ibforums.com
|
||||
| Licence Info: phpib-licence@ibforums.com
|
||||
| Web: http://www.invisionboard.com
|
||||
| Time: Sun, 04 Jan 2004 00:30:16 GMT
|
||||
| Release: 28e7bfb25f08ac72a789cb1b172fa185
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > Wrapper script
|
||||
@@ -23,14 +25,21 @@
|
||||
//-----------------------------------------------
|
||||
// USER CONFIGURABLE ELEMENTS
|
||||
//-----------------------------------------------
|
||||
|
||||
|
||||
// Root path
|
||||
|
||||
$root_path = "./";
|
||||
define( 'ROOT_PATH', "./" );
|
||||
|
||||
// Enable module usage?
|
||||
// (Vital for some mods and IPB enhancements)
|
||||
|
||||
define ( 'USE_MODULES', 1 );
|
||||
|
||||
//-----------------------------------------------
|
||||
// NO USER EDITABLE SECTIONS BELOW
|
||||
//-----------------------------------------------
|
||||
|
||||
define ( 'IN_IPB', 1 );
|
||||
|
||||
error_reporting (E_ERROR | E_WARNING | E_PARSE);
|
||||
set_magic_quotes_runtime(0);
|
||||
@@ -67,13 +76,17 @@ class info {
|
||||
var $skin = "";
|
||||
var $lang = "";
|
||||
var $server_load = 0;
|
||||
var $version = "v1.1 BETA 1";
|
||||
var $version = "v1.3 Final";
|
||||
var $lastclick = "";
|
||||
var $location = "";
|
||||
var $debug_html = "";
|
||||
var $perm_id = "";
|
||||
var $forum_read = array();
|
||||
var $topic_cache = "";
|
||||
var $session_type = "";
|
||||
|
||||
function info() {
|
||||
global $sess, $std, $DB, $root_path, $INFO;
|
||||
global $sess, $std, $DB, $INFO;
|
||||
|
||||
$this->vars = &$INFO;
|
||||
|
||||
@@ -89,7 +102,7 @@ class info {
|
||||
// Import $INFO, now!
|
||||
//--------------------------------
|
||||
|
||||
require $root_path."conf_global.php";
|
||||
require ROOT_PATH."conf_global.php";
|
||||
|
||||
//--------------------------------
|
||||
// The clocks a' tickin'
|
||||
@@ -102,7 +115,7 @@ $Debug->startTimer();
|
||||
// Require our global functions
|
||||
//--------------------------------
|
||||
|
||||
require $root_path."sources/functions.php";
|
||||
require ROOT_PATH."sources/functions.php";
|
||||
|
||||
$std = new FUNC;
|
||||
$print = new display();
|
||||
@@ -114,7 +127,7 @@ $sess = new session();
|
||||
|
||||
$INFO['sql_driver'] = !$INFO['sql_driver'] ? 'mySQL' : $INFO['sql_driver'];
|
||||
|
||||
$to_require = $root_path."sources/Drivers/".$INFO['sql_driver'].".php";
|
||||
$to_require = ROOT_PATH."sources/Drivers/".$INFO['sql_driver'].".php";
|
||||
require ($to_require);
|
||||
|
||||
$DB = new db_driver;
|
||||
@@ -143,6 +156,48 @@ $ibforums = new info();
|
||||
//--------------------------------
|
||||
|
||||
$ibforums->input = $std->parse_incoming();
|
||||
|
||||
//--------------------------------
|
||||
// Short tags...
|
||||
//--------------------------------
|
||||
|
||||
if ( $ibforums->input['showforum'] != "" )
|
||||
{
|
||||
$ibforums->input['act'] = "SF";
|
||||
$ibforums->input['f'] = intval($ibforums->input['showforum']);
|
||||
}
|
||||
else if ( $ibforums->input['showtopic'] != "")
|
||||
{
|
||||
$ibforums->input['act'] = "ST";
|
||||
$ibforums->input['t'] = intval($ibforums->input['showtopic']);
|
||||
|
||||
// Grab and cache the topic now as we need the 'f' attr for
|
||||
// the skins...
|
||||
|
||||
$DB->query("SELECT t.*, f.topic_mm_id, f.name as forum_name, f.quick_reply, f.id as forum_id, f.read_perms, f.reply_perms, f.parent_id, f.use_html,
|
||||
f.start_perms, f.allow_poll, f.password, f.posts as forum_posts, f.topics as forum_topics, f.upload_perms,
|
||||
f.show_rules, f.rules_text, f.rules_title,
|
||||
c.name as cat_name, c.id as cat_id
|
||||
FROM ibf_topics t, ibf_forums f , ibf_categories c
|
||||
WHERE t.tid=".$ibforums->input['t']." and f.id = t.forum_id and f.category=c.id");
|
||||
|
||||
$ibforums->topic_cache = $DB->fetch_row();
|
||||
$ibforums->input['f'] = $ibforums->topic_cache['forum_id'];
|
||||
}
|
||||
else if ( $ibforums->input['showuser'] != "")
|
||||
{
|
||||
$ibforums->input['act'] = "Profile";
|
||||
$ibforums->input['MID'] = intval($ibforums->input['showuser']);
|
||||
}
|
||||
else
|
||||
{
|
||||
$ibforums->input['act'] = $ibforums->input['act'] == '' ? "idx" : $ibforums->input['act'];
|
||||
}
|
||||
|
||||
//--------------------------------
|
||||
// The rest :D
|
||||
//--------------------------------
|
||||
|
||||
$ibforums->member = $sess->authorise();
|
||||
$ibforums->skin = $std->load_skin();
|
||||
$ibforums->lastclick = $sess->last_click;
|
||||
@@ -154,12 +209,31 @@ list($ppu,$tpu) = explode( "&", $ibforums->member['view_prefs'] );
|
||||
$ibforums->vars['display_max_topics'] = ($tpu > 0) ? $tpu : $ibforums->vars['display_max_topics'];
|
||||
$ibforums->vars['display_max_posts'] = ($ppu > 0) ? $ppu : $ibforums->vars['display_max_posts'];
|
||||
|
||||
if ($ibforums->member['id'] and ( $std->my_getcookie('hide_sess') ) )
|
||||
//--------------------------------
|
||||
// Set up the session ID stuff
|
||||
//--------------------------------
|
||||
|
||||
if ( $ibforums->session_type == 'cookie' )
|
||||
{
|
||||
$ibforums->session_id = "";
|
||||
$ibforums->base_url = $ibforums->vars['board_url'].'/index.'.$ibforums->vars['php_ext'].'?';
|
||||
}
|
||||
else
|
||||
{
|
||||
$ibforums->base_url = $ibforums->vars['board_url'].'/index.'.$ibforums->vars['php_ext'].'?s='.$ibforums->session_id.'&';
|
||||
}
|
||||
|
||||
$ibforums->base_url = $ibforums->vars['board_url'].'/index.'.$ibforums->vars['php_ext'].'?s='.$ibforums->session_id;
|
||||
$ibforums->js_base_url = $ibforums->vars['board_url'].'/index.'.$ibforums->vars['php_ext'].'?s='.$ibforums->session_id.'&';
|
||||
|
||||
//--------------------------------
|
||||
// Set up the forum_read cookie
|
||||
//--------------------------------
|
||||
|
||||
$std->hdl_forum_read_cookie();
|
||||
|
||||
//--------------------------------
|
||||
// Set up the skin stuff
|
||||
//--------------------------------
|
||||
|
||||
$ibforums->skin_rid = $ibforums->skin['set_id'];
|
||||
$ibforums->skin_id = 's'.$ibforums->skin['set_id'];
|
||||
@@ -177,24 +251,29 @@ if ($ibforums->vars['default_language'] == "")
|
||||
|
||||
$ibforums->lang_id = $ibforums->member['language'] ? $ibforums->member['language'] : $ibforums->vars['default_language'];
|
||||
|
||||
if ( ($ibforums->lang_id != $ibforums->vars['default_language']) and (! is_dir( $root_path."lang/".$ibforums->lang_id ) ) )
|
||||
if ( ($ibforums->lang_id != $ibforums->vars['default_language']) and (! is_dir( ROOT_PATH."lang/".$ibforums->lang_id ) ) )
|
||||
{
|
||||
$ibforums->lang_id = $ibforums->vars['default_language'];
|
||||
}
|
||||
|
||||
require $root_path."lang/".$ibforums->lang_id."/lang_global.php";
|
||||
|
||||
$ibforums->lang = $lang;
|
||||
|
||||
unset($lang);
|
||||
$ibforums->lang = $std->load_words($ibforums->lang, 'lang_global', $ibforums->lang_id);
|
||||
|
||||
//--------------------------------
|
||||
|
||||
$skin_universal = $std->load_template('skin_global');
|
||||
|
||||
//--------------------------------
|
||||
// Expire subscription?
|
||||
//--------------------------------
|
||||
|
||||
if ($ibforums->input['act'] != 'Login' and $ibforums->input['act'] != 'Reg' and $ibforums->input['act'] != 'Attach')
|
||||
if ( $ibforums->member['sub_end'] != 0 AND ( $ibforums->member['sub_end'] < time() ) )
|
||||
{
|
||||
$std->expire_subscription();
|
||||
}
|
||||
|
||||
//--------------------------------
|
||||
|
||||
if ($ibforums->input['act'] != 'Login' and $ibforums->input['act'] != 'Reg' and $ibforums->input['act'] != 'Attach' and $ibforums->input['module'] != 'subscription')
|
||||
{
|
||||
|
||||
//--------------------------------
|
||||
@@ -226,7 +305,7 @@ if ($ibforums->input['act'] != 'Login' and $ibforums->input['act'] != 'Reg' and
|
||||
|
||||
if ( (! $ibforums->member['id']) and ($ibforums->vars['force_login'] == 1) )
|
||||
{
|
||||
require $root_path."sources/Login.php";
|
||||
require ROOT_PATH."sources/Login.php";
|
||||
|
||||
}
|
||||
|
||||
@@ -238,6 +317,7 @@ if ($ibforums->input['act'] != 'Login' and $ibforums->input['act'] != 'Reg' and
|
||||
|
||||
$choice = array(
|
||||
"idx" => "Boards",
|
||||
"SC" => "Boards",
|
||||
"SF" => "Forums",
|
||||
"SR" => "Forums",
|
||||
"ST" => "Topics",
|
||||
@@ -259,23 +339,28 @@ $choice = array(
|
||||
"YAHOO" => "misc/contact_member",
|
||||
"MSN" => "misc/contact_member",
|
||||
"report" => "misc/contact_member",
|
||||
"chat" => "misc/contact_member",
|
||||
"integ" => "misc/contact_member",
|
||||
"Msg" => "Messenger",
|
||||
"UserCP" => "Usercp",
|
||||
"Profile" => "Profile",
|
||||
"Track" => "misc/tracker",
|
||||
"Stats" => "misc/stats",
|
||||
"Attach" => "misc/attach",
|
||||
'ib3' => 'misc/ib3',
|
||||
'legends' => 'misc/legends',
|
||||
'modcp' => 'mod_cp',
|
||||
'calendar' => "calendar",
|
||||
'buddy' => "browsebuddy",
|
||||
'boardrules' => "misc/contact_member",
|
||||
'mmod' => "misc/multi_moderate",
|
||||
'warn' => "misc/warn",
|
||||
'home' => 'dynamiclite/csite',
|
||||
'module' => 'modules',
|
||||
);
|
||||
|
||||
|
||||
/***************************************************/
|
||||
|
||||
$ibforums->input['act'] = $ibforums->input['act'] == '' ? "idx" : $ibforums->input['act'];
|
||||
//
|
||||
|
||||
// Check to make sure the array key exits..
|
||||
|
||||
@@ -284,11 +369,35 @@ if (! isset($choice[ $ibforums->input['act'] ]) )
|
||||
$ibforums->input['act'] = 'idx';
|
||||
}
|
||||
|
||||
// Require and run
|
||||
|
||||
require $root_path."sources/".$choice[ $ibforums->input['act'] ].".php";
|
||||
|
||||
|
||||
if ( $ibforums->input['act'] == 'home' )
|
||||
{
|
||||
if ( $ibforums->vars['csite_on'] )
|
||||
{
|
||||
require ROOT_PATH."sources/dynamiclite/csite.php";
|
||||
$csite = new click_site();
|
||||
}
|
||||
else
|
||||
{
|
||||
require ROOT_PATH."sources/Boards.php";
|
||||
}
|
||||
}
|
||||
else if ( $ibforums->input['act'] == 'module' )
|
||||
{
|
||||
if ( USE_MODULES == 1 )
|
||||
{
|
||||
require ROOT_PATH."modules/module_loader.php";
|
||||
$loader = new module_loader();
|
||||
}
|
||||
else
|
||||
{
|
||||
require ROOT_PATH."sources/Boards.php";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Require and run
|
||||
require ROOT_PATH."sources/".$choice[ $ibforums->input['act'] ].".php";
|
||||
}
|
||||
|
||||
//+-------------------------------------------------
|
||||
// GLOBAL ROUTINES
|
||||
|
||||
@@ -1 +1 @@
|
||||
(1, 'skin_boards', '\n<!-- Board Stats -->\n <!--IBF.QUICK_LOG_IN-->\n <br>\n <table width="<{tbl_width}>" align="center" border="0" cellspacing="4" cellpadding="0">\n <tr> \n <td align=\'center\'><a href=\'{$ibforums->base_url}&act=Stats&CODE=leaders\'>{$ibforums->lang[\'sm_forum_leaders\']}</a> |\n <a href=\'{$ibforums->base_url}&act=Search&CODE=getactive\'>{$ibforums->lang[\'sm_todays_posts\']}</a> |\n <a href=\'{$ibforums->base_url}&act=Stats\'>{$ibforums->lang[\'sm_today_posters\']}</a> |\n <a href=\'{$ibforums->base_url}&act=Members&max_results=10&sort_key=posts&sort_order=desc\'>{$ibforums->lang[\'sm_all_posters\']}</a></td>\n </tr>\n </table>\n <br>\n <table cellpadding=\'2\' width=\'<{tbl_width}>\' align=\'center\' class=\'solidborder\'>\n <tr>\n <td>\n \n <table cellpadding=\'0\' cellspacing=\'0\' border=\'0\' width=\'100%\' bgcolor=\'<{tbl_border}>\' align=\'center\'>\n <tr>\n <td>\n <table cellpadding=\'4\' cellspacing=\'1\' border=\'0\' width=\'100%\'>\n <tr>\n <td class=\'titlemedium\' colspan=\'2\'>{$ibforums->lang[\'board_stats\']}</td>\n </tr>\n', 'stats_header', '', 1035406235, 0);||~&~||(1, 'skin_boards', '\n <tr>\n <td class=\'category\' colspan=\'2\'>$active[TOTAL] {$ibforums->lang[\'active_users\']}</td>\n </tr>\n <tr>\n <td width="5%" class=\'forum1\'><{F_ACTIVE}></td>\n <td class=\'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>\n </tr>\n', 'ActiveUsers', '$active', 1035406235, 0);||~&~||(1, 'skin_boards', '\n <tr>\n <td class=\'category\' colspan=\'2\'>{$ibforums->lang[\'board_stats\']}</td>\n </tr>\n <tr>\n <td class=\'forum1\' width=\'5%\' valign=\'middle\'><{F_STATS}></td>\n <td class=\'forum2\' width="95%" align=\'left\'>$text<br>{$ibforums->lang[\'most_online\']}</td>\n </tr>\n', 'ShowStats', '$text', 1035406235, 0);||~&~||(1, 'skin_boards', '\n <tr>\n <td class=\'category\' colspan=\'2\'>{$ibforums->lang[\'birthday_header\']}</td>\n </tr>\n <tr>\n <td class=\'forum1\' width=\'5%\' valign=\'middle\'><{F_ACTIVE}></td>\n <td class=\'forum2\' width=\'95%\'><b>$total</b> $birth_lang<br>$birthusers</td>\n </tr>\n', 'birthdays', '$birthusers="", $total="", $birth_lang=""', 1035406235, 0);||~&~||(1, 'skin_boards', '\n <tr>\n <td class=\'category\' colspan=\'2\'>{$ibforums->lang[\'calender_f_title\']}</td>\n </tr>\n <tr>\n <td class=\'forum1\' width=\'5%\' valign=\'middle\'><{F_ACTIVE}></td>\n <td class=\'forum2\' width=\'95%\'>$events</td>\n </tr>\n', 'calendar_events', '$events = ""', 1035406235, 0);||~&~||(1, 'skin_boards', '\n </table>\n </td>\n </tr>\n </table>\n \n </td>\n </tr>\n </table>\n <!-- Board Stats -->\n', 'stats_footer', '', 1035406235, 0);||~&~||(1, 'skin_boards', '\n <br>\n <table cellspacing=\'4\' cellpadding=\'0\' width=\'70%\' border=\'0\' align=\'center\'>\n <tr>\n <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>\n </tr>\n </table>\n', 'BoardInformation', '', 1035406235, 0);||~&~||(1, 'skin_boards', '\n<table width="<{tbl_width}>" align="center" border="0" cellspacing="1" cellpadding="0" bgcolor="<{tbl_border}>">\n <tr> \n <td> \n <table width="100%" border="0" cellspacing="0" cellpadding="3" class=\'maintitle\'>\n <tr> \n <td class="maintitle"><{CAT_IMG}></td>\n <td width="100%" class="maintitle"><a href="{$ibforums->vars[\'board_url\']}/index.{$ibforums->vars[\'php_ext\']}?s={$ibforums->session_id}&c={$Data[\'id\']}">{$Data[\'name\']}</a></td>\n </tr>\n </table>\n </td>\n </tr>\n <tr> \n <td class=\'mainbg\'> \n <table width="100%" border="0" cellspacing="1" cellpadding="4">\n <tr> \n <td align="center" nowrap class=\'titlemedium\'><img src="{$ibforums->vars[\'img_url\']}/spacer.gif" alt="" width="28" height="1"></td>\n <td width="59%" nowrap class=\'titlemedium\'>{$ibforums->lang[\'cat_name\']}</td>\n <td align="center" width="7%" nowrap class=\'titlemedium\'>{$ibforums->lang[\'topics\']}</td>\n <td align="center" width="7%" nowrap class=\'titlemedium\'>{$ibforums->lang[\'replies\']}</td>\n <td width="27%" nowrap class=\'titlemedium\'>{$ibforums->lang[\'last_post_info\']}</td>\n </tr>\n', 'CatHeader_Expanded', '$Data', 1035406235, 0);||~&~||(1, 'sLine truncated
|
||||
(1, 'skin_boards', '<tr>\n <td class=\'pformstrip\' colspan=\'2\'>{$total} {$ibforums->lang[\'whoschatting_total\']} <a href=\'$link\'>{$ibforums->lang[\'whoschatting_loadchat\']}</a></td>\n </tr>\n <tr>\n <td width="5%" class=\'row2\'><{F_ACTIVE}></td>\n <td class=\'row4\' width=\'95%\'>\n {$names}<div class=\'desc\' style=\'margin-top:5px\'>$txt</div>\n </td>\n </tr>', 'whoschatting_show', '$total, $names, $link, $txt', 1035406235, 0);||~&~||(1, 'skin_boards', '<tr>\n <td class=\'pformstrip\' colspan=\'2\'>{$ibforums->lang[\'whoschatting_total\']} <a href=\'$link\'>{$ibforums->lang[\'whoschatting_loadchat\']}</a></td>\n </tr>\n <tr>\n <td width="5%" class=\'row2\'><{F_ACTIVE}></td>\n <td class=\'row4\' width=\'95%\'>\n <i>{$ibforums->lang[\'whoschatting_none\']}</i>\n </td>\n </tr>', 'whoschatting_empty', '$link', 1035406235, 0);||~&~||(1, 'skin_boards', '{$ibforums->base_url}act=chat', 'whoschatting_inline_link', '', 1035406235, 0);||~&~||(1, 'skin_boards', 'javascript:chat_pop({$ibforums->vars[\'chat_width\']}, {$ibforums->vars[\'chat_height\']});', 'whoschatting_popup_link', '', 1035406235, 0);||~&~||(1, 'skin_boards', ',', 'active_list_sep', '', 1035406235, 0);||~&~||(1, 'skin_boards', '<!-- Board Stats -->\n <!--IBF.QUICK_LOG_IN-->\n <br />\n <div align=\'center\'>\n <a href=\'{$ibforums->base_url}act=Stats&CODE=leaders\'>{$ibforums->lang[\'sm_forum_leaders\']}</a> |\n <a href=\'{$ibforums->base_url}act=Search&CODE=getactive\'>{$ibforums->lang[\'sm_todays_posts\']}</a> |\n <a href=\'{$ibforums->base_url}act=Stats\'>{$ibforums->lang[\'sm_today_posters\']}</a> |\n <a href=\'{$ibforums->base_url}act=Members&max_results=10&sort_key=posts&sort_order=desc\'>{$ibforums->lang[\'sm_all_posters\']}</a>\n </div>\n <br />\n <div class="tableborder">\n <div class="maintitle">{$ibforums->lang[\'board_stats\']}</div>\n <table cellpadding=\'4\' cellspacing=\'1\' border=\'0\' width=\'100%\'>', 'stats_header', '', 1035406235, 0);||~&~||(1, 'skin_boards', '<tr>\n <td class=\'pformstrip\' colspan=\'2\'>$active[TOTAL] {$ibforums->lang[\'active_users\']}</td>\n </tr>\n <tr>\n <td width="5%" class=\'row2\'><{F_ACTIVE}></td>\n <td class=\'row4\' width=\'95%\'>\n <b>{$active[GUESTS]}</b> {$ibforums->lang[\'guests\']}, <b>$active[MEMBERS]</b> {$ibforums->lang[\'public_members\']} <b>$active[ANON]</b> {$ibforums->lang[\'anon_members\']}\n <div class=\'thin\'>{$active[NAMES]}</div>\n {$active[\'links\']}\n </td>\n </tr>\n <!--IBF.WHOSCHATTING-->', 'ActiveUsers', '$active', 1035406235, 0);||~&~||(1, 'skin_boards', '{$ibforums->lang[\'oul_show_more\']} <a href=\'{$ibforums->base_url}act=Online&CODE=listall&sort_key=click\'>{$ibforums->lang[\'oul_click\']}</a>, <a href=\'{$ibforums->base_url}act=Online&CODE=listall&sort_key=name&sort_order=asc&show_mem=reg\'>{$ibforums->lang[\'oul_name\']}</a>', 'active_user_links', '', 1035406235, 0);||~&~||(1, 'skin_boards', '<tr>\n <td class=\'pformstrip\' colspan=\'2\'>{$ibforums->lang[\'board_stats\']}</td>\n </tr>\n <tr>\n <td class=\'row2\' width=\'5%\' valign=\'middle\'><{F_STATS}></td>\n <td class=\'row4\' width="95%" align=\'left\'>$text<br />{$ibforums->lang[\'most_online\']}</td>\n </tr>', 'ShowStats', '$text', 1035406235, 0);||~&~||(1, 'skin_boards', '<tr>\n <td class=\'pformstrip\' colspan=\'2\'>{$ibforums->lang[\'birthday_header\']}</td>\n </tr>\n <tr>\n <td class=\'row2\' width=\'5%\' valign=\'middle\'><{F_ACTIVE}></td>\n <td class=\'row4\' width=\'95%\'><b>$total</b> $birth_lang<br />$birthusers</td>\n </tr>', 'birthdays', '$birthusers="", $total="", $birth_lang=""', 1035406235, 0);||~&~||(1, 'skin_boards', '<tr>\n <td class=\'pformstrip\' colspan=\'2\'>{$ibforums->lang[\'calender_f_title\']}</td>\n </tr>\n <tr>\n <td class=\'row2\' width=\'5%\' valign=\'middle\'><{F_ACTIVE}></td>\n <td class=\'row4\' width=\'95%\'>$events</td>\n </tr>', 'calendar_events', '$events = ""', 1035406235, 0);||~&~||(1, 'skin_boards', '</table>\n </div>\n <!-- Board Stats -->', 'stats_footer', '', 1035406235, 0);||~&~||(1, 'skin_boards', '<br />\n <div align=\'right\'><a href="{$ibforums->base_url}act=Login&CODE=06">{$ibforums->lang[\'d_delete_cookies\']}</a> · <a href="{$ibforums->base_url}act=Login&CODE=05">{$ibforums->lang[\'d_post_read\']}</a></div>', 'bottom_links', '', 1035406235, 0);||~&~||(1, 'skin_boards', '<div class="tableborder">\n <div class=\'maintitle\' align=\'left\'><{CAT_IMG}> <a href="{$ibforums->base_url}c={$Data[\'id\']}">{$Data[\'name\']}</a></div>\n <table width="100%" border="0" cellspacing="1" cellpadding="4">\n <tr> \n <th align="center" width="2%" claLine truncated
|
||||
@@ -0,0 +1,248 @@
|
||||
<?
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board v1.1
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001,2002 Invision Power Services, Inc
|
||||
| http://www.ibforums.com
|
||||
| ========================================
|
||||
| Web: http://www.ibforums.com
|
||||
| Email: phpboards@ibforums.com
|
||||
| Licence Info: phpib-licence@ibforums.com
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > IP Chat => IPB Bridge Script
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 17th February 2003
|
||||
|
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
$root_path = './';
|
||||
|
||||
//----------------------------------------------
|
||||
// END OF USER EDITABLE COMPONENTS
|
||||
//---------------------------------------------
|
||||
|
||||
require $root_path."conf_global.php";
|
||||
|
||||
define( 'DENIED', 0 );
|
||||
define( 'ACCESS', 1 );
|
||||
define( 'ADMIN' , 2 );
|
||||
|
||||
$db_info = array();
|
||||
|
||||
$db_info['host'] = $INFO['sql_host'];
|
||||
$db_info['user'] = $INFO['sql_user'];
|
||||
$db_info['pass'] = $INFO['sql_pass'];
|
||||
$db_info['database'] = $INFO['sql_database'];
|
||||
$db_info['tbl_prefix'] = $INFO['sql_tbl_prefix'];
|
||||
|
||||
$allowed_groups = $INFO['chat_admin_groups'];
|
||||
$access_groups = $INFO['chat_access_groups'];
|
||||
$autologin = 0;
|
||||
$allow_guest_access = $INFO['chat_allow_guest'] == 1 ? ACCESS : DENIED;
|
||||
|
||||
// Stupid PHP changing it's mind on HTTP args
|
||||
|
||||
$username = $_GET['username'] != "" ? $_GET['username'] : $HTTP_GET_VARS['username'];
|
||||
$password = $_GET['password'] != "" ? $_GET['password'] : $HTTP_GET_VARS['password'];
|
||||
$ip = $_GET['ip'] != "" ? $_GET['ip'] : $HTTP_GET_VARS['ip'];
|
||||
|
||||
//----------------------------------------------
|
||||
// Test for autologin.
|
||||
//----------------------------------------------
|
||||
|
||||
if ( preg_match( "/^(?:[0-9a-z]){32}$/", $password ) )
|
||||
{
|
||||
$autologin = 1;
|
||||
}
|
||||
|
||||
|
||||
// Remove URL encoding (%20, etc)
|
||||
|
||||
$username = clean_value(urldecode(trim($username)));
|
||||
$password = clean_value(urldecode(trim($password)));
|
||||
$ip = clean_value(urldecode(trim($ip)));
|
||||
|
||||
//----------------------------------------------
|
||||
// Main code
|
||||
//----------------------------------------------
|
||||
|
||||
// Start off with the lowest accessibility
|
||||
|
||||
$output_int = $allow_guest_access;
|
||||
$output_name = "";
|
||||
|
||||
|
||||
|
||||
$DB = @mysql_connect( $db_info['host'], $db_info['user'], $db_info['pass'] );
|
||||
|
||||
if ( ! @mysql_select_db( $db_info['database'] ) )
|
||||
{
|
||||
die_nice();
|
||||
|
||||
//-- script exits --//
|
||||
}
|
||||
|
||||
//------------------------------
|
||||
// Attempt to find the user
|
||||
//------------------------------
|
||||
|
||||
if ( ! $autologin )
|
||||
{
|
||||
$md5_password = md5($password);
|
||||
}
|
||||
else
|
||||
{
|
||||
$md5_password = $password;
|
||||
}
|
||||
|
||||
$query_id = @mysql_query("SELECT m.mgroup, m.password, m.name, m.id FROM {$db_info['tbl_prefix']}members m
|
||||
WHERE m.name='".addslashes($username)."' LIMIT 1"
|
||||
, $DB );
|
||||
|
||||
if ( ! $query_id )
|
||||
{
|
||||
die_nice();
|
||||
|
||||
//-- script exits --//
|
||||
}
|
||||
|
||||
|
||||
if ( ! $member = @mysql_fetch_array( $query_id, MYSQL_ASSOC ) )
|
||||
{
|
||||
// No member found - allow guest access?
|
||||
|
||||
die_nice($allow_guest_access);
|
||||
|
||||
//-- script exits --//
|
||||
}
|
||||
|
||||
|
||||
@mysql_close();
|
||||
|
||||
|
||||
//------------------------------
|
||||
// Check password - member exists
|
||||
//------------------------------
|
||||
|
||||
if ( $password != "" )
|
||||
{
|
||||
// Password was entered..
|
||||
|
||||
if ( $md5_password != $member['password'] )
|
||||
{
|
||||
// Password incorrect..
|
||||
|
||||
die_nice();
|
||||
|
||||
//-- script exits --//
|
||||
}
|
||||
else
|
||||
{
|
||||
$output_int = ACCESS;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// No password entered - die!
|
||||
// Do not allow guest access on reg. name
|
||||
|
||||
die_nice();
|
||||
|
||||
//-- script exits --//
|
||||
}
|
||||
|
||||
|
||||
//------------------------------
|
||||
// Do we have any access?
|
||||
//------------------------------
|
||||
|
||||
|
||||
if ( ! preg_match( "/(^|,)".$member['mgroup']."(,|$)/", $access_groups ) )
|
||||
{
|
||||
die_nice();
|
||||
}
|
||||
|
||||
//------------------------------
|
||||
// Do we have admin access?
|
||||
//------------------------------
|
||||
|
||||
if ( preg_match( "/(^|,)".$member['mgroup']."(,|$)/", $allowed_groups ) )
|
||||
{
|
||||
$output_int = ADMIN;
|
||||
}
|
||||
|
||||
|
||||
//------------------------------
|
||||
// Spill the beans
|
||||
//------------------------------
|
||||
|
||||
print $output_int;
|
||||
|
||||
exit();
|
||||
|
||||
|
||||
function die_nice( $access=0 )
|
||||
{
|
||||
// Simply error out silently, showing guest access only for the user
|
||||
@mysql_close();
|
||||
print $access;
|
||||
exit();
|
||||
}
|
||||
|
||||
//------------------------------
|
||||
// Var cleaner
|
||||
//------------------------------
|
||||
|
||||
function clean_value($val)
|
||||
{
|
||||
global $INFO;
|
||||
|
||||
if ($val == "")
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
$val = str_replace( " ", " ", $val );
|
||||
|
||||
if ( $INFO['strip_space_chr'] )
|
||||
{
|
||||
$val = str_replace( chr(0xCA), "", $val ); //Remove sneaky spaces
|
||||
}
|
||||
|
||||
$val = str_replace( "&" , "&" , $val );
|
||||
$val = str_replace( "<!--" , "<!--" , $val );
|
||||
$val = str_replace( "-->" , "-->" , $val );
|
||||
$val = preg_replace( "/<script/i" , "<script" , $val );
|
||||
$val = str_replace( ">" , ">" , $val );
|
||||
$val = str_replace( "<" , "<" , $val );
|
||||
$val = str_replace( "\"" , """ , $val );
|
||||
$val = preg_replace( "/\n/" , "<br>" , $val ); // Convert literal newlines
|
||||
$val = preg_replace( "/\\\$/" , "$" , $val );
|
||||
$val = preg_replace( "/\r/" , "" , $val ); // Remove literal carriage returns
|
||||
$val = str_replace( "!" , "!" , $val );
|
||||
$val = str_replace( "'" , "'" , $val ); // IMPORTANT: It helps to increase sql query safety.
|
||||
|
||||
// Ensure unicode chars are OK
|
||||
|
||||
$val = preg_replace("/&#([0-9]+);/s", "&#\\1;", $val );
|
||||
|
||||
// Strip slashes if not already done so.
|
||||
|
||||
if ( get_magic_quotes_gpc() )
|
||||
{
|
||||
$val = stripslashes($val);
|
||||
}
|
||||
|
||||
// Swop user inputted backslashes
|
||||
|
||||
$val = preg_replace( "/\\\(?!&#|\?#)/", "\", $val );
|
||||
|
||||
return $val;
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -13,13 +13,40 @@ The <#BOARD_NAME#> team.
|
||||
|
||||
EOF;
|
||||
|
||||
$SUBJECT['new_topic_queue_notify'] = 'New Topic Awaiting Approval';
|
||||
$EMAIL['new_topic_queue_notify'] = <<<EOF
|
||||
Hello!
|
||||
|
||||
This email has been sent from: <#BOARD_NAME#>.
|
||||
|
||||
A new topic has been entered into the moderation queue and is awaiting
|
||||
approval.
|
||||
|
||||
----------------------------------
|
||||
Topic: <#TOPIC#>
|
||||
Forum: <#FORUM#>
|
||||
Author: <#POSTER#>
|
||||
Time: <#DATE#>
|
||||
Manage Queue: <#LINK#>
|
||||
----------------------------------
|
||||
|
||||
If you no longer require notification, you can stop these emails by simply
|
||||
removing your email address from the forum settings options.
|
||||
|
||||
<#BOARD_ADDRESS#>
|
||||
|
||||
|
||||
EOF;
|
||||
|
||||
|
||||
|
||||
$SUBJECT['pm_notify'] = 'You have a new personal message';
|
||||
$EMAIL['pm_notify'] = <<<EOF
|
||||
<#NAME#>,
|
||||
|
||||
<#POSTER#> has sent you a new private message entitled "<#TITLE#>".
|
||||
<#POSTER#> has sent you a new personal message entitled "<#TITLE#>".
|
||||
|
||||
You can read this private message by following the link below:
|
||||
You can read this personal message by following the link below:
|
||||
|
||||
<#BOARD_ADDRESS#><#LINK#>
|
||||
|
||||
@@ -126,7 +153,7 @@ Hello Mr. Admin Sir!
|
||||
|
||||
You have received this email because a new user has registered!
|
||||
|
||||
<#MEMBER_NAME#> completed their registraton on <#DATE#>
|
||||
<#MEMBER_NAME#> completed their registration on <#DATE#>
|
||||
|
||||
You can turn off user notification in the Admin Control Panel
|
||||
|
||||
@@ -157,13 +184,22 @@ We require that you "validate" your password recovery to ensure that
|
||||
you instigated this action. This protects against
|
||||
unwanted spam and malicious abuse.
|
||||
|
||||
If you do not have the form show in your browser window, simply click on the following link:
|
||||
Simply click on the link below and complete the rest of the form
|
||||
|
||||
<#MAN_LINK#>
|
||||
<#THE_LINK#>
|
||||
|
||||
(AOL Email users may need to cut and paste the link into your web
|
||||
browser).
|
||||
|
||||
------------------------------------------------
|
||||
Not working?
|
||||
------------------------------------------------
|
||||
|
||||
If you could not validate your registration by clicking on the link, please
|
||||
visit this page:
|
||||
|
||||
<#MAN_LINK#>
|
||||
|
||||
It will ask you for a user id number, and your validation key. These are shown
|
||||
below:
|
||||
|
||||
@@ -173,18 +209,6 @@ Validation Key: <#CODE#>
|
||||
|
||||
Please cut and paste, or type those numbers into the corresponding fields in the form.
|
||||
|
||||
Once the activation is complete, you will be able to log in using your new password (shown below). You can
|
||||
change this password at any time from your personal control panel.
|
||||
|
||||
------------------------------------------------
|
||||
Your New Password
|
||||
------------------------------------------------
|
||||
|
||||
Your new password is: <#PASSWORD#>
|
||||
|
||||
Keep this password safe. Remember, you will need to re-activate your account
|
||||
before you can use this password.
|
||||
|
||||
------------------------------------------------
|
||||
Is this not working?
|
||||
------------------------------------------------
|
||||
@@ -208,20 +232,29 @@ You have received this email because you requested an
|
||||
email address change.
|
||||
|
||||
------------------------------------------------
|
||||
ACTIVATION INSTRUCTIONS BELOW
|
||||
Activation Instructions Below
|
||||
------------------------------------------------
|
||||
|
||||
We require that you "validate" your email address change to ensure that
|
||||
you instigated this action. This protects against
|
||||
unwanted spam and malicious abuse.
|
||||
|
||||
If you do not have the form show in your browser window, simply click on the following link:
|
||||
To activate your account, simply click on the following link:
|
||||
|
||||
<#MAN_LINK#>
|
||||
<#THE_LINK#>
|
||||
|
||||
(AOL Email users may need to cut and paste the link into your web
|
||||
browser).
|
||||
|
||||
------------------------------------------------
|
||||
Not working?
|
||||
------------------------------------------------
|
||||
|
||||
If you could not validate your registration by clicking on the link, please
|
||||
visit this page:
|
||||
|
||||
<#MAN_LINK#>
|
||||
|
||||
It will ask you for a user id number, and your validation key. These are shown
|
||||
below:
|
||||
|
||||
@@ -231,11 +264,11 @@ Validation Key: <#CODE#>
|
||||
|
||||
Please cut and paste, or type those numbers into the corresponding fields in the form.
|
||||
|
||||
Once the activation is complete, you will need to log back in to update your member group
|
||||
Once the activation is complete, you may need to log back in to update your member group
|
||||
permissions.
|
||||
|
||||
------------------------------------------------
|
||||
HELP, I GOT AN ERROR!
|
||||
Help! I get an error!
|
||||
------------------------------------------------
|
||||
|
||||
If you cannot re-activate your account, it's possible that the account has been removed or you
|
||||
@@ -254,13 +287,13 @@ $EMAIL['forward_page'] = <<<EOF
|
||||
<#THE_MESSAGE#>
|
||||
|
||||
---------------------------------------------------
|
||||
Please note that IBForums has no control over the
|
||||
Please note that <#BOARD_NAME#> has no control over the
|
||||
contents of this message.
|
||||
---------------------------------------------------
|
||||
|
||||
EOF;
|
||||
|
||||
|
||||
$SUBJECT['subs_with_post'] = 'Topic Subscription Reply Notification';
|
||||
|
||||
$EMAIL['subs_with_post'] = <<<EOF
|
||||
<#NAME#>,
|
||||
@@ -272,7 +305,7 @@ $EMAIL['subs_with_post'] = <<<EOF
|
||||
----------------------------------------------------------------------
|
||||
|
||||
The topic can be found here:
|
||||
<#BOARD_ADDRESS#>?act=ST&f=<#FORUM_ID#>&t=<#TOPIC_ID#>
|
||||
<#BOARD_ADDRESS#>?showtopic=<#TOPIC_ID#>&view=getnewpost
|
||||
|
||||
|
||||
|
||||
@@ -286,14 +319,14 @@ You can unsubscribe at any time by logging into your control panel and clicking
|
||||
|
||||
EOF;
|
||||
|
||||
|
||||
$SUBJECT['subs_new_topic'] = 'Forum Subscription New Topic Notification';
|
||||
$EMAIL['subs_new_topic'] = <<<EOF
|
||||
<#NAME#>,
|
||||
|
||||
<#POSTER#> has just posted a new topic entitled "<#TITLE#>" in forum "<#FORUM#>".
|
||||
|
||||
The topic can be found here:
|
||||
<#BOARD_ADDRESS#>?act=ST&f=<#FORUM_ID#>&t=<#TOPIC_ID#>
|
||||
<#BOARD_ADDRESS#>?showtopic=<#TOPIC_ID#>
|
||||
|
||||
Please note that if you wish to get email notification of any replies to this topic, you will have to click on the
|
||||
"Track this Topic" link shown on the topic page, or by visiting the link below:
|
||||
@@ -307,14 +340,14 @@ You can unsubscribe at any time by logging into your control panel and clicking
|
||||
|
||||
EOF;
|
||||
|
||||
|
||||
$SUBJECT['subs_no_post'] = 'Topic Subscription Reply Notification';
|
||||
$EMAIL['subs_no_post'] = <<<EOF
|
||||
<#NAME#>,
|
||||
|
||||
<#POSTER#> has just posted a reply to a topic that you have subscribed to titled "<#TITLE#>".
|
||||
|
||||
The topic can be found here:
|
||||
<#BOARD_ADDRESS#>?act=ST&f=<#FORUM_ID#>&t=<#TOPIC_ID#>
|
||||
<#BOARD_ADDRESS#>?showtopic=<#TOPIC_ID#>&view=getnewpost
|
||||
|
||||
There may be more replies to this topic, but only 1 email is sent per board visit for each subscribed topic. This is
|
||||
to limit the amount of mail that is sent to your inbox.
|
||||
@@ -337,7 +370,7 @@ $EMAIL['email_member'] = <<<EOF
|
||||
<#MESSAGE#>
|
||||
|
||||
---------------------------------------------------
|
||||
Please note that IBForums has no control over the
|
||||
Please note that <#BOARD_NAME#> has no control over the
|
||||
contents of this message.
|
||||
---------------------------------------------------
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<html>␍<head><title>Invision Power Board - Bulletin Board System</title></head>␍<body>␍<h1>403: Invision Power Board -> 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/">Invision Power Board</a>␍</body>␍</html>␍
|
||||
@@ -2,6 +2,16 @@
|
||||
|
||||
$lang = array (
|
||||
|
||||
'whoschatting_total' => "Members Talking in",
|
||||
'whoschatting_loadchat' => "Live Chat",
|
||||
'whoschatting_none' => "There are no members talking in live chat at the moment",
|
||||
'whoschatting_delay' => "Updated every %s minutes",
|
||||
|
||||
'rd_hits' => "Redirected Hits",
|
||||
'oul_show_more' => "Show detailed by:",
|
||||
'oul_click' => "Last Click",
|
||||
'oul_name' => "Member Name",
|
||||
|
||||
'qli_title' => "Quick Log In",
|
||||
'qli_name' => "User Name",
|
||||
'qli_go' => "Go",
|
||||
@@ -27,7 +37,7 @@ total_forums => "Total Forums:",
|
||||
public_forums => "Public Forums",
|
||||
public_members => "members",
|
||||
|
||||
'total_word_string' => "Our members have made a total of <b><#posts#></b> posts<br>We have <b><#reg#></b> registered members<br>The newest member is <b><a href='<#link#>'><#mem#></a></b>",
|
||||
'total_word_string' => "Our members have made a total of <b><#posts#></b> posts<br />We have <b><#reg#></b> registered members<br />The newest member is <b><a href='<#link#>'><#mem#></a></b>",
|
||||
|
||||
|
||||
'birthday_header' => "Today's Birthdays",
|
||||
@@ -48,7 +58,7 @@ restricted_forums => "Restricted Forums",
|
||||
invite_submit => "Go!",
|
||||
all_times => "All Times",
|
||||
new_posts => "View New Posts",
|
||||
anon_members => "Anonymous Members",
|
||||
anon_members => "anonymous members",
|
||||
d_post_read => "Mark all posts as read",
|
||||
last_post_info => "Last Post Info",
|
||||
birth_users => "members are celebrating their birthday today",
|
||||
|
||||
@@ -4,7 +4,7 @@ $lang = array (
|
||||
|
||||
'page_title' => "My Assistant",
|
||||
'log_in_needed' => "Log in required",
|
||||
'no_guests' => "This feature is for registered members only.<br><br>If you are a registered member, please log in.",
|
||||
'no_guests' => "This feature is for registered members only.<br /><br />If you are a registered member, please log in.",
|
||||
'log_in' => "Log In",
|
||||
'lin_name' => "Username",
|
||||
'lin_pass' => "PassWord",
|
||||
|
||||
@@ -2,14 +2,41 @@
|
||||
|
||||
$lang = array (
|
||||
|
||||
// 1.2
|
||||
|
||||
'fv_single' => "Event On/Starts",
|
||||
'fv_range' => "Ranged Event...",
|
||||
'fv_range_ends' => 'Ends',
|
||||
'fv_recur' => "Recurring Event...",
|
||||
'fv_recur_every' => "Every",
|
||||
'fv_days' => "Week",
|
||||
'fv_months' => "Month",
|
||||
'fv_years' => "Year",
|
||||
'fv_hidden' => '------------',
|
||||
'fv_bgcolor' => "Background",
|
||||
'fv_font' => "Text",
|
||||
'fv_until' => "Until",
|
||||
'tbt_recur' => "Recurring Event",
|
||||
'js_del_1' => "Are you sure you want to delete this event?",
|
||||
'js_del_2' => "Action cancelled",
|
||||
|
||||
'se_normal' => "Single Day Event",
|
||||
'se_recur' => "Recurring Event",
|
||||
'se_range' => "Ranged Event",
|
||||
'se_ends' => "ends",
|
||||
'month_jump' => "Month Jump",
|
||||
|
||||
// ---
|
||||
|
||||
|
||||
'page_title' => 'Calendar',
|
||||
'table_title' => 'Forums Event Calendar',
|
||||
'table_title' => 'Event Calendar',
|
||||
|
||||
'form_submit_show' => "Show",
|
||||
|
||||
'entry_birthdays' => "%s Birthday(s)",
|
||||
|
||||
'post_new_event' => "Post New Event",
|
||||
'post_new_event' => "Add New Event",
|
||||
|
||||
'new_event_redirect' => "your calendar event has been posted",
|
||||
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
|
||||
$lang = array (
|
||||
|
||||
'wbox_pm_string' => "You have %s personal messages waiting to be read",
|
||||
'wbox_last_visit' => "You last visited our website on %s",
|
||||
'wbox_guest_reg' => "You have to %s before you can post to our site",
|
||||
'wbox_register' => "register",
|
||||
'wbox_g_username' => "Username",
|
||||
'wbox_g_password' => "Password",
|
||||
'wbox_g_login' => "Log in",
|
||||
'wbox_guest_name' => "visitor",
|
||||
'wbox_welcome' => "Welcome",
|
||||
'wbox_getnewposts' => "View new posts",
|
||||
'wbox_mycontrols' => "MyControls",
|
||||
'wbox_myassistant' => "MyAssistant",
|
||||
'wbox_logout' => "Log out",
|
||||
'pm_title' => "Personal Messages",
|
||||
'search_title' => "Search Website",
|
||||
'search_go' => "Go",
|
||||
'search_advanced' => "Advanced Search",
|
||||
'links_title' => "Site Navigation",
|
||||
'cskin_title' => "Skins",
|
||||
'cskin_text' => "Select a skin to use",
|
||||
'cskin_go' => "Go",
|
||||
'online_title' => "Online Users",
|
||||
'online_breakdown' => "There are <strong>%s</strong> online users browsing:",
|
||||
'online_split' => "%s members and %s visitors",
|
||||
'poll_title' => "Website Poll",
|
||||
'poll_total_votes' => "Total: %s votes",
|
||||
'poll_voted' => "You have already voted",
|
||||
'poll_novote' => 'You cannot vote',
|
||||
'poll_noguest' => 'Log in to vote',
|
||||
'poll_vote' => 'Vote!',
|
||||
'poll_finished' => 'This poll is completed',
|
||||
'poll_discuss' => 'Discuss this poll',
|
||||
'recent_title' => 'Recent Articles',
|
||||
'recent_read' => 'Read',
|
||||
'recent_comments' => 'Comments',
|
||||
'discuss_title' => 'Latest Discussions',
|
||||
'article_postedby' => 'Posted by %s - %s - %s comments',
|
||||
'article_noreply' => 'Read %s times - make a %s',
|
||||
'article_reply' => 'Read %s times - last %s by %s',
|
||||
'article_comment' => 'comment',
|
||||
'article_readmore' => 'read more',
|
||||
'aff_title' => "Recommended Sites",
|
||||
|
||||
|
||||
);
|
||||
?>
|
||||
@@ -2,8 +2,35 @@
|
||||
|
||||
$lang = array (
|
||||
|
||||
//1.2
|
||||
|
||||
'imp_text' => "IMPORTANT: To prevent malicious use, all emails sent via this form are logged and the contents recorded and available to the administrators. DO NOT email user names, passwords or any personal details.",
|
||||
|
||||
'exceeded_quota' => "The mail could not be sent because you have exceeded your alloted quota of <#EXTRA#> emails a day",
|
||||
'exceeded_flood' => "The mail could not be sent because you have already sent an email within the last <#EXTRA#> minutes",
|
||||
'errors_found' => "The following errors have been found",
|
||||
'no_message' => "You must enter some content for the email",
|
||||
'no_subject' => "You must enter a subject for the email",
|
||||
'gen_error' => "You are not logged in or able to send emails",
|
||||
//---
|
||||
|
||||
|
||||
'msn_send_msg' => "Send this member an MSN Message",
|
||||
'msn_add_contact' => "Add this member to your MSN buddy list",
|
||||
'chat_title' => "Live Chat Main Window",
|
||||
'chat_help' => "Live Chat Help",
|
||||
|
||||
'chat_help_text' => "If you are running a version of a Microsoft Windows™ and see only a broken link icon, you will need to download a copy of the Java™ Virtual Machine in order to run our application. You may download Java™ Support for your browser from one of the following links below:<br />
|
||||
<br />
|
||||
* <a href='http://www.microsoft.com/Java/vm/dl_vm40.htm?FinishURL=%2Fdownloads%2Frelease%2Easp%3Frelease'>Microsoft Virtual Machine (for MSIE)</a><br />
|
||||
* <a href='http://java.sun.com/getjava/'>Sun Java™ Plugin (for Netscape, Opera, MSIE, etc..)</a><br />
|
||||
<br />
|
||||
Older versions of Netscape (on certain platforms) such as v4.08, and v4.7x may not run the software. We strongly recommend upgrading to a newer version of Netscape (v6.xx or better) if this is the case. Certain browsers running on Macintosh platforms are not capable of running our software due to problems outside of our control. As WebTV does not support Java™, WebTV users will not be able to access the live chat rooms.<br />
|
||||
<br />
|
||||
Users behind firewalls may need to inform their local IT/network administrator to allow TCP connections on ports 9000-9009 at client.invisionchat.com.<br />
|
||||
<br />
|
||||
AOL Members: Some users have reported that the built-in AOL browser has difficulty connecting to our service, or does not load colors/emoticons properly. To resolve this, minimize your AOL connection, and use the Internet Explorer browser that came with your computer to access our chat rooms.<br />
|
||||
<br />",
|
||||
|
||||
'msn_name' => "Members MSN Name",
|
||||
|
||||
@@ -15,7 +42,7 @@ $lang = array (
|
||||
|
||||
'report_title' => "Report this post to a moderator",
|
||||
'report_submit' => "Submit Report",
|
||||
'report_message' => "<b>Enter your report</b><br><br>Please note: The moderator will be made aware of the link to the post and the topic title.<br><br>This form is to be used ONLY for reporting objectional content, etc and is not to be used as a method of communicating with moderators for other reasons.",
|
||||
'report_message' => "<b>Enter your report</b><br /><br />Please note: The moderator will be made aware of the link to the post and the topic title.<br /><br />This form is to be used ONLY for reporting objectional content, etc and is not to be used as a method of communicating with moderators for other reasons.",
|
||||
'report_topic' => "Topic Title",
|
||||
|
||||
|
||||
@@ -24,17 +51,15 @@ $lang = array (
|
||||
'report_redirect' => "the report has been submitted, returning you to the topic",
|
||||
|
||||
|
||||
message => "Message",
|
||||
title => "Send a page to a friend",
|
||||
'send_lang' => "Send this email in",
|
||||
to_name => "Send to (Person's Name):",
|
||||
redirect => "The email has been sent",
|
||||
to_email => "Send to (Email Address):",
|
||||
subject => "Subject",
|
||||
submit_send => "Send Email",
|
||||
send_email_to => "Send an email to",
|
||||
message => "Message",
|
||||
show_address_text => "You can send this member an email by clicking on the link below. Invision Board does not show email addresses in the HTML code to prevent email addresses being harvested by 'spam bots'.",
|
||||
show_address_text => "You can send this member an email by clicking on the link below. Invision Power Board does not show email addresses in the topic view to prevent email addresses being harvested by 'spam bots'.",
|
||||
send_header => ", please fill in this form fully to send an email to",
|
||||
member_address_title => "Members Email Address",
|
||||
send_title => "Email Form",
|
||||
|
||||
@@ -2,11 +2,76 @@
|
||||
|
||||
$lang = array (
|
||||
|
||||
// added in 1.2.1
|
||||
|
||||
'banned_email' => "Sorry, you are not allowed to use that email address for your account. Please use another email address.",
|
||||
'subs_no_curid' => "A current subscriptions package ID was not passed to the payment methods form, transaction failed.",
|
||||
'subs_no_upgrade' => "There are no packages to upgrade to!",
|
||||
'subs_no_selected' => "You did not select a subscription package. Please go back and select one before continuing.",
|
||||
'subs_nomethod_selected' => "You did not select a payment method. Please go back and select one before continuing.",
|
||||
'subs_no_api' => "Cannot locate the required API file, process cannot continue.",
|
||||
'subs_no_upgrade' => "This payment method does not support upgrades. This process cannot continue.",
|
||||
'subs_fail' => "An unspecified failure occured. Code <#EXTRA#>.",
|
||||
'sub_already' => "You are already subscribed to a package that is either paid or pending. You cannot continue.",
|
||||
//--
|
||||
|
||||
|
||||
|
||||
'auth_no_key_not_allow' => "Sorry, you cannot perform this action until the board administrator has approved your account",
|
||||
|
||||
|
||||
// added 1.2 B3
|
||||
|
||||
'no_flash_av' => "You are not permitted to use flash in your avatar, post or signature",
|
||||
'no_warn_max' => "This member cannot be warned in that direction any further. They have reached their maximum or minumum level",
|
||||
|
||||
// added 1.2
|
||||
'split_too_much' => "You cannot select all of the posts to split, you must leave at least one post in the original topic",
|
||||
|
||||
'ml_error' => "This member group has chosen to not be shown on this member list.",
|
||||
'protected_user' => "You cannot proceed with that action. This member is a protected member",
|
||||
'warned_already' => "This member has been warned once already within the allotted time allowed",
|
||||
'no_mmid' => "That is not a valid multi-moderation action for this forum",
|
||||
'del_post' => "Authorization mismatch - please go back and try again. If you have been trying to access a function incorrectly, please use the proper method.",
|
||||
'stupid_beggar' => "Out of all the options in all the drop down, you had to choose one with dashed lines, well done. Go back and behave yourself.",
|
||||
'fd_noneselected' => "You did not select any PM folders to empty, please go back and try again",
|
||||
'cal_range_wrong' => "Sorry, the event end date must be later than the start date.",
|
||||
'posting_off_susp' => "Sorry, your posting rights have been temporarily suspended. The suspension is due to end on <#EXTRA#>.",
|
||||
'account_susp' => "Your account has been temporarily suspended. This suspension is due to end on <#EXTRA#>.",
|
||||
'email_change_v' => "Sorry, you are already pending validation. Please revalidate your account before attempting this.",
|
||||
'is_broken_link' => "Sorry, the link that brought you to this page seems to be out of date or broken.",
|
||||
'pass_no_match' => "The entered passwords did not match, please go back and try again",
|
||||
'av_no_gallery' => "Sorry, the chosen avatar gallery doesn't exist anymore - please try again",
|
||||
'no_integ' => "Sorry, this member doesn't have an Integrity Messenger profile at present.",
|
||||
|
||||
'file_2_big' => "Sorry, that file is too wide or too high - please try again after resizing the image",
|
||||
'no_photo_selected' => "You must enter a URL to a photograph or choose an image to upload from your computer before continuing",
|
||||
'photo_invalid_ext' => "Sorry, you are not permitted to use that image as a personal photo as the extension isn't on the permitted list.",
|
||||
|
||||
|
||||
// Added in RC2
|
||||
|
||||
'no_help_file' => "Sorry, we could not locate that help file, please try again.",
|
||||
|
||||
|
||||
//--
|
||||
|
||||
// Added in RC1
|
||||
|
||||
'no_member_mail' => "Sorry, you are not permitted to send an email via this board",
|
||||
|
||||
//--
|
||||
|
||||
// Added in Beta 3
|
||||
|
||||
'no_vote' => "You did not choose a poll choice to vote against. Please go back and ensure you click on one of the radio buttons next to the choice you wish to vote for",
|
||||
|
||||
//--- End B3 additions ---
|
||||
|
||||
'me_no_forum' => "You don't appear to have any forums to moderate.",
|
||||
|
||||
|
||||
'search_word_short' => "One or all of your search keywords were below <#EXTRA#> characters, please go back and increase the length of these search keywords.",
|
||||
'search_word_short' => "One or all of your search keywords were below <#EXTRA#> characters or you are searched for words which are not allowed, such as 'html', 'img', etc, please go back and increase the length of these search keywords or choose different keywords.",
|
||||
|
||||
'no_name_search_results' => "The member name you chose to filter by cannot be found, please go back and try again.",
|
||||
|
||||
@@ -45,8 +110,8 @@ $lang = array (
|
||||
|
||||
'forum_read_only' => "This forum is read only, no new posts or replies can be made.",
|
||||
|
||||
'no_av_upload' => "You do not have permission to upload avatars to this server",
|
||||
'no_av_type' => "You are not allowed to upload that type of file as an avatar",
|
||||
'no_av_upload' => "You do not have permission to upload avatars or personal photos to this server",
|
||||
'no_av_type' => "You are not allowed to upload that type of file as an avatar or personal photo",
|
||||
'no_av_name' => "The uploaded file does not have a name, please go back and check your input",
|
||||
|
||||
'upload_failed' => "The upload failed. Please contact a member of staff to help rectify the problem",
|
||||
@@ -62,15 +127,15 @@ $lang = array (
|
||||
'er_contact_admin' => "Contact the forums administrator",
|
||||
'er_help_files' => "Our help documentation",
|
||||
|
||||
'no_archive_messages' => "Sorry, no private messages were found using that search critera. Try again and broaden the scope.",
|
||||
'no_archive_messages' => "Sorry, no personal messages were found using that search critera. Try again and broaden the scope.",
|
||||
|
||||
'no_delete_post' => "Sorry, you cannot delete the first post in this topic. If you wish to delete the complete topic, choose 'Delete Topic' from your moderator bar at the foot of the topic view screen.",
|
||||
'exp_text' => "Sorry, an error occured. If you are unsure on how to use a feature, or don't know why you got this error message, try looking through the help files for more information.",
|
||||
'exp_text' => "Sorry, an error occurred. If you are unsure on how to use a feature, or don't know why you got this error message, try looking through the help files for more information.",
|
||||
'msg_head' => "The error returned was:",
|
||||
|
||||
'auth_no_mem' => "We could not find any member matching the User ID that you entered. Please double check the URL, or the data you entered into the form. If the error persists, please contact a member of staff to assist you.",
|
||||
'auth_key_wrong' => "Sorry, the Validation Key is incorrect for this member. Please check the URL or the data you entered into the form. If the error persists, please contact a member of staff to assist you.",
|
||||
'auth_no_key' => "Sorry, that member does not have to validate their account. Please double check the data you entered.",
|
||||
'auth_key_wrong' => "Sorry, the Validation Key is incorrect for this member. Please check the URL or the data you entered into the form. If the error persists, please contact a member of staff to assist you. If this validation isn't recent, it's possible your old account has been removed.",
|
||||
'auth_no_key' => "Sorry, that member does not have to validate their account. Please double check the data you entered. If this validation isn't recent, it's possible your old account has been removed.",
|
||||
|
||||
'email_addy_mismatch' => "Sorry, the email addresses did not match, please go back and check the data you entered.",
|
||||
|
||||
@@ -82,10 +147,10 @@ $lang = array (
|
||||
|
||||
forum_no_access => "Sorry, you do not have reading permissions on this forum. If this is a password protected forum, please log into the forum by clicking on the forum link from the board index page.",
|
||||
name_too_long => "The username you entered was too long",
|
||||
msg_blocked => "This member has chosen not to be contactable by the IBForums Messenger",
|
||||
msg_blocked => "This member has chosen not to be contactable by the board Messenger",
|
||||
no_msg_title => "You must enter a message title",
|
||||
reg_link => "Register Now!",
|
||||
wrong_pass => "Sorry, that was the incorrect password",
|
||||
wrong_pass => "Sorry, you have entered an incorrect password. Please try again.",
|
||||
poll_no_guests => "Guests cannot vote",
|
||||
no_such_user => "Sorry, we don't have a member with that name in our records, please try again and double check the data you entered.",
|
||||
search_no_input => "You must enter a keyword(s) to search by!",
|
||||
@@ -95,7 +160,7 @@ poll_none_found => "We could not find that poll",
|
||||
no_search_id => "No search file ID number was recorded, please try again",
|
||||
no_guest_new_topics => "sorry, but the board administrator does not allow guests to start new posts in this forum. If you are a registered member please log in",
|
||||
no_user => "Sorry, we could not find that member",
|
||||
no_search_words => "You did not enter any keywords to search by",
|
||||
no_search_words => "You did not enter any keywords to search by or the keywords you used are not permitted due to the high number of matches.",
|
||||
invalid_login => "Invalid log in. Either your password or your username was not correct. Please go back and double check the information you entered. Please remember that usernames and passwords are case sensitive, so 'PaSSwOrD' is different from 'password'",
|
||||
web_too_long => "Your website entry is too long.",
|
||||
stf_no_email => "You must enter the email address of the person you are sending this page to",
|
||||
@@ -152,9 +217,9 @@ forgot_pass => "Forgotten your password?",
|
||||
no_older => "There are no topics older than this one",
|
||||
stf_no_name => "You must enter the name of the person you are sending this page to",
|
||||
no_view_topic => "You do not have permission to view this topic",
|
||||
IBForums_error => "IBForums Error",
|
||||
IBForums_error => "Board Error",
|
||||
no_replies => "Sorry, you do not have permission to reply to that topic",
|
||||
error_title => "IBForums Message",
|
||||
error_title => "Board Message",
|
||||
no_chosen_member => "You didn't enter or choose a name to send the message to!",
|
||||
pass_blank => "Your password field was not complete",
|
||||
flood_control => "Flood control is enabled on this board, please wait <#EXTRA#> seconds before replying or posting a new topic",
|
||||
@@ -162,9 +227,9 @@ no_message => "You did not enter a message for the email",
|
||||
member_in_add_book => "You already have that member stored in your address book",
|
||||
posting_off => "Your posting permissions have been removed",
|
||||
move_same_forum => "You cannot move this topic into the same forum, well, you could but there wouldn't be a lot of point",
|
||||
error_txt => "An error has occured",
|
||||
error_txt => "An error has occurred",
|
||||
rp_nomsg => "You must enter a message to the moderators",
|
||||
too_many_images => "Sorry, but your post contains more the allowed number of images",
|
||||
too_many_images => "Sorry, but your post contains more than the allowed number of images",
|
||||
invite_no_email => "You must enter your email address",
|
||||
not_op => "Sorry, you do not have permission to edit that message",
|
||||
no_poll_reply => "The poll creator has created this as a vote-only topic",
|
||||
@@ -174,10 +239,7 @@ avatar_invalid_ext => "Sorry, that is not a valid file extension",
|
||||
no_reply_polls => "You cannot vote in this poll",
|
||||
no_post => "You must enter a post",
|
||||
calendar_not_all => "Either complete all the birthdate fields, or leave them all blank - we cannot process partial birthdates",
|
||||
referrer_fail => "IBForums does not allow offsite posting.",
|
||||
not_authorised => "Sorry, but you have yet to validate your user account. Please check the email account you registered with.",
|
||||
memid_blank => "Your member Id field was not complete",
|
||||
session_id_no_match => "Fatal Error, your session ID cookie does not match any of the data!",
|
||||
no_email_stored => "Sorry, but we could not find that email address in our records",
|
||||
topictitle_too_long => "The topic title you entered is too long",
|
||||
no_such_msg => "That message does not exist",
|
||||
@@ -188,12 +250,11 @@ guest_abuse => "We could not determine your posting status. Please try loggi
|
||||
password_no_match => "The password is not the same as the data entered",
|
||||
already_logged_in => "That user is already logged in!",
|
||||
no_guests => "Sorry, but this function isn't available to guests",
|
||||
no_permission => "Sorry, but you do not have permission to use this feature. If you are not logged in, you may do so using the form below.",
|
||||
pass_no_match => "The Two New Passwords do not match",
|
||||
no_permission => "Sorry, but you do not have permission to use this feature. If you are not logged in, you may do so using the form below if available.",
|
||||
server_too_busy => "Sorry, the server is too busy to handle your request, please try again in a moment",
|
||||
loc_too_long => "Your Location entry is too long.",
|
||||
poll_you_created => "You created this poll",
|
||||
no_usepm_member => "This message can not be sent because the recipient does not have permission to use the private messenger.",
|
||||
no_usepm_member => "This message can not be sent because the recipient does not have permission to use the personal messenger.",
|
||||
go_back => "Please go back and correct this error",
|
||||
log_in_no => "You are NOT logged in",
|
||||
pass_too_short => "The password entered was too short",
|
||||
@@ -210,20 +271,20 @@ private_email => "That member has chosen to keep their email address private
|
||||
user_agent_no_match => "You are using a different computer than the one you logged in under.",
|
||||
poll_add_vote => "Vote!",
|
||||
you_are_banned => "Sorry, you are not permitted to use this board",
|
||||
incorrect_use => "Incorrect use of one of the IBForums files",
|
||||
no_search_results => "Sorry, but we did not find any matches. Try again and broaden your search criteria.",
|
||||
request_error => "An error occured, not all of the required fields were sent from the validation link. Please ensure that they whole link was entered, it's possible that your email clients auto-wrapper cut the link in half. Please try again.",
|
||||
incorrect_use => "Incorrect use of one of the board files",
|
||||
no_search_results => "Sorry, but we did not find any matches to display. Try again and broaden your search criteria. If you were searching for new posts since your last visit, it's possible that there are none to show.",
|
||||
request_error => "An error occurred, not all of the required fields were sent from the validation link. Please ensure that they whole link was entered, it's possible that your email clients auto-wrapper cut the link in half. Please try again.",
|
||||
not_yahoo_name => "That is not a valid YAHOO name",
|
||||
stf_invalid_email => "The email address you entered was of an incorrect format",
|
||||
pass_link => "Click here!",
|
||||
no_email => "You must enter an email address to request your log-in details",
|
||||
max_message_from => "Your Private Messenger box is full. You have reached the limit set for this board. You will need to delete some of your currently saved messages from either your inbox, or your saved items folder.",
|
||||
max_message_from => "Your Personal Messenger box is full. You have reached the limit set for this board. You will need to delete some of your currently saved messages from either your inbox, or your saved items folder.",
|
||||
cant_use_feature => "You are not allowed to use this part of the board",
|
||||
memid_too_long => "Your member Id field was too long",
|
||||
moderate_no_permission => "You do not have permission to carry out that function",
|
||||
too_many_img => "Sorry, but you have posted more images than you are allowed to",
|
||||
no_sub_id => "Sorry, we could find that topic subscription",
|
||||
max_message_to => "That member's Private Messenger box is full and is unable to accept any new messages.",
|
||||
no_sub_id => "Sorry, we could not find that topic subscription",
|
||||
max_message_to => "That member's Personal Messenger box is full and is unable to accept any new messages.",
|
||||
error_not_registered => "Not Registered? ",
|
||||
username_long => "The username you entered was too long",
|
||||
memid_too_short => "Your member Id field was too short",
|
||||
@@ -231,7 +292,7 @@ sig_too_long => "Your signature is too long.",
|
||||
no_username => "You must enter a username",
|
||||
no_avatar_selected => "No avatar was selected, please go back and correct this error",
|
||||
incorrect_avatar => "Sorry, but that is not a valid avatar",
|
||||
avatar_invalid_url => "Sorry, but the URL you entered for your avatar was incorrectly formatted.",
|
||||
avatar_invalid_url => "Sorry, but the URL you entered for your avatar was incorrectly formatted or the link is not valid.",
|
||||
rp_noname => "You must enter your name before we can send this report",
|
||||
illegal_img_ext => "Sorry, but you cannot use that file extension for an image tag",
|
||||
cannot_remove_dir => "You cannot remove that virtual directory",
|
||||
|
||||
@@ -2,6 +2,12 @@
|
||||
|
||||
$lang = array (
|
||||
|
||||
//1.2
|
||||
|
||||
'post_modq' => "This forum has topics/posts awaiting moderation.",
|
||||
'post_click' => "Go to your Mod CP?",
|
||||
//---
|
||||
|
||||
'pinned_start' => "Important Topics",
|
||||
'regular_topics' => "Forum Topics",
|
||||
|
||||
@@ -46,7 +52,7 @@ pm_locked => "Locked Topic",
|
||||
pm_moved => "Moved Topic",
|
||||
need_password => "Please enter the Forum Password",
|
||||
show_year => "the last year",
|
||||
need_password_txt => "This forum is protected by a password. Please do not attempt to enter a password unless you are authorised. All failed attempts are logged and you may have your posting rights removed upon repetitive failure.<br><br>Please ensure that your browser is capable of storing temporary cookies",
|
||||
need_password_txt => "This forum is protected by a password. Please do not attempt to enter a password unless you are authorised. All failed attempts are logged and you may have your posting rights removed upon repetitive failure.<br /><br />Please ensure that your browser is capable of storing temporary cookies",
|
||||
show_90_days => "the last 90 days",
|
||||
back_to_forum => "Go back to the forum",
|
||||
pm_poll => "Poll (new votes)",
|
||||
|
||||
@@ -2,6 +2,63 @@
|
||||
|
||||
$lang = array (
|
||||
|
||||
//rc1
|
||||
|
||||
'fj_redirect' => " (Redirect Forum)",
|
||||
'tb_toplist' => "Top Site List",
|
||||
|
||||
//Added in 1.2
|
||||
|
||||
'tpl_jump' => "Jump to page...",
|
||||
'tpl_q1' => "Please enter a page number to jump to between 1 and",
|
||||
'tpl_pages' => "Pages:",
|
||||
|
||||
'sf_bytes' => "bytes",
|
||||
'sf_mb' => "mb",
|
||||
'sf_k' => "k",
|
||||
|
||||
'bi_markread' => "Mark forum as read?",
|
||||
'bi_markallread' => "Mark all subforums as read?",
|
||||
'err_select' => "Select All",
|
||||
|
||||
'err_title' => "Post Data Saved!",
|
||||
'err_expl' => "The following post data has been saved. In some cases, using your browser's back button will empty out form fields which results in the loss of any typed and unsaved material. You may select all of the text area below and copy before hitting back.",
|
||||
|
||||
|
||||
'bbc_help' => 'BB Code Help',
|
||||
|
||||
'ml_revalidate' => "Resend Validation Email",
|
||||
'tt_golast' => "Go to the last post",
|
||||
'tt_gounread' => "Go to the first unread post",
|
||||
'tt_poll_vote' => "Add your vote to this poll",
|
||||
'tt_poll_null' => "View results, but forfeit your vote in this poll",
|
||||
'tt_poll_show' => "View poll results before adding your vote",
|
||||
'tt_poll_svote' => "Go back and show the voting options",
|
||||
|
||||
|
||||
'mb_disabled' => "This menu has been disabled",
|
||||
|
||||
'sj_title' => 'Site Jump',
|
||||
'sj_home' => 'Forum Home',
|
||||
'sj_search' => 'Search',
|
||||
'sj_help' => 'Help',
|
||||
'er_links' => "Useful Links",
|
||||
|
||||
|
||||
// Added in 1.1a
|
||||
|
||||
'live_chat' => "Live Chat",
|
||||
|
||||
// Added in B3
|
||||
|
||||
'fj_subforums' => 'sub-forums',
|
||||
'ps_page' => "Page:",
|
||||
'ps_first' => 'First',
|
||||
'ps_last' => 'Last',
|
||||
'ps_next' => 'Next',
|
||||
'ps_previous' => 'Previous',
|
||||
|
||||
//--- End B3 additions ---
|
||||
|
||||
'mod_cp' => "Mod CP",
|
||||
|
||||
@@ -31,7 +88,7 @@ $lang = array (
|
||||
|
||||
'all_emoticons' => "Show All",
|
||||
|
||||
'jmp_go' => "Go!",
|
||||
'jmp_go' => "Go",
|
||||
'forum_jump' => "Forum Jump",
|
||||
|
||||
'yes' => "Yes",
|
||||
@@ -105,7 +162,7 @@ name => "Name",
|
||||
register => "Register",
|
||||
'logged_in_as' => "Logged in as: ",
|
||||
|
||||
msg_new => "%s new messages",
|
||||
msg_new => "%s New Messages",
|
||||
offline => "Sorry, the boards are offline at the moment",
|
||||
log_out => "Log Out",
|
||||
dont_wait => "Or click here if you do not wish to wait",
|
||||
|
||||
@@ -5,7 +5,7 @@ $lang = array (
|
||||
topic_text => "Here is the topic you chose to view",
|
||||
results_title => "Your Help Search Results",
|
||||
choose_file => "Choose a topic",
|
||||
help_txt => "Welcome to the IBForums help database.<br><br>Simply choose from one of the titles to learn more about how IBForums works. Or, simply search for help files",
|
||||
help_txt => "Welcome to the help database.<br /><br />Simply choose from one of the titles to learn more about how this board works. Or, simply search for help files",
|
||||
submit => "Search!",
|
||||
search_txt => "Enter keywords to search for",
|
||||
search_results => "Search Results",
|
||||
|
||||
@@ -2,6 +2,13 @@
|
||||
|
||||
$lang = array (
|
||||
|
||||
'bbc_ex1' => "This is sample text",
|
||||
'bbc_ex2' => "Click here!",
|
||||
'bbc_title' => "BB Code",
|
||||
'bbc_intro' => "<strong>What is BB Code?</strong><br /><br />BB Code is a quick and easy way to add effects or formatting to your posts.<br />It is used in a similar format to HTML tags which you may already be familiar with.<br />Below is a quick guide to the most common BB Code uses.",
|
||||
'bbc_before' => "You Type",
|
||||
'bbc_after' => "We Show",
|
||||
|
||||
'emo_title' => "Emoticons",
|
||||
'emo_type' => "Code",
|
||||
'emo_img' => "Image",
|
||||
|
||||
@@ -3,12 +3,19 @@
|
||||
$lang = array (
|
||||
|
||||
'logged_in' => "You are logged in, returning you to the board index",
|
||||
'reg_log_in' => "You are now registered and logged in, returning you to the board index",
|
||||
'not_logged_in' => "You are not logged in, taking you to the log in form",
|
||||
|
||||
'reg_log_in' => "You are now registered and logged in, returning you to the board index",
|
||||
'reg_not_log_in' => "You are now registered, taking you to the log in form",
|
||||
|
||||
'email_log_in' => "Your email address change has been approved, returning you to the board index",
|
||||
'email_not_log_in' => "Your email address change has been approved, taking you to the log in form",
|
||||
|
||||
login_text => "You must already have registered for an account before you can log in.<br>If you do not have an account, you may register by clicking the 'register' link near the top of the screen",
|
||||
'pass_log_in' => "Your password change has been approved, returning you to the board index",
|
||||
'pass_not_log_in' => "Your password change has been approved, taking you to the log in form",
|
||||
|
||||
|
||||
login_text => "You must already have registered for an account before you can log in.<br />If you do not have an account, you may register by clicking the 'register' link near the top of the screen",
|
||||
|
||||
force_login => "The board administrator requires that all members log in before viewing the board",
|
||||
wrong_name => "Sorry, we could not find a member called <#NAME#>, are you sure it's correct?",
|
||||
@@ -31,7 +38,7 @@ thanks_for_login => "you are now logged in as:",
|
||||
log_out => "Log Out",
|
||||
enter_name => "Please enter your name",
|
||||
|
||||
cookies => "<b>Remember me?</b><br>If enabled, you will be automatically logged in again when you visit.<br>This is not recommended for shared computers.",
|
||||
cookies => "<b>Remember me?</b><br />If enabled, you will be automatically logged in again when you visit.<br />This is not recommended for shared computers.",
|
||||
|
||||
enter_pass => "Please enter your password",
|
||||
pass_link => "Click here!",
|
||||
|
||||
@@ -2,10 +2,18 @@
|
||||
|
||||
$lang = array (
|
||||
|
||||
//added 1.2
|
||||
|
||||
'member_photo' => "Photo",
|
||||
|
||||
'ch_begins' => "Name begins with",
|
||||
'ch_contains' => "Name contains",
|
||||
'ch_all' => "Search All Available",
|
||||
'qs_go' => "Go!",
|
||||
'pages' => "Pages:",
|
||||
'photo_only' => "Show matches with photo only?",
|
||||
|
||||
|
||||
|
||||
member_group => "Group",
|
||||
member_aol => "AOL",
|
||||
|
||||
@@ -2,8 +2,60 @@
|
||||
|
||||
$lang = array (
|
||||
|
||||
// Added 1.2
|
||||
'w_v_pages' => "Pages",
|
||||
'w_v_warnby' => "Warned by",
|
||||
'w_v_none' => "There are no saved notes for this member",
|
||||
'w_v_add' => "Added to warn level",
|
||||
'w_v_minus' => "Removed from warn level",
|
||||
'w_v_notes' => "Notes",
|
||||
'w_v_warned_on' => "Warned on",
|
||||
'w_v_title' => "Saved warn logs",
|
||||
'w_done_t' => "Warn Adjustment Result",
|
||||
'w_done_te' => "%s's warning level has been adjusted successfully and the action logged.",
|
||||
'w_done_home' => "Go back to the forum home",
|
||||
'w_done_forum' => "Go back to forum",
|
||||
'w_done_topic' => "Go back to topic",
|
||||
'errors_found' => "Error",
|
||||
'we_no_reason' => "You must enter a reason for this warn adjustment in the relevant section below",
|
||||
'we_no_subject' => "You must enter a PM / Email subject",
|
||||
'pm_email_subject' => "You have a new PM",
|
||||
'w_title' => "Member Warning Center",
|
||||
'w_restricted' => "Restriction in progress, the remaining time has been recalculated",
|
||||
'w_warnfor' => "Member Warning Panel for",
|
||||
'w_complete' => "Please complete the form below fully",
|
||||
'w_adjust_level' => "Adjust member's warn level",
|
||||
'w_add' => "Increase Warning Level",
|
||||
'w_remove' => 'Decrease Warning Level',
|
||||
'w_modq' => "Enforce moderator preview of all new posts?",
|
||||
'w_modq_i' => "Moderator Preview indefinitely",
|
||||
'w_day' => "Days",
|
||||
'w_hour' => "Hours",
|
||||
'w_resposts' => "Disable this members posting ability",
|
||||
'w_resposts_i' => "Disable indefinitely",
|
||||
'w_suspend' => "Suspend member's account",
|
||||
'w_orfor' => "or for",
|
||||
'w_susfor' => "Suspend for",
|
||||
'w_reason' => "Reason for this warn adjustment",
|
||||
'w_reason2' => "This section must be completed",
|
||||
'w_contact' => "Send message to member",
|
||||
'w_c' => "Method",
|
||||
'w_c_subj' => "Email / PM Subject",
|
||||
'w_c_e' => "Email",
|
||||
'w_c_p' => "PM",
|
||||
'w_submit' => "Alter Warn Level",
|
||||
'w_contact2' => "Leave blank to not contact the member",
|
||||
|
||||
'mm_applied' => 'Topic multi-moderation %s applied',
|
||||
'pe_unused' => "Unused",
|
||||
|
||||
// Added BETA 2:
|
||||
|
||||
'pe_question' => "Poll Question",
|
||||
|
||||
|
||||
'st_top' => "Split Topic",
|
||||
'st_explain' => "Splitting a topic allows you to select posts to be moved into a new topic. Please specify the title and description for the new topic and its destination forum before continuing.<br><b>Note</b> Long posts are reverted back to code tags and shortened to prevent long pages",
|
||||
'st_explain' => "Splitting a topic allows you to select posts to be moved into a new topic. Please specify the title and description for the new topic and its destination forum before continuing.<br /><b>Note</b> Long posts are reverted back to code tags and shortened to prevent long pages",
|
||||
'st_forum' => "Forum for new topic",
|
||||
'st_submit' => "Split the selected posts",
|
||||
'st_post' => "Post Review",
|
||||
@@ -32,7 +84,7 @@ $lang = array (
|
||||
'mt_explain' => "Merging topics allows you to 'move' all the posts from another topic into this one. The new topic will be sorted in chronological order, ensure this is the desired effect before continuing. Polls and poll voter information will not be merged.",
|
||||
'mt_new_title' => "Topic Title",
|
||||
'mt_new_desc' => "Topic Description",
|
||||
'mt_tid' => "<b>Enter in the URL of the topic that you wish to merge with this one.</b><br>(Tip: You can simply copy the URL from your browser address bar when viewing the topic and paste it here)",
|
||||
'mt_tid' => "<b>Enter in the URL of the topic that you wish to merge with this one.</b><br />(Tip: You can simply copy the URL from your browser address bar when viewing the topic and paste it here)",
|
||||
'mt_submit' => "Merge Topics",
|
||||
'mt_redirect' => "The topics have been merged, returning you to the newly merged topic",
|
||||
|
||||
@@ -44,89 +96,6 @@ $lang = array (
|
||||
'ts_none' => "There are no members subscribed to this topic. You can still unsubscribe all members, but it won't make any difference",
|
||||
'ts_redirect' => "all members have been unsubscribed from this topic",
|
||||
|
||||
'cp_redirect_mod_topics' => "Topics/Posts have been approved or deleted - redirecting back to check for more...",
|
||||
|
||||
'cp_prune' => "Manage Topics in forum: ",
|
||||
'cp_prune_days' => "<b>(Re)move topics with no new posts over [x] days.</b><br>(x = value entered)",
|
||||
'cp_prune_type' => "<b>(Re)move which type of topic?</b>",
|
||||
'cp_pday_open' => "Open Topics only",
|
||||
'cp_pday_closed' => "Locked Topics only",
|
||||
'cp_pday_link' => "Move linked Topics only",
|
||||
'cp_pday_all' => "Any type of topic",
|
||||
'cp_prune_replies' => "<b>..with less than [x] replies</b><br>(Leave this blank to remove topics regardless of replies)",
|
||||
'cp_prune_member' => "<b>...started by member</b><br>(Leave blank to (re)move regardless of topic starter)",
|
||||
'cp_prune_sub1' => "Check Form Submission",
|
||||
'cp_prune_sub2' => "Prune this forum!",
|
||||
'cp_action' => "<b>Prune Action</b>",
|
||||
'cp_ac_prune' => "PRUNE ONLY, DON'T MOVE",
|
||||
'cp_prune_text' => "You may remove topics or move topics to another forum based on your criteria. To move topics, choose a destination forum from the drop down menu. To simply remove the topics, choose 'PRUNE ONLY' from the forums drop down menu. Moving topics will not leave moved links in the source forum",
|
||||
'cp_pages' => "Page: ",
|
||||
'cp_error_no_mem' => "We could not locate a member by that name, please try again",
|
||||
'cp_error_no_topics' => "We could not locate any topics to manage.<br><br>(<b>Note:</b> If you have received this notice after approving or deleting topics/posts, this notice simply means that there are no more topics/posts to approve.)",
|
||||
'cp_total_topics' => "Total topics in this forum",
|
||||
'cp_total_match' => "Total topics to (re)move",
|
||||
'cp_check_result' => "Form Check Results",
|
||||
'cp_check_text' => "Continue only if satisfied with the results, clicking the link below WILL carry out the action. If you need to make any changes, please go back and do so now.",
|
||||
'cp_mod_topics_title2' => "Moderating New Topics in: ",
|
||||
'cp_mod_posts_title2' => "Moderating New Posts in: ",
|
||||
'cp_prune_domove' => "Move the topics!",
|
||||
'cp_prune_dorem' => "Remove the topics!",
|
||||
'cp_same_forum' => "You cannot move into the same forum",
|
||||
'cp_no_forum' => "That is not a valid destination forum",
|
||||
'cp_3_title' => "Topic Title",
|
||||
'cp_3_replies' => "Queued Replies",
|
||||
'cp_3_approveall' => "Approve All",
|
||||
'cp_3_viewall' => "Manage Queued",
|
||||
'cp_3_postno' => "Post #",
|
||||
|
||||
'cp_error_no_subforum' => "You cannot choose a sub category as a destination forum",
|
||||
|
||||
'cp_1_approve' => "Approve",
|
||||
'cp_1_remove' => "Delete",
|
||||
'cp_1_selected' => "selected posts",
|
||||
'cp_1_go' => "Go!",
|
||||
|
||||
'cp_results' => "Result",
|
||||
'cp_result_move' => "Number of topics moved: ",
|
||||
'cp_result_del' => "Number of topics deleted: ",
|
||||
|
||||
'cp_edit_user' => "Edit a users profile",
|
||||
'cp_find_user' => "Enter part, or all of the username you wish to edit",
|
||||
'cp_find_submit' => "Find user",
|
||||
'cp_find_2_user' => "Please select a member from the matches",
|
||||
'cp_find_2_submit' => "Edit users profile",
|
||||
'cp_no_matches' => "There was no data returned from your search input, please try again",
|
||||
'cp_admin_user' => "You cannot edit an administrators profile from this control panel",
|
||||
'cp_no_perms' => "You do not have permission for this action.",
|
||||
|
||||
'cp_remove_av' => "Remove users avatar?",
|
||||
'cp_edit_website' => "Website",
|
||||
'cp_edit_location' => "Location",
|
||||
'cp_edit_signature' => "Signature",
|
||||
'cp_edit_interests' => "Interests",
|
||||
|
||||
|
||||
|
||||
'cp_mod_in' => "Current Forum",
|
||||
'cp_topics_wait' => "Topics Pending Moderation",
|
||||
'cp_posts_wait' => "Posts Pending Moderation",
|
||||
|
||||
'cp_modcp_ptitle' => "Moderators Control Panel",
|
||||
'cp_modcp_home' => "Moderators CP Home",
|
||||
|
||||
'cp_error' => "Results...",
|
||||
'cp_welcome' => "Welcome!",
|
||||
'cp_welcome_text' => "Welcome to your moderators control panel.<br>From here you will be able to process moderated topics and posts, mass move topics and prune posts. Simply choose an option from the left menu bar to proceed.",
|
||||
|
||||
'cp_mod_topics_title' => "Moderate Postings",
|
||||
'cp_mod_topics' => "Moderate New Topics",
|
||||
'cp_mod_posts' => "Moderate New Posts",
|
||||
|
||||
'cp_manage_posts' => "Manage Postings",
|
||||
'cp_prune_posts' => "Mass Move /Prune Topics",
|
||||
|
||||
'cp_mod_users_title' => "Manage Users",
|
||||
'cp_user_edit' => "Edit Users Profile",
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -2,6 +2,22 @@
|
||||
|
||||
$lang = array (
|
||||
|
||||
// rc1/b3
|
||||
|
||||
'cp_remove_photo' => "Remove member's photo?",
|
||||
|
||||
//1.2
|
||||
|
||||
'mm_title' => "Multi Moderation",
|
||||
'mm_redirect' => "multi moderation applied, returning you to the topic list",
|
||||
'iph_title' => "IP Tools: Help",
|
||||
|
||||
'mpt_title' => "Prune Settings",
|
||||
'mpt_help' => "Prune Help",
|
||||
'mpt_confirm' => "Prune Confirm",
|
||||
'mps_ignorepin' => "Leave Pinned Topics?",
|
||||
//
|
||||
|
||||
'cp_error_move' => "Please ensure that the source and destination forums exist, are able to accept topics (not sub forums only), you have permission to move them into that forum and that the source forum isn't the same as the destination forum",
|
||||
|
||||
'cp_tmove_start' => "Moving topics from forum:",
|
||||
@@ -21,14 +37,14 @@ $lang = array (
|
||||
'cp_redirect_mod_topics' => "Topics/Posts have been approved or deleted - redirecting back to check for more...",
|
||||
|
||||
'cp_prune' => "Manage Topics in forum: ",
|
||||
'cp_prune_days' => "<b>(Re)move topics with no new posts over [x] days.</b><br>(x = value entered)",
|
||||
'cp_prune_days' => "<b>(Re)move topics with no new posts over [x] days.</b><br />(x = value entered)",
|
||||
'cp_prune_type' => "<b>(Re)move which type of topic?</b>",
|
||||
'cp_pday_open' => "Open Topics only",
|
||||
'cp_pday_closed' => "Locked Topics only",
|
||||
'cp_pday_link' => "Move linked Topics only",
|
||||
'cp_pday_all' => "Any type of topic",
|
||||
'cp_prune_replies' => "<b>..with less than [x] replies</b><br>(Leave this blank to remove topics regardless of replies)",
|
||||
'cp_prune_member' => "<b>...started by member</b><br>(Leave blank to (re)move regardless of topic starter)",
|
||||
'cp_prune_replies' => "<b>..with less than [x] replies</b><br />(Leave this blank to remove topics regardless of replies)",
|
||||
'cp_prune_member' => "<b>...started by member</b><br />(Leave blank to (re)move regardless of topic starter)",
|
||||
'cp_prune_sub1' => "Check Form Submission",
|
||||
'cp_prune_sub2' => "Prune this forum!",
|
||||
'cp_action' => "<b>Prune Action</b>",
|
||||
@@ -77,7 +93,7 @@ $lang = array (
|
||||
'cp_admin_user' => "You cannot edit an administrators profile from this control panel",
|
||||
'cp_no_perms' => "You do not have permission for this action.",
|
||||
|
||||
'cp_remove_av' => "Remove users avatar?",
|
||||
'cp_remove_av' => "Remove member's avatar?",
|
||||
'cp_edit_website' => "Website",
|
||||
'cp_edit_location' => "Location",
|
||||
'cp_edit_signature' => "Signature",
|
||||
@@ -95,7 +111,7 @@ $lang = array (
|
||||
|
||||
'cp_error' => "Control Panel Message",
|
||||
'cp_welcome' => "Welcome!",
|
||||
'cp_welcome_text' => "Welcome to your moderators control panel.<br>From here you will be able to process moderated topics and posts, mass move topics and prune posts. Simply choose an option from the left menu bar to proceed.",
|
||||
'cp_welcome_text' => "Welcome to your moderators control panel.<br />From here you will be able to process moderated topics and posts, mass move topics and prune posts. Simply choose an option from the left menu bar to proceed.",
|
||||
|
||||
|
||||
'cp_mod_topics' => "Moderate New Topic Queue",
|
||||
@@ -130,9 +146,9 @@ $lang = array (
|
||||
|
||||
'mod_opts' => "Moderation Options",
|
||||
|
||||
'ip_desc_text' => "<b>The following options are available to you</b><br><br><b><u>Resolve</u> IP Address</b>: This option will allow you to look up an IP address for more information (note, you must enter all 4 parts of the IP address to use this tool)<br><b><u>Find Posts</u> with this IP</b>: This option will run a search for all posts associated with this IP address<br><b><u>Find members</u> who registered with this IP</b>: This tool will run a seach for all members who registered with the entered IP address",
|
||||
'ip_warn_text' => "<b>Please Note</b>: You may enter a wildcard '*' (without quotes) as the last part of the IP address.<br>For example, 127.*.*.* will match all IP address that start with 127.<br>127.1.0.* will match all IP addresses that start with 127.1.0.<br>An error will occur if you attempt to use a wildcard in the middle of the IP address. For example, 127.*.0.1 will return an error.",
|
||||
'ip_enter' => "<b>Enter the IP address</b><br>(Hint, hitting tab in most browsers will take you to the next box)",
|
||||
'ip_desc_text' => "<b>The following options are available to you</b><br /><br /><b><u>Resolve</u> IP Address</b>: This option will allow you to look up an IP address for more information (note, you must enter all 4 parts of the IP address to use this tool)<br /><b><u>Find Posts</u> with this IP</b>: This option will run a search for all posts associated with this IP address<br /><b><u>Find members</u> who registered with this IP</b>: This tool will run a seach for all members who registered with the entered IP address",
|
||||
'ip_warn_text' => "<b>Please Note</b>: You may enter a wildcard '*' (without quotes) as the last part of the IP address.<br />For example, 127.*.*.* will match all IP address that start with 127.<br />127.1.0.* will match all IP addresses that start with 127.1.0.<br />An error will occur if you attempt to use a wildcard in the middle of the IP address. For example, 127.*.0.1 will return an error.",
|
||||
'ip_enter' => "<b>Enter the IP address</b>",
|
||||
'ip_submit' => "Run Tool",
|
||||
|
||||
'ip_resolve' => "Resolve",
|
||||
@@ -141,7 +157,7 @@ $lang = array (
|
||||
|
||||
'cp_error_ip' => "Please ensure that at least the first two IP address fields are completed and that the wildcard '*' is not in the middle of the IP address",
|
||||
'cp_error_resolveip' => "You must enter the complete IP address to use this tool",
|
||||
'ip_resolve_result' => "The host name for %s is <b>%s</b><br><br>Try visiting <a href='http://www.nic.com/cgi-bin/whois.cgi' target='_blank'>nic.com</a> to get more information by running this match via WHOIS.",
|
||||
'ip_resolve_result' => "The host name for %s is <b>%s</b><br /><br />Try visiting <a href='http://www.nic.com/cgi-bin/whois.cgi' target='_blank'>nic.com</a> to get more information by running this match via WHOIS.",
|
||||
|
||||
'cp_safe_fail' => "This operation failed or no data was returned. If you are running PHP in safe mode, you may not be able to use all the tools provided",
|
||||
|
||||
|
||||