コード例 #1
0
                         }
                         $return = $connection->banAdd($volocalserverid, $banCmd);
                         $template_file = $return ? $spracheResponse->ts_query_success . $return : $spracheResponse->error_table;
                         if ($ui->w('banType', 1, 'post') == 'U') {
                             $connection->clientKick($volocalserverid, $ui->id('clientUID', 19, 'post'));
                         }
                     } else {
                         $error = $sprache->banErrorData;
                         $template_file = 'userpanel_voiceserver_ban_ad.tpl';
                     }
                 } else {
                     if (!$ui->st('action', 'post') and $ui->st('e', 'get') == 'ad') {
                         $userList = $connection->getClientList($volocalserverid);
                         $template_file = 'userpanel_voiceserver_ban_ad.tpl';
                     } else {
                         $banList = $connection->banList($volocalserverid);
                         $template_file = 'userpanel_voiceserver_ban_list.tpl';
                         configureDateTables('-1', '0, "asc"');
                     }
                 }
             }
         }
     } else {
         $template_file = 'userpanel_404.tpl';
     }
 } else {
     $table = array();
     $o = $ui->st('o', 'get');
     if ($ui->st('o', 'get') == 'aa') {
         $orderby = 'v.`ip` ASC, v.`port` ASC';
     } else {