| Server IP : 3.96.16.70 / Your IP : 216.73.216.15 Web Server : Apache System : Linux ip-172-31-26-103.ca-central-1.compute.internal 6.1.163-186.299.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Feb 24 16:35:42 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/rbcvm.ca/trevorpeter-xvend/web/ |
Upload File : |
<?php
function getCSS($lib) {
global $cfg;
$lib_version = explode("?",$lib);
$lib = $lib_version[0];
$version = isset($lib_version[1]) ? "?".$lib_version[1] : "";
$output = '<link href="'.$cfg['url'].'view/css/'.$lib.'.css'.$version.'" rel="stylesheet" type="text/css" />';
echo ($output."\n\t\t");
}
function getJS($lib, $hosted) {
global $cfg;
if ($hosted == 1) {
$lib_version = explode("?",$lib);
$lib = $lib_version[0];
$version = isset($lib_version[1]) ? "?".$lib_version[1] : "";
$output = '<script src="'.$cfg['url'].'view/js/'.$lib.'.js'.$version.'" type="text/javascript"></script>';
} else {
$output = '<script src="'.$lib.'" type="text/javascript"></script>';
}
echo ($output."\n\t\t");
}
function getModal($mod) {
global $cfg;
global $userType;
include ($cfg['server_path'].'view/include/modal-'.$mod.'.php');
}
function trim_value(&$value) {
$value = trim($value);
}
function requireToVar($file){
ob_start();
require($file);
return ob_get_clean();
}
?>