Show
Ignore:
Timestamp:
10/17/08 10:30:02 (14 years ago)
Author:
beans
Message:

A lot of updates done by Karbowiak (LaMaH).
See them here:  http://eve-id.net/forum/viewtopic.php?f=503&t=13204&p=15284#p15284

Highlights:
* Integrated feed fetcher & API Mod into the core
* memcached support in core

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/kill_related.php

    r289 r343  
    2121$system = new SolarSystem($rrow['kll_system_id']); 
    2222 
    23 // now we get all kills in that system for +-12 hours 
     23// now we get all kills in that system for +-1 hours 
    2424$query = 'SELECT kll.kll_timestamp AS ts FROM kb3_kills kll WHERE kll.kll_system_id='.$rrow['kll_system_id'].' 
    25             AND kll.kll_timestamp <= date_add( \''.$rrow['kll_timestamp'].'\', INTERVAL \'12\' HOUR ) 
    26             AND kll.kll_timestamp >= date_sub( \''.$rrow['kll_timestamp'].'\', INTERVAL \'12\' HOUR ) 
     25            AND kll.kll_timestamp <= date_add( \''.$rrow['kll_timestamp'].'\', INTERVAL \'1\' HOUR ) 
     26            AND kll.kll_timestamp >= date_sub( \''.$rrow['kll_timestamp'].'\', INTERVAL \'1\' HOUR ) 
    2727            ORDER BY kll.kll_timestamp ASC'; 
    2828$qry = new DBQuery(); 
     
    414414$html .= "<td class=kb-table-cell width=180><b>Kills:</b></td><td class=kl-kill>".$kill_summary->getTotalKills()."</td></tr>"; 
    415415$html .= "<tr class=kb-table-row-even><td class=kb-table-cell><b>Losses:</b></td><td class=kl-loss>".$kill_summary->getTotalLosses()."</td></tr>"; 
    416 $html .= "<tr class=kb-table-row-even><td class=kb-table-cell><b>Damage done (ISK):</b></td><td class=kl-kill>".round($kill_summary->getTotalKillISK()/1000000, 2)."M</td></tr>"; 
    417 $html .= "<tr class=kb-table-row-even><td class=kb-table-cell><b>Damage received (ISK):</b></td><td class=kl-loss>".round($kill_summary->getTotalLossISK()/1000000, 2)."M</td></tr>"; 
     416$html .= "<tr class=kb-table-row-even><td class=kb-table-cell><b>Damage done (ISK):</b></td><td class=kl-kill>".round($kill_summary->getTotalKillISK()/1000000000, 2)."B - ".round($kill_summary->getTotalKillISK()/1000000, 2)."M</td></tr>"; 
     417$html .= "<tr class=kb-table-row-even><td class=kb-table-cell><b>Damage received (ISK):</b></td><td class=kl-loss>".round($kill_summary->getTotalLossISK()/1000000000, 2)."B - ".round($kill_summary->getTotalLossISK()/1000000, 2)."M</td></tr>"; 
    418418if ($kill_summary->getTotalKillISK()) 
    419419{