summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--htdocs/css/main.css36
-rw-r--r--htdocs/images/headerbg.jpgbin0 -> 35898 bytes
-rw-r--r--htdocs/images/logo.pngbin0 -> 6528 bytes
-rw-r--r--htdocs/index.php19
-rw-r--r--htdocs/src/config.inc.php25
-rw-r--r--htdocs/src/footer.inc.php8
-rw-r--r--htdocs/src/header.inc.php31
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
new file mode 100644
index 0000000..8fc04a9
--- /dev/null
+++ b/htdocs/images/headerbg.jpg
Binary files differ
diff --git a/htdocs/images/logo.png b/htdocs/images/logo.png
new file mode 100644
index 0000000..ed154c0
--- /dev/null
+++ b/htdocs/images/logo.png
Binary files 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 @@
+<?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 &copy; 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">