aboutsummaryrefslogtreecommitdiffstats
path: root/inc/classic-contents.inc.php
blob: 4f3375c90f7988466d8130831f65fe022c3eb7bf (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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!--
 * ========================
 * =====    ===============
 * ======  ================
 * ======  ================
 * ======  ====   ====   ==
 * ======  ===     ==  =  =
 * ======  ===  =  ==     =
 * =  ===  ===  =  ==  ====
 * =  ===  ===  =  ==  =  =
 * ==     =====   ====   ==
 * ========================
 *
 * jozanofastora.xyz: inc/classic-contents.php
 * Fri Dec 10 19:33:14 CET 2021
 * Joe
 *
 * Functions for contents on every page
-->

<?php
include "org.inc.php";

function
jo_head($title) {
	global $prefix;
?>
	<html>
		<head>
			<title>Joe's own website - <?php echo "$title"; ?></title>
			<link rel="stylesheet" type="text/css" href="<?php echo $prefix; ?>css/site.css">
			<meta charset="UTF-8">
			<?php jo_org_inc(); ?>
		</head>
		<body>
			<div class="fullpage">
				<header>
					<h1><a href="<?php echo $prefix; ?>index.php">Joe's dev blog - <?php echo "$title"; ?></a></h1>
				</header>
<?php
}

function
jo_bloat_head($title) {
	global $prefix;
?>
	<html>
		<head>
			<title>Joe's own website - <?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">
			<?php jo_org_inc(); ?>
		</head>
		<body>
			<div class="fullpage">
				<header>
					<h1><a href="<?php echo $prefix; ?>index.php">Joe's dev blog - <?php echo "$title"; ?></a></h1>
				</header>
<?php
}

function
jo_sidebar() {
	global $prefix;
?>

	<div class="sidebar">
		<ul>
			<li><a href="<?php echo $prefix; ?>index.php">Home</a></li>
			<li><a href="<?php echo $prefix; ?>c/">C</a></li>
			<li><a href="<?php echo $prefix; ?>">C++</a></li>
			<li><a href="<?php echo $prefix; ?>">Lisp</a></li>
			<li><a href="<?php echo $prefix; ?>">Assembly</a></li>
			<li><a href="<?php echo $prefix; ?>">UNIX</a></li>
			<li><a href="<?php echo $prefix; ?>">GNU Emacs</a></li>
			<li><a href="<?php echo $prefix; ?>">My school projects</a></li>
			<li><a href="<?php echo $prefix; ?>projects/">My projects</a></li>
			<li><a href="<?php echo $prefix; ?>">My C/C++ style</a></li>
			<li><a href="<?php echo $prefix; ?>links.php">Links</a></li>
			<hr>
			<li><a href="https://git.jozanofastora.xyz/">GitJoe</a></li>
		</ul>
	</div>
<?php
}

function
jo_footer() {
	global $prefix;
?>
	<footer>
		<p>
			Copyright &copy; 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
}
?>