Registration for DMN is free and simple! It is required to post comments, so that nasty evil spambots can keep away from ruining the comments pages!

Also, take note that we will never use your email address to send spam email. What is there to send, hot nude 0day XXX Doom porn? Are you freakish enough to be interested in that?

You sicko.

So register today and get exclusive rights that no wandering lurkers are entitled to!

", "\n", "\r", "|", "'", "\""); /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ END - END - END - END - END -- Do Not Edit Below ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ if ($register_level=="4") $level_mail="Commenter"; if ($register_level=="3") $level_mail="Journalist"; if ($register_level=="2") $level_mail="Editor"; if ($register_level=="1") $level_mail="Administrator"; error_reporting (E_ALL ^E_NOTICE); require_once("newsadmin/inc/functions.inc.php"); require_once("newsadmin/data/config.php"); if($action != "doregister"){ echoheader("user", "$level_mail Registration"); if ($email_password == "no") { $prompt_password = <<
Confirm Password:

HTML; } else { $prompt_password = ""; } echo<< Username:

$prompt_password Email:

Confirm Email:

Hide Email:

HTML; echofooter(); }else{ if($email_password == "yes"){ $regpassword = makeRandomPassword(); $confpassword = $regpassword; } if(!$regusername){ msg("error","Error !!!", "Username can not be blank"); } if(!$regpassword || !$confpassword || $regpassword != $confpassword) { msg("error","Error !!!", "Password can not be blank, both fields must match"); } if(!$regemail || !$confemail || $regemail != $confemail) { msg("error","Error !!!", "Email can not be blank, both fields must match"); } if(!preg_match("/^[\.A-z0-9_\-]+[@][A-z0-9_\-]+([.][A-z0-9_\-]+)+[A-z]{1,4}$/", $regemail)){ msg("error","Error !!!", "Invalid Email."); } for ($f = 0; $f <= sizeof($filter); $f++) { if (stristr($regusername, $filter[$f])) { msg("error","Error !!!", "Invalid Username."); } } for ($f = 0; $f <= sizeof($filter); $f++) { if (stristr($regpassword, $filter[$f])) { msg("error","Error !!!", "Invalid Password."); } } $add_time = time()+($config_date_adjust*60); if ($reghide=="on") { $hidemail="1"; } else { $hidemail="0"; } $all_users = file("newsadmin/data/users.db.php"); foreach($all_users as $null => $user_line) { $user_arr = explode("|", $user_line); if(stristr("|".$user_arr[2]."|", "|".$regusername."|")){ msg("error", "Error", "This username is already taken"); } if($email_multiple=="no" && stristr("|".$user_arr[5]."|", "|".$regemail."|")){ msg("error", "Error", "This email address is registered to another user!"); } } $users_file = fopen("newsadmin/data/users.db.php", "a"); fwrite($users_file, "$add_time|$register_level|$regusername|".md5($regpassword)."||$regemail|0|$hidemail||||||\n"); fclose($users_file); if ($email_password == "yes"){ cute_mail($regemail, "Registration at DMN", "$regusername, you have registered successfully. \n ---------- \n Your User Level is: $level_mail \n Your Password is: $regpassword \n You can change this once you login. \n ---------- \n You can login here: $config_http_script_dir/ \n Thank You for Registering!"); } if ($email_admin == "yes") { cute_mail($config_mail_admin_address, "New User: $regusername", "$regusername has registered on your CuteNews system. \n The address used to register was: $regemail \n To delete this user go to the following address: $config_http_script_dir/index.php?mod=editusers&action=dodeleteuser&id=$add_time"); } if (!isset($config_mail_admin_address) || $config_mail_admin_address == "") { $problem_contact = "our staff"; } else { $problem_contact = "".$email_admin_address.""; } if ($email_password == "yes"){ msg("user", "$level_mail Added", "You have successfully registered as \"$regusername\".
Your password has been emailed to \"$regemail\".
If this information is wrong or you do not recieve your password please contact deathz0r."); } else { msg("user", "$level_mail Added", "You have successfully registered as \"$regusername\".
Your password is \"$regpassword\".
Your email address is \"$regemail\".
If this information is wrong please contact deathz0r."); } } ?>