<?
if(file_exists("include/config.php")){
include("include/config.php");
include("include/db/db_".$db_type.".inc.php");
}
include("include/lib/libconfig.php");
include("include/interface.php");
include("include/lib/libnewsletter.php");
include("admin/include/function.php");
html_header("phpMyNewsletter");
if(file_exists("include/config.php")){
print newsletter_list(null, true);
} else {
// in this case dberror() is not defined anywhere
// so let's add a dumb function
function dberror(){};
include "include/lang/english.php";
echo error_msg(translate("NEWSLETTER_NOT_YET"));
}
html_footer();
?>
Partager