|
|
@ -9,29 +9,28 @@ function show_ticket_info(){
|
|
|
|
$target_ticket = new Ticket();
|
|
|
|
$target_ticket = new Ticket();
|
|
|
|
$target_ticket->load_With_TId($result['ticket_id']);
|
|
|
|
$target_ticket->load_With_TId($result['ticket_id']);
|
|
|
|
|
|
|
|
|
|
|
|
if(($target_ticket->getAuthor() == $_SESSION['ticket_user']->getTUserId()) || Ticket_User::isMod($_SESSION['ticket_user'] )){
|
|
|
|
if( $target_ticket->hasInfo() && (($target_ticket->getAuthor() == $_SESSION['ticket_user']->getTUserId()) || Ticket_User::isMod($_SESSION['ticket_user'] ))){
|
|
|
|
$result['ticket_title'] = $target_ticket->getTitle();
|
|
|
|
$result['ticket_title'] = $target_ticket->getTitle();
|
|
|
|
$result['ticket_author'] = $target_ticket->getAuthor();
|
|
|
|
$result['ticket_author'] = $target_ticket->getAuthor();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$ticket_info = new Ticket_Info();
|
|
|
|
$result['shard_id'] = $_GET['ShardId'];
|
|
|
|
$ticket_info->load_With_Ticket($result['ticket_id']);
|
|
|
|
$result['user_position'] = $_GET['UserPosition'];
|
|
|
|
$result['shard_id'] = $ticket_info->getShardId();
|
|
|
|
$result['view_position'] = $_GET['ViewPosition'];
|
|
|
|
$result['user_position'] = $ticket_info->getUser_Position();
|
|
|
|
$result['client_version'] = $_GET['ClientVersion'];
|
|
|
|
$result['view_position'] = $ticket_info->getView_Position();
|
|
|
|
$result['patch_version'] = $_GET['PatchVersion'];
|
|
|
|
$result['client_version'] = $ticket_info->getClient_Version();
|
|
|
|
|
|
|
|
$result['patch_version'] = $ticket_info->getPatch_Version();
|
|
|
|
|
|
|
|
$result['server_tick'] = $ticket_info->getServer_Tick();
|
|
|
|
$result['server_tick'] = $_GET['ServerTick'];
|
|
|
|
$result['connect_state'] = $ticket_info->getConnect_State();
|
|
|
|
$result['connect_state'] = $_GET['ConnectState'];
|
|
|
|
$result['local_address'] = $ticket_info->getLocal_Address();
|
|
|
|
$result['local_address'] = $_GET['LocalAddress'];
|
|
|
|
$result['memory'] = $ticket_info->getMemory();
|
|
|
|
$result['memory'] = $_GET['Memory'];
|
|
|
|
$result['os'] = $ticket_info->getOS();
|
|
|
|
$result['os'] = $_GET['OS'];
|
|
|
|
$result['processor'] = $ticket_info->getProcessor();
|
|
|
|
$result['processor'] = $_GET['Processor'];
|
|
|
|
$result['cpu_id'] = $ticket_info->getCPUId();
|
|
|
|
$result['cpu_id'] = $_GET['CPUID'];
|
|
|
|
$result['cpu_mask'] = $ticket_info->getCPU_Mask();
|
|
|
|
$result['cpu_mask'] = $_GET['CpuMask'];
|
|
|
|
$result['ht'] = $ticket_info->getHT();
|
|
|
|
$result['ht'] = $_GET['HT'];
|
|
|
|
$result['nel3d'] = $ticket_info->getNel3D();
|
|
|
|
|
|
|
|
$result['user_id'] = $ticket_info->getUser_Id();
|
|
|
|
$result['nel3d'] = $_GET['NeL3D'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(Ticket_User::isMod($_SESSION['ticket_user'])){
|
|
|
|
if(Ticket_User::isMod($_SESSION['ticket_user'])){
|
|
|
|
$result['isMod'] = "TRUE";
|
|
|
|
$result['isMod'] = "TRUE";
|
|
|
|