Re: Need help with this, please
Posted: Thu Sep 23, 2010 7:02 pm
YEAH,
I got the site working in almost its entirety. Only thing I am missing now is being able to view user details and adding a user. Here is the block of code from /pb_events.php
Does anyone see anything wrong in it?
I got the site working in almost its entirety. Only thing I am missing now is being able to view user details and adding a user. Here is the block of code from /pb_events.php
Code: Select all
case "users":
if ((!$_GET["action"])&&($_SESSION["minibase"]["raw"]["user_level"] != 0 )) {
$_GET["action"] = "details";
}
if ($_SESSION["minibase"]["raw"]["user_level"] == 1) {
$_GET["user_id"] = $_SESSION["minibase"]["raw"]["user_id"];
$_POST["user_id"] = $_SESSION["minibase"]["raw"]["user_id"];
}
$data = new CSQLAdmin($_GET["sub"], $_CONF["forms"]["admintemplate"],$thiss->db,$thiss->tables);
return $data->DoEvents();
break;