<?php
session_start();
require_once "../init.php";
require_once "../authority.inc.php";
$arProType = array();
$proType = new ProductType1();
$tree = $proType->ShowProTypeTree('0',0,$arProType);
//print_r($tree);
$hot="pro";
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">



<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="lib/html5.js"></script>
<script type="text/javascript" src="lib/respond.min.js"></script>
<script type="text/javascript" src="lib/PIE_IE678.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="../static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="../static/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="../lib/Hui-iconfont/1.0.7/iconfont.css" />
<link rel="stylesheet" type="text/css" href="../lib/icheck/icheck.css" />
<link rel="stylesheet" type="text/css" href="../static/h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="../static/h-ui.admin/css/style.css" />

<!--[if IE 6]>
<script type="text/javascript" src="../static/h-ui.admin/js/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->

<title>留言类别列表</title>
<LINK href="../share/style.css" rel="stylesheet">
<script src="../share/global.js"></script>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 留言管理 <span class="c-gray en">&gt;</span> 留言类别 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">


<!--子导航-->

<? include "ques_nav.inc.php"?><br>
<table width="100%" border="0" cellpadding="0" cellspacing="0" id="table" class="table table-border table-bordered table-bg" >
  <tr class="text-c">
    <td colspan="3" class="text-c" style="background:#f0f8f8">留言类别管理 <span class="sarr"> >> </span> <a href='pro_class_form.php'>增加类别</a></td>
  </tr>
<tr class="text-c">
    <td>类名</td>  <td>语言</td>  <td>操作</td>
  </tr>
	
	 <?
	  
	$sql = 'select * from question_class order by id desc';
$rs=$DB->query($sql);
while($row=mysql_fetch_array($rs)){
	

	$questionclass.= '<tr><td >'.$row['QuesType'].'	</td><td >'.$row['lang'].'	</td><td align=center><a href=pro_class_del.php?ID='.$row['ID'].'>删除</a></td></tr>';
}
echo $questionclass;
	 ?>
  	
 
</table></div>

<? 
$DB->close();
include "../share/bottom.php"?>
</body>
</html>
