<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>系统后台</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link type="text/css" rel="stylesheet" href="<?php echo $this->basedir;?>images/admin/public.css" />
<link type="text/css" rel="stylesheet" href="<?php echo $this->basedir;?>images/admin/style.css" />
<link type="text/css" rel="stylesheet" href="../../images/admin/style.css" />
<link href="<?php echo $this->basedir;?>js/datepicker.css" rel="stylesheet" type="text/css" />
<script src="<?php echo $this->basedir;?>js/jquery.js" language="javascript"></script>
<script src="<?php echo $this->basedir;?>js/ui.datepicker.js"></script>
<script>
$(document).ready(function(){
    $('#stime').datepicker(),
	$('#etime').datepicker()
}
)
</script>
<body>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
  <tr align="center" valign="top">
    <td width="*" align="center" valign="top">
	<!-- ######### begin ######### -->
      <div class="Block">
		<div class="BlockBar">资源导入第二步：分类转换</div>
		<form id="form1" name="form1" method="post" action="<?php echo $this->installdir;?>plugins/changecategory/do/next/" onsubmit="return confirm('确认转换吗?')">
		  <table width="100%" border="0" cellpadding="5" cellspacing="1" class="tab">
		  <?php
		  $i=0;
		  foreach($this->Category as $row){$i++;?>
            <tr class="row">
              <td width="14%" class="align-right">分类<?php echo $i;?>：</td> 
              <td width="86%"><select name="old[]" id="old[]">
			 <?php echo $this->cate->CreateOption(0,$row);?>
              </select>
                合并至
                  <select name="new[]" id="new[]">
				  <option value="">请选择合并目标分类</option>
				  <?php echo $this->CategoryOption;?>
                  </select>
              </td>
            </tr>
			<?php
			}?>
            <tr class="row">
              <td class="align-right">&nbsp;</td>
              <td><input name="Submit" type="submit" class="btn" value=" 开始导入 " /> <input name="Submit2" type="button" class="btn" value="不需要转换点击离开" /></td>
            </tr>
          </table>
		</form>
      </div>
      <div id="App-Version-Prompt" style="display:none;">
        <div class="space"></div>
        <div class="Block">
          <div class="BlockBar">版本更新信息</div>
          <div class="BlockContent" id="App-Version-Prompt-Body" style="padding:20px 5px 20px 5px; text-align:center; background:#FFFFCC;">loading...</div>
        </div>
      </div>
      <!-- ########## end ########## -->
    </td>
    <td width="5"></td>
    <td width="150" align="center" valign="top">
    <?php
	echo $this->render('menu');
	?>
     </td>
  </tr>
</table>
<?php
echo $this->render('copyright');
?>
</body>
</html>

