redestoff dls

impressum still not working >x(
This commit is contained in:
Naeltard 2014-06-18 00:09:10 +02:00
parent a1ef3985a9
commit af80b35d61
8 changed files with 52 additions and 10 deletions

View File

@ -0,0 +1,6 @@
<?php
//SYSTEM\autoload::registerFolder(dirname(__FILE__).'/db/','DBD');
SYSTEM\autoload::registerFolder(dirname(__FILE__).'/tbl/','DBD');
//$autoload->registerFolder(dirname(__FILE__).'/tbl/definitions/','DBD\DEFINITIONS');
//$autoload->registerFolder(dirname(__FILE__).'/tbl/data/','DBD\DATA');
//$autoload->registerFolder(dirname(__FILE__).'/tbl/data_processed/','DBD\DATA_PROCESSED');

View File

@ -0,0 +1,6 @@
<?php
namespace DBD;
class locale_string extends \SYSTEM\DBD\system_locale_string {
const CATEGORY_REDESTOFF_TEXT = 43;
}

View File

@ -0,0 +1,10 @@
<?php
class default_impressum extends SYSTEM\PAGE\Page {
public function html() {
$vars["redestoff_impressum"] = \SYSTEM\locale::getStrings(\DBD\locale_string::CATEGORY_REDSTOFF_TEXT);
return SYSTEM\PAGE\replace::replaceFile(SYSTEM\SERVERPATH(new PPAGE(),'default_impressum/impressum.tpl'), $vars);
}
}

View File

@ -0,0 +1 @@
${redestoff_impressum}

View File

@ -0,0 +1,11 @@
$(document).ready(function() {
console.log("fu");
$("#impressum_link").click(function(){
console.log("bla");
$("#midframe").load("./?action=load&id=redestoff_impressum");
});
$("#test").click(function(){
console.log("bla");
$("#midframe").load("./?action=load&id=redestoff_impressum");
});
});

View File

@ -1,8 +1,14 @@
<?php
class default_page extends SYSTEM\PAGE\Page {
private function js(){
return '<script type="text/javascript" language="JavaScript" src="'.SYSTEM\WEBPATH(new PPAGE(),'default_page/default_page.js').'"></script>';
}
public function html(){
$vars = array();
$vars['js'] = $this->js();
$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);

View File

@ -3,8 +3,9 @@
<head>
<title>redestoff</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<meta charset="utf-8">
<link href="${BT_PATH}css/bootstrap.min.css" rel="stylesheet" media="screen">
${js}
</head>
<body style="background: url(${IMG_PATH}affen_mid.jpg);">
<div style="margin-left: auto; margin-right: auto; width: 1360px;"><img src="${IMG_PATH}redestoff_schrift.png" alt="redestoffmusik" style=""/></div>
@ -33,15 +34,15 @@
<div style="padding-left: 20px; margin-top: -20px;">
<!-- content -->
<div class="row" style="background: url(${IMG_PATH}mid_pic.png)no-repeat; background-position: -275px 28%; ">
<div class="span8" style="color: whitesmoke;">
<div class="row" id="midframe" style="background: url(${IMG_PATH}mid_pic.png)no-repeat; background-position: -275px 28%; ">
<div class="span8" id="test" style="color: whitesmoke;">
<h3>YÜEAH!</h3>
<p>Willkommen auf der nigelnagelneuen 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>
<h3>WARNUNG!</h3>
<p>Die hier zum Download angebotene Musik kann Eskalation, Aufstand und exzessiven Alkoholkonsum verursachen. Redestoff übernimmt keinerlei Verantwortung oder Haftung für Schäden, die mit dem Konsum der Musik in Verbindung stehen. </p>
</div>
<div class="span4" style="padding-top: 23px; padding-left: 36px;">
<iframe width="570" height="320" src="http://www.youtube.com/embed/kpavxOgpNkY?rel=0" frameborder="0" ></iframe>
<iframe width="570" height="320" src="//www.youtube.com/embed/Tef79-KSRKg" frameborder="0" ></iframe>
</div>
</div>
@ -68,7 +69,7 @@
<div class="hero-unit" style="background-color: black; margin-top: 0px; margin-left: 20px; padding:7px; width:150px; background: url(${IMG_PATH}affen_top.jpg);">
<img src="${IMG_PATH}EP_cover.jpg" width="200" height="150" />
<!-- <iframe width="200" height="150" src="http://www.youtube.com/embed/kpavxOgpNkY?rel=0" frameborder="0" ></iframe>-->
<div style="padding-top: 5px;"><a class="btn" style="font-size: 9px;" href="./api.php?call=files&cat=alben&id=Jonny Vicious - Flexibel im Niveau.zip">DOWNLOAD &raquo;</a>
<div style="padding-top: 5px;"><a class="btn" style="font-size: 9px;" href="./api.php?call=files&cat=alben&id=Scheiß_auf_die_Idioten.zip">DOWNLOAD &raquo;</a>
<img src="${IMG_PATH}LOGO2011!!!.png" width="30" height="30" style="margin-left: 23px;" />
</div>
</div>
@ -77,7 +78,7 @@
<div class="hero-unit" style="background-color: black; margin-top: 0px; margin-left: 20px; padding:7px; width:150px; background: url(${IMG_PATH}affen_top.jpg);">
<img src="${IMG_PATH}xmas_cover.jpg" width="200" height="150" />
<!-- <iframe width="200" height="150" src="http://www.youtube.com/embed/kpavxOgpNkY?rel=0" frameborder="0" ></iframe>-->
<div style="padding-top: 5px;"><a class="btn" style="font-size: 9px;" href="#">DOWNLOAD &raquo;</a>
<div style="padding-top: 5px;"><a class="btn" style="font-size: 9px;" href="./api.php?call=files&cat=alben&id=X-Mas_Sound.zip">DOWNLOAD &raquo;</a>
<img src="${IMG_PATH}LOGO2011!!!.png" width="30" height="30" style="margin-left: 23px;" />
</div>
</div>
@ -86,7 +87,7 @@
<div class="hero-unit" style="background-color: black; margin-top: 0px; margin-left: 20px; padding:7px; width:150px; background: url(${IMG_PATH}affen_top.jpg);">
<img src="${IMG_PATH}jonny vicious 2 front.jpg" width="200" height="150" />
<!-- <iframe width="200" height="150" src="http://www.youtube.com/embed/kpavxOgpNkY?rel=0" frameborder="0" ></iframe>-->
<div style="padding-top: 5px;"><a class="btn" style="font-size: 9px;" href="./api.php?call=files&cat=alben&id=Jonny Vicious - Flexibel im Niveau.zip">DOWNLOAD &raquo;</a>
<div style="padding-top: 5px;"><a class="btn" style="font-size: 9px;" href="./api.php?call=files&cat=alben&id=Flexibel_im_Niveau.zip">DOWNLOAD &raquo;</a>
<img src="${IMG_PATH}LOGO2011!!!.png" width="30" height="30" style="margin-left: 23px;" />
</div>
</div>
@ -95,7 +96,7 @@
<div class="hero-unit" style="background-color: black; margin-top: 0px; margin-left: 20px; padding:7px; width:150px; background: url(${IMG_PATH}affen_top.jpg);">
<img src="${IMG_PATH}REP_Cover.jpg" width="200" height="150" />
<!-- <iframe width="200" height="150" src="http://www.youtube.com/embed/kpavxOgpNkY?rel=0" frameborder="0" ></iframe>-->
<div style="padding-top: 5px;"><a class="btn" style="font-size: 9px;" href="#">DOWNLOAD &raquo;</a>
<div style="padding-top: 5px;"><a class="btn" style="font-size: 9px;" href="/.api.php?call=files&cat=alben&id=Redestoff_EP.zip">DOWNLOAD &raquo;</a>
<img src="${IMG_PATH}LOGO2011!!!.png" width="30" height="30" style="margin-left: 23px;" />
</div>
</div>
@ -112,7 +113,7 @@
<!-- footer-->
<div id="footer" style=" margin-top: -68px; margin-left: 25px;">
<p class="muted credit"><font size="1px" color="white"> Copyright by Redestoffmusik bitches</font></p>
<div id="impressum_link"><a href="#" >Impressum</a></div>
</div>
</div>

View File

@ -1,3 +1,4 @@
<?php
\SYSTEM\autoload::registerFolder(dirname(__FILE__),'');
\SYSTEM\autoload::registerFolder(dirname(__FILE__).'/default_page','');
\SYSTEM\autoload::registerFolder(dirname(__FILE__).'/default_page','');
\SYSTEM\autoload::registerFolder(dirname(__FILE__).'/default_impressum','');