PageAdmin网站内容管理系统(CMS)交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

学校模板是s11_学校网站管理系统问题 [复制链接]

1#
问题1.模块管理,先择图文混排,标题图片不上传图片,在首页中就会出现个打错号的大方框
想要有图片则显示,没有图片则换有时间的标题来显示。(如图1和3)
若改成自定义代码如下:
<table border="0" cellspacing="1" cellpadding="1" width="100%">
    <tbody>
        <tr>
            <td>{paodel}1,47,596,and titlepic<>'',,_self,1,50,80,60{/paodel}</td>
        </tr>
        <tr>
            <td>{paodel}1,43,596,,,_self,4,50,150,150{/paodel}</td>
        </tr>
    </tbody>
</table>
以上两个要求都满足了,但在下面还显示一遍带标题加时间的标题。




问题2.若贴子加载图片过大,过多,超出了背景则显示黑色,不好看,如何还换正常时的背景。如图5
1.jpg (, 下载次数:0)

(2014/6/28 23:56:35 上传)

1.jpg

1.jpg (, 下载次数:0)

(2014/6/28 23:56:35 上传)

1.jpg

3.jpg (, 下载次数:0)

(2014/6/28 23:56:35 上传)

3.jpg

5.jpg (, 下载次数:0)

(2014/6/28 23:56:35 上传)

5.jpg

分享 转发
TOP
2#

问题2 我在网站参数设置,风格中,修改后可以实现效果,但网页的背景浅灰色全变成白色了,如何改,代码如下:

/*网站基础样式*/
body,div,ul,li,dl,dd,table,p,h1,form,legend,fieldset,input button,select,textarea,button{margin:0px;padding:0px;font-family:inherit;font-size:inherit;}
ul,li{list-style:none;}
a{color333333;text-decoration:none;}
a:hover{colorf60;text-decoration:underline;}

body{word-wrap:break-word;text-align:center;font:12px/1.6em Verdana,Helvetica,Arial,sans-serif;color333333;
height:100%;
}
#container {
min-height:100%; /*使内容高度和body一样*/
margin-bottom:-80px;/*向上缩减80像素,不至于footer超出屏幕可视范围*/
}
#content {
padding-bottom:150px; /*这个是关键,处理页面高度超出屏幕可视范围时,控制内容和底部高度之间距离*/
}
#footer {
height0px;
}
;background333 url(images/bg.gif) repeat-x 0 0}
.page_style{width:980px;margin:10px auto 0px auto;text-align:center;background-colorffffff;overflow:hidden;background:url(images/headerbg.jp) no-repeat 0 0}
.left{float:left}
.right{float:right}
.clear{display:block;clear:both;font-size:0px;height:0px;line-height:0px;width:0px;margin:0 0 0 0;padding:0 0 0 0;overflow:hidden}
新增的如下:
height:100%;
}
#container {
min-height:100%; /*使内容高度和body一样*/
margin-bottom:-80px;/*向上缩减80像素,不至于footer超出屏幕可视范围*/
}
#content {
padding-bottom:150px; /*这个是关键,处理页面高度超出屏幕可视范围时,控制内容和底部高度之间距离*/
}
#footer {
height0px;
}
TOP
3#

这样可以实现我的效果,但灰色全变成黑色了,如何修改,代码如下
/*网站基础样式*/
body,div,ul,li,dl,dd,table,p,h1,form,legend,fieldset,input button,select,textarea,button{margin:0px;padding:0px;font-family:inherit;font-size:inherit;}
ul,li{list-style:none;}
a{color333333;text-decoration:none;}
a:hover{colorf60;text-decoration:underline;}

body{word-wrap:break-word;text-align:center;font:12px/1.6em Verdana,Helvetica,Arial,sans-serif;color333333;background333; height:100%;
}
#container {
min-height:100%; /*使内容高度和body一样*/
margin-bottom:-80px;/*向上缩减80像素,不至于footer超出屏幕可视范围*/
}
#content {
padding-bottom:150px; /*这个是关键,处理页面高度超出屏幕可视范围时,控制内容和底部高度之间距离*/
}
#footer {
height0px;
};
url(images/bg.gif) repeat-x 0 0}
.page_style{width:980px;margin:10px auto 0px auto;text-align:center;background-colorffffff;overflow:hidden;background:url(images/headerbg.jp) no-repeat 0 0}
.left{float:left}
.right{float:right}
.clear{display:block;clear:both;font-size:0px;height:0px;line-height:0px;width:0px;margin:0 0 0 0;padding:0 0 0 0;overflow:hidden}
TOP
4#

没人回答啊
TOP
发新话题 回复该主题