Browse Source

MER MAPPING Finished

master
Evgeny Gagua 3 years ago
parent
commit
9497e6f9ad
  1. 2
      lib/controller/delMapData.php
  2. 40
      lib/php/ui/UI_functions.php
  3. BIN
      style/assets/Install Root Certificate on Android.pdf
  4. BIN
      style/assets/Install Root Certificate on Mac.pdf
  5. BIN
      style/assets/Install Root Certificate on Windows.pdf
  6. BIN
      style/assets/Install Root Certificate on iOS.pdf
  7. BIN
      style/assets/Thumbs.db
  8. BIN
      style/assets/ios-1.png

2
lib/controller/delMapData.php

@ -8,7 +8,7 @@
if( isset( $_POST['MID'] ) ){
$MID = intval($_POST['MID']);
if( $MID ){
$QS = "DELETE FROM `location_maps` WHERE `id`={$MID}";
$QS = "DELETE FROM `location_maps` WHERE `id`={$MID} AND `persistent`=0";
$DATABASE->Query( $QS );
$QS = "UPDATE `system_props` SET `map_id`=1, `local_binding`=0 WHERE `id`=1";
$DATABASE->Query( $QS );

40
lib/php/ui/UI_functions.php

@ -402,21 +402,22 @@ function UI_LoginForm($target = 'login.php'){
<tr><td align="center">
<form method="Post" action="<?=$target;?>" enctype="multipart/form-data">
<table width="500px" border="0" style="background-color: white;">
<tr><td colspan=3 height="70px">&nbsp;</td></tr>
<tr><td colspan=3 align="center">
<tr><td colspan=4 height="70px">&nbsp;</td></tr>
<tr><td colspan=4 align="center">
<table width="100%">
<tr><td align="right" width="40%"><b><?=$Labels->GetLabel('__LOGIN_ID__');?>:</b></td><td><input type="text" name="login"></td></tr>
<tr><td align="right"><b><?=$Labels->GetLabel('__PASSWORD__');?>:</b></td><td><input type="password" name="password"></td></tr>
<tr><td colspan=2 align="center"><input type="submit" value="<?=$Labels->GetLabel('__LOGIN__');?>"></td></tr>
</table></td></tr>
<tr><td colspan=3 height="70px">&nbsp;</td></tr>
<tr><td colspan=3 align="center"><p style=""><?=$Labels->GetLabel('__SSl_DOWNLOAD__');?></p></td></tr>
<tr><td colspan=3 align="center"><a href="/style/assets/rootCA.crt"><img width="64px" src="/style/assets/ssl.png"></a></td></tr>
<tr><td colspan=4 height="70px">&nbsp;</td></tr>
<tr><td colspan=4 align="center"><p style=""><?=$Labels->GetLabel('__SSl_DOWNLOAD__');?></p></td></tr>
<tr><td colspan=4 align="center"><a href="/style/assets/rootCA.crt"><img width="64px" src="/style/assets/ssl.png"></a></td></tr>
<tr>
<td align="center" ><a href="/style/assets/ssl_ca_root_install_ios.pdf" target="_blank"><img width="64px" src="/style/assets/ios.png"></a></td>
<td align="center" ><a href="/style/assets/ssl_ca_root_install_ios.pdf" target="_blank"><img width="64px" src="/style/assets/win.png"></a></td>
<td align="center" ><a href="/style/assets/ssl_ca_root_install_ios.pdf" target="_blank"><img width="64px" src="/style/assets/and.png"></a></td></tr>
<tr><td colspan=3 height="70px">&nbsp;</td></tr>
<td align="center" ><a href="/style/assets/Install%20Root%20Certificate%20on%20iOS.pdf" target="_blank"><img width="64px" src="/style/assets/ios-1.png"></a></td>
<td align="center" ><a href="/style/assets/Install%20Root%20Certificate%20on%20Mac.pdf" target="_blank"><img width="64px" src="/style/assets/ios.png"></a></td>
<td align="center" ><a href="/style/assets/Install%20Root%20Certificate%20on%20Windows.pdf" target="_blank"><img width="64px" src="/style/assets/win.png"></a></td>
<td align="center" ><a href="/style/assets/Install%20Root%20Certificate%20on%20Android.pdf" target="_blank"><img width="64px" src="/style/assets/and.png"></a></td></tr></tr>
<tr><td colspan=4 height="70px">&nbsp;</td></tr>
</table>
</form>
</td>
@ -631,28 +632,29 @@ function UI_SSLDialog(){
<?php
if( $UPLOAD ){
if( $VALID ){
?><tr><td align="center" colspan=3 style="color: red;"><b><?=$Labels->GetLabel('_SSL_CERT_VALID_INSTA');?></b></td></tr><?php
?><tr><td align="center" colspan=4 style="color: red;"><b><?=$Labels->GetLabel('_SSL_CERT_VALID_INSTA');?></b></td></tr><?php
} else {
?><tr><td align="center" colspan=3 style="color: red;"><b><?=$ERR;?></b></td></tr><tr><td align="center" colspan=3 style="color: red;"><b><?=str_ireplace('%%IP%%', $_SERVER['HTTP_HOST'], $Labels->GetLabel('__SSl_NO_CERT__'));?></b></td></tr>
?><tr><td align="center" colspan=4 style="color: red;"><b><?=$ERR;?></b></td></tr><tr><td align="center" colspan=3 style="color: red;"><b><?=str_ireplace('%%IP%%', $_SERVER['HTTP_HOST'], $Labels->GetLabel('__SSl_NO_CERT__'));?></b></td></tr>
<tr><td align="right"><?=str_ireplace('%%IP%%', $_SERVER['HTTP_HOST'], $Labels->GetLabel('_SSL_PROVIDE_CERT_'));?></td>
<td><input type="file" name="fcert" accept=".crt,.pem"></td>
<td><input type="submit" value="<?=$Labels->GetLabel('__UPLOAD__');?>"></td></tr><?php
};
} else {
?><tr><td align="center" colspan=3 style="color: red;"><b><?=$ERR;?></b></td></tr>
?><tr><td align="center" colspan=4 style="color: red;"><b><?=$ERR;?></b></td></tr>
<tr><td align="right"><?=str_ireplace('%%IP%%', $_SERVER['HTTP_HOST'], $Labels->GetLabel('_SSL_PROVIDE_CERT_'));?></td>
<td><input type="file" name="fcert" accept=".crt,.pem"></td>
<td><input type="submit" value="<?=$Labels->GetLabel('__UPLOAD__');?>"></td></tr><?php
};
?>
<tr><td align="center" colspan=3><b><?=$Labels->GetLabel('__SSl_WELCOME__');?></b></td></tr>
<tr><td colspan=3 align="center"><p style=""><?=$Labels->GetLabel('__SSl_DOWNLOAD__');?></p></td></tr>
<tr><td colspan=3 align="center"><a href="/style/assets/rootCA.crt"><img width="64px" src="/style/assets/ssl.png"></a></td></tr>
<tr><td align="center" colspan=4><b><?=$Labels->GetLabel('__SSl_WELCOME__');?></b></td></tr>
<tr><td colspan=4 align="center"><p style=""><?=$Labels->GetLabel('__SSl_DOWNLOAD__');?></p></td></tr>
<tr><td colspan=4 align="center"><a href="/style/assets/rootCA.crt"><img width="64px" src="/style/assets/ssl.png"></a></td></tr>
<tr>
<td align="center" ><a href="/style/assets/ssl_ca_root_install_ios.pdf" target="_blank"><img width="64px" src="/style/assets/ios.png"></a></td>
<td align="center" ><a href="/style/assets/ssl_ca_root_install_ios.pdf" target="_blank"><img width="64px" src="/style/assets/win.png"></a></td>
<td align="center" ><a href="/style/assets/ssl_ca_root_install_ios.pdf" target="_blank"><img width="64px" src="/style/assets/and.png"></a></td></tr>
<tr><td colspan=3 height="70px">&nbsp;</td></tr>
<td align="center" ><a href="/style/assets/Install%20Root%20Certificate%20on%20iOS.pdf" target="_blank"><img width="64px" src="/style/assets/ios-1.png"></a></td>
<td align="center" ><a href="/style/assets/Install%20Root%20Certificate%20on%20Mac.pdf" target="_blank"><img width="64px" src="/style/assets/ios.png"></a></td>
<td align="center" ><a href="/style/assets/Install%20Root%20Certificate%20on%20Windows.pdf" target="_blank"><img width="64px" src="/style/assets/win.png"></a></td>
<td align="center" ><a href="/style/assets/Install%20Root%20Certificate%20on%20Android.pdf" target="_blank"><img width="64px" src="/style/assets/and.png"></a></td></tr>
<tr><td colspan=4 height="70px">&nbsp;</td></tr>
</table>
</form>
</td>

BIN
style/assets/Install Root Certificate on Android.pdf

Binary file not shown.

BIN
style/assets/Install Root Certificate on Mac.pdf

Binary file not shown.

BIN
style/assets/Install Root Certificate on Windows.pdf

Binary file not shown.

BIN
style/assets/Install Root Certificate on iOS.pdf

Binary file not shown.

BIN
style/assets/Thumbs.db

Binary file not shown.

BIN
style/assets/ios-1.png

Binary file not shown.

After

Width: 512  |  Height: 512  |  Size: 13 KiB

Loading…
Cancel
Save