📄 templateform.php
字号:
<?php
include( "inc/auth.php" );
$query = "SELECT * FROM template_file";
$cursor = exequery( $connection, $query );
echo "<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<title>模板列表选择</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<link rel='stylesheet' type='text/css' href='../test.css'>\r\n";
echo "<s";
echo "cript language=javascript>\r\n//作用:获得模板名\r\nfunction CheckValue(theForm)\r\n{\r\n var mObject = window.dialogArguments;\r\n mObject.Template=theForm.WordList.value;\r\n window.close();\r\n return;\r\n}\r\n</SCRIPT>\r\n</head>\r\n<body bgcolor=\"menu\">\r\n<form name=\"iForm\">\r\n<table border=0 cellspacing='0' cellpadding='0' width=100% height=100% align=center>\r\n<tr>\r\n<td align=center>\r\n <table border=0 cellspacing='0";
echo "' cellpadding='0'>\r\n <tr>\r\n <td align=right nowrap>模版名称:</td>\r\n <td>";
echo "<s";
echo "elect name=WordList style='width:240 px;'>\r\n\t ";
while ( $Row = mysql_fetch_array( $cursor ) )
{
echo "\t\t \r\n\t\t\t<option value='";
echo $Row['RecordID'];
echo $Row['FileType'];
echo "'>";
echo $Row['FileName'];
echo "</option>\r\n\t\t";
}
echo " </select></td>\r\n </tr>\r\n </table>\r\n</td>\r\n</tr>\r\n<tr>\r\n<td align=center>\r\n<input type=button value=\" 确定 \" onclick=\"CheckValue(iForm);\">\r\n<input type=button value=\" 取消 \" onclick=\"window.close();\"> \r\n</td>\r\n</tr>\r\n</table>\r\n</form>\r\n</body>\r\n</html>\r\n";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -