31 include
'admin_header.php';
51 $template_main =
"profile_admin_categorylist.html";
55 include_once
'../include/forms.php';
57 $form = $obj->getForm();
62 include_once
'../include/forms.php';
64 $form = $obj->getForm();
69 if ( !
$GLOBALS[
'xoopsSecurity']->check() ) {
77 $obj->setVar(
'cat_title',
$_REQUEST[
'cat_title']);
78 $obj->setVar(
'cat_description',
$_REQUEST[
'cat_description']);
79 $obj->setVar(
'cat_weight',
$_REQUEST[
'cat_weight']);
83 include_once
'../include/forms.php';
84 echo $obj->getHtmlErrors();
85 $form =& $obj->getForm();
92 if ( !
$GLOBALS[
'xoopsSecurity']->check() ) {
98 echo $obj->getHtmlErrors();
105 if ( isset($template_main) ) {
106 $GLOBALS[
'xoopsTpl']->display(
"db:{$template_main}");
108 include
'admin_footer.php';