Changeset 1897
- Timestamp:
- 08/26/07 22:06:39 (6 years ago)
- File:
-
- 1 edited
-
alternc/trunk/bureau/admin/adm_deactivate.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
alternc/trunk/bureau/admin/adm_deactivate.php
r1726 r1897 1 1 <?php 2 /* 3 $Id: adm_tld.php,v 1.4 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 2 13 3 require_once('../class/config.php'); 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. 4 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: Manage allowed TLD on the server 28 ---------------------------------------------------------------------- 29 */ 30 require_once("../class/config.php"); 31 32 include("head.php"); 33 ?> 34 </head> 35 <body> 36 <?php 5 37 $uid = $_GET['uid']; 6 38 if (!$uid) { 7 39 __("Missing uid"); 40 echo "</body></html>"; 8 41 exit(); 9 42 } 10 43 if (!$admin->enabled || !$admin->checkcreator($uid)) { 11 44 __("This page is restricted to authorized staff"); 45 echo "</body></html>"; 12 46 exit(); 13 47 } … … 15 49 if (!$r=$admin->get($uid)) { 16 50 __("User does not exist"); 51 echo "</body></html>"; 17 52 exit(); 18 53 } … … 103 138 } 104 139 $cuid = $old_cuid; 140 141 ?> 142 </body> 143 </html> 144
Note: See TracChangeset
for help on using the changeset viewer.
