HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: /home/mmickelson/tfgarchive/wpblogtest1.old/wp-content/themes/rt_nexus_wp/footer.php
		<?php $option = get_option('nexus-options'); ?>
		
		<?php if($option['footer_enabled'] == 'true') { ?>
		
		<!-- Begin Footer -->
		
		<div id="footer">
			<div class="wrapper">
				<div id="mainmodules5" class="spacer w99">
					<div class="block full">
						<div class="">
							<div class="moduletable">
								<div class="module-surround">
									<div class="module-surround2"></div>
									<div class="module-surround3"></div>
									<div class="module-surround4"></div>
									<div class="module-surround5"></div>
									
									<!-- Begin Widget -->
									
									<?php if(is_active_sidebar('footer_1') || (get_posts('cat='.$option['footer_cat']) && $option['footer_cat'] != '-1')) { ?>
									
									<div class="fpb-large">
									
									<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer 1') ) : ?>
																		
										<?php query_posts('showposts=1&orderby='.$option['footer_order'].'&cat='.$option['footer_cat']) ?>
										<?php while (have_posts()) : the_post(); ?>
												
										<div <?php post_class(); ?>>
											
											<span class="highlight-bold"><?php the_title(); ?></span>
											
											<?php if($option['footer_content'] == 'content') { ?>
											
											<?php the_content(_r('(more...)')); ?>
											
											<?php } else { ?>
											
											<?php the_excerpt(); ?>
											
											<?php } ?>
											
										</div>
													
										<?php endwhile; ?>
												
									<?php endif; ?>
									
									</div>
									
									<?php } ?>
									
									<!-- End Widget -->
									
									<!-- Begin Widget -->
									
									<?php if(is_active_sidebar('footer_4') || ($option['footer_recent_enabled'] == 'true' && $option['footer_post_count'] != 0)) { ?>
									
									<div class="fpb-mini">
									
									<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer 4') ) : ?>
										
										<span class="highlight-bold"><?php _re('Recent Posts'); ?></span>
										<ul>
											<?php wp_get_archives('title_li=&type=postbypost&limit='.$option['footer_post_count']); ?>
										</ul>	
								
									<?php endif; ?>
									
									</div>
									
									<?php } ?>
									
									<!-- End Widget -->

									<!-- Begin Widget -->
									
									<?php if(is_active_sidebar('footer_3') || ($option['footer_modified_enabled'] == 'true' && $option['footer_post_count'] != 0)) { ?>
									
									<div class="fpb-mini">
									
									<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer 3') ) : ?>
									
										<span class="highlight-bold"><?php _re('Last Modified'); ?></span>
											
										<ul>
												
										<?php query_posts('showposts='.$option['footer_post_count'].'&orderby=modified&order=DESC') ?>
										<?php while (have_posts()) : the_post(); ?>									
				
											<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
				
										<?php endwhile; ?>
											
										</ul>
										
									<?php endif; ?>
									
									</div>
									
									<?php } ?>
									
									<!-- End Widget -->
									
									<!-- Begin Widget -->
									
									<?php if(is_active_sidebar('footer_2') || ($option['footer_popular_enabled'] == 'true' && $option['footer_post_count'] != 0)) { ?>
									
									<div class="fpb-mini">
									
									<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer 2') ) : ?>
										
										<?php $wp_ver = get_bloginfo('version'); ?>

										<span class="highlight-bold"><?php _re('Popular Posts'); ?></span>
											
										<?php if($wp_ver >= 2.9) { ?>
											
											<ul>
											
												<?php query_posts('showposts='.$option['footer_post_count'].'&orderby=comment_count&order=DESC') ?>
												<?php while (have_posts()) : the_post(); ?>									
				
												<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
				
												<?php endwhile; ?>
												
											</ul>
											
										<?php } else { ?>
											
											<ul>
												<?php $result = $wpdb->get_results("SELECT comment_count,ID,post_title FROM $wpdb->posts ORDER BY comment_count DESC LIMIT 0 , ".$option['footer_post_count']);
												foreach ($result as $post) {
												setup_postdata($post);
												$postid = $post->ID;
												$title = $post->post_title;
												$commentcount = $post->comment_count;
												if ($commentcount != 0) { ?>
												<li><a href="<?php echo get_permalink($postid); ?>" title="<?php echo $title ?>"><?php echo $title ?></a></li>
												<?php } } ?>
											</ul>
											
										<?php } ?>
									
									<?php endif; ?>
									
									</div>
									
									<?php } ?>
									
									<!-- End Widget -->

									<div class="clr"></div>
									
								</div>
							</div>
						</div>
					</div>
				</div>
				
				<!-- Begin Copyright Section -->
				
				<div class="copyright-block">
					<div class="copyright-block2">
					
						<?php if($option['footer_logo'] == 'true') { ?>
					
						<!-- Begin Footer Logo -->
					
						<a href="http://www.rockettheme.com/" title="RocketTheme WordPress Templates Club" id="rocket"></a>
						
						<!-- End Footer Logo -->
						
						<?php } ?>
						
						<?php if($option['footer_copyright'] == 'true') { ?>
						
						<!-- Begin Copyright -->
						
						<div id="copyright">
							<?php echo $option['footer_copyright_text']; ?>
						</div>
						
						<!-- End Copyright -->
						
						<?php } ?>
						
						<?php if($option['footer_backtop'] == 'true') { ?>

						<!-- Begin Back To Top -->
		
						<div id="top-button">
							<a href="#" id="top-scroll" class="top-button-desc"><?php _re('Back to Top'); ?></a>
						</div>
						
						<!-- End Back To Top -->
						
						<?php } ?>
						
					</div>
				</div>
				
				<!--End Copyright Section-->
			</div>
		</div>
		
		<!-- End Footer -->
		
		<?php } ?>
		
		<?php wp_footer(); ?>
		
	</body>
</html>