| Server IP : 209.16.87.222 / Your IP : 216.73.216.124 Web Server : Apache/2.4.68 (Debian) System : Linux 797b534c095b 6.18.38-Unraid #1 SMP PREEMPT_DYNAMIC Mon Jul 6 15:22:03 PDT 2026 x86_64 User : www-data ( 33) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/plugins/catch-themes-demo-import/partials/ |
Upload File : |
<?php /** * Provide a admin area dashboard view for the plugin * * This file is used to markup the admin-facing aspects of the plugin. * * @link https://catchplugins.com * @since 1.0.0 * * @package Catch_Ids * @subpackage Catch_Ids/admin/partials */ ?> <div id="catch-ids" class="catchids-main"> <div class="content-wrapper"> <div class="header"> <h2><?php esc_html_e( 'Settings', 'catch-themes-demo-import' ); ?></h2> </div> <!-- .Header --> <div class="content"> <div class="module-container catch-ids-options"> <?php $options = catchids_get_options(); $post_types = catchids_get_all_post_types(); foreach ( $post_types as $key => $value ) : ?> <!-- Custom Post Types --> <div id="module-<?php echo esc_attr( $key ); ?>" class="catch-modules"> <div class="module-header <?php echo esc_attr( $options[ $key ] ? 'active' : 'inactive' ); ?>"> <h3 class="module-title"><?php esc_html_e( $value, 'catch-ids' ); ?></h3> <div class="switch"> <input type="checkbox" id="catchids_options[<?php echo esc_html( $key ); ?>]" class="catchids-input-switch" rel="<?php echo esc_attr( $key ); ?>" <?php checked( true, esc_attr( $options[ $key ] ) ); ?> > <label for="catchids_options[<?php echo esc_attr( $key ); ?>]"></label> </div> <div class="loader"></div> </div><!-- .module-header --> </div><!-- .catch-modules --> <?php endforeach; ?> <!-- Media --> <div id="module-<?php echo esc_attr( 'media' ); ?>" class="catch-modules"> <div class="module-header <?php echo esc_attr( $options['media'] ? 'active' : 'inactive' ); ?>"> <h3 class="module-title"><?php esc_html_e( 'Media', 'catch-ids' ); ?></h3> <div class="switch"> <input type="checkbox" id="catchids_options[media]" class="catchids-input-switch" rel="media" <?php checked( true, $options['media'] ); ?> > <label for="catchids_options[media]"></label> </div> <div class="loader"></div> </div><!-- .module-header --> </div><!-- .catch-modules --> <!-- Categories --> <div id="module-<?php echo esc_attr( 'category' ); ?>" class="catch-modules"> <div class="module-header <?php echo esc_attr( $options['category'] ? 'active' : 'inactive' ); ?>"> <h3 class="module-title"><?php esc_html_e( 'Categories', 'catch-ids' ); ?></h3> <div class="switch"> <input type="checkbox" id="catchids_options[category]" class="catchids-input-switch" rel="category" <?php checked( true, $options['category'] ); ?> > <label for="catchids_options[category]"></label> </div> <div class="loader"></div> </div><!-- .module-header --> </div><!-- .catch-modules --> <!-- Users --> <div id="module-<?php echo esc_attr( 'user' ); ?>" class="catch-modules"> <div class="module-header <?php echo esc_attr( $options['user'] ? 'active' : 'inactive' ); ?>"> <h3 class="module-title"><?php esc_html_e( 'Users', 'catch-ids' ); ?></h3> <div class="switch"> <input type="checkbox" id="catchids_options[user]" class="catchids-input-switch" rel="user" <?php checked( true, $options['user'] ); ?> > <label for="catchids_options[user]"></label> </div> <div class="loader"></div> </div><!-- .module-header --> </div><!-- .catch-modules --> <!-- Comments --> <div id="module-<?php echo 'comment'; ?>" class="catch-modules"> <div class="module-header <?php echo esc_attr( $options['comment'] ? 'active' : 'inactive' ); ?>"> <h3 class="module-title"><?php esc_html_e( 'Comments', 'catch-ids' ); ?></h3> <div class="switch"> <input type="checkbox" id="catchids_options[comment]" class="catchids-input-switch" rel="comment" <?php checked( true, $options['comment'] ); ?> > <label for="catchids_options[comment]"></label> </div> <div class="loader"></div> </div><!-- .module-header --> </div><!-- .catch-modules --> </div><!-- .module-container --> </div><!-- .content --> </div> <!-- .content-wrapper --> </div> <!-- Main Content-->