<script src="includes/js/jquery.js">-->
</script>
<script language="javascript">
function OrderChange()
{
value = $("#choose_id").val();
if (value == 'move')
{
$("#move").fadeIn();
}
else
{
$("#move").fadeOut();
}
}
function Ready()
{
value = $("#choose_id").val();
if (value == 'move')
{
$("#move").show();
}
else
{
$("#move").hide();
}
$("#choose_id").change(OrderChange);
}
$(document).ready(Ready);
-->
</script>
<br />
<div class="address_bar">{$lang['Control_Panel']} »
<a href="admin.php?page=forums&control=1&main=1">{$lang['mange_Forums']} </a> »
{$lang['Confirm_the_deletion']} :
{$Inf['title']}</div>
<br />
<form action="admin.php?page=forums&del=1&start=1&id={$Inf['id']}" method="post">
<p align="center">{$lang['delete_the_forum']} :
{$Inf['title']}</p>
<table width="60%" class="t_style_b" border="0" cellspacing="1" align="center">
<tr>
<td class="main1">
{$lang['What_do_you_want_to_do']}
</td>
</tr>
<tr>
<td class="row1">
<select name="choose" id="choose_id">
<option value="move">{$lang['transfer_of_all_subforums_and_topics_and_replies']}</option>
<option value="del">{$lang['Delete_all_subforums_and_topics_and_replies']}</option>
</select>
</td>
</tr>
</table>
<br />
<div id="move">
<table width="60%" class="t_style_b" border="0" cellspacing="1" align="center">
<tr>
<td class="main1">
{$lang['Transferred_to_the']}
</td>
</tr>
<td class="row2">
<select name="to" id="select_to">
{Des::foreach}{forums_list}{forum}
{if {$forum['parent']} == 0}
{if {$forum['id']} == {$Inf['parent']}}
<option value="{$forum['id']}" class="main_section" disabled="disabled">- {$forum['title']}</option>
{else}
<option value="{$forum['id']}" class="main_section" disabled="disabled">- {$forum['title']}</option>
{/if}
{else}
{if {$forum['id']} == {$Inf['parent']}}
<option value="{$forum['id']}" selected="selected">-- {$forum['title']}</option>
{else}
<option value="{$forum['id']}">-- {$forum['title']}</option>
{/if}
{/if}
{if {$forum['parent']} != 0}
{if {$forum['linksection']} != '1'}
{if {$forum['is_sub']}}
{$forum['sub']}
{/if}
{/if}
{/if}
{/Des::foreach}
</select>
</td>
</tr>
</table>
</div>
<br />
{template}forums_am{/template}
<div align="center">
<input type="submit" value="{$lang['acceptable']}" name="submit" />
</div>
<br />
</form>