-
Notifications
You must be signed in to change notification settings - Fork 23
/
home.php
291 lines (270 loc) · 15.2 KB
/
home.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
<?php require_once('./php/info.php'); ?>
<!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>Watch anime online, English anime online - <?=$website_name?></title>
<meta name="robots" content="index, follow" />
<meta name="description"
content="Watch anime online in English. You can watch free series and movies online and English subtitle.">
<meta name="keywords"
content="gogoanime,watch anime, anime online, free anime, english anime, sites to watch anime">
<meta itemprop="image" content="<?=$base_url?>/img/logo.png" />
<meta property="og:site_name" content="<?=$website_name?>" />
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="website" />
<meta property="og:title" content="<?=$website_name?> | Watch anime online, English anime online HD" />
<meta property="og:description"
content="Watch anime online in English. You can watch free series and movies online and English subtitle.">
<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="<?=$website_name?> | Watch anime online, English anime online HD" />
<meta property="twitter:description"
content="Watch anime online in English. You can watch free series and movies online and English subtitle." />
<link rel="canonical" href="<?=$base_url?>" />
<link rel="alternate" hreflang="en-us" href="<?=$base_url?>" />
<link rel="stylesheet" type="text/css" href="<?=$base_url?>/css/style.css" />
<script type="text/javascript" src="<?=$base_url?>/js/libraries/jquery.js"></script>
<script>
var base_url = 'http://' + 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=6.9"></script>
<?php require_once('./php/advertisments/popup.html'); ?>
</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">
<h1 class="seohiden">Gogoanime | Watch anime online, English anime online HD</h1>
<!-- Recent Release--->
<div class="main_body">
<div id="load_recent_release">
<input type="hidden" id="type" name="type" value="1" />
<div class="anime_name recent_release">
<i class="icongec-recent_release i_pos"></i>
<h2><a href="javascript:void(0)" class="dub active" rel="1">Recent Release</a> <span
style="padding:0 10px; color:#010101;">|</span> <a href="javascript:void(0)"
class="dub " rel="2">DUB</a><span class="chinese"
style="padding:0 10px; color:#010101;">|</span> <a href="javascript:void(0)"
class="dub chinese " rel="3">Chinese</a></h2>
<div class="anime_name_pagination intro">
<div class="pagination recent">
<ul class='pagination-list'>
<li class=selected><a href='?page=1' data-page='1'>1</a></li>
<li><a href='?page=2' data-page='2'>2</a></li>
<li><a href='?page=3' data-page='3'>3</a></li>
<li><a href='?page=4' data-page='4'>4</a></li>
<li><a href='?page=5' data-page='5'>5</a></li>
</ul>
</div>
</div>
</div>
<div class="last_episodes loaddub">
<ul class="items">
<?php
$json = file_get_contents("$apiLink/recent-release?type=1&page=1");
$json = json_decode($json, true);
foreach($json as $recentRelease) {
?>
<li>
<div class="img">
<a href="/<?=$recentRelease['episodeId']?>"
title="<?=$recentRelease['name']?>">
<img src="<?=$recentRelease['imgUrl']?>"
alt="<?=$recentRelease['name']?>" />
<div class="type ic-SUB"></div>
</a>
</div>
<p class="name"><a href="/<?=$recentRelease['episodeId']?>"
title="<?=$recentRelease['name']?>"><?=$recentRelease['name']?></a></p>
<p class="episode">Episode <?=$recentRelease['episodeNum']?></p>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>
<div class="clr"></div>
<!--/ Recent Release--->
<!-- Featured Comedy / Romance Anime--->
<div class="main_body">
<div id="load_popular_ongoing">
</div>
</div>
<div class="clr"></div> <!-- /Featured Comedy / Romance Anime--->
<!-- Recently Added Series--->
<div class="main_body none">
<div class="anime_name added_series">
<i class="icongec-added_series i_pos"></i>
<h2>Recently Added Series</h2>
</div>
<div class="added_series_body final">
<ul class="listing">
<?php
$json = file_get_contents("$apiLink/getRecentlyAdded?page=1");
$json = json_decode($json, true);
foreach(array_slice($json, 0, 20) as $recentlyAdded) {
?>
<li>
<a href="<?=$recentlyAdded['animeId']?>" title="<?=$recentlyAdded['animeName']?>"><?=$recentlyAdded['animeName']?></a>
</li>
<?php } ?>
</ul>
</div>
</div>
<!-- / Recently Added Series--->
</section>
<section class="content_right">
<div class="headnav_center"></div>
<div class="main_body">
<div class="main_body_black">
<div class="anime_name anime_info">
<i class="icongec-anime_info i_pos"></i>
<div class="topview">
<div class="tab">
<div class="tab_icon one1" onclick="loadTopViews(this, 1)">Day</div>
<div class="tab_icon one2" onclick="loadTopViews(this, 2)">Week</div>
<div class="tab_icon one3" onclick="loadTopViews(this, 3)">Month</div>
</div>
</div>
</div>
<div class="topview" id="load-anclytic">
<div class="clr"></div>
<div class="movies_show">
<div id="laoding">
<div class="loaders"></div>
</div>
<div id="load_topivews" class="views1"></div>
<div id="load_topivews" class="views2"></div>
<div id="load_topivews" class="views3"></div>
</div>
<div class="clr"></div>
</div>
</div>
</div>
<div class="clr"></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>ongoing series</h2>
</div>
<div class="series">
<!-- 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">
<nav class="menu_series cron">
<ul>
<?php
$json = file_get_contents("$apiLink/getOngoingSeries");
$json = json_decode($json, true);
foreach($json as $ongoingSeries) {
?>
<li>
<a href="<?=$ongoingSeries['animeId']?>"
title="<?=$ongoingSeries['animeName']?>"><?=$ongoingSeries['animeName']?></a>
</li>
<?php } ?>
</ul>
</nav>
</div>
</div>
</div>
<!-- tao thanh cuon 1-->
</div>
</div>
</div>
<style type="text/css">
#scrollbar2 .viewport {
height: 600px !important;
}
</style>
<div class="main_body">
<div class="main_body_black">
<div class="anime_name genre">
<i class="icongec-genre i_pos"></i>
<h2>Genres</h2>
</div>
<div class="recent">
<nav class="menu_series genre right">
<?php require_once('./php/include/sidebar_genre.htm'); ?>
</nav>
</div>
</div>
</div>
<?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="https://anikatsu.ga/files/js/video.js"></script>
<script type="text/javascript" src="<?=$base_url?>/js/files/jquery.tinyscrollbar.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$('.btn-notice').click(function (e) {
$('.bg-notice').hide();
$(this).hide();
});
});
</script>
<style type="text/css">
@media only screen and (min-width: 387px) {
.btn-notice {bottom:36px;}
}
@media only screen and (max-width: 386px) {
.btn-notice {bottom: 52px;}
}
</style>
<div class="bg-notice" style="position:fixed;z-index:9999;background:#ffc119;bottom:0;text-align:center;color:#000;width:100%;padding:10px 0;font-weight:600;">We moved site to <a href="<?=$base_url?>" title="<?=$base_url?>" alt="Gogoanime"><?=$base_url?></a>. Please bookmark new site. Thank you!</div><div class="btn-notice" style="position:fixed;z-index:9999;background:#00a651;color:#fff;cursor:pointer;right:0;padding:3px 8px;">x</div>
<script>
LoadFilmOngoing(1);
</script>
<script>
if (document.getElementById('scrollbar2')) {
$('#scrollbar2').tinyscrollbar();
}
</script>
</body>
</html>