This commit is contained in:
Naeltard 2016-01-22 19:22:19 +01:00
parent 176f536c92
commit 2e2b746506
8 changed files with 40 additions and 29 deletions

View File

@ -0,0 +1,10 @@
/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
Created on : 20.01.2016, 01:18:00
Author : Nael
*/

View File

@ -17,11 +17,8 @@ class default_page extends SYSTEM\PAGE\Page {
}
public function html($_escaped_fragment_ = NULL){
$vars = array();
$vars['js'] = '';
$vars['css'] = '';
if(!$_escaped_fragment_){
$vars['js'] = $this->js();
$vars['css'] = $this->css();}
$vars['js'] = $_escaped_fragment_ ? '' : self::js();
$vars['css'] = self::css();
$vars['IMG_PATH'] = SYSTEM\WEBPATH(new PPAGE(),'default_page/img/');
$vars['BT_PATH'] = SYSTEM\WEBPATH(new PPAGE(),'default_page/bootstrap/');
return SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'default_page/redestoff.tpl'), $vars);

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 KiB

View File

@ -1,3 +1,8 @@
$(document).ready(function() {
new SYSTEM('./api.php',1,'start');
//SYSTEM.back();
});
$(document).ready(function() {
$("#start_link").click(function(){
$("#midframe").load("./?page=start");

View File

@ -8,7 +8,7 @@
${js}
${css}
</head>
<body style="background: url(${IMG_PATH}affen_mid.jpg); background-attachment: fixed;">
<body style="">
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
@ -17,37 +17,36 @@
js.src = "//connect.facebook.net/de_DE/sdk.js#xfbml=1&version=v2.3";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div style="position: fixed; right: 5px; top: 20px;">
<div><a href="http://www.youtube.com/user/RedestoffMusik" target="_blank"><img src="${IMG_PATH}youtube_icon.png" width="60" /></a></div>
<br>
<div class="fb-like" data-href="https://www.facebook.com/Redestoff" data-layout="box_count" data-action="like" data-show-faces="false" data-share="false"></div>
</div>
<div class="row">
<img class="img-responsive" src="${IMG_PATH}redestoff_schrift.png" alt="redestoffmusik" style=""/>
<!--<div class="row" style="max-width: 1200px; margin: auto;">
</div>
</div>-->
<div class="row" style="max-width: 1200px; margin: auto; padding: 20px;">
<div class="row">
<nav class="navbar navbar-default" style="background: none; border: none">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<ul class="nav navbar-nav">
<li id="start_link"><a href="#" style="link-decoration: none; color: white; font-size: 18pt;">Gude</a></li>
<li id="download_link"><a href="#" style="link-decoration: none; color: white; font-size: 18pt;">Mucke</a></li>
<li id="videos_link"><a href="#" style="link-decoration: none; color: white; font-size: 18pt;">Media</a></li>
<li id="shop_link"><a href="#" style="link-decoration: none; color: white; font-size: 18pt;">Merch</a></li>
</ul>
</div>
</div>
</nav>
<div class="col-md-8">
<ul class="" style="padding-top: 10px;">
<li id="" style="display: inline-block;"><a href="#!start" style="link-decoration: none; font-size: 18pt; display: block; width: 6em;">Gude</a></li>
<li id="download_link" style="display: inline-block;"><a href="#" style="link-decoration: none; font-size: 18pt; display: block; width: 6em;"><span class="glyphicon glyphicon-cd"></span>&nbsp;Mucke</a></li>
<li id="videos_link" style="display: inline-block;"><a href="#" style="link-decoration: none; font-size: 18pt; display: block; width: 6em;"><span class="glyphicon glyphicon-eye-open"></span>&nbsp;Media</a></li>
<li id="shop_link" style="display: inline-block;"><a href="#" style="link-decoration: none; font-size: 18pt; display: block; width: 6em;"><span class="glyphicon glyphicon-heart"></span>&nbsp;Merch</a></li>
</ul>
</div>
<div class="col-md-4">
<img class="img-responsive" src="${IMG_PATH}redestoff_schrift.png" alt="redestoffmusik" style=""/>
</div>
</div>
<div id="midframe" class="row" style="padding: 20px;"></div>
</div>
<div id="footer" style="position: fixed; bottom: 0; text-align: center; width: 100%; background: #666666">
<div id="impressum_link"><a href="#" >Impressum</a></div>
</div>
<div style="position: fixed; right: 5px; bottom: 30px;">
<div><a href="http://www.youtube.com/user/RedestoffMusik" target="_blank"><img src="${IMG_PATH}youtube_icon.png" width="60" /></a></div>
<br>
<div class="fb-like" data-href="https://www.facebook.com/Redestoff" data-layout="box_count" data-action="like" data-show-faces="false" data-share="false"></div>
</div>
<script src="${BT_PATH}js/bootstrap.min.js"></script>
</body>
</html>

View File

@ -1,4 +1,4 @@
<div class="row" style="background: white;">
<div class="row" style="background: url(${IMG_PATH}affen_top.jpg);">
<div class="col-md-8">
<h3>YÜEAH!</h3>
<p>Willkommen auf der offiziellen Redestoff Fanpage. Hier findest du alle Releases kostenlos zum Download, unseren <a href="http://redestoff.spreadshirt.de/" target="blank">Merchshop</a>, und alles was sonst noch zu haben ist!</p>