Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
genolith committed Apr 1, 2023
0 parents commit c39a685
Show file tree
Hide file tree
Showing 51 changed files with 7,149 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(([A-Za-z0-9\-]+/)*[A-Za-z0-9\-]+)?$ $1.php

RewriteRule ^anime/([a-zA-Z0-9-=_]+) animeDetails.php
RewriteRule ^watch/([a-zA-Z0-9-=_]+) streaming.php

RewriteRule ^sub-category/([a-zA-Z0-9-=_]+) sub-category/id.php
RewriteRule ^genre/([a-zA-Z0-9-=_]+) genre/id.php
RewriteRule ^az-list/([A-Z]) az-list/id.php


RewriteRule ^sitemaps/recentCN-sitemap.xml sitemaps/recentCN-sitemap.php
RewriteRule ^sitemaps/recentDUB-sitemap.xml sitemaps/recentDUB-sitemap.php
RewriteRule ^sitemaps/recentSUB-sitemap.xml sitemaps/recentSUB-sitemap.php
RewriteRule ^sitemaps/ongoing-sitemap.xml sitemaps/ongoing-sitemap.php
RewriteRule ^sitemaps/allanime-sitemap.xml sitemaps/allanime-sitemap.php
RewriteRule ^sitemaps/sitemap.xml sitemaps/sitemap.php
RewriteRule ^sitemap.xml sitemap.php

ErrorDocument 404 /404.php
31 changes: 31 additions & 0 deletions _config.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php

$websiteTitle = "AnimeZia"; // Website Name
$websiteUrl = "//{$_SERVER['SERVER_NAME']}"; // Website URL
$websiteLogo = "https://cdnzia.pages.dev/images/logo.webp"; // Logo
$websiteLogo2 = "https://cdnzia.pages.dev/images/logo2.webp";
$contactEmail = "[email protected]"; // Contact Email


//Donate
$donate = "https://www.ko-fi.com/warlords";

// Socials
$telegram = "https://telegram.me/anime_complex"; // telegram
$discord = "#"; // Discord
$redit = "#"; // Reddit
$twitter = "#"; // Twitter



$disqus = "https://watchzia.disqus.com"; // Disqus

$cdn = "https://cdnzia.pages.dev"; // cdn repo https://github.com/warlordsnet/cdnzia

// API URL
$api ="https://animezia.onrender.com"; // api repo https://github.com/warlordsnet/zia-api

//$ani = "https://api.consumet.org";

$banner = "https://cdnzia.pages.dev/images/banner.webp"; //Banner
?>
4 changes: 4 additions & 0 deletions _php/ads/300x250.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<!--REPLACE YOUR AD CODE------->
<div class="mba-block" style="display: block; text-align: center; margin: 1rem 0;">

</div>
3 changes: 3 additions & 0 deletions _php/ads/728x90.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div class="mba-block" style="display: block; text-align: center; margin: 1rem 0;">

