修改文件post.php查找$fidDB=$db在他上面一行添加如下代码$CP=$db->get_one("SELECT*FROM{$pre}hy_companyWHEREuid='$lfjuid'");然后在你的模板里需要调用的地方加入如下代码吧{$CP[title]}这个就是商铺的名..
V7,在单篇文章独立页面管理发布图片,生成静态页后,图片链接是错误这个问题大家没遇到吗?
<!--<?phpprint<<<EOT--><!--EOT;$i=0;foreach($listdbAS$key=>$rs){$target=$rs[target]?'_blank':'_self';$rs[fontweight]=($rs[fonttype]==1)?'font-weight:bold;':'';$rs[fontc..
打比方说想要在独立页面也显示友情链接的话就在alonepage.php里查找require(dirname(__FILE__)."/"."global.php");在下面添加友情链接定义.require(PHP168_PATH."php168/friendlink.php");实例代码如下:<!--EOT;inc..
搜索inc/artic_function.phpelseif($rs[form_type]=='upmorefile')这里的<imgsrc='$webdb[www_url]/images/default/down_ico.gif'><ahref=\"#\"thunderHref=\"$thunderUrl\"thunderPid=\"$webdb[Xun..
页面中插入<div style="display:none;"><font id="hits"></font></div>或者直接用<font id="hits"></font>显示点击量即可

首先打开创建好需要的字段然后生成本模型生成模板 ,把发布页模板复制出来。主要是以下的几个内容需要注意第一段表单中<inputtype="hidden"name="mid"value="$mid">其中的mid改成你表单的mid如1第二步<formname="FOR..
打开:do/listsp.php查找:模板在其下面加入:/***标签**/$ch_fid=intval($fidDB[config][label_list]);//是否定义了栏目专用标签$ch_pagetype=2;//2,为list页,3,为bencandy页$ch_module=0;//文章模块,默认为0$ch=0;..
<liclass="active"><ahref="http://localhost/">首页</a></li><li><ahref="http://localhost/list.php?fid=1">新闻</a></li>以上是实现后的样式把其中的active改成$class<liclass="$class"><ahref="http://localhost..