HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/posscale/www/jts/index.php
<?php
/**
* @version $Id: index.php 9 2006-09-16 15:06:10Z RussW $
* @package Joomla! Tools Suite
*/

// Set flag that this is a parent file
	define( '_VALID_JTS', 1 );

	error_reporting( E_ALL & ~E_NOTICE);

	if(defined( '_VALID_MOS' )) {
   		@require_once("configuration.php");
		} else {
   			@include_once("../configuration.php");
	}

  	$langPath = dirname(__FILE__) . '/';
  	$langPath = str_replace('\\', '/', $langPath);

	if (file_exists($langPath .'language/'. $mosConfig_lang .'.php')) {
   		require_once($langPath .'language/'. $mosConfig_lang.'.php');
		} else {
   			require_once($langPath .'language/english.php');
	}

	echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">";
	?>

	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<title><?php echo _JTS_HEAD; ?></title>

	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

    <link rel="STYLESHEET" type="text/css" href="css/jtools.css">
	<link rel="shortcut icon" href="../images/favicon.ico" />

	<script src="js/hidden.js" type="text/javascript"></script>
	<script src="js/tooltip.js" type="text/javascript"></script>

	</head>

	<body>

    <script type="text/javascript">
      (function() {
        var body = document.body,
        global = this,
        element, textNode;

        if (body && body.insertBefore && body.removeChild && document.createElement
          && document.createTextNode && (element = document.createElement('div'))
          && element.appendChild
          && (textNode = document.createTextNode('Processing Request. This may take awhile...  '))) {
          element.className = 'loading';
          element.appendChild(textNode);
          body.insertBefore(element, body.firstChild);
        }

        global.onload = function() {
        body.removeChild(element);
        global.onload = null;
        };
      })();
</script>


<div id="wrapper">
	<div id="header">
		<div id="joomla" style="padding-left: 25px; padding-top: 25px; height: 50px; font-size: 25px; font-weight: bold; color: #666666; background-image: url(images/joomla_logo.png); background-repeat: no-repeat;"><?php echo _JTS_HEAD; ?></div>
	</div>


    <div style="padding-left: 35px; font-size: 12px; font-weight: bold; color: #666666; background-color:#F3F3F3; border-bottom: 1px solid #C0C0C0; float: left; font-variant: small-caps;">

      <div style="padding-bottom: 3px; padding-right: 5px; background-color:#F3F3F3; float: left; width: auto;">
      <?php
/**
* If we cannot find either configuration.php or version.php we will disable the Database Maintenance menu option.
**/

      if ( (!file_exists('../configuration.php')) || (!file_exists('../includes/version.php')) ){ ?>
          <a style='text-decoration: none;' href="index.php" onMouseover="ddrivetip(' <?php echo _MENU_ENABLED; ?>', 200)" onMouseout="hideddrivetip()"><?php echo _MNU_HOME; ?></a>
          &nbsp;&nbsp;&nbsp;
          <a style='text-decoration: none;' href="index.php" onMouseover="showit(0)"><?php echo _MNU_ASSESS; ?></a>
		  &nbsp;&nbsp;&nbsp;
          <a style='text-decoration: none;' href="index.php" onMouseover="showit(1)"> <?php echo _MNU_AUDIT; ?></a>&nbsp;&nbsp;&nbsp;
          <!--// DISABLE DB Menu, Couldn't Find Config //-->
          <span onMouseover="ddrivetip(' <?php echo _MENU_DISABLED; ?>', 200)" onMouseout="hideddrivetip()"><?php echo _MNU_MAINT; ?></span>
      <?php } else { ?>
	      <!--// Found Config OK //-->
          <a style='text-decoration: none;' href="index.php" onMouseover="ddrivetip(' <?php echo _MENU_ENABLED; ?>', 200)" onMouseout="hideddrivetip()"><?php echo _MNU_HOME; ?></a>
          &nbsp;&nbsp;&nbsp;
          <a style='text-decoration: none;' href="index.php" onMouseover="showit(0)"><?php echo _MNU_ASSESS; ?></a>&nbsp;&nbsp;&nbsp;
          <a style='text-decoration: none;' href="index.php" onMouseover="showit(1)"><?php echo _MNU_AUDIT; ?></a>&nbsp;&nbsp;&nbsp;
          <a style='text-decoration: none;' href="index.php" onMouseover="showit(2)"><?php echo _MNU_MAINT; ?></a>
      <?php } ?>
      </div>

      <div align="right" style="float: right; padding-bottom: 3px; padding-left: 5px; padding-right: 5px; background-color:#F3F3F3; padding-right: 10px; text-align: right; font-size: 11px; font-variant: normal;">
	    <a href="http://help.joomla.org" target="_docs"><?php echo _JHELP_SITE; ?></a> |
		<a href="http://help.joomla.org/images/User_manual/user_manual_v1%200%201_10%2021%2006.pdf" target="_docs"><?php echo _JUSER_GUIDE; ?></a> | 
		<a href="?opt=help"><?php echo _JTS_SHORTNAME ." ". _JHELP; ?></a>
	  </div>
    <br clear="all">

  <ilayer width='100%' height=12 name="dep1" bgColor="#E6E6FF">
    <layer name="dep2" width='100%' height=12></layer>
  </ilayer>

  <div id="describe" style="padding-left: 10px; font-size: 11px; padding-bottom: 3px; background-color:#F3F3F3; width:100%; height:12px" onMouseover="clear_delayhide()" onMouseout="resetit(event)"></div>

