ticketlog.php

来自「本代码是为客户联系管理而做的系统」· PHP 代码 · 共 54 行

PHP
54
字号
<?php
// +-------------------------------------------------------------+
// | DeskPRO v [2.0.1 Production]
// | Copyright (C) 2001 - 2004 Headstart Solutions Limited
// | Supplied by WTN-WDYL
// | Nullified by WTN-WDYL
// | Distribution via WebForum, ForumRU and associated file dumps
// +-------------------------------------------------------------+
// | DESKPRO IS NOT FREE SOFTWARE
// +-------------------------------------------------------------+
// | License ID : Full Enterprise License =) ...
// | License Owner : WTN-WDYL Team
// +-------------------------------------------------------------+
// | $RCSfile: ticketlog.php,v $
// | $Date: 2004/02/10 01:34:31 $
// | $Revision: 1.6 $
// +-------------------------------------------------------------+
// | File Details:
// | - Ticket details and history viewer.
// +-------------------------------------------------------------+

error_reporting(E_ALL ^ E_NOTICE);

// start file
require("./../global.php");

// globalise variables
$global = array	(
			array('id') 
);
rg($global);

tech_nav('Tickets', 'View Ticket Log');

if (!$id) {
	mistake("No ticket was specified");	
	exit();
}

$relation = $db->query_return("SELECT * FROM ticket_merge WHERE old_id = '$id'");

if ($relation['new_id']) {
	echo "Note: this ticket has been merged into <A HREF=\"ticketview.php?id=$relation[new_id]\">Ticket #$relation[new_id]</A>.";
}

$log = generate_ticketlog($id);

table_header('Ticket Log', '', '', '');
table_content($cols, $log[0], '', '', '', $log[1]);
table_footer();

tech_footer();
?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?