|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
实现规模效益。与传统的用户拥有硬件软件所有权和使用权以及传统的应用服务商提供一对一的服务模式不同,ASP拥有应用系统所有权,用户拥有使用权,应用系统集中放在ASP的数据中心中,集中管理,分散使用,以一对多的租赁的形式为众多用户提供有品质保证的应用技术服务,实现规模效益。源代码==================================================================================================
Case"Content"
==================================================================================================
显现内容
IfRequest("Keyword")""ThenKeyWord=Request("Keyword")ElseKeyWord=""
%>
<TABLEalign=centerborder=0cellPadding=1cellSpacing=0width=650>
<TR>
<TDclass="menu">
<Ahref="/">飞林庄</A>-><Ahref="<%=ASP_FILE_NAME%><%IfKeyWord""ThenResponse.Write"?Keyword="&KeyWord%>">履历交换</A>->如何输入图象</TD>
</TR>
</TABLE>
<TABLEalign=centerborder=0cellPadding=8cellSpacing=0width=650>
<TR>
<TDbgColor=#000000>
<%
Which=Request("Which")
IfIsNumeric(Which)Then
Session("BBS_Which")=Which
点击数加一
Con.Execute("UPDATEbbsSET[点击]=[点击]+1WHERE[序号]="&Which)
SQL="SELECT*FROMbbsWHERE[序号]="&Which
RecBBS.OpenSQL,Con,1
IfNotRecBBS.EOFThen
Title=RecBBS.Fields("标题")
Session("BBS_WhichTitle")=Title
%>
<P><FONTcolor=#66ff99>序号</FONT>:<FONTcolor=#6699ff>E<%=Which%></FONT><BR>
<FONTcolor=#66ff99>作者</FONT>:<%=Server.HTMLEncode(RecBBS.Fields("作者"))%><BR>
<FONTcolor=#66ff99>标题</FONT>:<%=Server.HTMLEncode(Title)%><BR>
<FONTcolor=#66ff99>工夫</FONT>:<%=RecBBS.Fields("工夫")%><BR>
<BR>
<PRE>
<%=Server.HTMLEncode(RecBBS.Fields("内容"))%>
</PRE>
</P>
<%
EndIf
RecBBS.Close
SQL="SELECT*FROMbbsreplyWHERE[原文]="&Which
RecReply.OpenSQL,Con,3
AllID="E"&Which
DoWhileNotRecReply.EOF
ID=RecReply.Fields("序号")
AllID=AllID&":"&ID
%>
<P><FONTcolor=#66ff99>序号</FONT>:<FONTcolor=#6699ff><%=ID%></FONT><BR>
<FONTcolor=#66ff99>作者</FONT>:<%=Server.HTMLEncode(RecReply.Fields("作者"))%><BR>
<FONTcolor=#66ff99>标题</FONT>:<%=Server.HTMLEncode(RecReply.Fields("标题"))%><BR>
<FONTcolor=#66ff99>工夫</FONT>:<%=RecReply.Fields("工夫")%><BR>
<BR>
<PRE>
<%=Server.HTMLEncode(RecReply.Fields("内容"))%>
</PRE>
</P>
<%
RecReply.MoveNext
IfRecReply.EOFThenExitDo
Loop
RecReply.Close
EndIf
%>
</TD>
</TR>
</TABLE>
<TABLEalign=centerborder=0cellPadding=7cellSpacing=0width=650>
<TR>
<TDclass=menu>
<FORMaction="<%=ASP_FILE_NAME%>"method=post>
<INPUTtype=hiddenid=Jobname=Jobvalue=Reply>
账号:<INPUTid=Useridname=UseridmaxLength=30size=30>
暗码:<INPUTid=PasswordmaxLength=30name=Passwordsize=30type=password><BR>
标题:<INPUTid=TitlemaxLength=80name=Titlesize=72value="复兴:<%=Title%>"><BR>
<TEXTAREAcols=80id=Contentname=Contentrows=10></TEXTAREA><BR>
<INPUTtype=submitvalue="回复">
</FORM>
<P>
选中文章:
<SELECTid=Whichname=Whichsize=1>
<%
WhichID=Split(AllID,":")
ForEachIDInWhichID
Response.Write"<OPTIONvalue="
Response.WriteID&">"&ID
Response.Write"</OPTION>"
Next
%>
</SELECT><BR>
<INPUTid=EmailmaxLength=80name=Emailsize=40>
<INPUTtype=buttonid=MailBackname=MailBackvalue="寄复书箱"OnClick="window.open(<%=ASP_FILE_NAME%>?Job=Send&Which=+Which.value+&Email=+Email.value,_self)">
<INPUTtype=buttonid=Modifyname=Modifyvalue="修正"OnClick="window.open(<%=ASP_FILE_NAME%>?Job=Modify&Which=+Which.value,_self)">
<INPUTtype=buttonid=Deletename=Daletevalue="删除"OnClick="window.open(<%=ASP_FILE_NAME%>?Job=Delete&Which=+Which.</p>缺点:正版成本价格贵(盗版就不说了)、不够安全,大多数服务器用windows系统,没有linux安全 |
|