<form name="loginform" action="do.php?ac=<?=$_SCONFIG['login_action']?>&<?=$url_plus?>&ref" method="post">
<p><label for="username">用户名</label> <input type="text" name="username" id="username" class="t_input" value="<?=$membername?>" /></p>
<p><label for="password">密 码</label> <input type="password" name="password" id="password" class="t_input" value="<?=$password?>" /></p>
<p class="checkrow"><input type="checkbox" id="cookietime" name="cookietime" value="315360000" <?=$cookiecheck?> style="margin-bottom: -2px;" /><label for="cookietime">下次自动登录</label><a href="do.php?ac=lostpasswd">忘记密码?</a></p>
<p class="submitrow">
<input type="hidden" name="refer" value="space.php?do=home" /><input type=image img src="file:///C|/Documents and Settings/Administrator/桌面/wangyuechaun/a85.jpg" width="70" height="36" align=absMiddle border=0 name="submit" onclick="this.form1.submit()> <a href="../home/do.php?ac=hello"><img src="file:///C|/Documents and Settings/Administrator/桌面/wangyuechaun/a86.jpg" width="70" height="36" /></a><input type="hidden" name="formhash" value="<?php echo formhash(); ?>" />
</p>
</form>
<p><label for="username">用户名</label> <input type="text" name="username" id="username" class="t_input" value="<?=$membername?>" /></p>
<p><label for="password">密 码</label> <input type="password" name="password" id="password" class="t_input" value="<?=$password?>" /></p>
<p class="checkrow"><input type="checkbox" id="cookietime" name="cookietime" value="315360000" <?=$cookiecheck?> style="margin-bottom: -2px;" /><label for="cookietime">下次自动登录</label><a href="do.php?ac=lostpasswd">忘记密码?</a></p>
<p class="submitrow">
<input type="hidden" name="refer" value="space.php?do=home" /><input type=image img src="file:///C|/Documents and Settings/Administrator/桌面/wangyuechaun/a85.jpg" width="70" height="36" align=absMiddle border=0 name="submit" onclick="this.form1.submit()> <a href="../home/do.php?ac=hello"><img src="file:///C|/Documents and Settings/Administrator/桌面/wangyuechaun/a86.jpg" width="70" height="36" /></a><input type="hidden" name="formhash" value="<?php echo formhash(); ?>" />
</p>
</form>
想用图片代替submit按钮的话,可以用get提交,不过用户名密码的话 用get不太安全
你的form名字不是form1吧
form name="loginform" ......
《1》. 写了图片按钮之后 还要写 submit button?
《2》二楼是什么意思 我改改。
《3》四楼一针见血 我改!