</div>
189 changes: 189 additions & 0 deletions _php/anime-featured.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
<div class="container">
<div class="anif-blocks">
<div class="row">
<div class="col-xl-3 col-lg-6 col-md-6 col-sm-12 col-xs-12">
<div class="anif-block anif-block-01">
<div class="anif-block-header">Fall</div>
<div class="anif-block-ul">
<ul class="ulclear">
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "$api/season/fall-2021-anime");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: application/json"));
$response = curl_exec($ch);
$json = json_decode($response, true);
//$json = file_get_contents("$api/season/fall-2021-anime");
//$json = json_decode($json, true);
foreach((array) array_slice($json, 0, 5) as $fallAnime) { ?>
<li>
<div class="film-poster">
<img class="film-poster-img ls-is-cached lazyloaded"
data-src="<?=$fallAnime['imgUrl']?>"
alt="<?=$fallAnime['animeTitle']?>"
src="<?=$fallAnime['imgUrl']?>"
title="<?=$fallAnime['animeTitle']?>">
</div>
<div class="film-detail">
<h3 class="film-name">
<a class="dynamic-name"
href="/anime/<?=$fallAnime['animeId']?>"
title="<?=$fallAnime['animeTitle']?>"
data-jname="<?=$fallAnime['animeTitle']?>"><?=$fallAnime['animeTitle']?></a>
</h3>
<div class="fd-infor">
<span class="fdi-item">Fall 2021 </span>
</div>
</div>
<div class="clearfix"></div>
</li>
<?php } curl_close($ch); ?>
</ul>
<div class="clearfix"></div>
</div>
<div class="more"><a href="/sub-category/fall-2021-anime">View more <i
class="fas fa-angle-right ml-2"></i></a></div>
</div>
</div>
<div class="col-xl-3 col-lg-6 col-md-6 col-sm-12 col-xs-12">
<div class="anif-block anif-block-01">
<div class="anif-block-header">Summer</div>
<div class="anif-block-ul">
<ul class="ulclear">
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "$api/season/summer-2021-anime");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: application/json"));
$response = curl_exec($ch);
$json = json_decode($response, true);
// $json = file_get_contents("$api/season/summer-2021-anime");
// $json = json_decode($json, true);
foreach((array) array_slice($json, 0, 5) as $fallAnime) { ?>
<li>
<div class="film-poster">
<img class="film-poster-img ls-is-cached lazyloaded"
data-src="<?=$fallAnime['imgUrl']?>"
alt="<?=$fallAnime['animeTitle']?>"
src="<?=$fallAnime['imgUrl']?>"
title="<?=$fallAnime['animeTitle']?>">
</div>
<div class="film-detail">
<h3 class="film-name">
<a class="dynamic-name"
href="/anime/<?=$fallAnime['animeId']?>"
title="<?=$fallAnime['animeTitle']?>"
data-jname="<?=$fallAnime['animeTitle']?>"><?=$fallAnime['animeTitle']?></a>
</h3>
<div class="fd-infor">
<span class="fdi-item">Summer 2021 </span>
</div>
</div>
<div class="clearfix"></div>
</li>
<?php } curl_close($ch); ?>
</ul>
<div class="clearfix"></div>
</div>
<div class="more"><a href="/sub-category/summer-2021-anime">View more <i
class="fas fa-angle-right ml-2"></i></a></div>
</div>
</div>
<div class="col-xl-3 col-lg-6 col-md-6 col-sm-12 col-xs-12">
<div class="anif-block anif-block-04">
<div class="anif-block-header">Spring</div>
<div class="anif-block-ul">
<ul class="ulclear">
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "$api/season/spring-2021-anime");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: application/json"));
$response = curl_exec($ch);
$json = json_decode($response, true);
//$json = file_get_contents("$api/season/spring-2021-anime");
// $json = json_decode($json, true);
foreach((array) array_slice($json, 0, 5) as $fallAnime) { ?>
<li>
<div class="film-poster">
<img class="film-poster-img ls-is-cached lazyloaded"
data-src="<?=$fallAnime['imgUrl']?>"
alt="<?=$fallAnime['animeTitle']?>"
src="<?=$fallAnime['imgUrl']?>"
title="<?=$fallAnime['animeTitle']?>">
</div>
<div class="film-detail">
<h3 class="film-name">
<a class="dynamic-name"
href="/anime/<?=$fallAnime['animeId']?>"
title="<?=$fallAnime['animeTitle']?>"
data-jname="<?=$fallAnime['animeTitle']?>"><?=$fallAnime['animeTitle']?></a>
</h3>
<div class="fd-infor">
<span class="fdi-item">Spring 2021 </span>
</div>
</div>
<div class="clearfix"></div>
</li>
<?php } curl_close($ch); ?>
</ul>
<div class="clearfix"></div>
</div>
<div class="more">
<a href="/sub-category/spring-2021-anime">View more <i
class="fas fa-angle-right ml-2"></i></a>
</div>
</div>
</div>
<div class="col-xl-3 col-lg-6 col-md-6 col-sm-12 col-xs-12">
<div class="anif-block anif-block-01">
<div class="anif-block-header">Winter</div>
<div class="anif-block-ul">
<ul class="ulclear">
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "$api/season/winter-2022-anime");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: application/json"));
$response = curl_exec($ch);
$json = json_decode($response, true);
// $json = file_get_contents("$api/season/winter-2022-anime");
// $json = json_decode($json, true);
foreach((array) array_slice($json, 0, 5) as $fallAnime) { ?>
<li>
<div class="film-poster">
<img class="film-poster-img ls-is-cached lazyloaded"
data-src="<?=$fallAnime['imgUrl']?>"
alt="<?=$fallAnime['animeTitle']?>"
src="<?=$fallAnime['imgUrl']?>"
title="<?=$fallAnime['animeTitle']?>">
</div>
<div class="film-detail">
<h3 class="film-name">
<a class="dynamic-name"
href="/anime/<?=$fallAnime['animeId']?>"
title="<?=$fallAnime['animeTitle']?>"
data-jname="<?=$fallAnime['animeTitle']?>"><?=$fallAnime['animeTitle']?></a>
</h3>
<div class="fd-infor">
<span class="fdi-item">Winter 2022</span>
</div>
</div>
<div class="clearfix"></div>
</li>
<?php } curl_close($ch); ?>
</ul>
<div class="clearfix"></div>
</div>
<div class="more"><a href="/sub-category/winter-2022-anime">View more <i
class="fas fa-angle-right ml-2"></i></a></div>
</div>
</div>
<div class="clearfix"></div>
</div>
</div>
</div>
14 changes: 14 additions & 0 deletions _php/disqus.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<div class="show-comments">
<div id="disqus_thread"></div>
<script>
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = 'https://watchzia.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<script id="dsq-count-scr" src="https://watchzia.disqus.com/count.js" async></script>
</div>
<script id="dsq-count-scr" src="//watchzia.disqus.com/count.js" async></script>
104 changes: 104 additions & 0 deletions _php/footer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
<div id="footer"
data-settings='{"auto_play":1,"auto_next":1,"auto_load_comments":0,"enable_dub":0,"anime_name":"jp","play_original_audio":0}'>
<div id="footer-about">
<div class="container">
<div class="footer-top">
<a href="/" class="footer-logo">
<img src="<?=$cdn?>/images/logo.webp" alt="AnimeZia">
<div class="clearfix"></div>
</a>
<div class="footer-joingroup">
<div class="zoro-group">
<div class="zrg-title"><span class="top">Join now</span><span class="bottom">AnimeZia
Groups</span></div>
<div class="zrg-list">
<div class="item"><a target="_blank" href="<?=$websiteUrl?>/donate" class="zr-social-button tl-btn"><i
class="fas fa-donate"></i></a></div>
<div class="item"><a href="<?=$telegram?>" target="_blank" class="zr-social-button dc-btn"><i
class="fab fa-telegram"></i></a></div>
<div class="item"><a href="<?=$discord?>" target="_blank"
class="zr-social-button dc-btn"><i class="fab fa-discord"></i></a></div>
<div class="item"><a href="<?=$redit?>" target="_blank" class="zr-social-button rd-btn"><i
class="fab fa-reddit-alien"></i></a></div>
</div>
<div class="clearfix"></div>
</div>
</div>
<div class="clearfix"></div>
</div>
<div class="footer-az">
<div class="block mb-3">
<span class="ftaz">A-Z LIST</span>
<span class="size-s">Searching anime order by alphabet name A to Z.</span>
</div>
<ul class="ulclear az-list">
<li><a href="/anime">All</a></li>
<li><a href="<?=$websiteUrl?>/az-list/A">A</a>
</li>
<li><a href="<?=$websiteUrl?>/az-list/B">B</a>
</li>
<li><a href="<?=$websiteUrl?>/az-list/C">C</a>
</li>
<li><a href="<?=$websiteUrl?>/az-list/D">D</a>
</li>
<li><a href="<?=$websiteUrl?>/az-list/E">E</a>
</li>
<li><a href="<?=$websiteUrl?>/az-list/F">F</a>
</li>
<li><a href="<?=$websiteUrl?>/az-list/G">G</a>
</li>
<li><a href="<?=$websiteUrl?>/az-list/H">H</a>
</li>
<li><a href="<?=$websiteUrl?>/az-list/I">I</a>
</li>
<li><a href="<?=$websiteUrl?>/az-list/J">J</a>
</li>
<li><a href="<?=$websiteUrl?>/az-list/K">K</a>
</li>
<li><a href="<?=$websiteUrl?>/az-list/L">L</a>
</li>
<li><a href="<?=$websiteUrl?>/az-list/M">M</a>
</li>
<li><a href="<?=$websiteUrl?>/az-list/N">N</a>
</li>
<li><a href="<?=$websiteUrl?>/az-list/O">O</a>
</li>
<li><a href="<?=$websiteUrl?>/az-list/P">P</a>
</li>
<li><a href="<?=$websiteUrl?>/az-list/Q">Q</a>
</li>
<li><a href="<?=$websiteUrl?>/az-list/R">R</a>
</li>
<li><a href="<?=$websiteUrl?>/az-list/S">S</a>
</li>

