<%@page contentType="text/html; charset=UTF-8"%>
<%@include file="/inc/init.jsp" %>
<%@include file="/inc/checklogin.jsp" %>
<%@include file="inc/header.jsp" %>
<%
Pay_type_db ptdb=new Pay_type_db();
DOC[] docs=ptdb.getListAll(); 
%>
<div id="c">
<%@include file="inc/left.jsp" %>
<div id="right">
<%@include file="inc/position.jsp" %>

<div class="right">
<div id="right_box">

	<div class="blank20"></div>
<div style="padding-left:10px;">
<!--
<input class="btn_c" type="button" value=" 添加分类 " onclick="javascript:window.location.href=''" />
-->
</div>
	<div id="tagscontent" class="right_box">
	  
	  <table border="0" cellspacing="0" cellpadding="0" class="list" name="table1" id="table1" width="100%">

<thead>

<tr class="th">

<th width="8%" align="center"><!--id-->	ID</th>

<th width="16%" align="center"><!--oid-->		支付名称</th>
<th width="12%" align="center">状态</th>
<th width="11%" align="center">折扣</th>
<th width="41%" align="center">提示内容</th>
<th width="12%" align="center">操作</th>
</tr>



</thead>

<tbody>
<%
for(int i=0;i<docs.length;i++){
%>
<tr class="s_out">


<td align="center"><%=docs[i].get("payid")%></td>

<td align="center"><%=docs[i].get("name")%></td>
<td align="center"><%=Select.getText("onoff",docs[i].get("state"))%></td>
<td align="center"><%=docs[i].get("rebate")%></td>
<td align="center" onmouseover="tooltip.show('<%=Util.htmlEncode(docs[i].get("content"))%>');" onmouseout="tooltip.hide();"><%=Util.sub_String(docs[i].get("content"),46,"..")%></td>
<td align="center"><a href="PayTypeEdit.jsp?payid=<%=docs[i].get("payid")%>">修改</a> 
</td>
</tr>
 <%
}
docs=null;  //释放对象 
%>
</tbody>

</table>

<div class="blank10"></div>
</div>
<div class="blank10"></div>

<div class="clear"></div>
</div>
</div>

<div class="right_bottom">
</div>
</div>

<div id="footer">
</div>
</div>
<%@include file="inc/msg.jsp" %>
<%@include file="inc/footer.jsp" %>
