| | |
| | | |
| | | $app->tpl->setVar($rec); |
| | | |
| | | $sql2 = "SELECT * FROM server WHERE server_id = ".$rec['server_id']; |
| | | $rec2 = $app->db->queryOneRecord($sql2); |
| | | |
| | | $app->tpl->setVar($rec2); |
| | | |
| | | $app->tpl->setVar('msg',$msg); |
| | | $app->tpl->setVar('error',$error); |
| | | |
| | | if(isset($_SESSION['show_info_msg'])) { |
| | | $app->tpl->setVar('show_info_msg', $_SESSION['show_info_msg']); |
| | | unset($_SESSION['show_info_msg']); |
| | | } |
| | | if(isset($_SESSION['show_error_msg'])) { |
| | | $app->tpl->setVar('show_error_msg', $_SESSION['show_error_msg']); |
| | | unset($_SESSION['show_error_msg']); |
| | | } |
| | | |
| | | |
| | | |
| | | $app->tpl_defaults(); |
| | | $app->tpl->pparse(); |
| | | |
| | | |
| | | ?> |