dedecms 5.7实现首页会员横向登录,织梦技术
导读:织梦技术织梦技术关健在红色部份 加在模板文件里的 head.htm里面 headlink href="{dede:global.cfg_templets_skin/}/styl织梦模板修改织梦模板免费。
关健在红色部份加在模板文件里的 head.htm里面
<head> <link href="{dede:global.cfg_templets_skin/}/style/dedecms.css" rel="stylesheet" media="screen" type="text/css" /> <script language="javascript" type="text/javascript" src="{dede:global.cfg_cmsurl/}/include/dedeajax2.js"></script> <script language="javascript" type="text/javascript" src="{dede:global.cfg_cmspath/}/images/js/j.js" ></script> <script language="javascript" type="text/javascript" src="{dede:global.cfg_templets_skin/}/js/pic_scroll.js"></script> <script language="javascript" type="text/javascript"> <!-- $(function(){ $("a[_for]").mouseover(function(){ $(this).parents().children("a[_for]").removeClass("thisclass").parents().children("dd").hide(); $(this).addClass("thisclass").blur(); $("#"+$(this).attr("_for")).show(); }); $("a[_for=uc_member]").mouseover(); $("a[_for=flink_1]").mouseover(); }); function CheckLogin(){ var taget_obj = dodede后台模板cument.getElementById('_userlogin'); myajax = new DedeAjax(taget_obj,false,false,'','',''); myajax.SendGet2("{dede:global.cfg_cmspath/}/member/ajax_loginsta.php"); DedeXHTTP = null; } --> </script> </head> <div class="header_top"> <div class="w960 center"> <span id="time" class="time"> <div id="_userlogin"> <form name="userlogin" action="{dede:global.cfg_memberurl/}/index_do.php" method="POST"> <input type="hidden" name="fmdo" value="login" /> <input type="hidden" name="dopost" value="login" /> <input type="hidden" name="keeptime" value="604800" /> <input type="hidden" name="gourl" value="" /> 用户名: <input name="userid" type="text" id="userid" style="width:60px;height:12px;border:1px solid #000" /> 密码: <input type="password" name="pwd" style="width:60px;height:12px;border:1px solid #000" /> {dede:php} if(preg_match("/2/",$safe_gdopen)){ echo '验证码: <input type="text" name="vdcode" style="width:40px;height:12px;border:1px solid #000" /> <img id="vdimgck" align="absmiddle" onClick="this.src=this.src+\'?\'" style="cursor:pointer;margin-left:0px;text-transform:uppercase;" src="'.$cfg_cmspath.'/include/vdimgck.php"width="42" height="18" align="absmiddle" />'; } {/dede:php} &l织梦后台模板t;input name="imageField" type="image" src="/templets/default/images/loginbt.gif" width="45" height="19" border="0" align="absmiddle" /> <a href="/member/resetpassword.php">忘记密码?</a><a href="/member/index_do.php?fmdo=user&dopost=regnew"></a> <a href="/member/index_do.php?fmdo=user&dopost=regnew">注册帐号</a> </form> </div> <script language="javascript" type="text/javascript">CheckLogin();</script>声明: 本文由我的SEOUC技术文章主页发布于:2023-07-21 ,文章dedecms 5.7实现首页会员横向登录,织梦技术主要讲述首页,横向,织梦网站建设源码以及服务器配置搭建相关技术文章。转载请保留链接: https://www.seouc.com/article/web_33204.html