Example #1
0
     break;
 case 'globalmessage':
     include_once ROOT_PATH . 'includes/pages/adm/ShowSendMessagesPage.php';
     ShowSendMessagesPage();
     break;
 case 'fleets':
     include_once ROOT_PATH . 'includes/pages/adm/ShowFlyingFleetPage.php';
     ShowFlyingFleetPage();
     break;
 case 'accountdata':
     include_once ROOT_PATH . 'includes/pages/adm/ShowAccountDataPage.php';
     ShowAccountDataPage();
     break;
 case 'support':
     include_once ROOT_PATH . 'includes/pages/adm/ShowSupportPage.php';
     ShowSupportPage();
     break;
 case 'password':
     include_once ROOT_PATH . 'includes/pages/adm/ShowPassEncripterPage.php';
     ShowPassEncripterPage();
     break;
 case 'search':
     include_once ROOT_PATH . 'includes/pages/adm/ShowSearchPage.php';
     ShowSearchPage();
     break;
 case 'qeditor':
     include_once ROOT_PATH . 'includes/pages/adm/ShowQuickEditorPage.php';
     ShowQuickEditorPage();
     break;
 case 'statsupdate':
     include_once ROOT_PATH . 'includes/pages/adm/ShowStatUpdatePage.php';
Example #2
0
                     $parse['answer_new'] = 'Ticket Cerrado';
                 }
                 if ($ticket2['status'] == 2) {
                     $status = "<font color=yellow>Respuesta del Admin</font>";
                 }
                 if ($ticket2['status'] == 3) {
                     $status = "<font color=green>Respuesta del Jugador</font>";
                 }
                 $parse['tickets'] .= "<tr>" . "<td class='b'>" . $ticket2['ID'] . "</td>" . "<td class='b'>" . $ticket2['subject'] . "</td>" . "<td class='b'>" . $status . "</td>" . "<td class='b'>" . date("j-m-Y H:i:s", $ticket2['time']) . "</td>" . "</tr>";
                 $parse['text_view'] = $ticket2['text'];
                 $parse['ids'] = $ticket2['ID'];
                 display(parsetemplate(gettemplate('plugins/supp/supp_detail'), $parse));
             }
         }
     }
     ShowSupportPage($user);
 }
 //adm menu hack
 $lang['mu_connected'] .= '</a></th></tr><tr><th onMouseOver=\'this.className="ForIEHover"\' onMouseOut=\'this.className="ForIE"\' class="ForIE"><a href="SettingsPage.php?page=support" target="Hauptframe">Soporte';
 if (is_phpself('adm/SettingsPage') && $page == 'support') {
     include 'AdminFunctions/Autorization.' . $phpEx;
     if ($user['authlevel'] >= 1) {
         includeLang('INGAME');
         $parse = $lang;
         if ($_GET['ticket'] == 0) {
             /// Deteilsanzeige des eigenen tickets
             $query = doquery("SELECT s.* ,u.id, u.username as username FROM {{table}}supp as s, {{table}}users as u WHERE status >= '1' AND  u.id=s.player_id ORDER BY s.time", "");
             while ($ticket = mysql_fetch_array($query)) {
                 if ($ticket['status'] == 1) {
                     $status = "<font color=green>Abrir</font>";
                 }