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/martyknows.com/wp-content/themes/monochrome/sidebar.php
<div id="right_col">
  <?php $options = get_option('mc_options'); ?>

  <?php if ($options['show_information']) : ?>
  <div id="information_area" class="clearfix">
   <div class="side_box" id="information">
    <h3><?php if($options['information_title']) { echo ($options['information_title']); } else { _e('Information','monochrome'); } ?></h3>
    <div id="information_contents"><?php if($options['information_contents']) { echo ($options['information_contents']); } else { _e('Change this sentence and title from admin Theme option page.','monochrome'); } ?></div>
   </div>
   <?php if ($options['rss_feed']) : ?>
   <div id="entries_rss">
    <a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Entries RSS','monochrome'); ?>" ><?php _e('RSS FEED','monochrome'); ?></a>
   </div>
   <?php endif; ?>
  </div>
  <?php endif; ?>

  <?php if($options['search_position'] == 'top') { ?>
  <div class="side_box" id="search_area_top">
   <div id="search_area" class="clearfix">
    <?php if ($options['use_google_search']) : ?>
    <form action="http://www.google.com/cse" method="get" id="searchform">
     <div><input type="text" value="<?php _e('Google Search','monochrome'); ?>" name="q" id="search_input" onfocus="this.value=''; changefc('white');" /></div>
     <div><input type="image" src="<?php bloginfo('template_url'); ?>/img/search_button.gif" name="sa" alt="<?php _e('Search from this blog.','monochrome'); ?>" title="<?php _e('Search from this blog.','monochrome'); ?>" id="search_button" />
          <input type="hidden" name="cx" value="<?php echo $options['custom_search_id']; ?>" />
          <input type="hidden" name="ie" value="UTF-8" />
     </div>
    </form>
    <?php else: ?>
    <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">
     <div><input type="text" value="<?php _e('Search','monochrome'); ?>" name="s" id="search_input" onfocus="this.value=''; changefc('white');" /></div>
     <div><input type="image" src="<?php bloginfo('template_url'); ?>/img/search_button.gif" alt="<?php _e('Search from this blog.','monochrome'); ?>" title="<?php _e('Search from this blog.','monochrome'); ?>" id="search_button" /></div>
    </form>
    <?php endif; ?>
   </div>
   <?php if ($options['tag_list']) : ?>
   <div id="tag_list" class="clearfix">
    <a href="javascript:void(0);" class="search_tag"><?php _e('TAG LIST','monochrome'); ?></a>
    <?php wp_tag_cloud('smallest=11&largest=11&number=30&orderby=count&unit=px&format=list'); ?>
   </div>
   <?php endif; ?>
  </div>
  <?php } ?>

  <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>

   <div class="side_box">
   <h3><?php _e('Recent entry','monochrome'); ?></h3>
    <ul>
<?php $myposts = get_posts('numberposts=5'); foreach($myposts as $post) : ?>
     <li class="side_date"><?php the_time('Y-m-d') ?></li>
     <li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
<?php endforeach; ?>
   </ul>
  </div>

   <div class="side_box">
   <h3><?php _e('Archive','monochrome'); ?></h3>
   <ul>
    <?php wp_get_archives('type=monthly'); ?>
   </ul>
   </div>

   <div class="side_box">
   <h3><?php _e('Category','monochrome'); ?></h3>
   <ul>
    <?php wp_list_cats('sort_column=name'); ?>
   </ul>
   </div>

<?php endif; ?>

  <?php if($options['search_position'] == 'bottom') { ?>
  <div class="side_box" id="search_area_bottom">
  <h3><?php _e('SEARCH','monochrome'); ?></h3>
   <div id="search_area" class="clearfix">
    <?php if ($options['use_google_search']) : ?>
    <form action="http://www.google.com/cse" method="get" id="searchform">
     <div><input type="text" value="<?php _e('Google Search','monochrome'); ?>" name="q" id="search_input" onfocus="this.value=''; changefc('white');" /></div>
     <div><input type="image" src="<?php bloginfo('template_url'); ?>/img/search_button.gif" name="sa" alt="<?php _e('Search from this blog.','monochrome'); ?>" title="<?php _e('Search from this blog.','monochrome'); ?>" id="search_button" />
          <input type="hidden" name="cx" value="<?php echo $options['custom_search_id']; ?>" />
          <input type="hidden" name="ie" value="UTF-8" />
     </div>
    </form>
    <?php else: ?>
    <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">
     <div><input type="text" value="<?php _e('Search','monochrome'); ?>" name="s" id="search_input" onfocus="this.value=''; changefc('white');" /></div>
     <div><input type="image" src="<?php bloginfo('template_url'); ?>/img/search_button.gif" alt="<?php _e('Search from this blog.','monochrome'); ?>" title="<?php _e('Search from this blog.','monochrome'); ?>" id="search_button" /></div>
    </form>
    <?php endif; ?>
   </div>
   <?php if ($options['tag_list']) : ?>
   <div id="tag_list" class="clearfix">
    <a href="javascript:void(0);" class="search_tag"><?php _e('TAG LIST','monochrome'); ?></a>
    <?php wp_tag_cloud('smallest=11&largest=11&number=30&orderby=count&unit=px&format=list'); ?>
   </div>
   <?php endif; ?>
  </div>
  <?php } ?>

</div><!-- #right_col end -->