<li><a href="<?=$websiteUrl?>/az-list/T">T</a>
</li>
<li><a href="<?=$websiteUrl?>/az-list/U">U</a>
</li>
<li><a href="<?=$websiteUrl?>/az-list/V">V</a>
</li>
<li><a href="<?=$websiteUrl?>/az-list/W">W</a>
</li>
<li><a href="<?=$websiteUrl?>/az-list/X">X</a>
</li>
<li><a href="<?=$websiteUrl?>/az-list/Y">Y</a>
</li>
<li><a href="<?=$websiteUrl?>/az-list/Z">Z</a>
</li>
</ul>
<div class="clearfix"></div>
</div>
<div class="footer-links">
<ul class="ulclear">
<li><a href="<?=$websiteUrl?>/terms" title="Terms of service">Terms of service</a></li>
<li><a href="<?=$websiteUrl?>/dmca" title="DMCA">DMCA</a></li>
</ul>
<div class="clearfix"></div>
</div>
<div class="about-text">AnimeZia does not store any files on our server, we only share link to the
media which is hosted on 3rd party services.</div>
<p class="copyright">Served with <i class="fas fa-heart"></i> AnimeZia 2023. Frontend by Otakatsu</p>
</div>
</div>
</div>
Loading

0 comments on commit c39a685

Please sign in to comment.