📄 select_modle.php
字号:
<?
$fp=fopen("../list.txt","r");
$i=1;
while ($buffer = fgets($fp, 4096)) {
$array[$i]=trim($buffer);
$i++;
}
$total=$i;
fclose($fp);
?>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<form name="form1" method="post" action="">
<table width="772" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td bgcolor="#0099FF">
<table width="772" border="0" cellpadding="0" cellspacing="1">
<tr bgcolor="#FFFFFF">
<td width="16%" height="19">序号</td>
<td width="45%" height="19">模版名称</td>
<td width="39%" height="19">选择</td>
</tr>
<?for($i=1;$i<=$total;$i++){?>
<tr bgcolor="#FFFFFF">
<td height="20" width="16%">
<?echo $i;?>
</td>
<td height="20" width="45%"><a href=../template/<?echo rawurlencode($array[$i]).".php";?> > <?echo $array[$i];?>
</a> </td>
<td height="20" width="39%"><a href=select_modle_done.php?column=<?echo $id;?>&id=<?echo $array[$i];?> >
选择
</a></td>
</tr>
<?}?>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -