Rev | Line | |
---|
[27568] | 1 | <?php |
---|
| 2 | defined('MPS_PATH') or die('Hacking attempt!'); |
---|
| 3 | |
---|
| 4 | |
---|
| 5 | |
---|
| 6 | $query='SELECT * FROM '.MPS_CONF_TABLE.';'; |
---|
| 7 | $result = pwg_query($query); |
---|
| 8 | while($row = pwg_db_fetch_assoc($result)){ |
---|
| 9 | $config = $row ; |
---|
| 10 | } |
---|
| 11 | |
---|
| 12 | |
---|
| 13 | $template->assign(array( |
---|
[27743] | 14 | 'mps_conf' => $config, |
---|
| 15 | 'INTRO_CONTENT' => load_language('intro.html', MPS_PATH, array('return'=>true)), |
---|
[27568] | 16 | )); |
---|
| 17 | |
---|
| 18 | $template->set_filename('mps_content', realpath(MPS_PATH . 'admin/template/home.tpl')); |
---|
Note: See
TracBrowser
for help on using the repository browser.