Show
Ignore:
Timestamp:
09/07/07 09:55:11 (15 years ago)
Author:
ralle030583
Message:

Fixes:
- cc_detail row count of tables (cause of Capital Ind.)
- capital killer award
- autoupgrade for navigation tables which had still a small error

Other:
- Alliance Logos added (thx to the bored Silent ;-) )

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/includes/class.navigation.php

    r220 r234  
    99                require_once('common/includes/autoupgrade.php'); 
    1010                check_navigationtable(); 
    11                 $this->contracts_ = killboard::hasContracts(); 
    12         $this->campaigns_ = killboard::hasCampaigns(); 
    1311        $this->sql_start = "SELECT * FROM kb3_navigation"; 
    1412        $this->sql_end = " AND KBSITE LIKE '" . KB_SITE . "' ORDER BY posnr"; 
     
    2220                $query .= " WHERE nav_type LIKE '$this->type_'"; 
    2321                 
    24                 if (!$this->contracts_){ 
     22                if (killboard::hasContracts() == false){ 
    2523                        $query .= " AND url NOT LIKE '?a=contracts'"; 
    2624                } 
    27                 if (!$this->campaigns_){ 
     25                if (killboard::hasCampaigns() == false){ 
    2826                        $query .= " AND url NOT LIKE '?a=campaigns'"; 
    2927                }