HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/xampp/htdocs/mrss/help.php
<?php

include_once('main.php');

if(check_login() != true) { exit; }

?>

<div class="box_div" id="help_div">
<div class="box_top_div"><a href="#">Start</a> &gt; Help</div>
<div class="box_body_div">

<h3>Reservations</h3>

<ul>
<li><b>How much does it cost?</b><br>The current price per reservation is <?php echo global_price . ' ' . global_currency; ?>.</li>
<li><b>How do I make a reservation?</b><br>Click on the time you wish to reserve.</li>
<li><b>How do I remove a reservation?</b><br>Click on the reservation you wish to remove.</li>
<li><b>If I have used without making a reservation first, how do I register it?</b><br>Go to the <a href="#cp">control panel</a> and click on "Add 1 to my reservations".</li>
<li><b>How do I check my usage?</b><br>You can check your usage in the <a href="#cp">control panel</a>.</li>
<li><b>What reservation restrictions are there?</b><br>You can't make or remove reservations back in time or remove other users' reservations. The webmaster may restrict how many weeks forward in time you can make reservations.</li>
<li><b>Can I get reservation reminders?</b><br>If the webmaster has enabled it, you can turn it on in the <a href="#cp">control panel</a>.</li>
</ul>

<h3>Other</h3>

<ul>
<li><b>How do I change my name, email and/or password?</b><br>You can do that in the <a href="#cp">control panel</a>.</li>
</ul>

<?php

if($_SESSION['user_is_admin'] == '1')
{

?>

<h3>Admin help</h3>

<ul>
<li><b>Are there any reservation restrictions for admins?</b><br>No, you can make and remove reservations back and forward in time as you wish, and you can delete other users' reservations. It will require a confirmation.</li>
<li><b>How do I manage users and reservations?</b><br>You can do that in the <a href="#cp">control panel</a>. You can reset a user's passwords (if the user has forgot it), change a user's permissions (admin or not), delete a user's reservations and delete a user. Just pick a user and choose what to do. All the red buttons will require a confirmation.</li>
<li><b>Can I delete all users and reservations?</b><br>You can do that in the <a href="#cp">control panel</a>. Your user and reservations will not be deleted unless you choose to delete everything.</li>
<li><b>How do I change the other options, like possible reservation times, secret code etc?</b><br>The webmaster must do that in the configuration file (config.php).</li>
<li><b>Will changing the price affect previous reservations?</b><br>No. A new price will only apply for reservations made after the price change.</li>
</ul>

<?php

}

?>

</div></div>