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_3/skin_chatsigma.php
<?php
/*--------------------------------------------------*/
/* FILE GENERATED BY INVISION POWER BOARD 3         */
/* CACHE FILE: Skin set id: 3               */
/* CACHE FILE: Generated: Tue, 18 Aug 2009 18:02:03 GMT */
/* DO NOT EDIT DIRECTLY - THE CHANGES WILL NOT BE   */
/* WRITTEN TO THE DATABASE AUTOMATICALLY            */
/*--------------------------------------------------*/

class skin_chatsigma_3 {

/**
* Construct
*/
function __construct( ipsRegistry $registry )
{
	/* Make object */
	$this->registry   =  $registry;
	$this->DB         =  $this->registry->DB();
	$this->settings   =& $this->registry->fetchSettings();
	$this->request    =& $this->registry->fetchRequest();
	$this->lang       =  $this->registry->getClass('class_localization');
	$this->member     =  $this->registry->member();
	$this->memberData =& $this->registry->member()->fetchMemberData();
	$this->cache      =  $this->registry->cache();
	$this->caches     =& $this->registry->cache()->fetchCaches();
}
	/* -- chat_inline --*/
function chat_inline($server="",$acc_no="",$lang="",$w="",$h="",$user="",$pass="") {
$IPBHTML = "";
$IPBHTML .= "<script type=\"text/javascript\">
//<![CDATA[
<!-- // Hide JS from HTML Validator
// Added like this to allow those without JS to still function nicely.
var chat_display = \"{$this->settings['chat_display']}\";
var chat_pad     = parseInt( \"{$this->settings['chat_poppad']}\" );
var chat_height  = parseInt( \"{$this->settings['chat_height']}\" );
var chat_width   = parseInt( \"{$this->settings['chat_width']}\" );
var popped       = parseInt( \"{$this->request['pop']}\" );
var chat_tol;
var chat_tol_time = 60 * 1000; // 60 seconds
chat_pad     = chat_pad ? chat_pad : 50;
chat_height += chat_pad;
chat_width  += chat_pad;
if ( chat_display != 'self' && popped != 1 )
{
	window.open( ipb_var_base_url + 'autocom=chatsigma&pop=1','Chat','width='+chat_width+',height='+chat_height+',resizable=yes,scrollbars=yes');
	// Bounce back to board index
	locationjump();
}
//]]>
//-->
</script>
<div class=\"borderwrap\">
	<div class=\"maintitle\"><{CAT_IMG}>&nbsp;{$this->lang->words['chat_title']}</div>
	<div class=\"tablepad\" align=\"center\">
	 <div style='border:8px outset #BCD0ED;width:{$w}px;' id=\"chatwrap\">
		<applet codebase=\"http://{$server}/current/\" code=\"Client.class\" archive=\"scclient_$lang.zip\" width=\"$w\" height=\"$h\" MAYSCRIPT>
			<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>
</div>
<br />
<div class=\"borderwrap\">
	<div class=\"maintitle\"><{CAT_IMG}>&nbsp;{$this->lang->words['chat_help']}</div>
	<div class=\"tablepad\">
		{$this->lang->words['chat_help_text']}
	</div>
</div>
<script type=\"text/javascript\">
//<![CDATA[
// Set timeout loop to update session's table.
if ( use_enhanced_js )
{
	chat_ping_session();
}
function chat_ping_session()
{
	do_request_function = function()
	{
		if ( ! xmlobj.readystate_ready_and_ok() )
		{
			return;
		}
		
		var returned = xmlobj.xmlhandler.responseText;
		
		if ( returned == 'ok' )
		{
			chat_tol = setTimeout( 'chat_ping_session()', chat_tol_time );
		}
	}
	
	xmlobj = new ajax_request();
	xmlobj.onreadystatechange( do_request_function );
	xmlobj.process( ipb_var_base_url + 'autocom=chatsigma&do=update' );
}
//]]>
</script>";
return $IPBHTML;
}



}

/*--------------------------------------------------*/
/* END OF FILE                                      */
/*--------------------------------------------------*/

?>