aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/index.php b/index.php
index a87f2c7..db372f3 100644
--- a/index.php
+++ b/index.php
@@ -1,21 +1,21 @@
<?php
require_once('smarty/Smarty.class.php');
-$titulo="YTLibre";
-$template= new Smarty();
-
-/* ---- ---- Variables ---- ---- */
-$template->assign("titulo", $titulo);
-
-/* ---- ---- CSS ---- ---- */
-
-$template->assign('styles', array('frond' => 'templates/css/frond.min.css',
- 'normalize' => 'templates/css/normalize.css')
-);
+$titulo="YTLibre";
/* ---- ---- ---- Generated ---- ---- ---- ---- */
-if (empty($_GET['link'])){
+if ( empty($_GET['link']) )
+{
+ $template= new Smarty();
+ /* ---- ---- Variables ---- ---- */
+ $template->assign("titulo", $titulo);
+ /* ---- ---- CSS ---- ---- */
+ $template->assign('styles', array('frond' => 'templates/css/frond.min.css',
+ 'normalize' => 'templates/css/normalize.css')
+ );
$template->display('templates/index.tpl');
-} else {
+}
+else
+{
/* ---- ---- video-generated ---- ---- */
require_once "tools/processor.php";
$video_decode = new Smarty();