<script>
  var submenu=new Array()

//Set submenu contents. Expand as needed. For each content, make sure everything exists on ONE LINE. Otherwise, there will be JS errors.
  submenu[0]='&raquo; <a style="text-decoration: none; color: #000000; font-weight: normal;" href="?opt=hisa" onMouseover="ddrivetip(\' <?php echo _HISA_MESSAGE; ?>\', 200)" onMouseout="hideddrivetip()"><?php echo _MNU_HISA; ?></a>&nbsp;&nbsp;&middot;&nbsp;&nbsp;'

<?php if ( (!file_exists('../configuration.php')) || (!file_exists('../includes/version.php')) ){ ?> 

  submenu[1]='&raquo; <a style="text-decoration: none; color: #000000; font-weight: normal;" href="?opt=diag" onMouseover="ddrivetip(\' <?php echo _DIAG_MESSAGE; ?>\', 200)" onMouseout="hideddrivetip()"><?php echo _MNU_DIAG; ?></a>&nbsp;&nbsp;&middot;&nbsp;&nbsp;<a style="text-decoration: none; color: #000000; font-weight: normal;" href="?opt=diag&mysite=y" onMouseover="ddrivetip(\' <?php echo _DIAG_CUSTOMHASH_MSG; ?>\', 200)" onMouseout="hideddrivetip()"><?php echo _MNU_CUSTOMUSE; ?></a>&nbsp;&nbsp;&middot;&nbsp;&nbsp;<a style="text-decoration: none; color: #000000; font-weight: normal;" href="?opt=flis" onMouseover="ddrivetip(\' <?php echo _FLIS_MESSAGE; ?>\', 200)" onMouseout="hideddrivetip()"><?php echo _MNU_FLIS; ?></a>&nbsp;&nbsp;&middot;&nbsp;&nbsp;<span onMouseover="ddrivetip(\' <?php echo _MENU_DISABLED; ?>\', 200)" onMouseout="hideddrivetip()"><?php echo _MNU_VLIS; ?></span>'

<?php } else { ?>

  submenu[1]='&raquo; <a style="text-decoration: none; color: #000000; font-weight: normal;" href="?opt=diag" onMouseover="ddrivetip(\' <?php echo _DIAG_MESSAGE; ?>\', 200)" onMouseout="hideddrivetip()"><?php echo _MNU_DIAG; ?></a>&nbsp;&nbsp;&middot;&nbsp;&nbsp;<a style="text-decoration: none; color: #000000; font-weight: normal;" href="?opt=diag&mysite=y" onMouseover="ddrivetip(\'<?php echo _DIAG_CUSTOMHASH_MSG; ?>\', 200)" onMouseout="hideddrivetip()"><?php echo _MNU_CUSTOMUSE; ?></a>&nbsp;&nbsp;&middot;&nbsp;&nbsp;<a style="text-decoration: none; color: #000000; font-weight: normal;" href="?opt=flis" onMouseover="ddrivetip(\'<?php echo _FLIS_MESSAGE; ?>\', 200)" onMouseout="hideddrivetip()"><?php echo _MNU_FLIS; ?></a>&nbsp;&nbsp;&middot;&nbsp;&nbsp;<a style="text-decoration: none; color: #000000; font-weight: normal;" href="?opt=vlis" onMouseover="ddrivetip(\'<?php echo _VLIS_MESSAGE; ?>\', 200)" onMouseout="hideddrivetip()"><?php echo _MNU_VLIS; ?></a>'

<?php } ?>

  submenu[2]='&raquo; <a style="text-decoration: none; color: #000000; font-weight: normal;" href="?opt=dbop" onMouseover="ddrivetip(\' <?php echo _DBOP_MESSAGE; ?>\', 200)" onMouseout="hideddrivetip()"><?php echo _MNU_DBOP; ?></a>&nbsp;&nbsp;&middot;&nbsp;&nbsp;'

