ticketlog.php
上传用户:gzy2002
上传日期:2010-02-11
资源大小:1785k
文件大小:2k
- <?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();
- ?>