mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-29 11:50:56 +00:00
98 lines
2.3 KiB
Smarty
98 lines
2.3 KiB
Smarty
|
|
||
|
{include file="page_header.tpl"}
|
||
|
|
||
|
{literal}
|
||
|
<script language="Javascript" type="text/javascript">
|
||
|
<!--
|
||
|
function CheckAll()
|
||
|
{
|
||
|
for (var i=0; i<document.qlist.elements.length; i++)
|
||
|
{
|
||
|
var e = document.qlist.elements[i];
|
||
|
if (e.type == 'checkbox' && e.name != 'allbox')
|
||
|
e.checked = document.qlist.allbox.checked;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function CheckToggle(checkname)
|
||
|
{
|
||
|
checkname.checked = !checkname.checked;
|
||
|
}
|
||
|
//-->
|
||
|
</script>
|
||
|
{/literal}
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<table width="100%" border="0" cellpadding="0" cellspacing="10">
|
||
|
<tr>
|
||
|
<td align="left" valign="top" width="150px">
|
||
|
|
||
|
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||
|
<tr>
|
||
|
<th colspan="10">Domains</th>
|
||
|
</tr>
|
||
|
{section name=domain loop=$tool_domain_list}
|
||
|
<tr>
|
||
|
<td align="center" class="{if $tool_domain_selected == $tool_domain_list[domain].domain_id}domainlistselected{else}domainlist{/if}"><a href="tool_mfs.php?domain={$tool_domain_list[domain].domain_id}">{$tool_domain_list[domain].domain_name}</a></td>
|
||
|
</tr>
|
||
|
{/section}
|
||
|
</table>
|
||
|
|
||
|
{if $tool_domain_selected}
|
||
|
<br>
|
||
|
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||
|
<tr>
|
||
|
<th colspan="10">Shards</th>
|
||
|
</tr>
|
||
|
{section name=shard loop=$tool_shard_list}
|
||
|
{if $tool_domain_selected == $tool_shard_list[shard].shard_domain_id}
|
||
|
<tr>
|
||
|
<td align="center" class="{if $tool_shard_selected == $tool_shard_list[shard].shard_id}shardlistselected{else}shardlist{/if}"><a href="tool_mfs.php?domain={$tool_domain_selected}&shard={$tool_shard_list[shard].shard_id}">{$tool_shard_list[shard].shard_name}</a></td>
|
||
|
</tr>
|
||
|
{/if}
|
||
|
{/section}
|
||
|
</table>
|
||
|
|
||
|
{/if}
|
||
|
|
||
|
</td>
|
||
|
|
||
|
<td width="10px"> </td>
|
||
|
|
||
|
<td align="right" valign="top">
|
||
|
|
||
|
{if !$tool_domain_selected}
|
||
|
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||
|
<tr>
|
||
|
<td class="row0">You need to select a domain.</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
{else}
|
||
|
{if !$tool_shard_selected}
|
||
|
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||
|
<tr>
|
||
|
<td class="row0">You need to select a shard.</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
{/if}
|
||
|
{/if}
|
||
|
|
||
|
<form action="tool_mfs.php" method="post" name="qlist">
|
||
|
|
||
|
<table width="100%" border="0" cellpadding="1" bgcolor="#cccccc" class="view">
|
||
|
<tr>
|
||
|
<td class="row0">
|
||
|
{$tool_curl_output}
|
||
|
</td>
|
||
|
</table>
|
||
|
|
||
|
</form>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
|
||
|
{include file="page_footer.tpl"}
|