%PDF-1.4 %Óëéá 1 0 obj <> endobj 3 0 obj <> endobj 4 0 obj <
| Server IP : 212.252.79.165 / Your IP : 216.73.216.24 [ Web Server : Apache System : Linux 212-252-79-165.cprapid.com 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64 User : cehaburo ( 1001) PHP Version : 8.1.33 Disable Function : exec,passthru,shell_exec,system Domains : 48 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/cehaburo/public_html/lib/ |
Upload File : |
<?php
if(!isset($_SESSION['lang']) && empty($_SESSION['lang']))
{
session_start();
}
require 'connection.php';
$lang = "";
include ('lang-select.php');
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
}
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}
$language_menu_result = $ceha->query("SELECT * FROM tbl_language WHERE active='1' ORDER BY sequence");
$result_page_url = $ceha->query("SELECT * FROM tbl_seo WHERE active='1'");
while($row_page_url = $result_page_url->fetch_assoc()){
$page_url[$row_page_url['id']] = $row_page_url['seo_url_'.$lang];
}
$footer_address_result = $ceha->query("SELECT * FROM tbl_address WHERE id='2'");
$footer_address = $footer_address_result->fetch_array();
$social_result = $ceha->query("SELECT * FROM tbl_social WHERE id='1'");
$social = $social_result->fetch_array();
$result_variables = $ceha->query("SELECT * FROM tbl_variable");
while($row_variables = $result_variables->fetch_assoc()){
$variable[$row_variables['id']] = $row_variables['content_'.$lang];
}
$result_career_variables = $ceha->query("SELECT * FROM tbl_career_variable");
while($row_career_variables = $result_career_variables->fetch_assoc()){
$career_variable[$row_career_variables['id']] = $row_career_variables['content_'.$lang];
}
$company_result = $ceha->query("SELECT * FROM tbl_companies WHERE active='1' ORDER BY sequence");
?>