Permalink
Browse files

button-down is cool

  • Loading branch information...
0 parents commit 7bbe98fd900b0e2e088bdb2fc74df68b0d551b6d @nickcottrell committed May 6, 2012
@@ -0,0 +1,7 @@
+<?layoutBttm()?>
+
+<!--DON'T FORGET ANALYTICS CODE-->
+<!--DON'T FORGET ANALYTICS CODE-->
+<!--DON'T FORGET ANALYTICS CODE-->
+</body>
+</html>
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8" />
+
+<title><?pageName()?></title>
+
+<!--[if lt IE 9]>
+<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
+<![endif]-->
+
+<link href="/css/base.css" rel="stylesheet" type="text/css" />
+</head>
+<?layoutTop()?>
@@ -0,0 +1,7 @@
+<nav>
+ <ul id="nav1">
+ <li><a href="/">home</a></li>
+ <li><a href="/about/">about</a></li>
+ <li><a href="/contact/">contact</a></li>
+ </ul>
+</nav>
@@ -0,0 +1,3 @@
+<footer>
+ <p><a href="http://nickcottrell.info">nickcottrell.info</a></p>
+</footer>
@@ -0,0 +1,4 @@
+</div><!--end #content-->
+</div><!--end #wrap-->
+
+<?navbttm()?>
@@ -0,0 +1,10 @@
+<body>
+<div id="wrap">
+
+<header>
+ <h1>Button Down.</h1>
+</header>
+
+<?navtop()?>
+
+<div id="content">
@@ -0,0 +1,41 @@
+<?
+$_ENV['pageNameGLOB'] = $pageName;
+$_ENV['layoutNameGLOB'] = $layoutName;
+
+function top() {
+ include '_includes/header.textile';
+}
+
+function bttm() {
+ include '_includes/footer.textile';
+}
+
+function layoutTop() {
+ $var = $_ENV['layoutNameGLOB'];
+ include "_layouts/$var/top.textile";
+}
+
+function layoutBttm() {
+ $var = $_ENV['layoutNameGLOB'];
+ include "_layouts/$var/bttm.textile";
+}
+
+function navtop() {
+ include '_includes/nav.textile';
+}
+
+function navbttm() {
+ include '_includes/navfooter.textile';
+}
+
+function pathext() {
+ $var = $_SERVER['PATH_INFO'];
+ echo $var;
+}
+
+function pagename() {
+ $var = $_ENV['pageNameGLOB'];
+ echo $var;
+}
+
+?>
@@ -0,0 +1,19 @@
+<?//================================
+$pageName = "About";
+$layoutName = "default";
+
+//=================================
+$var = $_SERVER['DOCUMENT_ROOT'];
+include $var."/_thread.textile";
+//=================================?>
+
+<?top()?>
+
+<h2>About Page</h2>
+
+<p>Tattooed aliquip street art selvage, aute veniam echo park butcher retro PBR freegan biodiesel excepteur letterpress est. Etsy american apparel tattooed, eu pariatur letterpress vinyl tumblr bespoke fap echo park farm-to-table ennui post-ironic chillwave. Fap portland labore wes anderson wolf delectus. Non consectetur typewriter master cleanse eiusmod post-ironic, food truck echo park messenger bag eu seitan DIY butcher hella direct trade. Mlkshk fanny pack etsy cosby sweater dolor velit ea artisan four loko, consequat occupy viral Austin adipisicing pork belly. Vegan food truck blog whatever marfa, elit duis american apparel echo park sapiente cliche ethical selvage VHS veniam. Commodo pour-over minim, cupidatat bushwick incididunt irony narwhal cardigan eu fap.<p>
+
+<a href="/about/subject/">More about this subject</a>
+
+<?bttm()?>
+
@@ -0,0 +1,17 @@
+<?//================================
+$pageName = "About - Subject";
+$layoutName = "default";
+
+//=================================
+$var = $_SERVER['DOCUMENT_ROOT'];
+include $var."/_thread.textile";
+//=================================?>
+
+<?top()?>
+
+<h2>Subject</h2>
+
+<p>Food truck echo park messenger bag eu seitan DIY butcher hella direct trade. Mlkshk fanny pack etsy cosby sweater dolor velit ea artisan four loko, consequat occupy viral Austin adipisicing pork belly. Vegan food truck blog whatever marfa, elit duis american apparel echo park sapiente cliche ethical selvage VHS veniam. Commodo pour-over minim, cupidatat bushwick incididunt irony narwhal cardigan eu fap.<p>
+
+<?bttm()?>
+
@@ -0,0 +1,17 @@
+<?//================================
+$pageName = "Contact";
+$layoutName = "default";
+
+//=================================
+$var = $_SERVER['DOCUMENT_ROOT'];
+include $var."/_thread.textile";
+//=================================?>
+
+<?top()?>
+
+<h2>Contact</h2>
+
+<p><a href="##">email@test.com</a><p>
+
+<?bttm()?>
+
@@ -0,0 +1,27 @@
+body {
+ background-color:#C1E8FB;
+ margin:0;
+ padding:0;
+ width:100%;
+ height:100%;
+ font-family:"Helvetica", Arial, Sans-serif;
+}
+
+#wrap {
+ background-color:#fff;
+ min-height:500px;
+ width:50%;
+ padding:36px 25% 100px 5%;
+ margin:0;
+ -webkit-box-shadow: 0 0 24px #999;
+ -moz-box-shadow: 0 0 24px #999;
+ box-shadow: 0 0 24px #999;
+}
+
+footer {
+ min-height:100px;
+ width:100%;
+ background-color:#999;
+ filter:alpha(opacity=60); /* For IE8 and earlier */
+ padding:12px 25% 100px 5%;
+}
@@ -0,0 +1,18 @@
+<?//================================
+
+$pageName = "Home";
+$pathExt = null;
+$layoutName = "default";
+
+//=================================
+require '_thread.textile';
+//=================================?>
+
+<?top()?>
+
+<h2>Hello, there.</h2>
+
+<p>This is a super simple framework to create a very clean php site.</p>
+
+<?bttm()?>
+

0 comments on commit 7bbe98f

Please sign in to comment.