XOOPS - theme主题风格 - 模板代码、区块设置与页面效果之间的对应关系

请看这个演示
http://docs.google.com/Presentation?id=dcf869c4_357g3ch9d
相关模板源代码如下:

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="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<
head>
<
meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<
meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<
meta name="robots" content="<{$xoops_meta_robots}>" />
<
meta name="keywords" content="<{$xoops_meta_keywords}>" />
<
meta name="description" content="<{$xoops_meta_description}>" />
<
meta name="rating" content="<{$xoops_meta_rating}>" />
<
meta name="author" content="<{$xoops_meta_author}>" />
<
meta name="copyright" content="<{$xoops_meta_copyright}>" />
<
meta name="generator" content="XOOPS" />
<
title><{$xoops_sitename}> - <{$xoops_pagetitle}> title>
<
link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<
link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_url}>/xoops.css" />
<
link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_themecss}>" />

<{
$xoops_module_header}>
<
script type="text/javascript">




  
    
       <{$xoops_url}>/"> <{$xoops_imageurl}>logo.gif" width="150" height="80" alt="" />
       <{$xoops_banner}>
    
    
        
    
  

  
    
      
        
        <{foreach item=block from=$xoops_lblocks}>
                     <{$block.title}>

                     <{$block.content}>

        <{/foreach}>
        

      

      
        
        <{if $xoops_showcblock == 1}>
        
        
            
            
            <{foreach item=block from=$xoops_ccblocks}>
                
                  

                     <{$block.title}>
                     <{$block.content}>
                  

                
            <{/foreach}>
            
            
        
        
                     
            
            <{foreach item=block from=$xoops_clblocks}>
                
                  

                     <{$block.title}>
                     <{$block.content}>
                  

                
            <{/foreach}>
            
            
                     
            
            <{foreach item=block from=$xoops_crblocks}>
                
                  

                     <{$block.title}>
                     <{$block.content}>
                  

                
            <{/foreach}>
            
            
        
        
        <{/if}>
        
        
          <{$xoops_contents}>
        
        <{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}>
        
        <{if $xoBlocks.page_bottomcenter}>
        
            <{foreach from=$xoBlocks.page_bottomcenter item=block}>
                
                  

                     <{$block.title}>
                     <{$block.content}>
                  

                
            <{/foreach}>
            
        
        <{/if}>
        <{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright}>
        
            
                <{foreach from=$xoBlocks.page_bottomleft item=block}>
                    
                      

                         <{$block.title}>
                         <{$block.content}>
                      

                    
                <{/foreach}>
            
            
                <{foreach from=$xoBlocks.page_bottomright item=block}>
                    
                      

                         <{$block.title}>
                         <{$block.content}>
                      

                    
                <{/foreach}>
            
        
        <{/if}>
        
        <{/if}>
      
      <{if $xoops_showrblock == 1}>
      
        
        <{foreach item=block from=$xoops_rblocks}>
                     <{$block.title}>
                     <{$block.content}>
        <{/foreach}>
        
      
      <{/if}>
    
  

  
    
      <{$xoops_footer}>
    
  




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值