project_monitor/app/views/status.ejs
suseendhiran17 5fd6c7b0b5 suseendhiran
2022-12-12 14:14:06 +05:30

609 lines
25 KiB
Plaintext

<html>
<head>
<script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.4.1.min.js"></script>
<!-- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.js"></script> -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<!-- CSS -->
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/alertifyjs@1.13.1/build/css/alertify.min.css" />
<!-- Default theme -->
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/alertifyjs@1.13.1/build/css/themes/default.min.css" />
<!-- JavaScript -->
<script src="//cdn.jsdelivr.net/npm/alertifyjs@1.13.1/build/alertify.min.js"></script>
<script>
setInterval(function() {
window.location.reload();
}, 300000);
</script>
<style>
/* Desktops and laptops ----------- */
@media only screen and (min-width : 1224px) {
b {
font-family: Arial, Helvetica, sans-serif;
color: #3bd671 !important;
}
b1 {
font-family: Arial, Helvetica, sans-serif;
color: red
}
.dot {
height: 25px;
width: 25px;
background-color: lightgreen;
border-radius: 90%;
display: inline-block;
cursor: pointer;
box-shadow: 0 0 0 rgba(204,169,44, 0.4);
animation: pulse 2s infinite;
}
.dot:hover {
animation: none;
}
.dot1 {
height: 25px;
width: 25px;
background-color: red;
border-radius: 90%;
display: inline-block;
cursor: pointer;
box-shadow: 0 0 0 rgba(204,169,44, 0.4);
animation: pulse 2s infinite;
}
.dot1:hover {
animation: none;
}
@-webkit-keyframes pulse {
0% {
-webkit-box-shadow: 0 0 0 0 rgba(204,169,44, 0.4);
}
70% {
-webkit-box-shadow: 0 0 0 10px rgba(204,169,44, 0);
}
100% {
-webkit-box-shadow: 0 0 0 0 rgba(204,169,44, 0);
}
}
@keyframes pulse {
0% {
-moz-box-shadow: 0 0 0 0 rgba(204,169,44, 0.4);
box-shadow: 0 0 0 0 rgba(204,169,44, 0.4);
}
70% {
-moz-box-shadow: 0 0 0 10px rgba(204,169,44, 0);
box-shadow: 0 0 0 10px rgba(204,169,44, 0);
}
100% {
-moz-box-shadow: 0 0 0 0 rgba(204,169,44, 0);
box-shadow: 0 0 0 0 rgba(204,169,44, 0);
}
}
.header {
background: rgb(3, 37, 37);
padding: 10px 0;
height: 20%;
width: 100%;
}
.with-in-header{
color: white;
text-align: right;
position: relative;
right: 70px;
padding-left: 2em;
}
.last-update{
color: white;
font-size: large;
text-align: right;
position: relative;
right: 70px;
padding-left: 2em;
}
.header1 {
background: white;
border-radius: 6px;
/* border: 2px solid #1f221c; */
text-align: left;
padding: 10px 0;
padding-top: 2em;
padding-left: 2em;
height: 40%;
width: 70%;
position: relative;
left: 220px;
top: 30px;
}
.header2 {
background: white;
text-align: left;
padding: 10px 0;
width: 80%;
position: relative;
left: 220px;
top: 100px;
}
.header3 {
background: white;
text-align: left;
padding: 10px 0;
width: 80%;
position: relative;
left: 220px;
top: 100px;
}
.header4 {
background: white;
text-align: left;
padding: 10px 0;
width: 80%;
position: relative;
left: 220px;
top: 100px;
}
.header5 {
background: white;
text-align: left;
padding: 10px 0;
width: 80%;
position: relative;
left: 220px;
top: 100px;
}
.header6 {
background: white;
text-align: left;
padding: 10px 0;
width: 80%;
position: relative;
left: 220px;
top: 100px;
}
.header7 {
background: white;
text-align: left;
padding: 10px 0;
width: 80%;
position: relative;
left: 220px;
top: 100px;
}
.uk-text-primary {
color: #3bd671 !important;
}
.uk-text-primary1 {
color: red;
font-family: Arial, Helvetica, sans-serif;
}
#tab-des {
font-family: Arial, Helvetica, sans-serif;
border-collapse: collapse;
width: 87%;
}
#tab-des th , #tab-des td {
border: 1px solid #ddd;
width: 0em;
padding: 8px;
text-align: center;
}
#tab-des tr:nth-child(even){background-color: #f2f2f2;}
#tab-des tr:hover {
background-color: #ddd;
}
#tab-des th {
padding-top: 12px;
padding-bottom: 12px;
text-align: center;
background-color: #04AA6D;
color: white;
}
#tab-des-2 {
font-family: Arial, Helvetica, sans-serif;
border-collapse: collapse;
width: 87%;
top: 100px;
}
#tab-des-2 td, #tab-des-2 th {
border: 1px solid #ddd;
width: 0em;
padding: 8px;
text-align: center;
}
#tab-des-2 tr:nth-child(even){background-color: #f2f2f2;}
#tab-des-2 tr:hover {background-color: #ddd;}
#tab-des-2 th {
padding-top: 12px;
padding-bottom: 12px;
text-align: center;
background-color: #04AA6D;
color: white;
}
.xd-content .xd-body .xd-body-inner {
max-height: unset;
}
.xd-content .xd-body p {
color: #f0f;
text-shadow: 0 0 5px rgba(0, 0, 0, 0.75);
}
.xd-content .xd-button.xd-ok {
background: #734caf;
}
}
/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
b {
font-family: Arial, Helvetica, sans-serif;
color: #3bd671 !important;
}
b1 {
font-family: Arial, Helvetica, sans-serif;
color: red
}
.dot {
height: 25px;
width: 25px;
background-color: lightgreen;
border-radius: 90%;
display: inline-block;
cursor: pointer;
box-shadow: 0 0 0 rgba(204,169,44, 0.4);
animation: pulse 2s infinite;
}
.dot:hover {
animation: none;
}
.dot1 {
height: 25px;
width: 25px;
background-color: red;
border-radius: 90%;
display: inline-block;
cursor: pointer;
box-shadow: 0 0 0 rgba(204,169,44, 0.4);
animation: pulse 2s infinite;
}
.dot1:hover {
animation: none;
}
@-webkit-keyframes pulse {
0% {
-webkit-box-shadow: 0 0 0 0 rgba(204,169,44, 0.4);
}
70% {
-webkit-box-shadow: 0 0 0 10px rgba(204,169,44, 0);
}
100% {
-webkit-box-shadow: 0 0 0 0 rgba(204,169,44, 0);
}
}
@keyframes pulse {
0% {
-moz-box-shadow: 0 0 0 0 rgba(204,169,44, 0.4);
box-shadow: 0 0 0 0 rgba(204,169,44, 0.4);
}
70% {
-moz-box-shadow: 0 0 0 10px rgba(204,169,44, 0);
box-shadow: 0 0 0 10px rgba(204,169,44, 0);
}
100% {
-moz-box-shadow: 0 0 0 0 rgba(204,169,44, 0);
box-shadow: 0 0 0 0 rgba(204,169,44, 0);
}
}
.header {
background: rgb(3, 37, 37);
padding: 10px 0;
height: 13%;
width: 120%;
}
.with-in-header{
color: white;
text-align: right;
position: relative;
right: 70px;
padding-left: 2em;
}
.last-update{
color: white;
font-size: large;
text-align: right;
position: relative;
right: 70px;
padding-left: 2em;
}
.header1 {
background: white;
border-radius: 6px;
/* border: 2px solid #1f221c; */
text-align: left;
padding: 10px 0;
padding-top: 2em;
padding-left: 2em;
height: 40%;
width: 88%;
position: relative;
left: 70px;
top: 65px;
}
.header2 {
background: white;
text-align: left;
padding: 10px 0;
width: 80%;
position: relative;
left: 70px;
top: 100px;
}
.header3 {
background: white;
text-align: left;
padding: 10px 0;
width: 120%;
position: relative;
left: 60px;
top: 100px;
}
.header4 {
background: white;
text-align: left;
padding: 10px 0;
width: 80%;
position: relative;
left: 70px;
top: 100px;
}
.header5 {
background: white;
text-align: left;
padding: 10px 0;
width: 120%;
position: relative;
left: 70px;
top: 100px;
}
.header6 {
background: white;
text-align: left;
padding: 10px 0;
width: 80%;
position: relative;
left: 70px;
top: 100px;
}
.header7 {
background: white;
text-align: left;
padding: 10px 0;
width: 120%;
position: relative;
left: 70px;
top: 100px;
}
.uk-text-primary {
color: #3bd671 !important;
}
.uk-text-primary1 {
color: red;
font-family: Arial, Helvetica, sans-serif;
}
#tab-des {
font-family: Arial, Helvetica, sans-serif;
border-collapse: collapse;
width: 87%;
height: 50%;
}
#tab-des th , #tab-des td {
border: 1px solid #ddd;
width: 0em;
padding: 8px;
text-align: center;
font-size: xx-large;
}
#tab-des tr:nth-child(even){background-color: #f2f2f2;}
#tab-des tr:hover {
background-color: #ddd;
}
#tab-des th {
padding-top: 12px;
padding-bottom: 12px;
text-align: center;
background-color: #04AA6D;
color: white;
}
.xd-content .xd-body .xd-body-inner {
max-height: unset;
}
.xd-content .xd-body p {
color: #f0f;
text-shadow: 0 0 5px rgba(0, 0, 0, 0.75);
}
.xd-content .xd-button.xd-ok {
background: #734caf;
}
.index .btn{
font-size: xx-large;
}
}
</style>
<title id="title_status">Status</title>
<% if ( down == 0) { %>
<link rel="icon" type ="image/png" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAACK5JREFUeF7tW1uMVVcZ/r619zlzYZiZznDpIANUGCgFym1SoEUzvpioiTE1fTJpNI0+1CBgkTfNeVSspZdoIi8ao5GEl5pGjSbqFCUtpRQpDMNlGqDAlNsAnWGYmXPOXp9Z+zB0gOnsvc9lMIX9ePZae63v+6/r/9ch7vOH9zl+PCDggQbc5ww8MIH7XAEeOMH/CxN4Rs94H78/t3rAD6qq4KdzHs2dminf5tMD+SwaG4c752VGQKgc2nvPCFj97vdS3pRUfRpVzaLqEaAGNNWAUqS828FRMjaQMOIBI0GAQdC7GqSyV+csOD+4i7uCYsmYXAIEdhx5fsqwSU8zQIugeoq+4ViJcwLJ6tZ+JQaEsoHY59Oev6LGvq4lmWxSIiaNgI6TmWo7cr0lb3OthFdXkPJEYONCEUHkLG1fOp8+g4tTLnd+KZOPO7vyBChj1hy+Oj2d4gJrTUP5gN/lJUIiQH6UM7mTe9te649DQkUJWNKVSdf7A5+ntXMMUFUeiUfDsgr6aap69iyqPQ9m7EQzKkbAlw9umTKUyi8KgJaCjZdD3aPBF0aIAWwW1nxQdbHh1EQmURECOrqer8uxeimJaXG3XIlxLnIExKlc/42e/e07cuOtUXYCnOQHU3YZqemTK/XxKZRgA9+ebG07d3y8cFlWApzNN/HaUtHMqoREi/2m0wRP/tHdi148dWcCVT4ClDHrjg8sZBDMNzRFfdfKRmZ3xX1bLpMazgf59/cue+XCWCKL2uh4klhzaONMzzfLk3p7B5owIlRlDRqNOFfUbEB1oTuTsQSugDpN4RyAgTAJIu5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mCC">
<% } %>
<% if ( down == 1) { %>
<link rel="icon" type ="image/png" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAmlJREFUWEfNl79rU1EUx7/n3vtq20ShNQpRxKC1vSEdREGMxcnBzU0QdNVRBB38ExwUiqOugoKbm4OTpCmC4tCQZ0WJiBY0tkNjW5v7Q27sS38l5mE01zufH597znnfdy4h5pnK5YZJ63MAzhrgGAH7CEg6dwvULPCZAa8APLWcPzlVKs3HCU2djJ5LOSqAmxY4n2AsaQHUrYW2FmbNmQHgRAiI4AJ+N6ZGwGMF3DodhrO/y9EWwAI0LeXkAGNXE4xh0RisGtNM2i6og+ljDDsZcyBYNubuyTC8Ro1CbT8tAYpSZizwLB0Eh+aVwg/b0rdT8bCDCMNCYK5ef0/AmXwYVrY6bQMo5HJHSeuXKSHYN6VaY3dMvW7gEuwWAlWljOX8+ESp9Hqj+yaAF+PjB5RSlSHO2YLW7todZyQmix3inBa0NkKIzImZmY+RXzOB63kxm32b4vxwVam/mTzKZVNCUFXrd/ly+Ug0E02AopS300Fwfa5e77rs7arikqWDwM3EnXwY3nB2DYBCNnswSVRR1v7xwMVsRWMwBRFq1mYmyuUPDYCilPf2CHH5i1Jx43Rlt1cIfFXqfj4Mr9D0yMguI8SnfsaSKyaSlq7id3TuZwwrxtSYUvupODZ2cZDzB8sxRKZj5JgGTqwGGMOS1peoIOXDBGMXlnp0+4hx8JdSPnIAb/qIRp2+9/K4/8aqtbM0JeUiA5K96f76FV0bDFCjopQ9vvtmmfYP4L0F3ofQ+2foXYi8S7H3n9F/8Tteq4K/hcQBeF/JHITXpTRSaK9reQTh9WHS3KF9Ps02LibeHqdbt6N/9Tz/CQuUlt7QK2HuAAAAAElFTkSuQmCC">
<% } %>
</head>
<body>
<div class = "header">
<div>
<h1 class="with-in-header">Service Status</h1>
<div class="last-update">
Last updated <%=date %>
</div>
</div>
<div id="statusHeader" class = "header1">
<% if ( down == 0) { %>
<h1><i class="dot" aria-hidden = "true" style="font-size:26px;color:lightgreen"></i> <strong> All systems
<span class="uk-text-primary">operational</span></strong></h1>
<% } %>
<% if ( down == 1) { %>
<h1><i class="dot1" aria-hidden = "true" style="font-size:26px;color:red"></i> <strong> Some systems are
<span class="uk-text-primary1">down</span></strong></h1>
<% } %>
</div>
</div>
<div class = "header2"><h1><i style="font-size:18px;color:black"></i> <strong>API Services</strong></h1></div>
<div class = "header3">
<table id="tab-des">
<thead>
<tr>
<th>API</th>
<th>StatusCode</th>
<th>Status</th>
<th>Refresh</th>
</tr>
</thead>
<% data.forEach(function(status , index ) { %>
<tbody>
<tr>
<td><div style="text-align: left;"><%=status.Api %></div></td>
<td><%=status.StatusCode %></td>
<td>
<% if( status.Status == "Up") { %>
<i class="dot" style="font-size:14px;color: #3bd671 !important;height:15px;width:15px;"></i> <b><%=status.Status %></b>
<% } %>
<% if( status.Status == "Down") { %>
<i id="check_status_api" class="dot1" style="font-size:14px;color: red;height:15px;width:15px;"></i> <b1><%=status.Status %></b1>
<% } %>
</td>
<td class=index><a href="#" class="btn btn-info btn-sm" style="color: white;background-color: #3bd671 !important;">Refresh</a></td>
</tr>
</tbody>
<% }) %>
</table>
</div>
<div class = "header4"><h1><i style="font-size:18px;color:black"></i> <strong>Server Services</strong></h1></div>
<div class = "header5">
<table id="tab-des">
<thead>
<tr>
<th>Server</th>
<th>StatusCode</th>
<th>Status</th>
<th>Refresh</th>
</tr>
</thead>
<% data1.forEach(function(status , index ) { %>
<tbody>
<tr>
<td><div style="text-align: left;"><%=status.Api %></div></td>
<td><%=status.StatusCode %></td>
<td>
<% if( status.Status == "Up") { %>
<i class="dot" style="font-size:14px;color: #3bd671 !important;height:15px;width:15px;"></i> <b><%=status.Status %></b>
<% } %>
<% if( status.Status == "Down") { %>
<i id="check_status_server" class="dot1" style="font-size:14px;color: red;height:15px;width:15px;"></i> <b1><%=status.Status %></b1>
<% } %>
</td>
<td class=index><a href="#" class="btn btn-info btn-sm" style="color: white;background-color: #3bd671 !important;">Refresh</a></td>
</tr>
</tbody>
<% }) %>
</table>
</div>
<div class = "header6"><h1><i style="font-size:18px;color:black"></i> <strong>Database Services</strong></h1></div>
<div class = "header7">
<table id="tab-des" style="height: 10%;">
<thead>
<tr>
<th>Database</th>
<th>StatusCode</th>
<th>Status</th>
<th>Refresh</th>
</tr>
</thead>
<% data2.forEach(function(status , index ) { %>
<tbody>
<tr>
<td><div style="text-align: left;"><%=status.Api %></div></td>
<td><%=status.StatusCode %></td>
<td>
<% if( status.Status == "Up") { %>
<i class="dot" style="font-size:14px;color: #3bd671 !important;height:15px;width:15px;"></i> <b><%=status.Status %></b>
<% } %>
<% if( status.Status == "Down") { %>
<i id="check_status_db" class="dot1" style="font-size:14px;color: red;height:15px;width:15px;"></i> <b1><%=status.Status %></b1>
<% } %>
</td>
<td class=index><a href="#" class="btn btn-info btn-sm" style="color: white;background-color: #3bd671 !important;">Refresh</a></td>
</tr>
</tbody>
<% }) %>
</table>
</div>
</body>
<script>
$(".index").click(function (evt) {
var api = $(evt.target).parent().parent("tr").find("td:nth-child(1)").text();
var sts = $('#check_status_api').length + $('#check_status_server').length + $('#check_status_db').length
console.log(sts);
$.ajax({
type: "post",
url: "/api/SingleApiStatus",
data: {api : api},
success: function(response) {
if (response.success == true)
{
alertify.alert(response.Api+" called", () => {
// alertify.message('OK');
}).set('title', 'Status')
if (response.Status == "Up")
{
var success = '<i class="dot" style="font-size:14px;color: #3bd671 !important;height:15px;width:15px;"></i> <b>'+response.Status+'</b>'
}
if (response.Status == "Down")
{
var success = '<i id="check_status_db" class="dot1" style="font-size:14px;color: red;height:15px;width:15px;"></i> <b1>'+response.Status+'</b1>'
}
$(evt.target).parent().parent("tr").find("td:nth-child(2)").html(response.StatusCode);
$(evt.target).parent().parent("tr").find("td:nth-child(3)").html(success);
var sts = $('#check_status_api').length + $('#check_status_server').length + $('#check_status_db').length
console.log(sts,"after");
if (sts == 0) {
var status = '<h1><i class="dot" aria-hidden = "true" style="font-size:26px;color:lightgreen"></i> <strong> All systems <span class="uk-text-primary">operational</span></strong></h1>'
var title = 'Status'
$('#title_status').html(title);
$('#statusHeader').html(status);
$('link[rel=icon]').attr('href', "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAACK5JREFUeF7tW1uMVVcZ/r619zlzYZiZznDpIANUGCgFym1SoEUzvpioiTE1fTJpNI0+1CBgkTfNeVSspZdoIi8ao5GEl5pGjSbqFCUtpRQpDMNlGqDAlNsAnWGYmXPOXp9Z+zB0gOnsvc9lMIX9ePZae63v+6/r/9ch7vOH9zl+PCDggQbc5ww8MIH7XAEeOMH/CxN4Rs94H78/t3rAD6qq4KdzHs2dminf5tMD+SwaG4c752VGQKgc2nvPCFj97vdS3pRUfRpVzaLqEaAGNNWAUqS828FRMjaQMOIBI0GAQdC7GqSyV+csOD+4i7uCYsmYXAIEdhx5fsqwSU8zQIugeoq+4ViJcwLJ6tZ+JQaEsoHY59Oev6LGvq4lmWxSIiaNgI6TmWo7cr0lb3OthFdXkPJEYONCEUHkLG1fOp8+g4tTLnd+KZOPO7vyBChj1hy+Oj2d4gJrTUP5gN/lJUIiQH6UM7mTe9te649DQkUJWNKVSdf7A5+ntXMMUFUeiUfDsgr6aap69iyqPQ9m7EQzKkbAlw9umTKUyi8KgJaCjZdD3aPBF0aIAWwW1nxQdbHh1EQmURECOrqer8uxeimJaXG3XIlxLnIExKlc/42e/e07cuOtUXYCnOQHU3YZqemTK/XxKZRgA9+ebG07d3y8cFlWApzNN/HaUtHMqoREi/2m0wRP/tHdi148dWcCVT4ClDHrjg8sZBDMNzRFfdfKRmZ3xX1bLpMazgf59/cue+XCWCKL2uh4klhzaONMzzfLk3p7B5owIlRlDRqNOFfUbEB1oTuTsQSugDpN4RyAgTAJIu5KlyfWEOcY2Yc6HXirdfvQ6NiyEOCSnGDk2mqJTUnsPgRPVIlmMaX1gB4H+BCAFIDRdNhphU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FpfOLKpRYbLIcaS6M2y2CxC37kZFhPW929DeAPALoFvQHY4WvXDeERZXLP1eNf1B0om4CsnNlRds/5yz2JmHC0ItyBYGc2E8DSBDgBhEyThc07Enyj9w12diQe+sDZ9Hf1P2/aTrk1WMgFu0+5onPfyK+JqgZszGhkAtEv4KiBXHk9HmIWr9AwA2C/wzyR6ZG0QF3wofWOuDg8MvLe/fYfTntL7Au4jzhd8dLx1KSxak0hxtBdoyAaQyyW7EuCcm6fGgmMlLIRBAH0ATlDcJ9oTkBmO5/A+2VHYJM2aw872R38tiwa4j7mI4OXMisQNkpvaEGI1xhPUbIQmhTdKwl8lYtBIlwH2F9MOu0WBwZmWhWcOj22Tl40At4irEViNLItTJv80TQkTFO+OomZgXJ2T8VX9zq+LpK54QfZg55JfXR/7tqwEuOxw3ZHN842vtqhDUhJTKW1soR+YV+7gO4t/6czotqe8BDiH+K+MP/y5a21e3jyS1EZLAzrebJGWN6znd+95dFvveCPKToBbxLXMUvW1CzxhHq3LD6KTpEqAd5L3LLr/vfjl8592tbYiBIxGhgvH5s4JrBbEKZ2XmwB31A0wcmw8ta+cD7jL94BrDm+cYXxvvgc0uThcWW1wcd6Vuk1v7bDp+fvyF134nPCpmAaMXXXdmc01GtI8Y9FiZGqjNpX8vWglS8/72Mvq9MylZ3rjXqCeFAJCQMqY9YeGG5geakXgTQ9oqz+5JF2Mjyhkse6+EKQBz/PODl7vvzCa4cUlcfIIGN2Ruzvc01eXyqcetrDNVHhxuiqeeRRAh9I25gbFfgW5S7bBuzT24lNc8G7c5BMwZnfuINWXt3UGqakEp4b1RYMad1y5253kR+BhSPAHADuQ9dPXp35YM5jkZvikhcEkErg1VhnT0QlzaQbMnHTfXYL5MNus6RdhOzsyQbn+LXLPNaAooso86Z6aQJmxFPW5BwQURdtnaNJ9rwH/A01X6IyC8LngAAAAAElFTkSuQmCC");
}
}
},
error: function(jqXHR, textStatus, err) {
alert('text status '+textStatus+', err '+err)
}
});
});
</script>
</html>