Home > Backend Development > PHP Tutorial > 跪求discuz高手解决问题.....

跪求discuz高手解决问题.....

WBOY
Release: 2016-06-23 14:17:42
Original
855 people have browsed it

discuz PHP

由于刚刚接触discuz,不是很熟悉,自己尝试做了一个门户模版,在后台的模块模版处写好后,在页面调用,取论坛分区的子版块列表,列表是取出来了,现在想把这个列表一行内只放三个,余下列表换行继续循环一行三个....但是刚刚接触discuz不太会,本人java程序员对php也不是很懂,请高手帮忙...

实际效果如下图:



我需要的效果如下图:


<tr>[loop]<td class="fl_g" width="32.9%">  <div class="fl_icn_g" style="width: 65px;">   <span class="phoneListImg">  <a href="{url}">  <img src="{icon}" align="left" alt="{title}"width="70px" height="100px"/></a>                        </span>                    </div>                <dl   style="max-width:90%">                <dt><a href="{url}" style="color:#FF0000">{title}</a>                <em class="xw0 xi1">{todayposts}</em>                </dt>                <dd><em>主题: {threads} </em><em>帖数: {posts}</em> 				</dd>                </dl>                </td>[/loop]</tr>
Copy after login



回复讨论(解决方案)

  


                   
                   
                 [loop]
                       
                       "; } ?>
                  [/loop]
                   
                   

  

   
  
  跪求discuz高手解决问题.....

                        

                    

                

                
{title}
                {todayposts}
                

                
主题: {threads} 帖数: {posts} 
                

                

                

这明显不是语言JAVA和PHP的问题。html,css没到家吧。

用div ul li
或者 div dl dt dd 来处理


    [loop]

  •     

        
        跪求discuz高手解决问题.....
        

        

        

        
    {title}
        {todayposts}
        

        
    主题: {threads} 帖数: {posts} 
        

        


  • [/loop]

    最后一个 应该是

默认模板好像就能实现你要的样式!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template