新手求HELP。关于DISCUZ的

WBOY
Release: 2016-06-23 13:40:34
Original
677 people have browsed it

我原本是搞ASP.NET的。但是公司让我搞DISCUZ。所以我来这儿问了,去DISCUZ求助都没人。
我制作了一个单页,引用了头部和底部文件。
然后,我想实现的效果是这样的:我希望能找到相应的的DIV层,然后写入相应的PHP语言。要怎么写?
比如:

内容
   我想修改成这样 :
 
怎么搞?


回复讨论(解决方案)

discuz用了自己的模版机制,你可以这样来写php代码


  xxxxxx oooooo

discuz用了自己的模版机制,你可以这样来写php代码


  xxxxxx oooooo


我想知道的是,这代码我在PHP里面写之后,编译之后,它就显示在最下方。能不能让它在中间位置啊?

要在中间位置,我想应该用css控制啊

要在中间位置,我想应该用css控制啊


不是,我的意思是这样的。我截个图给你看下吧。

这是我按着jam00的方法写的。
我是想让它显示在007(它包含在一个div里面的)那个框里面的

我自己解决了。。方法是在PHP文件那儿写相应的代码,赋值到相应的$abc中,然后在HTM里面用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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!