web/wp-content/themes/newsworthy/footer.php
changeset 1 0d28b7c10758
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web/wp-content/themes/newsworthy/footer.php	Fri Mar 12 13:29:04 2010 +0000
@@ -0,0 +1,64 @@
+<br /><br />
+<div class="clearboth">&nbsp;</div>
+</div>
+</div>
+	<div class="footer">
+			<div class="footnav"><a class="first" href="<?php echo get_option('home'); ?>/">Home</a>
+	<?php
+$categories = wp_list_categories('depth=1&title_li=&echo=0');
+		$categories2 = preg_split('/(<li[^>]*>)/' ,$categories);
+foreach($categories2 as $var){
+echo str_replace('</li>', '', $var);
+} ?></div>
+			<div class="footnav">
+				<div class="threehundred left">
+<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("Footer One") ) : ?>
+					<h3>About this template</h3>
+					<p><img class="left" src="<?php bloginfo('template_url'); ?>/images/boat.jpg" alt="About Me" />Newsworthy is the 16th template from <a href="#">DemusDesign</a>. It's a magazine-style template built on a 6-column grid that's perfect as a news site or any site with a lot of information. If you use the template, please retain the link back to my site in the footer. Thanks.</p>
+<?php endif; ?>
+				</div>
+				<div class="linksleft">
+<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("Footer Two") ) : ?>
+					<h3>Recent Posts</h3>
+					<ul>
+						<?php wp_get_archives('type=postbypost&limit=5'); ?>
+					</ul>
+<?php endif; ?>
+				</div>
+				<div class="linksleft">
+<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("Footer Three") ) : ?>
+					<h3>Archives</h3>
+					<ul>
+						<?php wp_get_archives('limit=5'); ?>
+					</ul>
+<?php endif; ?>
+				</div>
+				<div class="linksleft">
+<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("Footer Four") ) : ?>
+					<h3>Pages</h3>
+					<ul>
+						<?php wp_list_pages('title_li=&depth=1'); ?>
+					</ul>
+<?php endif; ?>
+				</div>
+				<div class="linksleft">
+<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("Footer Five") ) : ?>
+					<h3>Meta</h3>
+					<ul>
+						<?php wp_register(); ?>
+					<li><?php wp_loginout(); ?></li>
+					<li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
+					<li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
+					<li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
+					<?php wp_meta(); ?>
+					</ul>
+<?php endif; ?>
+				</div>
+				<div class="clearboth">&nbsp;</div>
+			</div>
+			<p>&copy; <?php echo date('Y'); ?> <?php bloginfo('name'); ?> | Template by <a href="http://demusdesign.com">DemusDesign</a> | Theme by <a href="http://www.themelab.com" title="Free WordPress Themes">Theme Lab</a> and <a href="http://www.webhostingreport.com/">Hosting</a><img src="<?php bloginfo('template_url'); ?>/images/bullet.gif" alt="" /><img src="<?php bloginfo('template_url'); ?>/images/bullet_light.gif" alt="" /></p>
+	</div>
+</div>
+<?php wp_footer(); ?>
+</body>
+</html>
\ No newline at end of file