Exemplo n.º 1
0
<?php

error_reporting(E_ALL & ~E_NOTICE);
session_start();
define('HELPDESK_PATH', dirname(dirname(__FILE__)) . '/');
require_once __DIR__ . '/functions.php';
helpdesk_header();
?>
<p>Welcome to HelpDesk v<?php 
echo HELPDESK_VERSION;
?>
, please select the action that you want to do:</p>

    <div align="center">
        <button onclick="location.href='./install.php';">Install HelpDesk</button>
        
    </div>
<?php 
helpdesk_footer();
Exemplo n.º 2
0
function helpdeskz_completed()
{
    helpdesk_header();
    ?>
	<h3>Installation Completed</h3>
    <p>Installation has been successfully completed, <strong>do not forget to remove</strong> <strong style="color:red">/install</strong> folder</p>
    <p><a href="../?v=staff" target="_blank">Click here to open staff panel</a></p>
<?php 
    helpdesk_footer();
}