Exemple #1
0
function helpdeskz_startupgrade()
{
    helpdeskz_header();
    echo 'Your HelpDeskZ will be updated to version <strong>' . HELPDESKZ_VERSION . '</strong>, please click in the button below to start with this process.';
    echo '<div align="center"><button onclick="location.href=\'./upgrade.php?process=start\';">Upgrade my HelpDeskZ</button></div>';
    helpdeskz_footer();
}
function helpdeskz_completed()
{
    helpdeskz_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 
    helpdeskz_footer();
}
Exemple #3
0
<?php

/**
 * @package HelpDeskZ
 * @website: http://www.helpdeskz.com
 * @community: http://community.helpdeskz.com
 * @author Evolution Script S.A.C.
 * @since 1.0.2
 */
error_reporting(E_ALL & ~E_NOTICE);
session_start();
define('HELPDESKZ_PATH', dirname(dirname(__FILE__)) . '/');
require_once __DIR__ . '/functions.php';
helpdeskz_header();
?>
<p>Welcome to HelpDeskZ v<?php 
echo HELPDESKZ_VERSION;
?>
, please select the action that you want to do:</p>

    <div align="center">
        <button onclick="location.href='./install.php';">Install a fresh copy</button>
        <button onclick="location.href='./upgrade.php';">Upgrade my HelpDeskZ</button>
    </div>
<?php 
helpdeskz_footer();