dedecms广告添加大全,织梦cms添加广告教程(4)
<input type="hidden" name="dopost" value="login" />
<input type="hidden" name="keeptime" value="604800" />
<div class="fb"><span>用户名:</span>
<input type="text" name="userid" size="20" class="ipt-txt" />
</div>
<div class="fb"><span>密码:</span>
<input type="password" name="pwd" size="20" class="ipt-txt" />
</div>
<div class="fb"><span>验证码:</span>
<input type="text" name="vdcode" size="8" class="ipt-txt" />
<img src="{dede:global.cfg_cmsurl/}/include/vdimgck.php" />
</div>
<div class="submit">
<button type="submit" class="btn-1">登录</button>
<a href="{dede:global.cfg_memberurl/}/index_do.php?fmdo=user&dopost=regnew">注册帐号</a> <a href="{dede:global.cfg_memberurl/}/resetpassword.php">忘记密码?</a>
</div>
</form>
</div>
</div>
<!-- /userlogin -->
<script language="javascript" type="text/javascript">CheckLogin();</script>
<div class="latestlogin"> <strong>最近登陆的会员</strong>
<ul class="e7">
{dede:memberlist row=6 signlen=30}
<li><a href="[field:spaceurl/]" target="_blank"><img src="[field:face/]"width="52" height="52" />[field:uname/]</a></li>
{/dede:memberlist}
</ul>
</div>
<!-- /latestlogin -->
</dd>
<!-- /uc_member -->
好进行修改 首先把 <a href="#" _for="uc_member">会员</a>里的"会员"修改成"赞助商链接"或者广告一类的
然后新建一个广告 这里我就不罗嗦了 得到广告代码 {dede:myad name='uccenter'/}
用下面这个代码代替前面了红色的长长的代码
<dd id="uc_member" ">> <div align="center" ">> {dede:myad name='uccenter'/} </">> </dd">> "><!-- /uc_member -->
-----------------------------------------------------------------------------------------------------------------------------------
责任编辑:天外飘仙
踩一下[13]
顶一下[37]