欢迎来到:文理人,西安文理学院校友论坛!WenLiRen.com已正式更名为“文理人校友网”
新手帮助
文理人QQ群
切换到宽版
账号
自动登录
找回密码
密码
登录
快速注册
只需一步,快速开始
快捷导航
首页
BBS
博客
校园新闻
新生资讯
校园活动
1#欢迎毕业的文理校友到此签到(欢迎冒泡)
2#欢迎论坛新人到此领报到,领取新手奖哦^_^
3#新手必读:小白如何玩转论坛?
#看帖#
#版块#
1#磨叽一下,分享此刻心情
2#写日志,记录此刻心情,做人气博主
3#晒照片,发美图,show出真自我
4#分享喜欢的网址、视频、音乐、Flash
搜索
搜索
热搜:
西安文理学院
宿舍
贴图
新生报到
沙井村
计算机
英语四级
考研
图书馆
本版
文章
帖子
日志
相册
小组
用户
文理人
»
首页
›
校友广场
›
电脑网络
›
<FONT color=#0000FF>§校园文学§›</FONT> ...
1
2
3
4
/ 4 页
下一页
返回列表
发新帖
楼主:
gmszone
<FONT color=#0000FF>§校园文学§›</FONT>
火
[复制链接]
gmszone
当前离线
积分
2082
IP卡
狗仔卡
楼主
|
gmszone
发表于 2010-11-15 21:28:50
|
显示全部楼层
反潜水奖励。。
本帖子中包含更多资源
您需要
登录
才可以下载或查看,没有账号?
快速注册
×
回复
使用道具
举报
显身卡
眼镜蛇
当前离线
积分
29826
IP卡
狗仔卡
眼镜蛇
发表于 2010-11-15 21:31:29
|
显示全部楼层
<!--{subtemplate common/header}-->
<!--{subtemplate common/pubsearchform}-->
<!--{ad/text/wp a_t}-->
<style id="diy_style" type="text/css"></style>
<div class="wp">
<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
</div>
<div id="ct" class="wp cl{if $_G['setting']['forumallowside']} ct2{/if}">
<div id="chart" class="bm bw0 cl">
<!--{if $_G['uid']}--><p class="y"><a href="home.php?mod=space&uid=$_G['uid']&do=thread&view=me" title="{lang my_posts}" class="xi2">{lang my_posts}</a><span class="pipe">|</span><a href="search.php?mod=forum&srchfrom=$newthreads&searchsubmit=yes" title="{lang show_newthreads}" class="xi2">{lang show_newthreads}</a></p><!--{/if}-->
<p class="chart">{lang index_today}: <em>$todayposts</em><span class="pipe">|</span>{lang index_yesterday}: $postdata[0]<span class="pipe">|</span>{lang index_posts}: <em>$posts</em><span class="pipe">|</span>{lang index_members}: <em>$_G['cache']['userstats']['totalmembers']</em><!--{if $_G['setting']['lastmember']}--><span class="pipe">|</span>{lang welcome_new_members}: <em><a href="home.php?mod=space&username={echo rawurlencode($_G['setting']['lastmember'])}" target="_blank" class="xi2">$_G['setting']['lastmember']</a></em><!--{/if}--></p>
</div>
<!--{if empty($gid) && $announcements}-->
<div id="an" class="bm bw0">
<dl class="cl">
<dt class="z xw1">{lang announcements}: </dt>
<dd>
<div id="anc" class="xi2"><ul id="ancl">$announcements</ul></div>
</dd>
</dl>
</div>
<script type="text/javascript">announcement();</script>
<!--{/if}-->
<div class="mn">
<!--{hook/index_top}-->
<!--{if !empty($_G['cache']['heats']['message'])}-->
<div class="bm">
<div class="bm_h cl">
<h2>{lang hotthreads_forum}</h2>
</div>
<div class="bm_c cl">
<div class="heat z">
<!--{loop $_G['cache']['heats']['message'] $data}-->
<dl class="xld">
<dt><!--{if $_G['adminid'] == 1}--><a class="d" href="forum.php?mod=misc&action=removeindexheats&tid=$data[tid]" onclick="return removeindexheats()">delete</a><!--{/if}-->
<a href="forum.php?mod=viewthread&tid=$data[tid]" target="_blank" class="xi2">$data[subject]</a></dt>
<dd>$data[message]</dd>
</dl>
<!--{/loop}-->
</div>
<ul class="xl heatl">
<!--{loop $_G['cache']['heats']['subject'] $data}-->
<li><!--{if $_G['adminid'] == 1}--><a class="d" href="forum.php?mod=misc&action=removeindexheats&tid=$data[tid]" onclick="return removeindexheats()">delete</a><!--{/if}--><a href="forum.php?mod=viewthread&tid=$data[tid]" target="_blank" class="xi2">$data[subject]</a></li>
<!--{/loop}-->
</ul>
</div>
</div>
<!--{/if}-->
<div class="fl bm">
<!--{loop $catlist $key $cat}-->
<div class="bm bmw {if $cat['forumcolumns']} flg{/if} cl">
<div class="bm_h cl">
<span class="o">
<img id="category_$cat[fid]_img" src="{IMGDIR}/$cat[collapseimg]" title="{lang spread}" alt="{lang spread}" onclick="toggle_collapse('category_$cat[fid]');" />
</span>
<!--{if $cat['moderators']}--><span class="y">{lang forum_category_modedby}: $cat[moderators]</span><!--{/if}-->
<!--{eval $caturl = !empty($cat['domain']) && !empty($_G['setting']['domain']['root']['forum']) ? 'http://'.$cat['domain'].'.'.$_G['setting']['domain']['root']['forum'] : '';}-->
<h2><a href="{if !empty($caturl)}$caturl{else}forum.php?gid=$cat[fid]{/if}" style="{if $cat[extra][namecolor]}color: {$cat[extra][namecolor]};{/if}">$cat[name]</a></h2>
</div>
<div id="category_$cat[fid]" class="bm_c" style="$collapse['category_'.$cat[fid]]">
<table cellspacing="0" cellpadding="0" class="fl_tb">
<tr>
<!--{loop $cat[forums] $forumid}-->
<!--{eval $forum=$forumlist[$forumid];}-->
<!--{eval $forumurl = !empty($forum['domain']) && !empty($_G['setting']['domain']['root']['forum']) ? 'http://'.$forum['domain'].'.'.$_G['setting']['domain']['root']['forum'] : 'forum.php?mod=forumdisplay&fid='.$forum['fid'];}-->
<!--{if $cat['forumcolumns']}-->
<!--{if $forum['orderid'] && ($forum['orderid'] % $cat['forumcolumns'] == 0)}-->
</tr>
<!--{if $forum['orderid'] < $cat['forumscount']}-->
<tr class="fl_row">
<!--{/if}-->
<!--{/if}-->
<td class="fl_g" width="$cat[forumcolwidth]">
<div class="fl_icn_g"{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if}>
<!--{if $forum[icon]}-->
$forum[icon]
<!--{else}-->
<a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}><img src="{IMGDIR}/forum{if $forum[folder]}_new{/if}.gif" alt="$forum[name]" /></a>
<!--{/if}-->
</div>
<dl{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="margin-left: {$forum[extra][iconwidth]}px;"{/if}>
<dt><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($forum[todayposts])</em><!--{/if}--></dt>
<!--{if empty($forum[redirect])}--><dd><em>{lang forum_threads}: $forum[threads]</em>, <em>{lang forum_posts}: $forum[posts]</em></dd><!--{/if}-->
<dd>
<!--{if $forum['permission'] == 1}-->
{lang ∵_forum}
<!--{else}-->
<!--{if $forum['redirect']}-->
<a href="$forumurl" class="xi2">{lang url_link}</a>
<!--{elseif is_array($forum['lastpost'])}-->
<!--{if $cat['forumcolumns'] < 3}-->
<a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->{lang anonymous}<!--{/if}--></cite>
<!--{else}-->
<a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost">{lang forum_lastpost}: $forum[lastpost][dateline]</a>
<!--{/if}-->
<!--{else}-->
{lang never}
<!--{/if}-->
<!--{/if}-->
</dd>
</dl>
</td>
<!--{else}-->
<td class="fl_icn" {if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if}>
<!--{if $forum[icon]}-->
$forum[icon]
<!--{else}-->
<a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}><img src="{IMGDIR}/forum{if $forum[folder]}_new{/if}.gif" alt="$forum[name]" /></a>
<!--{/if}-->
</td>
<td>
<h2><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($forum[todayposts])</em><!--{/if}--></h2>
<!--{if $forum[description]}--><p class="xg2">$forum[description]</p><!--{/if}-->
<!--{if $forum['subforums']}--><p>{lang forum_subforums}: $forum['subforums']</p><!--{/if}-->
<!--{if $forum['moderators']}--><p>{lang forum_moderators}: <span class="xi2">$forum[moderators]</span></p><!--{/if}-->
</td>
<td class="fl_i">
<!--{if empty($forum[redirect])}--><span class="xi2">$forum[threads]</span><span class="xg1"> / $forum[posts]</span><!--{/if}-->
</td>
<td class="fl_by">
<div>
<!--{if $forum['permission'] == 1}-->
{lang ∵_forum}
<!--{else}-->
<!--{if $forum['redirect']}-->
<a href="$forumurl" class="xi2">{lang url_link}</a>
<!--{elseif is_array($forum['lastpost'])}-->
<a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->{lang anonymous}<!--{/if}--></cite>
<!--{else}-->
{lang never}
<!--{/if}-->
<!--{/if}-->
</div>
</td>
</tr>
<tr class="fl_row">
<!--{/if}-->
<!--{/loop}-->
$cat['endrows']
</tr>
</table>
</div>
</div>
<!--{ad/intercat/bm a_c/$cat[fid]}-->
<!--{/loop}-->
</div>
<!--{hook/index_middle}-->
<!--{if empty($gid) && $_G['setting']['whosonlinestatus']}-->
<div id="online" class="bm oll">
<div class="bm_h">
<!--{if $detailstatus}-->
<span class="o"><a href="forum.php?showoldetails=no#online" title="{lang spread}"><img src="{IMGDIR}/collapsed_no.gif" alt="{lang spread}" /></a></span>
<h3>
<strong><a href="home.php?mod=space&do=friend&view=online&type=member">{lang onlinemember}</a></strong>
<span class="xs1">- <strong>$onlinenum</strong> {lang onlines}
- <strong>$membercount</strong> {lang index_members}(<strong>$invisiblecount</strong> {lang index_invisibles}),
<strong>$guestcount</strong> {lang index_guests}
- {lang index_mostonlines} <strong>$onlineinfo[0]</strong> {lang on} <strong>$onlineinfo[1]</strong>.</span>
</h3>
<!--{else}-->
<span class="o"><a href="forum.php?showoldetails=yes#online" title="{lang spread}"><img src="{IMGDIR}/collapsed_yes.gif" alt="{lang spread}" /></a></span>
<h3>
<strong><a href="home.php?mod=space&do=friend&view=online&type=member">{lang onlinemember}</a></strong>
<span class="xs1">- {lang total} <strong>$onlinenum</strong> {lang onlines}
- {lang index_mostonlines} <strong>$onlineinfo[0]</strong> {lang on} <strong>$onlineinfo[1]</strong>.</span>
</h3>
<!--{/if}-->
</div>
<!--{if $_G['setting']['whosonlinestatus'] && $detailstatus}-->
<dl id="onlinelist" class="bm_c">
<dt class="ptm pbm bbda">$_G[cache][onlinelist][legend]</dt>
<!--{if $detailstatus}-->
<dd class="ptm pbm">
<ul class="cl">
<!--{if $whosonline}-->
<!--{loop $whosonline $key $online}-->
<li title="{lang time}: $online[lastactivity]">
<img src="{STATICURL}image/common/$online[icon]" alt="icon" />
<!--{if $online['uid']}-->
<a href="home.php?mod=space&uid=$online[uid]">$online[username]</a>
<!--{else}-->
$online[username]
<!--{/if}-->
</li>
<!--{/loop}-->
<!--{else}-->
<li style="width: auto">{lang online_only_guests}</li>
<!--{/if}-->
</ul>
</dd>
<!--{/if}-->
</dl>
<!--{/if}-->
</div>
<!--{/if}-->
<!--{if empty($gid) && ($_G['cache']['forumlinks'][0] || $_G['cache']['forumlinks'][1] || $_G['cache']['forumlinks'][2])}-->
<div class="bm lk">
<div id="category_lk" class="bm_c ptm">
<!--{if $_G['cache']['forumlinks'][0]}-->
<ul class="m mbn cl">$_G['cache']['forumlinks'][0]</ul>
<!--{/if}-->
<!--{if $_G['cache']['forumlinks'][1]}-->
<div class="mbn cl">
$_G['cache']['forumlinks'][1]
</div>
<!--{/if}-->
<!--{if $_G['cache']['forumlinks'][2]}-->
<ul class="x mbm cl">
$_G['cache']['forumlinks'][2]
</ul>
<!--{/if}-->
</div>
</div>
<!--{/if}-->
<!--{hook/index_bottom}-->
</div>
<!--{if $_G['setting']['forumallowside']}-->
<div id="sd" class="sd">
<!--{hook/index_side_top}-->
<div class="drag">
<!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
</div>
<!--{hook/index_side_bottom}-->
</div>
<!--{/if}-->
</div>
<div class="wp mtn">
<!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
</div>
<!--{subtemplate common/footer}-->
复制代码
以上为论坛首页模板源码
不知道LZ是不是也精通PHP
不过我在这方面还是新手···
回复
使用道具
举报
显身卡
蛋定如初
当前离线
积分
534
IP卡
狗仔卡
蛋定如初
发表于 2010-11-15 21:35:20
|
显示全部楼层
回复
gmszone
的帖子
那不是解决问题的方法吧?alt属性的值是给图片增加描述的,也就是说,当你把鼠标移动到图片上,就会出现alt属性的值。。。
回复
使用道具
举报
显身卡
gmszone
当前离线
积分
2082
IP卡
狗仔卡
楼主
|
gmszone
发表于 2010-11-15 21:38:19
|
显示全部楼层
好吧,我不懂,我懂HTML,我之前是用Google Chrome浏览器查看的,显示的是HTML代码
点评
眼镜蛇
HTML掌握的不错 赞一个
发表于 2010-11-15 21:41
回复
使用道具
举报
显身卡
gmszone
当前离线
积分
2082
IP卡
狗仔卡
楼主
|
gmszone
发表于 2010-11-15 21:41:21
|
显示全部楼层
我也相纠结这个
本帖子中包含更多资源
您需要
登录
才可以下载或查看,没有账号?
快速注册
×
回复
使用道具
举报
显身卡
gmszone
当前离线
积分
2082
IP卡
狗仔卡
楼主
|
gmszone
发表于 2010-11-15 21:42:23
|
显示全部楼层
本帖最后由 gmszone 于 2010-11-15 21:44 编辑
回复
蛋定如初
的帖子
呵呵,那里移到照片上试试,那个问题也出现了,PHP咱不是很懂,,,用的是ASP。。
回复
使用道具
举报
显身卡
gmszone
当前离线
积分
2082
IP卡
狗仔卡
楼主
|
gmszone
发表于 2010-11-15 21:48:26
|
显示全部楼层
<a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}><img src="{IMGDIR}/forum{if $forum[folder]}_new{/if}.gif" alt="$forum[name]" /></a> 应该是和这个相同了"$forum[name]"论坛名字,,,的问题,和我遇到一样的问题。。
回复
使用道具
举报
显身卡
gmszone
当前离线
积分
2082
IP卡
狗仔卡
楼主
|
gmszone
发表于 2010-11-15 21:51:37
|
显示全部楼层
http://www.wenliren.com/data/cache/style_2_forum_index.css?W7e
这个文件就是CSS的。。。
回复
使用道具
举报
显身卡
gmszone
当前离线
积分
2082
IP卡
狗仔卡
楼主
|
gmszone
发表于 2010-11-15 21:54:46
|
显示全部楼层
"$forum[name]"是后台定义的,要貌似很麻烦,回宿舍睡觉去了。。。
回复
使用道具
举报
显身卡
gmszone
当前离线
积分
2082
IP卡
狗仔卡
楼主
|
gmszone
发表于 2010-11-15 21:58:21
|
显示全部楼层
CSS代码的长度超出我的想像,要是Discuz能加入一些CSS3的特性就好了,至少看谷歌浏览器上看起来会是圆角的直角界面看起来不是很漂亮,我做的一个CSS3的简单网页,建议在谷歌浏览器等支持CSS3、HTML5上看
http://moqist2.appspot.com/web/mokcy.html
回复
使用道具
举报
显身卡
下一页 »
1
2
3
4
/ 4 页
下一页
返回列表
发新帖
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
快速注册
本版积分规则
发表回复
回帖并转播
回帖后跳转到最后一页
Copyright © 2008-2023
文理人
(https://www.wenliren.com) 版权所有 All Rights Reserved.
Powered by Discuz! X3.5
|
京ICP备19054389号-3
快速回复
返回顶部
返回列表