self closing input tags, fixes #22
remove aff.php file
add check_cmd() function