⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 popup_newsdetail.asp

📁 Computer SHOP+DATABASE
💻 ASP
字号:
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>
<%Session.CodePage="65001"%>
<!--#include file="..\conn.asp"-->
<% Response.Buffer = "true" %>
<!--#include file="../script/formatString.asp"-->
<%
	if(Session("admin") == undefined || Session("admin")==false)
	{ 
		Response.Redirect("Admin_login.asp")
	}
%>

<%
	var oRs = Server.CreateObject("ADODB.Recordset");
	var nid = parseInt(Request.QueryString("NID"));
	var	strSQL = "SELECT * FROM vwNews WHERE NID=" + nid;
	oRs.Open(strSQL,oConn,3,1);
	%>
	
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>News Detail</title>
<style type="text/css">
<!--
a:link { font-family: Verdana; font-size: 12px; color: #0000FF; font-weight:bold; text-decoration:none }
a:visited { font-family: Verdana; font-size: 12px; color: #0000FF; font-weight:bold; text-decoration: none }
a:hover { font-family:Verdana; font-size: 12px; color: #FF0000; font-weight:bold; text-decoration: none }

.oderDetail {
	font-family: verdana;
	font-size: 12px;
	font-weight: bold;
	color: darkblue;
}
.cust {
	font-family: verdana;
	font-size: 12px;
	font-weight: normal;
	color: #387272;
}
-->
</style>
</head>

<body leftmargin="0" rightmargin="0" bottommargin="0">
<div align="center">
  
        <table width="600" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td align="center" valign="middle" width="100%" bgcolor="#FF0000">
			  <b>
                <font face="Verdana" size="2" color="#FFFFFF">NỘI DUNG TIN</font></b>
			  </td>
            </tr>
			<tr>
			  <td height="10"></td>
		    </tr>
			<tr>
              <td align="left" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                
                <tr>
                <td height="18"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="15">&nbsp;</td>
                    <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td align="left" valign="top" style="padding-bottom:10px; ">
							<strong><font color="#006699" face="arial, tahoma, verdana" size="4">
								<%Response.Write(FormatString(String(oRs.Fields("NTitle"))));%>
							</font></strong>
						</td>
                      </tr>
                      <tr>
                        <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td align="left" valign="top">
								<p align="justify"><%if(oRs.Fields("NImage")!=""){%>
                                  <img src='..\<%=oRs.Fields("NImage")%>' width="100" height="75" hspace="5" border="1" align="left"><%}%>
								  <span class="new_quickview"><strong><%=FormatString(String(oRs.Fields("NQ_view")))%></strong></span> </p>
								</td>
                                </tr>
                            </table></td>
                          </tr>
                          <tr>
                            <td align="left" valign="top" style=" padding-top:10px; "><p class="new_detail"><%=FormatString(String(oRs.Fields("NContent")))%></p>
                              </td>
                          </tr>
                        </table></td>
                      </tr>
                    </table></td>
                    <td width="15">&nbsp;</td>
                  </tr>
                </table></td>
              </tr>
                
                
                <tr>
                  <td align="center" valign="top" style=" padding-bottom:5px; "><p align="center">&lt; <a href="JavaScript:window.close();">
				Đóng</a>&gt;</td>
                </tr>
				
              </table></td>
			</tr>
          </table>
</div>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -