easy template寫的一個首頁代碼

<!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" xml:lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Language" content="zh-CN" />
    <meta name="mobile-agent" content="format=html5;url={config[url]}" />
<title>{indexconf[title]}-{config[name]}</title>  
<meta name="generator" content="DLOG" />
    <meta name="keywords" content="{indexconf[keywords]}" />
    <meta name="description" content="{indexconf[description]}" />
    
    
<script src="images/common.js" type="text/javascript"></script>  
    <script src="images/top.js" type="text/javascript"></script>
    <script type="text/javascript" src="js/sofut.js"></script>
    
    <link rel="stylesheet" rev="stylesheet" href="images/style.css" type="text/css" media="all"/>
    <link rel="alternate" type="application/rss+xml" href="rss.xml" title="{config[name]}" /> 
<link rel="canonical" href="{config[url]}" />
    
</head> 
<body class="multi default">

<!--#include file="inc_header.html"-->

<div id="content">  
  <div id="main">
  <div style="background-color:#FFF; margin-top:-10px; margin-bottom:10px; padding:5px 10px; border-radius:5px;">
  {indexconf[text]}
  </div>
  
<!--$news as $lst-->
 
    <!--if($lst['uptop']=="1")-->  
            <div class="istop-post postistop post cate1  auth1">
                <div></div>
                <div>
                    <div>
                     <h2><a href="post-{lst['id']}.html" title="{lst['title']}">{lst['title']}</a></h2>
                    </div>
                </div>
                <div></div>
            </div>  
        <!--else-->  
        <div class="post cate2  auth1">
              <div itemprop="date" title="{lst[datetime]}">
                <h5>{lst['day']}</h5><h6>{lst['year']}<br />{lst['month']}</h6>
              </div>
              <div>
                <div>
                  <h2><a href="post-{lst['id']}.html" title="{lst['title']}">{lst['title']}</a></h2>
                  <div> 
                      <p>
                        <!--if($lst[pic])-->
                        <br /> 
                            <center>
                            <a href="post-{lst[id]}.html" title="{lst[title]}"><img src="{lst[pic]}" alt="{lst[title]}" /></a>
                            </center>
                        <!--end--> 
                        
                        {lst['subcont']}
                      </p>
                   </div>
                  <div>
                  
                    <address> 
          日期:<time>{lst[year]}-{lst[month]}-{lst[day]}</time> | 分類:<a href="category-{lst[linkname]}.html">{lst[catname]}</a> | 瀏覽:<span>{lst[hit]}</span> | 評論:<span>{lst[comment]}</span>  
          </address>
                  
                        </div>
                </div>
              </div>
             <div></div>
        </div>
        
        <!--end-->

<!--end-->  
<div>
       
   <!--<a href="http://reflow.cc"><span>‹‹</span></a>
   
   <span class="page now-page">1</span>
   
   <a href="http://reflow.cc"><span>››</span></a>-->
      </div>   
  </div> 
  <div id="sidebar"> 
   <!--#include file="inc_sidebar.html"-->
    </div> 
  <div></div>
</div>
<div id="footer">
 <!--#include file="inc_footer.html"-->
</div>
</body>
</html>
相關文章
相關標籤/搜索