Changeset 32
- Timestamp:
- 10/24/06 14:33:05 (16 years ago)
- Location:
- dev/common
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/common/kill_detail.php
r16 r32 19 19 20 20 $html .= "<table cellpadding=0 cellspacing=1 border=0><tr><td width=360 align=left valign=top>"; 21 21 22 // victim 22 23 $html .= "<table class=kb-table width=360 cellpadding=0 cellspacing=1 border=0>"; … … 31 32 $html .= "</tr>"; 32 33 $html .= "</table>"; 34 33 35 // involved 34 36 $html .= "<div class=block-header>Involved parties</div>"; 35 37 $html .= "<table class=kb-table width=360 border=0 cellspacing=\"1\">"; 36 38 $odd = true; 37 foreach ($kill->involvedparties_ as $inv)39 foreach ($kill->involvedparties_ as $inv) 38 40 { 39 41 $pilot = new Pilot($inv->getPilotID()); … … 86 88 $html .= "</table>"; 87 89 88 $config = $page->killboard_->getConfig();89 90 if ($config->getConfig('comments')) 90 91 { … … 110 111 $html .= "</tr>"; 111 112 $html .= "</table>"; 113 112 114 // ship fitting 113 115 if (count($kill->destroyeditems_) > 0) … … 181 183 $menubox = new MenuBox(); 182 184 $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, '' );"); 184 186 if ($kill->relatedKillCount() > 1 || $kill->relatedLossCount() > 1) 185 187 { -
dev/common/kill_import.php
r31 r32 80 80 { 81 81 $_SESSION['kill_import']['do'] = 1; 82 $_SESSION['kill_import']['num'] = $ num;82 $_SESSION['kill_import']['num'] = $_POST['num']; 83 83 $_SESSION['kill_import']['startnum'] = $_POST['startnum']; 84 84 } -
dev/common/kill_mail.php
r10 r32 7 7 $kll_id = $_GET['kll_id']; 8 8 $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;20 9 ?> 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"> 17 textarea 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')"> <input type="button" value="Close" onClick="window.close();"></td></tr> 30 </table> 31 </form> 32 </body> 33 </html>