diff --git a/index.php b/index.php index bafe4c4..9cc71ff 100755 --- a/index.php +++ b/index.php @@ -1,15 +1,7 @@ - - require_once 'site-header.php'; +
+ asd +
- - - echo '
'; - echo ''; - echo '
'; - - - - require_once 'site-footer.php'; - -?> + \ No newline at end of file diff --git a/page-errors.php b/page-errors.php index dfc1ad3..7943ee3 100755 --- a/page-errors.php +++ b/page-errors.php @@ -1,19 +1,11 @@ +
+ asd +
- - echo '
'; - echo $get_error; - echo '
'; - - - - require_once 'site-footer.php'; - -?> \ No newline at end of file + \ No newline at end of file diff --git a/site-config.php b/site-config.php index 258e684..ccc8ba9 100755 --- a/site-config.php +++ b/site-config.php @@ -4,7 +4,7 @@ $site_protocol = 'https'; $site_domain = null; $site_subdomain = null; - $site_url = $site_protocol.'://'.(empty($site_subdomain) ? null : $site_subdomain.'.') . $site_domain; + $site_url = (empty($site_domain) ? null : $site_protocol.'://'.(empty($site_subdomain) ? null : $site_subdomain.'.') . $site_domain); $site_url_current = sprintf( '%s://%s/%s', isset($_SERVER['HTTPS']) ? 'https' : 'http', diff --git a/site-footer.php b/site-footer.php index ce0ff7e..0cd42f2 100755 --- a/site-footer.php +++ b/site-footer.php @@ -1,17 +1,5 @@ - + - echo ''; - echo ''; - - - - echo ''; - echo ''; - - - - #echo ''; - #echo ''; - #echo (!file_exists('js/pages/'.str_replace('.php', '', $filename).'.js') ? null : ''); - -?> \ No newline at end of file + + \ No newline at end of file diff --git a/site-header.php b/site-header.php index 9292aa5..f204acf 100755 --- a/site-header.php +++ b/site-header.php @@ -1,67 +1,59 @@ - + - require_once 'site-settings.php'; + + <?php echo (empty($site_title) ? 'Template' : $site_title); ?> - echo ''; - echo ''; + + - echo ''; - echo ''; - echo (empty($site_title) ? 'Template' : $site_title); - echo ''; + + + - echo ''; - echo ''; + + - echo ''; - echo (count($robots) == 0 ? null : ''); - echo (count($google) == 0 ? null : ''); - echo ''; + + + + + + - echo ''; - echo ''; + + + + + + + - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; + + + + + '); ?> - if(!empty($metadata_image)) { - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - } + - echo ''; - echo ''; - echo ''; - echo ''; - echo (empty($metadata_image) ? null : ''); + + - echo ''; - echo ''; - echo (file_exists('manifest.json') ? '' : null); + + '); ?> - echo ''; - echo (empty($site_url_cdn) ? null : ''); - - echo ''; - echo (!file_exists('css/pages/'.str_replace('.php', '.css', $filename)) ? null : ''); - echo ''; - echo ''; - - echo ''; + + '); ?> + + '); + ?> + - echo '
'; - echo '
'; + -?> \ No newline at end of file +
+