Version 1.3.0
This commit is contained in:
1 parent
7ef3d1712a
commit
f87d29ba65
290 files changed
+50206
-17930
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>␍
|
||||
+293
-236
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
+153
-221
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
+443
-273
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
+310
-290
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
+265
-368
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
+344
-218
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
+219
-209
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
+76
-128
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
+123
-127
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
+509
-772
File diff suppressed because it is too large.
Load diff
+753
-879
File diff suppressed because it is too large.
Load diff
+982
-956
File diff suppressed because it is too large.
Load diff
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
+119
-99
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
+622
-771
File diff suppressed because it is too large.
Load diff
@@ -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>
|
||||
|
||||
+382
-144
@@ -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;
|
||||
}
|
||||
|
||||
+366
-295
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
+417
-325
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
+409
-290
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
+896
-741
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user