<?php
/***************************************************************/
/*	Call Custom Page Variables							   	   */
/***************************************************************/

require CWZ_FILES ."/inc/page-constants.php"; // Group Slider Gallery


/***************************************************************/
/*	Call Custom Page Variables *END*					   	   */
/***************************************************************/
?>

<?php if($DYN_hidecontent!="yes") { ?>

<div class="clear"></div>
</div><!-- /content-wrapper-inner -->
</div><!-- /content-wrapper -->

<?php
/***************************************************************/
/*	Call Twiiter         									   */
/***************************************************************/

if($DYN_twitter=="pagebot") { ?>

<div class="twitter-wrap bottom">

	<?php require CWZ_FILES .'/inc/twitter.php'; // Call Twitter Template ?>

</div>

<?php }

/***************************************************************/
/*	Call Twiiter *END*    									   */
/***************************************************************/
?>



<?php
/***************************************************************/
/*	Group Slider Gallery									   */
/***************************************************************/

if($DYN_show_slider=="groupslider" && $DYN_groupsliderpos=="below") { ?>

<div class="gallery-slider bottom">

	<?php require CWZ_FILES ."/inc/gallery-groupslider.php"; // Group Slider Gallery ?>

</div>

<?php } 

/***************************************************************/
/*	Group Slider Gallery *END*   							   */
/***************************************************************/


/***************************************************************/
/*	Grid Gallery										   	   */
/***************************************************************/
	

if($DYN_show_slider=="gridgallery" && $DYN_groupsliderpos=="below") { ?>

<div class="gallerywrap grid-gallery bottom">

	<?php require CWZ_FILES ."/inc/gallery-grid.php"; // Group Slider Gallery ?>

</div>

<?php }

/***************************************************************/
/*	Grid Gallery *END*										   */
/***************************************************************/


} // Hide Content *END* 

?>


<div class="clear"></div>
</div><!-- /inner-page -->
</div><!-- /page -->
<div class="push"></div>
</div><!-- /wrapper -->
<div class="clear"></div>
<div id="footer-header"></div>
	<div id="footer-wrap" class="clearfix">
		<div id="footer-wrap-inner" class="clearfix">
			<div id="footer" class="clearfix">
<!-- I would like to give a great thankyou to WordPress for their amazing platform -->

<div class="panel-wrap">
<?php 

if(get_option('ftdrpwidget_enable')=="enable") { // Check to see if Droppanel / Footer widgets are enabled ?>
<ul>
	<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer Column 1')) : endif; ?>
</ul>
<?php } else {

$thiscol="BotFirst";

if(get_option($thiscol.'select')) {
	if(get_option($thiscol.'select')==$thiscol."-1") { ?>
		<?php custom_html(get_option($thiscol.'htmltitle'),do_shortcode(get_option($thiscol.'content'))); ?>
	<?php } elseif(get_option($thiscol.'select')==$thiscol."-2") { ?>
		<?php contact_form($thiscol.'',get_option($thiscol.'contacttitle'),get_option($thiscol.'contactdesc'),get_option($thiscol.'contactemail'),get_option($thiscol.'contactmsg'));	?>
	<?php } elseif(get_option($thiscol.'select')==$thiscol."-3") { ?>
		<?php	pages_list(get_option($thiscol.'pagestitle'),get_option($thiscol.'pagesexc')); ?>
	<?php } elseif(get_option($thiscol.'select')==$thiscol."-4") { ?>
		<?php	recent_posts(get_option($thiscol.'recenttitle'),get_option($thiscol.'recentcat'),get_option($thiscol.'recentnum'));	?>
	<?php } elseif(get_option($thiscol.'select')==$thiscol."-5") { ?>
		<?php	categories(get_option($thiscol.'cattitle'),get_option($thiscol.'cat'));	?>
	<?php } elseif(get_option($thiscol.'select')==$thiscol."-6") { ?>
		<?php	meta_information(get_option($thiscol.'metatitle'),get_option($thiscol.'meta1'),get_option($thiscol.'meta2'),get_option($thiscol.'meta3'),get_option($thiscol.'meta4'),get_option($thiscol.'meta5')); ?>	
	<?php }

}

}

?>
</div>
<div class="panel-wrap">
<?php 

