Ejemplo n.º 1
0
	<link href="../css/ui-lightness/jquery-ui-1.8.14.custom.css" rel="stylesheet" type="text/css" />
    <script src="../js/jquery-ui.js"></script>
	<script src="../report/js/jquery-ui-timepicker-addon.js" type="text/javascript"></script>

    <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
    <script type="text/javascript" src="../tracking/live.js"></script>
	<script type="text/javascript" src="../tracking/live1.js"></script>
    <script type="text/javascript" src="../js/OpenLayers.js"></script>

</head>
<?php 
if (session('user_id') == "261") {
    echo header('Location: ../sessionexpired/?l=' . $cLang);
}
opendb();
$Allow = getPriv("routescurrent", session("user_id"));
if ($Allow == False) {
    echo header('Location: ../permission/?l=' . $cLang);
}
$user_id = Session("user_id");
$dsAll = query("select defaultmap, datetimeformat, timezone, metric, cl.clienttypeid, ci.latitude, ci.longitude from users u left outer join clients cl on cl.id = u.clientid left outer join cities ci on ci.id = cl.cityid where u.id = " . $user_id);
$datetimeformat = pg_fetch_result($dsAll, 0, 'datetimeformat');
$datfor = explode(" ", $datetimeformat);
$dateformat = $datfor[0];
$timeformat = $datfor[1];
if ($timeformat == 'h:i:s') {
    $timeformat = $timeformat . " A";
}
if ($timeformat == "H:i:s") {
    $tf = " H:i";
} else {
Ejemplo n.º 2
0
<?php

include "../include/db.php";
include "../include/functions.php";
include "../include/params.php";
include "../include/dictionary2.php";
?>


<?php 
header("Content-type: text/html; charset=utf-8");
opendb();
$uid = session('user_id');
$cid = session('client_id');
$Allow = getPriv("vehicles", $uid);
if ($Allow == False) {
    echo header('Location: ../permission/?l=' . $cLang);
}
addlog(42);
?>

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

</head>
	<script type="application/javascript"> lang = '<?php 
echo $cLang;
?>
'; </script>
Ejemplo n.º 3
0
<?php

include "../include/functions.php";
include "../include/db.php";
include "../include/params.php";
include "../include/dictionary2.php";
session_start();
opendb();
$ua = getBrowser();
$yourbrowser = (bool) strpos($ua['userAgent'], "iPad");
$yourbrowser1 = (bool) strpos($ua['userAgent'], "Macintosh");
$Allow = getPriv("groupspoi", session("user_id"));
if ($Allow == False) {
    echo header('Location: ../permission/?l=' . $cLang);
}
addlog(41);
?>
<html>
<head>
	<script type="application/javascript">
		lang = '<?php 
echo $cLang;
?>
';
	</script>
	<link rel="stylesheet" type="text/css" href="../style.css">
	<link href="../css/ui-lightness/jquery-ui-1.8.14.custom.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="../js/jquery.js"></script>
	<script type="text/javascript" src="../js/share.js"></script>
	<script type="text/javascript" src="../js/settings.js"></script>
	<script type="text/javascript" src="../tracking/live.js"></script>
Ejemplo n.º 4
0
<?php 
include "../include/db.php";
include "../include/functions.php";
include "../include/params.php";
include "../include/dictionary2.php";
?>

<?php 
session_start();
header("Content-type: text/html; charset=utf-8");
$ua = getBrowser();
$yourbrowser = (bool) strpos($ua['userAgent'], "iPad");
$yourbrowser1 = (bool) strpos($ua['userAgent'], "Macintosh");
opendb();
$Allow = getPriv("privilegesuser", session("user_id"));
if ($Allow == False) {
    echo header('Location: ../permission/?l=' . $cLang);
}
if (is_numeric(nnull(session("user_id"))) == false) {
    echo header("Location: ../sessionexpired/?l=" . $cLang);
}
$userID = str_replace("'", "''", NNull($_GET['uid'], ''));
$dsUsers = query("select id, fullname, roleid from users where id=" . $userID);
$ds = query("select allowedrouting, allowedfm from clients where id=" . session("client_id"));
$allowedR = pg_fetch_result($ds, 0, "allowedrouting");
$allowedF = pg_fetch_result($ds, 0, "allowedfm");
$reports = "checked='checked'";
$settings = "checked='checked'";
$routes = "checked='checked'";
$insertpoi = "checked='checked'";
$viewpoi = "checked='checked'";
Ejemplo n.º 5
0
    $emailClick = "";
    $emailStyle = "style='float:right; opacity:0.5; cursor:default'";
    $noPermEmail = dic_("Reports.NoPermiss") . " ";
}
//pdf
$prPdf = getPriv("exportpdf", $uid);
if ($prPdf == true) {
    $pdfClick = "createPDF('MessageReport')";
    $pdfStyle = "style='float:right; cursor:pointer'";
} else {
    $pdfClick = "";
    $pdfStyle = "style='float:right; opacity:0.5; cursor:default'";
    $noPermPdf = dic_("Reports.NoPermiss") . " ";
}
//excel
$prExcel = getPriv("exportpdf", $uid);
if ($prExcel == true) {
    $excHref = $excStyle = "style='float:right; cursor:pointer'";
} else {
    $excHref = "";
    $excStyle = "style='float:right; opacity:0.5; cursor:default'";
    $noPermExc = dic_("Reports.NoPermiss") . " ";
}
$meseci = array("January1", "February1", "March1", "April1", "May1", "June1", "July1", "August1", "September1", "October1", "November1", "December1");
$idUsers = "";
?>
	
  <div id="report-content" style="width:100%; overflow-y:auto; text-align:left; height:500px; background-color:#fff;" class="corner5">
