403Webshell
Server IP : 104.21.21.239  /  Your IP : 216.73.216.11
Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5
System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64
User : ec2-user ( 1000)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/home2/domains/celeberateshowcase.com/wp-content/plugins/wp-hide-admin-bar/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/home2/domains/celeberateshowcase.com/wp-content/plugins/wp-hide-admin-bar/admin.bar.php
<?php
if (!defined('WP_HIDE_ADMIB_BAR_VERSION')) exit('No direct script access allowed');
function whab_display_admin_settings(){
?>		
	<form method="post">
	<?php 
		global $wp_roles;
	
		$whab_showAdminBar = get_option('whab_display_admin_settings');
               
		settings_fields('whab_display_admin_settings');
	?>
	<h2><?php _e('Show/Hide the Admin Bar on Front End', 'whab');?></h2>
	<table class="wp-list-table widefat fixed pages" cellspacing="0">
		<thead>
			<tr>
				<th id="manage-column" scope="col"><?php _e('User-group', 'whab');?></th>
				<th id="manage-column" scope="col"><?php _e('Visibility', 'whab');?></th>
			</tr>
		</thead>
			<tbody>
				<?php
				foreach ($wp_roles->roles as $role) {
					$key = $role['name'];
					$setting_exists = !empty($whab_showAdminBar[$key]);
					echo'<tr>
							<td id="manage-columnCell">'.$key.'</td>
							<td id="manage-columnCell">
								<input type="radio" name="whab_display_admin_settings['.$key.']" value="default" ';if (!$setting_exists || $whab_showAdminBar[$key] == 'default') echo ' checked'; echo'/>'; _e('Default', 'whab'); echo'<span style="padding-left:20px"></span>
	<input type="radio" name="whab_display_admin_settings['.$key.']" value="show"';if ($setting_exists && $whab_showAdminBar[$key] == 'show') echo ' checked';echo'/>'; _e('Show', 'whab'); echo'<span style="padding-left:20px"></span>
<input type="radio" name="whab_display_admin_settings['.$key.']" value="hide"';if ($setting_exists && $whab_showAdminBar[$key] == 'hide') echo ' checked';echo'/>'; _e('Hide', 'whab'); echo'
							</td>
						</tr>';
				}
				?>
			
	</table>

	<div align="right">
		<input type="hidden" name="action" value="update" />
		<p class="submit">
		<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
		</p>
	</div>
	</form>
<?php
}

Youez - 2016 - github.com/yon3zu
LinuXploit