%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /data/www_bck/varak.net_bck/verify.varak.net/www/
Upload File :
Create Path :
Current File : //data/www_bck/varak.net_bck/verify.varak.net/www/index.php

<?php

//ob_start();
include "../bootstrap.php";

$action = isset($_GET['action']) ? $_GET['action'] : "index";
$id = isset($_GET['uuid']) ? $_GET['uuid'] : false;

$smarty->assign('uuid', $id);

$template = "index.tpl";
$cacheId = "";

switch($action)
{
    case 'index':
    {
        $template = "index.tpl";
        include "../app/index.php";
        break;
    }
    case 'match':
    {
        $template = "match.tpl";
        include "../app/match.php";
        break;
    }
    case 'match-shooter':
    {
        $template = "match-shooter.tpl";
        include "../app/match-shooter.php";
        break;
    }
    case 'import':
    {
        $template = "import.tpl";
        break;
    }
    case 'import-process':
    {
        include "../app/import-process.php";
        break;
    }



    default:
    {
        $template = "index.tpl";
        include "../app/index.php";
        break;
    }
}

$smarty->assign('queries', dibi::$numOfQueries);
$smarty->assign("queryTime", dibi::$totalTime);
if(trim($template))
    $smarty->display($template, $cacheId);

Zerion Mini Shell 1.0