2) $account_id = argv(2); $x = q("select * from account where account_id = %d limit 1", intval($account_id) ); if(! $x) { notice ( t('Account not found.') . EOL); return ''; } $a = replace_macros(get_markup_template('admin_account_edit.tpl'), [ '$account' => $x[0], '$title' => t('Account Edit'), '$pass1' => [ 'pass1', t('New Password'), ' ','' ], '$pass2' => [ 'pass2', t('New Password again'), ' ','' ], '$submit' => t('Submit'), ] ); return $a; } }