All mysql_-statments replaced by their corresponding mysqli_-statements
[cacert-devel.git] / pages / account / 8.php
1 <? /*
2 LibreSSL - CAcert web application
3 Copyright (C) 2004-2008 CAcert Inc.
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; version 2 of the License.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 */ ?>
18 <form method="post" action="account.php">
19 <table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper">
20
21 <tr>
22 <td colspan="2" class="title"><?=_("Please choose an authority email address")?></td>
23 </tr>
24 <? $tagged=0;
25 if(is_array($_SESSION['_config']['addy']))
26 foreach($_SESSION['_config']['addy'] as $add) { ?>
27 <tr>
28 <td class="DataTD" width="75"><input type="radio" name="authaddy" value="<?=$add?>"<? if($tagged == 0) { echo " checked=\"checked\""; $tagged = 1; } ?> /></td>
29 <td class="DataTD" width="175"><?=$add?></td>
30 </tr>
31 <? } ?>
32 <tr>
33 <td class="DataTD" colspan="2"><input type="submit" name="process" value="<?=_("Probe")?>"></td>
34 </tr>
35 </table>
36 <input type="hidden" name="csrf" value="<?=make_csrf('ctcinfo')?>" />
37 <input type="hidden" name="oldid" value="<?=$id?>" />
38 </form>