| 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/dumpchup.ca/behaviour-taco-bell/display/ |
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" />';
//$output = '<link href="./view/css/'.$lib.'.css'.$version.'" rel="stylesheet" type="text/css" />';
echo ($output."\n\t\t");
}
function getCSSmod($lib) {
global $cfg;
$output = '<link href="'.$cfg['url'].'node_modules/' . $lib . '.css" 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 getJS_mod($lib) {
global $cfg;
$lib_version = explode("?", $lib);
$lib = $lib_version[0];
$version = isset($lib_version[1]) ? "?".$lib_version[1] : "";
$output = '<script src="'.$cfg['url'].'node_modules/' . $lib . '.js' . $version . '" type="text/javascript"></script>';
echo ($output."\n\t\t");
}
function trim_value(&$value) {
$value = trim($value);
}
function isValidLanguage($lang) {
return in_array($lang, array('en'));
}
function img_url($src) {
global $cfg;
return $cfg['img_url'].'/'.$src;
}
?>