-
Notifications
You must be signed in to change notification settings - Fork 0
/
archive-orbis_hosting_group.php
executable file
·61 lines (50 loc) · 1.57 KB
/
archive-orbis_hosting_group.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?php get_header(); ?>
<div class="card">
<div class="card-block">
<?php get_template_part( 'templates/search_form' ); ?>
</div>
<?php if ( have_posts() ) : ?>
<div class="table-responsive">
<table class="table table-striped table-condense table-hover">
<thead>
<tr>
<th><?php esc_html_e( 'Title', 'orbis-4' ); ?></th>
<th><?php esc_html_e( 'IP address', 'orbis-4' ); ?></th>
<th><?php esc_html_e( 'Hostname', 'orbis-4' ); ?></th>
<th><?php esc_html_e( 'Hostname Provider', 'orbis-4' ); ?></th>
<th></th>
</tr>
</thead>
<tbody>
<?php
while ( have_posts() ) :
the_post();
?>
<tr id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<td>
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
<?php get_template_part( 'templates/table-cell-comments' ); ?>
</td>
<td>
<?php echo esc_html( get_post_meta( $post->ID, '_orbis_hosting_group_ip_address', true ) ); ?>
</td>
<td>
<?php echo esc_html( get_post_meta( $post->ID, '_orbis_hosting_group_hostname', true ) ); ?>
</td>
<td>
<?php echo esc_html( get_post_meta( $post->ID, '_orbis_hosting_group_hostname_provider', true ) ); ?>
</td>
<td>
<?php get_template_part( 'templates/table-cell-actions' ); ?>
</td>
</tr>
<?php endwhile; ?>
</tbody>
</table>
</div>
<?php else : ?>
<?php get_template_part( 'templates/content-none' ); ?>
<?php endif; ?>
</div>
<?php orbis_content_nav(); ?>
<?php get_footer(); ?>