Example #1
0
function mysql_errors($description)
{
    $tpl = new Template();
    $tpl->dir = ROOT_DIR . "/templates/";
    $tpl->load_template('mysql.tpl');
    $tpl->set('{THEME}', $templates);
    $tpl->set('{description}', charset_x_win($description));
    $tpl->compile('mysql_errors');
    eval(' ?' . '>' . $tpl->result['mysql_errors'] . '<' . '?php ');
    $tpl->global_clear();
}