Changeset 32

Show
Ignore:
Timestamp:
10/24/06 14:33:05 (14 years ago)
Author:
exi
Message:

Changed raw killmail:  http://www.eve-dev.net/forums/viewtopic.php?t=29

Location:
dev/common
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • dev/common/kill_detail.php

    r16 r32  
    1919 
    2020$html .= "<table cellpadding=0 cellspacing=1 border=0><tr><td width=360 align=left valign=top>"; 
     21 
    2122// victim 
    2223$html .= "<table class=kb-table width=360 cellpadding=0 cellspacing=1 border=0>"; 
     
    3132$html .= "</tr>"; 
    3233$html .= "</table>"; 
     34 
    3335// involved 
    3436$html .= "<div class=block-header>Involved parties</div>"; 
    3537$html .= "<table class=kb-table width=360 border=0 cellspacing=\"1\">"; 
    3638$odd = true; 
    37 foreach($kill->involvedparties_ as $inv) 
     39foreach ($kill->involvedparties_ as $inv) 
    3840{ 
    3941    $pilot = new Pilot($inv->getPilotID()); 
     
    8688$html .= "</table>"; 
    8789 
    88 $config = $page->killboard_->getConfig(); 
    8990if ($config->getConfig('comments')) 
    9091{ 
     
    110111$html .= "</tr>"; 
    111112$html .= "</table>"; 
     113 
    112114// ship fitting 
    113115if (count($kill->destroyeditems_) > 0) 
     
    181183$menubox = new MenuBox(); 
    182184$menubox->addCaption("View"); 
    183 $menubox->addOption("Killmail", "javascript:openWindow( '?a=kill_mail&kll_id=" . $kill->getID() . "', null, 420, 550, '' );"); 
     185$menubox->addOption("Killmail", "javascript:openWindow( '?a=kill_mail&kll_id=" . $kill->getID() . "', null, 355, 430, '' );"); 
    184186if ($kill->relatedKillCount() > 1 || $kill->relatedLossCount() > 1) 
    185187{ 
  • dev/common/kill_import.php

    r31 r32  
    8080        { 
    8181            $_SESSION['kill_import']['do'] = 1; 
    82             $_SESSION['kill_import']['num'] = $num; 
     82            $_SESSION['kill_import']['num'] = $_POST['num']; 
    8383            $_SESSION['kill_import']['startnum'] = $_POST['startnum']; 
    8484        } 
  • dev/common/kill_mail.php

    r10 r32  
    77$kll_id = $_GET['kll_id']; 
    88$kill = new Kill($kll_id); 
    9  
    10 $html .= "<html><head><title>Killmail</title><link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\"></head>"; 
    11 $html .= "<body bgcolor=\"#222222\"><table class=kb-table width=\"100%\" height=\"100%\"><tr><td valign=top class=killmail>"; 
    12  
    13 $html .= "<textarea class=killmail id=killmail name=killmail cols=\"55\" rows=\"35\" readonly=readonly>".$kill->getRawMail()."</textarea>"; 
    14  
    15 $html .= "</td></tr>"; 
    16 $html .= "<tr><td align=center><button id=close name=close value=\"Close\" onclick=\"window.close();\">Close</button></td></tr>"; 
    17 $html .= "</table></body></html>"; 
    18  
    19 echo $html; 
    209?> 
     10<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
     11                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
     12<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 
     13<head> 
     14<title>Rawmail - Kill ID <?php echo $kll_id; ?></title> 
     15</head> 
     16<style type="text/css"> 
     17textarea 
     18{ 
     19    font-size: 10px; 
     20    font-family: Verdana, Arial, Helvetica, sans-serif; 
     21    color: #333333; 
     22} 
     23</style> 
     24<body bgcolor="#222222"> 
     25<form> 
     26<table class="kb-table" width="1" height="100%"> 
     27<tr><td valign="top"><textarea class="killmail" name="killmail" cols="60" rows="30" readonly="readonly"> 
     28<?php echo $kill->getRawMail();?></textarea></td></tr> 
     29<tr><td align="center"><input type="button" value="Select All" onClick="this.form.killmail.select();this.form.killmail.focus(); document.execCommand('Copy')">&nbsp;<input type="button" value="Close" onClick="window.close();"></td></tr> 
     30</table> 
     31</form> 
     32</body> 
     33</html>