| 1 |
<!-- |
|---|
| 2 |
Drifting Souls 2 |
|---|
| 3 |
Copyright (c) 2006 Christopher Jung |
|---|
| 4 |
|
|---|
| 5 |
This library is free software; you can redistribute it and/or |
|---|
| 6 |
modify it under the terms of the GNU Lesser General Public |
|---|
| 7 |
License as published by the Free Software Foundation; either |
|---|
| 8 |
version 2.1 of the License, or (at your option) any later version. |
|---|
| 9 |
|
|---|
| 10 |
This library is distributed in the hope that it will be useful, |
|---|
| 11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 13 |
Lesser General Public License for more details. |
|---|
| 14 |
|
|---|
| 15 |
You should have received a copy of the GNU Lesser General Public |
|---|
| 16 |
License along with this library; if not, write to the Free Software |
|---|
| 17 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
|---|
| 18 |
--> |
|---|
| 19 |
<table class="show" cellspacing="2" cellpadding="2"> |
|---|
| 20 |
<tr> |
|---|
| 21 |
<td class="noBorderS" style="text-align:center;font-size:12px">Kommandozentrale<br />{base.name}</td> |
|---|
| 22 |
<td class="noBorder"> </td> |
|---|
| 23 |
<td class="noBorderS"> |
|---|
| 24 |
{!table_begin 440,center} |
|---|
| 25 |
{!link_to Allgemein, default, col:$base.id, field:$base.field, show:general} |
|---|
| 26 |
| {!link_to Automatischer Verkauf, default, col:$base.id, field:$base.field, show:autogtu} |
|---|
| 27 |
{!table_end} |
|---|
| 28 |
</td> |
|---|
| 29 |
</tr> |
|---|
| 30 |
</table> |
|---|
| 31 |
<br /> |
|---|
| 32 |
{if building.message} |
|---|
| 33 |
<div class="smallfont"> |
|---|
| 34 |
{building.message} |
|---|
| 35 |
</div> |
|---|
| 36 |
{/endif} |
|---|
| 37 |
|
|---|
| 38 |
{if show.autogtu} |
|---|
| 39 |
{!table_begin 568, center} |
|---|
| 40 |
<div style="text-align:left">Verkaufsaufträge:<br /><br /></div> |
|---|
| 41 |
<form action="ds" method="post"> |
|---|
| 42 |
<table class="noBorderX" width="100%"> |
|---|
| 43 |
<!-- BEGIN autogtu.acts.listitem --> |
|---|
| 44 |
<tr> |
|---|
| 45 |
<td class="noBorderX"> |
|---|
| 46 |
<img style="vertical-align:middle" src="{res.image}" alt="" />{res.name}: |
|---|
| 47 |
</td> |
|---|
| 48 |
<td class="noBorderX"> |
|---|
| 49 |
{if res.action.total} |
|---|
| 50 |
Immer {res.sellcount} Einheiten verkaufen |
|---|
| 51 |
{else} |
|---|
| 52 |
{if res.action.limit} |
|---|
| 53 |
Alles über {res.sellcount} Einheiten verkaufen |
|---|
| 54 |
{else} |
|---|
| 55 |
Unbekannte Aktion |
|---|
| 56 |
{/endif} |
|---|
| 57 |
{/endif} |
|---|
| 58 |
</td> |
|---|
| 59 |
<td class="noBorderX"> |
|---|
| 60 |
{!link_to X, default, css_class:error, col:$base.id, field:$base.field, show:autogtu, baction:gtudel, gtuact:$res.actionstring} |
|---|
| 61 |
</td> |
|---|
| 62 |
</tr> |
|---|
| 63 |
<!-- END autogtu.acts.listitem --> |
|---|
| 64 |
{if autogtu.acts.list } |
|---|
| 65 |
<tr> |
|---|
| 66 |
<td class="noBorderX" colspan="3"> |
|---|
| 67 |
<hr style="height:1px; border:0px; background-color:#606060; color:#606060" /> |
|---|
| 68 |
</td> |
|---|
| 69 |
</tr> |
|---|
| 70 |
{/endif} |
|---|
| 71 |
<tr> |
|---|
| 72 |
<td class="noBorderX"> |
|---|
| 73 |
<select name="resid" size="1"> |
|---|
| 74 |
<!-- BEGIN autogtu.reslist.listitem --> |
|---|
| 75 |
<option value="{res.id}">{res.name}</option> |
|---|
| 76 |
<!-- END autogtu.reslist.listitem --> |
|---|
| 77 |
</select>: |
|---|
| 78 |
</td> |
|---|
| 79 |
<td class="noBorderX"> |
|---|
| 80 |
<select name="actid" size="1"> |
|---|
| 81 |
<option value="0" selected="selected">Immer</option> |
|---|
| 82 |
<option value="1">Alles über</option> |
|---|
| 83 |
</select> |
|---|
| 84 |
<input type="text" name="count" size="6" value="0" /> verkaufen |
|---|
| 85 |
</td> |
|---|
| 86 |
|
|---|
| 87 |
<td class="noBorderX"><input type="submit" value="ok" /></td> |
|---|
| 88 |
</tr> |
|---|
| 89 |
</table> |
|---|
| 90 |
{!form_create_hidden default, col:$base.id, field:$base.field, baction:gtuadd, show:autogtu} |
|---|
| 91 |
</form> |
|---|
| 92 |
{!table_end} |
|---|
| 93 |
<div class="smallfont"> |
|---|
| 94 |
<br /> |
|---|
| 95 |
</div> |
|---|
| 96 |
{/endif} |
|---|
| 97 |
{if show.general} |
|---|
| 98 |
{!table_begin 430,center} |
|---|
| 99 |
<table class="noBorderX" cellpadding="2"> |
|---|
| 100 |
<tr> |
|---|
| 101 |
<td class="noBorderX"><span style="font-weight:bold">Aktion</span></td> |
|---|
| 102 |
<td class="noBorderX"><span style="font-weight:bold">Kosten</span></td> |
|---|
| 103 |
<td class="noBorderX"></td> |
|---|
| 104 |
</tr> |
|---|
| 105 |
<tr> |
|---|
| 106 |
<td class="noBorderX" valign="top">Batterien entladen</td> |
|---|
| 107 |
<td class="noBorderX" valign="top"><img src="{res.batterien.image}" alt="" />1</td> |
|---|
| 108 |
<td class="noBorderX" valign="top"> |
|---|
| 109 |
<form action="./ds" method="post"> |
|---|
| 110 |
<div> |
|---|
| 111 |
<input name="unload" type="text" size="2" value="0" /> |
|---|
| 112 |
{!form_create_hidden default, col:$base.id, field:$base.field, baction:unload, show:general} |
|---|
| 113 |
<input type="submit" value="entladen" /> |
|---|
| 114 |
</div> |
|---|
| 115 |
</form> |
|---|
| 116 |
</td> |
|---|
| 117 |
</tr> |
|---|
| 118 |
<tr> |
|---|
| 119 |
<td class="noBorderX" valign="top">Batterien aufladen</td> |
|---|
| 120 |
<td class="noBorderX" valign="top"><img src="{URL}data/interface/energie.gif" alt="Energie" />1 <img src="{res.lbatterien.image}" alt="" />1</td> |
|---|
| 121 |
<td class="noBorderX" valign="top"> |
|---|
| 122 |
<form action="./ds" method="post"> |
|---|
| 123 |
<div> |
|---|
| 124 |
<input name="load" type="text" size="2" value="0" /> |
|---|
| 125 |
{!form_create_hidden default, col:$base.id, field:$base.field, baction:load, show:general} |
|---|
| 126 |
<input type="submit" value="aufladen" /> |
|---|
| 127 |
</div> |
|---|
| 128 |
</form> |
|---|
| 129 |
</td> |
|---|
| 130 |
</tr> |
|---|
| 131 |
<tr> |
|---|
| 132 |
<td class="noBorderX" valign="top">Batterien herstellen</td> |
|---|
| 133 |
<td class="noBorderX" valign="top"><img src="{res.platin.image}" alt="" />1</td> |
|---|
| 134 |
<td class="noBorderX" valign="top"> |
|---|
| 135 |
<form action="./ds" method="post"> |
|---|
| 136 |
<div> |
|---|
| 137 |
<input name="create" type="text" size="2" value="0" /> |
|---|
| 138 |
{!form_create_hidden default, col:$base.id, field:$base.field, baction:create, show:general} |
|---|
| 139 |
<input type="submit" value="herstellen" /> |
|---|
| 140 |
</div> |
|---|
| 141 |
</form> |
|---|
| 142 |
</td> |
|---|
| 143 |
</tr> |
|---|
| 144 |
</table> |
|---|
| 145 |
{!table_end} |
|---|
| 146 |
<div class="smallfont"> |
|---|
| 147 |
<br /> |
|---|
| 148 |
{if general.itemconsign.list} |
|---|
| 149 |
</div> |
|---|
| 150 |
{!table_begin 430,left} |
|---|
| 151 |
{else} |
|---|
| 152 |
{if general.shiptransfer.list} |
|---|
| 153 |
</div> |
|---|
| 154 |
{!table_begin 430,left} |
|---|
| 155 |
<span style="font-weight:bold">Waren transferieren:</span><br /> |
|---|
| 156 |
{else} |
|---|
| 157 |
{if general.basetransfer.list} |
|---|
| 158 |
</div> |
|---|
| 159 |
{!table_begin 430,left} |
|---|
| 160 |
<span style="font-weight:bold">Waren transferieren:</span><br /> |
|---|
| 161 |
{/endif} |
|---|
| 162 |
{/endif} |
|---|
| 163 |
{/endif} |
|---|
| 164 |
<!-- BEGIN general.itemconsign.listitem --> |
|---|
| 165 |
{if ! general.itemconsign.list} |
|---|
| 166 |
<form action="./ds" method="post"> |
|---|
| 167 |
Item an Allianz übergeben:<br /> |
|---|
| 168 |
<select style="width:250px" name="item" size="1"> |
|---|
| 169 |
{/endif} |
|---|
| 170 |
<option value="{item.id}">{item.name}</option> |
|---|
| 171 |
<!-- END general.itemconsign.listitem --> |
|---|
| 172 |
{if general.itemconsign.list} |
|---|
| 173 |
</select> |
|---|
| 174 |
{!form_create_hidden default, col:$base.id, field:$base.field, baction:item, show:general} |
|---|
| 175 |
<input type="submit" value="ok" /> |
|---|
| 176 |
</form> |
|---|
| 177 |
<div class="smallfont"> |
|---|
| 178 |
<br /> |
|---|
| 179 |
{/endif} |
|---|
| 180 |
|
|---|
| 181 |
{if general.shiptransfer.list} |
|---|
| 182 |
<form action="./ds" method="post"> |
|---|
| 183 |
<div> |
|---|
| 184 |
<select style="width:250px" name="to"> |
|---|
| 185 |
<option selected="selected">Ziel</option> |
|---|
| 186 |
{/endif} |
|---|
| 187 |
<!-- BEGIN general.shiptransfer.listitem --> |
|---|
| 188 |
{if ship.endgroup} |
|---|
| 189 |
</optgroup> |
|---|
| 190 |
{/endif} |
|---|
| 191 |
{if ship.begingroup} |
|---|
| 192 |
<optgroup label="{base.system}:{ship.x}/{ship.y}"> |
|---|
| 193 |
{/endif} |
|---|
| 194 |
<option value="{ship.id}">({ship.id}) {ship.name} {if ship.owner.name}({ship.owner.name}){/endif}</option> |
|---|
| 195 |
<!-- END general.shiptransfer.listitem --> |
|---|
| 196 |
{if general.shiptransfer.list} |
|---|
| 197 |
{if base.size} |
|---|
| 198 |
</optgroup> |
|---|
| 199 |
{/endif} |
|---|
| 200 |
</select> |
|---|
| 201 |
{!form_create_hidden default, module:transport, from:$base.id, way:btos} |
|---|
| 202 |
<input type="submit" value="zur Warenauswahl" /> |
|---|
| 203 |
</div> |
|---|
| 204 |
</form> |
|---|
| 205 |
{/endif} |
|---|
| 206 |
|
|---|
| 207 |
{if general.basetransfer.list} |
|---|
| 208 |
{if general.itemconsign.list} |
|---|
| 209 |
<br /> |
|---|
| 210 |
{else} |
|---|
| 211 |
{if general.shiptransfer.list} |
|---|
| 212 |
<br /> |
|---|
| 213 |
{/endif} |
|---|
| 214 |
{/endif} |
|---|
| 215 |
{/endif} |
|---|
| 216 |
<!-- BEGIN general.basetransfer.listitem --> |
|---|
| 217 |
<a class="forschinfo" href="./ds?module=transport&sess={global.sess}&from={base.id}&to={targetbase.id}&way=btob">Transfer zu {targetbase.name}</a><br /> |
|---|
| 218 |
<!-- END general.basetransfer.listitem --> |
|---|
| 219 |
|
|---|
| 220 |
{if general.itemconsign.list} |
|---|
| 221 |
{!table_end} |
|---|
| 222 |
<br /> |
|---|
| 223 |
{else} |
|---|
| 224 |
{if general.shiptransfer.list} |
|---|
| 225 |
{!table_end} |
|---|
| 226 |
<br /> |
|---|
| 227 |
{else} |
|---|
| 228 |
{if general.basetransfer.list} |
|---|
| 229 |
{!table_end} |
|---|
| 230 |
<br /> |
|---|
| 231 |
{/endif} |
|---|
| 232 |
{/endif} |
|---|
| 233 |
{/endif} |
|---|
| 234 |
</div> |
|---|
| 235 |
|
|---|
| 236 |
{!table_begin 430,center} |
|---|
| 237 |
<form action="./ds" method="post"> |
|---|
| 238 |
<table class="noBorderX" cellpadding="2" width="100%"> |
|---|
| 239 |
<tr> |
|---|
| 240 |
<td colspan="4" class="noBorderX"><span style="font-weight:bold">Waren verkaufen:</span></td> |
|---|
| 241 |
</tr> |
|---|
| 242 |
<!-- BEGIN general.sell.listitem --> |
|---|
| 243 |
<tr> |
|---|
| 244 |
<td class="noBorderX"> |
|---|
| 245 |
<img src="{res.image}" alt="" />{res.name} |
|---|
| 246 |
</td> |
|---|
| 247 |
<td class="noBorderX">{res.cargo2}</td> |
|---|
| 248 |
<td class="noBorderX"><input name="{res.id}to" type="text" size="6" value="0" /></td> |
|---|
| 249 |
<td class="noBorderX">{res.cargo1}</td> |
|---|
| 250 |
</tr> |
|---|
| 251 |
<!-- END general.sell.listitem --> |
|---|
| 252 |
<tr> |
|---|
| 253 |
<td class="noBorderX" colspan="4"> |
|---|
| 254 |
<hr style="height:1px; border:0px; background-color:#606060; color:#606060" /> |
|---|
| 255 |
</td> |
|---|
| 256 |
</tr> |
|---|
| 257 |
<tr> |
|---|
| 258 |
<td class="noBorderX" colspan="4" align="center"> |
|---|
| 259 |
{!form_create_hidden default, col:$base.id, field:$base.field, baction:sell, show:general} |
|---|
| 260 |
<input type="submit" value="verkaufen" style="width:200px" /> |
|---|
| 261 |
</td> |
|---|
| 262 |
</tr> |
|---|
| 263 |
</table> |
|---|
| 264 |
</form> |
|---|
| 265 |
{!table_end} |
|---|
| 266 |
|
|---|
| 267 |
<div class="smallfont"> |
|---|
| 268 |
<br /> |
|---|
| 269 |
</div> |
|---|
| 270 |
{/endif} |
|---|