<!--{if("0" == _A_)}-->
	<!--{if(GetMyCrede.Rows.Count <= 0)}-->
	<div style="padding:5px;text-align:center">没有找到相关评价！</div>
	<!--{else}-->
	<table width="100%" border="0" cellpadding="4" cellspacing="0" class="row">
	  <tr bgcolor="#EFEFEF">
		<td width="50" align="center">&nbsp;</td>
		<td align="center">评价内容</td>
		<td align="center">宝贝名称/评价人</td>
		<td align="center">成交价（元）</td>
		<!--{if( user.Name == Name )}-->
		<td align="center">短信交流</td>
		<!--{endif}-->
	  </tr>
		<!--{foreach (System.Data.DataRow dr in GetMyCrede.Rows)} -->
	  <tr align=center>
		<td>
		<!--{if("1" == dr["credstat"].ToString())}-->
		<img src="templates/<%=CurrentTemplateName%>/images/posts/good.gif" />
		<!--{else if("2" == dr["credstat"].ToString())}-->
		<img src="templates/<%=CurrentTemplateName%>/images/posts/soso.gif" />
		<!--{else if("3" == dr["credstat"].ToString())}-->
		<img src="templates/<%=CurrentTemplateName%>/images/posts/bad.gif" />
		<!--{endif}-->
		&nbsp;</td>
		<td><%=dr["credfdesc"]%>&nbsp;</td>
		<td><%=dr["proname"]%>/<%=dr["credfusername"]%>&nbsp;</td>
		<td><%=dr["tramoney"]%>&nbsp;</td>
		<!--{if( user.Name == Name )}-->
		<td><a href="message_send.aspx?recipient=<%=dr["proname"]%>" target="_blank">发短信</a></td>
		<!--{endif}-->
	  </tr>
		<!--{endforeach}-->
	</table>
	<!--{endif}-->
<!--{else if("1" == _A_)}-->
	<!--{if(GetMyCrede.Rows.Count <= 0)}-->
	<div style="padding:5px;text-align:center">没有找到相关评价！</div>
	<!--{else}-->
	<table width="100%" border="0" cellpadding="4" cellspacing="0" class="row">
	  <tr bgcolor="#EFEFEF">
		<td width="50" align="center">&nbsp;</td>
		<td align="center">评价内容</td>
		<td align="center">宝贝名称/评价人</td>
		<td align="center">成交价（元）</td>
		<!--{if( user.Name == Name )}-->
		<td align="center">短信交流</td>
		<!--{endif}-->
	  </tr>
		<!--{foreach (System.Data.DataRow dr in GetMyCrede.Rows)} -->
	  <tr align=center>
		<td>
		<!--{if("1" == dr["credstat"].ToString())}-->
		<img src="templates/<%=CurrentTemplateName%>/images/posts/good.gif" />
		<!--{else if("2" == dr["credstat"].ToString())}-->
		<img src="templates/<%=CurrentTemplateName%>/images/posts/soso.gif" />
		<!--{else if("3" == dr["credstat"].ToString())}-->
		<img src="templates/<%=CurrentTemplateName%>/images/posts/bad.gif" />
		<!--{endif}-->
		&nbsp;</td>
		<td><%=dr["credfdesc"]%>&nbsp;</td>
		<td><%=dr["proname"]%>/<%=dr["credfusername"]%>&nbsp;</td>
		<td><%=dr["tramoney"]%>&nbsp;</td>
		<!--{if( user.Name == Name )}-->
		<td><a href="message_send.aspx?recipient=<%=dr["proname"]%>" target="_blank">发短信</a></td>
		<!--{endif}-->
	  </tr>
		<!--{endforeach}-->
	</table>
	<!--{endif}-->
