<commit_before><?php

$template->assign('PageTopic','Edit Account');

if(isset($_REQUEST['account_id']))
	SmrSession::updateVar('account_id',$_REQUEST['account_id']);
if(isset($_REQUEST['login']))
	SmrSession::updateVar('login',$_REQUEST['login']);
if(isset($_REQUEST['val_code']))
	SmrSession::updateVar('val_code',$_REQUEST['val_code']);
if(isset($_REQUEST['email']))
	SmrSession::updateVar('email',$_REQUEST['email']);
if(isset($_REQUEST['hofname']))
	SmrSession::updateVar('hofname',$_REQUEST['hofname']);
if(isset($_REQUEST['player_name']))
	SmrSession::updateVar('player_name',$_REQUEST['player_name']);

$account_id = $var['account_id'];
$login = $var['login'];
$val_code = $var['val_code'];
$email = $var['email'];
$hofName = $var['hofname'];
$player_name = $var['player_name'];<commit_msg>A nicer error message for MrSpock when he types a login name into the account id field :P<commit_after><?php

$template->assign('PageTopic','Edit Account');

if(isset($_REQUEST['account_id']))
	SmrSession::updateVar('account_id',$_REQUEST['account_id']);
if(isset($_REQUEST['login']))
	SmrSession::updateVar('login',$_REQUEST['login']);
if(isset($_REQUEST['val_code']))
	SmrSession::updateVar('val_code',$_REQUEST['val_code']);
if(isset($_REQUEST['email']))
	SmrSession::updateVar('email',$_REQUEST['email']);
if(isset($_REQUEST['hofname']))
	SmrSession::updateVar('hofname',$_REQUEST['hofname']);
if(isset($_REQUEST['player_name']))
	SmrSession::updateVar('player_name',$_REQUEST['player_name']);

if(!empty($var['account_id']) && !is_numeric($var['account_id']))
{
	create_error('Account ID must be a number');
}

$account_id = $var['account_id'];
$login = $var['login'];
$val_code = $var['val_code'];
$email = $var['email'];
$hofName = $var['hofname'];
$player_name = $var['player_name'];
{'fraction_non_alphanumeric': 0.23476802683063164, 'fraction_numerical': 0.0, 'mean_word_length': 14.565217391304348, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7365975', 'n_tokens_mistral': 589, 'n_tokens_neox': 589, 'n_words': 78}