daily pastebin goal
71%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <xsl:template match="items" mode="build-kill-detail">
  2.        
  3.  
  4.         <div id="fwindow">
  5.         <div style="position: relative;">
  6.             <xsl:for-each select="item/states/state[ancestor::item/@flag='0']">
  7.                         <xsl:sort select="ancestor::item/type/@id" order="descending"/>
  8.                        
  9.                         <xsl:variable name="icon"><xsl:value-of select="ancestor::item/type/@icon" /></xsl:variable>
  10.                         <xsl:variable name="item_location_x"><xsl:apply-templates select="current()" mode="left"  /></xsl:variable>
  11.                         <xsl:variable name="item_location_y"><xsl:apply-templates select="current()" mode="top"  /></xsl:variable>
  12.                         <xsl:variable name="mo"><xsl:value-of select="ancestor::item/type" /></xsl:variable>
  13.                         <div style="position: absolute; left: {$item_location_x}px; top: {$item_location_y}px;"><img src="/img/items/32_32/icon{$icon}.png" title="{$mo}" /></div>
  14.                    
  15.                         <xsl:if test="ancestor::item/type[@tech_level='2']">
  16.                             <xsl:variable name="t2item_location_x" select="$item_location_x+15"/>
  17.                             <xsl:variable name="t2item_location_y" select="$item_location_y+16"/>
  18.                             <div style="position: absolute; left: {$t2item_location_x}px; top: {$t2item_location_y}px;"><img src="/img/tech2.png" title="{$mo}" /></div>
  19.                         </xsl:if>
  20.             </xsl:for-each>
  21.  
  22.            
  23.         </div>
  24.         <img id="fitting" src="/img/fitting_old.jpg" />
  25.         </div>
  26.                
  27.        
  28.     </xsl:template>
  29.  
  30. <!-- LOW POWER SLOTS POSITIONING FOR FITTING WINDOW -->
  31. <xsl:template match="state[@slot_id='loPower_1']" mode="left">111</xsl:template>
  32. <xsl:template match="state[@slot_id='loPower_1']" mode="top">205</xsl:template>
  33.  
  34. <xsl:template match="state[@slot_id='loPower_2']" mode="left">94</xsl:template>
  35. <xsl:template match="state[@slot_id='loPower_2']" mode="top">164</xsl:template>
  36.  
  37. <xsl:template match="state[@slot_id='loPower_3']" mode="left">106</xsl:template>
  38. <xsl:template match="state[@slot_id='loPower_3']" mode="top">120</xsl:template>
  39.  
  40. <xsl:template match="state[@slot_id='loPower_4']" mode="left">142</xsl:template>
  41. <xsl:template match="state[@slot_id='loPower_4']" mode="top">95</xsl:template>
  42.  
  43. <xsl:template match="state[@slot_id='loPower_5']" mode="left">186</xsl:template>
  44. <xsl:template match="state[@slot_id='loPower_5']" mode="top">95</xsl:template>
  45.  
  46. <xsl:template match="state[@slot_id='loPower_6']" mode="left">222</xsl:template>
  47. <xsl:template match="state[@slot_id='loPower_6']" mode="top">120</xsl:template>
  48.  
  49. <xsl:template match="state[@slot_id='loPower_7']" mode="left">233</xsl:template>
  50. <xsl:template match="state[@slot_id='loPower_7']" mode="top">164</xsl:template>
  51.  
  52. <xsl:template match="state[@slot_id='loPower_8']" mode="left">218</xsl:template>
  53. <xsl:template match="state[@slot_id='loPower_8']" mode="top">206</xsl:template>
  54. <!-- LOW POWER SLOTS POSITIONING FOR FITTING WINDOW -->
  55.  
  56.  
  57.  
  58.  
  59.  
  60. <!-- MED POWER SLOTS POSITIONING FOR FITTING WINDOW -->
  61. <xsl:template match="state[@slot_id='medPower_1']" mode="left">78</xsl:template>
  62. <xsl:template match="state[@slot_id='medPower_1']" mode="top">231</xsl:template>
  63.  
  64. <xsl:template match="state[@slot_id='medPower_2']" mode="left">52</xsl:template>
  65. <xsl:template match="state[@slot_id='medPower_2']" mode="top">165</xsl:template>
  66.  
  67. <xsl:template match="state[@slot_id='medPower_3']" mode="left">70</xsl:template>
  68. <xsl:template match="state[@slot_id='medPower_3']" mode="top">95</xsl:template>
  69.  
  70. <xsl:template match="state[@slot_id='medPower_4']" mode="left">128</xsl:template>
  71. <xsl:template match="state[@slot_id='medPower_4']" mode="top">55</xsl:template>
  72.  
  73. <xsl:template match="state[@slot_id='medPower_5']" mode="left">199</xsl:template>
  74. <xsl:template match="state[@slot_id='medPower_5']" mode="top">55</xsl:template>
  75.  
  76. <xsl:template match="state[@slot_id='medPower_6']" mode="left">255</xsl:template>
  77. <xsl:template match="state[@slot_id='medPower_6']" mode="top">96</xsl:template>
  78.  
  79. <xsl:template match="state[@slot_id='medPower_7']" mode="left">274</xsl:template>
  80. <xsl:template match="state[@slot_id='medPower_7']" mode="top">165</xsl:template>
  81.  
  82. <xsl:template match="state[@slot_id='medPower_8']" mode="left">250</xsl:template>
  83. <xsl:template match="state[@slot_id='medPower_8']" mode="top">233</xsl:template>
  84. <!-- MED POWER SLOTS POSITIONING FOR FITTING WINDOW -->
  85.  
  86. <!-- HIGH POWER SLOTS POSITIONING FOR FITTING WINDOW -->
  87. <xsl:template match="state[@slot_id='hiPower_1']" mode="left">47</xsl:template>
  88. <xsl:template match="state[@slot_id='hiPower_1']" mode="top">262</xsl:template>
  89.  
  90. <xsl:template match="state[@slot_id='hiPower_2']" mode="left">10</xsl:template>
  91. <xsl:template match="state[@slot_id='hiPower_2']" mode="top">169</xsl:template>
  92.  
  93. <xsl:template match="state[@slot_id='hiPower_3']" mode="left">35</xsl:template>
  94. <xsl:template match="state[@slot_id='hiPower_3']" mode="top">74</xsl:template>
  95.  
  96. <xsl:template match="state[@slot_id='hiPower_4']" mode="left">113</xsl:template>
  97. <xsl:template match="state[@slot_id='hiPower_4']" mode="top">15</xsl:template>
  98.  
  99. <xsl:template match="state[@slot_id='hiPower_5']" mode="left">214</xsl:template>
  100. <xsl:template match="state[@slot_id='hiPower_5']" mode="top">15</xsl:template>
  101.  
  102. <xsl:template match="state[@slot_id='hiPower_6']" mode="left">290</xsl:template>
  103. <xsl:template match="state[@slot_id='hiPower_6']" mode="top">72</xsl:template>
  104.  
  105. <xsl:template match="state[@slot_id='hiPower_7']" mode="left">318</xsl:template>
  106. <xsl:template match="state[@slot_id='hiPower_7']" mode="top">167</xsl:template>
  107.  
  108. <xsl:template match="state[@slot_id='hiPower_8']" mode="left">283</xsl:template>
  109. <xsl:template match="state[@slot_id='hiPower_8']" mode="top">258</xsl:template>
  110. <!-- HIGH POWER SLOTS POSITIONING FOR FITTING WINDOW -->
  111.  
  112.  
  113. <!-- RIG POWER SLOTS POSITIONING FOR FITTING WINDOW -->
  114. <xsl:template match="state[@slot_id='rigSlot_1']" mode="left">49</xsl:template>
  115. <xsl:template match="state[@slot_id='rigSlot_1']" mode="top">327</xsl:template>
  116.  
  117. <xsl:template match="state[@slot_id='rigSlot_2']" mode="left">83</xsl:template>
  118. <xsl:template match="state[@slot_id='rigSlot_2']" mode="top">327</xsl:template>
  119.  
  120. <xsl:template match="state[@slot_id='rigSlot_3']" mode="left">117</xsl:template>
  121. <xsl:template match="state[@slot_id='rigSlot_3']" mode="top">327</xsl:template>
  122. <!-- RIG POWER SLOTS POSITIONING FOR FITTING WINDOW -->
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top