-
Notifications
You must be signed in to change notification settings - Fork 23
/
anime-list-az.php
327 lines (309 loc) · 17.7 KB
/
anime-list-az.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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
<?php
require_once('./php/info.php');
$parts=parse_url($_SERVER['REQUEST_URI']);
$page_url=explode('/', $parts['path']);
$url = $page_url[count($page_url)-1];
//$url = "anime-list-R";
$aph = substr($url, -1);
$alphabet = substr($url, -1);
$page = isset($_GET['page']) ? $_GET['page'] : 1;
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="shortcut icon" href="<?=$base_url?>/img/favicon.ico">
<title>List All Anime at Gogoanime | Anime List</title>
<meta name="robots" content="index, follow" />
<meta name="description" content="List All Anime at Gogoanime | Anime List">
<meta name="keywords" content="List All Anime at Gogoanime | Anime List">
<meta itemprop="image" content="<?=$base_url?>/img/logo.png" />
<meta property="og:site_name" content="Gogoanime" />
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="website" />
<meta property="og:title" content="List All Anime at Gogoanime | Anime List" />
<meta property="og:description" content="List All Anime at Gogoanime | Anime List">
<meta property="og:url" content="" />
<meta property="og:image" content="<?=$base_url?>/img/logo.png" />
<meta property="og:image:secure_url" content="<?=$base_url?>/img/logo.png" />
<meta property="twitter:card" content="summary" />
<meta property="twitter:title" content="List All Anime at Gogoanime | Anime List" />
<meta property="twitter:description" content="List All Anime at Gogoanime | Anime List" />
<link rel="canonical" href="<?=$base_url?><?php echo $_SERVER['REQUEST_URI'] ?>" />
<link rel="alternate" hreflang="en-us" href="<?=$base_url?><?php echo $_SERVER['REQUEST_URI'] ?>" />
<link rel="stylesheet" type="text/css" href="<?=$base_url?>/css/style.css" />
<script type="text/javascript" src="<?=$base_url?>/js/libraries/jquery.js"></script>
<?php require_once('./php/advertisments/popup.html'); ?>
<script>
var base_url = 'https://' + document.domain + '/';
var base_url_cdn_api = 'https://ajax.gogocdn.net/';
var api_anclytic = 'https://ajax.gogocdn.net/anclytic-ajax.html';
</script>
<script type="text/javascript" src="https://cdn.gogocdn.net/files/gogo/js/main.js?v=7.1"></script>
</head>
<body>
<div class="clr"></div>
<div id="wrapper_inside">
<div id="wrapper">
<div id="wrapper_bg">
<?php require_once('./php/include/header.php'); ?>
<section class="content">
<section class="content_left">
<div class="main_body">
<div class="anime_name anime_list">
<i class="icongec-anime_list i_pos"></i>
<h2>ANIME LIST</h2>
<div class="anime_name_pagination">
<div class="pagination">
<ul class='pagination-list'><?php $pagination = file_get_contents("$apiLink/anime-AZ-page?aph=$aph&page=$page");$pagination = json_decode($pagination, true); echo str_replace("active","selected",$pagination['pagination']) ?>
</div>
</div>
</div>
<div class="list_search">
<ul>
<li class="first-char">
<a href="/anime-list" rel="" class="">All</a>
</li>
<li class="first-char">
<a href="/anime-list-A" rel="" class="<?php if ($aph === "A"){echo "active";} else {echo "noactive";}?>">A</a>
</li>
<li class="first-char">
<a href="/anime-list-B" rel="" class="<?php if ($aph == "B"){echo "active";} else {echo "noactive";}?>">B</a>
</li>
<li class="first-char">
<a href="/anime-list-C" rel="" class="<?php if ($aph == "C"){echo "active";} else {echo "noactive";}?>">C</a>
</li>
<li class="first-char">
<a href="/anime-list-D" rel="" class="<?php if ($aph == "D"){echo "active";} else {echo "noactive";}?>">D</a>
</li>
<li class="first-char">
<a href="/anime-list-E" rel="" class="<?php if ($aph == "E"){echo "active";} else {echo "noactive";}?>">E</a>
</li>
<li class="first-char">
<a href="/anime-list-F" rel="" class="<?php if ($aph == "F"){echo "active";} else {echo "noactive";}?>">F</a>
</li>
<li class="first-char">
<a href="/anime-list-G" rel="" class="<?php if ($aph == "G"){echo "active";} else {echo "noactive";}?>">G</a>
</li>
<li class="first-char">
<a href="/anime-list-H" rel="" class="<?php if ($aph == "H"){echo "active";} else {echo "noactive";}?>">H</a>
</li>
<li class="first-char">
<a href="/anime-list-I" rel="" class="<?php if ($aph == "I"){echo "active";} else {echo "noactive";}?>">I</a>
</li>
<li class="first-char">
<a href="/anime-list-J" rel="" class="<?php if ($aph == "J"){echo "active";} else {echo "noactive";}?>">J</a>
</li>
<li class="first-char">
<a href="/anime-list-K" rel="" class="<?php if ($aph == "K"){echo "active";} else {echo "noactive";}?>">K</a>
</li>
<li class="first-char">
<a href="/anime-list-L" rel="" class="<?php if ($aph == "L"){echo "active";} else {echo "noactive";}?>">L</a>
</li>
<li class="first-char">
<a href="/anime-list-M" rel="" class="<?php if ($aph == "M"){echo "active";} else {echo "noactive";}?>">M</a>
</li>
<li class="first-char">
<a href="/anime-list-N" rel="" class="<?php if ($aph == "N"){echo "active";} else {echo "noactive";}?>">N</a>
</li>
<li class="first-char">
<a href="/anime-list-O" rel="" class="<?php if ($aph == "O"){echo "active";} else {echo "noactive";}?>">O</a>
</li>
<li class="first-char">
<a href="/anime-list-P" rel="" class="<?php if ($aph == "P"){echo "active";} else {echo "noactive";}?>">P</a>
</li>
<li class="first-char">
<a href="/anime-list-Q" rel="" class="<?php if ($aph == "Q"){echo "active";} else {echo "noactive";}?>">Q</a>
</li>
<li class="first-char">
<a href="/anime-list-R" rel="" class="<?php if ($aph == "R"){echo "active";} else {echo "noactive";}?>">R</a>
</li>
<li class="first-char">
<a href="/anime-list-S" rel="" class="<?php if ($aph == "S"){echo "active";} else {echo "noactive";}?>">S</a>
</li>
<li class="first-char">
<a href="/anime-list-T" rel="" class="<?php if ($aph == "T"){echo "active";} else {echo "noactive";}?>">T</a>
</li>
<li class="first-char">
<a href="/anime-list-U" rel="" class="<?php if ($aph == "U"){echo "active";} else {echo "noactive";}?>">U</a>
</li>
<li class="first-char">
<a href="/anime-list-V" rel="" class="<?php if ($aph == "V"){echo "active";} else {echo "noactive";}?>">V</a>
</li>
<li class="first-char">
<a href="/anime-list-W" rel="" class="<?php if ($aph == "W"){echo "active";} else {echo "noactive";}?>">W</a>
</li>
<li class="first-char">
<a href="/anime-list-X" rel="" class="<?php if ($aph == "X"){echo "active";} else {echo "noactive";}?>">X</a>
</li>
<li class="first-char">
<a href="/anime-list-Y" rel="" class="<?php if ($aph == "Y"){echo "active";} else {echo "noactive";}?>">Y</a>
</li>
<li class="first-char">
<a href="/anime-list-Z" rel="" class="<?php if ($aph == "Z"){echo "active";} else {echo "noactive";}?>">Z</a>
</li>
</ul>
</div>
<div class="anime_list_body">
<ul class="listing">
<?php
$json = file_get_contents("$apiLink/animeListAZ?aph=$alphabet&page=$page");
$json = json_decode($json, true);
foreach($json as $animeList) {
?>
<li title='<?php $desc = $animeList['liTitle']; echo htmlspecialchars($desc);?>'> <a href="/category/<?=$animeList['animeId']?>" title=""><?=$animeList['animeTitle']?></a></li>
<?php } ?>
</ul>
<div class="clr"></div>
</div>
</div>
</section>
<section class="content_right">
<div class="headnav_center"></div>
<div class="clr"></div>
<div class="main_body">
<div class="main_body_black">
<div class="anime_name ongoing">
<i class="icongec-ongoing i_pos"></i>
<h2>RECENT RELEASE</h2>
</div>
<div class="recent">
<!-- begon -->
<div id="scrollbar2">
<div class="scrollbar">
<div class="track">
<div class="thumb">
<div class="end"></div>
</div>
</div>
</div>
<div class="viewport">
<div class="overview">
<?php require_once('./php/include/recentRelease.php'); ?>
</div>
</div>
</div>
<!-- tao thanh cuon 1-->
</div>
</div>
</div>
<div class="clr"></div>
<div id="load_ads_2">
<div id="media.net sticky ad" style="display: inline-block">
</div>
</div>
<style type="text/css">
#load_ads_2 {
width: 300px;
}
#load_ads_2.sticky {
position: fixed;
top: 0;
}
#scrollbar2 .viewport {
height: 1000px !important;
}
</style>
<script>
var leftamt;
function scrollFunction() {
var scamt = (document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop);
var element = document.getElementById("media.net sticky ad");
if (scamt > leftamt) {
var leftPosition = element.getBoundingClientRect().left;
element.className = element.className.replace(/(?:^|\s)fixclass(?!\S)/g, '');
element.className += " fixclass";
element.style.left = leftPosition + 'px';
}
else {
element.className = element.className.replace(/(?:^|\s)fixclass(?!\S)/g, '');
}
}
function getElementTopLeft(id) {
var ele = document.getElementById(id);
var top = 0;
var left = 0;
while (ele.tagName != "BODY") {
top += ele.offsetTop;
left += ele.offsetLeft;
ele = ele.offsetParent;
}
return { top: top, left: left };
}
function abcd() {
TopLeft = getElementTopLeft("media.net sticky ad");
leftamt = TopLeft.top;
//leftamt -= 10;
}
window.onload = abcd;
window.onscroll = scrollFunction;
</script>
<?php require_once('./php/include/sub-category.html'); ?>
</section>
</section>
<div class="clr"></div>
<footer>
<div class="menu_bottom">
<a href="/about-us.html">
<h3>Abouts us</h3>
</a>
<a href="/contact-us.html">
<h3>Contact us</h3>
</a>
<a href="/privacy.html">
<h3>Privacy</h3>
</a>
</div>
<div class="croll">
<div class="big"><i class="icongec-backtop"></i></div>
<div class="small"><i class="icongec-backtop_mb"></i></div>
</div>
</footer>
</div>
</div>
</div>
<div id="off_light"></div>
<div class="clr"></div>
<div class="mask"></div>
<script type="text/javascript" src="<?=$base_url?>/js/files/combo.js"></script>
<script type="text/javascript" src="<?=$base_url?>/js/files/video.js"></script>
<script type="text/javascript" src="<?=$base_url?>/js/files/jquery.tinyscrollbar.min.js"></script>
<?php include('./php/include/footer.php')?>
<script type="text/javascript" src="<?=$base_url?>/js/files/jqueryTooltip.js"></script>
<script type="text/javascript">
$(".listing li[title]").tooltip({ offset: [10, 200], effect: 'slide', predelay: 300 }).dynamic({ bottom: { direction: 'down', bounce: true } });
</script>
<style type="text/css">
.hide {
display: none;
}
.anime_list_body,
.anime_list_body ul {
width: 100%;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
-mos-box-sizing: border-box;
}
.anime_list_body ul li,
.anime_list_body ul li a {
white-space: nowrap;
overflow: hidden;
padding-right: 10px;
display: block;
}
.anime_list_body {
padding: 14px 18px;
}
.anime_list_body ul li a {
line-height: 115%;
}
</style>
<script>
if (document.getElementById('scrollbar2')) {
$('#scrollbar2').tinyscrollbar();
}
</script>
</body>
</html>