Changeset 1897

Show
Ignore:
Timestamp:
08/26/07 22:06:39 (1 year ago)
Author:
benjamin
Message:

correct html tags on adm_deactivate

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc/trunk/bureau/admin/adm_deactivate.php

    r1726 r1897  
    11<?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 
    213 
    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. 
    418 
     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*/ 
     30require_once("../class/config.php"); 
     31 
     32include("head.php"); 
     33?> 
     34</head> 
     35<body> 
     36<?php 
    537$uid = $_GET['uid']; 
    638if (!$uid) { 
    739        __("Missing uid"); 
     40        echo "</body></html>"; 
    841        exit(); 
    942} 
    1043if (!$admin->enabled || !$admin->checkcreator($uid)) { 
    1144        __("This page is restricted to authorized staff"); 
     45        echo "</body></html>"; 
    1246        exit(); 
    1347} 
     
    1549if (!$r=$admin->get($uid)) { 
    1650        __("User does not exist"); 
     51        echo "</body></html>"; 
    1752        exit(); 
    1853} 
     
    103138} 
    104139$cuid = $old_cuid; 
     140 
     141?> 
     142</body> 
     143</html> 
     144