index.php

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
<?php
define('SMARTY_DIR', './smarty/');
require_once(SMARTY_DIR. 'Smarty.class.php');
$smarty = new Smarty();
$mysql_db = mysql_connect('localhost', 'root', '', 'Track');
$smarty -> assign('title', 'Tracktors');
$smarty -> display('tpl.html');
?>