-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
52 lines (42 loc) · 1.69 KB
/
index.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
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<?php include("core/json.php");
if(file_exists("install.php")){
//header("Location: install.php");
}
if($skipindex == false){
}else{
header("Location: browse.php");
}
?>
<html>
<head>
<link rel="icon" href="<?php echo $logo; ?>">
<title><?php echo $name; ?> - homepage</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="js/bootstrap.min.js"></script>
</head>
<body height="100%" style="background-image: url('<?php echo $background; ?>'); background-repeat: no-repeat; width: 100%; overflow-x: hidden; background-size: cover;">
<div class="h-100 row align-items-center">
<div class="col">
<center>
<img src="<?php print($logo); ?>" height="100" width="100"></img><br/>
<h3><?php print($name); ?></h3>
<form action="search.php">
<div class="form-group">
<div class="col-3">
<a href="help.php">Help</a> <a href="browse.php">Browse</a> <a href="upload.php">Upload</a>
<input type="text" name="q" class="form-control input-sm" placeholder="Search..." />
</div>
</div>
</form>
</center>
</div>
</div>
<footer>
<center>© <?php print($copyright); ?></center>
</footer>
</body>
</html>