Update registration_reload.php
This commit is contained in:
parent
ec0daf5358
commit
84f114feb4
|
|
@ -86,11 +86,11 @@
|
|||
}
|
||||
|
||||
var requestTime = function() {
|
||||
var url = 'registrations.php?template=false&profile=&show=<?php echo $show; ?>';
|
||||
var url = 'registrations.php?template=false&profile=&show=<?php echo escape($show); ?>';
|
||||
new loadXmlHttp(url, 'ajax_response');
|
||||
<?php
|
||||
if (strlen($_SESSION["ajax_refresh_rate"]) == 0) { $_SESSION["ajax_refresh_rate"] = "1800"; }
|
||||
echo "setInterval(function(){new loadXmlHttp(url, 'ajax_reponse');}, ".$_SESSION["ajax_refresh_rate"].");";
|
||||
echo "setInterval(function(){new loadXmlHttp(url, 'ajax_reponse');}, ".escape($_SESSION["ajax_refresh_rate"]).");";
|
||||
?>
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue