Ignore:
Timestamp:
Dec 23, 2007, 2:55:36 PM (17 years ago)
Author:
george
Message:

Minimanager 0.1.6b

File:
1 edited

Legend:

Unmodified
Added
Removed
  • minimanager/scripts/del_lib.php

    r142 r178  
    88 * License: GNU General Public License v2(GPL)
    99 */
    10  
     10
    1111require_once("backup_tab.php");
    1212
     
    2424        $owner_gmlvl = $sql_01->result($query1, 0, 'gmlevel');
    2525        unset($query1);
    26        
     26
    2727        if (($user_lvl > $owner_gmlvl)||($owner_acc_id == $user_id)) {
    2828                $sql_01->connect($characters_db[$realm]['addr'], $characters_db[$realm]['user'], $characters_db[$realm]['pass'], $characters_db[$realm]['name']);
     
    9292function del_guild($guid,$realm){
    9393        global $characters_db, $realm_db;
    94        
     94
    9595        require_once("scripts/defines.php");
    96        
     96
    9797        $sql_01 = new SQL;
    9898        $sql_01->connect($characters_db[$realm]['addr'], $characters_db[$realm]['user'], $characters_db[$realm]['pass'], $characters_db[$realm]['name']);
    9999        $query = $sql_01->query("DELETE FROM guild WHERE guildid = '$guid'");
    100100        $query = $sql_01->query("DELETE FROM guild_rank WHERE guildid = '$guid'");
    101                
     101
    102102        //clean data inside character.data field
    103103        $temp = $sql_01->query("SELECT guid FROM guild_member WHERE guildid = '$guid'");
Note: See TracChangeset for help on using the changeset viewer.