blob: 63e62f1f89bf5a63366c6c27ecb13cd5ab5ce4fd (
plain)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
<!-- ----------------------------------------------------------------------- -->
<!-- -->
<!-- File : classic-contents.inc.php /_________/ -->
<!-- Authors : Joe | -->
<!-- Date : 06/2020 | -->
<!-- Info : Functions for contents on every page | -->
<!-- / | -->
<!-- \ / -->
<!-- \_____/ -->
<!-- -->
<!-- ----------------------------------------------------------------------- -->
<?php
function
jo_head($title) {
global $prefix;
?>
<html>
<head>
<title>GitJoe - Joe's git - <?php echo "$title"; ?></title>
<link rel="stylesheet" type="text/css" href="<?php echo $prefix; ?>css/site.css">
<meta charset="UTF-8">
</head>
<body>
<div class="fullpage">
<header>
<h1><a href="<?php echo $prefix; ?>index.php">GitJoe - Joe's git - <?php echo "$title"; ?></a></h1>
</header>
<?php
}
function
jo_bloat_head($title) {
global $prefix;
?>
<html>
<head>
<title> GitJoe - Joe's git - <?php echo "$title"; ?></title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo $prefix; ?>css/site.css">
<meta charset="UTF-8">
</head>
<body>
<div class="fullpage">
<header>
<h1><a href="<?php echo $prefix; ?>index.php">GitJoe - Joe's git - <?php echo "$title"; ?></a></h1>
</header>
<?php
}
function
jo_sidebar() {
global $prefix;
?>
<div class="sidebar">
<ul>
<li><a href="<?php echo $prefix; ?>jozan/">jozan</a></li>
<li><a href="<?php echo $prefix; ?>salad/">salad</a></li>
<li><a href="<?php echo $prefix; ?>salad-joe/">salad-joe</a></li>
<hr>
<li><a href="https://jozanofastora.xyz/">Joe's dev blog</a></li>
</ul>
</div>
<?php
}
function
jo_footer() {
global $prefix;
?>
<footer>
<p>
Copyright © 2020-2021, Joe -
see <a href="<?php echo $prefix; ?>license.php">LICENSE</a> -
this website does not use cookies
</p>
</footer>
</div>
</body>
</html>
<?php
}
?>
|