Changeset 320
- Timestamp:
- 02/06/08 19:47:26 (14 years ago)
- Location:
- dev
- Files:
-
- 183 added
- 60 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/common/includes/class.item.php
r318 r320 28 28 $this->execQuery(); 29 29 global $smarty; 30 30 31 31 // cat 18 are combat drones 32 32 if ($this->row_['itt_cat'] == 18) … … 48 48 $img = IMG_URL.'/items/'.$size.'_'.$size.'/'.$this->row_['itm_icon'].'.png'; 49 49 } 50 50 $xp_d = config::get('fittingxp_data'); 51 if ($size == 24) 52 { 53 $show_style .= '_'.config::get('fittingxp_ammo_style'); 54 $t_s = "2fit"; 55 $f_s = "ffit"; 56 $d_s = "dfit"; 57 $o_s = "ofit"; 58 } 59 elseif ($size == 48) 60 { 61 $show_style .= '_'.config::get('fittingxp_item_style'); 62 $t_s = "2fit"; 63 $f_s = "ffit"; 64 $d_s = "dfit"; 65 $o_s = "ofit"; 66 } 67 else 68 { 69 $show_style = ""; 70 $t_s = "2tag"; 71 $f_s = "ftag"; 72 $d_s = "dtag"; 73 $o_s = "otag"; 74 75 } 51 76 $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'; 55 } 56 else 77 if (($this->row_['itm_techlevel'] == 5) && strstr($xp_d,$t_s)) // is a T2? 78 { 79 $icon .= IMG_URL.'/items/'.$size.'_'.$size.'/t2'.$show_style.'.png'; 80 } 81 elseif (($this->row_['itm_techlevel'] > 5) && ($this->row_['itm_techlevel'] < 10) && strstr($xp_d,$f_s)) // is a faction item? 82 { 83 $icon .= IMG_URL.'/items/'.$size.'_'.$size.'/f'.$show_style.'.png'; 84 } 85 elseif (($this->row_['itm_techlevel'] > 10) && strstr($it_name,"Modified") && strstr($xp_d,$o_s)) // or it's an officer? 86 { 87 $icon .= IMG_URL.'/items/'.$size.'_'.$size.'/o'.$show_style.'.png'; 88 } 89 elseif (($this->row_['itm_techlevel'] > 10) && strstr($xp_d,$d_s)) // or it's just a deadspace item. 90 { 91 $icon .= IMG_URL.'/items/'.$size.'_'.$size.'/d'.$show_style.'.png'; 92 } 93 elseif (strstr($xp_d,$f_s) && (strstr($it_name,"Blood ") || strstr($it_name,"Sansha") || strstr($it_name,"Arch") || strstr($it_name,"Domination") || strstr($it_name,"Republic") || strstr($it_name,"Navy") || strstr($it_name,"Guardian") || strstr($it_name,"Guristas") || strstr($it_name,"Shadow"))) // finally if it's a faction should have its prefix 94 { 95 $icon = IMG_URL.'/items/'.$size.'_'.$size.'/f'.$show_style.'.png'; 96 } 97 else // but maybe it was only a T1 item :P 57 98 { 58 99 $icon = IMG_URL.'/items/'.$size.'_'.$size.'/blank.gif'; 59 100 } 101 102 if (($size == 48) && ($show_style == '_backglowing')) 103 { 104 $temp = $img; 105 $img = $icon; 106 $icon = $temp; 107 } 60 108 61 109 $smarty->assign('img', $img); … … 112 160 $this->sql_ = "select inv.*, kb3_item_types.*, dga.value as techlevel, itp.price 113 161 from kb3_invtypes inv 114 left join kb3_dgmtypeattributes dga on dga.typeID=inv.typeID and dga.attributeID= ".DGM_TECHLEVEL."162 left join kb3_dgmtypeattributes dga on dga.typeID=inv.typeID and dga.attributeID=633 115 163 left join kb3_item_price itp on itp.typeID=inv.typeID 116 164 left join kb3_item_types on groupID=itt_id … … 206 254 $row = $qry->getRow(); 207 255 return $row['value']; 208 } 256 } 257 258 function get_used_charge_size($name) 259 { 260 $qry = new DBQuery(); 261 // I dont think CCP will change this attribute in near future ;-) 262 $query = "SELECT value 263 FROM kb3_dgmtypeattributes d 264 INNER JOIN kb3_invtypes i ON i.typeID = d.typeID 265 WHERE i.typeName = '".slashfix($name)."' AND d.attributeID IN (128);"; 266 $qry->execute($query); 267 $row = $qry->getRow(); 268 return $row['value']; 269 } 270 271 function get_ammo_size($name) 272 { 273 $temp = substr($name, strlen($name) - 2, 2); 274 if ($temp == 'XL') 275 { 276 $a_size = 4; 277 } 278 elseif ($temp == ' L') 279 { 280 $a_size = 3; 281 } 282 elseif ($temp == ' M') 283 { 284 $a_size = 2; 285 } 286 elseif ($temp == ' S') 287 { 288 $a_size = 1; 289 } 290 elseif ($temp == 'II') 291 { 292 $a_size = 1; 293 } 294 elseif ($temp == ' I') 295 { 296 $a_size = 1; 297 } 298 else 299 { 300 $a_size = 0; 301 302 } 303 return $a_size; 304 } 209 305 210 306 function get_group_id($name) -
dev/common/includes/class.toplist.php
r254 r320 958 958 $odd = true; 959 959 } 960 $html .= "<tr class=".$class.">";961 $html .= "<td >".$item->getIcon(32)."</td>";960 $html .= "<tr height=32 class=".$class.">"; 961 $html .= "<td width=32 valign=top align=left>".$item->getIcon(32)."</td>"; 962 962 $html .= "<td class=kb-table-cell width=200><b>".$item->getName()."</b></td>"; 963 963 $html .= "<td class=kb-table-cell align=center><b>".$row['cnt']."</b></td>"; -
dev/mods/fitting/kill_detail.php
r318 r320 6 6 7 7 $page = new Page('Kill details'); 8 9 $smarty->assign('panel_style', config::get('fittingxp_style')); 10 $smarty->assign('panel_colour', config::get('fittingxp_colour')); 11 $smarty->assign('dropped_colour', config::get('fittingxp_dropped_colour')); 12 $smarty->assign('themedir', config::get('fittingxp_themedir')); 8 13 9 14 if (config::get('item_values')) … … 206 211 if(($i_usedgroup != 0)) 207 212 { 208 $ammo_array[$i_location][]=array('Name'=>$i_name, 'Icon' => $item->getIcon(24), 'itemID' => $i_id, 'usedgroupID' => $i_usedgroup); 213 if ($i_location == 1) 214 { 215 $i_ammo=$item->get_ammo_size($i_name); 216 if ($i_usedgroup == 481) { $i_ammo = 0; } 217 } 218 else 219 { 220 $i_ammo = 0; 221 } 222 $ammo_array[$i_location][]=array('Name'=>$i_name, 'Icon' => $item->getIcon(24), 'itemID' => $i_id, 'usedgroupID' => $i_usedgroup, 'size' => $i_ammo); 209 223 } else 210 224 { 211 225 for ($count = 0; $count < $i_qty; $count++) 212 226 { 213 $fitting_array[$i_location][]=array('Name'=>$i_name, 'Icon' => $item->getIcon(48), 'itemID' => $i_id, 'groupID' => $item->get_group_id($i_name)); 227 if ($i_location == 1) 228 { 229 $i_charge=$item->get_used_charge_size($i_name); 230 } 231 else 232 { 233 $i_charge = 0; 234 } 235 $fitting_array[$i_location][]=array('Name'=>$i_name, 'Icon' => $item->getIcon(48), 'itemID' => $i_id, 'groupID' => $item->get_group_id($i_name), 'chargeSize' => $i_charge); 214 236 } 215 237 } … … 249 271 if(($i_usedgroup != 0)) 250 272 { 251 $ammo_array[$i_location][]=array('Name'=>$i_name, 'Icon' => $item->getIcon(24), 'itemID' => $i_id, 'usedgroupID' => $i_usedgroup); 273 if ($i_location == 1) 274 { 275 $i_ammo=$item->get_ammo_size($i_name); 276 if ($i_usedgroup == 481) { $i_ammo = 0; } 277 } 278 else 279 { 280 $i_ammo = 0; 281 } 282 $ammo_array[$i_location][]=array('Name'=>$i_name, 'Icon' => $item->getIcon(24), 'itemID' => $i_id, 'usedgroupID' => $i_usedgroup, 'size' => $i_ammo); 252 283 } else 253 284 { 254 285 for ($count = 0; $count < $i_qty; $count++) 255 286 { 256 $fitting_array[$i_location][]=array('Name'=>$i_name, 'Icon' => $item->getIcon(48), 'itemID' => $i_id, 'groupID' => $item->get_group_id($i_name)); 287 if ($i_location == 1) 288 { 289 $i_charge=$item->get_used_charge_size($i_name); 290 } 291 else 292 { 293 $i_charge = 0; 294 } 295 $fitting_array[$i_location][]=array('Name'=>$i_name, 'Icon' => $item->getIcon(48), 'itemID' => $i_id, 'groupID' => $item->get_group_id($i_name), 'chargeSize' => $i_charge); 257 296 } 258 297 } … … 264 303 } 265 304 266 //Fitting - KE, sort the fitted items into nameorder, so that several of the same item apear next to each other.305 //Fitting - KE, sort the fitted items into groupID order, so that several of the same item apear next to each other. 267 306 if(is_array($fitting_array[1])) 268 307 { 269 308 foreach ($fitting_array[1] as $array_rowh) 270 309 { 271 $sort_by_nameh[" Name"][] = $array_rowh["Name"];272 } 273 array_multisort($sort_by_nameh[" Name"],SORT_ASC,$fitting_array[1]);310 $sort_by_nameh["groupID"][] = $array_rowh["groupID"]; 311 } 312 array_multisort($sort_by_nameh["groupID"],SORT_ASC,$fitting_array[1]); 274 313 } 275 314 … … 278 317 foreach ($fitting_array[2] as $array_rowm) 279 318 { 280 $sort_by_namem[" Name"][] = $array_rowm["Name"];281 } 282 array_multisort($sort_by_namem[" Name"],SORT_ASC,$fitting_array[2]);319 $sort_by_namem["groupID"][] = $array_rowm["groupID"]; 320 } 321 array_multisort($sort_by_namem["groupID"],SORT_ASC,$fitting_array[2]); 283 322 } 284 323 … … 287 326 foreach ($fitting_array[3] as $array_rowl) 288 327 { 289 $sort_by_namel[" Name"][] = $array_rowl["Name"];290 } 291 array_multisort($sort_by_namel[" Name"],SORT_ASC,$fitting_array[3]);328 $sort_by_namel["groupID"][] = $array_rowl["Name"]; 329 } 330 array_multisort($sort_by_namel["groupID"],SORT_ASC,$fitting_array[3]); 292 331 } 293 332 … … 311 350 { 312 351 $group = $highfit["groupID"]; 313 if($group == 483 || $group == 53 || $group == 55 || $group == 74 || ($group >= 506 && $group <= 511) || $group == 481 || $group == 899 || $group == 771) 352 $size = $highfit["chargeSize"]; 353 if($group == 483 // Modulated Deep Core Miner II, Modulated Strip Miner II and Modulated Deep Core Strip Miner II 354 || $group == 53 // Laser Turrets 355 || $group == 55 // Projectile Turrets 356 || $group == 74 // Hybrid Turrets 357 || ($group >= 506 && $group <= 511) // Some Missile Lauchers 358 || $group == 481 // Probe Launchers 359 || $group == 899 // Warp Disruption Field Generator I 360 || $group == 771 // Heavy Assault Missile Launchers 361 || $group == 589 // Interdiction Sphere Lauchers 362 || $group == 524 // Citadel Torpedo Launchers 363 ) 314 364 { 315 365 $found = 0; 316 if ($group == 511) { $group = 509; } 366 if ($group == 511) { $group = 509; } // Assault Missile Lauchers uses same ammo as Standard Missile Lauchers 317 367 if(is_array($ammo_array[1])) 318 368 { … … 321 371 { 322 372 $temp = array_shift($ammo_array[1]); 323 if ( $temp["usedgroupID"] == $group)373 if (($temp["usedgroupID"] == $group) && ($temp["size"] == $size)) 324 374 { 325 375 $hiammo[]=array('show'=>$smarty->fetch(get_tpl('ammo')), 'type'=>$temp["Icon"]); … … 347 397 { 348 398 $group = $midfit["groupID"]; 349 if($group == 76 || $group == 208 || $group == 212 || $group == 291 || $group == 213) 399 if($group == 76 // Capacitor Boosters 400 || $group == 208 // Remote Sensor Dampeners 401 || $group == 212 // Sensor Boosters 402 || $group == 291 // Tracking Disruptors 403 || $group == 213 // Tracking Computers 404 || $group == 209 // Tracking Links 405 || $group == 290 // Remote Sensor Boosters 406 ) 350 407 { 351 408 $found = 0; … … 454 511 } 455 512 513 456 514 $html = $smarty->fetch('../mods/fitting/kill_detail.tpl'); 457 515 $page->setContent($html); -
dev/mods/fitting/kill_detail.tpl
r318 r320 62 62 63 63 <br /> 64 <div id="fitting" style="position:relative; height:398px; width:398px; background-image:url({$img_url}/ panel/basefit.gif)" name="fitting">64 <div id="fitting" style="position:relative; height:398px; width:398px; background-image:url({$img_url}/{$themedir}/{$panel_style}.png)" name="fitting"> 65 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> 66 <img src="{$img_url}/{$themedir}/{$ssc->attrib.hiSlots.value}h.gif" border="0"></div> 67 <div id="highc" style="position:absolute; left:0px; top:0px; width:398px; height:398px; z-index:0;"> 68 <img src="{$img_url}/{$themedir}/{$hic}ch.gif" border="0"></div> 69 <div id="mid0" style="position:absolute; left:0px; top:0px; width:398px; height:398px; z-index:0;"> 70 <img src="{$img_url}/{$themedir}/{$ssc->attrib.medSlots.value}m.gif" border="0"></div> 71 <div id="midx" style="position:absolute; left:0px; top:0px; width:398px; height:398px; z-index:0;"> 72 <img src="{$img_url}/{$themedir}/{$medc}cm.gif" border="0"></div> 73 <div id="low0" style="position:absolute; left:0px; top:0px; width:398px; height:398px; z-index:0;"> 74 <img src="{$img_url}/{$themedir}/{$ssc->attrib.lowSlots.value}l.gif" border="0"></div> 75 <div id="lowx" style="position:absolute; left:0px; top:0px; width:398px; height:398px; z-index:0;"> 76 <img src="{$img_url}/{$themedir}/{$lowc}cl.gif" border="0"></div> 77 <div id="rig0" style="position:absolute; left:0px; top:0px; width:398px; height:398px; z-index:0;"> 78 <img src="{$img_url}/{$themedir}/{$ssc->attrib.rigSlots.value}r.gif" border="0"></div> 79 80 <div id="mask" style="position:absolute; left:0px; top:0px; width:398px; height:398px; z-index:0;"> 81 <img border="0" style="position:absolute; height="398" width="398" filter:progid:DXImageTransform.Microsoft.AlphaImageLoader( 82 src="{$img_url}/{$themedir}/{$panel_colour}.png", sizingMethod='image');"></div> 83 67 84 <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>85 <img src="{$img_url}/{$themedir}/{$hic}ph.gif" border="0"></div> 69 86 <div id="high1" style="position:absolute; left:40px; top:278px; width:48px; height:48px; z-index:1;">{$fitting_high.0.Icon}</div> 87 <div id="high1l" style="position:absolute; left:67px; top:308px; width:24px; height:24px; z-index:2;">{$fitting_ammo_high.0.type}</div> 70 88 <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> 89 <div id="high2" style="position:absolute; left:9px; top:180px; width:48px; height:48px; z-index:1;">{$fitting_high.1.Icon}</div> 90 <div id="high2l" style="position:absolute; left:22px; top:213px; width:24px; height:24px; z-index:2;">{$fitting_ammo_high.1.type}</div> 91 <div id="high2a" style="position:absolute; left:18px; top:209px; width:32px; height:32px; z-index:2;">{$fitting_ammo_high.1.show}</div> 75 92 <div id="high3" style="position:absolute; left:40px; top:83px; width:48px; height:48px; z-index:1;">{$fitting_high.2.Icon}</div> 93 <div id="high3l" style="position:absolute; left:40px; top:113px; width:24px; height:24px; z-index:2;">{$fitting_ammo_high.2.type}</div> 76 94 <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 95 <div id="high4" style="position:absolute; left:124px; top:22px; width:48px; height:48px; z-index:1;">{$fitting_high.3.Icon}</div> 96 <div id="high4l" style="position:absolute; left:117px; top:42px; width:24px; height:24px; z-index:2;">{$fitting_ammo_high.3.type}</div> 79 97 <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>98 <div id="high5" style="position:absolute; left:227px; top:22px; width:48px; height:48px; z-index:1;">{$fitting_high.4.Icon}</div> 99 <div id="high5l" style="position:absolute; left:259px; top:42px; width:24px; height:24px; z-index:2;">{$fitting_ammo_high.4.type}</div> 82 100 <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 101 <div id="high6" style="position:absolute; left:310px; top:83px; width:48px; height:48px; z-index:1;">{$fitting_high.5.Icon}</div> 102 <div id="high6l" style="position:absolute; left:334px; top:114px; width:24px; height:24px; z-index:2;">{$fitting_ammo_high.5.type}</div> 85 103 <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 104 <div id="high7" style="position:absolute; left:342px; top:180px; width:48px; height:48px; z-index:1;">{$fitting_high.6.Icon}</div> 105 <div id="high7l" style="position:absolute; left:352px; top:214px; width:24px; height:24px; z-index:2;">{$fitting_ammo_high.6.type}</div> 88 106 <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 107 <div id="high8" style="position:absolute; left:310px; top:278px; width:48px; height:48px; z-index:1;">{$fitting_high.7.Icon}</div> 108 <div id="high8l" style="position:absolute; left:309px; top:306px; width:24px; height:24px; z-index:2;">{$fitting_ammo_high.7.type}</div> 91 109 <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 110 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> 111 96 112 <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>113 <img src="{$img_url}/{$themedir}/{$medc}pm.gif" border="0"></div> 98 114 <div id="mid1" style="position:absolute; left:76px; top:253px; width:48px; height:48px; z-index:1;">{$fitting_med.0.Icon}</div> 115 <div id="mid1l" style="position:absolute; left:104px; top:281px; width:24px; height:24px; z-index:2;">{$fitting_ammo_mid.0.type}</div> 99 116 <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 117 <div id="mid2" style="position:absolute; left:52px; top:180px; width:48px; height:48px; z-index:1;">{$fitting_med.1.Icon}</div> 118 <div id="mid2l" style="position:absolute; left:69px; top:214px; width:24px; height:24px; z-index:2;">{$fitting_ammo_mid.1.type}</div> 102 119 <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 120 <div id="mid3" style="position:absolute; left:77px; top:108px; width:48px; height:48px; z-index:1;">{$fitting_med.2.Icon}</div> 121 <div id="mid4l" style="position:absolute; left:78px; top:140px; width:24px; height:24px; z-index:2;">{$fitting_ammo_mid.2.type}</div> 105 122 <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 123 <div id="mid4" style="position:absolute; left:138px; top:66px; width:48px; height:48px; z-index:1;">{$fitting_med.3.Icon}</div> 124 <div id="mid4l" style="position:absolute; left:128px; top:85px; width:24px; height:24px; z-index:2;">{$fitting_ammo_mid.3.type}</div> 108 125 <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 126 <div id="mid5" style="position:absolute; left:213px; top:66px; width:48px; height:48px; z-index:1;">{$fitting_med.4.Icon}</div> 127 <div id="mid5l" style="position:absolute; left:245px; top:85px; width:24px; height:24px; z-index:2;">{$fitting_ammo_mid.4.type}</div> 111 128 <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 129 <div id="mid6" style="position:absolute; left:274px; top:108px; width:48px; height:48px; z-index:1;">{$fitting_med.5.Icon}</div> 130 <div id="mid6l" style="position:absolute; left:296px; top:141px; width:24px; height:24px; z-index:2;">{$fitting_ammo_mid.5.type}</div> 114 131 <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 132 <div id="mid7" style="position:absolute; left:298px; top:180px; width:48px; height:48px; z-index:1;">{$fitting_med.6.Icon}</div> 133 <div id="mid7l" style="position:absolute; left:306px; top:214px; width:24px; height:24px; z-index:2;">{$fitting_ammo_mid.6.type}</div> 117 134 <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 135 <div id="mid8" style="position:absolute; left:275px; top:253px; width:48px; height:48px; z-index:1;">{$fitting_med.7.Icon}</div> 136 <div id="mid8l" style="position:absolute; left:271px; top:280px; width:24px; height:24px; z-index:2;">{$fitting_ammo_mid.7.type}</div> 120 137 <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> 122 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> 138 139 125 140 <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>141 <img src="{$img_url}/{$themedir}/{$lowc}pl.gif" border="0"></div> 127 142 <div id="low1" style="position:absolute; left:114px; top:226px; width:48px; height:48px; z-index:1;">{$fitting_low.0.Icon}</div> 128 143 <div id="low2" style="position:absolute; left:98px; top:180px; width:48px; height:48px; z-index:1;">{$fitting_low.1.Icon}</div> … … 134 149 <div id="low8" style="position:absolute; left:236px; top:226px; width:48px; height:48px; z-index:1;">{$fitting_low.7.Icon}</div> 135 150 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> 151 138 152 <div id="rig1" style="position:absolute; left:66px; top:355px; width:32px; height:32px; z-index:1;">{$fitting_rig.0.Icon}</div> 139 153 <div id="rig2" style="position:absolute; left:100px; top:355px; width:32px; height:32px; z-index:1;">{$fitting_rig.1.Icon}</div> 140 154 <div id="rig3" style="position:absolute; left:134px; top:355px; width:32px; height:32px; z-index:1;">{$fitting_rig.2.Icon}</div> 141 155 </div> 156 142 157 <div class="block-header">Ship details</div> 143 158 <table class="kb-table" width="398" border="0" cellspacing="1"> … … 192 207 {/foreach} 193 208 {foreach from=$dropped.$slotindex item=i} 194 <tr class="kb-table-row-odd" style="background-color: #043503;">209 <tr class="kb-table-row-odd" style="background-color: {$dropped_colour};"> 195 210 <td style="border: 1px solid green;" width="32" height="34" valign="top"><a href="?a=invtype&id={$i.itemID}">{$i.Icon}</a></td> 196 211 <td class="kb-table-cell">{$i.Name}</td> … … 241 256 <td align="right">{$ItemValue}</td> 242 257 </tr> 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>258 <tr class={cycle name=ccl} style="background-color: {$dropped_colour};"> 259 <td style="border: 1px solid {$dropped_colour};" colspan="3"><div align="right"><strong>Total Module Drop:</strong></div></td> 245 260 <td style="border: 1px solid green;" align="right">{$DropValue}</td> 246 261 </tr> -
dev/templates/ammo.tpl
r318 r320 1 <img border="0" style="position:absolute;" src="{$img_url}/panel/ammo.png"> 1 <div class="item-icon" style="position:absolute; border: none; height:32px; width:32px; text-align:left;"> 2 <img border="0" style="position:absolute; height="32" width="32" filter:progid:DXImageTransform.Microsoft.AlphaImageLoader( 3 src="{$img_url}/panel/ammo_{$panel_colour}.png", sizingMethod='image');"> 4 </div> -
dev/templates/blank.tpl
r318 r320 1 <img border="0" style="position:absolute;" src="{$img_url}/panel/blank.png"> 1 <div class="item-icon" style="position:absolute; border: none; height:32px; width:32px; text-align:left;"> 2 <img border="0" style="position:absolute; height="32" width="32" filter:progid:DXImageTransform.Microsoft.AlphaImageLoader( 3 src="{$img_url}/panel/blank.png", sizingMethod='image');"> 4 </div> -
dev/templates/icon24.tpl
r318 r320 1 <span class="item-icon" style="position:relative; border: none; height:24px; width:24px; text-align:left;"> 2 <img border="0" style="position:absolute;" src="{$icon}"> 3 <img border="0" height="24" width="24" src="{$img}" title="{$name}" alt="{$name}"> 4 </span> 1 <div class="item-icon" style="position:absolute; border: none; height:24px; width:24px; text-align:left;"> 2 <img border="0" style="position:absolute; left:-4px; top:-4px; height="32" width="32" filter:progid:DXImageTransform.Microsoft.AlphaImageLoader( 3 src="{$icon}", sizingMethod='image');"> 4 <img border="0" style="position:absolute; height="24" width="24" filter:progid:DXImageTransform.Microsoft.AlphaImageLoader( 5 src="{$img}", sizingMethod='image');" title="{$name}" alt="{$name}"> 6 </div> -
dev/templates/icon32.tpl
r318 r320 1 <span class="item-icon" style="position:relative; border: none; height:32px; width:32px; text-align:left;"> 2 <img border="0" style="position:absolute;" src="{$icon}"> 3 <img border="0" height="32" width="32" src="{$img}" title="{$name}" alt="{$name}"> 4 </span> 1 <div class="item-icon" style="position:absolute; border: none; height:32px; width:32px; text-align:left;"> 2 <img border="0" style="position:absolute; height="32" width="32" filter:progid:DXImageTransform.Microsoft.AlphaImageLoader( 3 src="{$img}", sizingMethod='image');"> 4 <img border="0" style="position:absolute; height="32" width="32" filter:progid:DXImageTransform.Microsoft.AlphaImageLoader( 5 src="{$icon}", sizingMethod='image');" title="{$name}" alt="{$name}"> 6 </div> -
dev/templates/icon48.tpl
r318 r320 1 <span class="item-icon" style="position:relative; border: none; height:48px; width:48px; text-align:left;"> 2 <img border="0" style="position:absolute;" src="{$icon}"> 3 <img border="0" height="48" width="48" src="{$img}" title="{$name}" alt="{$name}"> 4 </span> 1 <div class="item-icon" style="position:absolute; border: none; height:48px; width:48px; text-align:left;"> 2 <img border="0" style="position:absolute; height="48" width="48" filter:progid:DXImageTransform.Microsoft.AlphaImageLoader( 3 src="{$img}", sizingMethod='image');"> 4 <img border="0" style="position:absolute; height="48" width="48" filter:progid:DXImageTransform.Microsoft.AlphaImageLoader( 5 src="{$icon}", sizingMethod='image');" title="{$name}" alt="{$name}"> 6 </div> -
dev/templates/noicon.tpl
r318 r320 1 <span class="item-icon" style="position:relative; border: none; height:24px; width:24px; text-align:left;"> 2 <img border="0" style="position:absolute;" src="{$img_url}/items/24_24/icon09_13.png"></span> 1 <div class="item-icon" style="position:relative; border: none; height:24px; width:24px; text-align:left;"> 2 <img border="0" style="position:absolute;" filter:progid:DXImageTransform.Microsoft.AlphaImageLoader( 3 src="{$img_url}/items/24_24/icon09_13.png", sizingMethod='scale');"></div>