Subversion Repositories ALCASAR

Rev

Rev 3097 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 3097 Rev 3180
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: index.php 3097 2022-12-12 18:35:11Z rexy $
2
# $Id: index.php 3180 2024-03-04 17:33:37Z rexy $
3
#
3
#
4
# index.php for ALCASAR by Rexy
4
# index.php for ALCASAR by Rexy
5
# UI & css style by Stéphane ERARD & Alexandre VEZIN
5
# UI & css style by Stéphane ERARD & Alexandre VEZIN
6
# The contents of this file may be used under the terms of the GNU
6
# The contents of this file may be used under the terms of the GNU
7
# General Public License Version 2, provided that the above copyright
7
# General Public License Version 2, provided that the above copyright
Line 561... Line 561...
561
		<script type="text/javascript" src="<?= $service_wifi4eu_server ?>"></script>
561
		<script type="text/javascript" src="<?= $service_wifi4eu_server ?>"></script>
562
<? endif; ?>
562
<? endif; ?>
563
	</head>
563
	</head>
564
	<body>
564
	<body>
565
	<div class="col-12 col-lg-10 offset-lg-1">
565
	<div class="col-12 col-lg-10 offset-lg-1">
566
 
-
 
567
		<?php require_once(__DIR__.'/header.php'); ?>
566
		<?php require_once(__DIR__.'/header.php'); ?>
568
 
-
 
569
		<!-- Main content box -->
567
		<!-- Main content box -->
570
		<div class="row">
568
		<div class="row">
571
			<div id="contenu_acces" class="col-12 offset-lg-1 col-lg-10 row">
569
			<div id="contenu_acces" class="col-12 offset-lg-1 col-lg-10 row">
572
				<?php if ((!$direct_access) && (!$network_pb) && (!isset($_GET['warn']))): // print blacklist categories ?>
570
				<?php if ((!$direct_access) && (!$network_pb) && (!isset($_GET['warn']))): // print blacklist categories ?>
573
				<div id="box_url">
571
				<div id="box_url">
574
					<br>
572
					<br>
575
					<?= $l_explain ?>
573
					<?= $l_explain ?>
576
				</div>
574
				</div>
577
				<?php endif; ?>
575
				<?php endif; ?>
578
 
-
 
579
				<!-- Menu -->
576
				<!-- Menu -->
580
				<div class="menu-container container col-12 col-md-7">
577
				<div class="menu-container container col-12 col-md-7">
581
					<?php if ($direct_access): ?>
578
					<?php if ($direct_access): ?>
582
						<div class="box_menu<?= (!$network_pb) ? '' : ' box-menu-disabled' ?>" id="box_conn" <?= (!$network_pb) ? '' : 'title=\'Not available\'' ?>>
579
						<div class="box_menu<?= (!$network_pb) ? '' : ' box-menu-disabled' ?>" id="box_conn" <?= (!$network_pb) ? '' : 'title=\'Not available\'' ?>>
583
							<span><?= $l_logout ?></span>
580
							<span><?= $l_logout ?></span>
584
							<div class="menu-image">
581
							<div class="menu-image">
585
								<img class="img-fluid" src="<?= $img_rep.$img_internet ?>">
582
								<img class="img-fluid" src="<?= $img_rep.$img_internet ?>">
586
							</div>
583
							</div>
587
						</div>
584
						</div>
588
 
-
 
589
						<?php if ($cert_autoissued): ?>
585
						<?php if ($cert_autoissued): ?>
590
							<div class="box_menu_right box_menu" id="box_certif">
586
							<div class="box_menu_right box_menu" id="box_certif">
591
								<span><a href="<?= $certCa_link ?>"><?= $l_install_certif ?></a></span>
587
								<span><a href="<?= $certCa_link ?>"><?= $l_install_certif ?></a></span>
592
								<div class="menu-image">
588
								<div class="menu-image">
593
									<img class="img-fluid" src="<?= $img_rep.$img_certificate ?>">
589
									<img class="img-fluid" src="<?= $img_rep.$img_certificate ?>">
Line 618... Line 614...
618
								<img class="img-fluid menu-image" src="<?= $img_rep.$img_email ?>">
614
								<img class="img-fluid menu-image" src="<?= $img_rep.$img_email ?>">
619
							</div>
615
							</div>
620
						</div>
616
						</div>
621
					<?php endif; ?>
617
					<?php endif; ?>
622
				</div>
618
				</div>
623
 
-
 
624
				<!-- Info Box -->
619
				<!-- Info Box -->
625
				<div class="info-box-container col-md-5">	
620
				<div class="info-box-container col-md-5">	
626
					<div id="box_infos">
621
					<div id="box_infos">
627
						<p class="box_infos_explanations"><?= $l_logout_explain ?>
622
						<p class="box_infos_explanations"><?= $l_logout_explain ?>
628
							
623