<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
		<title>修改插件</title>
		<link rel="stylesheet" href="/static/web/css/font-awesome.min.css">
		<link rel="stylesheet" href="/static/web/css/bootstrap.min.css">
		<link rel="stylesheet" href="/static/web/css/admin.css">
	</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="plus_main.php">插件管理</a></li>
				<li class="breadcrumb-item active">修改插件</li>
			</ol>
			<div class="card shadow-sm">
				<div class="card-header">修改插件</div>
				<div class="card-body">
					<form name="form1" action="plus_edit.php" method="post">
						<input type="hidden" name="dopost" value="saveedit">
						<input type="hidden" name="aid" value="<?php echo $aid?>">
						<div class="table-responsive">
							<table class="table table-borderless">
								<tbody>
									<tr>
										<td width="260">插件名称</td>
										<td><input type="text" name="plusname" class="admin-input-sm" value="<?php echo $row['plusname']?>" required></td>
									</tr>
									<tr>
										<td>作者</td>
										<td><?php echo $row['writer']?></td>
									</tr>
									<tr>
										<td>菜单配置</td>
										<td><textarea name="menustring" id="menustring" class="admin-textarea-xl"><?php echo $row['menustring']?></textarea></td>
									</tr>
									<tr>
										<td>文件列表</td>
										<td><textarea name="filelist" id="filelist" class="admin-textarea-xl"><?php echo $row['filelist']?></textarea></td>
									</tr>
									<tr>
										<td colspan="2" 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>
	</body>
</html>