$value){ if(in_array($key,array("user","thread","local","tag","list","federated","search"))){ $tl['mode'] = $key; $tl[$key] = $value; } } } /* same as above but these are mostly used for AJAX requests */ $tl['next'] = (isset($_GET['next']) ? htmlentities($_GET['next']) : false); $tl['since'] = (isset($_GET['since']) ? htmlentities($_GET['since']) : false); $tl['sincen'] = (isset($_GET['sincen']) ? htmlentities($_GET['sincen']) : false); $srv = $user_settings['instance']; /* no longer used */ $nocookies = (isset($_COOKIE['user_settings']) ? false : true); /* these variables will hold the data of the page that will be generated */ $replies = ""; $notes = ""; ?>