- Timestamp:
- 11/06/06 16:52:33 (14 years ago)
- Location:
- dev/common
- Files:
-
- 4 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/common/class.kill.php
r44 r54 64 64 $this->execQuery(); 65 65 return $this->victimalliancename_; 66 } 67 function getVictimAllianceID() 68 { 69 $this->execQuery(); 70 return $this->victimallianceid_; 66 71 } 67 72 … … 280 285 $this->qry_ = new DBQuery(); 281 286 $this->sql_ = "select kll.kll_id, kll.kll_timestamp, plt.plt_name, 282 crp.crp_name, ali.all_name, kll.kll_ship_id,287 crp.crp_name, ali.all_name, ali.all_id, kll.kll_ship_id, 283 288 kll.kll_system_id, kll.kll_ship_id, 284 289 kll.kll_victim_id, plt.plt_externalid, … … 309 314 $this->setVictimCorpID($row['kll_crp_id']); 310 315 $this->setVictimCorpName($row['crp_name']); 316 $this->setVictimAllianceID($row['all_id']); 311 317 $this->setVictimAllianceName($row['all_name']); 312 318 $this->setVictimShip(new Ship($row['kll_ship_id'])); -
dev/common/class.page.php
r30 r54 38 38 function generate() 39 39 { 40 $html = "<html>"; 41 $html .= "<head>"; 40 global $config; 41 $html = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">'; 42 $html .= '<html>'; 43 $html .= '<head>'; 44 $html .= '<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">'; 42 45 $html .= "<title>" . KB_TITLE . " Killboard - " . $this->title_ . "</title>\n"; 43 46 $html .= "<link rel=\"stylesheet\" type=\"text/css\" href=\"" . STYLE_URL . "/common.css\">"; 44 $config = $this->killboard_->getConfig(); 47 45 48 $style = $config->getStyleName(); 46 49 $html .= "<link rel=\"stylesheet\" type=\"text/css\" href=\"" . STYLE_URL . "/" . $style . "/style.css\">"; -
dev/common/kill_detail.php
r53 r54 37 37 $html .= "</tr>"; 38 38 $html .= "<tr class=kb-table-row-odd>"; 39 $html .= "<td class=kb-table-cell width=64><b> <a href=\"?a=alliance_detail&all_id=".$kill->getVictimAllianceID()."\">".$kill->getVictimAllianceName()."</a></b></td>";39 $html .= "<td class=kb-table-cell width=64><b>Alliance:</b></td><td class=kb-table-cell><a href=\"?a=alliance_detail&all_id=".$kill->getVictimAllianceID()."\">".$kill->getVictimAllianceName()."</a></b></td>"; 40 40 $html .= "</tr>"; 41 41 $html .= "</table>"; -
dev/common/kill_mail.php
r32 r54 5 5 require_once("globals.php"); 6 6 7 $kll_id = $_GET['kll_id'];7 $kll_id = intval($_GET['kll_id']); 8 8 $kill = new Kill($kll_id); 9 9 ?>