
<style>
.btn {
 BORDER-RIGHT: #7b9ebd 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #7b9ebd 1px solid; PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#cecfde); BORDER-LEFT: #7b9ebd 1px solid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px; BORDER-BOTTOM: #7b9ebd 1px solid
}
</style>
<script language="JavaScript">
	<!--
	function oCopy(obj){ 
		obj.select(); 
		var js=obj.createTextRange(); 
		js.execCommand("Copy");
	}
	//-->
</script>
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="admin/images/top_bg.gif"
	style="BORDER-BOTTOM: #135093 1px solid" ID="Table1">
	<tr>
		<td width="145" background="admin/images/top_logo.gif" height="32"></td>
		<td width="*" align="center">
			<span style="FLOAT:right;BORDER-BOTTOM:buttonface 1px dotted">
				<font style="FONT-SIZE:8pt; COLOR:#cccccc">Copyright By Dvbbs ? 2007-8-30</font></span>
		</td>
	</tr>
</table>
<BR>
<!--{foreach(System.Xml.XmlNode n in NewsCode)}-->
<!--<%
	string dir = Fetch.PathUpSeek+"/";
	string bbsurl = "http://"+HttpContext.Current.Request.Url.Host+":"+HttpContext.Current.Request.Url.Port;
	string NewsName=n.Attributes["NewsName"].Value;	
	string ScriptCode = "&lt;script src="+bbsurl+dir+"Dv_News.aspx?GetName="+NewsName+"&gt;&lt;/script&gt;";

	%>-->
<table cellpadding="5" cellspacing="1" border="0" class="tableBorder2" align="center" style="width:82%;HEIGHT:250px"
	ID="Table2">
	<tr>
		<th height="23" colspan="2"><font color="#993333">
			<%=n.Attributes["Intro"].Value%> </font>
			&nbsp;&nbsp;效果测试</th></tr>
	<tr>
		<td height="*" valign="top" width="90%">
			<div><font size="1"><b>调用代码：</b></font><input type="text"  name="NewScript" id="<%=NewsName%>" value="<%=ScriptCode%>" size=100 readonly="true" style="color:navy;font:normal 12px/120% Verdana,sans-serif;padding-left:2px;padding-right:2px;border:1px #8AB3DB solid;">
			&nbsp;<input type="button" class="btn" value="拷贝调用代码" onclick="oCopy(document.getElementById('<%=NewsName%>'));" ID="Button1" NAME="Button1"/></div>
			<font color="gray">以下为查看的调用效果：</font>
			<hr size="1">
			<script>
			var str = document.getElementById('<%=NewsName%>').value;
			document.write(str);
			</script>
		</td>
	</tr>
	<!--{endforeach}-->
	<!--<%
	NewsCode=null;
	%>-->
</table>
