root/dev/mods/ingame_mod/igb_kill_mail.php @ 286

Revision 286, 0.5 KB (checked in by ralle030583, 13 years ago)

- fixed link errors in admin_kill_export template
- fixed ingame_mod + raw mail's aviable ingame

Line 
1<?php
2require_once('common/includes/class.kill.php');
3
4$kll_id = intval($_GET['kll_id']);
5
6$html .= "<html><head><title>IGB Killboard</title></head><body>";
7$html .= "<a href=\"?a=post_igb\">Post killmail</a> | <a href=\"?a=portrait_grab\">Update portrait</a> | <a href=\"?a=igb&mode=kills\">Kills</a> | <a href=\"?a=igb&mode=losses\">Losses</a><br><br>";
8
9$kill = new Kill($kll_id);
10if ($kill){
11        $raw = $kill->getRawMail();
12        $html.= "<pre>$raw</pre>";
13}else{
14        $html .= "Killmail not found.";
15}
16echo $html;
17?>
Note: See TracBrowser for help on using the browser.