Changeset 307 for minimanager/mail.php


Ignore:
Timestamp:
Mar 13, 2008, 8:18:42 PM (17 years ago)
Author:
george
Message:

Aktualizace na minimanager 0.1.6g.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • minimanager/mail.php

    r304 r307  
    211211
    212212 if($to){ //single Recipient
    213         $result = $sql->query("SELECT guid FROM `character` WHERE name ='$to'");
     213        $result = $sql->query("SELECT guid FROM `characters` WHERE name ='$to'");
    214214        if ($sql->num_rows($result) == 1) {
    215215                $receiver = $sql->result($result, 0, 'guid');
    216216
    217                 $result = $sql->query("SELECT guid FROM `character` WHERE name ='$user_name'");
     217                $result = $sql->query("SELECT guid FROM `characters` WHERE name ='$user_name'");
    218218
    219219                $sender = 0;
     
    240240                                $sql->connect($characters_db[$realm_id]['addr'], $characters_db[$realm_id]['user'], $characters_db[$realm_id]['pass'], $characters_db[$realm_id]['name']);
    241241                                while($acc = $sql->fetch_row($result)){
    242                                         $result_2 = $sql->query("SELECT guid FROM `character` WHERE account = '$acc[0]'");
     242                                        $result_2 = $sql->query("SELECT guid FROM `characters` WHERE account = '$acc[0]'");
    243243                                        while($char = $sql->fetch_row($result_2)) array_push($char_array, $char[0]);
    244244                                        }
     
    247247                        case "online":
    248248                                $sql->connect($characters_db[$realm_id]['addr'], $characters_db[$realm_id]['user'], $characters_db[$realm_id]['pass'], $characters_db[$realm_id]['name']);
    249                                 $result = $sql->query("SELECT guid FROM `character` WHERE online $group_sign '$group_value'");
     249                                $result = $sql->query("SELECT guid FROM `characters` WHERE online $group_sign '$group_value'");
    250250                                while($user = $sql->fetch_row($result)) array_push($char_array, $user[0]);
    251251                        break;
     
    253253                        case "char_level":
    254254                                $sql->connect($characters_db[$realm_id]['addr'], $characters_db[$realm_id]['user'], $characters_db[$realm_id]['pass'], $characters_db[$realm_id]['name']);
    255                                 $result = $sql->query("SELECT guid FROM `character` WHERE SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 35), ' ', -1) $group_sign '$group_value'");
     255                                $result = $sql->query("SELECT guid FROM `characters` WHERE SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 35), ' ', -1) $group_sign '$group_value'");
    256256                                while($user = $sql->fetch_row($result)) array_push($char_array, $user[0]);
    257257                        break;
Note: See TracChangeset for help on using the changeset viewer.