@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux phosweb007 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64
Current Path :
/
homepage
/
wordpress
/
wp-content
/
themes
/
soccer
/
Path :
Upload File :
New :
File
Dir
//homepage/wordpress/wp-content/themes/soccer/functions.php
<?php if ( function_exists('register_sidebar') ) register_sidebar(array( 'before_widget' => '', 'after_widget' => '', 'before_title' => '<h3>', 'after_title' => '</h3>', )); // WP-sapphire Pages Box function widget_sapphire_pages() { ?> <h3><?php _e('Pages'); ?></h3> <ul> <li class="page_item"><a href="<?php bloginfo('url'); ?>">Home</a></li> <?php wp_list_pages('title_li='); ?> </ul> <?php } if ( function_exists('register_sidebar_widget') ) register_sidebar_widget(__('Pages'), 'widget_sapphire_pages'); // WP-sapphire Search Box function widget_sapphire_search() { ?> <h3><?php _e('Search Posts'); ?></h3> <ul> <li> <form id="searchform" method="get" action="<?php bloginfo('url'); ?>/index.php"> <input type="text" name="s" size="18" /><br> <input type="submit" id="submit" name="Submit" value="Search" /> </form> </li> </ul> <?php } if ( function_exists('register_sidebar_widget') ) register_sidebar_widget(__('Search'), 'widget_sapphire_search'); function widget_links_with_style() { global $wpdb; $link_cats = $wpdb->get_results("SELECT cat_id, cat_name FROM $wpdb->linkcategories"); foreach ($link_cats as $link_cat) { ?> <h3><?php echo $link_cat->cat_name; ?></h3> <ul> <?php get_links($link_cat->cat_id, '<li>', '</li>', '<br />', FALSE, 'rand', TRUE, TRUE, -1, TRUE); ?> </ul> <?php } ?> <?php } if ( function_exists('register_sidebar_widget') ) register_sidebar_widget(__(' Links With Style'), 'widget_links_with_style'); ?>