Show
Ignore:
Timestamp:
02/17/07 15:24:06 (14 years ago)
Author:
exi
Message:

Changed default td width for options to 160px.
Added the appropiate timeframe to the fast contractlisttable.
Events now can also return a reference to a variable containing additional information.
Killlists now return a non formatted isk-value for losses/kills, please report any errors on other pages.
Added a custom user menu, able to be shownon every page.
Added some code for user logins, please ignore it for now.
Added a small battle statistics frame to the battle overview.
To login as admin now just leave user blank and use the admin password.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/class.killsummarytable.php

    r158 r188  
    293293            } 
    294294 
    295             $html .= "<tr class=" . $class . ">"; 
     295            $html .= "<tr class=".$class.">"; 
    296296 
    297297            $qrystring = preg_replace("/&scl_id=([0-9]?[0-9])/", "", $_SERVER['QUERY_STRING']); 
     
    303303            $html .= "<td class=kb-table-cell><b>"; 
    304304 
    305             if ($this->filter_) $html .= "<a class=kb-shipclass" . $highlight . " href=\"?" . $qrystring . "&scl_id=" . $v['id'] . "\">"; 
     305            if ($this->filter_) $html .= "<a class=kb-shipclass".$highlight." href=\"?".$qrystring."&scl_id=".$v['id']."\">"; 
    306306 
    307307            $html .= $k; 
     
    311311            $html .= "</b></td>"; 
    312312 
    313             $html .= "<td class=" . $kclass . " align=center>" . $v['kills'] . "</td>"; 
     313            $html .= "<td class=".$kclass." align=center>".$v['kills']."</td>"; 
    314314            if ($this->verbose_) 
    315                 $html .= "<td class=" . $kclass . " align=center>" . $v['kills_isk'] . "</td>"; 
    316             $html .= "<td class=" . $lclass . " align=center>" . $v['losses'] . "</td>"; 
     315                $html .= "<td class=".$kclass." align=center>".round($v['kills_isk']/1000000, 2)."</td>"; 
     316            $html .= "<td class=".$lclass." align=center>".$v['losses']."</td>"; 
    317317            if ($this->verbose_) 
    318                 $html .= "<td class=" . $lclass . " align=center>" . $v['losses_isk'] . "</td>"; 
     318                $html .= "<td class=".$lclass." align=center>".round($v['losses_isk']/1000000, 2)."</td>"; 
    319319 
    320320            $html .= "</tr>"; 
     
    337337            $html .= "<table align=center><tr><td align=center valign=top class=weeknav>"; 
    338338            $qrystring = preg_replace("/&scl_id=([0-9]?[0-9])/", "", $_SERVER['QUERY_STRING']); 
    339             $html .= "[<a href=\"?" . $qrystring . "\">clear filter</a>]</td></tr></table>"; 
     339            $html .= "[<a href=\"?".$qrystring."\">clear filter</a>]</td></tr></table>"; 
    340340        } 
    341341