Jump to content

Help on Timing Issue??


tuxbuddy

Recommended Posts

HEllo Guys,

 

I have  a tool for cricket Tracking which is completely written in PHP.I need to change the ticket tracking HelpDESK tool to work for 9:00 to 6:00 rather than its 24*7 utility.

Is this possible.Since I am newbie to PHP,I need your help.

I will provide you with  the overall details once anyone wish to help me out.

Link to comment
Share on other sites

I can see that lots of Helpdesk Ticket Tracking tool is present but the right SLA features are missing and if few have then its not free.

 

Can anyone provide me with the code for Service Level Agreement realted to Support HelpDESK??

Link to comment
Share on other sites

in the index.php, change the code so it says this:


<?php

/**
* HelpCORE source file 
* ====================
* 
* CVS:
* ----
* $header$
* 
* Purpose:
* --------
* Main frameset loader
* 
* Copyright:
* ----------
* Copyright (C) 2002-2003 Dennis Fleurbaaij <dennis@io-software.nl>
* Copyright (C) 2002-2005 IO Software <info@io-software.nl>
* 
* This program is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software Foundation;
* either version 2 of the License, or (at your option) any later version.
* 
* This program is distributed in the hope that it will be useful, but WITHOUT ANY 
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
* PARTICULAR PURPOSE. See the GNU General Public License for more details.
* 
* You should have received a copy of the GNU General Public License along with this
* program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, 
* Cambridge, MA 02139, USA.
* 
* Please note that this software is dual licensed. For the commercial use of this 
* software you will need a Commercial License. Please see http://www.io-software.nl
* for the terms and conditions.
* 
* For more information you can contact IO Software at http://www.io-software.nl
*/
$time = date("H");
if ($time > 18 || $time < 6){
echo "<center><h1><strong>Closed</strong</h1><br />Sorry, but the ticket system is currently closed</center>";
exit();
}
else{
if( ! include( "coreapm/coreapm.php" ) )
{
die( "Cannot include CORE APM" );
} 
$GLOBALS["cache"]->no_cache = true;

// logout
if( isset( $_GET["logout"] ) )
{
$GLOBALS["security"]->secure();
$GLOBALS["security"]->do_logout(); 

// We need to hard-redirect the pages
// 
?>

  <script type="text/javascript" >
    top.location.href = "<?php echo BASE_URL . "index.php"; ?>";
  </script>

<?php
} 

// Secured people are redirected to the private part
if( $GLOBALS["security"]->is_secure() )
{
header( "location: " . BASE_URL . "module_helpcore_secure/index.php" );
die;
} 

// Unsecure people are lead to the public part
header( "location: " . BASE_URL . "module_helpcore_public/index.php" );
}
?>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.