document.html 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <!--{if $typeid}-->
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.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. <title>{$typename}-{$store[tname]}-{$mymps_global[SiteName]}</title>
  7. <meta http-equiv="keywords" content="{$store[tname]}{$typename}">
  8. <meta http-equiv="description" content="{$store[tname]}{$typename}">
  9. <link href="{$mymps_global[SiteUrl]}/template/spaces/store/css/{$store[template]}.css" type="text/css" rel="stylesheet" />
  10. </head>
  11. <body>
  12. {template header}
  13. <div class="content">
  14. {template sider}
  15. <div class="cright">
  16. <div class="box">
  17. <div class="tit"><span>{$typename}</span></div>
  18. <div class="con cont_01 cfix">
  19. <table class="mrw_list">
  20. <tr>
  21. <th width="70%" class="list_left">标题</th>
  22. <th align="left">发布时间</th>
  23. <th align="left">浏览次数</th>
  24. </tr>
  25. {loop $docu $mymps}
  26. <tr>
  27. <td><a href="{$mymps[uri]}">{$mymps[title]}</a></td>
  28. <td align="left">{echo GetTime($mymps[pubtime],'Y-m-d')}</td>
  29. <td align="left">{$mymps[hit]}次</td>
  30. </tr>
  31. {loopelse}
  32. <tr>
  33. <td colspan="4">暂无相关记录!</td>
  34. </tr>
  35. {/loop}
  36. </table>
  37. </div>
  38. <div class="clear"></div>
  39. <div class="pagination" style="margin-left:15px!important;">{$pageview}</div>
  40. </div>
  41. </div>
  42. </div>
  43. <div class="clear15"></div>
  44. {template footer}
  45. </body>
  46. </html>
  47. <!--{elseif $id}-->
  48. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  49. <html xmlns="http://www.w3.org/1999/xhtml">
  50. <head>
  51. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  52. <link rel="alternate" href="{$mayimobile[mobileuri]}" media="handheld" type="application/vnd.wap.xhtml+xml">
  53. <meta http-equiv="mobile-agent" content="format=html5; url={$mayimobile[mobileuri]}">
  54. <meta http-equiv="mobile-agent" content="format=wml; url={$mayimobile[mobileuri]}">
  55. <meta http-equiv="mobile-agent" content="format=xhtml; url={$mayimobile[mobileuri]}">
  56. <title>{$docu[title]}-{$store[tname]}-{$mymps_global[SiteName]}</title>
  57. <meta http-equiv="keywords" content="{$docu[title]}">
  58. <meta http-equiv="description" content="{echo cutstr(clear_html($docu[content]),250)}">
  59. <link href="{$mymps_global[SiteUrl]}/template/spaces/store/css/{$store[template]}.css" type="text/css" rel="stylesheet" />
  60. </head>
  61. <body>
  62. {template header}
  63. <div class="content">
  64. {template sider}
  65. <div class="cright">
  66. <div class="box">
  67. <div class="tit"><span>{$typename}</span></div>
  68. <div class="con cont_01 cfix">
  69. <div class="kbNewsShow">
  70. <h1>{$docu[title]}</h1>
  71. <div class="infoNews">发布者:{$docu[author]} 发布时间:{echo GetTime($docu[pubtime],'Y-m-d')} 来源:{$docu[source]}</div>
  72. <div class="newsCont">
  73. {if $docu[imgpath]}<div align=center style="margin:10px auto"><a href="{$docu[imgpath]}" target="_blank"><img src="{$docu[pre_imgpath]}" border="0" alt="点击查看大图"></a> </div>{/if}
  74. {$docu[content]}
  75. </div>
  76. </div>
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. <div class="clear15"></div>
  82. {template footer}
  83. </body>
  84. </html>
  85. <!--{/if}-->