/
template.php
66 lines (54 loc) · 1.72 KB
/
template.php
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
<?php if(!defined('IN_GS')){ die('you cannot load this page directly.'); }
/****************************************************
*
* @File: template.php
* @Package: GetSimple
* @Action: Cardinal theme for GetSimple CMS
*
*****************************************************/
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!-- Site Title -->
<title><?php get_page_clean_title(); ?> < <?php get_site_name(); ?></title>
<?php get_header(); ?>
<link rel="stylesheet" type="text/css" href="<?php get_theme_url(); ?>/style.css" media="all" />
</head>
<body id="<?php get_page_slug(); ?>" >
<div id="wrapper">
<div id="header">
<ul id="nav">
<?php get_navigation(return_page_slug()); ?>
</ul>
<span class="logo2"><?php get_site_name(); ?></span>
<a class="logo" href="<?php get_site_url(); ?>"><?php get_site_name(); ?></a>
</div><!-- end header -->
<div id="content">
<h1><?php get_page_title(); ?></h1>
<div id="page-content">
<div class="page-text">
<?php get_page_content(); ?>
<p class="page-meta">Published on <span><?php get_page_date('F jS, Y'); ?></span></p>
</div>
</div>
</div>
<div id="sidebar">
<div class="section">
<?php get_component('sidebar'); ?>
<?php // get_snippet('sidebar'); ?>
</div>
<div class="section credits">
<p><?php echo date('Y'); ?> - <strong><?php get_site_name(); ?></strong></p>
<p>
Cardinal Theme by <a href="http://www.cagintranet.com" >Cagintranet</a><br />
<?php get_site_credits(); ?>
</p>
</div>
</div>
<div class="clear"></div>
<?php get_footer(); ?>
</div><!-- end wrapper -->
</body>
</html>