不错的ASP整站源代码。在IIS环境下运行都没有问题

源代码在线查看: default.asp

软件大小: 8280 K
上传用户: zhousiqi420
关键词: ASP IIS 源代码 环境
下载地址: 免注册下载 普通下载 VIP

相关代码

				 
				
				
				
				
				function popwin2(id,path)
				{		window.open("openarticle.asp?id="+id+"&ppath="+path,"","");
				}
				
				
				
				
				              
				                 
				                   
				                    
				                       
				                        
				                         
				                          				sql="SELECT TOP 1 * FROM learning ORDER BY hits DESC"
				set rs=server.createobject("adodb.recordset")
				rs.open sql,conn,1,1
				if rs.eof and rs.bof then 
				   response.write "还 没 有 任 何 文 章" 
				else 
				%>
				                          →
				                          ...   
				                          				end if
				                        %>
				                        
				                      
				                    
				                  
				                   
				                    
				                       
				                        
				                         
				                          				sql="SELECT TOP 1 * FROM learning ORDER BY articleid DESC"
				set rs=server.createobject("adodb.recordset")
				rs.open sql,conn,1,1
				if rs.eof and rs.bof then 
				   response.write "还 没 有 任 何 文 章" 
				else 
				%>
				                          →
				                          ...   
				                          				end if
				                        %>
				                        
				                      
				                    
				                  
				                
				              
				              
				                 
								sql="SELECT * FROM type"
				set rs=server.createobject("adodb.recordset")
				rs.open sql,conn,1,1
				if rs.eof and rs.bof then 
				   response.write "还 没 有 任 何 文 章 分 类" 
				else
				   i=0 
				   do while not rs.eof
				      i=i+1
				   
				%>
				               
				                 
				                  
				                       
				                        
				                      
				                       
				                        
				                          
				                            
				                               
				                              
				                              more.. 
				                              
				                            
				                          
				                        
				                      
				                       
				                        
				                      
				                       
				                         
				                          
				                        
				                      
				                       
				                        
				                      
				                    
				                  
				
				                  
				
				                 
								   rs.movenext
				loop
				
				end if
				%> 
				                 
				                
				              
								rs.close
				set rs=nothing
				conn.close
				set conn=nothing
				%>
				  
				
				
								Function RmHtml(fString)
					fString = Replace(fString, CHR(13), " ")
					fString = Replace(fString, CHR(10) & CHR(10), " ")
					fString = Replace(fString, CHR(10), " ")
					fString = Replace(fString, "", " ")
					fString = Replace(fString, "", " ")
					fString = Replace(fString, "", " ")
					fString = Replace(fString, "", " ")
					fString = Replace(fString, "", " ")
					fString = Replace(fString, "", " ")
					fString = replace(fString, ">", ">")
					fString = replace(fString, "					fString = replace(fString, " ", "")
					fString = replace(fString, " ", "")
					fString = replace(fString, "&nbs", "")
					fString = replace(fString, "&nb", "")
					fString = replace(fString, "&n", "")
					fString = replace(fString, "&", "")
				        RmHtml=fString
				End Function
				
				
				%>			

相关资源