sql_tbl=$cms_obj->PrefixLangSufix ('metatags'); $sql_obj->sql_warunek = "WHERE id = 'homepage'"; $meta = $sql_obj->SqlPobierzDane(); $cms_obj->add_stats_page ('home',''); $newsletter_obj = new Newsletter($newsletter_conf); $newsletter_obj->templates_path='./class/newsletter/templates/'; $newsletter_obj->translation_path='./class/newsletter/translations/'; if ($cms_obj->VARS(cid)) { $newsletter_obj->email_authorize ($_GET[cid], $_GET[status]); } elseif ($cms_obj->VARS(submit_newsletter)) { $newsletter_obj->email_table_field[email] = $_POST[email]; $newsletter_obj->send_authorize_link=true; $newsletter_obj->group_tbl=array("1"); $newsletter_obj->email_add (); } include($_MY["TEMPLATE"]."index.tpl.php"); ?>