Files
PHPApp/top_html.php

91 lines
4.1 KiB
PHP

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Cache-Control" content="max-age=300,must-revalidate" />
<meta http-equiv="Pragma" content="cache">
<meta http-equiv="Expires" content="<?=gmdate("D, d M Y H:i:s", time() + 300)?> GMT" />
<title><?=$conf["webapp_title"]?></title>
<?
if(isSmartDevice()){?>
<style>
html{
cursor: pointer; /* bug html click ios */
}
</style><?
}
$config = new Cms;
if($config->getAzienda()=="cliente" && !in_array($_SERVER['REMOTE_ADDR'], array("95.226.34.50", "195.81.66.239"))){?>
<script type="text/javascript">
var sc_project=<?=$db->sc_project?>;
var sc_invisible=1;
var sc_security="<?=$db->sc_security?>";
var scJsHost = (("https:" == document.location.protocol) ? "https://secure." : "http://www.");
document.write("<sc"+"ript type='text/javascript' src='" +
scJsHost+
"statcounter.com/counter/counter.js'></"+"script>");
</script>
<noscript><div class="statcounter"><a title="shopify
analytics tool" href="http://statcounter.com/shopify/"
target="_blank"><img class="statcounter"
src="http://c.statcounter.com/<?=$db->sc_project?>/0/<?=$db->sc_security?>/1/"
alt="shopify analytics tool"></a></div></noscript><?
}?>
<link rel="shortcut icon" href="config_aziende/custom_<?=$_SESSION["azienda"]?>/favicon.ico" />
<script type="text/javascript" src="js/external/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="js/external/apprise-1.5.full.js"></script>
<script type="text/javascript" src="js/external/jquery-ui.min.js"></script>
<script type="text/javascript" src="js/external/jQueryRotate.js"></script>
<script type="text/javascript" src="js/external/moment-with-locales.js"></script>
<script type="text/javascript" src="js/external/ui.datepicker-it.js"></script>
<script type="text/javascript" src="js/common.js?<?="v".date("dmYHi")?>"></script>
<script type="text/javascript" src="js/obj-json-b64-codecs.js?<?="v".date("dmYHi")?>"></script>
<script type="text/javascript" src="js/view-image-art-popup.js?<?="v".date("dmYHi")?>"></script>
<script type="text/javascript" src="popup.js?<?="v".date("dmYHi")?>"></script>
<script type="text/javascript" src="js/integryLiveB.js?<?="v".date("dmYHi")?>"></script>
<script>
var _conf = {ggNoCons: <?=json_encode($conf["ggNoCons"])?>};
$().ready(function(){
$(".popup_temp").delay(1000).fadeOut(5000)
.mouseover(function(){
$(this).stop().css("opacity", "");
})
.mouseout(function(){
$(this).fadeOut(5000);
});
});
</script>
<!--link href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" rel="stylesheet" /-->
<link href="css/jquery-ui.css" rel="stylesheet" type="text/css" />
<link href="css/master.css?<?="v".date("dmYHi")?>" rel="stylesheet" type="text/css" />
<link href="css/base.css?<?="v".date("dmYHi")?>" rel="stylesheet" type="text/css" />
<link href="css/integryLiveB.css?<?="v".date("dmYHi")?>" rel="stylesheet" type="text/css" />
<link href="css/popup.css?<?="v".date("dmYHi")?>" rel="stylesheet" type="text/css" />
<link href="css/apprise.css" rel="stylesheet" type="text/css" />
<link href="config_aziende/custom_<?=$_SESSION["azienda"]?>/custom.css?<?="v".date("dmYHi")?>" rel="stylesheet" type="text/css" />
</head>
<body><?
if(isset($_SESSION["err_text"])){?>
<div class="popup_temp">
<div><?
echo $_SESSION["err_text"];
unset($_SESSION["err_text"]);
?>
</div>
</div><?
}
if($debugMode){?>
<div id="debug">
DEBUG MODE<br/>
<a href="<?=$conf["official_url"]?>" target="_blank">Vai su appl. ufficiale</a>
</div><?
}
?>
<div id="container">
<div id="top_image"></div>