function ctl_form()
{
$_act_get = fn_getSafe(fn_get("act_get"), "text", "base");
if (!isset($this->adminLogged["admin_allow"]["opt"][$_act_get]) && !$this->is_super) {
return array("alert" => "x040301");
}
if ($_act_get == "base") {
$this->tplData["tplRows"] = $this->obj_dir->list_dir(BG_PATH_TPL . "user/");
$_arr_timezoneRows = (include_once BG_PATH_LANG . $this->config["lang"] . "/timezone.php");
$_arr_timezone[] = "";
if (stristr(BG_SITE_TIMEZONE, "/")) {
$_arr_timezone = explode("/", BG_SITE_TIMEZONE);
}
$this->tplData["timezoneRows"] = $_arr_timezoneRows;
$this->tplData["timezoneJson"] = json_encode($_arr_timezoneRows);
$this->tplData["timezoneType"] = $_arr_timezone[0];
}
$this->tplData["act_get"] = $_act_get;
$this->obj_tpl->tplDisplay("opt_form.tpl", $this->tplData);
return array("alert" => "y040301");
}