Changeset 165 for dev/install

Show
Ignore:
Timestamp:
01/03/07 09:06:54 (14 years ago)
Author:
exi
Message:

Added options to show loss and totalpoints in pilot details.
Tidied up class.box.php.
class.kill.php now checks better for item location ids.
Added victimalliancename to the killlisttable.
The signature generator now paints error messages if he doesnt like stuff.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/install/install_step5.php

    r99 r165  
    9898    $result = mysql_query($query); 
    9999 
     100    $unsharp = true; 
    100101    $results = array(); 
    101102    while ($row = mysql_fetch_assoc($result)) 
     
    106107                $link = "?step=5&do=select&a=0&c=".$row['crp_id'].'">Select'; 
    107108                $descr = 'Corp '.$row['crp_name'].', member of '.$row['all_name']; 
     109                if ($row['crp_name'] == addslashes(stripslashes($_REQUEST['searchphrase']))) 
     110                { 
     111                    $unsharp = false; 
     112                } 
    108113                break; 
    109114            case 'alliance': 
    110115                $link = '?step=5&do=select&c=0&a='.$row['all_id'].'">Select'; 
    111116                $descr = 'Alliance '.$row['all_name']; 
     117                if ($row['all_name'] == addslashes(stripslashes($_REQUEST['searchphrase']))) 
     118                { 
     119                    $unsharp = false; 
     120                } 
    112121                break; 
    113122        } 
    114123        $results[] = array('descr' => $descr, 'link' => $link); 
    115124    } 
    116     if (!count($results)) 
     125    if (!count($results) || $unsharp) 
    117126    { 
    118127        if ($_REQUEST['searchtype'] == 'corp')