diff options
| author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-06-27 19:10:09 +0200 | 
|---|---|---|
| committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-06-27 19:10:09 +0200 | 
| commit | 85b4e3dc56fcec1c751858f70d17f4d4e483e1bf (patch) | |
| tree | dfafd7e20c4e5487d2ed5f369fc199144cc6c75d /c | |
| parent | Added the projects welcome page (diff) | |
| download | joe-www-85b4e3dc56fcec1c751858f70d17f4d4e483e1bf.tar.gz joe-www-85b4e3dc56fcec1c751858f70d17f4d4e483e1bf.tar.bz2 joe-www-85b4e3dc56fcec1c751858f70d17f4d4e483e1bf.tar.xz joe-www-85b4e3dc56fcec1c751858f70d17f4d4e483e1bf.tar.zst joe-www-85b4e3dc56fcec1c751858f70d17f4d4e483e1bf.zip | |
Project restructure, subdir content inclusion
Diffstat (limited to '')
| -rw-r--r-- | c.php | 25 | ||||
| -rw-r--r-- | css/site.css | 12 | 
2 files changed, 37 insertions, 0 deletions
| @@ -0,0 +1,25 @@ +<!-- ----------------------------------------------------------------------- --> +<!--                                                                         --> +<!-- File     : c.php                                            /_________/ --> +<!-- Authors  : Joe                                                    |     --> +<!-- Date     : 06/2020                                                |     --> +<!-- Info     : The C welcome page                                     |     --> +<!--                                                           /       |     --> +<!--                                                           \       /     --> +<!--                                                            \_____/      --> +<!--                                                                         --> +<!-- ----------------------------------------------------------------------- --> + +<?php +$prefix = "./"; +$curr_dir = basename(getcwd()); +if ($curr_dir != "jozan" && $curr_dir != "jozanleclerc.xyz") { +	$prefix = "../"; +} +?> +<?php include $prefix."inc/classic-contents.inc.php"; ?> +<?php jo_head("C"); ?> +<?php jo_sidebar(); ?> +<div class="body-contents"> +</div> +<?php jo_footer(); ?> diff --git a/css/site.css b/css/site.css index 2632e1e..95f37fc 100644 --- a/css/site.css +++ b/css/site.css @@ -1,3 +1,15 @@ +/* ************************************************************************** */ +/*                                                                            */ +/*   File     : classic-contents.inc.php                         /_________/  */ +/*   Authors  : Joe                                                    |      */ +/*   Date     : 06/2020                                                |      */ +/*   Info     : Functions for contents on every page                   |      */ +/*                                                             /       |      */ +/*                                                             \       /      */ +/*                                                              \_____/       */ +/*                                                                            */ +/* ************************************************************************** */ +  body {  	margin: 0 auto;  	width: 100%; | 
