
14.05.2009, 01:01
|
|
Banned
Регистрация: 19.06.2006
Сообщений: 1,239
С нами:
10470131
Репутация:
142
|
|
Содержимое файла index.php:
PHP код:
<?php
require_once('inc/functions.php');
require('inc/languages.php');
require('Smarty.class.php');
$smarty=new Smarty;
$current_lang=set_lang();
$smarty->assign('lang',$lang[$current_lang]);
$loaded_ext = get_loaded_extensions(); foreach ($loaded_ext as $ext) $extensions.=$ext.', ';
$smarty->assign('extensions',$extensions);
if (((extension_loaded('mysqli')))&&(@mysqli_connect('localhost','user50','marta')))
$smarty->assign('password_status', false);
else
$smarty->assign('password_status', true);
$smarty->assign('php_version', phpversion());
$smarty->display('index.tpl');
?>
|
|
|