<?php
/***********************************************************************
Copyright (c) 2011, Andrew V. Pleshakov (hide@address.com)
All rights reserved.
This file is part of SPA (SQLite PHP Admin)
See file LICENSE.txt for details
************************************************************************/
require_once('include.php');
$ar['main'] = 'main.php';
if(isset($_GET['bd']))
$ar['main'] = 'dbase.php';
if(isset($_GET['tb']))
$ar['main'] = 'dbase.php?object='.urlencode($_GET['tb']);
die(design_render('index',$ar));