/
/
home
/
melaqxso
/
allshadesofwellness.com
/
wp-content
/
plugins
/
when-last-login
/
includes
Server: server63.web-hosting.com (198.54.116.184)
You: 216.73.216.187
PHP 7.4.33
Dir:
/home/melaqxso/allshadesofwellness.com/wp-content/plugins/when-last-login/includes
Edit:
/home/melaqxso/allshadesofwellness.com/wp-content/plugins/when-last-login/includes/settings.php
<?php $tabs = array( 'general' => array( 'title' => __( 'General', 'when-last-login' ), 'icon' => '' ), 'add-ons' => array( 'title' => __( 'Add-ons', 'when-last-login' ), 'icon' => '' ) ); $tabs = apply_filters( 'wll_settings_page_tabs', $tabs ); ?> <div id="wll-setting-header"> <img src="<?php echo WLL_PLUGIN . '/includes/images/whenlastlogin.png'; ?>" width="300px" height="auto" style="margin-top:2%;"/><span style="position:relative;top:-15px;"><?php echo 'v' . WLL_VER; ?></span> </div> <div class='wrap'> <h2 class="nav-tab-wrapper"><?php foreach( $tabs as $key => $val ){ $active = ''; if( isset( $_GET['tab'] ) && $_GET['tab'] == $key ){ $active = 'nav-tab-active'; } else { if( $key == 'general' ){ $active = 'nav-tab-active'; } } echo '<a class="nav-tab '.$active.'" href="?page=when-last-login-settings&tab='.$key.'">'.$val['title'].'</a>'; } ?> </h2> <?php if( isset( $_GET['tab'] ) && $_GET['tab'] == 'add-ons' ){ include 'settings/add-ons.php'; } else { ?> <form method='POST'><table class="form-table"> <?php $content = array( 'general' => 'settings/general.php', 'add-ons' => 'settings/add-ons.php' ); $content = apply_filters( 'wll_settings_page_content', $content ); if( isset( $_GET['tab'] ) ){ $current_tab = $_GET['tab']; } else { $current_tab = 'general'; } foreach( $content as $key => $val ){ if( $key == $current_tab ){ include $val; } } ?> </table></form> <?php } ?> </div>
Ukuran: 1.6 KB