function closeMyColorbox() {
window.parent.$.colorbox.close();
}
function closeMyColorbox() {
window.parent.$.colorbox.close();
}
function deleteDocs () {
var uploadid = <?php echo ($uploadid); ?>;
$.noty.closeAll()
var n = noty({
text : ‘<?php echo $translation->getValue(“CESDoyouwanttoDELETEyourUPLOADEDDOCUMENTSfromthedatabase”)?>’,
type : ‘confirm’,
dismissQueue : false,
layout : ‘top’,
theme : ‘defaultTheme’,
buttons : [
{addClass: ‘btn btn-success’, text:'<?php echo (“Yes”)?>’, onClick:
function($noty) {
$noty.close();
$.post(‘inl_sev_066_J_ver.php’,{“UPLOADID” : uploadid,
“event” :’STOOR’}, function(response) {
// alert (“Javascript object – response : ” + JSON.stringify(response, null, 4));
if (response[0].success == “Y”) {
$.noty.closeAll();
var n = noty({
dismissQueue: false,
timeout : 2000,
text : response[0].message,
type : ‘success’,
layout : ‘top’
});
} else {
$.noty.closeAll();
var n = noty({
dismissQueue: false,
text : response[0].message,
type : ‘error’,
layout : ‘top’
});
}
}, ‘json’)
}
}, // YES Button
{addClass: ‘btn btn-danger’, text:'<?php echo (“No”)?>’, onClick:
function($noty) {
$noty.close();
noty({text:'<?php echo (“Cancelled”)?>’, type: ‘error’,timeout:1000});
} // “NO” Button
}
] // Noty button array
}) // Noty
}
document.getElementById(“btnStore”).disabled = true;
$.getJSON(‘inl_sev_034_E_vrs.php?TEMPLATE=’ + template + “&DEPT=” + dept, function(data) {
var myData = data;
// alert (“Javascript object – data : ” + JSON.stringify(data));
});
$.post(‘inl_sev_035_J_skp.php’,{
“DEPT” : dept,
“TEMPLATE” : template,
“VERSION” : version,
“MYDATA” : myData,
“event” :’STOOR’}, function(response) {
}, ‘json’)
var YYYY = new Date().getFullYear();
var MM = new Date().getMonth() + 1;
var DD = new Date().getDate();
var hh = new Date().getHours();
var mm = new Date().getMinutes();
var ss = new Date().getSeconds();
var version = YYYY + “-” + MM +”-” + DD + “_” + hh + “_” + mm + “_” + ss;
$data_insert [‘_DATE’] = date(‘Y-m-d’);
$data_insert [‘_TIME’] = date(‘H:i’);
function writeLog (lquestionnaire, lversion, ltak){
var activity = “EVALUATION – Questionnaire: ” + lquestionnaire + ” Version: ” + lversion + ” Branch: ” + ltak
$.post(‘inl_sev_067_J_skp.php’, {“ACTIVITY” : activity}, function(response) {
}, ‘json’)
}
$question = urldecode ($record[0][‘_QUESTION’]);
question = escape(question);
You must be logged in to post a comment.