<!--{else if("2" == _A_)}-->
	<!--{if(GetMyCrede.Rows.Count <= 0)}-->
	<div style="padding:5px;text-align:center">没有找到相关评价！</div>
	<!--{else}-->
	<table width="100%" border="0" cellpadding="4" cellspacing="0" class="row">
	  <tr bgcolor="#EFEFEF">
		<td width="50" align="center">&nbsp;</td>
		<td align="center">评价内容</td>
		<td align="center">宝贝名称/评价人</td>
		<td align="center">成交价（元）</td>
		<!--{if( user.Name == Name )}-->
		<td align="center">短信交流</td>
		<!--{endif}-->
	  </tr>
		<!--{foreach (System.Data.DataRow dr in GetMyCrede.Rows)} -->
	  <tr align=center>
		<td>
		<!--{if("1" == dr["credstat"].ToString())}-->
		<img src="templates/<%=CurrentTemplateName%>/images/posts/good.gif" />
		<!--{else if("2" == dr["credstat"].ToString())}-->
		<img src="templates/<%=CurrentTemplateName%>/images/posts/soso.gif" />
		<!--{else if("3" == dr["credstat"].ToString())}-->
		<img src="templates/<%=CurrentTemplateName%>/images/posts/bad.gif" />
		<!--{endif}-->
		&nbsp;</td>
		<td><%=dr["credfdesc"]%>&nbsp;</td>
		<td><%=dr["proname"]%>/<%=dr["credfusername"]%>&nbsp;</td>
		<td><%=dr["tramoney"]%>&nbsp;</td>
		<!--{if( user.Name == Name )}-->
		<td><a href="message_send.aspx?recipient=<%=dr["proname"]%>" target="_blank">发短信</a></td>
		<!--{endif}-->
	  </tr>
		<!--{endforeach}-->
	</table>
	<!--{endif}-->
<!--{else if("3" == _A_)}-->
	<!--{if(GetMyCrede.Rows.Count <= 0)}-->
	<div style="padding:5px;text-align:center">没有找到相关评价！</div>
	<!--{else}-->
	<table width="100%" border="0" cellpadding="4" cellspacing="0" class="row">
	  <tr bgcolor="#EFEFEF">
		<td width="50" align="center">&nbsp;</td>
		<td align="center">评价内容</td>
		<td align="center">宝贝名称/评价人</td>
		<td align="center">成交价（元）</td>
		<!--{if( user.Name == Name )}-->
		<td align="center">短信交流</td>
		<!--{endif}-->
	  </tr>
		<!--{foreach (System.Data.DataRow dr in GetMyCrede.Rows)} -->
	  <tr align=center>
		<td>
		<!--{if("1" == dr["credstat"].ToString())}-->
		<img src="templates/<%=CurrentTemplateName%>/images/posts/good.gif" />
		<!--{else if("2" == dr["credstat"].ToString())}-->
		<img src="templates/<%=CurrentTemplateName%>/images/posts/soso.gif" />
		<!--{else if("3" == dr["credstat"].ToString())}-->
		<img src="templates/<%=CurrentTemplateName%>/images/posts/bad.gif" />
		<!--{endif}-->
		&nbsp;</td>
		<td><%=dr["credfdesc"]%>&nbsp;</td>
		<td><%=dr["proname"]%>/<%=dr["credfusername"]%>&nbsp;</td>
		<td><%=dr["tramoney"]%>&nbsp;</td>
		<!--{if( user.Name == Name )}-->
		<td><a href="message_send.aspx?recipient=<%=dr["proname"]%>" target="_blank">发短信</a></td>
		<!--{endif}-->
	  </tr>
		<!--{endforeach}-->
	</table>
	<!--{endif}-->
<!--{else if("4" == _A_)}-->
<!--#include file="_header.html" --><br />
<script>
var Request = new Object();
Request.send = function(url, method, callback, data) {
	var req;
	if (window.XMLHttpRequest) {
		req = new XMLHttpRequest();
		if (req.overrideMimeType) { 
			req.overrideMimeType("text/html"); 
		} 
	} else if (window.ActiveXObject) {
		req = new ActiveXObject("Microsoft.XMLHTTP");
	}

	req.onreadystatechange = function() {
		//alert(req.readyState);
		if (req.readyState == 4) {
			if (req.status < 400) {
				(method=="POST") ? callback(req) : callback(req,data);
			} else {
				//if(req.status!=12002)
				//alert("There was a problem loading data :\n" + req.status+ "/" + req.statusText);
			}
		}
	}

	if (method=="POST") {
		req.open("POST", url, true);
		req.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
		req.send(data);
	} else {		
		req.open("GET", url, true);
		req.send(null);
	}
	return req;
}

Request.sendPOST = function(url, data, callback) {
	Request.send(url, "POST", callback, data);
}
Request.sendGET = function(url, callback, args) {	
	return Request.send(url, "GET", callback, args);
	
}

function CallUpdateTopicKeys(response,data){
	GetIdBoj(data).innerHTML = response.responseText;
}
function getList(a, div)
{
	GetIdBoj(div).innerHTML = "loadding...";
	Request.sendGET("creditlist.aspx?a=" + a + "&name=" + decodeURIComponent("<%=Name%>"),CallUpdateTopicKeys,div);
}
function GetIdBoj(action){
	return document.getElementById(action);
}

