# redirection/2.3.5/view/admin/item.php

Redirection, version 2.3.5. 32 lines.

- Page: https://pluginprobe.com/plugins/redirection/2.3.5/code/view/admin/item.php
- Raw: https://pluginprobe.com/plugins/redirection/2.3.5/raw/view/admin/item.php
- Modified: 2013-10-05T12:10:22+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/redirection/2.3.5/code/view/admin/item.php#L10-L20`.

```php
<?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?>

<div class="date" id="info_<?php echo $redirect->id ?>" style="width:8em">
	<?php if ($redirect->last_access == 0) : ?>
	&mdash;
	<?php else : ?>
		<?php echo date (str_replace ('F', 'M', get_option ('date_format')), $redirect->last_access) ?>
	<?php endif; ?>
</div>

<div class="count">
	<a href="<?php echo admin_url( 'tools.php?page=redirection.php' ); ?>&amp;sub=log&amp;redirect=<?php echo $redirect->id ?>"><?php echo $redirect->last_count ?></a>
</div>

<div class="type">
	<?php echo $redirect->type () ?>
</div>

<div class="item<?php if ($redirect->regex)  echo ' item-regex' ?>">
	<input type="checkbox" class="check" name="checkall[]" value="<?php echo esc_attr( $redirect->id ) ?>"/>

	<a href="<?php echo esc_attr( $this->url( $redirect->url ) ) ?>" class="redirection-edit">
		<?php if ($redirect->title) echo esc_html( $redirect->title ); else echo esc_html( RE_Log::show_url( $redirect->url ) ); ?>
	</a>

	<?php if ($redirect->match_type != 'url') echo '('.esc_html( $redirect->match_name() ).')' ?>

	<?php if ($redirect->status == 'disabled') : ?>
		&mdash; <?php _e ('disabled', 'redirection'); ?>
	<?php endif; ?>
</div>

```
