diff options
| author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-07 18:32:04 +0200 | 
|---|---|---|
| committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-07 18:32:04 +0200 | 
| commit | d10f28d80f6f8c1d30ab77d453c371b510d272ce (patch) | |
| tree | 57689c3b63bcddf3d0248395d7de0d4718c20776 /inc | |
| parent | Update (diff) | |
| download | gitjoe-www-d10f28d80f6f8c1d30ab77d453c371b510d272ce.tar.gz gitjoe-www-d10f28d80f6f8c1d30ab77d453c371b510d272ce.tar.bz2 gitjoe-www-d10f28d80f6f8c1d30ab77d453c371b510d272ce.tar.xz gitjoe-www-d10f28d80f6f8c1d30ab77d453c371b510d272ce.tar.zst gitjoe-www-d10f28d80f6f8c1d30ab77d453c371b510d272ce.zip | |
Should work now
Diffstat (limited to '')
| -rw-r--r-- | inc/classic-contents.inc.php | 87 | 
1 files changed, 87 insertions, 0 deletions
| diff --git a/inc/classic-contents.inc.php b/inc/classic-contents.inc.php new file mode 100644 index 0000000..5986ac9 --- /dev/null +++ b/inc/classic-contents.inc.php @@ -0,0 +1,87 @@ +<!-- ----------------------------------------------------------------------- --> +<!--                                                                         --> +<!-- File     : classic-contents.inc.php                         /_________/ --> +<!-- Authors  : Joe                                                    |     --> +<!-- Date     : 06/2020                                                |     --> +<!-- Info     : Functions for contents on every page                   |     --> +<!--                                                           /       |     --> +<!--                                                           \       /     --> +<!--                                                            \_____/      --> +<!--                                                                         --> +<!-- ----------------------------------------------------------------------- --> + +<?php +include "org.inc.php"; + +function +jo_head($title) { +	global $prefix; +?> +	<html> +		<head> +			<title>GitJoe's - Joe's git - <?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">Jozan</a></li> +			<li><a href="<?php echo $prefix; ?>index.php">salad</a></li> +			<hr> +			<li><a href="https://jozanleclerc.xyz/" target="_blank">JozanLeClerc.xyz</a></li> +		</ul> +	</div> +<?php +} + +function +jo_footer() { +	global $prefix; +?> +	<footer> +		<p> +			Copyright © 2020, Joe - +			see <a href="<?php echo $prefix; ?>license.php">LICENSE</a> - +			we do not use cookies +		</p> +	</footer> +			</div> +		</body> +	</html> +<?php +} +?> | 
