<%@ page language="C#" autoeventwireup="true" inherits="creditrate, App_Web_hnkaenrn" %>
<%@ Register Assembly="Standny.WebControls" Namespace="Standny.WebControls" TagPrefix="Standny" %>
<%@ Register Src="vipuser/Top_vip.ascx" TagName="Top_vip" TagPrefix="uc" %>
<%@ Register Src="vipuser/Foot_vip.ascx" TagName="Foot_vip" TagPrefix="uc" %>

<!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 id="Head1" runat="server">
 <title><%= ChangeHope.ChangHope_ExcUser.User_column("yx_userinfo",Convert.ToInt32(Request["userid"]),"yx_nickname","yx_userid") %>的信誉评价--<%=SetUrl() %></title>
    
    <style type="text/css">
    #LI2 {
	background-color: #FEFAD8;
	color:#ffffff;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" type="text/css" href="vipuser/ajaxtabs.css"/>
<script type="text/javascript" src="vipuser/ajaxtabs.js"></script>
<script language="javascript">
function window.onload()
{
   var show="show"+<%=ids %>;
   document.getElementById('maintab').style.backgroundColor="#EFEFEF";
}
</script>
</head>


<body>
<uc:Top_vip ID="top1" runat="server" />
    <form id="formsp" name="formsp" method="post" runat="server"> 
    <div style="width:780px">
<table width="100%" align=center>
  <tr>    
<td vAlign=top style="width: 28%; border:solid 1px gray; background-color:#EFEFEF;">    
    <table style="width: 100%">
        <tr><td style="border-bottom:solid 1px gray"><img src="images/rateuserinfo.gif" /> 个人信息</td></tr>
        <tr><td align="center" width="100%"><%= getuserinfo() %></td></tr>
        <tr><td align="center" width="100%" style="border-top:dashed 1px gray;"><table width="100%"><tr><td width="40%" align="right">卖家好评率：</td><td align="left" width="60%" style="color:Red; font-weight:bold"><%= sgoodage %></td></tr><tr><td align="right">买家好评率：</td><td align="left" style="color:Red; font-weight:bold"><%= goodage %></td></tr></table></td></tr>
        <tr><td style="border-top:dashed 1px gray">
        <table style="width:100%">
        <tr><td width="100%">                 
            <%= Cms.Hope_CreditHelp(5,31) %>
        </td></tr></table> 
        </td></tr></table>
</td>
<td width="2%">&nbsp;</td>
            <td width="70%" valign="top" style="text-align: left">
               <% s();  %>
            </td>
        </tr>        
    </table>
    </div>  
    <br />
    <div style="width:780px">
        <table style="width: 100%" style="background-color:#EFEFEF;">
            <tr>
<td colspan="3" rowspan="1" style="height: 60px; text-align: left">

<ul id="maintab" class="shadetabs">
<li id="show1" class="show1"><a href="?action=1&userid=<%= userid %>">来自买家的评价</a></li>
<li id="show3" class="show3"><a href="?action=3&userid=<%= userid %>">来自卖家的评价</a></li>
<li id="show2" class="show2"><a href="?action=2&userid=<%= userid %>">给他人的评价</a></li>

</ul>

<div id="ajaxcontentarea" class="contentstyle" style="width: 95%">
    <asp:HiddenField ID="HiddenField1" runat="server" />
<script language="javascript">
    function sub(){
        var cerdit=document.getElementById('cerdit').value;
        var data=document.getElementById('data').value;
        var action=document.getElementById('HiddenField1').value;
        location.href="?userid=<%= userid %>&action="+action+"&cerdit="+cerdit+"&data="+data+"";
    }
</script>
<div id=mr>
	        <select  id="cerdit" name="cerdit" class="select_span" onchange='sub();'>
			   <option value="7" checked>所有评价</option>
			  <option value="14">只看好评</option>
			  <option value="21" >只看中评</option>
			  <option value="30">只看差评</option>
		    </select>
	        <select id="data" name="data" class="select_span"  onchange='sub();'>
			   <option value="7" checked>一周以内</option>
			  <option value="14">一个月以内</option>
			  <option value="21" >六个月以内</option>
		    </select>
		    </div>
    
    <asp:DataGrid ID="DataG" runat="server" Width="100%" AllowCustomPaging="True" AllowPaging="True" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False">
        <PagerStyle Mode="NumericPages" />
        <HeaderStyle BackColor="ActiveBorder" BorderColor="#00C0C0" Font-Bold="True" Font-Italic="False"
            Font-Overline="False" Font-Strikeout="False" Font-Underline="False" ForeColor="#FFFCDC" />
    </asp:DataGrid></div>
            </td>
            </tr>
            <tr>
            </tr>
            <tr>
            </tr>
        </table>
    </div>
<% mr();%>
    </form>
    <uc:Foot_vip ID="foot1" runat="server" />
               
</body>
</html>

