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