. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 52.223.31.75 / Your IP : 172.31.6.220 [ Web Server : Apache/2.4.66 () OpenSSL/1.0.2k-fips PHP/7.4.33 System : Linux ip-172-31-14-81.eu-central-1.compute.internal 4.14.281-212.502.amzn2.x86_64 #1 SMP Thu May 26 09:52:17 UTC 2022 x86_64 User : apache ( 48) PHP Version : 7.4.33 Disable Function : NONE Domains : 4 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /var/www/ripara.co/admin/ |
Upload File : |
<!DOCTYPE html>
<html class="login-content" data-ng-app="materialAdmin">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Ripara</title>
<!-- Vendor CSS -->
<link href="vendors/bower_components/animate.css/animate.min.css" rel="stylesheet">
<link href="vendors/bower_components/material-design-iconic-font/dist/css/material-design-iconic-font.min.css" rel="stylesheet">
<!-- CSS -->
<link href="css/app.min.1.css" rel="stylesheet">
<link href="css/app.min.2.css" rel="stylesheet">
</head>
<body class="login-content" data-ng-controller="loginCtrl as lctrl">
<!-- Login -->
<div class="lc-block" id="l-login" data-ng-class="{ 'toggled': lctrl.login === 1 }" data-ng-if="lctrl.login === 1">
<div class="alert alert-danger alert-dismissible" role="alert" id="alert" style="display:none">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true" onclick="$('#alert').hide();">×</span></button>
<label id="alertLabel" style="display: inline;">Ops! Sembra che le credenziali inserite non siano corrette.</label>
</div>
<img ng-src="./img/logo.png" style="margin-bottom: 30px; width: 40%;">
<div class="input-group m-b-20">
<span class="input-group-addon"><i class="zmdi zmdi-account"></i></span>
<div class="fg-line">
<input type="text" class="form-control" required id="username" onkeyup="keyLogin(event)" placeholder="Username">
</div>
</div>
<div class="input-group m-b-20">
<span class="input-group-addon"><i class="zmdi zmdi-male"></i></span>
<div class="fg-line">
<input type="password" class="form-control" required id="password" onkeyup="keyLogin(event)" placeholder="Password">
</div>
</div>
<div class="clearfix"></div>
<div class="checkbox">
<label>
<input type="checkbox" value="">
<i class="input-helper"></i>
Mantieni sessione aperta
</label>
</div>
<a onclick="login()" href="" class="btn btn-login btn-danger btn-float" style="background:#721e26"><i style="color:white" class="zmdi zmdi-arrow-forward"></i></a>
<!--
<ul class="login-navigation" >
<!- <li data-block="#l-register" class="bgm-red" data-ng-click="lctrl.login = 0; lctrl.register = 1">Register</li>->
<li data-block="#l-forget-password" class="bgm" data-ng-click="lctrl.login = 0; lctrl.forgot = 1" style="background:#a5bf52;color:white">Password Dimenticata?</li>
</ul>
-->
</div>
<!-- Register -->
<div class="lc-block" id="l-register" data-ng-class="{ 'toggled': lctrl.register === 1 }" data-ng-if="lctrl.register === 1">
<div class="input-group m-b-20">
<span class="input-group-addon"><i class="zmdi zmdi-account"></i></span>
<div class="fg-line">
<input type="text" class="form-control" placeholder="Username">
</div>
</div>
<div class="input-group m-b-20">
<span class="input-group-addon"><i class="zmdi zmdi-email"></i></span>
<div class="fg-line">
<input type="text" class="form-control" placeholder="Email Address">
</div>
</div>
<div class="input-group m-b-20">
<span class="input-group-addon"><i class="zmdi zmdi-male"></i></span>
<div class="fg-line">
<input type="password" class="form-control" placeholder="Password">
</div>
</div>
<div class="clearfix"></div>
<div class="checkbox">
<label>
<input type="checkbox" value="">
<i class="input-helper"></i>
Accept the license agreement
</label>
</div>
<a href="" class="btn btn-login btn-danger btn-float"><i class="zmdi zmdi-arrow-forward"></i></a>
<ul class="login-navigation">
<li data-block="#l-login" class="bgm-green" data-ng-click="lctrl.register = 0; lctrl.login = 1">Login</li>
<li data-block="#l-forget-password" class="bgm-orange" data-ng-click="lctrl.register = 0; lctrl.forgot = 1">Forgot Password?</li>
</ul>
</div>
<!-- Forgot Password -->
<div class="lc-block" id="l-forget-password" data-ng-class="{ 'toggled': lctrl.forgot === 1 }" data-ng-if="lctrl.forgot === 1">
<img src="./img/logo-mini.jpg">
<p class="text-justify">Per recuperare la password, inserire l'indirizzo email usato in fase di registrazione. Il sistema invierà una nuova password temporanea all'indirizzo inserito.</p>
<div class="input-group m-b-20">
<span class="input-group-addon"><i class="zmdi zmdi-email"></i></span>
<div class="fg-line">
<input type="text" class="form-control" placeholder="Indirizzo Email">
</div>
</div>
<a href="" class="btn btn-login btn-danger btn-float" style="background:#a5bf52"><i class="zmdi zmdi-arrow-forward" style="color:white"></i></a>
<ul class="login-navigation">
<li data-block="#l-login" class="bgm" data-ng-click="lctrl.forgot = 0; lctrl.login = 1" style="background:#a5bf52;color:white">Login</li>
<!-- <li data-block="#l-register" class="bgm-red" data-ng-click="lctrl.forgot = 0; lctrl.register = 1">Register</li>-->
</ul>
</div>
<!-- Older IE warning message -->
<!--[if lt IE 9]>
<div class="ie-warning">
<h1 class="c-white">Warning!!</h1>
<p>You are using an outdated version of Internet Explorer, please upgrade <br/>to any of the following web browsers to access this website.</p>
<div class="iew-container">
<ul class="iew-download">
<li>
<a href="http://www.google.com/chrome/">
<img src="img/browsers/chrome.png" alt="">
<div>Chrome</div>
</a>
</li>
<li>
<a href="https://www.mozilla.org/en-US/firefox/new/">
<img src="img/browsers/firefox.png" alt="">
<div>Firefox</div>
</a>
</li>
<li>
<a href="http://www.opera.com">
<img src="img/browsers/opera.png" alt="">
<div>Opera</div>
</a>
</li>
<li>
<a href="https://www.apple.com/safari/">
<img src="img/browsers/safari.png" alt="">
<div>Safari</div>
</a>
</li>
<li>
<a href="http://windows.microsoft.com/en-us/internet-explorer/download-ie">
<img src="img/browsers/ie.png" alt="">
<div>IE (New)</div>
</a>
</li>
</ul>
</div>
<p>Sorry for the inconvenience!</p>
</div>
<![endif]-->
<!-- Core -->
<script src="vendors/bower_components/jquery/dist/jquery.min.js"></script>
<!-- Angular -->
<script src="vendors/bower_components/angular/angular.min.js"></script>
<script src="vendors/bower_components/angular-resource/angular-resource.min.js"></script>
<script src="vendors/bower_components/angular-animate/angular-animate.min.js"></script>
<script src="vendors/bower_components/angular-resource/angular-resource.min.js"></script>
<!-- Angular Modules -->
<script src="vendors/bower_components/angular-ui-router/release/angular-ui-router.min.js"></script>
<script src="vendors/bower_components/angular-loading-bar/src/loading-bar.js"></script>
<script src="vendors/bower_components/oclazyload/dist/ocLazyLoad.min.js"></script>
<script src="vendors/bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>
<!-- Common Vendors -->
<script src="vendors/bower_components/jquery.nicescroll/jquery.nicescroll.min.js"></script>
<script src="vendors/bower_components/Waves/dist/waves.min.js"></script>
<script src="vendors/bower_components/angular-nouislider/src/nouislider.min.js"></script>
<script src="vendors/bower_components/ng-table/dist/ng-table.min.js"></script>
<!-- The jQuery UI widget factory, can be omitted if jQuery UI is already included -->
<script src="js/plugins/desktop_drag_drop/vendor/jquery.ui.widget.js"></script>
<!-- The Load Image plugin is included for the preview images and image resizing functionality -->
<script src="js/plugins/load-image.all.min.js"></script>
<!-- The Iframe Transport is required for browsers without support for XHR file uploads -->
<script src="js/plugins/desktop_drag_drop/jquery.iframe-transport.js"></script>
<!-- The basic File Upload plugin -->
<script src="js/plugins/desktop_drag_drop/jquery.fileupload.js"></script>
<!-- The File Upload processing plugin -->
<script src="js/plugins/desktop_drag_drop/jquery.fileupload-process.js"></script>
<!-- The File Upload image preview & resize plugin -->
<script src="js/plugins/desktop_drag_drop/jquery.fileupload-image.js"></script>
<!-- The File Upload audio preview plugin -->
<script src="js/plugins/desktop_drag_drop/jquery.fileupload-audio.js"></script>
<!-- The File Upload video preview plugin -->
<script src="js/plugins/desktop_drag_drop/jquery.fileupload-video.js"></script>
<!-- The File Upload validation plugin -->
<script src="js/plugins/desktop_drag_drop/jquery.fileupload-validate.js"></script>
<!-- The File Upload Angular JS module -->
<script src="js/plugins/desktop_drag_drop/jquery.fileupload-angular.js"></script>
<!-- Placeholder for IE9 -->
<!--[if IE 9 ]>
<script src="vendors/bower_components/jquery-placeholder/jquery.placeholder.min.js"></script>
<![endif]-->
<!-- App level -->
<script src="js/app.js"></script>
<script src="js/config.js"></script>
<script src="js/controllers/main.js"></script>
<script src="js/services.js"></script>
<script src="js/templates.js"></script>
<script src="js/controllers/ui-bootstrap.js"></script>
<script src="js/controllers/table.js"></script>
<!-- Pluginz -->
<script src="js/plugins/lvl-drag-drop.js"></script>
<script src="js/plugins/lvl-uuid.js"></script>
<script src="vendors/colorpicker/angular-colorpicker-dr.js"></script>
<script src="js/plugins/ng-tags-input/ng-tags-input.min.js"></script>
<script src="js/plugins/angucomplete-alt/angucomplete-alt.js"></script>
<link href="js/plugins/angucomplete-alt/angucomplete-alt.css" rel="stylesheet">
<!-- Template Modules -->
<script src="js/modules/template.js"></script>
<script src="js/modules/ui.js"></script>
<script src="js/modules/form.js"></script>
<script src="js/modules/push.js"></script>
<script src="js/modules/angular-summernote.js"></script>
<script>
time = 400;
function login(){
var username = $("#username").val();
var password = $("#password").val();
if(username && password){
$('#alert').hide();
$.getJSON( "API/index.php?method=login&username="+username+"&password="+password,
function( data ) {
if(data.status){
location.href = "index.php";
}else{
$('#alertLabel').html(data.message);
$('#alert').show(time);
}
})
.fail(function(data) {
if(data.responseText.indexOf('MongoConnectionException')>-1){
$('#alertLabel').html("Il server Mongo ha restituito un errore di connessione! Riprovare il login, se il problema persiste si prega di segnalare l'errore.");
}
else if(data.responseText.indexOf("'MongoClient' not found")>-1){
$('#alertLabel').html("Il server Mongo ha restituito un errore, si prega di controllare la configurazione di mongo db nel server apache."); //<br /><b>Fatal error</b>: Class 'MongoClient' not found in <b>/Users/jam830/repository/vodafone-crm/website/app/helpers/dblinkmongo.php</b> on line <b>47</b><br />
}
else if(data.responseText.indexOf('MongoClient')>-1){
$('#alertLabel').html("Il server Mongo ha restituito un errore, si prega di controllare la configurazione di mongo db nel server apache."); //<br /><b>Fatal error</b>: Class 'MongoClient' not found in <b>/Users/jam830/repository/vodafone-crm/website/app/helpers/dblinkmongo.php</b> on line <b>47</b><br />
}
$('#alert').show(time);
});
}else{
$('#alertLabel').html("Inserire le proprie credenziali aziendali per accedere al sistema!");
$('#alert').show(time);
}
}
//invio nel form
function keyLogin(event){
if(event.keyCode == 13){
login();
}
$('#alert').hide(time);
}
</script>
</body>
</html>