This repository was archived by the owner on Sep 9, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
52 lines (48 loc) · 1.39 KB
/
index.php
File metadata and controls
52 lines (48 loc) · 1.39 KB
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
<?php get_header(); ?>
<div class="container">
<div class="alert alert-info">
<p>Selamat datang di website Delima.</p>
</div>
<div class="table-responsive">
<table class="table table-bordered table-hover table-striped torrent-list">
<thead>
<tr>
<th class="hdr-category text-center" style="width:80px;">Category</th>
<th class="hdr-name" style="width:auto;">Name</th>
<th class="hdr-comments sorting text-center" title="Comments" style="width:50px;"><a href="/?s=comments&o=desc"></a><i class="fa fa-comments-o"></i></th>
<th class="hdr-date sorting_desc text-center" title="In UTC" style="width:140px;">
<a href="/?s=id&o=asc"></a>
Date
</th>
<th class="hdr-downloads sorting text-center" title="viewer" style="width:50px;">
<a href="/?s=downloads&o=desc"></a>
<i class="fa fa-eye" aria-hidden="true"></i>
</th>
</tr>
</thead>
<tbody>
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part('articles'); ?>
<?php endwhile; endif; ?>
</tbody>
</table>
</div>
<div class="center">
<nav>
<ul class="pagination">
<?php
$returnx = paginate_links( array(
'prev_text' => __('<i class="fa fa-caret-left"></i>'),
'next_text' => __('<i class="fa fa-caret-right"></i>'),
'end_size' => '4',
'mid_size' => '5',
'type' => 'list',
) );
echo str_replace( "<ul class='page-numbers'>", '<ul class="pagination">', $returnx );
?>
</ul>
</nav>
</div>
</div>
<?php get_footer(); ?>