<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
		<title><?php echo $diy->name;?></title>
		<link rel="stylesheet" href="/static/web/css/admin.css">
		<script src="/static/web/js/webajax.js"></script>
		<script src="/static/web/js/admin.main.js"></script>
	</head>
	<body>
		<div class="container-fluid">
			<ol class="breadcrumb">
				<li class="breadcrumb-item"><a href="index_body.php">后台面板</a></li>
				<li class="breadcrumb-item"><a href="diy_main.php">自定义表单管理</a></li>
				<li class="breadcrumb-item active"><?php echo $diy->name;?></li>
			</ol>
			<div class="card shadow-sm">
				<div class="card-header"><?php echo $diy->name;?></div>
				<div class="card-body">
					<form name="form1" action="diy_list.php" method="post">
						<input type="hidden" name="action" value="post">
						<input type="hidden" name="diyid" value="<?php echo $diyid;?>">
						<input type="hidden" name="do" value="2">
						<div class="table-responsive">
							<table class="table table-borderless">
								<tbody>
									<tr>
										<td><?phpecho $postform;?></td>
									</tr>
									<tr>
										<td align="center">
											<button type="submit" class="btn btn-success btn-sm">保存</button>
											<button type="reset" class="btn btn-outline-success btn-sm">重置</button>
										</td>
									</tr>
								</tbody>
							</table>
						</div>
					</form>
				</div>
			</div>
		</div>
		<script>
			function SelectTemplets(fname) {
				var pos = GetWinPos(800,600);
				window.open("dialog/select_templets.php?f="+fname, "poptempWin", "scrollbars=yes,resizable=yes,statebar=no,width=800,height=600,left="+pos.left+", top="+pos.top);
			}
		</script>
	</body>
</html>