added composer files and installed vendor packages. Also modified xsls to display base project

This commit is contained in:
2026-08-09 09:59:37 -04:00
parent 53cd5430ee
commit 2d96a7b6e5
2142 changed files with 569661 additions and 240 deletions
+1 -1
View File
@@ -289,7 +289,7 @@ class Alerts extends Base {
$recordset = $statement->fetch(PDO::FETCH_ASSOC);
$count = (count($recordset) > 0) ? (integer) $recordset["count"] : (integer) 0;
$count = (count($recordset) > 0) ? (int) $recordset["count"] : (int) 0;
// Pagination
+1 -1
View File
@@ -583,7 +583,7 @@ class Base {
public function getZipcode($zip_code = 0) {
$zip_code = filter_input(INPUT_POST, "zip_code", FILTER_SANITIZE_NUMBER_INT) ?: 0;
$zip_code = (integer) substr((string) $zip_code, 0, 5);
$zip_code = (int) substr((string) $zip_code, 0, 5);
$zipCodeDetail = null;
+2 -2
View File
@@ -341,7 +341,7 @@ class Dropdowns extends Base {
public function dropdowntypeActive() {
$dropdowntype_serial = (integer) filter_input(INPUT_POST, "dropdowntype_serial", FILTER_SANITIZE_NUMBER_INT) ?: 0;
$dropdowntype_serial = (int) filter_input(INPUT_POST, "dropdowntype_serial", FILTER_SANITIZE_NUMBER_INT) ?: 0;
$SQL = "select dropdown_serial
from view_dropdowns
@@ -587,7 +587,7 @@ class Dropdowns extends Base {
$recordset = $statement->fetch(PDO::FETCH_ASSOC);
$count = (count($recordset) > 0) ? (integer) $recordset["count"] : (integer) 0;
$count = (count($recordset) > 0) ? (int) $recordset["count"] : (int) 0;
// Pagination
+1 -1
View File
@@ -100,7 +100,7 @@ class Journal extends Base {
$recordset = $statement->fetch(PDO::FETCH_ASSOC);
$count = (count($recordset) > 0) ? (integer) $recordset["count"] : (integer) 0;
$count = (count($recordset) > 0) ? (int) $recordset["count"] : (int) 0;
// Pagination
+1 -1
View File
@@ -253,7 +253,7 @@ class Popovers extends Base {
$recordset = $statement->fetch(PDO::FETCH_ASSOC);
$count = (count($recordset) > 0) ? (integer) $recordset["count"] : (integer) 0;
$count = (count($recordset) > 0) ? (int) $recordset["count"] : (int) 0;
// Pagination
+3 -3
View File
@@ -215,7 +215,7 @@ class Reports extends Base {
$reports = $this->getTable("reports", $SQL);
return (integer) ($reports->record->report_serial ?? 0);
return (int) ($reports->record->report_serial ?? 0);
}
// =======================
@@ -268,7 +268,7 @@ class Reports extends Base {
$recordset = $statement->fetch(PDO::FETCH_ASSOC);
$count = (count($recordset) > 0) ? (integer) $recordset["count"] : (integer) 0;
$count = (count($recordset) > 0) ? (int) $recordset["count"] : (int) 0;
// Pagination
@@ -357,7 +357,7 @@ class Reports extends Base {
$recordset = $statement->fetch(PDO::FETCH_ASSOC);
$count = (count($recordset) > 0) ? (integer) $recordset["count"] : (integer) 0;
$count = (count($recordset) > 0) ? (int) $recordset["count"] : (int) 0;
// Pagination
+2 -2
View File
@@ -63,7 +63,7 @@ class SignIn extends Base {
die();
}
if ((integer) $user->record->user_active === 0) {
if ((int) $user->record->user_active === 0) {
echo $this->applyXSL("", $this->getXSL("signIn"), $XSLParms);
die();
}
@@ -79,7 +79,7 @@ class SignIn extends Base {
session_regenerate_id(true);
$_SESSION[self::USER_AUTHENTICATED] = true;
$_SESSION[self::USER_SERIAL] = (integer) $user->record->user_serial;
$_SESSION[self::USER_SERIAL] = (int) $user->record->user_serial;
$_SESSION[self::USER_ID] = (string) $user->record->user_id;
$_SESSION[self::USER_NAME] = (string) $user->record->user_name;
$_SESSION[self::USER_EMAIL] = (string) $user->record->user_email;
+1 -1
View File
@@ -310,7 +310,7 @@ class Statuses extends Base {
$recordset = $statement->fetch(PDO::FETCH_ASSOC);
$count = (count($recordset) > 0) ? (integer) $recordset["count"] : (integer) 0;
$count = (count($recordset) > 0) ? (int) $recordset["count"] : (int) 0;
// Pagination
+6 -6
View File
@@ -111,8 +111,8 @@ class Users extends Base {
$user_random_password = $this->generateRandomPassword();
$user_temp_password = password_hash($user_random_password, PASSWORD_DEFAULT);
$user_change_password = (boolean) true;
$user_active = (boolean) true;
$user_change_password = (int) true;
$user_active = (int) true;
// Add the User
@@ -202,7 +202,7 @@ class Users extends Base {
case "prompt":
$user_serial = (integer) filter_input(INPUT_POST, "user_serial", FILTER_SANITIZE_NUMBER_INT) ?: 0;
$user_serial = (int) filter_input(INPUT_POST, "user_serial", FILTER_SANITIZE_NUMBER_INT) ?: 0;
$user = $this->getUser($user_serial);
@@ -305,7 +305,7 @@ class Users extends Base {
$users = $this->getUserByUserId($user_id);
return ($users->count() === 0) ? 0 : (integer) $users->record->user_serial;
return ($users->count() === 0) ? 0 : (int) $users->record->user_serial;
}
// =====================
@@ -354,7 +354,7 @@ class Users extends Base {
$recordset = $statement->fetch(PDO::FETCH_ASSOC);
$count = (count($recordset) > 0) ? (integer) $recordset["count"] : (integer) 0;
$count = (count($recordset) > 0) ? (int) $recordset["count"] : (int) 0;
// Pagination
@@ -469,7 +469,7 @@ class Users extends Base {
public function userActive() {
$user_serial = (integer) filter_input(INPUT_POST, "user_serial", FILTER_SANITIZE_NUMBER_INT) ?: 0;
$user_serial = (int) filter_input(INPUT_POST, "user_serial", FILTER_SANITIZE_NUMBER_INT) ?: 0;
$SQL = "select request_serial
from requests