Exemplo n.º 1
0
 public function getAllFeedbackTotal()
 {
     $_sql = "select * from feedback";
     return parent::getTotal($_sql);
 }
Exemplo n.º 2
0
 public function getAllEntryTotal()
 {
     $_sql = "select * from dict";
     return parent::getTotal($_sql);
 }
Exemplo n.º 3
0
 public function getAllDownloadTotal()
 {
     $_sql = "select * from download";
     return parent::getTotal($_sql);
 }
Exemplo n.º 4
0
 public function getAllSubNavByIdTotal()
 {
     $_sql = "select * from nav where pid=" . $this->id;
     return parent::getTotal($_sql);
 }
 public function getAllPermissionTotal()
 {
     $_sql = "select * from permission";
     return parent::getTotal($_sql);
 }
Exemplo n.º 6
0
 public function getAllAdTotal()
 {
     $_sql = "select * from ad where type in (" . $this->kind . ")";
     return parent::getTotal($_sql);
 }
Exemplo n.º 7
0
 public function getAllCommentTotal()
 {
     $_sql = "select * from comment where state=1 and aid=" . $this->aid;
     //echo $_sql;
     return parent::getTotal($_sql);
 }
Exemplo n.º 8
0
 public function getAlltopicTotal()
 {
     $_sql = "select * from topic";
     return parent::getTotal($_sql);
 }
Exemplo n.º 9
0
 public function getAllOrdersTotal()
 {
     $_sql = "select * from orders";
     //echo $_sql;
     return parent::getTotal($_sql);
 }
Exemplo n.º 10
0
 public function getAllAnswersTotal()
 {
     $_sql = "select * from ask where pid=" . $this->id;
     //echo $_sql;
     return parent::getTotal($_sql);
 }
Exemplo n.º 11
0
 public function getAllProductTotal()
 {
     $_sql = "select * from products";
     //echo $_sql;
     return parent::getTotal($_sql);
 }
Exemplo n.º 12
0
 public function getAllCourseTotal()
 {
     $_sql = "select * from course";
     return parent::getTotal($_sql);
 }
Exemplo n.º 13
0
 public function getAllUserTotal()
 {
     $_sql = "select * from user";
     return parent::getTotal($_sql);
 }
Exemplo n.º 14
0
 public function getAllLevelTotal()
 {
     $_sql = "select * from level";
     return parent::getTotal($_sql);
 }
Exemplo n.º 15
0
 public function getItemByIdTotal()
 {
     $_sql = "select * from vote where pid=" . $this->id;
     return parent::getTotal($_sql);
 }
Exemplo n.º 16
0
 public function getAllJudgesTotal()
 {
     $_sql = "select * from veling_exam_judge where course_id in(" . $this->kind . ")";
     return parent::getTotal($_sql);
 }
Exemplo n.º 17
0
 public function getAllArticleTotal()
 {
     $_sql = "select * from article where nid in (" . $this->nid . ")";
     return parent::getTotal($_sql);
 }
Exemplo n.º 18
0
 public function getAllAdminTotal()
 {
     $_sql = "select * from admin,level where admin.level_id=level.id and admin.level_id in (" . $this->level_id . ")";
     //echo $_sql;
     return parent::getTotal($_sql);
 }
Exemplo n.º 19
0
 public function getAllCategoryTotal()
 {
     $_sql = "select * from category";
     return parent::getTotal($_sql);
 }