/*php*/ function noAuthToAuth(){ global $k2; if (!$k2->auth->isAuth()){ header(`Location: /?p=auth`); } }