-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
executable file
·44 lines (40 loc) · 2.32 KB
/
index.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
<?php
/*
index.php
Pagina principale pubblica contenente la visualizzazione dei post o delle categorie
*/
$name_page = "Home";
require_once($_SERVER['DOCUMENT_ROOT'] . '/alessandromasone.altervista.org' . '/public/statics/php/functions.php');
require_once($_SERVER['DOCUMENT_ROOT'] . '/alessandromasone.altervista.org' . '/public/statics/php/database.php');
require_once($_SERVER['DOCUMENT_ROOT'] . '/alessandromasone.altervista.org' . '/public/statics/php/init.php');
$Account->Open();
?>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/alessandromasone.altervista.org' . '/includes/header.php'); ?>
<main>
<div id="info" class="position-absolute d-flex justify-content-end flex-column me-3" style="right: 0; z-index: 1000; margin-top: 75px;"></div>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/alessandromasone.altervista.org' . '/includes/navbar.php'); ?>
<div class="container">
<div class="row mt-2">
<div class="col-auto">
<a class="btn btn-primary mb-2" href="index" onclick="view_posts(); return false;"><i class="bi bi-file-post"></i> Clicca qui per i posts</a>
</div>
<div class="col-auto">
<a class="btn btn-warning mb-2" href="index?category=view_category_list" onclick="view_category(); return false;"><i class="bi bi-bookmark-fill"></i> Clicca qui per le categorie</a>
</div>
</div>
<div class="row">
<div class="col-12">
<input name="search_box" id="search_box" class="form-control mb-3" type="text" placeholder="Ricerca" aria-label="Search">
</div>
</div>
<div class="row">
<div class="col-12" id="insert-content"></div>
</div>
</div>
<?php $newsletter = true; include($_SERVER['DOCUMENT_ROOT'] . '/alessandromasone.altervista.org' . '/includes/footbar.php'); ?>
</main>
<script type="text/javascript" src="<?php echo InternetFIle('public/statics/js/function.js', false) ?>"></script>
<script type="text/javascript" src="<?php echo InternetFIle('public/statics/js/masonry.pkgd.min.js', false) ?>"></script>
<script type="text/javascript" src="statics/js/index.js"></script>
<script type="text/javascript" src="statics/js/newsletter.js"></script>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/alessandromasone.altervista.org' . '/includes/footer.php'); ?>