//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
  var delay_hide=500

/**** No need to edit beyond here ****/
  var menuobj=document.getElementById? document.getElementById("describe") : document.all? document.all.describe : document.layers? document.dep1.document.dep2 : ""

  function showit(which){
    clear_delayhide()
    thecontent=(which==-1)? "" : submenu[which]

    if (document.getElementById||document.all)
      menuobj.innerHTML=thecontent
    else if (document.layers){
      menuobj.document.write(thecontent)
      menuobj.document.close()
    }
  }

  function resetit(e){

    if (document.all&&!menuobj.contains(e.toElement))
      delayhide=setTimeout("showit(-1)",delay_hide)
    else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
      delayhide=setTimeout("showit(-1)",delay_hide)
  }

  function clear_delayhide(){

    if (window.delayhide)
      clearTimeout(delayhide)
  }

  function contains_ns6(a, b) {

    while (b.parentNode)

      if ((b = b.parentNode) == a)
      return true;
      return false;
  }
</script>

</div>
  <br clear="all" />

<?php

	if ($_GET['opt'] == "hisa") {
		include ("joomla_hisa.php");
		} elseif ($_GET['opt'] == "diag") {
			include ("joomla_diagnostics.php");
			} elseif ($_GET['opt'] == "dbop") {
				include ("joomla_dbmaint.php");
				} elseif ($_GET['opt'] == "flis") {
					include ("joomla_flist.php");
					} elseif ($_GET['opt'] == "vlis") {
						include ("joomla_vlist.php");
						} elseif ($_GET['opt'] == "help") {
							include ("JTS_Help.php");
							} else {



?>
	<div id="ctr" align="center">
		<div class="install">
		<div id="stepbar">

			<p>
			<?php 
		  		echo "<table border='0' width='96%' cellspadding='1' cellspacing='0' align='center'><tr><td  class='advisor' style='background-image: none;'><img src=\"images/jts.gif\" width=\"98\" height=\"60\" alt=\"Joomla! Tools Suite\" /></td></tr></table><br />"; 
		  		echo "<table border='0' width='96%' cellspadding='1' cellspacing='0' align='center'><tr><td  class='advisor'>"._JTS_WELCOME ."</td></tr></table><br />"; 
				echo "<table border='0' width='96%' cellspadding='1' cellspacing='0' align='center'><tr><td  class='advisor'>";
				echo "<b>". _VERNAME ." ". _JTS_VERSION ." : ". _LANGUAGE ."</b><br /><br />";
				echo "<b>". _HISA_TRANSLATEDBY.":</b><br />"._HISA_TRANSLATEDWHO ."<br />";
				echo "</td></tr></table>";
				echo "</p><p>";
				if ( (!file_exists('../configuration.php')) || (!file_exists('../includes/version.php')) ){
			  		echo "<table border='0' width='96%' cellspadding='2' cellspacing='3' align='center'><tr><td width='50%' class='bad-message'>"._WARN_NOCONFIG."</i></td></tr></table>"; 
			  		echo "<table border='0' width='96%' cellspadding='2' cellspacing='3' align='center'><tr><td width='50%' class='advisor'>"._ADVI_NOCONFIG."</i></td></tr></table>"; 
				}
			?>
			</p>

		</div>
			<div id="right">


  			<div class="clr"></div>
  			<h1><?php echo _JTS_TITLE; ?>:</h1>
	  		<div class="install-text">
  				<p>
				<?php echo _JTS_MSG; ?>				
				</p>
  			</div>
			<div class="install-form">
  				<div class="form-block">
						<table class="content" border="0" cellpadding="2" cellspacing="0">
                        <tr>
						    <td class="item"><b><?php echo _JTS_SHORTNAME ." "._VERNAME; ?></b></td>
							<td class="item" style="border-top: 1px solid #C0C0C0;"><a href="http://joomlacode.org/gf/project/jts/" target="_new"><?php echo "<b>"._JTS_SHORTNAME." ". _JTS_VERSION ."</a></b> ( "._LANGUAGE ." )"; ?></td>
						</tr>
                        <tr>
						    <td class="item">&nbsp; - <?php echo _AUTHOR; ?></td>
							<td class="item" style="border-bottom: 1px solid #C0C0C0;">Russell Winter (RussW)</td>
						</tr>
						<tr>
						    <td class="item" width="35%"><b><?php echo _HOSTNAME; ?></b></td>
							<td class="item" width="65%"><?php echo @php_uname(n); ?></td>
						</tr>
                        <tr>
						    <td class="item">&nbsp; - <?php echo _PLATFORM; ?></td>
							<td class="item"><?php echo @php_uname(s); ?> <?php echo @php_uname(r); ?> <?php echo @php_uname(v); ?></td>
						</tr>
                        <tr>
						    <td class="item">&nbsp; - <?php echo _ARCHITECTURE; ?></td>
							<td class="item"><?php echo @php_uname(m); ?></td>
						</tr>
						<tr>
						    <td class="item"><b><?php echo _SVRVER; ?></b></td>
							<td class="item"><?php echo $_SERVER['SERVER_SOFTWARE']; ?></td>
						</tr>
                        <tr>
						    <td class="item"><b><?php echo _PHPVER; ?></b></td>
							<td class="item" style="border-bottom: 1px solid #C0C0C0;"><?php echo phpversion(); ?></td>
						</tr>
                        <tr>
						    <td class="item">&nbsp;</td>
							<td class="item">&nbsp;</td>
						</tr>
                        <tr>
						    <td class="item">
							<span onClick="expandcontent('contrib')" style="cursor:hand; cursor:pointer" align="right"><img src="images/users.png" width="16" height="16" alt="" />&nbsp;Show/Hide<br /></span>
							&nbsp;<b><?php echo _CREDITS; ?></b></td>
							<td class="item">&nbsp;</td>
						</tr>

                        <tr>
						    <td colspan="2" class="item">&nbsp;

						<div id="contrib" class="switchcontent">
						<table width="100%">
						<tr>
							<td class="item" valign="top">&nbsp; - Joomla! HISA, DB Optimise</td>
							<td class="item" valign="top">RussW</td>
						</tr>
						<tr>
							<td class="item" valign="top">&nbsp; - Joomla! Diagnostics</td>
							<td class="item" valign="top">WebSmurf</td>
						</tr>							
						<tr>
							<td class="item">&nbsp; - Language Support</td>
							<td class="item" valign="top">
								<table border="0" width="99%" cellpadding="1" cellspacing="0" style="border-top: 1px solid #C0C0C0;">
								<tr>
									<td width="50%">Markku (Finnish)</td><td width="50%">Chrille (Swedish)</td>
								</tr><tr>
									<td>Ghosty (German)</td><td>RussW (English)</td>
								</tr><tr>
									<td>LocALiceR (Hungarian)</td><td>Epsylon (French)</td>
								</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td class="item">&nbsp; - Quality and Testing</td>
							<td class="item" valign="top">
								<table border="0" width="99%" cellpadding="1" cellspacing="0" style="border-top: 1px solid #C0C0C0;">
								<tr>
									<td width="33%">infograf768</td><td width="33%">rliskey</td><td width="33%">MMMedia</td>
								</tr><tr>
									<td>humvee</td><td>Markku</td><td>Chrille</td>
								</tr><tr>
									<td>Ghosty</td><td>&nbsp;</td>
								</tr>
								</table>
							</td>
						</tr>
						</table>

						</div>

							</td>
						</tr>
                        </table>

  				</div>
			</div>

		</div>
		<div class="clr"></div>
	</div>	


	<div class="error" style="width: 755px; padding: 2px; font-size: 11px; font-weight: normal; background-color: yellow; text-align: center; background-image: url(../includes/js/ThemeOffice/warning.png); background-position: 4px 4px; background-repeat: no-repeat; border: 1px solid #cc0000;">
	<?php echo _WARN_SECURITY; ?>
	</div>

		<br /><br />
		<?php echo _JUST_LINK; ?><br />
	<br />

	<div class="ctr">
		<?php echo _JOOMLA_LINK; ?>
	</div>

	</body>
	</html>
<?php

	}
	
?>