예제 #1
0
 function display()
 {
     include_once "../../data-access/mysql-db.php";
     $obj = new DataAccessLayer();
     $this->assign("replies", $obj->selectColumnWhere("tblreply", "postID", $_GET["postid"]));
     $this->assign("postresult", $obj->selectById("tblpost", "postID", $_GET["postid"]));
 }
예제 #2
0
 function display()
 {
     include_once "../data-access/mysql-db.php";
     $obj = new DataAccessLayer();
     $this->assign("topic", $obj->selectById("tbltopic", "topicID", $_GET["topicid"]));
     $this->assign("posts", $obj->selectColumnWhere("tblpost", "postStatus", 1));
 }
예제 #3
0
 function edit()
 {
     include_once "../../data-access/mysql-db.php";
     $obj = new DataAccessLayer();
     $this->assign("clientinfo", $obj->selectById("tblclientuser", "userID", $_GET["id"]));
     $this->assign("type", $obj->select("tblusertype"));
 }
예제 #4
0
 function edit()
 {
     include_once "../../data-access/mysql-db.php";
     $obj = new DataAccessLayer();
     $this->assign("forumcategory", $obj->selectById("tblforumcategory", "forumCatID", $_GET["id"]));
 }
예제 #5
0
 function edit()
 {
     include_once "../../data-access/mysql-db.php";
     $obj = new DataAccessLayer();
     $this->assign("jobs", $obj->selectById("tbljob", "jobID", $_GET["id"]));
 }