<div id="icons" style="position: relative; right:8px">
       
	        <div onclick="<?php 
Ejemplo n.º 6
0
<?php include "../include/functions.php" ?>
<?php include "../include/db.php" ?>
<?php include "../include/params.php" ?>
<?php include "../include/dictionary2.php" ?>

<?php opendb();?>

<?php

	error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);  // [josip] za error reports

	header("Content-type: text/html; charset=utf-8");
	opendb();

	$Allow = getPriv("employees", session("user_id"));
	if ($Allow == False) echo header ('Location: ../permission/?l=' . $cLang);

	$ua=getBrowser();
	$yourbrowser = (bool) strpos($ua['userAgent'], "iPad");
	$yourbrowser1 = (bool) strpos($ua['userAgent'], "Macintosh");

	addlog(47);
?>

<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<?php
	if($yourbrowser == "1")
	{ ?>
	<style type="text/css">
Ejemplo n.º 7
0
<?php

include "../include/db.php";
include "../include/functions.php";
include "../include/params.php";
include "../include/dictionary2.php";
?>

<?php 
header("Content-type: text/html; charset=utf-8");
opendb();
$uid = Session("user_id");
$cid = Session("client_id");
$ClientType = "";
$sqlV = "";
$Allow = getPriv("generalsettings", $uid);
if ($Allow == False) {
    echo header('Location: ../permission/?l=' . $cLang);
}
$dsCT = query("select ClientTypeID from clients where id = " . $cid);
if (pg_num_rows($dsCT) > 0) {
    $ClientType = nnull(pg_fetch_result($dsCT, 0, 0) . "", "1");
}
if (is_numeric(nnull($uid)) == false) {
    echo header("Location: ../sessionexpired/?l=" . $cLang);
}
if (Session("Role_id") == "2") {
    $sqlV = "select id from vehicles where clientID=" . $cid;
} else {
    $sqlV = "select vehicleID from UserVehicles where userID=" . $uid . "";
}
Ejemplo n.º 8
0
	<script type="text/javascript" src="./js/highcharts.src.js"></script>

	<link href="../css/ui-lightness/jquery-ui-1.8.14.custom.css" rel="stylesheet" type="text/css" />
    <script src="../js/jquery-ui.js"></script>
	<script src="../report/js/jquery-ui-timepicker-addon.js" type="text/javascript"></script>
    <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
    <script type="text/javascript" src="../js/OpenLayers.js"></script>
    <script src="js/optimized.js" type="text/javascript"></script>
    <script src="js/advanced.js" type="text/javascript"></script>
	<script src="../js/jsxcompressor.js"></script>

</head>

<?php 
opendb();
$Allow = getPriv("routessearch", session("user_id"));
if ($Allow == False) {
    echo header('Location: ../permission/?l=' . $cLang);
}
$user_id = Session("user_id");
$dsAll = query("select defaultmap, datetimeformat, timezone, metric, cl.clienttypeid, ci.latitude, ci.longitude from users u left outer join clients cl on cl.id = u.clientid left outer join cities ci on ci.id = cl.cityid where u.id = " . $user_id);
$datetimeformat = pg_fetch_result($dsAll, 0, 'datetimeformat');
$datfor = explode(" ", $datetimeformat);
$dateformat = $datfor[0];
$timeformat = $datfor[1];
if ($timeformat == 'h:i:s') {
    $timeformat = $timeformat . " A";
}
if ($timeformat == "H:i:s") {
    $tf = " H:i";
} else {
Ejemplo n.º 9
0
<?php

include "../include/functions.php";
include "../include/db.php";
include "../include/params.php";
include "../include/dictionary2.php";
?>

<?php 
opendb();
$uid = session("user_id");
$cid = session("client_id");
$roleid = dlookup("select roleid from users where id=" . $uid);
$Allow = getPriv("groupspoi", $uid);
if ($Allow == False) {
    echo header('Location: ../permission/?l=' . $cLang);
}
addlog(41);
function pp($a)
{
    echo '<pre>' . print_r($a, 1) . '</pre>';
}
function comp($color)
{
    preg_match("/#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})/i", $color, $out);
    $ilum = 1 - (0.299 * hexdec($out[1]) + 0.587 * hexdec($out[2]) + 0.114 * hexdec($out[3])) / 255;
    return $ilum >= 0.5 ? '#ffffff' : '#000000';
}
?>

<html>
Ejemplo n.º 10
0
<?php

include "../include/db.php";
include "../include/functions.php";
include "../include/params.php";
include "../include/dictionary2.php";


	header("Content-type: text/html; charset=utf-8");
	opendb();
	$Allow = getPriv("vehicles", session("user_id"));
	if ($Allow == False) echo header ('Location: ../permission/?l=' . $cLang);
	
	$ua=getBrowser();
	$yourbrowser = (bool) strpos($ua['userAgent'], "iPad");
	$yourbrowser1 = (bool) strpos($ua['userAgent'], "Macintosh");
	
	addlog(42);
?>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

</head>
	<script type="application/javascript">
		lang = '<?php echo $cLang?>';
	</script>
	<link rel="stylesheet" type="text/css" href="../style.css">
    <link rel="stylesheet" type="text/css" href="../live/style.css">
Ejemplo n.º 11
0
	<script type="text/javascript" src="routes.js"></script>
	<script type="text/javascript" src="./js/highcharts.src.js"></script>

	<link href="../css/ui-lightness/jquery-ui-1.8.14.custom.css" rel="stylesheet" type="text/css" />
    <script src="../js/jquery-ui.js"></script>
	<script src="../report/js/jquery-ui-timepicker-addon.js" type="text/javascript"></script>
    <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
    <script type="text/javascript" src="../tracking/live.js"></script>
	<script type="text/javascript" src="../tracking/live1.js"></script>
    <script type="text/javascript" src="../js/OpenLayers.js"></script>
</head>

<?php 
opendb();
$Allow = getPriv("routesall", session("user_id"));
if ($Allow == False) {
    echo header('Location: ../permission/?l=' . $cLang);
}
$user_id = Session("user_id");
$dsAll = query("select defaultmap, datetimeformat, timezone, metric, cl.clienttypeid, ci.latitude, ci.longitude from users u left outer join clients cl on cl.id = u.clientid left outer join cities ci on ci.id = cl.cityid where u.id = " . $user_id);
$clientType = pg_fetch_result($dsAll, 0, "clienttypeid");
$clientUnit = pg_fetch_result($dsAll, 0, "metric");
//dim allPOI as integer = dlookup("select count(*) from pinpoints where clientID=" & session("client_id"))
//Dim allPOIs As String = "false"
//If allPOI < 1000 Then allPOIs = "true"
$DefMap = pg_fetch_result($dsAll, 0, "defaultmap");
$currDateTime = new Datetime();
$currDateTime = $currDateTime->format("d-m-Y H:i");
$currDateTime1 = new Datetime();
$currDateTime1 = $currDateTime1->format("d-m-Y");
Ejemplo n.º 12
0
    $sql_ = "select * from vehicles where id in (select vehicleid from uservehicles where userid=" . session("user_id") . ") order by code asc";
    $sqlV = "select vehicleID from uservehicles where userID=" . session("user_id") . "";
}
$firstVehId = pg_fetch_result(query($sql_), 0, "id");
$err = getQUERY("err");
$snooze = dlookup("select snooze from users where id=" . session("user_id"));
$filename = './images/upload/' . session("client_id") . '.png';
$picload = 'profile.png';
if (file_exists($filename)) {
    $picload = session("client_id") . '.png';
}
$AllowViewLiveTracking = getPriv("livetracking", session("user_id"));
$AllowViewFm = getPriv("fm", session("user_id"));
$AllowViewRoutes = getPriv("routes", session("user_id"));
$AllowViewReports = getPriv("reports", session("user_id"));
$AllowViewSettings = getPriv("settings", session("user_id"));
$ds = query("select  allowedrouting, allowedfm, allowedmess, allowedalarms, clienttypeid from clients where id=" . session("client_id"));
$allowedR = pg_fetch_result($ds, 0, "allowedrouting");
$allowedFM = pg_fetch_result($ds, 0, "allowedfm");
$allowedMess = pg_fetch_result($ds, 0, "allowedmess");
$allowedAlarms = pg_fetch_result($ds, 0, "allowedalarms");
$tv = '';
$tv1 = '';
$tv2 = 'display: none;';
$mess = '';
$mess1 = '';
$al = '';
$al1 = '';
$al2 = '';
$lt = '';
$lt1 = '';
Ejemplo n.º 13
0
	<script type="text/javascript" src="./js/highcharts.src.js"></script>

	<link href="../css/ui-lightness/jquery-ui-1.8.14.custom.css" rel="stylesheet" type="text/css" />
    <script src="../js/jquery-ui.js"></script>
	<script src="../report/js/jquery-ui-timepicker-addon.js" type="text/javascript"></script>

    <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
    <script type="text/javascript" src="../tracking/live.js"></script>
	<script type="text/javascript" src="../tracking/live1.js"></script>
    <script type="text/javascript" src="../js/OpenLayers.js"></script>
	
</head>

<?php 
opendb();
$Allow = getPriv("routesfuture", session("user_id"));
if ($Allow == False) {
    echo header('Location: ../permission/?l=' . $cLang);
}
$user_id = Session("user_id");
$dsAll = query("select defaultmap, datetimeformat, timezone, metric, cl.clienttypeid, ci.latitude, ci.longitude from users u left outer join clients cl on cl.id = u.clientid left outer join cities ci on ci.id = cl.cityid where u.id = " . $user_id);
$datetimeformat = pg_fetch_result($dsAll, 0, 'datetimeformat');
$datfor = explode(" ", $datetimeformat);
$dateformat = $datfor[0];
$timeformat = $datfor[1];
if ($timeformat == 'h:i:s') {
    $timeformat = $timeformat . " A";
}
if ($timeformat == "H:i:s") {
    $tf = " H:i";
} else {
Ejemplo n.º 14
0
$photoNamePrev = getImageNameFromDB($conn, $recipeId);
//echo "PHOTO NAME: $photoNamePrev<br>";
//get number of ingredients
$numberIngredients = getNumberOfIngredientsFromDB($conn, $recipeId);
//get each ingredient - format: ingredient1, ingredient2, ingredient3...
$ingredientList = getAllIngredientsFromDB($conn, $recipeId);
//echo "INGREDIENT NAME: $ingredientList<br>";
//get number of steps
$numberSteps = getNumberOfStepsFromDB($conn, $recipeId);
$stepList = getAllStepsFromDB($conn, $recipeId);
//echo "STEP NAME: $stepList<br>";
//get tags
$numberTags = getNumberOfTagsFromDB($conn, $recipeId);
$tagList = getAllTagsFromDB($conn, $recipeId);
//echo "TAG NAME: $tagList<br>";
$privacyx = getPriv($conn, $recipeId);
$friendList = getAllFriends($conn, $recipeId);
//echo "FRIEND NAME: $friendList<br>";
closeDBConnection($conn);
?>
        
        
        
        
        <?php 
//if form submitted
if ($_SERVER['REQUEST_METHOD'] == "POST") {
    //connect to db
    $conn = connectToDb($servername, $username, $password, $dbname);
    //clean db of old recipe
    cleanDbTables($recipeId, $conn);
Ejemplo n.º 15
0
			$AllowedMaps .= "1";
			echo "<script src=\"http://api.maps.yahoo.com/ajaxymap?v=3.0&appid=euzuro-openlayers\"></script>";
		} else {
			$AllowedMaps .= "0";
		};
		if (nnull(odbc_result($dsAllMaps,"Satellite"),1)==1) {$AllowedMaps .= "1";} else {$AllowedMaps .= "0";};
	} else {*/
$AllowedMaps = "11111";
//}
$dsAllowed = query("select timedate,speed,location,poi,zone,passengers,taximeter,fuel from users where id=" . session("user_id"));
if (pg_fetch_result($dsAllowed, 0, "speed") != "1" && pg_fetch_result($dsAllowed, 0, "taximeter") != "1" && pg_fetch_result($dsAllowed, 0, "passengers") != "1") {
    $AllowedSTP = "0";
} else {
    $AllowedSTP = "1";
}
$AllowViewZone = getPriv("ViewZones", session("user_id"));
?>

<div id="menu-4" class="menu-container" style="width:100%">
	<a id="menu-title-4" href="#" class="menu-title text3" onClick="OnMenuClick(4)" style="width:100%"><?php 
echo dic("Tracking.VehDetails");
?>
</a>
	<div id="searchVeh" style="width:230px; padding-left:10px; padding-top:10px; overflow:hidden; height: 55px; margin-bottom: -8px;">
        <input type="text" style="width: 220px; font-family: Arial,Helvetica,sans-serif; font-size: 12px;" name="searchbyreg" id="searchbyreg" value="" onkeyup="searchVehicle(this)" placeholder="<?php 
echo dic("Fm.SearchReg");
?>
" />
        <input type="text" style="width: 220px; font-family: Arial,Helvetica,sans-serif; font-size: 12px; position: relative; top: 5px;" name="searchbydriv" id="searchbydriv" value="" onkeyup="searchByDriver(this)" placeholder="<?php 
echo dic("searchbydriver");
?>
Ejemplo n.º 16
0
	<script type="text/javascript" src="./js/highcharts.src.js"></script>

	<link href="../css/ui-lightness/jquery-ui-1.8.14.custom.css" rel="stylesheet" type="text/css" />
    <script src="../js/jquery-ui.js"></script>
	<script src="../report/js/jquery-ui-timepicker-addon.js" type="text/javascript"></script>

    <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
    <script type="text/javascript" src="../tracking/live.js"></script>
	<script type="text/javascript" src="../tracking/live1.js"></script>
    <script type="text/javascript" src="../js/OpenLayers.js"></script>
	<script src="../js/jsxcompressor.js"></script>
</head>

<?php 
opendb();
$Allow = getPriv("routespredefined", session("user_id"));
if ($Allow == False) {
    echo header('Location: ../permission/?l=' . $cLang);
}
$user_id = Session("user_id");
$dsAll = query("select defaultmap, datetimeformat, timezone, metric, cl.clienttypeid, ci.latitude, ci.longitude from users u left outer join clients cl on cl.id = u.clientid left outer join cities ci on ci.id = cl.cityid where u.id = " . $user_id);
$datetimeformat = pg_fetch_result($dsAll, 0, 'datetimeformat');
$datfor = explode(" ", $datetimeformat);
$dateformat = $datfor[0];
$timeformat = $datfor[1];
if ($timeformat == 'h:i:s') {
    $timeformat = $timeformat . " A";
}
if ($timeformat == "H:i:s") {
    $tf = " H:i";
} else {
Ejemplo n.º 17
0
<?php 
if (session('user_id') == "261") {
    echo header('Location: ../sessionexpired/?l=' . $cLang);
}
if (is_numeric(nnull(session("user_id")) . "") == false) {
    echo header('Location: ../sessionexpired/?l=' . $cLang);
}
opendb();
$sqlV = "";
if (session("role_id") == "2") {
    $sqlV = "select id from vehicles where clientID=" . session("client_id");
} else {
    $sqlV = "select vehicleID from uservehicles where userID=" . session("user_id") . "";
}
$Allow = getPriv("settings", session("user_id"));
if ($Allow == false) {
    echo header('Location: ../?l=' . $cLang . '&err=permission');
}
$AllowUSettings = true;
//getPriv("UserSettings", session("user_id"));
$AllowCSettings = true;
//getPriv("ClientSettings", session("user_id"));
$AllowPSettings = true;
//getPriv("PrivilegesUser", session("user_id"));
$meni = 0;
if ($AllowUSettings == true) {
    $meni = 1;
} else {
    if ($AllowCSettings == true) {
        $meni = 2;
Ejemplo n.º 18
0
<?php include "../include/db.php" ?>
<?php include "../include/params.php" ?>
<?php include "../include/dictionary2.php" ?>

<?php opendb();?>

<?php
	// error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);  // [josip] za error reports

	header("Content-type: text/html; charset=utf-8");
	opendb();
	$clientID = session("client_id");
	$userID = session("user_id");
	$roleID = session('role_id');

	$Allow = getPriv("employees", $userID);
	if ($Allow == False) echo header ('Location: ../permission/?l=' . $cLang);

	$ua=getBrowser();
	$yourbrowser = (bool) strpos($ua['userAgent'], "iPad");
	$yourbrowser1 = (bool) strpos($ua['userAgent'], "Macintosh");

	addlog(47);

	// glavni promelivi ----------------------------------

	$clienttypeid = dlookup("select clienttypeid from clients where id = " . $clientID);

	$getQueryClient = pg_fetch_array(query("select * from clients where id=" . $clientID));
	$allowedfm = $getQueryClient["allowedfm"];
	$allowedrouting = $getQueryClient["allowedrouting"];
Ejemplo n.º 19
0
        $dpassengers = '0';
    }
}
//VEHICLE DETAILS
$metric = pg_fetch_result($dsUsersSett, 0, 'metric');
$currency = pg_fetch_result($dsUsersSett, 0, 'currency');
$currencyvalue = dlookup("select value from currency where name='" . $currency . "'");
$currency = strtolower($currency);
if ($metric == 'mi') {
    $metricvalue = 0.621371;
    $speedunit = "mph";
} else {
    $metricvalue = 1;
    $speedunit = "Km/h";
}
$Allow = getPriv("idlingreport", session("user_id"));
if ($Allow == False) {
    echo header('Location: ../permission/?l=' . $cLang);
}
$vh = getQUERY("v");
$datetimeformat = pg_fetch_result($dsUsersSett, 0, 'datetimeformat');
$datfor = explode(" ", $datetimeformat);
$dateformat = $datfor[0];
$timeformat = $datfor[1];
if ($timeformat == 'h:i:s') {
    $timeformat = $timeformat . " a";
}
if ($timeformat == "H:i:s") {
    $e_ = " 23:59";
    $e1_ = "_23:59";
    $s_ = " 00:00";
Ejemplo n.º 20
0
<?php

include "../include/db.php";
include "../include/functions.php";
include "../include/params.php";
include "../include/dictionary2.php";
?>

<?php 
header("Content-type: text/html; charset=utf-8");
opendb();
$Allow = getPriv("ounits", session("user_id"));
if ($Allow == False) {
    echo header('Location: ../permission/?l=' . $cLang);
}
$ua = getBrowser();
$yourbrowser = (bool) strpos($ua['userAgent'], "iPad");
$yourbrowser1 = (bool) strpos($ua['userAgent'], "Macintosh");
addlog(43);
?>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

</head>
	<script type="application/javascript">
		lang = '<?php 
echo $cLang;
?>
';