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/kamforum.ru/jscripts/ipb_board.js
//------------------------------------------
// Invision Power Board v2.1
// Boards JS File
// (c) 2005 Invision Power Services, Inc.
//
// http://www.invisionboard.com
//------------------------------------------



/*--------------------------------------------*/
// Send request to update marker
// NO LONGER USED
/*--------------------------------------------*/

function boards_send_marker_update( fid, is_subforum )
{
	//----------------------------------
	// Get current image...
	//----------------------------------
	
	try
	{
		var imgsrc = document.getElementById( 'f-'+fid ).innerHTML;
	
		if ( imgsrc )
		{
			//----------------------------------
			// Find out what img its using...
			//----------------------------------
			
			var regex  = new RegExp( "src=['\"](.*/)("+regex_markers+")['\"]" );
			
			var results = imgsrc.match( regex );
			
			//----------------------------------
			// Got a replacement?
			//----------------------------------
			
			if ( img_markers[ results[2] ] )
			{
				imgsrc = imgsrc.replace( regex, "src='$1"+img_markers[ results[2] ]+"'" );
				
				document.getElementById( 'f-'+fid ).innerHTML = imgsrc;
			}
		}
	}
	catch(e){}
		
	//----------------------------------
	// Get new xhttp obj
	//----------------------------------
	
	xmlobj = new xmlrequest();
	
	/*--------------------------------------------*/
	// Main function to do on request
	// Must be defined first!!
	/*--------------------------------------------*/
	
	xmlrequest.do_request_functon = function()
	{
		//----------------------------------
		// Do nothing
		//----------------------------------
	}
	
	//----------------------------------
	// LOAD XML
	//----------------------------------
	
	xmlrequest.load_xml_document( ipb_var_base_url + 'act=xmlout&do=mark-forum&fid='+fid+'&sf='+is_subforum );
	
	if ( ! xmlrequest.allow_use )
	{
		window.location = document.getElementById( 'f-'+fid ).url;
	}
	
	return false;
}