Home >Backend Development >PHP Tutorial >How to implement horizontal display of images in Discuz section_PHP tutorial

How to implement horizontal display of images in Discuz section_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:55:23959browse

Go to the template you are currently using and look for discuz.htm
to find this piece of code:

Copy the code The code is as follows:

href ="forumdisplay.php?fid=$forum[fid]">$forum[name]
span class="smalltxt">
{lang forum_threads}: $forum[threads]
{lang forum_posts}: $forum[posts]
{lang forum_todayposts}: $forum[todayposts]

                                        🎜>Modify to:



Copy code

The code is as follows:
$forum[folder]                                                                                  $forum[icon]$forum[name]
 1}-->
                                                            is_array($forum['lastpost'])}- ->
                                                                                  lang forum_lastpost_in}: {$forum[lastpost][subject]}                                                                                       $forum['lastpost']['author']{lang anonymous} else}-->
{lang never}



www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/318313.htmlTechArticleLook for discuz.htm in the template you are currently using. Find this code: Copy the code as follows: tdwidth= "$cat[forumcolwidth]"class="altbg2"onMouseOver="this.className='altbg1'"o...
Statement:
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