Update registration_reload.php
This commit is contained in:
@@ -86,11 +86,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
var requestTime = function() {
|
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');
|
new loadXmlHttp(url, 'ajax_response');
|
||||||
<?php
|
<?php
|
||||||
if (strlen($_SESSION["ajax_refresh_rate"]) == 0) { $_SESSION["ajax_refresh_rate"] = "1800"; }
|
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"]).");";
|
||||||
?>
|
?>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user