-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.php
More file actions
31 lines (23 loc) · 926 Bytes
/
index.php
File metadata and controls
31 lines (23 loc) · 926 Bytes
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
<?php include "assets/head.html"; ?>
<title>Morrolinux</title>
</head>
<body>
<?php
if (file_exists('udemy_coupons.json')){
$show_promo = true;
} else {
$show_promo = false;
}
?>
<?php include "assets/nav.html"; ?>
<div class="container">
<!--<h1 style="text-align: center;">Ultimo Video Caricato</h1>-->
<iframe class="resize" src="https://www.youtube.com/embed?listType=user_uploads&list=morrolinux" frameborder="0" allowfullscreen></iframe>
<?php if($show_promo){ ?>
<a href="lpi.php"><div class="banner"> Offerta a tempo limitato! Tutti i corsi Linux in <b>offerta speciale</b> a 9,99€ anzichè <s>149€</s><br><img src="img/right-arrow.svg" class="blink arrow"/> Clicca qui <img src="img/left-arrow.svg" class="blink arrow"/></div></a>
<?php } else { ?>
<br><br>
<?php }?>
<?php include "assets/letter.html"; ?>
</div>
<?php include "assets/footer.html"; ?>