一个关于其他非ZC页面登录的问题

用于收藏精华贴子、网友共享的资料等。可以回复,不能发新贴。

版主: daimadaquan

版面规则
本版面不能发新贴,可以回复

一个关于其他非ZC页面登录的问题

帖子playingx » 2006-06-25 16:02

小弟最近在做一个ZC和销售系统整合的网站,首页非ZC页面的。
现在想在首页弄一个登录区域,登录后进入ZC页面无须再登陆,
请各位高手帮下忙,小弟研究了好久都没有参透其中的方法。
playingx
新手上路
新手上路
 
帖子: 7
注册: 2006-06-06 16:01

Re: 一个关于其他非ZC页面登录的问题

帖子playingx » 2006-06-27 16:03

哈哈,自己解决了
playingx
新手上路
新手上路
 
帖子: 7
注册: 2006-06-06 16:01

Re: 一个关于其他非ZC页面登录的问题

帖子Jack » 2006-06-28 21:28

能不能说说你的方法?
头像
Jack
论坛版主
论坛版主
 
帖子: 11665
注册: 2004-12-16 10:04

Re: 一个关于其他非ZC页面登录的问题

帖子playingx » 2006-06-29 14:52

我放表格代码上来大家看看
<form name="login" action="../zencart/index.php?main_page=login&action=process" method="post"><tr>
<td style="padding-left:60"><input type="text" name="email_address" size="15" maxlength="40"></td>
</tr>
<tr>
<td height="49" style="padding-left:60; padding-top:20"><input type="password" name="password" size="15" maxlength="40"></td>
</tr>
<tr>
<td style="padding-left:60"><input type="image" src="images/shop_enter.jpg" border="0" width="101" height="25" alt=""></td>
</tr>
</form>
我把zencart放在zencart目录,根目录是销售平台的主页面,里面最让我头疼的是字符串index.php?main_page=login&action=process我是找了好久才找到,要不然早就解决了,5555555
playingx
新手上路
新手上路
 
帖子: 7
注册: 2006-06-06 16:01

Re: 一个关于其他非ZC页面登录的问题

帖子Jack » 2006-06-30 1:04

谢谢分享!
头像
Jack
论坛版主
论坛版主
 
帖子: 11665
注册: 2004-12-16 10:04

Re: 一个关于其他非ZC页面登录的问题

帖子wei3692 » 2010-08-10 22:22

谢谢!
wei3692
中级会员
中级会员
 
帖子: 57
注册: 2010-04-18 10:25

Re: 一个关于其他非ZC页面登录的问题

帖子kira » 2010-09-03 11:48

学习收藏一下
头像
kira
VIP会员
VIP会员
 
帖子: 1202
注册: 2010-03-06 11:38
地址: Q群: 110470320, 欢迎被 电 "伤" 着了的同学进来鬼混,妹纸免审优先,发广告的一边儿玩儿去, 博客:http://zcbk.org/
QQ 帐号: 6171718

Re: 一个关于其他非ZC页面登录的问题

帖子xiao_min » 2011-06-02 8:06

我是直接把zencart里的copy过来,可以用的

<fieldset class="indexlogin" style="width:454px; height:138px; margin-left:32px;">
<legend>Se connecter</legend>
<form id="loginForm" method="post" action="/login.html?action=process" name="login"><label for="login-email-address" class="inputLabel">Adresse E-mail :</label>
<input type="text" id="login-email-address" size="40" value="" name="email_address"><br class="clearBoth">

<label for="login-password" class="inputLabel">Mot de Passe :</label>
<input type="password" id="login-password" size="40" value="" name="password"><input type="hidden" value="" name="securityToken"><br class="clearBoth"><br />
<a href="/create_account.html">Cr茅ation de Compte</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="/password_forgotten.html">Vous avez perdu votre mot de passe ?</a><br />
<input type="image" title=" ouvrir un compte " alt="ouvrir un compte" src="includes/templates/你的模板/buttons/french/button_login.gif" style="float:right;">
</form>
</fieldset>
头像
xiao_min
VIP会员
VIP会员
 
帖子: 339
注册: 2010-06-08 11:17


回到 精华共享

在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客