Ejemplo n.º 1
0
function hesk_iFinish()
{
    global $hesk_settings;
    hesk_iHeader();
    ?>
	
	<div class="row">
        <div class="col-md-4">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <p>Summary</p>
                </div>
                <div class="panel-body">
                    <p>Congratulations, you have successfully completed HESK database setup!</p>
                </div>
          </div>
	  </div>
	  <div class="col-md-8">
		<div class="alert alert-success"><strong>Success!</strong> HESK Successfully installed</div>
		<div class="h3">Next Steps:<br/><br/></div>
        <ol>
            <li><span style="color:#ff0000">Don't forget to run the <a href="<?php 
    echo HESK_PATH . 'install/mods-for-hesk/modsForHesk.php';
    ?>
">Mods for HESK Installation</a>!</li>
            <li>Remember your login details:<br />

<pre style="font-size: 1.17em">
Username: <span style="color:red; font-weight:bold"><?php 
    echo stripslashes($_SESSION['admin_user']);
    ?>
</span>
Password: <span style="color:red; font-weight:bold"><?php 
    echo stripslashes($_SESSION['admin_pass']);
    ?>
</span>
</pre>
            </li>
        </ol>
		
		<form action="<?php 
    echo HESK_PATH;
    ?>
admin/index.php" method="post">
			<input type="hidden" name="a" value="do_login" />
			<input type="hidden" name="remember_user" value="JUSTUSER" />
			<input type="hidden" name="user" value="<?php 
    echo stripslashes($_SESSION['admin_user']);
    ?>
" />
			<input type="hidden" name="pass" value="<?php 
    echo stripslashes($_SESSION['admin_pass']);
    ?>
" />
			<input type="hidden" name="goto" value="admin_settings.php" />
			<center><button type="submit" class="btn btn-default btn-lg">Login</button></center>
		</form>
	</div>
	</div>

	<?php 
    hesk_iFooter();
}
Ejemplo n.º 2
0
function hesk_iFinish()
{
    global $hesk_settings;
    hesk_iHeader();
    ?>

	<h3>Setup database tables</h3>

	<br />
	<?php 
    hesk_show_success('Congratulations, you have successfully completed HESK database setup!');
    ?>

    <h3>Things to do next:</h3>

    <ol>

    <li><span style="color:#ff0000">Delete the <b>/install</b> folder from your server!</span><br />&nbsp;</li>

    <li>Login to HESK administration panel using default login.<br />

<pre style="font-size: 1.17em">
Username: <b>Administrator</b>
Password: <b>admin</b>
</pre>

	<br />

	<form action="<?php 
    echo HESK_PATH;
    ?>
admin/index.php" method="post">
	<input type="hidden" name="a" value="do_login" />
	<input type="hidden" name="remember_user" value="JUSTUSER" />
	<input type="hidden" name="user" value="Administrator" />
	<input type="hidden" name="pass" value="admin" />
	<input type="hidden" name="goto" value="admin_settings.php" />
	<input type="submit" value="Click here to login automatically &raquo;" class="orangebutton" onmouseover="hesk_btn(this,'orangebuttonover');" onmouseout="hesk_btn(this,'orangebutton');" /></p>
	</form>

    </li>

    </ol>

    <p>&nbsp;</p>

	<?php 
    hesk_iFooter();
}
Ejemplo n.º 3
0
function hesk_iFinish()
{
    global $hesk_settings;
    hesk_iHeader();
    ?>

	<h3>Update database tables</h3>

	<br />
	<?php 
    hesk_show_success('Congratulations, your HESK has been updated to ' . HESK_NEW_VERSION);
    ?>

    <h3>Things to do next:</h3>

    <ol>

    <li><span style="color:#ff0000">Delete the <b>/install</b> folder from your server!</span><br />&nbsp;</li>

    <li>Login to HESK administration panel and make sure everything works fine.<br /><br />

	<form action="<?php 
    echo HESK_PATH;
    ?>
admin/admin_main.php" method="get">
	<input type="submit" value="Continue to admin panel &raquo;" class="orangebutton" onmouseover="hesk_btn(this,'orangebuttonover');" onmouseout="hesk_btn(this,'orangebutton');" /></p>
	</form>

    </li>

    </ol>

    <p>&nbsp;</p>

	<?php 
    hesk_iFooter();
}
Ejemplo n.º 4
0
function hesk_iSessionError()
{
    hesk_session_stop();
    hesk_iHeader();
    ?>

	<br />
	<div class="error">
		<img src="<?php 
    echo HESK_PATH;
    ?>
img/error.png" width="16" height="16" border="0" alt="" style="vertical-align:text-bottom" />
		<b>Error:</b> PHP sessions not working!<br /><br />Note that this is a server configuration issue, not a HESK issue.<br /><br />Please contact your hosting company and ask them to verify why PHP sessions aren't working on your server!
	</div>
	<br />

	<form method="get" action="<?php 
    echo INSTALL_PAGE;
    ?>
">
	<p align="center"><input type="submit" value="&laquo; Start over" class="orangebutton" onmouseover="hesk_btn(this,'orangebuttonover');" onmouseout="hesk_btn(this,'orangebutton');" /></p>
	</form>

	<?php 
    hesk_iFooter();
}
Ejemplo n.º 5
0
*  This Copyright is in full effect in any country that has International
*  Trade Agreements with the United States of America or
*  with the European Union.

*  Removing any of the copyright notices without purchasing a license
*  is expressly forbidden. To remove HESK copyright notice you must purchase
*  a license for this script. For more information on how to obtain
*  a license please visit the page below:
*  https://www.hesk.com/buy.php
*******************************************************************************/
define('IN_SCRIPT', 1);
define('HESK_PATH', '../');
require HESK_PATH . 'install/install_functions.inc.php';
// Reset installation steps
hesk_session_stop();
hesk_iHeader();
?>

<h3>Thank you for downloading HESK!</h3>

<p>This script will help you install and configure HESK <?php 
echo HESK_NEW_VERSION;
?>
</p>

<hr />

<form method="get" action="install.php">
<p align="center"><input type="submit" value="New install &raquo;" class="orangebutton" onmouseover="hesk_btn(this,'orangebuttonover');" onmouseout="hesk_btn(this,'orangebutton');" /></p>
<p align="center">Install a new copy of HESK on your server</p>
</form>