|
主题:[求助]急,求{$GetSearch}如果去掉类型选项,v7版本 [收藏主题] |
支持(0) | 反对(0) 顶端 底部 |
Function GetSearch()
GetSearch = "<form id=""SearchForm"" name=""SearchForm"" method=""Get"" action=""" & KS.Setting(3) &"plus/search/"">" & vbCrLf GetSearch = GetSearch & "<div class=""searchsd"">" & vbCrLf GetSearch = GetSearch & " <input name=""key"" type=""text"" class=""textbox"" value=""请输入关键字""this.select();""/><span>" & vbCrLf If not IsObject(Application(KS.SiteSN&"_ChannelConfig")) Then KS.LoadChannelConfig Dim ModelXML,Node Set ModelXML=Application(KS.SiteSN&"_ChannelConfig") For Each Node In ModelXML.DocumentElement.SelectNodes("channel") if Node.SelectSingleNode("@ks21").text="1" and Node.SelectSingleNode("@ks0").text<>"6" and Node.SelectSingleNode("@ks0").text<>"9" and Node.SelectSingleNode("@ks0").text<>"10" Then GetSearch = GetSearch & "<option value=""" &Node.SelectSingleNode("@ks0").text & """>" & Node.SelectSingleNode("@ks3").text & "</option>" & vbCrLf End If Next GetSearch = GetSearch & "</select>" & vbCrLf GetSearch = GetSearch & "<input type=""image"" class=""inputButton"" name=""Submit1"" src=""" & KS.GetDomain & "images/search_button.jpg"" align=""absmiddle"" />" & vbCrLf GetSearch = GetSearch & "</span>" & vbCrLf GetSearch = GetSearch & "</div>" & vbCrLf GetSearch = GetSearch & "</form>" & vbCrLf End Function End Class |
|
支持(0) | 反对(0) 顶端 底部 |
支持(0) | 反对(0) 顶端 底部 |
<上一主题 | 下一主题 > |