PK D_ZvZ`r r .htaccessnu [
The requested URL was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
PK D_ZОo) func.phpnu [ connect(); // Query the database // echo $query; $result = $connection -> query($query); return $result; } public function sql_query_id($query) { // Connect to the database $connection = $this -> connect(); // Query the database $result = $connection -> query($query) ; return $connection -> insert_id; } public function sql_query_affected_rows($query) { // Connect to the database $connection = $this -> connect(); // Query the database $result = $connection -> query($query) ; return $connection -> affected_rows; } public function sql_query_num_rows($query) { // Connect to the database $connection = $this -> connect(); // Query the database $result = $connection -> query($query) ; return $result -> num_rows; } /** * Fetch rows from the database (SELECT query) * * @param $query The query string * @return output */ public function select($query) { $result = $this -> sql_query($query); if($result === false) { return false; } $row = $this -> index_arr_values($result -> fetch_assoc()); if(empty($row)){ return ""; } return $row[0]; } /** * Quote and escape value for use in a database query * * @param string $value The value to be quoted and escaped * @return string The quoted and escaped string */ public function escape($value) { if (is_array($value)) { return array_map(array($this, 'escape'), $value); } $connection = $this -> connect(); return $connection -> real_escape_string(trim(preg_replace("/[[:blank:]]+/"," ", $value))); } /** * Return the values of associative array as indexed array * *@param associative array *@return indexed array */ public function index_arr_values($value){ if(empty($value)){ return array(); } return array_values($value); } /** * Return the keys of associative array as indexed array * *@param associative array *@return indexed array */ public function index_arr_keys($value){ return array_keys($value); } /** Get Client's IP */ // Function to get the client IP address function get_client_ip() { $ipaddress = ''; if (getenv('HTTP_CLIENT_IP')) $ipaddress = getenv('HTTP_CLIENT_IP'); else if(getenv('HTTP_X_FORWARDED_FOR')) $ipaddress = getenv('HTTP_X_FORWARDED_FOR'); else if(getenv('HTTP_X_FORWARDED')) $ipaddress = getenv('HTTP_X_FORWARDED'); else if(getenv('HTTP_FORWARDED_FOR')) $ipaddress = getenv('HTTP_FORWARDED_FOR'); else if(getenv('HTTP_FORWARDED')) $ipaddress = getenv('HTTP_FORWARDED'); else if(getenv('REMOTE_ADDR')) $ipaddress = getenv('REMOTE_ADDR'); else $ipaddress = 'UNKNOWN'; return $ipaddress; } function get_user_session(){ if(isset($_SESSION['crm_user'])){ return $_SESSION['crm_user']; }else{ return false; } } function system_settings(){ $system_settings_obj = $this -> sql_query("SELECT * FROM `lms_cnf_system` WHERE 1"); $system_settings_arr= array(); foreach($system_settings_obj as $row){ $system_settings_arr = array_merge($system_settings_arr,array($row['name']=>$row['value'])); } return $system_settings_arr; } } ?>PK D_Z j j cfg.ininu [ [config] host = 'localhost' username = 'autoph_crm' password = '@4u70hu36r0up007#' database = 'autoph_crm'PK D_Z0P cfg.phpnu [ set_charset("utf8"); } // If connection was not successful, handle the error if(self::$connection === false) { // Handle error - notify administrator, log to a file, show an error screen, etc. return false; } return self::$connection; } /** * Fetch the last error from the database * * @return string Database error message */ public function error() { $connection = $this -> connect(); return $connection -> error; } } ?>PK HZl8 mydb.phpnu [ PK HZ8 asaconn.phpnu [ format("Y-m-d h:i:s"); $extractYear = explode('-',$myTimeStamp); $curYear = $extractYear[0]; $extractDate = explode(' ',$myTimeStamp); $curDate = $extractDate[0]; $curTime = $extractDate[1]; $servername = "localhost"; $username = "autoph_arnel"; $password = "Hke@2001"; $db="autoph_connect"; $conn = new mysqli($servername, $username, $password,$db); if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } ?> PK HZҥ connasa.phpnu [ format("Y-m-d h:i:s"); $extractDate = explode('-',$myTimeStamp); $curYear = $extractDate[0]; $servername = "localhost"; $username = "autoph_arnel"; $password = "Hke@2001"; $db="autoph_connect"; $connasa = new mysqli($servername, $username, $password,$db); if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } ?> PK HZcy3 ahaconn.phpnu [ format("Y-m-d h:i:s"); $extractDate = explode('-',$myTimeStamp); $curYear = $extractDate[0]; $extractDate = explode(' ',$myTimeStamp); $curDate = $extractDate[0]; $curTime = $extractDate[1]; $servername = "localhost"; $username = "autoph_admindb"; $password = "~cxk)gU^ziaB"; $database = "autoph_ahg_crm"; $MyAPIcode = "PR-AUTOH172111_IE74I"; $MyPasswd = "me}vfe3j#c"; $itexMoPassword = 'JRE@jre0911'; $itexMoAPICode= 'PR-AUTOH172111_IE74I'; $itexMoEmail ='aendaya@autohubgroup.com'; $senderID = 'AUTOHUB GRP'; //'Email' => 'aendaya@autohubgroup.com', //'Password' => 'JRE@jre0911', //'ApiCode' => 'PR-AUTOH172111_IE74I', ///'SenderId'=> 'AUTOHUB GRP', // Create connection $conn = new mysqli($servername, $username, $password, $database); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } ?> PK HZgO' ' conn.phpnu [ format("Y-m-d h:i:s"); $extractYear = explode('-',$myTimeStamp); $curYear = $extractYear[0]; $extractDate = explode(' ',$myTimeStamp); $curDate = $extractDate[0]; $servername = "localhost"; $username = "autoph_pms_aree"; $password = "AEE-06262023@*"; $db="autoph_pms_db"; $conn = new mysqli($servername, $username, $password,$db); if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } ?> PK HZz@ db_console.phpnu [ system_settings(); if(intval($global_system_settings['is_maintenance']) === 1){ echo "Maintenance"; exit; } ob_flush(); ob_end_flush(); ?>PK HZ,' connhr.phpnu [ format("Y-m-d h:i:s"); $extractDate = explode('-',$myTimeStamp); $curYear = $extractDate[0]; $servername = "localhost"; $username = "autoph_admindb"; $password = "~cxk)gU^ziaB"; $db="autoph_ahg_hr"; $connhr = new mysqli($servername, $username, $password,$db); $MyAPIcode = "PR-AUTOH172111_IE74I"; $MyPasswd = "me}vfe3j#c"; $itexMoPassword = 'JRE@jre0911'; $itexMoAPICode= 'PR-AUTOH172111_IE74I'; $itexMoEmail ='aendaya@autohubgroup.com'; $senderID = 'AUTOHUB GRP'; if ($connhr->connect_error) { die("Connection failed: " . $connhr->connect_error); } ?> PK D_ZvZ`r r .htaccessnu [ PK D_Z8-L L db.phpnu [ PK D_ZE01z z - db_api.phpnu [ PK D_ZSж` ` index.phpnu [ PK D_ZОo) z func.phpnu [ PK D_Z j j cfg.ininu [ PK D_Z0P : cfg.phpnu [ PK HZl8 mydb.phpnu [ PK HZ8 asaconn.phpnu [ PK HZҥ " connasa.phpnu [ PK HZcy3 0$ ahaconn.phpnu [ PK HZgO' ' 9( conn.phpnu [ PK HZz@ * db_console.phpnu [ PK HZ,' , connhr.phpnu [ PK /