header.html 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {php wmlHeader();}
  2. <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <meta http-equiv="Cache-Control" content="no-cache"/>
  7. <meta name="viewport" content="width=device-width; initial-scale=1.3; minimum-scale=1.0; maximum-scale=2.0"/>
  8. <meta name="MobileOptimized" content="240"/>
  9. <meta name="format-detection" content="telephone=no" />
  10. <title>{$WAP['sitename']}</title>
  11. <style type="text/css">
  12. body,div,p,table,textarea,form,h2,h3,h4,h5,ul,li{margin:0; padding:0; color:#303030;line-height:160%;}
  13. select, input, img{vertical-align:middle; border:none;}
  14. body{background:#FFF;-webkit-user-select:none;-webkit-text-size-adjust:none;}
  15. a{text-decoration:none;color:#09c;}
  16. .wrap{padding:3px 3px 0px; line-height:130%; font-size:14px;}
  17. .tc{text-align:center; margin:10px 0px;}
  18. .nav_logo{line-height:26px; margin-bottom:4px; color:#999; font-weight:bold;}
  19. .nav_logo img{margin-right:10px;}
  20. .hot{color:#ff0; background:#09c; padding:3px;}
  21. .hot a{text-decoration:underline; color:#fff;}
  22. h2{background:#efefef; color:#666; margin:6px 0px; padding:2px 6px; font-size:14px;}
  23. h2 a{margin-left:0.5em; font-size:12px; font-weight:100; color:#666; text-decoration:underline;}
  24. h2 a.cat{font-weight:bold; font-size:14px; margin-left:0px; color:#09c; margin-right:4px; text-decoration:none;}
  25. .ft{ background:#efefef; text-align:center; padding:10px 0px;}
  26. </style>
  27. </head>
  28. <body>
  29. <div class="wrap">
  30. <div class="nav_logo" id="hd">
  31. <span><a href="{WAP_SITEURL}"><img src="{$WAP['logo']}" width="70" height="50" alt="phpcms" align="left" /></a></span>
  32. {pc:wap action="type" typeid="0" num="10" siteid="$siteid" }
  33. {loop $data $k $v}
  34. <a href="{list_url($v[typeid])}">{$v[typename]}</a>
  35. {if $n%2!=0}&nbsp;|&nbsp;{else}<br/>{/if}
  36. {/loop}
  37. {/pc}
  38. </div>
  39. <div class="hot">
  40. 热词:{hotword()}
  41. </div>