Delete index.php
This commit is contained in:
parent
897244542c
commit
842366141c
42
index.php
42
index.php
@ -1,42 +0,0 @@
|
||||
<?php
|
||||
//General Config File:
|
||||
require_once(__DIR__.'/assets/php/config.php');
|
||||
|
||||
//Promotions:
|
||||
include_once(__DIR__.'/assets/php/includes/promotion_dao.php');
|
||||
|
||||
$promotionsDAO = new Promotion_DAO("complucine");
|
||||
$promotions = $promotionsDAO->allPromotionData();
|
||||
foreach($promotions as $key=>$value){
|
||||
$promotions_img[$key] = $value->getImg();
|
||||
}
|
||||
|
||||
//Page-specific content:
|
||||
$section = '<!-- Undercard -->
|
||||
<section id="cartelera">
|
||||
<div class="row">
|
||||
<div class="code">
|
||||
'.$template->print_fimls().'
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section id="promociones" class="row">
|
||||
<div class="code">
|
||||
<h2>Promociones</h2>
|
||||
<section class="promotions">
|
||||
<button id="retroceder">⏪</button>
|
||||
<a href="promotions/" class="imagen"></a>
|
||||
<button id="avanzar">⏩</button>
|
||||
</section>
|
||||
<section class="controls">
|
||||
<button id="play">▶</button>
|
||||
<button id="stop" disabled>⏸</button>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
';
|
||||
$section.="<input type='hidden' id='promotions' value='".json_encode($promotions_img)."' />";
|
||||
|
||||
//General page content:
|
||||
require RAIZ_APP.'/HTMLtemplate.php';
|
||||
?>
|
Loading…
Reference in New Issue
Block a user