<?php include mayi_tpl('owenjq')?>
<script type="text/javascript">
$(function () {
	$("#addnewpart").click(function () {
		$("#secqaabodyhidden").clone().appendTo($(".vbm3"));
		$("#secqaabodyhidden").show();
	});
});
</script>
<div id="<?=MPS_SOFTNAME?>" style="padding-bottom:0">
    <div class="mpstopic-category">
        <div class="panel-tab">
            <ul class="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="<?=MPS_SOFTNAME?>">
<table border="0" cellspacing="0" cellpadding="0" class="vbm vbm3">
    <tr class="firstr">
      <td width="40">删?</td>
      <td width="80">排列顺序</td>
      <td>省份/直辖市名称</td>
    </tr>
	<tr class="firstr">
		<td colspan="3" 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>
<?php }}?>
<tbody id="secqaabody">
<tr class="listtr">
   <td>新增:<a id="addnewpart" href="javascript:void(0);">[+]</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 class="listtr">
   <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>
<?php include mayi_tpl('owenbt');?>