| 3 |
lars |
1 |
{include file=="header.tpl"}
|
|
|
2 |
<table>
|
|
|
3 |
<tr>
|
|
|
4 |
<th>vServer ID</th>
|
|
|
5 |
<th>vServer Name</th>
|
|
|
6 |
<th>Status</th>
|
|
|
7 |
<th>Aktionen</th>
|
|
|
8 |
</tr>
|
|
|
9 |
{section loop=$v_servers name=v_ind}
|
|
|
10 |
<tr>
|
|
|
11 |
<td>{$v_servers[v_ind].v_id}</td>
|
|
|
12 |
<td>{$v_servers[v_ind].v_name}</td>
|
|
|
13 |
<td>{$v_servers[v_ind].v_status}</td>
|
|
|
14 |
<td>
|
| 7 |
lars |
15 |
{if $v_servers[v_ind].v_id}
|
|
|
16 |
<form action="details.php" method="post">
|
|
|
17 |
<input type="hidden" name="v_id" value="{$v_servers[v_ind].v_id}">
|
|
|
18 |
<input type="submit" value="Details" class="liteoption">
|
|
|
19 |
</form>
|
|
|
20 |
{/if}
|
| 5 |
lars |
21 |
{if $v_servers[v_ind].v_id && $v_servers[v_ind].v_id!=$m_ve}
|
| 3 |
lars |
22 |
{if !$v_servers[v_ind].started}
|
|
|
23 |
<form action="control.php" method="post">
|
| 4 |
lars |
24 |
<input type="hidden" name="v_id" value="{$v_servers[v_ind].v_id}">
|
|
|
25 |
<input type="hidden" name="code" value="{$v_servers[v_ind].code}">
|
|
|
26 |
<input type="hidden" name="mode" value="ask">
|
|
|
27 |
<input type="hidden" name="action" value="start">
|
| 3 |
lars |
28 |
<input type="submit" value="starten" class="liteoption">
|
|
|
29 |
</form>
|
|
|
30 |
{/if}
|
|
|
31 |
{if $v_servers[v_ind].started}
|
|
|
32 |
<form action="control.php" method="post">
|
| 4 |
lars |
33 |
<input type="hidden" name="v_id" value="{$v_servers[v_ind].v_id}">
|
|
|
34 |
<input type="hidden" name="code" value="{$v_servers[v_ind].code}">
|
|
|
35 |
<input type="hidden" name="mode" value="ask">
|
|
|
36 |
<input type="hidden" name="action" value="stop">
|
| 3 |
lars |
37 |
<input type="submit" value="stoppen" class="liteoption">
|
|
|
38 |
</form>
|
|
|
39 |
<form action="control.php" method="post">
|
| 4 |
lars |
40 |
<input type="hidden" name="v_id" value="{$v_servers[v_ind].v_id}">
|
|
|
41 |
<input type="hidden" name="code" value="{$v_servers[v_ind].code}">
|
|
|
42 |
<input type="hidden" name="mode" value="ask">
|
|
|
43 |
<input type="hidden" name="action" value="restart">
|
| 3 |
lars |
44 |
<input type="submit" value="neu starten" class="liteoption">
|
|
|
45 |
</form>
|
|
|
46 |
{/if}
|
|
|
47 |
{/if}
|
|
|
48 |
</td>
|
|
|
49 |
</tr>
|
|
|
50 |
{/section}
|
|
|
51 |
</table>
|
|
|
52 |
{include file=="footer.tpl"}
|