if(get_option('ftdrpwidget_enable')=="enable") { // Check to see if Droppanel / Footer widgets are enabled ?>
<ul>
	<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer Column 2')) : endif; ?>
</ul>
<?php } else {

$thiscol="BotSecond";

if(get_option($thiscol.'select')) {
	if(get_option($thiscol.'select')==$thiscol."-1") { ?>
		<?php custom_html(get_option($thiscol.'htmltitle'),do_shortcode(get_option($thiscol.'content'))); ?>
	<?php } elseif(get_option($thiscol.'select')==$thiscol."-2") { ?>
		<?php contact_form($thiscol.'',get_option($thiscol.'contacttitle'),get_option($thiscol.'contactdesc'),get_option($thiscol.'contactemail'),get_option($thiscol.'contactmsg'));	?>
	<?php } elseif(get_option($thiscol.'select')==$thiscol."-3") { ?>
		<?php	pages_list(get_option($thiscol.'pagestitle'),get_option($thiscol.'pagesexc')); ?>
	<?php } elseif(get_option($thiscol.'select')==$thiscol."-4") { ?>
		<?php	recent_posts(get_option($thiscol.'recenttitle'),get_option($thiscol.'recentcat'),get_option($thiscol.'recentnum'));	?>
  	<?php } elseif(get_option($thiscol.'select')==$thiscol."-5") { ?>
		<?php	categories(get_option($thiscol.'cattitle'),get_option($thiscol.'cat'));	?>
	<?php } elseif(get_option($thiscol.'select')==$thiscol."-6") { ?>
		<?php	meta_information(get_option($thiscol.'metatitle'),get_option($thiscol.'meta1'),get_option($thiscol.'meta2'),get_option($thiscol.'meta3'),get_option($thiscol.'meta4'),get_option($thiscol.'meta5')); ?>	
	<?php }

}

}

?>
</div>
<div class="panel-wrap">

<?php 

if(get_option('ftdrpwidget_enable')=="enable") { // Check to see if Droppanel / Footer widgets are enabled ?>
<ul>
	<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer Column 3')) : endif; ?>
</ul>
<?php } else {

$thiscol="BotThird";
 
if(get_option($thiscol.'select')) {
	if(get_option($thiscol.'select')==$thiscol."-1") { ?>
		<?php custom_html(get_option($thiscol.'htmltitle'),do_shortcode(get_option($thiscol.'content'))); ?>
	<?php } elseif(get_option($thiscol.'select')==$thiscol."-2") { ?>
		<?php	contact_form($thiscol.'',get_option($thiscol.'contacttitle'),get_option($thiscol.'contactdesc'),get_option($thiscol.'contactemail'),get_option($thiscol.'contactmsg'));	?>
	<?php } elseif(get_option($thiscol.'select')==$thiscol."-3") { ?>
		<?php	pages_list(get_option($thiscol.'pagestitle'),get_option($thiscol.'pagesexc')); ?>
	<?php } elseif(get_option($thiscol.'select')==$thiscol."-4") { ?>
		<?php	recent_posts(get_option($thiscol.'recenttitle'),get_option($thiscol.'recentcat'),get_option($thiscol.'recentnum'));	?>
	<?php } elseif(get_option($thiscol.'select')==$thiscol."-5") { ?>
		<?php	categories(get_option($thiscol.'cattitle'),get_option($thiscol.'cat'));	?>
	<?php } elseif(get_option($thiscol.'select')==$thiscol."-6") { ?>
		<?php	meta_information(get_option($thiscol.'metatitle'),get_option($thiscol.'meta1'),get_option($thiscol.'meta2'),get_option($thiscol.'meta3'),get_option($thiscol.'meta4'),get_option($thiscol.'meta5')); ?>	
	<?php }

}

}
?>
</div>
<div class="panel-wrap last">
<?php 

