$GLOBALS['Templ']->assign('geturl', BASE_WEBURL . '/?thread-' . $thr_idval . '.html&page=1'); $GLOBALS['Templ']->display('suggestion_tpl.html'); } } $Reply = new Reply(); if ($GLOBALS['Webur']->getval["type"] == 'list') { $Reply->infolist(); } else { if ($GLOBALS['Webur']->getval["type"] == 'add') { $Reply->add(); } else { if ($GLOBALS['Webur']->getval["type"] == 'addinfo') { $Reply->addinfo(); } else { if ($GLOBALS['Webur']->getval["type"] == 'edit') { $Reply->edit(); } else { if ($GLOBALS['Webur']->getval["type"] == 'editinfo') { $Reply->editinfo(); } else { if ($GLOBALS['Webur']->getval["type"] == 'del') { $Reply->del(); } else { if (intval($GLOBALS['Webur']->getval["idval"]) != '') { $Reply->infolist(); } else { $GLOBALS['Helpe']->error404(); } } } }