<? include mymps_tpl('inc_head')?>
<div id="mymps" style="padding-bottom:0">
    <div class="mpstopic-category">
        <div class="panel-tab">
            <ul class="clearfix tab-list">
                <li><a id="i0" href="area.php">已增加分站/地区 <font color="#ff3300"><?=$totalnum?></font></a></li>
				<li><a href="province.php" class="current">省份/直辖市管理</a></li>
            </ul>
        </div>
    </div>
</div>
<form name="form_mymps" action="?" method="post">
<div id="mymps">
<table border="0" cellspacing="0" cellpadding="0" class="vbm">
    <tr class="firstr">
      <td width="40">删?</td>
      <td width="80">排列顺序</td>
      <td>省份/直辖市名称</td>
    </tr>
	<tr>
		<td colspan="3" bgcolor="#f6ffdd" style="color:red">
		如非必要请勿修删省份/直辖市划分
		</td>
	</tr>
<?php
if(is_array($province)){foreach($province AS $province)
{
?>
  <tr bgcolor="#ffffff">
  <td width="60"><input class="checkbox" name="delete[]" value="<?=$province[provinceid]?>" type="checkbox"/></td>
  <td width="80"><input name="displayorder[<?=$province[provinceid]?>]" value="<?=$province[displayorder]?>" class="txt" type="text"/></td>
  <td><input name="provincename[<?=$province[provinceid]?>]" class="text" type="text" value="<?=$province[provincename]?>"></td>
</tr>
<? }}?>
<tbody id="secqaabody" bgcolor="white">
<tr align="center">
   <td>新增:<a href="###" onclick="newnode = $('secqaabodyhidden').firstChild.cloneNode(true); $('secqaabody').appendChild(newnode)">[+]</a></td>
   <td><input type="text" name="newdisplayorder[]" class="txt"></td>
   <td><input type="text" name="newprovincename[]" class="text"></td>
</tr>
</tbody>

<tbody id="secqaabodyhidden" style="display:none">
   <tr align="center" bgcolor="white">
   <td>&nbsp;</td>
   <td><input type="text" name="newdisplayorder[]" class="txt"></td>
   <td><input type="text" name="newprovincename[]" class="text"></td>
   </tr>
</tbody>
</table>
</div>
<center><input name="<?=CURSCRIPT?>_submit" type="submit" value="提交" class="mymps large"/></center>
</form>
<?=mymps_admin_tpl_global_foot()?>