可以修改数据表,为用户添加权限字段,那么会员功能就实现了。
论坛模块要先分析需求,再详细设计,最后编码得到你想要的模式。
其实我现在跟你讲也是白讲,我们这一行的,外行人听上去跟没听一样,总之要做出来必须花钱让专人帮你设计才行。
会员登陆模块的话可以这样 <SPAN style=": crimson">首页 <head></head>之间加上</SPAN> <H6 class=quote><A onclick="CopyCode(document.getElementById('code1'))" href="javascript:">=#2f5fa1>Copy code</A></H6><BLOCKQUOTE id=code1><script language="JavaScript" src="/include/dedeajax2.js"></script><script language="javascript" type="text/javascript"><!-- function cleartext(e) { e.value='' e.focus() } function CheckLogin(){ var taget_obj = document.getElementById('_loginform') myajax = new DedeAjax(taget_obj,false,false, www.086kj.com ,"","") myajax.SendGet("/member/loginsta.php") }//--></script></BLOCKQUOTE><SPAN style=": crimson">首页登陆代码:</SPAN><H6 class=quote><A onclick="CopyCode(document.getElementById('code2'))" href="javascript:">=#2f5fa1>Copy code</A></H6><BLOCKQUOTE id=code2><span id="_loginform" style="float:left"> <form name='form1' method='POST' action='/member/index_do.php'> <input type="hidden" name="fmdo" value="login" /> <input type="hidden" name="dopost" value="login" /> <input type="hidden" name="gourl" value="" /> 用户名: <input name="userid" type="text" id="userid" style="width:60pxheight:14pxborder:1px solid #000" /> 密码: <input type="password" name="pwd" style="width:60pxheight:14pxborder:1px solid #000" /> 验证码: <input name="vdcode" type="text" id="vdcode" style="width:36pxheight:14pxborder:1px solid #000" /> <img name="vdcode" src="/include/validateimg.php" width="42" height="18" align="absmiddle" /> <input name="imageField" type="image" src="/templets/img/loginbt.gif" width="42" height="18" border="0" align="absmiddle" /> <a href="/member/index_do.php?fmdo=user&dopost=regnew" target="_blank">注册</a> </form> </span> <script language="JavaScript">CheckLogin()</script></BLOCKQUOTE>。欢迎分享,转载请注明来源:内存溢出
评论列表(0条)