diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2011-05-10 16:45:10 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net ; true> | 2011-05-10 16:45:10 -0700 |
commit | d064f7a60951c0278b41541953556d835a849b24 (patch) | |
tree | f372d64d82dd423b560ddde879394bd79bdc8fe0 /htdocs | |
parent | e3f508effca38396aa29eab137741e062344f4bb (diff) |
Initial template rolling
Diffstat (limited to 'htdocs')
-rw-r--r-- | htdocs/css/main.css | 36 | ||||
-rw-r--r-- | htdocs/images/headerbg.jpg | bin | 0 -> 35898 bytes | |||
-rw-r--r-- | htdocs/images/logo.png | bin | 0 -> 6528 bytes | |||
-rw-r--r-- | htdocs/index.php | 19 | ||||
-rw-r--r-- | htdocs/src/config.inc.php | 25 | ||||
-rw-r--r-- | htdocs/src/footer.inc.php | 8 | ||||
-rw-r--r-- | htdocs/src/header.inc.php | 31 |
7 files changed, 119 insertions, 0 deletions
diff --git a/htdocs/css/main.css b/htdocs/css/main.css new file mode 100644 index 0000000..6f5349c --- /dev/null +++ b/htdocs/css/main.css @@ -0,0 +1,36 @@ +body { + background: #E8E8E8; + margin: 7px 0 0 0; + padding: 0; +} + +#nav, #buttonblock, #content, #footer { + width: 50%; + margin: 0 auto 0 auto; + text-transform: uppercase; +} + +#header { + background: url('../images/headerbg.jpg') repeat-x center top; + text-align: center; + height: 191px; + padding-top: 10px; +} + +#buttonblock { + border-top: solid 1px black; + border-bottom: solid 1px black; + text-align: center; +} + +#content { + padding: 35px 0 35px 0; +} + +#footer { + border-top: solid 1px black; + padding-top: 10px; + text-transform: uppercase; + +} + diff --git a/htdocs/images/headerbg.jpg b/htdocs/images/headerbg.jpg Binary files differnew file mode 100644 index 0000000..8fc04a9 --- /dev/null +++ b/htdocs/images/headerbg.jpg diff --git a/htdocs/images/logo.png b/htdocs/images/logo.png Binary files differnew file mode 100644 index 0000000..ed154c0 --- /dev/null +++ b/htdocs/images/logo.png diff --git a/htdocs/index.php b/htdocs/index.php index e69de29..4777b05 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -0,0 +1,19 @@ +<?php + +/* Foursquare Community Site + * + * Copyright (C) 2011 Foursquare Church. + * + * Developers: Jesse Morgan <jmorgan@foursquarestaff.com> + * + */ + +require_once "src/config.inc.php"; + +require_once "src/header.inc.php"; + +echo "Content"; + +require_once "src/footer.inc.php"; + +?> diff --git a/htdocs/src/config.inc.php b/htdocs/src/config.inc.php index e69de29..e93eb43 100644 --- a/htdocs/src/config.inc.php +++ b/htdocs/src/config.inc.php @@ -0,0 +1,25 @@ +<?php + +/* Foursquare Community Site + * + * Copyright (C) 2011 Foursquare Church. + * + * Developers: Jesse Morgan <jmorgan@foursquarestaff.com> + * + */ + +$CONFIG = array( + // Database Information + 'dbhost' => '127.0.0.1', + 'dbuser' => 'p4scommunity', + 'dbpass' => '', + 'dbname' => 'p4scommunity', + + // Site Information + 'sitetitle' => 'Foursquare Community', + 'urlroot' => 'http://localhost/~jesse/p4s/community/htdocs', + + +); + +?> diff --git a/htdocs/src/footer.inc.php b/htdocs/src/footer.inc.php new file mode 100644 index 0000000..83c48a5 --- /dev/null +++ b/htdocs/src/footer.inc.php @@ -0,0 +1,8 @@ +</div> + +<div id="footer"> +Copyright © 2011 <a href="http://myfoursquarechurch.com">Foursquare Church</a>. +</div> + +</body> +</html> diff --git a/htdocs/src/header.inc.php b/htdocs/src/header.inc.php new file mode 100644 index 0000000..f2966e4 --- /dev/null +++ b/htdocs/src/header.inc.php @@ -0,0 +1,31 @@ +<!DOCTYPE html> +<html> +<head> + <title><?= $CONFIG['sitetitle'] ?></title> + + <link rel="stylesheet" href="<?= $CONFIG['urlroot'] ?>/css/main.css" /> + +</head> +<body> +<div id="header"> + <p><img src="<?= $CONFIG['urlroot'] ?>/images/logo.png" + alt="<?= $CONFIG['sitetitle'] ?>" /></p> + + <div id="about"> + Foursquare community is a place... + </div> +</div> + +<div id="nav"> + <ul> + <li><a href="" class="button">Create Post</a></li> + <li><a href="" class="button">Safety Tips</a></li> + <li><a href="" class="button">Contact Us</a></li> + </ul> +</div> + +<div id="buttonblock"> + <p>What are you looking for?</p> +</div> + +<div id="content"> |