if(get_option('ftdrpwidget_enable')=="enable") { // Check to see if Droppanel / Footer widgets are enabled ?>
<ul>
	<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer Column 4')) : endif; ?>
</ul>
<?php } else {

$thiscol="BotFourth";

if(get_option($thiscol.'select')) {
	if(get_option($thiscol.'select')==$thiscol."-1") { ?>
		<?php custom_html(get_option($thiscol.'htmltitle'),do_shortcode(get_option($thiscol.'content'))); ?>
	<?php } elseif(get_option($thiscol.'select')==$thiscol."-2") { ?>
		<?php	contact_form($thiscol.'',get_option($thiscol.'contacttitle'),get_option($thiscol.'contactdesc'),get_option($thiscol.'contactemail'),get_option($thiscol.'contactmsg'));	?>
	<?php } elseif(get_option($thiscol.'select')==$thiscol."-3") { ?>
		<?php	pages_list(get_option($thiscol.'pagestitle'),get_option($thiscol.'pagesexc')); ?>
	<?php } elseif(get_option($thiscol.'select')==$thiscol."-4") { ?>
		<?php	recent_posts(get_option($thiscol.'recenttitle'),get_option($thiscol.'recentcat'),get_option($thiscol.'recentnum'));	?>
 	<?php } elseif(get_option($thiscol.'select')==$thiscol."-5") { ?>
		<?php	categories(get_option($thiscol.'cattitle'),get_option($thiscol.'cat'));	?>
	<?php } elseif(get_option($thiscol.'select')==$thiscol."-6") { ?>
		<?php	meta_information(get_option($thiscol.'metatitle'),get_option($thiscol.'meta1'),get_option($thiscol.'meta2'),get_option($thiscol.'meta3'),get_option($thiscol.'meta4'),get_option($thiscol.'meta5')); ?>	
	<?php }

} else {
	
}
global $DYN_imgheight;
}
?>
</div>
			</div><!-- / footer -->
		</div><!-- / footer-wrap-inner -->
	</div><!-- / footer-wrap -->
    
<?php if(get_option('lowerfooter')!="disable") {  // Check for enabled lower footer ?>
<div class="lowerfooter-wrap clearfix">
	<div class="lowerfooter">
		<div class="lowfooterleft"><?php if(get_option('lowfooterleft')) { echo get_option('lowfooterleft'); } else { echo "&copy; ". date("Y") ." ".get_option("blogname"); } ?></div>
		<div class="lowfooterright"><?php if(get_option('lowfooterright')) { echo get_option('lowfooterright'); } else { echo "<a href=\"http://themeforest.net/item/dynamix-premium-wordpress-theme/113901?ref=cwz000\" title=\"Buy Dynamix Theme\" target=\"_blank\">DynamiX Theme</a>"; } ?></div>
    </div><!-- / lowerfooter -->		
</div><!-- / lowerfooter-wrap -->
<?php } ?>

<!-- Another Great Website Design by Creative Workz - http://www.creativeworkz.co.uk -->



<?php wp_footer(); ?>

<script type="text/javascript"> 

<!--
jQuery(document).ready(function() {
Cufon.now();
jQuery('.shortcodeimg').append('<div class="hoverimg" style="height:100%"></div>');	
jQuery('.shortcodevid').append('<div class="hovervid" style="height:100%"></div>');	
jQuery('.post-grid.archive .galleryimg,.accordion-gallery .galleryimg').append('<div class="hoverimg" style="height:100%"></div>');	
jQuery('.post-grid.archive .galleryvid,.accordion-gallery .galleryvid').append('<div class="hovervid" style="height:100%"></div>');	
jQuery('.archiveimg-wrap .galleryimg').append('<div class="hoverimg" style="height:100%"></div>');	
jQuery('.archiveimg-wrap .galleryvid').append('<div class="hovervid" style="height:100%"></div>');	
jQuery('.group-slider .galleryimg, .grid-gallery .galleryimg').append('<div class="hoverimg" style="height:inherit"></div>');	
jQuery('.group-slider .galleryvid, .grid-gallery .galleryvid').append('<div class="hovervid" style="height:inherit"></div>');		
//-->

<?php $a_browser_data = browser_detection('full'); // Detect Browser
if($a_browser_data[1]=="6.0" && $a_browser_data[0]=="ie") { // If IE6 - do nothing ?> 
<?php } else { ?>

			jQuery("a[rel^='prettyPhoto']").prettyPhoto({
			keyboard_shortcuts: false,
			theme: 'light_rounded'
			});

	

<?php } ?>
});


jQuery(window).load(function() {

	jQuery("img.reflect").reflect({height:35,opacity:0.2});
	
	
	if(navigator.appName != "Microsoft Internet Explorer") {
	jQuery("#item-body img.avatar, #members-directory-form img.avatar, #item-header-avatar img.avatar, .avatar-block img.avatar").reflect({height:35,opacity:0.2});
	}

});
</script>
</body>
</html>