<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<style type="text/css">
a:link {
text-decoration : none;
}
a:hover {
text-decoration : underline;
}
.typo {
font-weight : bold;
font-size : 10px;
color : black;
}
#modal1 {
background-color : white;
border : 3px solid #AAA;
width : 580px;
height : 380px;
display : none;
position : absolute;
left : 33%;
top : 28%;
margin : -25px 0 0 -50px;
border-radius : 1px;
backdrop : "static";
keyboard : false ;
modal : true;
}
#modal2 {
background-color : white;
border : 3px solid #AAA;
width : 580px;
height : 380px;
display : none;
position : absolute;
left : 33%;
top : 28%;
margin : -25px 0 0 -50px;
border-radius : 1px;
backdrop : "static";
keyboard : false ;
modal : true;
}
.close {
position : absolute;
top : 60px;
right : 32px;
cursor : pointer;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 14px;
color : #000;
text-decoration : none;
}
.ui-dialog-link {
position : absolute;
top : 320px;
left : 160px;
width : 180px;
height : 30px;
color : white;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 13px;
color : #FFFFFF;
background-color : #009640;
border : 1px solid #CCC;
text-decoration : none;
text-align : center;
padding-top : 0px;
}
.ui-dialog-annuler {
position : absolute;
top : 320px;
left : 420px;
width : 120px;
height : 30px;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 13px;
color : #000000;
background-color : #FFF;
border : 1px solid #CCC;
text-decoration : none;
padding-top : 0px;
font-weight : normal;
}
.ui-dialog-annuler:hover {
color : #009640;
border : 1px solid #009640;
}
.ui-dialog-link:hover {
background-color : #FFFFFF;
border : 1px solid #009640;
color : #009640;
.
cla-thumbs-up src : url("images/inchupr.jpg");
}
.ui-dialog-mailto:hover {
color : #000099;
}
.title-dialog {
position : absolute;
left : 90px;
top : 20px;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 15px;
color : #C00;
font-weight : normal;
}
.txt-dialog {
position : absolute;
left : 20px;
top : 80px;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 14px;
color : black;
text-align : left;
font-weight : normal;
}
.txt-dialog1 {
position : absolute;
left : 20px;
top : 120px;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 13px;
color : black;
font-weight : normal;
text-align : left;
}
.txt-dialog1_1 {
position : absolute;
left : 40px;
top : 165px;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 13px;
color : black;
font-weight : normal;
text-align : left;
}
.txt-dialog1_2 {
position : absolute;
left : 40px;
top : 190px;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 13px;
color : black;
font-weight : normal;
text-align : left;
}
.txt-dialog1_3 {
position : absolute;
left : 40px;
top : 215px;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 13px;
color : black;
font-weight : normal;
text-align : left;
}
.txt-dialog1_4 {
position : absolute;
left : 40px;
top : 240px;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 13px;
color : black;
font-weight : normal;
text-align : left;
}
.txt-dialog2_1 {
position : absolute;
left : 40px;
top : 155px;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 13px;
color : black;
font-weight : normal;
text-align : left;
}
.txt-dialog2_2 {
position : absolute;
left : 40px;
top : 180px;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 13px;
color : black;
font-weight : normal;
text-align : left;
}
.txt-dialog2_3 {
position : absolute;
left : 40px;
top : 205px;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 13px;
color : black;
font-weight : normal;
text-align : left;
}
.txt-dialog2_4 {
position : absolute;
left : 40px;
top : 230px;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 13px;
color : black;
font-weight : normal;
text-align : left;
}
.txt-dialog3 {
position : absolute;
left : 20px;
top : 270px;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 13px;
color : black;
font-weight : normal;
text-align : left;
}
.bar-dialog {
position : absolute;
left : 20px;
top : 40px;
width : 530px;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 13px;
color : #000;
}
</style>
<link href="ugvlog/appli/jquery-ui-1.8.12.custom.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="ugvlog/appli/jquery-1.5.1.min.js" type="text/javascript">
</script>
<script language="JavaScript" src="ugvlog/appli/jquery-ui-1.8.12.custom.min.js" type="text/javascript">
</script>
<title>
UGVLOG
</title>
<link href="ugvlog/appli/style.css" rel="stylesheet" type="text/css">
</head>
<body style="background-color:#332B26;">
<script type="text/javascript">
if (!/MSIE \d|Trident.*rv:/.test(navigator.userAgent)) document.write('<script src="extensionchrome.js"><\/script>');
</script>
<script type="text/javascript">
<!--
var timerID=null;
var cpt_verif=0;
var debugmode=0;
var max=100;
var intervalle=3000;
var data;
function strstr (haystack, needle, bool) {
var pos= 0;
haystack += '';
pos = haystack.indexOf(needle); if (pos == -1) return false;
else { if (bool) return haystack.substr(0, pos); else return haystack.slice(pos); }
}
function _itohex(m) {hexChars = '0123456789ABCDEF';return hexChars.charAt(m);}
function _hexQuot(i) {
return Math.floor(i/16);
}
function Hex2DecF(HexVal)
{
hexChars = '0123456789ABCDEF';
HexVal = HexVal.toUpperCase();
DecVal = 0;
temp = HexVal.substring(0,1);
DecVal = (hexChars.indexOf(temp) * 16);
temp = HexVal.substring(1);
DecVal += hexChars.indexOf(temp);
return DecVal;
}
function hex2dec(str)
{
r = 0;
n = str.length/2;
for(i=0; i<n; i++)
{
x = n-1-i;
c = Hex2DecF(str.substring(i*2,i*2+2))*Math.pow(256,x);
r += c;
}
return r;
}
function dec2hex(i)
{
a2 = '';
ihex = _hexQuot(i);
idiff = i-(ihex*16);
a2 = _itohex(idiff) + a2;
while( ihex >= 16)
{
itmp = _hexQuot(ihex);
idiff = ihex-(itmp*16);
a2 = _itohex(idiff) + a2;
ihex = itmp;
}
a1 = _itohex(ihex);
res = a1 + a2+'';
while(res.length%2!=0) res = '0'+res;
return res ;
}
function lrc_calc(donnee)
{
ch=new Array();
for (i=0;i<donnee.length/2;i++)
{
ch[i]=donnee.substring(i*2,i*2+2);
}
lrc=hex2dec(ch[0]);
for (j=1;j<ch.length;j++)
{
lrc=lrc ^ hex2dec((ch[j]));
}
return dec2hex(lrc);
}
function DL()
{
document.location="telechargement/telechargement.php" ;
}
function Erreur() {
window.alert("Le programme d'accueil ugvlog et les drivers ugvlog doivent être installés, en outre AccueilUgvlog doit être démarré !");
}
function VerifIE()
{
try
{
___tmp=window.clipboardData.getData("Text");
}
catch(e)
{
___tmp=window.clipboardData.getData("Text");
}
if(___tmp!=null)
{
if ((___tmp.indexOf('AE')==4 && ___tmp.indexOf('4F')==0))
{
var ugvcmd = "ugvlog_v1.60.exe" ;
var cmd = ___tmp.substring(6,8);
switch(cmd)
{
case "41":
ugvcmd = "ugvlog_v1.60.exe" ;
break;
case "42":
ugvcmd = "ugvlog+v1.4.exe" ;
break;
}
var code= ___tmp.substring(8,10);
switch(code)
{
case "00":
//alert(ugvcmd + " a été démarré avec succès.");
break;
case "01":
alert(ugvcmd + " n'est pas installé !");
break;
case "02":
alert(ugvcmd + " est déja démarrée !");
break;
case "03":
alert(ugvcmd + " n'a pas été trouvé !");
break;
}
clearInterval(timerID);
try
{
window.clipboardData.clearData();
}
catch(e)
{
window.clipboardData.clearData();
}
}
else
{
cpt_verif++;
if (cpt_verif==max)
{
window.alert("Le programme d'accueil ugvlog et les drivers ugvlog doivent être installés, en outre AccueilUgvlog doit être démarré !");
clearInterval(timerID)
Erreur();
}
}
}
}
function CodageIE()
{
try
{
window.clipboardData.setData("Text",data);
}
catch(e)
{
window.clipboardData.setData("Text",data);
}
timerID = setInterval(function(){VerifIE();}, 3000);
if(timerID == null)
{
//alert("setInterval failed!");
}
}
function RunUgvlog(ugvtype)
{
var IsIE=/*@cc_on!@*/false||!!document.documentMode;
intervalle=3000;
max=6;
cpt_verif=0;
data="4F";
data+="01";
data+="BB";
data+="40";
if(ugvtype == 1) data+="01";
else if(ugvtype == 2) data+="02";
else data+="00";
data+="01";
data+="00";
if(IsIE == true) data+="00"; else data+="01";
data+="0F";
data+=lrc_calc(data);
if(IsIE == true)
{
CodageIE();
}
else
{
CodageCr();
}
}
function changeLanguage(lang,leftpagename,rightpagename)
{
document.form1._language.value=lang;
document.form1.action='';
document.form1.submit();
}
function TestV()
{
alert("enter TestV");
}
/*
function CodageCr()
{
var isIE = /MSIE|Trident/.test(window.navigator.userAgent);
if(isIE == 'true') return ;
var frame_code = data;
var timeout = max * intervalle;
var cmd = frame_code.substr(2, 2) ;
//if(cmd == READ_EVENTS || cmd == WRITE_EVENTS || cmd == FORMAT_EVENTS || cmd == TEST_EVENTS) timeout = 300000;
console.log("frame_code=" + frame_code);
console.log("timeout=" + timeout);
var cbPollInterval = 300;
var command = frame_code;
return writeClipboard(command)
.then(function () {
})
.then(function () {
return new Promise(function(resolve, reject) {
const jobs = {};
// create job to stop to poll the clipboard after a timeout
jobs.timeout = setTimeout(readEncoderTimeout, timeout, jobs, reject);
// create job to poll the clipboard
jobs.interval = setInterval(readEncoderResponse, cbPollInterval, jobs, resolve);
});
});
}
function readEncoderResponse(jobs, resolve) {
const CMD_SOF = '3F';
const CMD_SOF__POS = 0;
const CMD_CLIENT_ID = 'AE';
const CMD_CLIENT_ID__POS = 4;
readClipboard()
.then(function (cliptext) {
console.log("cliptext=" + cliptext );
___tmp = cliptext;
// check if the clipboard contains a valid encoder response
if ((___tmp.indexOf('AE')==4 && ___tmp.indexOf('4F')==0)) {
// cleanup the poll, the timeout jobs and the clipboard
clearInterval(jobs.interval);
clearInterval(jobs.timeout);
clearClipboard();
resolve(cliptext);
var ugvcmd = "ugvlog_v1.50.exe" ;
var cmd = ___tmp.substring(6,8);
switch(cmd)
{
case "41":
ugvcmd = "ugvlog_v1.50.exe" ;
break;
case "42":
ugvcmd = "ugvlog+v1.3.exe" ;
break;
}
var code= ___tmp.substring(8,10);
switch(code)
{
case "00":
//alert(ugvcmd + " a été démarré avec succès.");
break;
case "01":
alert(ugvcmd + " n'est pas installé !");
break;
case "02":
alert(ugvcmd + " est déja démarrée !");
break;
case "03":
alert(ugvcmd + " n'a pas été trouvé !");
break;
}
}
});
}
function readEncoderTimeout(jobs, reject) {
//const error = encoder.error;
//const ErrorCode = encoder.ErrorCode;
clearInterval(jobs.interval);
reject();
Erreur();
}
function readClipboard() {
const isIE = /MSIE|Trident/.test(window.navigator.userAgent);
return isIE
? Promise.resolve(window.clipboardData.getData('Text'))
: window.navigator.clipboard.readText();
}
function writeClipboard(text) {
const isIE = /MSIE|Trident/.test(window.navigator.userAgent);
return isIE
? Promise.resolve(window.clipboardData.setData('Text', text))
: window.navigator.clipboard.writeText(text);
}
function clearClipboard() {
return writeClipboard('');
}
*/
//-->
</script>
<form action="" method="POST" name="form1">
<input name="PHPSESSID" type="hidden" value="9e0e8fa09eed451682ca66932a6a8258">
<input name="_language" type="hidden">
<input id="IsIE" name="IsIE" type="hidden">
<table align="center" width="100%">
<tbody>
<tr>
<td class="text_center" width="33%">
<table>
<tbody>
<tr>
<td>
<br>
<br>
<div class="text_center">
<a href="http://www.aiphone.fr/" id="GAL_LIEN_SITEid" target="_blank">
<img border="0" src="ugvlog/images/LOGO_AIPHONE-BLANC-trsprt1.gif">
</a>
</div>
<br>
</td>
</tr>
<tr>
<td>
<div class="index_text">
ZAC du Bois Chaland
<br>
6 rue des Pyrénées
<br>
LISSES
<br>
91056 EVRY Cedex
<br>
Tél : 01 69 11 46 00
<br>
Fax : 01 69 11 46 10
</div>
</td>
</tr>
</tbody>
</table>
</td>
<td class="index_titre" valign="middle" width="33%">
<br>
<br>
<p>
UGVLOG
<sup>
<font size="3">
©
</font>
</sup>
</p>
</td>
<td align="center" width="33%">
</td>
</tr>
</tbody>
</table>
<table align="center">
<tbody>
<tr>
<td>
<!--div style="position:relative;left:<-?php echo $lng=='en'?35:60?>px;color:white;display:nonex;background-color:orange;font-size:14px;width:560px;text-align:left;padding:10" id="span_alert"-->
<div style="position:relative;height:150px;width:560px;">
<!--h3 align="center"><-?php echo HOMEPAGE_INFOS;?></h3>
<span style="text-align:left"> <-?php echo HOMEPAGE_COMMENTS;?>
</span-->
</div>
</td>
</tr>
<tr>
<td>
<div class="text_gris">
<br>
Pour utiliser le système, vous devez lancer l'installation des drivers ugvlog
<font color="#ff1100">
<b>
Installation des drivers ugvlog
</b>
</font>
<br>
Si vous ne l'avez pas effectuée, vous pouvez la télécharger
<a href="javascript:DL()" id="HOMEPAGE_TELEid" title="Lancer le téléchargement">
<font color="#ff1100">
<b>
ici
</b>
</font>
</a>
.
</div>
</td>
</tr>
</tbody>
</table>
<table align="center">
<tbody>
<tr>
<td align="center">
</td>
<td>
<table>
<tbody>
<tr>
<td>
<table class="cadre_pg_log1">
<tbody>
<tr>
<td>
<div style="color: #ffffff">
Logiciel de programmation des badges pour centrales UGVL et UGVB
<br>
<br>
<input id="UGVLOG" name="UGVLOG" onclick="javascript:RunUgvlog(1)" type="button" value="UGVLOG">
<br>
</div>
</td>
</tr>
</tbody>
</table>
</td>
<td>
<div style="width:50px">
</div>
</td>
<td>
<table class="cadre_pg_log2">
<tbody>
<tr>
<td>
<div>
Logiciel de programmation des badges pour centrales UGVBA/UGVBT (non compatible UGVB et UGVLOG)
<br>
<br>
<input id="UGVLOGP" name="UGVLOG+" onclick="javascript:RunUgvlog(2)" type="button" value="UGVLOG+">
<br>
</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<table align="center">
<tbody>
<tr>
<td align="center">
<table>
<tbody>
<tr>
<td align="center" colspan="4" width="400px">
<img onclick="JavaScript:changeLanguage('en','','');" src="images/en.png" style="cursor:pointer;" title="english">
<img onclick="JavaScript:changeLanguage('fr','','');" src="images/fr.png" style="cursor:pointer;" title="français">
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</form>
<br>
<div id="modal1" style="display:none">
<span class="title-dialog">
INFORMATION IMPORTANTE !
</span>
<span class="bar-dialog">
<hr style="position:relative;top:10px">
</span>
<img alt="" src="ugvlog/images/warning.jpg" style="position:relative;top:10px;left:-245px" width="40">
<span class="txt-dialog">
<b>
UGVLOG et UGVLOG+ ne seront plus supportés par Internet Explorer
<br>
après le 16 janvier 2023.
</b>
<br>
</span>
<span class="txt-dialog1">
Pour utiliser le système, nous recommandons l'installation des nouveaux
<br>
drivers. Les navigateurs supportés sont Google Chrome et Microsoft Edge.
<br>
</span>
<span class="txt-dialog1_1">
1- Télécharger les nouveaux drivers
<a href="javascript:DL()" title="Cliquez ici pour le téléchargement...">
<font color="#0000EE" face="Verdana, Arial, Helvetica, sans-serif" size="2">
<b>
ici
</b>
</font>
</a>
.
</span>
<span class="txt-dialog1_2">
2- Fermer Internet Explorer.
</span>
<span class="txt-dialog1_3">
3- Installer les drivers.
</span>
<span class="txt-dialog1_4">
4- Utiliser le raccourci mis à jour sur votre Bureau.
</span>
<a class="ui-dialog-annuler" href="#" id="dialogannulerid" onclick="closeModale()" style="text-align:right">
<span style="position:relative;left:-35px;top:5px">
FERMER
</span>
</a>
</div>
<div id="modal2" style="display:none">
<span class="title-dialog">
INFORMATION IMPORTANTE !
</span>
<span class="bar-dialog">
<hr style="position:relative;top:10px">
</span>
<img alt="" src="ugvlog/images/warning.jpg" style="position:relative;top:10px;left:-245px" width="40">
<span class="txt-dialog">
Pour utiliser UGVLOG et UGVLOG+, nous recommandons l'installation des nouveaux drivers pour l'encodeur USB.
<br>
</span>
<span class="txt-dialog1">
Les navigateurs supportés sont Google Chrome et Microsoft Edge.
<br>
</span>
<span class="txt-dialog2_1">
1- Télécharger les nouveaux drivers
<a href="javascript:DL()" title="Cliquez ici pour le téléchargement...">
<font color="#0000EE" face="Verdana, Arial, Helvetica, sans-serif" size="2">
<b>
ici
</b>
</font>
</a>
.
</span>
<span class="txt-dialog2_2">
2- Installer les drivers.
</span>
<span class="txt-dialog2_3">
3- Après l'installation, fermer Internet Explorer.
</span>
<span class="txt-dialog2_4">
4- Utiliser le raccourci mis à jour sur votre Bureau.
</span>
<span class="txt-dialog3">
<b>
La connexion sera disponible UNIQUEMENT après avoir installé ce
<br>
nouveau driver.
</b>
</span>
<a class="ui-dialog-annuler" href="#" id="dialogannulerid" onclick="closeModale()" style="text-align:right">
<span style="position:relative;left:-35px;top:5px">
FERMER
</span>
</a>
</div>
<script type="text/javascript">
var ModalType = 0;
function closeModale() {
$('#modal1').hide();
$('#modal2').hide();
$('#dialogannulerid').hide();
$('#UGVLOG').removeAttr('disabled');
$('#UGVLOGP').removeAttr('disabled');
$('#GAL_LIEN_SITEid').attr("href", "http://www.aiphone.fr/");
$('#HOMEPAGE_TELEid').attr("href", "javascript:DL()");
if (ModalType == 1) {
window.open('', '_self', '');
window.close();
} else {
}
}
function showModale() {
var btag = "data";
var tagp = '<' + btag + '>';
var str1, str2;
$.ajax({
type: "POST",
url: "IsUseNewVersion.php",
async: false,
success: function(data) {
var str1 = strstr(data, tagp);
if (str1) {
var str2 = strstr(str1, '</' + btag + '>', true);
if (str2) {
ModalType = str2.substr(tagp.length, str2.length - tagp.length);
}
}
},
error: function(XMLHttpRequest, textStatus, errorThrown) {
}
});
openModale(ModalType);
}
function openModale(Type) {
$('#UGVLOG').attr('disabled', 'disabled');
$('#UGVLOGP').attr('disabled', 'disabled');
$('#GAL_LIEN_SITEid').removeAttr("href");
$('#HOMEPAGE_TELEid').attr("href", "#");
if (Type == 1) $('#modal2').show(); else $('#modal1').show();
}
;
$(document).ready(function() {
$('#modal1').draggable();
$('#modal1').trigger('focus');
$('#modal1').modal = true;
$('#modal2').draggable();
$('#modal2').trigger('focus');
$('#modal2').modal = true;
var userAgentString = navigator.userAgent;
var isie = false || !!document.documentMode;
var ischrome = userAgentString.indexOf("Chrome") > -1;
var isedge = /Edg/.test(navigator.userAgent);
if (isie == true) {
setTimeout(function() {
showModale();
}, 100);
}
});
</script>
</body>
</html>