예제 #1
0
파일: init.php 프로젝트: nekleenov/sampucp
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();
}