source: bureau/admin/sql_passchg.php @ 104

Revision 104, 2.3 KB checked in by anarcat, 7 years ago (diff)

[project @ alternc: changeset 2003-06-10 07:20:29 by root]
suite de la mise en conformité xhtml 1.0

Original author: root
Date: 2003-06-10 07:20:31

Line 
1<?php
2/*
3 $Id: sql_passchg.php,v 1.2 2003/06/10 07:20:29 root 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 MySQL password of a member
28 ----------------------------------------------------------------------
29*/
30require_once("../class/config.php");
31
32if (!$r=$mysql->get_dblist()) {
33        $error=$err->errstr();
34}
35
36include("head.php");
37?>
38</head>
39<body>
40<h3><?php __("MySQL Databases"); ?></h3>
41<?php
42        if ($error) {
43                echo "<p class=\"error\">$error</p><p>&nbsp;</p>";
44        }
45
46echo "<p>"._("Enter the new password of your SQL database and click 'change the password' to change it")."</p>";
47?>
48
49<form method="post" action="sql_pass.php">
50<table cellspacing="0" cellpadding="4">
51                <tr  class="lst2"><th><?php __("Username"); ?></th><td><code><?php echo $mem->user["login"]; ?></code></td></tr>
52                <tr  class="lst1"><th><?php __("Password"); ?></th><td><code><input class="int" type="text" name="pass" value="" /></code></td></tr>
53                <tr  class="lst2"><th><?php __("SQL Server"); ?></th><td><code><?php echo $mysql->server; ?></code></td></tr>
54                <tr  class="lst1"><th><?php __("Database"); ?></th><td><code><?php echo $mem->user["login"]; ?></code></td></tr>
55        <tr><td><input type="submit" class="inb" name="submit" value="<?php __("Change the password"); ?>" /></td></tr>
56</table>
57</form>
58
59</body>
60</html>
Note: See TracBrowser for help on using the repository browser.