This repository has been archived by the owner on Feb 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
dashboard-maps.php
46 lines (39 loc) · 1.96 KB
/
dashboard-maps.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
$page_name = 'Maps - Dashboard';
require_once('./inc/includes.php');
$mapname = $_GET['map'] ?? '';
//require_once('./inc/pages/dashboard_maps.php');
require_once('header.php');
require_once('navbar.php');
?>
<div class="">
<div class="col-lg-11 mx-auto pb-1">
<section class="my-4 pb-1">
<div class="" id="maps-load">
<?php if((isset($mapname))&&($mapname!=='')): ?>
<h5><a href="dashboard-maps.php" class="text-muted text-decoration-none">Surf Stat's <?php echo MAP_COLLECTION; ?></a> / <?php echo $mapname;?><?php echo MapDownload($mapname);?></h5>
<hr class="mt-0 mb-3">
<div class="text-center text-muted py-4">
<div class="spinner-grow text-dark my-2" role="status">
<span class="sr-only"><?php echo LOADING; ?>...</span>
</div>
<h5><?php echo LOADING_MAP; ?>: <b><?php echo $mapname; ?></b> <?php echo DETAILS; ?>...<br><small><?php echo PLEASE_WAIT; ?>...</small></h5>
</div>
<?php else: ?>
<h5>Surf Stat's <?php echo MAP_COLLECTION; ?></h5>
<hr class="mt-0 mb-3">
<div class="text-center text-muted py-4">
<div class="spinner-grow text-dark my-2" role="status">
<span class="sr-only"><?php echo LOADING; ?>...</span>
</div>
<h5><?php echo LOADING_MAP_COLLECTION; ?>...<br><small><?php echo PLEASE_WAIT; ?>...</small></h5>
</div>
<?php endif; ?>
</div>
</section>
</div>
</div>
<?php
require_once('footer.php');
$db_conn_surftimer->close();
?>