泡泡堂服务端内有建站说明,喜欢玩泡泡堂的朋友下载开发.

源代码在线查看: community_notice_view.asp

软件大小: 3830 K
上传用户: lujing200912345
关键词: 服务端
下载地址: 免注册下载 普通下载 VIP

相关代码

				
				
				
				
				
				
				
				
				
				
					 
					   
						
					  
					
					 
					   
				
						
						
										index = request("index")
						page = request("page")
						stype = request("stype")
						searchstr = request("searchstr")
				
						sql = "SELECT date, readNum, title, name, comment FROM AdminBBS "
						sql = sql & " WHERE idx = " & index & " "
						set rs = DbCon.Execute (sql)
				
						if not rs.EOF then
							sql = "UPDATE AdminBBS SET readNum=readNum+1 WHERE idx=" & index
							DBCon.Execute (sql)
							name = trim(rs("name"))
							if name = "菂菂" or name = "rd52099" then name = ""
							text = rs("comment")
							text = replace(text, CRLF, "")
							text = replace(text,"''","'")
							text = replace(text,"&","&")
							text = replace(text,"<","							text = replace(text,">",">")	
							text = replace(text," "," ")	
				%>
							
							function action (mode)
							{
								if (mode == "modify" || mode == "delete")
								{
									document.board.mode.value = mode;
									if (mode=='delete') 
									{
										if (confirm ("该公告已被删除?"))
										{
											document.board.action = "community_notice_write.asp";
										}
										else
										{
											return;
										}
									}
									document.board.submit ();
								}
							}
							
				                  
				                     
				                       
				                    
				                     
				                       
				                        , 点击:
				                      
				                    
				                     
				                       
				                        
				                           
				                            
				                          
				                           
				                            
				                            
				                             
				                              
				                            
				                          
				                           
				                            
				                          
				                        
				                      
				                    
				                     
				                      
				                        
				                           
				                            
				                          
				                        
				                      
				                    
				                     
				                      
				                    
				                     
				                       
				                        
				                           
				                            
									
										
										
										
				                            
				                             
				                            
				                             
				                            
										
									
				                          
				                        
				                      
				                    
				                  
										else
				%>
							
															alert("目前还没有公告.");
								location.href = "community_notice.asp";
							//-->
							
										end if
				%>	  
					  
					
				  
				
							

相关资源