<{import file="index/header.html" title="分销列表"}> 
<style type="text/css">
table{ } 
table tr th{ font-size:12px; padding:8px 0 6px; } 
table tbody tr th{ color:#000000; }
table tbody tr td{ text-align:center; color:#333; padding:0 0 8px 0;}  
/*提现到账户*/
.sp_price{ width:1030px; padding:0 0 30px 0px; float:left; }
.sp_price .l{ width:180px; float:left; }
.sp_price .l span{ width:220px; color:#666666; padding:19px 10px 0 0; font-size:12px; float:left; }
.sp_price .l h2{ font-size:28px; color:#333; float:left; }
.sp_price .r{ margin:28px 0 0 0; float:right; }
.sp_price .r a{ margin:8px 0 0 20px; float:right; border:1px solid #efefef; background:#f8f8f8; padding:3px 10px;  }
 
.link{ width:100%; float:left; border-top:1px solid #efefef; padding:30px 0 0 0;  }
.linkbox{ padding:0 0 0 20px; border:1px solid #efefef; background:#efefef; margin:0; float:left; }
.linkbox span{ color:#666666; padding:10px 5px 0 0; float:left;  }
.linkbox input{ border:none; padding:10px; } 
</style> 
<{include file="spread/nav.html"}>
<div class="lbox">
	<div class="sp_price">
		<div class="l">
			<span>昨日预估收入</span>
			<h2><{$account_price.yesterday}></h2>
		</div>
		<div class="l">
			<span>上月预估收入</span>
			<h2><{$account_price.last_month}></h2>
		</div>
		<div class="l">
			<span>本月预估收入</span>
			<h2><{$account_price.now_month}></h2>
		</div>
		<div class="l">
			<span>可用金额</span>
			<h2><{$disRow.price}></h2> 
		</div> 
		<div class="r">
			<a href="?m=spread&a=withdraw_to_account" class="wd_acc">提现至账户</a>
		</div> 
	</div>
	<div class="link">
		<div class="linkbox">
			<span>推广链接为：</span>
			<input type="text" size="60" id="spread_link_value" value="<{$UQCMS.site_url}>index.php?trackid=<{$disRow.id}>"/>
			<input type="button" id="spread_link" value="复制链接"/>
		</div>
	</div>
</div>
<{include file="index/footer.html"}>
<script type="text/javascript" src="<{$__PUBLIC__}>plug/zclip/jquery.zclip.js"></script> 
<script type="text/javascript"> 
	$("#spread_link").zclip({
		path: "<{$__PUBLIC__}>plug/zclip/ZeroClipboard.swf",
		copy: function(){
			return $("#spread_link_value").val();
		},
		beforeCopy:function(){	/* 按住鼠标时的操作 */
			$(this).css("color","orange");
		},
		afterCopy:function(){/* 复制成功后的操作 */
			alert('复制成功');
			//var $copysuc = $("<div class='copy-tips'><div class='copy-tips-wrap'>☺ 复制成功</div></div>");
			//$("body").find(".copy-tips").remove().end().append($copysuc);
			//$(".copy-tips").fadeOut(3000);
		}
	});
</script>