34 throw new mkError('Lib `' . $name . '` not found!');
35
/home/b/bitworld/system/Model.php on line 151
146 return $obj[0];
147 }
148
149 public function query() {
150 $this->_res = call_user_func_array(
151 array(MK::$lib->DB, 'query'),
152 func_get_args()
153 );
154
/home/b/bitworld/bit-world.ru/public_html/pdd.bit-world.ru/modules/pdd/model/questions.php on line 119
114 $f = 0;
115 $c = 800;
116 }
117 $this->query(
118 'SELECT * FROM ?n WHERE `category` = ?i LIMIT ?i,?i',
119 $this->getTable(), $category, $f, $c
120 );
121 if($this->get_count() > 0) {
122
/home/b/bitworld/bit-world.ru/public_html/pdd.bit-world.ru/modules/pdd/pdd.php on line 135
130 $data = [
131 'title' => strtoupper($abcd),
132 'abcd' => $abcd,
133 'num' => $theme-1,
134 'themes' => $questions->getThemes(),
135 'questions' => $questions->getByTheme($theme),
136 'apiId' => model\questions::apiId()
137 ];
138
/home/b/bitworld/bit-world.ru/public_html/pdd.bit-world.ru/modules/pdd/pdd.php on line 76
71
72 private function pdd_default($ticket, $abcd) {
73 if(strpos($ticket, 'bilet') !== false) {
74 $this->pdd_ticket($ticket, $abcd);
75 } elseif(strpos($ticket, 'tema') !== false) {
76 $this->pdd_theme($ticket, $abcd);
77 } else {
78 $this->notFound();
79
/home/b/bitworld/bit-world.ru/public_html/pdd.bit-world.ru/modules/pdd/pdd.php on line 42
37 break;
38 case 'list':
39 $this->pdd_list($category);
40 break;
41 default:
42 $this->pdd_default($args['page'], $category);
43 break;
44 }
45
/home/b/bitworld/system/Controller.php on line 30
25 foreach($perm as $val) {
26 $this->permissions[$key][$val] = true;
27 }
28 }
29 }
30 $this->main($args);
31 }
32
33
/home/b/bitworld/system/mk_app.php on line 154
149 ob_start();
150 if($this->_action == null) {
151 $args['page'] = '404';
152 $controller = new $class($args);
153 } else {
154 $controller = new $class($args);
155 $action = $this->_action;
156 $controller->$action($args);
157
/home/b/bitworld/bit-world.ru/public_html/pdd.bit-world.ru/index.php on line 33
28 require mk_sys . 'MK.php';
29
30 /* CMS Автоподгрузка классов */
31 spl_autoload_register(['system\MK', 'autoload']);
32
33 (new system\mk_app($config))->start();