Code: Select all
// Other file
$online_string = "1,2,3,4,5,6";
etc.....
<?php
function CreatePage() {
if ($GLOBALS[online_string]) {
$this->SetParameter("online_string", $online_string);
$this->SetParameter("online_list", $online_list);
$this->SetParameter("online_guests", $guests_online);
$this->SetParameter("online_total", $totalonline);
}
?>