Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?> <table class="edit" d..

Decoded Output download

<?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?>
<table class="edit" data-url="<?php echo admin_url( 'admin-ajax.php' ) ?>">
	<tr>
		<th width="70"><?php _e ('Name', 'redirection'); ?>:</th>
		<td><input style="width: 95%" type="text" name="name" value="<?php echo esc_attr( $group->get_name() ) ?>"/></td>
	</tr>
	<tr>
		<th width="70"><?php _e( 'Module', 'redirection' ); ?></th>
		<td>
			<select name="module_id">
				<?php foreach ( Red_Module::get_for_select() AS $module ) : ?>
					<option value="<?php echo esc_attr( $module->get_id() ); ?>"<?php selected( $module->get_id(), $group->get_module_id() ); ?>><?php echo esc_html( $module->get_name() ); ?></option>
				<?php endforeach; ?>
			</select>
		</td>
	</tr>
	<tr>
		<th width="70"></th>
		<td>
			<div class="table-actions">
				<input class="button-primary" type="submit" name="save" value="<?php _e ('Save', 'redirection'); ?>"/>
				<input class="button-secondary" type="submit" name="cancel" value="<?php _e ('Cancel', 'redirection'); ?>"/>

				<input type="hidden" name="action" value="red_group_save"/>
				<input type="hidden" name="id" value="<?php echo esc_attr( $group->id ); ?>"/>

				<?php wp_nonce_field( 'redirection-group_save_'.$group->id ) ?>
			</div>

			<div class="table-loading">
				<div class="spinner"></div>
			</div>
		</td>
	</tr>
</table>
</div>

Did this file decode correctly?

Original Code

<?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?>
<table class="edit" data-url="<?php echo admin_url( 'admin-ajax.php' ) ?>">
	<tr>
		<th width="70"><?php _e ('Name', 'redirection'); ?>:</th>
		<td><input style="width: 95%" type="text" name="name" value="<?php echo esc_attr( $group->get_name() ) ?>"/></td>
	</tr>
	<tr>
		<th width="70"><?php _e( 'Module', 'redirection' ); ?></th>
		<td>
			<select name="module_id">
				<?php foreach ( Red_Module::get_for_select() AS $module ) : ?>
					<option value="<?php echo esc_attr( $module->get_id() ); ?>"<?php selected( $module->get_id(), $group->get_module_id() ); ?>><?php echo esc_html( $module->get_name() ); ?></option>
				<?php endforeach; ?>
			</select>
		</td>
	</tr>
	<tr>
		<th width="70"></th>
		<td>
			<div class="table-actions">
				<input class="button-primary" type="submit" name="save" value="<?php _e ('Save', 'redirection'); ?>"/>
				<input class="button-secondary" type="submit" name="cancel" value="<?php _e ('Cancel', 'redirection'); ?>"/>

				<input type="hidden" name="action" value="red_group_save"/>
				<input type="hidden" name="id" value="<?php echo esc_attr( $group->id ); ?>"/>

				<?php wp_nonce_field( 'redirection-group_save_'.$group->id ) ?>
			</div>

			<div class="table-loading">
				<div class="spinner"></div>
			</div>
		</td>
	</tr>
</table>
</div>

Function Calls

defined 1

Variables

None

Stats

MD5 79c83de2d003dcf9219bba4318d00599
Eval Count 0
Decode Time 98 ms