-
Notifications
You must be signed in to change notification settings - Fork 29
/
anime.php
187 lines (177 loc) · 10.4 KB
/
anime.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<?php
session_start();
require('./_config.php');
if(!isset($_GET['page'])){
$page = 1;
}else{
$page = $_GET['page'];
}
?>
<!DOCTYPE html>
<html prefix="og: http://ogp.me/ns#" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Anime List on <?=$websiteTitle?></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="title" content="Anime List on <?=$websiteTitle?>">
<meta name="description" content="Anime List in HD with No Ads. Watch anime online">
<meta name="keywords" content="<?=$websiteTitle?>, watch anime online, free anime, anime stream, anime hd, english sub, kissanime, gogoanime, animeultima, 9anime, 123animes, <?=$websiteTitle?>, vidstreaming, gogo-stream, animekisa, zoro.to, gogoanime.run, animefrenzy, animekisa">
<meta name="charset" content="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
<meta name="robots" content="index, follow">
<meta name="googlebot" content="index, follow">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Content-Language" content="en">
<meta property="og:title" content="Anime List on <?=$websiteTitle?>">
<meta property="og:description" content="Anime List on <?=$websiteTitle?> in HD with No Ads. Watch anime online">
<meta property="og:locale" content="en_US">
<meta property="og:type" content="website">
<meta property="og:site_name" content="<?=$websiteTitle?>">
<meta itemprop="image" content="<?=$banner?>">
<meta property="og:image" content="<?=$banner?>">
<meta property="og:image:width" content="650">
<meta property="og:image:height" content="350">
<meta property="twitter:card" content="summary">
<meta name="apple-mobile-web-app-status-bar" content="#202125">
<meta name="theme-color" content="#202125">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.4.1/css/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta2/css/all.min.css" type="text/css">
<link rel="apple-touch-icon" href="<?=$websiteUrl?>/favicon.png?v=<?=$version?>" />
<link rel="shortcut icon" href="<?=$websiteUrl?>/favicon.png?v=<?=$version?>" type="image/x-icon"/>
<link rel="apple-touch-icon" sizes="180x180" href="<?=$websiteUrl?>/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="<?=$websiteUrl?>/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="<?=$websiteUrl?>/favicon-16x16.png">
<link rel="mask-icon" href="<?=$websiteUrl?>/safari-pinned-tab.svg" color="#5bbad5">
<link rel="icon" sizes="192x192" href="<?=$websiteUrl?>/files/images/touch-icon-192x192.png?v=<?=$version?>">
<link rel="stylesheet" href="<?=$websiteUrl?>/files/css/style.css?v=<?=$version?>">
<link rel="stylesheet" href="<?=$websiteUrl?>/files/css/min.css?v=<?=$version?>">
<script type="text/javascript">
setTimeout(function () {
var wpse326013 = document.createElement('link');
wpse326013.rel = 'stylesheet';
wpse326013.href = 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta2/css/all.min.css';
wpse326013.type = 'text/css';
var godefer = document.getElementsByTagName('link')[0];
godefer.parentNode.insertBefore(wpse326013, godefer);
var wpse326013_2 = document.createElement('link');
wpse326013_2.rel = 'stylesheet';
wpse326013_2.href = 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.4.1/css/bootstrap.min.css';
wpse326013_2.type = 'text/css';
var godefer2 = document.getElementsByTagName('link')[0];
godefer2.parentNode.insertBefore(wpse326013_2, godefer2);
}, 500);
</script>
<noscript>
<link rel="stylesheet" type="text/css"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta2/css/all.min.css" />
<link rel="stylesheet" type="text/css"
href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.4.1/css/bootstrap.min.css" />
</noscript>
<script></script>
</head>
<body data-page="page_anime">
<div id="sidebar_menu_bg"></div>
<div id="wrapper" data-page="page_home">
<?php include('./_php/header.php')?>
<div class="clearfix"></div>
<div id="main-wrapper">
<div class="container">
<div id="main-content">
<section class="block_area block_area_category">
<div class="block_area-header">
<div class="float-left bah-heading mr-4">
<h2 class="cat-heading">Anime List</h2>
</div>
<div class="float-right bah-result">
<div class="cmb-item">
<div class="nl-item">
</div>
<div class="clearfix"></div>
</div>
</div>
<div class="clearfix"></div>
</div>
<div class="tab-content">
<div class="block_area-content block_area-list film_list film_list-grid film_list-wfeature">
<div class="film_list-wrap">
<?php
$json = file_get_contents("$api/animeList?page=$page");
$json = json_decode($json, true);
foreach($json as $key => $az) { ?>
<div class="flw-item">
<div class="film-detail">
<h3 class="film-name">
<a
href="/anime/<?=$az['animeId']?>" title="<?=$az['animeTitle']?>"
data-jname="<?=$az['animeTitle']?>"><?=$az['animeTitle']?></a>
</h3>
<div class="fd-infor">
<span class="fdi-item"># <?php echo (136 * ($page - 1)) + $key+1 ?></span>
<span class="dot"></span>
<span class="fdi-item"><?php $str = $az['animeTitle'];
$last_word_start = strrpos ( $str , " ") + 1;
$last_word_end = strlen($str) - 1;
$last_word = substr($str, $last_word_start, $last_word_end);
if ($last_word == "(Dub)"){echo "DUB";} else {echo "SUB";}
?></span>
</div>
</div>
<div class="clearfix"></div>
</div>
<?php } ?>
</div>
<div class="clearfix"></div>
<style>
.cus_pagi {
margin-top: 7px;
}
div.cus_pagi input {
background: #575757;
color: #fff;
border: 0;
width: 56px;
text-align: center;
border-radius: 2px;
height: 28px;
outline: 0;
}
button.btn.btn-xs.btn-primary {
padding: 7px 11px;
height: 26px;
margin-top: 12px;
border-radius: 2px;
}
</style>
<div class="pagination">
<nav>
<ul class="ulclear az-list">
<?php
$AZPage = file_get_contents("$api/anime-list-page?page=$page");
$AZPage = json_decode($AZPage, true); { ?>
<?=$AZPage['pagination']; ?>
<?php } ?>
</ul>
</nav>
</div>
</div>
</div>
</section>
<div class="clearfix"></div>
</div>
<?php include('./_php/sidenav.php'); ?>
<div class="clearfix"></div>
</div>
</div>
<?php include('./_php/footer.php'); ?>
<div id="mask-overlay"></div>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.bundle.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/js-cookie@rc/dist/js.cookie.min.js"></script>
<script type="text/javascript" src="<?=$websiteUrl?>/files/js/app.js"></script>
<script type="text/javascript" src="<?=$websiteUrl?>/files/js/comman.js"></script>
<script type="text/javascript" src="<?=$websiteUrl?>/files/js/movie.js"></script>
<link rel="stylesheet" href="<?=$websiteUrl?>/files/css/jquery-ui.css">
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script type="text/javascript" src="<?=$websiteUrl?>/files/js/function.js"></script>
</div>
</body>
</html>