mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Started on main page
This commit is contained in:
103
index.php
103
index.php
@@ -4,59 +4,64 @@
|
||||
$list = explode("/", htmlspecialchars(strtolower($_SERVER["REQUEST_URI"])));
|
||||
if($list[1]==""||!isset($list[1])||count($list)<=1){$list="";include('php/nochan.php');die();}
|
||||
else $list=$list[1];
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://ogp.me/ns/fb#">
|
||||
<head>
|
||||
<?php include("php/header.php"); ?>
|
||||
<?php include("php/header.php"); ?>
|
||||
</head>
|
||||
<body>
|
||||
<div id="pBar"></div>
|
||||
<div id="sBar"></div>
|
||||
<div id="eBar"></div>
|
||||
<!--<div class="bgimage" id="bgimage"></div>-->
|
||||
<div class="top vcent centered">
|
||||
<div id="change" class="small">
|
||||
<div id="mobile-banner">
|
||||
<div class="inner"></div>
|
||||
<h3 id="innerTitle"><a href="/">Zöff</a>
|
||||
<br>
|
||||
<span id="innerChan"><?php echo(ucfirst($list));?></span>
|
||||
</h3>
|
||||
<div id="mobileTitle"></div>
|
||||
<!--<div id="viewers">2 viewers</div>-->
|
||||
</div>
|
||||
<a id="toptitle" href="/">Zöff</a>
|
||||
<div id="chan" class="chan" title="Show big URL" onclick="show()"><?php echo(ucfirst($list));?></div>
|
||||
<input id="search" name="v" title="Search for songs..." type="text" class="search_input innbox" spellcheck="false" placeholder="Search" onsubmit="null;" autocomplete="off"/>
|
||||
<div id="results"></div>
|
||||
<div class="main">
|
||||
<div id="player" class="ytplayer"></div>
|
||||
<div id="jplayer" class="jp"></div>
|
||||
<div class="playlist" >
|
||||
<div id="buttons" class="">
|
||||
<!--<a href="/php/admin.php?list=<?php echo $list; ?>" title="Channel settings" ><img src="/static/settings2.png" class="skip middle" alt="Settings"/></a>-->
|
||||
<img src="static/settings2.png" id="settings" class="skip middle" alt="Settings" title="Settings" onclick="admin();"/>
|
||||
<img src="static/skip.png" class="skip" alt="Skip" title="Skip" onclick="skip();">
|
||||
<header>
|
||||
<div class="navbar-fixed">
|
||||
<nav>
|
||||
<div class="nav-wrapper">
|
||||
<a href="//zoff.no" class="brand-logo hide-on-small-only">
|
||||
<img id="zicon" src="static/images/squareicon_small.png" alt="zöff" title="Zöff">
|
||||
</a>
|
||||
<div class="brand-logo center">
|
||||
<a href="zoff.no" class="hide-on-med-and-up">Zöff</a>
|
||||
<span class="hide-on-med-and-up">/</span>
|
||||
<span id="chan" class="chan" title="Show big URL" onclick="show()"><?php echo(ucfirst($list));?></span>
|
||||
</div>
|
||||
<form>
|
||||
<div class="input-field">
|
||||
<input id="search" type="search" required title="Search for songs..." spellcheck="false" placeholder="Search" onsubmit="null;" autocomplete="off">
|
||||
<label for="search"><i class="mdi-action-search"></i></label>
|
||||
<i class="mdi-navigation-close"></i>
|
||||
</div>
|
||||
</form>
|
||||
<ul id="nav-mobile" class="right">
|
||||
<li>
|
||||
<a href="#" id="settings" onclick="skip();">
|
||||
<i class="mdi-av-skip-next"></i>
|
||||
Skip
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" onclick="admin();">
|
||||
<i class="mdi-action-settings"></i>
|
||||
Settings
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="side-nav" id="mobile-demo">
|
||||
<li><a href="sass.html">Sass</a></li>
|
||||
<li><a href="components.html">Components</a></li>
|
||||
<li><a href="javascript.html">Javascript</a></li>
|
||||
<li><a href="mobile.html">Mobile</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
</div>
|
||||
<div class="result hiddenAdmin" id="adminPanel"><?php include("php/panel.php");?> </div>
|
||||
<form id="findform" onsubmit="return false;">
|
||||
<input id="findform-input" type="text" onsubmit="null;" placeholder="Search list..">
|
||||
<label id="numfound"></label>
|
||||
</form>
|
||||
<div id="playlist">
|
||||
<div id="wrapper">
|
||||
<img src="static/ajax-loader.gif" id="loading" alt="loading">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="controls"></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php include("php/footer.php"); ?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<main class="center-align container">
|
||||
<div class="section">
|
||||
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<?php include("php/footer.php"); ?>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user