db_connect_id){ die("Could not connect to the database");} //------------------------------------------- function install_smarty() { GLOBAL $smarty_base_dir,$_SERVER,$flder; $smarty = new Smarty(); if (substr($_SERVER["SCRIPT_NAME"],0,strlen("/".$flder."admin/"))=="/".$flder."admin/") { $smarty->template_dir =$_SERVER["DOCUMENT_ROOT"]."/".$flder."admin/tpl"; } else { $smarty->template_dir = $_SERVER["DOCUMENT_ROOT"].'/'.$flder.'/tpl'; } $smarty->compile_dir = $smarty_base_dir.'templates_c'; $smarty->cache_dir = $smarty_base_dir.'cache'; $smarty->config_dir = $smarty_base_dir.'configs'; $smarty->left_delimiter = ''; return $smarty; } //-------------------------------------------- ?>
Notice: Undefined index: q in /srv/files/www.daad.old/ic/tbilissi/func.php on line 373

Notice: Undefined index: q in /srv/files/www.daad.old/ic/tbilissi/func.php on line 374

Notice: Undefined index: print in /srv/files/www.daad.old/ic/tbilissi/func.php on line 373

Notice: Undefined index: print in /srv/files/www.daad.old/ic/tbilissi/func.php on line 374

Notice: Undefined variable: usefile in /srv/files/www.daad.old/ic/tbilissi/index.php on line 20

Notice: Undefined variable: db in /srv/files/www.daad.old/ic/tbilissi/index.php on line 21

Fatal error: Call to a member function sql_query() on a non-object in /srv/files/www.daad.old/ic/tbilissi/index.php on line 21