modified downloads

This commit is contained in:
Naeltard 2014-06-15 23:41:14 +02:00
parent 7f4c455f0e
commit cdec11aa8f
3 changed files with 17 additions and 3 deletions

13
api.php Normal file
View File

@ -0,0 +1,13 @@
<?php
require_once 'system/autoload.inc.php'; //SYSTEM Classes
\SYSTEM\system::register_errorhandler_dbwriter();
\SYSTEM\system::register_errorhandler_jsonoutput();
require_once 'redestoff/autoload.inc.php'; //Project Classes
require_once 'config.php';
\SYSTEM\system::start($redestoff_config);
\SYSTEM\system::include_ExceptionShortcut();
\SYSTEM\system::include_ResultShortcut();
echo \SYSTEM\API\api::run('\SYSTEM\API\verify','\SYSTEM\API\api_system',array_merge($_POST,$_GET));
new \SYSTEM\LOG\COUNTER("API was called sucessfully.");

View File

@ -1,4 +1,5 @@
<?php
require_once dirname(__FILE__).'/path/register_path_classes.php';
require_once dirname(__FILE__).'/page/register_page_classes.php';
require_once dirname(__FILE__).'/page/register_page_classes.php';
require_once dirname(__FILE__).'/files/register_files.php';

View File

@ -78,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}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="http://www.tinyurl.com/Flexibel-im-Niveau">DOWNLOAD &raquo;</a>
<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>
<img src="${IMG_PATH}LOGO2011!!!.png" width="30" height="30" style="margin-left: 23px;" />
</div>
</div>
@ -96,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}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="#">DOWNLOAD &raquo;</a>
<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>
<img src="${IMG_PATH}LOGO2011!!!.png" width="30" height="30" style="margin-left: 23px;" />
</div>
</div>