| 1 |
<?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?> |
| 2 |
|
| 3 |
<div class="date" id="info_<?php echo $redirect->id ?>" style="width:8em"> |
| 4 |
<?php if ($redirect->last_access == 0) : ?> |
| 5 |
— |
| 6 |
<?php else : ?> |
| 7 |
<?php echo date (str_replace ('F', 'M', get_option ('date_format')), $redirect->last_access) ?> |
| 8 |
<?php endif; ?> |
| 9 |
</div> |
| 10 |
|
| 11 |
<div class="count"> |
| 12 |
<a href="<?php echo $this->base (); ?>?page=redirection.php&sub=log&redirect=<?php echo $redirect->id ?>"><?php echo $redirect->last_count ?></a> |
| 13 |
</div> |
| 14 |
|
| 15 |
<div class="type"> |
| 16 |
<?php echo $redirect->type () ?> |
| 17 |
</div> |
| 18 |
|
| 19 |
<div class="item<?php if ($redirect->regex) echo ' item-regex' ?>"> |
| 20 |
<input type="checkbox" class="check" name="checkall[]" value="<?php echo $redirect->id ?>"/> |
| 21 |
|
| 22 |
<a href="<?php echo $this->url ($redirect->url) ?>" class="redirection-edit"><?php if ($redirect->title) echo esc_html( $redirect->title ); else echo RE_Log::show_url ($redirect->url); ?></a> |
| 23 |
|
| 24 |
<?php if ($redirect->match_type != 'url') echo '('.esc_html( $redirect->match_name() ).')' ?> |
| 25 |
|
| 26 |
<?php if ($redirect->status == 'disabled') : ?> |
| 27 |
— <?php _e ('disabled', 'redirection'); ?> |
| 28 |
<?php endif; ?> |
| 29 |
</div> |
| 30 |
|