-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.php
More file actions
72 lines (61 loc) · 1.58 KB
/
index.php
File metadata and controls
72 lines (61 loc) · 1.58 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?php
define('CORE', true);
require_once('libs/lib.php');
@include('config.php');
defined('CONFIG') or setup();
clean_token();
clean_add_token();
ob_start();
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="design/default.css" media="screen,projection" />
<link rel="alternate" type="application/rss+xml" title="<?php display($config['team']); ?> Releases RSS Feed" href="rss.xml" />
<link rel="shortcut icon" href="design/favicon.ico" />
<title>Portal Rilisan <?php display($config['team']); ?></title>
</head>
<body>
<div id="contentwrapper">
<div id="banner">
<img src="<?php echo(get_banner()); ?>" alt="Banner" />
</div>
<div id="menu">
<ul>
<li><a href="index.php?crk=releases&spg=1">Rilisan Terbaru</a></li>
<li><a href="index.php?crk=search">Search Anime</a></li>
<li><a href="index.php?crk=about">Tentang <?php display($config['accro']); ?></a></li>
<li><a href="rss.xml" target="_blank">RSS</a></li>
<li><a href="acp.php">Staff Only *</a></li>
</ul>
</div>
<div id="maincontent">
<?php
if(!empty($_GET['crk']))
{
$page = clean_var($_GET['crk']);
if (pageExists($page))
{
require_once('portail/' . $page . '.php');
}
else
{
require_once('bugslogger.php');
}
}
else
{
require_once('portail/releases.php');
}
?>
</div>
<div id="footer">
<p>Portal Rilisan <?php display($config['team']); ?> v1.0.0</p>
<p>© <?php display(date('Y') . ' ' . $config['team']); ?></p>
</div>
</div>
</body>
</html>
<?php
ob_end_flush();