//modefined by caoxin03 @ 20070823
function showbackpost(v, c){
	for(var i=0; i < c; i++){
		if(i==v){
			GetIdBoj("action_99887"+i).style.display='block';
			GetIdBoj("action_99887_"+i).className='postbackselected1';
			getList(i, "action_99887"+i);
		}else{
			GetIdBoj("action_99887"+i).style.display='none';
			GetIdBoj("action_99887_"+i).className='postbackselected0';
		}
	}
}
</script>
<form method=post target="Reg_HiddenIFrame">
<table  cellpadding="0" cellspacing="0" width="auto" class="tablebox border">
 <tr >
   <th colspan="2">&nbsp;&nbsp;用户信用祥细</th>
   </tr>
  <tr>
    <td align="center" valign="top" style="padding:0px 10px 10px 10px;">
    <table border="0" cellpadding="4" cellspacing="0" width="90%" style="margin-top:8px;" class="border">
      <tr>
        <td colspan="6" align="left" bgcolor="#EFEFEF">&nbsp;&nbsp;&nbsp;&nbsp;卖家信用</td>
        </tr>
      <tr>
        <td id="tradestat_0" name="tradestat_0">&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0">最近一周</td>
        <td id="tradestat_0" name="tradestat_0">最近一个月</td>
        <td id="tradestat_0" name="tradestat_0">最近六个月</td>
        <td id="tradestat_0" name="tradestat_0">六个月前</td>
        <td id="tradestat_0" name="tradestat_0">总计</td>
      </tr>
      <tr>
        <td id="tradestat_0" name="tradestat_0"><img src="templates/<%=CurrentTemplateName%>/images/posts/good.gif" />&nbsp;好评</td>
        <td id="tradestat_0" name="tradestat_0"><%=GetCreditList.Rows[0]["C0"].ToString()%>&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0"><%=GetCreditList.Rows[0]["c1"].ToString()%>&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0"><%=GetCreditList.Rows[0]["c2"].ToString()%>&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0"><%=GetCreditList.Rows[0]["c3"].ToString()%>&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0"><%=(int.Parse(GetCreditList.Rows[0]["c2"].ToString()) + int.Parse(GetCreditList.Rows[0]["c3"].ToString()))%>&nbsp;</td>
      </tr>
      <tr>
        <td id="tradestat_0" name="tradestat_0"><img src="templates/<%=CurrentTemplateName%>/images/posts/soso.gif" />&nbsp;中评</td>
        <td id="tradestat_0" name="tradestat_0"><%=GetCreditList.Rows[0]["c4"].ToString()%>&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0"><%=GetCreditList.Rows[0]["c5"].ToString()%>&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0"><%=GetCreditList.Rows[0]["c6"].ToString()%>&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0"><%=GetCreditList.Rows[0]["c7"].ToString()%>&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0"><%=(int.Parse(GetCreditList.Rows[0]["c6"].ToString()) + int.Parse(GetCreditList.Rows[0]["c7"].ToString()))%>&nbsp;</td>
      </tr>
      <tr>
        <td id="tradestat_0" name="tradestat_0"><img src="templates/<%=CurrentTemplateName%>/images/posts/bad.gif" />&nbsp;差评</td>
        <td id="tradestat_0" name="tradestat_0"><%=GetCreditList.Rows[0]["c8"].ToString()%>&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0"><%=GetCreditList.Rows[0]["c9"].ToString()%>&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0"><%=GetCreditList.Rows[0]["c10"].ToString()%>&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0"><%=GetCreditList.Rows[0]["c11"].ToString()%>&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0"><%=(int.Parse(GetCreditList.Rows[0]["c10"].ToString()) + int.Parse(GetCreditList.Rows[0]["c1"].ToString()))%>&nbsp;</td>
      </tr>
      <tr>
        <td id="tradestat_0" name="tradestat_0">合计</td>
        <td id="tradestat_0" name="tradestat_0"><%=(int.Parse(GetCreditList.Rows[0]["c0"].ToString()) + int.Parse(GetCreditList.Rows[0]["c4"].ToString())+ int.Parse(GetCreditList.Rows[0]["c8"].ToString()))%></td>
        <td id="tradestat_0" name="tradestat_0"><%=(int.Parse(GetCreditList.Rows[0]["c1"].ToString()) + int.Parse(GetCreditList.Rows[0]["c5"].ToString())+ int.Parse(GetCreditList.Rows[0]["c9"].ToString()))%></td>
        <td id="tradestat_0" name="tradestat_0"><%=(int.Parse(GetCreditList.Rows[0]["c2"].ToString()) + int.Parse(GetCreditList.Rows[0]["c6"].ToString())+ int.Parse(GetCreditList.Rows[0]["c10"].ToString()))%></td>
        <td id="tradestat_0" name="tradestat_0"><%=(int.Parse(GetCreditList.Rows[0]["c3"].ToString()) + int.Parse(GetCreditList.Rows[0]["c7"].ToString())+ int.Parse(GetCreditList.Rows[0]["c11"].ToString()))%></td>
        <td id="tradestat_0" name="tradestat_0"><%=(int.Parse(GetCreditList.Rows[0]["c2"].ToString()) + int.Parse(GetCreditList.Rows[0]["c6"].ToString())+ int.Parse(GetCreditList.Rows[0]["c10"].ToString()) + int.Parse(GetCreditList.Rows[0]["c3"].ToString()) + int.Parse(GetCreditList.Rows[0]["c7"].ToString())+ int.Parse(GetCreditList.Rows[0]["c11"].ToString()))%></td>
      </tr>
    </table></td>
    <td width="250" rowspan="2" align="center" valign="top" style="padding:0px 10px 10px 10px">
    <table cellpadding="0" cellspacing="0" width="200" style="margin-top:8px" class="border">
      <tr>
        <td width="50%" bgcolor="#EFEFEF" align="center">信用小纸条</td>
      </tr>
      <tr>
        <td align="left" id="tradestat_0" name="tradestat_0">信用人名称：<%=Name%></td>
      </tr>
      <tr>
        <td align="left" id="tradestat_0" name="tradestat_0">卖家信用：<span class="fon1"><b><%=GeCtradData[1]%></b></font>&nbsp;<%=(null != sellcredit ? "<img src=\"templates/"+ CurrentTemplateName +"/images/posts/" + sellcredit +"\" />" : "")%></td>
      </tr>
      <tr>
        <td align="left" id="tradestat_0" name="tradestat_0">买家信用：<span class="fon3"><b><%=GeCtradData[2]%></b></font>&nbsp;<%=(null != buycredit ? "<img src=\"templates/"+ CurrentTemplateName +"/images/posts/" + buycredit +"\" />" : "")%></td>
      </tr>
      <tr>
        <td align="left" id="tradestat_0" name="tradestat_0">注册时间：<%=GeCtradData[3]%></td>
      </tr>
      <tr>
        <td align="left" id="tradestat_0" name="tradestat_0">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td align="center" valign="top" style="padding:0px 10px 10px 10px; border-bottom:none">
    <table  cellpadding="0" cellspacing="0" width="90%" style="margin-top:8px" class="border">
      <tr>
        <td colspan="6" align="left" bgcolor="#EFEFEF">&nbsp;&nbsp;&nbsp;&nbsp;买家信用</td>
      </tr>
      <tr>
        <td id="tradestat_0" name="tradestat_0">&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0">最近一周</td>
        <td id="tradestat_0" name="tradestat_0">最近一个月</td>
        <td id="tradestat_0" name="tradestat_0">最近六个月</td>
        <td id="tradestat_0" name="tradestat_0">六个月前</td>
        <td id="tradestat_0" name="tradestat_0">总计</td>
      </tr>
      <tr>
        <td id="tradestat_0" name="tradestat_0"><img src="templates/<%=CurrentTemplateName%>/images/posts/good.gif" />&nbsp;好评</td>
        <td id="tradestat_0" name="tradestat_0"><%=GetCreditList.Rows[0]["c12"].ToString()%>&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0"><%=GetCreditList.Rows[0]["c13"].ToString()%>&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0"><%=GetCreditList.Rows[0]["c14"].ToString()%>&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0"><%=GetCreditList.Rows[0]["c15"].ToString()%>&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0"><%=(int.Parse(GetCreditList.Rows[0]["c14"].ToString()) + int.Parse(GetCreditList.Rows[0]["c15"].ToString()))%>&nbsp;</td>
      </tr>
      <tr>
        <td id="tradestat_0" name="tradestat_0"><img src="templates/<%=CurrentTemplateName%>/images/posts/soso.gif" />&nbsp;中评</td>
        <td id="tradestat_0" name="tradestat_0"><%=GetCreditList.Rows[0]["c16"].ToString()%>&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0"><%=GetCreditList.Rows[0]["c17"].ToString()%>&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0"><%=GetCreditList.Rows[0]["c18"].ToString()%>&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0"><%=GetCreditList.Rows[0]["c19"].ToString()%>&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0"><%=(int.Parse(GetCreditList.Rows[0]["c18"].ToString()) + int.Parse(GetCreditList.Rows[0]["c19"].ToString()))%>&nbsp;</td>
      </tr>
      <tr>
        <td id="tradestat_0" name="tradestat_0"><img src="templates/<%=CurrentTemplateName%>/images/posts/bad.gif" />&nbsp;差评</td>
        <td id="tradestat_0" name="tradestat_0"><%=GetCreditList.Rows[0]["c20"].ToString()%>&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0"><%=GetCreditList.Rows[0]["c21"].ToString()%>&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0"><%=GetCreditList.Rows[0]["c22"].ToString()%>&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0"><%=GetCreditList.Rows[0]["c23"].ToString()%>&nbsp;</td>
        <td id="tradestat_0" name="tradestat_0"><%=(int.Parse(GetCreditList.Rows[0]["c22"].ToString()) + int.Parse(GetCreditList.Rows[0]["c23"].ToString()))%>&nbsp;</td>
      </tr>
      <tr>
        <td id="tradestat_0" name="tradestat_0">合计</td>
        <td id="tradestat_0" name="tradestat_0"><%=(int.Parse(GetCreditList.Rows[0]["c12"].ToString()) + int.Parse(GetCreditList.Rows[0]["c16"].ToString())+ int.Parse(GetCreditList.Rows[0]["c20"].ToString()))%></td>
        <td id="tradestat_0" name="tradestat_0"><%=(int.Parse(GetCreditList.Rows[0]["c13"].ToString()) + int.Parse(GetCreditList.Rows[0]["c17"].ToString())+ int.Parse(GetCreditList.Rows[0]["c21"].ToString()))%></td>
        <td id="tradestat_0" name="tradestat_0"><%=(int.Parse(GetCreditList.Rows[0]["c14"].ToString()) + int.Parse(GetCreditList.Rows[0]["c18"].ToString())+ int.Parse(GetCreditList.Rows[0]["c22"].ToString()))%></td>
        <td id="tradestat_0" name="tradestat_0"><%=(int.Parse(GetCreditList.Rows[0]["c15"].ToString()) + int.Parse(GetCreditList.Rows[0]["c19"].ToString())+ int.Parse(GetCreditList.Rows[0]["c23"].ToString()))%></td>
        <td id="tradestat_0" name="tradestat_0"><%=(int.Parse(GetCreditList.Rows[0]["c14"].ToString()) + int.Parse(GetCreditList.Rows[0]["c18"].ToString())+ int.Parse(GetCreditList.Rows[0]["c22"].ToString()) + int.Parse(GetCreditList.Rows[0]["c15"].ToString()) + int.Parse(GetCreditList.Rows[0]["c19"].ToString())+ int.Parse(GetCreditList.Rows[0]["c23"].ToString()))%></td>
      </tr>
    </table></td>
  </tr>
  </table>
  </form>
  <br />
