⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 login.html

📁 c语言cgi 用cgic写session源代码
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>登录</title><style type="text/css"><!--.style1 {	color: #FFFFFF;	font-weight: bold;}.style2 {font-size: 12px}--></style><script language="javascript" type="text/javascript">function fnOnSubmit(theForm) {	if (theForm.elements['username'].value == '' ||		theForm.elements['password'].value == '') {		alert('必须输入用户名和密码才能登录。');		theForm.elements['username'].focus();		return false;	}	return true;}</script></head><body><form action="led.cgi" method="post" name="form1" id="form1" onsubmit="return fnOnSubmit(this);"><p>&nbsp;</p><table width="420" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#999999"><tr><td><table width="100%" cellpadding="5" cellspacing="1" bgcolor="#FFFFCC"><tr><td colspan="2" bgcolor="#333399"><span class="style1">登录</span></td></tr><tr><td>&nbsp;</td><td>{%ERROR_MESSAGE%}</td></tr><tr><td><span class="style2">用户名:</span></td><td><input name="username" type="text" id="username" style="width: 160px" value="{%USERNAME%}" /></td></tr><tr><td><span class="style2">密 码:</span></td><td><input name="password" type="password" id="password"  style="width: 160px" /></td></tr><tr><td>&nbsp;</td><td>&nbsp;</td></tr><tr><td colspan="2"><input type="submit" name="Submit" value=" 登 录 " />&nbsp;&nbsp;&nbsp;<input type="submit" name="Submit2" value="关闭窗口" onclick="window.close();" /></td></tr></table></td></tr></table></form></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -