<!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;?>-<?php echo $cfg_webname;?></title>
		<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/bootstrap.min.css">
		<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/font/css/font-awesome.min.css">
		<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css">
		<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script>
		<script src="<?php echo $cfg_cmsurl;?>/static/web/js/diy.js"></script>
	</head>
	<body>
		<?php pasterTempletDiy('top.htm');?>
		<main class="container py-3">
			<div class="row">
				<div class="col-md-12">
					<h4 class="mb-3"><?php echo $diy->name;?>发布</h4>
					<form name="addcontent" action="<?php echo $cfg_cmspath;?>/apps/diy.php" enctype="multipart/form-data" 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">
						<table cellpadding="0" cellspacing="1" class="table">
							<?php echo $postform;?>
						</table>
						<div class="text-center">
							<button type="submit" name="submit" class="btn btn-success">提交</button>
							<button type="reset" name="reset" class="btn btn-outline-success">重置</button>
						</div>
					</form>
				</div>
			</div>
		</main>
		<?php pasterTempletDiy('foot.htm');?>
	</body>
</html>