Changeset 318
- Timestamp:
- 01/31/08 09:32:12 (13 years ago)
- Location:
- dev
- Files:
-
- 362 added
- 2 removed
- 5 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/common/includes/class.item.php
r306 r318 24 24 } 25 25 26 function getIcon($size = 32)26 function getIcon($size) 27 27 { 28 28 $this->execQuery(); … … 49 49 } 50 50 51 if (substr($this->getName(), strlen($this->getName()) - 2, 2) == "II" || $this->row_['itm_techlevel'] == 2) 52 { 53 $icon .= IMG_URL.'/items/32_32/t2.gif'; 51 $it_name = $this->getName(); 52 if (substr($it_name, strlen($it_name) - 2, 2) == "II" || $this->row_['itm_techlevel'] == 2) 53 { 54 $icon .= IMG_URL.'/items/'.$size.'_'.$size.'/t2.gif'; 54 55 } 55 56 else 56 57 { 57 $icon = IMG_URL.'/items/ 32_32/blank.gif';58 $icon = IMG_URL.'/items/'.$size.'_'.$size.'/blank.gif'; 58 59 } 59 60 60 61 $smarty->assign('img', $img); 61 62 $smarty->assign('icon', $icon); 62 $smarty->assign('name', $ this->getName());63 return $smarty->fetch(get_tpl('icon' ));63 $smarty->assign('name', $it_name); 64 return $smarty->fetch(get_tpl('icon'.$size)); 64 65 } 65 66 -
dev/common/includes/globals.php
r317 r318 1 1 <?php 2 2 // current subversion revision 3 preg_match('/\$Re'.'vision: (.*?) \$/', '$Revision: 31 7$', $match);3 preg_match('/\$Re'.'vision: (.*?) \$/', '$Revision: 318 $', $match); 4 4 define('SVN_REV', $match[1]); 5 5 -
dev/mods/fitting/kill_detail.php
r313 r318 5 5 require_once('common/includes/class.alliance.php'); 6 6 7 $page = new Page('Kill details with Fitting MOD');7 $page = new Page('Kill details'); 8 8 9 9 if (config::get('item_values')) … … 140 140 $smarty->assign('ClassName', $shipclass->getName()); 141 141 142 include_once('common/includes/class.dogma.php'); 143 144 $ssc = new dogma($ship->externalid_); 145 146 $smarty->assign_by_ref('ssc', $ssc); 147 142 148 if ($kill->isClassified()) 143 149 { … … 182 188 { 183 189 $item = $destroyed->getItem(); 190 $i_qty = $destroyed->getQuantity(); 184 191 if (config::get('item_values')) 185 192 { 186 193 $value = $destroyed->getValue(); 187 $TotalValue += $value*$ destroyed->getQuantity();194 $TotalValue += $value*$i_qty; 188 195 $formatted = $destroyed->getFormatttedValue(); 189 196 } 190 $dest_array[$destroyed->getLocationID()][] = array('Icon' => $item->getIcon(32), 'Name' => $item->getName(), 'Quantity' => $destroyed->getQuantity(), 'Value' => $formatted, 'single_unit' => $value, 'itemID' => $item->getID(),'slotID' => $destroyed->getLocationID()); 197 $i_name = $item->getName(); 198 $i_location = $destroyed->getLocationID(); 199 $i_id = $item->getID(); 200 $i_usedgroup = $item->get_used_launcher_group($i_name); 201 $dest_array[$i_location][] = array('Icon' => $item->getIcon(32), 'Name' => $i_name, 'Quantity' => $i_qty, 'Value' => $formatted, 'single_unit' => $value, 'itemID' => $i_id,'slotID' => $i_location); 191 202 192 203 //Fitting, KE - add destroyed items to an array of all fitted items. 193 if(($ destroyed->getLocationID() != 4) && ($destroyed->getLocationID() != 6) && ($item->get_used_launcher_group($item->getName()) == 0))204 if(($i_location != 4) && ($i_location != 5) && ($i_location != 6)) 194 205 { 195 for ($count = 0; $count < $destroyed->getQuantity(); $count++) 196 { 197 $fitting_array[$destroyed->getLocationID()][]=array('Name'=>$item->getName(), 'Icon' => $item->getIcon(32), 'itemID' => $item->getID()); 206 if(($i_usedgroup != 0)) 207 { 208 $ammo_array[$i_location][]=array('Name'=>$i_name, 'Icon' => $item->getIcon(24), 'itemID' => $i_id, 'usedgroupID' => $i_usedgroup); 209 } else 210 { 211 for ($count = 0; $count < $i_qty; $count++) 212 { 213 $fitting_array[$i_location][]=array('Name'=>$i_name, 'Icon' => $item->getIcon(48), 'itemID' => $i_id, 'groupID' => $item->get_group_id($i_name)); 214 } 215 } 216 } else if(($destroyed->getLocationID() == 5)) 217 { 218 for ($count = 0; $count < $i_qty; $count++) 219 { 220 $fitting_array[$i_location][]=array('Name'=>$i_name, 'Icon' => $item->getIcon(32), 'itemID' => $i_id); 198 221 } 199 222 } … … 208 231 { 209 232 $item = $dropped->getItem(); 233 $i_qty = $dropped->getQuantity(); 210 234 if (config::get('item_values')) 211 235 { 212 236 $value = $dropped->getValue(); 213 $dropvalue += $value*$ dropped->getQuantity();237 $dropvalue += $value*$i_qty; 214 238 $formatted = $dropped->getFormatttedValue(); 215 239 } 216 $drop_array[$dropped->getLocationID()][] = array('Icon' => $item->getIcon(32), 'Name' => $item->getName(), 'Quantity' => $dropped->getQuantity(), 'Value' => $formatted, 'single_unit' => $value, 'itemID' => $item->getID(),'slotID' => $dropped->getLocationID()); 240 $i_name = $item->getName(); 241 $i_location = $dropped->getLocationID(); 242 $i_id = $item->getID(); 243 $i_usedgroup = $item->get_used_launcher_group($i_name); 244 $drop_array[$i_location][] = array('Icon' => $item->getIcon(32), 'Name' => $i_name, 'Quantity' => $i_qty, 'Value' => $formatted, 'single_unit' => $value, 'itemID' => $i_id,'slotID' => $i_location); 217 245 218 246 //Fitting -KE, add dropped items to the list 219 if(($ dropped->getLocationID() != 4) && ($dropped->getLocationID() != 6) && ($item->get_used_launcher_group($item->getName()) == 0))247 if(($i_location != 4) && ($i_location != 6)) 220 248 { 221 for ($count = 0; $count < $dropped->getQuantity(); $count++) 222 { 223 $fitting_array[$dropped->getLocationID()][]=array('Name'=>$item->getName(), 'Icon' => $item->getIcon(32), 'itemID' => $item->getID()); 249 if(($i_usedgroup != 0)) 250 { 251 $ammo_array[$i_location][]=array('Name'=>$i_name, 'Icon' => $item->getIcon(24), 'itemID' => $i_id, 'usedgroupID' => $i_usedgroup); 252 } else 253 { 254 for ($count = 0; $count < $i_qty; $count++) 255 { 256 $fitting_array[$i_location][]=array('Name'=>$i_name, 'Icon' => $item->getIcon(48), 'itemID' => $i_id, 'groupID' => $item->get_group_id($i_name)); 257 } 224 258 } 225 259 } … … 269 303 //Fitting - KE, sort the fitted items into name order, so that several of the same item apear next to each other. -end 270 304 305 $lenght = count($ammo_array[1]); 306 $temp = array(); 307 if(is_array($fitting_array[1])) 308 { 309 $hiammo = array(); 310 foreach ($fitting_array[1] as $highfit) 311 { 312 $group = $highfit["groupID"]; 313 if($group == 483 || $group == 53 || $group == 55 || $group == 74 || ($group >= 506 && $group <= 511) || $group == 481 || $group == 899 || $group == 771) 314 { 315 $found = 0; 316 if ($group == 511) { $group = 509; } 317 if(is_array($ammo_array[1])) 318 { 319 $i = 0; 320 while (!($found) && $i<$lenght) 321 { 322 $temp = array_shift($ammo_array[1]); 323 if ($temp["usedgroupID"] == $group) 324 { 325 $hiammo[]=array('show'=>$smarty->fetch(get_tpl('ammo')), 'type'=>$temp["Icon"]); 326 $found = 1; 327 } 328 array_push($ammo_array[1],$temp); 329 $i++; 330 } 331 } 332 if (!($found)) 333 { 334 $hiammo[]=array('show'=>$smarty->fetch(get_tpl('ammo')), 'type'=>$smarty->fetch(get_tpl('noicon'))); 335 } 336 } else { 337 $hiammo[]=array('show'=>$smarty->fetch(get_tpl('blank')), 'type'=>$smarty->fetch(get_tpl('blank'))); 338 } 339 } 340 } 341 342 $lenght = count($ammo_array[2]); 343 if(is_array($fitting_array[2])) 344 { 345 $midammo = array(); 346 foreach ($fitting_array[2] as $midfit) 347 { 348 $group = $midfit["groupID"]; 349 if($group == 76 || $group == 208 || $group == 212 || $group == 291 || $group == 213) 350 { 351 $found = 0; 352 if(is_array($ammo_array[2])) 353 { 354 $i = 0; 355 while (!($found) && $i<$lenght) 356 { 357 $temp = array_shift($ammo_array[2]); 358 if ($temp["usedgroupID"] == $group) 359 { 360 $midammo[]=array('show'=>$smarty->fetch(get_tpl('ammo')), 'type'=>$temp["Icon"]); 361 $found = 1; 362 } 363 array_push($ammo_array[2],$temp); 364 $i++; 365 } 366 } 367 if (!($found)) 368 { 369 $midammo[]=array('show'=>$smarty->fetch(get_tpl('ammo')), 'type'=>$smarty->fetch(get_tpl('noicon'))); 370 } 371 } else { 372 $midammo[]=array('show'=>$smarty->fetch(get_tpl('blank')), 'type'=>$smarty->fetch(get_tpl('blank'))); 373 } 374 } 375 } 271 376 272 377 … … 293 398 $smarty->assign_by_ref('fitting_low', $fitting_array[3]); 294 399 $smarty->assign_by_ref('fitting_rig', $fitting_array[5]); 400 $smarty->assign_by_ref('fitting_ammo_high', $hiammo); 401 $smarty->assign_by_ref('fitting_ammo_mid', $midammo); 295 402 $smarty->assign('ItemValue', $Formatted); 296 403 $smarty->assign('DropValue', $dropvalue); … … 298 405 $smarty->assign('TotalLoss', $TotalLoss); 299 406 407 $hicount = count($fitting_array[1]); 408 $medcount = count($fitting_array[2]); 409 $lowcount = count($fitting_array[3]); 410 411 $smarty->assign('hic', $hicount); 412 $smarty->assign('medc', $medcount); 413 $smarty->assign('lowc', $lowcount); 414 300 415 $menubox = new Box("Menu"); 301 416 $menubox->setIcon("menu-item.gif"); 302 417 $menubox->addOption("caption", "View"); 303 418 $menubox->addOption("link", "Killmail", "javascript:sndReq('index.php?a=kill_mail&kll_id=".$kill->getID()."');ReverseContentDisplay('popup')"); 419 $menubox->addOption("link", "EFT Fitting", "javascript:sndReq('index.php?a=eft_fitting&kll_id=".$kill->getID()."');ReverseContentDisplay('popup')"); 304 420 if ($kill->relatedKillCount() > 1 || $kill->relatedLossCount() > 1) 305 421 { -
dev/mods/fitting/kill_detail.tpl
r314 r318 45 45 </td> 46 46 <td width=50> </td> 47 <td align=left valign=top width=3 60><table class=kb-table width=360cellspacing="1">47 <td align=left valign=top width=398><table class=kb-table width=398 cellspacing="1"> 48 48 <tr class={cycle name=ccl}> 49 49 <td width="64" heigth="64" rowspan=3><img src="{$VictimShipImg}" width="64" heigth="64"></td> … … 62 62 63 63 <br /> 64 <div id="fitting" style="position:relative; height:380px; width:360px; background-image:url(mods/fitting/fitting.gif)" name="fitting"> 65 <div id="high1" style="position:absolute; left:40px; top:255px; width:32px; height:32px; z-index:1;">{$fitting_high.0.Icon}</div> 66 <div id="high2" style="position:absolute; left:8px; top:162px; width:32px; height:32px; z-index:1;">{$fitting_high.1.Icon}</div> 67 <div id="high3" style="position:absolute; left:41px; top:71px; width:32px; height:32px; z-index:1;">{$fitting_high.2.Icon}</div> 68 <div id="high4" style="position:absolute; left:117px; top:15px; width:32px; height:32px; z-index:1;">{$fitting_high.3.Icon}</div> 69 <div id="high5" style="position:absolute; left:212px; top:13px; width:32px; height:32px; z-index:1;">{$fitting_high.4.Icon}</div> 70 <div id="high6" style="position:absolute; left:295px; top:72px; width:32px; height:32px; z-index:1;">{$fitting_high.5.Icon}</div> 71 <div id="high7" style="position:absolute; left:323px; top:165px; width:32px; height:32px; z-index:1;">{$fitting_high.6.Icon}</div> 72 <div id="high8" style="position:absolute; left:295px; top:253px; width:32px; height:32px; z-index:1;">{$fitting_high.7.Icon}</div> 64 <div id="fitting" style="position:relative; height:398px; width:398px; background-image:url({$img_url}/panel/basefit.gif)" name="fitting"> 65 <div id="high0" style="position:absolute; left:0px; top:0px; width:398px; height:398px; z-index:0;"> 66 <img src="{$img_url}/panel/{$ssc->attrib.hiSlots.value}h.gif" border="0"></div> 67 <div id="highx" style="position:absolute; left:0px; top:0px; width:398px; height:398px; z-index:0;"> 68 <img src="{$img_url}/panel/{$hic}ph.gif" border="0"></div> 69 <div id="high1" style="position:absolute; left:40px; top:278px; width:48px; height:48px; z-index:1;">{$fitting_high.0.Icon}</div> 70 <div id="high1a" style="position:absolute; left:63px; top:304px; width:32px; height:32px; z-index:2;">{$fitting_ammo_high.0.show}</div> 71 <div id="high1l" style="position:absolute; left:67px; top:308px; width:24px; height:24px; z-index:2;">{$fitting_ammo_high.0.type}</div> 72 <div id="high2" style="position:absolute; left:9px; top:180px; width:48px; height:48px; z-index:1;">{$fitting_high.1.Icon}</div> 73 <div id="high2a" style="position:absolute; left:18px; top:210px; width:32px; height:32px; z-index:2;">{$fitting_ammo_high.1.show}</div> 74 <div id="high2l" style="position:absolute; left:22px; top:212px; width:24px; height:24px; z-index:2;">{$fitting_ammo_high.1.type}</div> 75 <div id="high3" style="position:absolute; left:40px; top:83px; width:48px; height:48px; z-index:1;">{$fitting_high.2.Icon}</div> 76 <div id="high3a" style="position:absolute; left:36px; top:109px; width:32px; height:32px; z-index:2;">{$fitting_ammo_high.2.show}</div> 77 <div id="high3l" style="position:absolute; left:40px; top:113px; width:24px; height:24px; z-index:2;">{$fitting_ammo_high.2.type}</div> 78 <div id="high4" style="position:absolute; left:124px; top:22px; width:48px; height:48px; z-index:1;">{$fitting_high.3.Icon}</div> 79 <div id="high4a" style="position:absolute; left:113px; top:38px; width:32px; height:32px; z-index:2;">{$fitting_ammo_high.3.show}</div> 80 <div id="high4l" style="position:absolute; left:117px; top:42px; width:24px; height:24px; z-index:2;">{$fitting_ammo_high.3.type}</div> 81 <div id="high5" style="position:absolute; left:227px; top:22px; width:48px; height:48px; z-index:1;">{$fitting_high.4.Icon}</div> 82 <div id="high5a" style="position:absolute; left:255px; top:38px; width:32px; height:32px; z-index:2;">{$fitting_ammo_high.4.show}</div> 83 <div id="high5l" style="position:absolute; left:259px; top:42px; width:24px; height:24px; z-index:2;">{$fitting_ammo_high.4.type}</div> 84 <div id="high6" style="position:absolute; left:310px; top:83px; width:48px; height:48px; z-index:1;">{$fitting_high.5.Icon}</div> 85 <div id="high6a" style="position:absolute; left:330px; top:110px; width:32px; height:32px; z-index:2;">{$fitting_ammo_high.5.show}</div> 86 <div id="high6l" style="position:absolute; left:334px; top:114px; width:24px; height:24px; z-index:2;">{$fitting_ammo_high.5.type}</div> 87 <div id="high7" style="position:absolute; left:342px; top:180px; width:48px; height:48px; z-index:1;">{$fitting_high.6.Icon}</div> 88 <div id="high7a" style="position:absolute; left:348px; top:210px; width:32px; height:32px; z-index:2;">{$fitting_ammo_high.6.show}</div> 89 <div id="high7l" style="position:absolute; left:352px; top:214px; width:24px; height:24px; z-index:2;">{$fitting_ammo_high.6.type}</div> 90 <div id="high8" style="position:absolute; left:310px; top:278px; width:48px; height:48px; z-index:1;">{$fitting_high.7.Icon}</div> 91 <div id="high8a" style="position:absolute; left:305px; top:302px; width:32px; height:32px; z-index:2;">{$fitting_ammo_high.7.show}</div> 92 <div id="high8l" style="position:absolute; left:309px; top:306px; width:24px; height:24px; z-index:2;">{$fitting_ammo_high.7.type}</div> 93 94 <div id="mid0" style="position:absolute; left:0px; top:0px; width:398px; height:398px; z-index:0;"> 95 <img src="{$img_url}/panel/{$ssc->attrib.medSlots.value}m.gif" border="0"></div> 96 <div id="midx" style="position:absolute; left:0px; top:0px; width:398px; height:398px; z-index:0;"> 97 <img src="{$img_url}/panel/{$medc}pm.gif" border="0"></div> 98 <div id="mid1" style="position:absolute; left:76px; top:253px; width:48px; height:48px; z-index:1;">{$fitting_med.0.Icon}</div> 99 <div id="mid1a" style="position:absolute; left:100px; top:277px; width:32px; height:32px; z-index:2;">{$fitting_ammo_mid.0.show}</div> 100 <div id="mid1l" style="position:absolute; left:104px; top:281px; width:24px; height:24px; z-index:2;">{$fitting_ammo_mid.0.type}</div> 101 <div id="mid2" style="position:absolute; left:52px; top:180px; width:48px; height:48px; z-index:1;">{$fitting_med.1.Icon}</div> 102 <div id="mid2a" style="position:absolute; left:65px; top:210px; width:32px; height:32px; z-index:2;">{$fitting_ammo_mid.1.show}</div> 103 <div id="mid2l" style="position:absolute; left:69px; top:214px; width:24px; height:24px; z-index:2;">{$fitting_ammo_mid.1.type}</div> 104 <div id="mid3" style="position:absolute; left:77px; top:108px; width:48px; height:48px; z-index:1;">{$fitting_med.2.Icon}</div> 105 <div id="mid3a" style="position:absolute; left:74px; top:136px; width:32px; height:32px; z-index:2;">{$fitting_ammo_mid.2.show}</div> 106 <div id="mid4l" style="position:absolute; left:78px; top:140px; width:24px; height:24px; z-index:2;">{$fitting_ammo_mid.2.type}</div> 107 <div id="mid4" style="position:absolute; left:138px; top:66px; width:48px; height:48px; z-index:1;">{$fitting_med.3.Icon}</div> 108 <div id="mid4a" style="position:absolute; left:124px; top:81px; width:32px; height:32px; z-index:2;">{$fitting_ammo_mid.3.show}</div> 109 <div id="mid4l" style="position:absolute; left:128px; top:85px; width:24px; height:24px; z-index:2;">{$fitting_ammo_mid.3.type}</div> 110 <div id="mid5" style="position:absolute; left:213px; top:66px; width:48px; height:48px; z-index:1;">{$fitting_med.4.Icon}</div> 111 <div id="mid5a" style="position:absolute; left:241px; top:81px; width:32px; height:32px; z-index:2;">{$fitting_ammo_mid.4.show}</div> 112 <div id="mid5l" style="position:absolute; left:245px; top:85px; width:24px; height:24px; z-index:2;">{$fitting_ammo_mid.4.type}</div> 113 <div id="mid6" style="position:absolute; left:274px; top:108px; width:48px; height:48px; z-index:1;">{$fitting_med.5.Icon}</div> 114 <div id="mid6a" style="position:absolute; left:292px; top:137px; width:32px; height:32px; z-index:2;">{$fitting_ammo_mid.5.show}</div> 115 <div id="mid6l" style="position:absolute; left:296px; top:141px; width:24px; height:24px; z-index:2;">{$fitting_ammo_mid.5.type}</div> 116 <div id="mid7" style="position:absolute; left:298px; top:180px; width:48px; height:48px; z-index:1;">{$fitting_med.6.Icon}</div> 117 <div id="mid7a" style="position:absolute; left:302px; top:210px; width:32px; height:32px; z-index:2;">{$fitting_ammo_mid.6.show}</div> 118 <div id="mid7l" style="position:absolute; left:306px; top:214px; width:24px; height:24px; z-index:2;">{$fitting_ammo_mid.6.type}</div> 119 <div id="mid8" style="position:absolute; left:275px; top:253px; width:48px; height:48px; z-index:1;">{$fitting_med.7.Icon}</div> 120 <div id="mid8a" style="position:absolute; left:267px; top:276px; width:32px; height:32px; z-index:2;">{$fitting_ammo_mid.7.show}</div> 121 <div id="mid8l" style="position:absolute; left:271px; top:280px; width:24px; height:24px; z-index:2;">{$fitting_ammo_mid.7.type}</div> 73 122 74 <div id="mid1" style="position:absolute; left:73px; top:229px; width:32px; height:32px; z-index:1;">{$fitting_med.0.Icon}</div> 75 <div id="mid2" style="position:absolute; left:51px; top:165px; width:32px; height:32px; z-index:1;">{$fitting_med.1.Icon}</div> 76 <div id="mid3" style="position:absolute; left:72px; top:93px; width:32px; height:32px; z-index:1;">{$fitting_med.2.Icon}</div> 77 <div id="mid4" style="position:absolute; left:132px; top:57px; width:32px; height:32px; z-index:1;">{$fitting_med.3.Icon}</div> 78 <div id="mid5" style="position:absolute; left:198px; top:52px; width:32px; height:32px; z-index:1;">{$fitting_med.4.Icon}</div> 79 <div id="mid6" style="position:absolute; left:256px; top:101px; width:32px; height:32px; z-index:1;">{$fitting_med.5.Icon}</div> 80 <div id="mid7" style="position:absolute; left:275px; top:166px; width:32px; height:32px; z-index:1;">{$fitting_med.6.Icon}</div> 81 <div id="mid8" style="position:absolute; left:261px; top:228px; width:32px; height:32px; z-index:1;">{$fitting_med.7.Icon}</div> 123 <div id="low0" style="position:absolute; left:0px; top:0px; width:398px; height:398px; z-index:0;"> 124 <img src="{$img_url}/panel/{$ssc->attrib.lowSlots.value}l.gif" border="0"></div> 125 <div id="lowx" style="position:absolute; left:0px; top:0px; width:398px; height:398px; z-index:0;"> 126 <img src="{$img_url}/panel/{$lowc}pl.gif" border="0"></div> 127 <div id="low1" style="position:absolute; left:114px; top:226px; width:48px; height:48px; z-index:1;">{$fitting_low.0.Icon}</div> 128 <div id="low2" style="position:absolute; left:98px; top:180px; width:48px; height:48px; z-index:1;">{$fitting_low.1.Icon}</div> 129 <div id="low3" style="position:absolute; left:114px; top:135px; width:48px; height:48px; z-index:1;">{$fitting_low.2.Icon}</div> 130 <div id="low4" style="position:absolute; left:151px; top:110px; width:48px; height:48px; z-index:1;">{$fitting_low.3.Icon}</div> 131 <div id="low5" style="position:absolute; left:198px; top:110px; width:48px; height:48px; z-index:1;">{$fitting_low.4.Icon}</div> 132 <div id="low6" style="position:absolute; left:236px; top:135px; width:48px; height:48px; z-index:1;">{$fitting_low.5.Icon}</div> 133 <div id="low7" style="position:absolute; left:250px; top:180px; width:48px; height:48px; z-index:1;">{$fitting_low.6.Icon}</div> 134 <div id="low8" style="position:absolute; left:236px; top:226px; width:48px; height:48px; z-index:1;">{$fitting_low.7.Icon}</div> 82 135 83 <div id="low1" style="position:absolute; left:107px; top:205px; width:32px; height:32px; z-index:1;">{$fitting_low.0.Icon}</div> 84 <div id="low2" style="position:absolute; left:94px; top:163px; width:32px; height:32px; z-index:1;">{$fitting_low.1.Icon}</div> 85 <div id="low3" style="position:absolute; left:111px; top:123px; width:32px; height:32px; z-index:1;">{$fitting_low.2.Icon}</div> 86 <div id="low4" style="position:absolute; left:143px; top:93px; width:32px; height:32px; z-index:1;">{$fitting_low.3.Icon}</div> 87 <div id="low5" style="position:absolute; left:186px; top:94px; width:32px; height:32px; z-index:1;">{$fitting_low.4.Icon}</div> 88 <div id="low6" style="position:absolute; left:228px; top:123px; width:32px; height:32px; z-index:1;">{$fitting_low.5.Icon}</div> 89 <div id="low7" style="position:absolute; left:237px; top:164px; width:32px; height:32px; z-index:1;">{$fitting_low.6.Icon}</div> 90 <div id="low8" style="position:absolute; left:225px; top:203px; width:32px; height:32px; z-index:1;">{$fitting_low.7.Icon}</div> 91 92 <div id="rig1" style="position:absolute; left:54px; top:345px; width:32px; height:32px; z-index:1;">{$fitting_rig.0.Icon}</div> 93 <div id="rig2" style="position:absolute; left:86px; top:345px; width:32px; height:32px; z-index:1;">{$fitting_rig.1.Icon}</div> 94 <div id="rig3" style="position:absolute; left:118px; top:345px; width:32px; height:32px; z-index:1;">{$fitting_rig.2.Icon}</div> 136 <div id="rig0" style="position:absolute; left:0px; top:0px; width:398px; height:398px; z-index:0;"> 137 <img src="{$img_url}/panel/{$ssc->attrib.rigSlots.value}r.gif" border="0"></div> 138 <div id="rig1" style="position:absolute; left:66px; top:355px; width:32px; height:32px; z-index:1;">{$fitting_rig.0.Icon}</div> 139 <div id="rig2" style="position:absolute; left:100px; top:355px; width:32px; height:32px; z-index:1;">{$fitting_rig.1.Icon}</div> 140 <div id="rig3" style="position:absolute; left:134px; top:355px; width:32px; height:32px; z-index:1;">{$fitting_rig.2.Icon}</div> 95 141 </div> 96 97 142 <div class="block-header">Ship details</div> 98 <table class="kb-table" width="3 60" border="0" cellspacing="1">143 <table class="kb-table" width="398" border="0" cellspacing="1"> 99 144 {foreach from=$slots item=slot key=slotindex} 100 145 {* set to true to show empty slots *} 101 146 {if $destroyed.$slotindex or $dropped.$slotindex} 102 <tr class="kb-table-row- slot">147 <tr class="kb-table-row-even"> 103 148 <td class="item-icon" width="32"><img width="32" height="32" src="{$img_url}/{$slot.img}" alt="{$slot.text}" border="0"></td> 104 149 <td colspan="2" class="kb-table-cell"><b>{$slot.text}</b> </td> … … 108 153 </tr> 109 154 {foreach from=$destroyed.$slotindex item=i} 110 <tr class="kb-table-row- destroyed">155 <tr class="kb-table-row-odd"> 111 156 <td class="item-icon" width="32" height="34" valign="top"><a href="?a=invtype&id={$i.itemID}">{$i.Icon}</a></td> 112 157 <td class="kb-table-cell">{$i.Name}</td> … … 147 192 {/foreach} 148 193 {foreach from=$dropped.$slotindex item=i} 149 <tr class="kb-table-row- dropped">194 <tr class="kb-table-row-odd" style="background-color: #043503;"> 150 195 <td style="border: 1px solid green;" width="32" height="34" valign="top"><a href="?a=invtype&id={$i.itemID}">{$i.Icon}</a></td> 151 196 <td class="kb-table-cell">{$i.Name}</td> … … 196 241 <td align="right">{$ItemValue}</td> 197 242 </tr> 198 <tr class={cycle name=ccl} style="background-color: green;">199 <td style="border: 1px solid green;" colspan="3"><div align="right"><strong>Total Module Drop:</strong></div></td>243 <tr class={cycle name=ccl} style="background-color: #043503;"> 244 <td style="border: 1px solid #043503;" colspan="3"><div align="right"><strong>Total Module Drop:</strong></div></td> 200 245 <td style="border: 1px solid green;" align="right">{$DropValue}</td> 201 246 </tr> … … 204 249 <td align="right">{$ShipValue}</td> 205 250 </tr> 206 <tr class={cycle name=ccl} >207 <td colspan="3"><div align="right"><strong>Total Loss:</strong></div></td>208 <td align="right">{$TotalLoss}</td>251 <tr class={cycle name=ccl} style="background-color: #600000;"> 252 <td style="border: 1px solid #600000;" colspan="3"><div align="right"><strong>Total Loss:</strong></div></td> 253 <td td style="border: 1px solid #C00000;" align="right">{$TotalLoss}</td> 209 254 </tr> 210 255 {/if} -
dev/mods/history/history.xml
r317 r318 2 2 <history> 3 3 <changeset> 4 <rev>318</rev> 5 <author>ralle030583</author> 6 <date>31.01.2008</date> 7 <comment> 8 <type>UPD</type> 9 <text>Advanced Fitting Mod with Ammo/Slotlayout (made by Wes Lave)</text> 10 </comment> 11 </changeset> 12 <changeset> 4 13 <rev>317</rev> 5 14 <author>ralle030583</author> … … 8 17 <type>ADD</type> 9 18 <text> 10 EVE-Api class (beta), see pilot getCharId(), only for testing, its atm commented out 11 </text> 12 </comment> 13 <comment> 14 <type>FIX</type> 15 <text> 16 Ticket #74 pilot portrait issues with img url 17 </text> 19 EVE-Api class (beta), see pilot getCharId(), only for 20 testing, its atm commented out 21 </text> 22 </comment> 23 <comment> 24 <type>FIX</type> 25 <text>Ticket #74 pilot portrait issues with img url</text> 18 26 </comment> 19 27 <comment> … … 26 34 <type>FIX</type> 27 35 <text> 28 DB Update004: trinity ships had wrong tech level 29 </text> 30 </comment> 31 <comment> 32 <type>FIX</type> 33 <text> 34 Ticket #75 Reinforced mode generated errors if /proc/loadavg cannot be read 35 </text> 36 </comment> 37 <comment> 38 <type>FIX</type> 39 <text> 40 Mailer sends now the killmail and not the msg that mail is classified, when classification for x hours is enabled. 36 DB Update004: trinity ships had wrong tech level 37 </text> 38 </comment> 39 <comment> 40 <type>FIX</type> 41 <text> 42 Ticket #75 Reinforced mode generated errors if 43 /proc/loadavg cannot be read 44 </text> 45 </comment> 46 <comment> 47 <type>FIX</type> 48 <text> 49 Mailer sends now the killmail and not the msg that mail 50 is classified, when classification for x hours is 51 enabled. 41 52 </text> 42 53 </comment> … … 48 59 <comment> 49 60 <type>FIX</type> 50 <text> 51 Ticket #73 Typo in portrait_grab + reformat 52 </text> 53 </comment> 54 <comment> 55 <type>FIX</type> 56 <text> 57 Ticket #72 KB_HOST wasn't available in $smarty by default 61 <text>Ticket #73 Typo in portrait_grab + reformat</text> 62 </comment> 63 <comment> 64 <type>FIX</type> 65 <text> 66 Ticket #72 KB_HOST wasn't available in $smarty by 67 default 58 68 </text> 59 69 </comment> … … 72 82 <type>ADD</type> 73 83 <text> 74 Ticket #71 Kill_detail.tpl Slot,Destroyed,Dropped items has own table-row styles in the style.css's) 75 </text> 76 </comment> 77 <comment> 78 <type>FIX</type> 79 <text> 80 Ticket #70 (KB_VERSION not a number) 81 </text> 82 </comment> 83 <comment> 84 <type>FIX</type> 85 <text> 86 Ticket #69 (Update Portrait Update) 87 </text> 84 Ticket #71 Kill_detail.tpl Slot,Destroyed,Dropped items 85 has own table-row styles in the style.css's) 86 </text> 87 </comment> 88 <comment> 89 <type>FIX</type> 90 <text>Ticket #70 (KB_VERSION not a number)</text> 91 </comment> 92 <comment> 93 <type>FIX</type> 94 <text>Ticket #69 (Update Portrait Update)</text> 88 95 </comment> 89 96 <comment> … … 96 103 <type>FIX</type> 97 104 <text> 98 Ticket #64 (Problem with IGB links when KB not in web root) 105 Ticket #64 (Problem with IGB links when KB not in web 106 root) 99 107 </text> 100 108 </comment> … … 107 115 <type>FIX</type> 108 116 <text> 109 Fitting Mod, preparing slots caused a timeout. 110 related to : http://www.eve-dev.net/e107_plugins/forum/forum_viewtopic.php?7976 117 Fitting Mod, preparing slots caused a timeout. related 118 to : 119 http://www.eve-dev.net/e107_plugins/forum/forum_viewtopic.php?7976 111 120 </text> 112 121 </comment> … … 135 144 <comment> 136 145 <type>FIX</type> 137 <text>Ticket 62 (Update items value for dropped items)</text> 146 <text> 147 Ticket 62 (Update items value for dropped items) 148 </text> 138 149 </comment> 139 150 <comment>