english.inc.php3 <? $mailadd_text="if you are in our newsletter, you get an e-mail with informations about our homepage every month. just fill in the following form.<br>to unsubscribe click";
$remember_pass="please remember your password, otherwise, you can't delete your mailadress from the list"; $wrong_mail="you've entered a bad e-mail adress"; $admin_name="newsletter administration"; $program_name="newsletter-manager"; $admin_username="admin-username"; $admin_password="admin-password"; $send="submit"; $reset="reset"; $noaccess="access denied"; $send_mail="send a mail to the list"; $show_users="show/delete members"; $del_table="delete table $maillist_table"; $create_table="create table $maillist_table"; $cant_del_table="can't delete table $maillist_table"; $table_deleted="table $maillist_table has been deleted"; $headline_users="every user on one place:"; $prename="prename"; $database_error="error on database: $database_name"; $delete="delete"; $could_not_be_deleted="could not be deleted"; $has_been_deleted="has been deleted"; $topic="topic"; $message="message"; $send_error="send error"; $xxx_has_been_sent="the following has been sent"; $already_there="you are already in the list!!!"; $xxx_has_been_entered="the following has been entered"; $password="password"; $cant_find_entry="can't find entry!"; $isnt_in_db="$email is not entered in the database"; $error_del="error while trying to delete"; $entry_del="entry has been deleted"; $here="here"; $click=""; $all_fields_must_be_edited="error! all fields have to be filled in completely!"; ?>
tablecreator.php3 <?
include"layout.inc.php3"; include"config.inc.php3"; print_header("create table $maillist_table"); print_navbar(); $query="create table $maillist_table (name char (50) not null , vorname char (50) not null , email char (255) not null , pass char (10) not null , primary key (email), index (email), unique (email))";
mysql_db_query($database_name,$query,$conn) or die("could not create table"); echo"table /"$maillist_table/" has been created"; print_back(); print_footer(); ?>
if ($string=='add') { if($name&&$prename&&$email&&$pw) { $query="insert into $maillist_table(name,vorname,email,pass) values('$name','$vorname','$email','$pw')"; mysql_db_query($database_name,$query,$conn) or die("$already_there");