define('SITE_LOCATION', '../../');
require_once '../../inc/const.inc.php';
require_once '../../inc/system.class.php';
require_once '../../inc/database.class.php';
require_once '../../template.php';
System::setDB(new MySQL(datos de mi bd));
System::setUser(new User($_GLOBAL['TABLES']['USERS'], 0, System::getDB()));
if (isset($_POST['install'])) {
$TABLE_PREPEND = TABLE_PREPEND;
$SITE_NAME = $_POST['site_name'];
$SITE_PAGE_TITLE = $_POST['site_page_title'];
$SITE_LOCATION = $_POST['site_location'];
$SITE_SUPPORT_EMAIL = $_POST['site_support_email'];
$SITE_REPLY_EMAIL = $_POST['site_reply_email'];
$SITE_SESSION_PREPEND = $_POST['site_session_prepend'];
$SITE_PAYPAL_EMAIL = $_POST['site_paypal_email'];
$SITE_PAYPAL_CALLBACK_URL = $_POST['site_paypal_callback_url'];
$SITE_PAYPAL_CHECKOUT_LOGO = $_POST['site_paypal_checkout_logo'];
$tables = array();
$tables[] = <<< MYSQL
CREATE TABLE `{$TABLE_PREPEND}admins` (
`id` int(3) NOT NULL auto_increment,
`user` varchar(100) NOT NULL,
`pass` varchar(100) NOT NULL,
`perms` tinyint(3) NOT NULL,
`activity` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
MYSQL;
$tables[] = <<< MYSQL
CREATE TABLE `{$TABLE_PREPEND}analyzer` (
`id` int(100) unsigned NOT NULL auto_increment,
`lid` int(100) unsigned NOT NULL,
`oid` int(100) unsigned NOT NULL COMMENT 'owner id',
`aid` int(100) unsigned NOT NULL,
Ect... ocupo ayuda, o devo crear las tablas una por una? son varias este solo es un ejemplo