8.1 应用举例 全站搜索模板
来源:网络作者:站长
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | < div class = "weizhi" >您当前的位置:系统搜索到约有< strong >[!--num--]</ strong >项符合< strong >[!--keyboard--]</ strong >的查询结果</ div > < div class = "news_search" > < h2 >搜索结果</ h2 > < ul class = "search_news" > [!--empirenews.listtemp--] < li >[!--no.num--]. < a href = "[!--titleurl--]" target = "_blank" > < h2 >[!--title--]</ h2 > </ a > < p class = "search_text" >[!--smalltext--]</ p > < p class = "search_info" >< span >[!--titleurl--] - [!--newstime--]</ span ></ p > </ li > [!--empirenews.listtemp--] </ ul > < div class = "epages" >[!--listpage--]</ div > </ div > |
帝国cms默认模板
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> < html xmlns = "http://www.w3.org/1999/xhtml" > < head > < meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" /> < title >搜索 - Powered by EmpireCMS</ title > < link href = "[!--news.url--]skin/default/css/style.css" rel = "stylesheet" type = "text/css" /> < script type = "text/javascript" src = "[!--news.url--]skin/default/js/tabs.js" ></ script > < style type = "text/css" > <!-- .r { display: inline; font-weight: normal; margin: 0; font-size: 16px; margin-top: 10px; } .a { color: green } .fl { color: #77c } --> </ style > </ head > < body class = "listpage" > [!--temp.dtheader--] < table width = "100%" border = "0" cellspacing = "10" cellpadding = "0" > < tr valign = "top" > < td class = "list_content" >< table width = "100%" border = "0" cellspacing = "0" cellpadding = "0" class = "position" > < tr > < td >现在的位置:< a href = "[!--news.url--]" >首页</ a > > 搜索</ td > </ tr > </ table > < table width = "100%" border = "0" cellspacing = "0" cellpadding = "0" class = "box" > < tr > < td >< form action = 'index.php' method = "GET" name = "search_news" id = "search_news" > < table width = "100%" border = "0" cellspacing = "6" cellpadding = "0" > < tr > < td height = "32" >关键字: < input name = "keyboard" type = "text" id = "keyboard" value = "[!--keyboard--]" size = "42" /> < select name = "field" id = "field" > < option value = "1" >全文</ option > < option value = "2" >标题</ option > < option value = "3" >内容</ option > </ select > < input type = "submit" name = "Submit22" value = "搜索" /> < font color = "#666666" >(多个关键字请用"空格"隔开)</ font ></ td > </ tr > </ table > </ form > < table width = "100%" border = "0" cellpadding = "0" cellspacing = "6" > < tr > < td >系统搜索到约有< strong >[!--num--]</ strong >项符合< strong >[!--keyboard--]</ strong >的查询结果</ td > </ tr > </ table > [!--empirenews.listtemp--] < h2 class = "r" >< span >[!--no.num--].</ span > < a class = "l" href = "[!--titleurl--]" target = "_blank" >[!--title--]</ a ></ h2 > < table width = "80%" border = "0" cellpadding = "0" cellspacing = "0" > < tbody > < tr > < td >[!--smalltext--]</ td > </ tr > < tr > < td >< span class = "a" >[!--titleurl--] - [!--newstime--]</ span ></ td > </ tr > < tr > < td > </ td > </ tr > </ tbody > </ table > [!--empirenews.listtemp--] < table width = "100%" border = "0" cellspacing = "0" cellpadding = "0" class = "list_page" > < tr > < td >[!--listpage--]</ td > </ tr > </ table ></ td > </ tr > </ table ></ td > </ tr > </ table > [!--temp.footer--] </ body > </ html > |
你觉得文章内容怎么样