HEX
Server: Apache/2.4.59 (Debian)
System: Linux skycube.cz 4.19.0-25-amd64 #1 SMP Debian 4.19.289-2 (2023-08-08) x86_64
User: ilya (534)
PHP: 7.3.31-1~deb10u7
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
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&amp;CODE=01&amp;CookieDate=1&amp;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('&amp;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('&amp;act=Stats&amp;CODE=leaders',0)">{$this->ipsclass->lang['sm_forum_leaders']}</a><br /><a href="javascript:redirect_to('&amp;act=Stats',0)">{$this->ipsclass->lang['sm_today_posters']}</a><br /><a href="javascript:redirect_to('&amp;act=Members&amp;max_results=10&amp;sort_key=posts&amp;sort_order=desc',0)">{$this->ipsclass->lang['sm_all_posters']}</a><br /><a href="javascript:redirect_to('&amp;act=Search&amp;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&amp;CODE=01&amp;forums=all&amp;cat_forum=forum&amp;joinname=1&amp;search_in=posts&amp;result_type=topics" method="post" name="theForm" onsubmit="return check_form();">
			<input type="text" size="17" name="keywords" />&nbsp;<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&amp;CODE=02" method="post" name="theForm2" onsubmit="return check_form(1);">
			<input type="text" size="17" name="search_q" />&nbsp;<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>
	&middot; <a href="{$this->ipsclass->base_url}act=Stats&amp;CODE=leaders">{$this->ipsclass->lang['sm_forum_leaders']}</a>
</fieldset>
<br />
<fieldset>
 <legend><strong>{$this->ipsclass->lang['legend_post']}</strong></legend>
	&middot; <a href="{$this->ipsclass->base_url}act=Stats">{$this->ipsclass->lang['sm_today_posters']}</a>
	<br />&middot; <a href="{$this->ipsclass->base_url}act=Members&amp;max_results=10&amp;sort_key=posts&amp;sort_order=desc">{$this->ipsclass->lang['sm_all_posters']}</a>
	<br />&middot; <a href="{$this->ipsclass->base_url}act=Search&amp;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                                      */
/*--------------------------------------------------*/

?>