Alternc  3.2
Alternc logiel libre pour l'h├ębergement
 All Data Structures Namespaces Files Functions Variables Pages
mem_cm.php
Go to the documentation of this file.
1 <?php
2 /*
3  $Id: mem_cm.php,v 1.6 2004/11/29 17:27:04 anonymous Exp $
4  ----------------------------------------------------------------------
5  AlternC - Web Hosting System
6  Copyright (C) 2002 by the AlternC Development Team.
7  http://alternc.org/
8  ----------------------------------------------------------------------
9  Based on:
10  Valentin Lacambre's web hosting softwares: http://altern.org/
11  ----------------------------------------------------------------------
12  LICENSE
13 
14  This program is free software; you can redistribute it and/or
15  modify it under the terms of the GNU General Public License (GPL)
16  as published by the Free Software Foundation; either version 2
17  of the License, or (at your option) any later version.
18 
19  This program is distributed in the hope that it will be useful,
20  but WITHOUT ANY WARRANTY; without even the implied warranty of
21  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22  GNU General Public License for more details.
23 
24  To read the license please visit http://www.gnu.org/copyleft/gpl.html
25  ----------------------------------------------------------------------
26  Original Author of file: Benjamin Sonntag
27  Purpose of file: Change the email of a member step 2.
28  ----------------------------------------------------------------------
29 */
30 
31 require_once("../class/config_nochk.php");
32 include_once("head.php");
33 
34 $fields = array (
35  "usr" => array ("request", "integer", 0),
36  "cookie" => array ("request", "string", ""),
37  "cle" => array("request","string",""),
38 );
40 
41 ?>
42 <h3><?php __("Change the email of the account"); ?></h3>
43 <?php
44 if (isset($error) && $error) {
45  echo "<p class=\"alert alert-danger\">$error</p>";
46  include_once("foot.php");
47  exit();
48  }
49 ?>
50 <form method="post" action="mem_cm2.php">
51  <table border="1" cellspacing="0" cellpadding="4">
52  <tr><td colspan="2"><input type="hidden" name="usr" value="<?php echo $usr; ?>" /><input type="hidden" name="cookie" value="<?php echo $cookie; ?>" />
53 <?php __("Change the email of the account"); ?><br />
54  <?php __("Enter the key you got when you requested the mailbox change, then click the OK button."); ?></td></tr>
55  <tr><th><label for="cle"><?php __("Key"); ?></label></th><td><input type="text" class="int" name="cle" id="cle" value="<?php ehe($cle); ?>" size="8" maxlength="8" /></td></tr>
56  <tr><td align="center" colspan="3"><input type="submit" class="inb" name="submit" value="<?php __("OK"); ?>" /></td></tr>
57  </table>
58 </form>
59 <?php include_once("foot.php"); ?>