2 require_once ("paths.php");
3 require_once ($smarty_path."Smarty.class.php");
4 require_once ("bweb.inc.php");
6 $smarty = new Smarty();
8 //require_once ("lang.php");
10 // Smarty configuration
11 $smarty->compile_check = true;
12 $smarty->debugging = false;
13 $smarty->force_compile = true;
15 $smarty->template_dir = "./templates";
16 $smarty->compile_dir = "./templates_c";
17 $smarty->config_dir = "./configs";
19 function Check( $support, $description, $error_message )
21 $result = $description . " </td>";
27 if( function_exists( 'gettext') )
31 if( function_exists( 'gd_info') )
35 if ( class_exists('DB') )
39 if ( is_writable( "./templates_c" ) )
44 $result .= "<td width='300'> </td> <td> <img width='25' src='style/images/s_ok.png' />";
46 $result .= "<td width='300'>$error_message</td> <td width='35'> <img width='30' src='style/images/s_error.gif' />";
50 $smarty->display('test.tpl');