HEX
Server: Apache
System: Linux ns308404 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User: root (0)
PHP: 8.3.31
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/onlinedev.com/httpdocs/admin/include/global.js
//Tabs menu
function tab(nr){
	
	for (i = 1; i < 6; i++)
	{
			if (nr == i)
			{
				document.getElementById("menu" + i).className = "on";
				document.getElementById("sub" + i).style.display = "";
			}
			else
			{	
					document.getElementById("menu" + i).className="";
					//document.getElementById("menu" + i).className="menu" + i;
					document.getElementById("sub" + i).style.display = "none";
			}
 }
}


//Chaeck all / Uncheck all
function checkAll(field){
for (i = 0; i < field.length; i++)
	field[i].checked = true ;
}

function uncheckAll(field){
for (i = 0; i < field.length; i++)
	field[i].checked = false ;
}