<?php
$down_one = “yes”;
require_once(’…/database/db.php’);
$colname_Recordset1 = “1”;
mysql_select_db($database_Customer_Database, $Customer_Database);
$query_Recordset1 = sprintf(“SELECT * FROM custumerbase WHERE servicename = '”.$_SESSION[‘username’]."’", $colname_Recordset1);
$Recordset1 = mysql_query($query_Recordset1, $Customer_Database);
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
if ($_SESSION[‘Rank’] != ‘Admin’) {
die(‘Uhm, nice try.’);
}
$colname_Installers = “1”;
mysql_select_db($database_Customer_Database, $Customer_Database);
$query_Installers = sprintf(“SELECT * FROM installers WHERE id = '”.$_GET[‘installer’]."’", $colname_Installers);
$Installers = mysql_query($query_Installers, $Customer_Database) or die(mysql_error());
$row_Installers = mysql_fetch_assoc($Installers);
$totalRows_Installers = mysql_num_rows($Installers);
function GetSQLValueString($theValue, $theType, $theDefinedValue = “”, $theNotDefinedValue = “”)
{