File: /var/www/ilya/data/www/irkboard.ru/cache/cacheid_6/skin_buddy.php
<?php
/*--------------------------------------------------*/
/* FILE GENERATED BY INVISION POWER BOARD */
/* CACHE FILE: Skin set id: 6 */
/* CACHE FILE: Generated: Sat, 12 Aug 2006 15:09:51 GMT */
/* DO NOT EDIT DIRECTLY - THE CHANGES WILL NOT BE */
/* WRITTEN TO THE DATABASE AUTOMATICALLY */
/*--------------------------------------------------*/
class skin_buddy_6 {
var $ipsclass;
//===========================================================================
// <ips:append_view:desc:>
//===========================================================================
function append_view($url="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
( <b><a href="javascript:redirect_to('$url', 0)">{$this->ipsclass->lang['view_link']}</a></b> )
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:buddy_js:desc:>
//===========================================================================
function buddy_js() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<script language='javascript' type="text/javascript">
<!--
function redirect_to(where, closewin)
{
opener.location= '{$this->ipsclass->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;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:build_away_msg:desc:>
//===========================================================================
function build_away_msg() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
{$this->ipsclass->lang['new_posts']}
<br />
{$this->ipsclass->lang['my_replies']}
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:closelink:desc:>
//===========================================================================
function closelink() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<p><a href="javascript:window.location=window.location;">{$this->ipsclass->lang['refresh']}</a> / <a href="javascript:self.close();">{$this->ipsclass->lang['close_win']}</a></p>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:login:desc:>
//===========================================================================
function login() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<form action="{$this->ipsclass->base_url}act=Login&CODE=01&CookieDate=1&buddy=1" method="post" name="theForm" onSubmit="return check_form();">
<div class="borderwrap">
<h3>{$this->ipsclass->lang['page_title']}</h3>
<div class="formsubtitle" align="center">{$this->ipsclass->lang['log_in_needed']}</div>
<p>{$this->ipsclass->lang['no_guests']}</p>
<div class="formsubtitle" align="center">{$this->ipsclass->lang['log_in']}</div>
<div class="fieldwrap">
<h4>{$this->ipsclass->lang['lin_name']}</h4>
<input type="text" name="UserName" />
<h4>{$this->ipsclass->lang['lin_pass']}</h4>
<input type="password" name="PassWord" />
<input type="submit" value="{$this->ipsclass->lang['log_in']}" class="button" />
</div>
<p>{$this->ipsclass->lang['reg_text']}<br /><a href="javascript:redirect_to('&act=Reg', 1);">{$this->ipsclass->lang['reg_link']}</a></p>
<div align="center"><!--CLOSE.LINK--></div>
</div>
</form>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:main:desc:>
//===========================================================================
function main($away_text="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="borderwrap">
<h3>{$this->ipsclass->lang['page_title']}</h3>
<div class="formsubtitle">{$this->ipsclass->lang['while_away']}</div>
<p>{$away_text}</p>
<div class="formsubtitle">{$this->ipsclass->lang['show_me']}</div>
<p><a href="javascript:redirect_to('&act=Stats&CODE=leaders',0)">{$this->ipsclass->lang['sm_forum_leaders']}</a><br /><a href="javascript:redirect_to('&act=Stats',0)">{$this->ipsclass->lang['sm_today_posters']}</a><br /><a href="javascript:redirect_to('&act=Members&max_results=10&sort_key=posts&sort_order=desc',0)">{$this->ipsclass->lang['sm_all_posters']}</a><br /><a href="javascript:redirect_to('&act=Search&CODE=lastten',0)">{$this->ipsclass->lang['sm_my_last_posts']}</a></p>
<div class="formsubtitle" align="center">{$this->ipsclass->lang['search_forums']}</div>
<div align="center">
<form action="{$this->ipsclass->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" /> <input class="gobutton" type="image" src="{$this->ipsclass->vars['img_url']}/login-button.gif" value="{$this->ipsclass->lang['go']}" />
</form>
</div>
<div class="formsubtitle" align="center">{$this->ipsclass->lang['search_help']}</div>
<div align="center">
<form action="{$this->ipsclass->base_url}act=Help&CODE=02" method="post" name="theForm2" onsubmit="return check_form(1);">
<input type="text" size="17" name="search_q" /> <input class="gobutton" type="image" src="{$this->ipsclass->vars['img_url']}/login-button.gif" value="{$this->ipsclass->lang['go']}" />
</form>
</div>
<div><!--CLOSE.LINK--></div>
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:xml_nonewpms:desc:>
//===========================================================================
function xml_nonewpms() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class='mya-content'>
{$this->ipsclass->lang['nonew_pms_myass']}
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:xml_search:desc:>
//===========================================================================
function xml_search() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class='mya-content'>
<strong>{$this->ipsclass->lang['search_forums']}</strong>
<input type="text" onmouseover='this.focus()' size="17" id='myass-search-input' name="keywords" />
<input class="gobutton" onclick='xml_myassistant_search()' type="image" src="{$this->ipsclass->vars['img_url']}/login-button.gif" value="{$this->ipsclass->lang['go']}" />
<div id='myass-search-message'></div>
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:xml_showme:desc:>
//===========================================================================
function xml_showme() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class='mya-content'>
<fieldset>
<legend><strong>{$this->ipsclass->lang['legend_forum']}</strong></legend>
· <a href="{$this->ipsclass->base_url}act=Stats&CODE=leaders">{$this->ipsclass->lang['sm_forum_leaders']}</a>
</fieldset>
<br />
<fieldset>
<legend><strong>{$this->ipsclass->lang['legend_post']}</strong></legend>
· <a href="{$this->ipsclass->base_url}act=Stats">{$this->ipsclass->lang['sm_today_posters']}</a>
<br />· <a href="{$this->ipsclass->base_url}act=Members&max_results=10&sort_key=posts&sort_order=desc">{$this->ipsclass->lang['sm_all_posters']}</a>
<br />· <a href="{$this->ipsclass->base_url}act=Search&CODE=lastten">{$this->ipsclass->lang['sm_my_last_posts']}</a>
</fielset>
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:xml_tabs:desc:>
//===========================================================================
function xml_tabs($onoff="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div style='height:34px;margin-left:1px'>
<div class='{$onoff['info']}'><a href='#' onclick='xml_myassistant_init("info")'>{$this->ipsclass->lang['tab_info']}</a></div>
<div class='{$onoff['posts']}'><a href='#' onclick='xml_myassistant_init("posts")'>{$this->ipsclass->lang['tab_posts']}</a></div>
<div class='{$onoff['search']}'><a href='#' onclick='xml_myassistant_init("search")'>{$this->ipsclass->lang['tab_search']}</a></div>
EOF;
//startif
if ( $this->ipsclass->member['members_disable_pm'] == 0 AND $this->ipsclass->member['g_use_pm'] == 1 )
{
$IPBHTML .= <<<EOF
<div class='{$onoff['pms']}'><a href='#' onclick='xml_myassistant_init("pms")'>{$this->ipsclass->lang['tab_pms']}</a></div>
EOF;
}//endif
//startif
if ( $this->ipsclass->member['new_msg'] >= 1 AND $this->ipsclass->member['members_disable_pm'] == 0 AND $this->ipsclass->member['g_use_pm'] == 1 )
{
$IPBHTML .= <<<EOF
<div class='{$onoff['newpms']}'><a href='#' onclick='xml_myassistant_init("newpms")'>{$this->ipsclass->lang['tab_newpms']} ({$this->ipsclass->member['new_msg']})</a></div>
EOF;
}//endif
$IPBHTML .= <<<EOF
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:xml_wrap:desc:>
//===========================================================================
function xml_wrap($content="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class='mya-back'>
{$content}
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
}
/*--------------------------------------------------*/
/*<changed bits>
</changed bits>*/
/* END OF FILE */
/*--------------------------------------------------*/
?>