📄 reg.php
字号:
<html>
<head>
<title> 注册</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="/theme/1/style.css">
<script Language="JavaScript">
function CheckForm()
{
if(document.form1.REGISTER_CODE.value=="")
{ alert("注册码不能为空!");
return (false);
}
return (true);
}
function copy_code()
{
textRange = document.form1.MACHINE_CODE.createTextRange();
textRange.execCommand("Copy");
}
function paste_code()
{
textRange = document.form1.REGISTER_CODE.createTextRange();
textRange.execCommand("paste");
}
</script>
</head>
<body class="bodycolor" topmargin="5" onload="document.form1.REGISTER_CODE.focus();">
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
<tr>
<td class="Big"><span class="big3"> 注册</span><br>
</td>
</tr>
</table>
<br>
<div align="center" class="big1">
<b>
<form action="reg_submit.php" method="post" name="form1" onsubmit="return CheckForm();">
机器码:<input type="text" name="MACHINE_CODE" size="20" class="BigStatic" value="b618efce" readonly>
<input type="button" value="复制" class="BigButton" onclick="copy_code()">
<br><br>
注册码:<input type="text" name="REGISTER_CODE" size="20" class="BigInput">
<input type="button" value="粘贴" class="BigButton" onclick="paste_code()">
<br><br>
<input type="submit" value="注册" class="BigButton">
</form>
</font>
</b>
</div>
<br><br>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -