get('username'))) { $redirect->url('/novaconium/login'); $messages->error('You are not loggedin'); makeitso(); } $pageid = $router->parameters['id']; $query=<<getRow($query); $data = array_merge($data, [ 'tinymce' => true, 'pageid' => 'admin-edit-page' ]); view('@novacore/editpage', $data);