<?php if ( get_option('cp_home_layout') == 'directory' ) : ?> <div class="shadowblock_out"> <div class="shadowblock"> <h2 class="dotted"><?php _e('Ad Categories','appthemes')?></h2> <div id="directory" class="directory <?php if(get_option('cp_cat_dir_cols') == 2) echo 'two'; ?>Col"> <?php echo cp_cat_menu_drop_down(get_option('cp_cat_dir_cols'), get_option('cp_dir_sub_num')); ?> <div class="clr"></div> </div><!--/directory--> </div><!-- /shadowblock --> </div><!-- /shadowblock_out --> <?php endif; ?>
<?php if ( get_option('cp_home_layout') == 'directory' ) : ?> <?php $currentpage = $_SERVER['REQUEST_URI']; if($currentpage=="/" || $currentpage=="/index.php" || $currentpage=="" ) :?> <div class="shadowblock_out"> <div class="shadowblock"> <h2 class="dotted"><?php _e('Ad Categories','appthemes')?></h2> <div id="directory" class="directory <?php if(get_option('cp_cat_dir_cols') == 2) echo 'two'; ?>Col"> <?php echo cp_cat_menu_drop_down(get_option('cp_cat_dir_cols'), get_option('cp_dir_sub_num')); ?> <div class="clr"></div> </div><!--/directory--> </div><!-- /shadowblock --> </div><!-- /shadowblock_out --> <?php endif; ?> <?php endif; ?>
There are currently 1 users browsing this thread. (0 members and 1 guests)