<?php if (!defined('ROOT')) exit; ?>
<!DOCTYPE html>
<html>

	<head>
		<?php include 'Inc_files.php';?>
		<link rel="stylesheet" type="text/css" href="/static/Member/css/style.css" />
		<link rel="stylesheet" type="text/css" href="/static/Member/css/index.css" />
	</head>

	<body>
		<?php include 'Inc_header.php';?>
		<dl class="container" id="content">
			<dd class="row clearfix">
				<?php include 'Inc_menu.php';?>
				<div class="col-sm-10 col-md-10 column">
					<div id="right">
						<div class="title">
							<span>文件添加</span>
							<!--<input type="text" class="fr" name="search" id="search" />-->
						</div>
						<form class="form-horizontal" method="post" role="form" action="<?php echo U('V/add') ;?>">
							<input type="hidden" name="model_id" id="model_id" value="34" />
							<input type="hidden" name="ctime" id="ctime" value="<?php echo time();?>" />
							<input type="hidden" name="uid" id="uid" value="<?php echo session('user_auth.id')?>" />
							<input type="hidden" name="nickname" id="nickname" value="<?php echo session('user_auth.nickname')?>" />
							<div class="form-group">
								<label class="col-sm-2 control-label">文件名</label>
								<div class="col-sm-4">
									<input type="text" name="name" class="form-control" />
									<p class="help-block">
										请输入文件名
									</p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">下载价格</label>
								<div class="col-sm-4">
									<input type="text" name="price" class="form-control" />
									<p class="help-block">
										请输入价格，若不收费，即为0
									</p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">下载地址</label>
								<div class="col-sm-4">
									<input type="text" name="url" class="form-control" />
									<p class="help-block">
										请输入下载地址
									</p>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">备注</label>
								<div class="col-sm-4">
									<textarea class="form-control" rows="3"></textarea>
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-offset-2 col-sm-10">
									<button type="submit" class="btn btn-primary">添加</button> 
								</div>
							</div>
						</form>
					</div>
				</div>
			</dd>
		</dl>

	</body>

</html>