<div class="tablebox border">
<table cellpadding="2" class="tablebox" cellspacing="1" ID="Table10">
  <tr>
    <th  nowrap="nowrap"id="action_99887_0" name="action_99887_0" class="postbackselected1" onClick="showbackpost(0, 4);">收到的评价</th>
    <th  nowrap="nowrap"id="action_99887_1" name="action_99887_1" onClick="showbackpost(1,4);" class="postbackselected0">自买家的评价</th>
    <th nowrap="nowrap" id="action_99887_2" name="action_99887_2" onClick="showbackpost(2,4);" class="postbackselected0">自卖家的评价</th>
    <th nowrap="nowrap" id="action_99887_3" name="action_99887_3" onClick="showbackpost(3,4);" class="postbackselected0">给他人的评价</th>		
	<th >&nbsp;</th>
  </tr>
</table>
	<div  id="action_998873" name="action_998873" style="display:none">
	</div>
	<div  id="action_998872" name="action_998872" style="display:none">
	</div>
	<div  id="action_998871" name="action_998871" style="display:none">
	</div>
	<div  id="action_998870" name="action_998870" style="display:block">
	</div>
</div>
<iframe name="Reg_HiddenIFrame" id="Reg_HiddenIFrame" src="" width="0%" height="0px" style="border: 0px solid red;"></iframe>
<!--#include file="_footer.html" -->
<script>getList("0", "action_998870");</script>
<!--{endif}-->