Initial commit Change-Id: I0000000000000000000000000000000000000000

This commit is contained in:
2012-02-05 16:40:26 -05:00
commit 70806096b6
73 changed files with 22457 additions and 0 deletions

29
classes/footer.php Executable file
View File

@@ -0,0 +1,29 @@
<?php
require_once('classes/conf.php');
require_once('classes/content.php');
$column2 = new content(DB_HOST, DB_USER, DB_PASSWORD, DB_DATABASE, "column2");
$title = $column2->get_title();
$column2 = "<h2>$title</h2></br>".$column2->get_body();
echo <<< LAYOUT
<!-- Column 1 end -->
</div>
<div class="col2">
<!-- Column 2 start -->
$column2
<!-- Column 2 end -->
</div>
</div>
</div>
LAYOUT;
$name = COMPANY_NAME;
$year = date("Y");
echo <<< FOOTER
<div id="footer">&copy; $name $year</div>
FOOTER;
?>
</body>
</html>