From d064f7a60951c0278b41541953556d835a849b24 Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Tue, 10 May 2011 16:45:10 -0700 Subject: Initial template rolling --- htdocs/css/main.css | 36 ++++++++++++++++++++++++++++++++++++ htdocs/images/headerbg.jpg | Bin 0 -> 35898 bytes htdocs/images/logo.png | Bin 0 -> 6528 bytes htdocs/index.php | 19 +++++++++++++++++++ htdocs/src/config.inc.php | 25 +++++++++++++++++++++++++ htdocs/src/footer.inc.php | 8 ++++++++ htdocs/src/header.inc.php | 31 +++++++++++++++++++++++++++++++ 7 files changed, 119 insertions(+) create mode 100644 htdocs/css/main.css create mode 100644 htdocs/images/headerbg.jpg create mode 100644 htdocs/images/logo.png create mode 100644 htdocs/src/footer.inc.php create mode 100644 htdocs/src/header.inc.php (limited to 'htdocs') 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 new file mode 100644 index 0000000..8fc04a9 Binary files /dev/null and b/htdocs/images/headerbg.jpg differ diff --git a/htdocs/images/logo.png b/htdocs/images/logo.png new file mode 100644 index 0000000..ed154c0 Binary files /dev/null and b/htdocs/images/logo.png differ 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 @@ + + * + */ + +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 @@ + + * + */ + +$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 @@ + + + + + + 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 @@ + + + + <?= $CONFIG['sitetitle'] ?> + + + + + + + + + +
+

What are you looking for?

+
+ +
-- cgit v1.2.3