= (time() - ($session_config['login_reset_time'] * 60)) && $user['u_login_tries'] >= $session_config['max_login_attempts']) { send_error('Login attempts exceeded. Try to log in in '.$session_config['login_reset_time'].' minutes.'); } // if the user is created by the admin if ($user['u_pwd']=='' && $user['u_id']!=ANONYMOUS) { send_error("You are not registered yet. Enter all the required login and sentence information to register and submit a new sentence at once."); } if( md5($pwd) == $user['u_pwd']/* && $user['user_active']*/ ) { $autologin = ( isset($HTTP_POST_VARS['autologin']) ) ? TRUE : 0; $admin = (isset($HTTP_POST_VARS['admin'])) ? 1 : 0; $userdata = session_begin($user['u_id'], $user_ip, 0, FALSE, $autologin, $admin); // Reset login tries mysql_query('UPDATE ' . USERS_TABLE . ' SET u_login_tries = 0, u_last_login_try = 0 WHERE u_id = ' . $user['u_id']); if( !$userdata ) send_error("Couldn't start session : login"); } else { // Save login tries and last login if ($user['u_id'] != ANONYMOUS) { $sql = 'UPDATE ' . USERS_TABLE . ' SET u_login_tries = u_login_tries + 1, u_last_login_try = ' . time() . ' WHERE u_id = ' . $user['u_id']; mysql_query($sql); } send_error("Your password is incorrect or your name was already used by another contributor."); } } else { send_error("You are not registered yet. Enter all the required login and sentence information to register and submit a new sentence at once."); } } ?>

this will be shown, it is your login for future submissions

 

Make up any password and remember it for future submissions.