search
HomeBackend DevelopmentPHP TutorialYEEI official dream template multi-frame sharing! (Demonstration: You can see the N grid on this site)

When I saw this home page, I thought it looked very nice. Not original, just saw it and turned it over to share with everyone.

Copyright belongs to YEEI. The Programmer's Home Forum is just for sharing!

Let’s take a look at the rendering of the N grid on the homepage:



Implementation method:
1. Upload image files (default template directory: /static/image/common/)
Download the attachment, then unzip it and transfer the img folder to your file directory (see clearly, the img folder is not the content of the folder)
2. Add N grid css style to CSS
  1. .frame{ border:none; padding:0px; margin:0px}
  2. .move-span { border:none; background:none; padding:0px; margin:0px}
  3. .yeei_sw{padding:0;margin-top:-1px;*margin-top:-16px; border-left:1px solid #D9D9D9; border-right:1px solid #D9D9D9; border-top: 1px solid #D9D9D9 ;}
  4. .yeei_sw1{height:107px; overflow:hidden;border-bottom:1px solid #D9D9D9;}
  5. .yeei_sw1l{ margin-right:320px;_margin-right:323px;padding:10px 10px 0 15px;background :#fff url({IMGDIR}/img/show_1_bg.gif) repeat-x 0 0px;position: relative}
  6. .yeei_sw1l .hot{background:url({IMGDIR}/img/new.png) no-repeat right 0;position: absolute;right:0px;top:1px; width:48px; height:47px;_background:none}
  7. .yeei_sw1l .m { margin-top:0px; padding-right:5px;*padding-right: 0px}
  8. .yeei_sw1l .m img{ border:1px solid #E0E0E0; background:#fff; padding:1px}
  9. .yeei_sw1l dt{ font-size:16px; padding-bottom:3px; padding-top:1px; font-family:'Hiragino Sans GB','Microsoft YaHei','宋体',Helvetica,Arial,sans-serif;}
  10. .yeei_sw1l dd{ color:#666;margin-bottom:5px}
  11. .yeei_sw1l . b{ color:#888;}
  12. .yeei_sw1l .b a{ color:#77828E; margin-right:6px}
  13. .yeei_sw1r{float:right;height:98px; width:313px;_width:316px; overflow:hidden ; padding-left:7px; padding-top:8px;background:url({IMGDIR}/img/show_2_bg.gif) no-repeat 0 0;}
  14. .yeei_sw1r .chart{ background:none;width:300px; padding -bottom:10px; padding-left:6px;background: url({IMGDIR}/img/bottom_b.gif) repeat-x 0 bottom;}
  15. .yeei_sw1r .yeei_wb{ padding-left:7px; padding-top:2px ;}
  16. .yeei_sw1r a{cursor: pointer;}
  17. .yeei_sw1r a:hover{text-decoration: none;}
  18. .yeei_wb dt { height:19px;overflow:hidden;padding-bottom:9px;font- family:'宋体',Helvetica,Arial,sans-serif; font-weight: 700;background:url({IMGDIR}/img/wb.gif) no-repeat -54px 4px; padding-left:17px}
  19. . yeei_wb .n { float: left; color:#666; width:220px; overflow:hidden; background:#FFFFF0; border:1px solid #EDD180; height:23px; line-height:23px; padding:0 6px;}
  20. .yeei_wb .n b{ color:#F08800; font-weight:none}
  21. .yeei_wb .m { float: left; margin:0px; height:54px; width:54px; margin-right:7px;}
  22. . yeei_wb .m img{ border:1px solid #85898C; padding:1px;}
  23. .yeei_wb span{float:left; margin-top:2px;margin-right:10px; font-size:14px}
  24. .yeei_wb . ting{width:66px;height:19px;display: block;background:url({IMGDIR}/img/wb.gif) no-repeat 0 bottom; float:left}
  25. .yeei_sw2{height:195px;overflow:hidden ;border-bottom:1px solid #D9D9D9}
  26. .yeei_sw2l{margin-right:318px;height:195px;border-right:1px solid #D9D9D9}
  27. .yeei_sw2r{ float:right;width:313px; overflow:hidden ; padding-left:5px; padding-top:5px;}
  28. .yeei_sw2l .title{background: url({IMGDIR}/img/tab_bg.gif) repeat-x 0 0; height:40px;}
  29. .yeei_sw2l .titletext{font-size:12px;font-weight:normal;}
  30. .yeei_sw2l .tb a{padding:0px; background: url({IMGDIR}/img/tab_a.gif) no-repeat 0 -40px!important ; margin-right:5px; color:#444; border:none;text-align:center;width:85px; height:40px}
  31. .yeei_sw2l .tb-c{ padding:10px; border:none}
  32. . yeei_sw2l .tb .a a {background:url({IMGDIR}/img/tab_a.gif) no-repeat 0 0!important;font-weight: 700; color:#333;}
  33. .yeei_sw2l .module ul li{width :50%;*width:49%;border-bottom:1px dotted #ddd; float:left; margin-bottom:3px; padding:0 0px 3px 0; }
  34. .yeei_sw2l .module ul li span{background:url ({IMGDIR}/img/li.gif) no-repeat 5px 6px; padding-left:15px;}
  35. .yeei_sw2l .module ul li em{ font-size:11px; margin-right:10px;}
  36. . yeei_sw2l .module ul li a:hover{color:#225F8F;text-decoration: none;}
Copy code
3、模板中添加N格代码(默认模板文件是:/template/default/forum/discuz.htm)






  1. {lang index_today}: $todayposts|{lang index_yesterday}: $postdata[0]|{lang index_posts}: $posts|{lang index_members}: $_G['cache']['userstats']['totalmembers']






























  • 复制代码 4、打开论坛首页,管理账号登陆,导入论坛XML文件!
    然后更新缓存 就可以了!

    不会的可以看看这个帖子, http://www.clqxn.com/forum.php?mod=viewthread&tid=7&extra=page%3D1
    还可以加小贝QQ一起交流 ,好东西就是要分享和交流的!

    PS:  还有另外一直方法,也可以的,附件里面有说明,你懂的
       
    dream

    yeei多格.rar

    55.22 KB, 下载次数: 1239



    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
    11 Best PHP URL Shortener Scripts (Free and Premium)11 Best PHP URL Shortener Scripts (Free and Premium)Mar 03, 2025 am 10:49 AM

    Long URLs, often cluttered with keywords and tracking parameters, can deter visitors. A URL shortening script offers a solution, creating concise links ideal for social media and other platforms. These scripts are valuable for individual websites a

    Introduction to the Instagram APIIntroduction to the Instagram APIMar 02, 2025 am 09:32 AM

    Following its high-profile acquisition by Facebook in 2012, Instagram adopted two sets of APIs for third-party use. These are the Instagram Graph API and the Instagram Basic Display API.As a developer building an app that requires information from a

    Working with Flash Session Data in LaravelWorking with Flash Session Data in LaravelMar 12, 2025 pm 05:08 PM

    Laravel simplifies handling temporary session data using its intuitive flash methods. This is perfect for displaying brief messages, alerts, or notifications within your application. Data persists only for the subsequent request by default: $request-

    Build a React App With a Laravel Back End: Part 2, ReactBuild a React App With a Laravel Back End: Part 2, ReactMar 04, 2025 am 09:33 AM

    This is the second and final part of the series on building a React application with a Laravel back-end. In the first part of the series, we created a RESTful API using Laravel for a basic product-listing application. In this tutorial, we will be dev

    Simplified HTTP Response Mocking in Laravel TestsSimplified HTTP Response Mocking in Laravel TestsMar 12, 2025 pm 05:09 PM

    Laravel provides concise HTTP response simulation syntax, simplifying HTTP interaction testing. This approach significantly reduces code redundancy while making your test simulation more intuitive. The basic implementation provides a variety of response type shortcuts: use Illuminate\Support\Facades\Http; Http::fake([ 'google.com' => 'Hello World', 'github.com' => ['foo' => 'bar'], 'forge.laravel.com' =>

    cURL in PHP: How to Use the PHP cURL Extension in REST APIscURL in PHP: How to Use the PHP cURL Extension in REST APIsMar 14, 2025 am 11:42 AM

    The PHP Client URL (cURL) extension is a powerful tool for developers, enabling seamless interaction with remote servers and REST APIs. By leveraging libcurl, a well-respected multi-protocol file transfer library, PHP cURL facilitates efficient execution of various network protocols, including HTTP, HTTPS, and FTP. This extension offers granular control over HTTP requests, supports multiple concurrent operations, and provides built-in security features.

    12 Best PHP Chat Scripts on CodeCanyon12 Best PHP Chat Scripts on CodeCanyonMar 13, 2025 pm 12:08 PM

    Do you want to provide real-time, instant solutions to your customers' most pressing problems? Live chat lets you have real-time conversations with customers and resolve their problems instantly. It allows you to provide faster service to your custom

    Announcement of 2025 PHP Situation SurveyAnnouncement of 2025 PHP Situation SurveyMar 03, 2025 pm 04:20 PM

    The 2025 PHP Landscape Survey investigates current PHP development trends. It explores framework usage, deployment methods, and challenges, aiming to provide insights for developers and businesses. The survey anticipates growth in modern PHP versio

    See all articles

    Hot AI Tools

    Undresser.AI Undress

    Undresser.AI Undress

    AI-powered app for creating realistic nude photos

    AI Clothes Remover

    AI Clothes Remover

    Online AI tool for removing clothes from photos.

    Undress AI Tool

    Undress AI Tool

    Undress images for free

    Clothoff.io

    Clothoff.io

    AI clothes remover

    AI Hentai Generator

    AI Hentai Generator

    Generate AI Hentai for free.

    Hot Article

    R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
    2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
    Repo: How To Revive Teammates
    4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
    Hello Kitty Island Adventure: How To Get Giant Seeds
    3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

    Hot Tools

    ZendStudio 13.5.1 Mac

    ZendStudio 13.5.1 Mac

    Powerful PHP integrated development environment

    SAP NetWeaver Server Adapter for Eclipse

    SAP NetWeaver Server Adapter for Eclipse

    Integrate Eclipse with SAP NetWeaver application server.

    EditPlus Chinese cracked version

    EditPlus Chinese cracked version

    Small size, syntax highlighting, does not support code prompt function

    DVWA

    DVWA

    Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

    Atom editor mac version download

    Atom editor mac version download

    The most popular open source editor