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

	<head>
		<title>网盘管理</title>
		<meta name="description" content="">
		<meta name="keywords" content="">
		<?php
		include 'Inc_files.php';
		?>
		<link rel="stylesheet" type="text/css" href="/static/member/css/wap.1.0.0.css?v=20171117">
	</head>

	<body data-type="index">
		<script src="<?php echo C('TMPL_PARSE_STRING.__TPL__'); ?>/assets/js/theme.js"></script>
		<div class="am-g tpl-g">
			<?php include 'Inc_head.php'?>
			<!-- 侧边导航栏 -->
			<?php
				include 'Inc_left.php';
			?>
			<!-- 内容区域 -->
			<div class="tpl-content-wrapper">
				<div class="row-content am-cf">
					<div class="row">
	                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
	                        <div class="widget am-cf">
	                            <div class="widget-head am-cf">
	                                <div class="widget-title am-fl">网盘管理</div>
	                            </div>
	                            <div class="widget-body am-fr">
	                            	<?php $modval = M('member')->find(session('user_auth.id'));?>
	                                <form action="/member/mods" method="post" class="am-form tpl-form-border-form tpl-form-border-br">
	                                	<input type="hidden" name="model_id" value="27" />
	                                	<input type="hidden" name="id" value="<?php echo session('user_auth.id');?>" />
	                                    
	                                    <div class="am-form-group">
	                                        <label for="user-name" class="am-u-sm-3 am-form-label">支付客服手机 </label>
	                                        <div class="am-u-sm-9">
	                                            <input type="text" name="pay_mobile" style="width: 300px;" class="tpl-form-input" value="<?php echo $modval['pay_mobile'];?>">
	                                            <small></small>
	                                        </div>
	                                    </div>
	                                    <div class="am-form-group">
	                                        <label for="user-name" class="am-u-sm-3 am-form-label">支付客服QQ </label>
	                                        <div class="am-u-sm-9">
	                                            <input type="text" name="pay_qq" style="width: 300px;" class="tpl-form-input" value="<?php echo $modval['pay_qq'];?>">
	                                            <small></small>
	                                        </div>
	                                    </div> 
	                                    <div class="am-form-group">
	                                        <label for="user-name" class="am-u-sm-3 am-form-label">支付客服邮箱 </label>
	                                        <div class="am-u-sm-9">
	                                            <input type="text" name="pay_email" style="width: 300px;" class="tpl-form-input" value="<?php echo $modval['pay_email'];?>">
	                                            <small></small>
	                                        </div>
	                                    </div> 
	                                    <div class="am-form-group">
	                                        <label for="user-name" class="am-u-sm-3 am-form-label">网盘标题 </label>
	                                        <div class="am-u-sm-9">
	                                            <input type="text" name="wangpan_title" style="width: 300px;" class="tpl-form-input" value="<?php echo $modval['wangpan_title'];?>">
	                                            <small></small>
	                                        </div>
	                                    </div> 
	                                    
	                                    <div class="am-form-group">
	                                        <label for="user-name" class="am-u-sm-3 am-form-label">网盘背景设置 </label>
	                                        <div class="am-u-sm-9">
	                                            <input type="text" name="wangpan_background" style="width: 300px;" class="tpl-form-input" value="<?php echo $modval['wangpan_background'];?>">
	                                            <small></small>
	                                        </div>
	                                    </div>
	                                    
	                                    <div class="am-form-group">
	                                        <label for="user-name" class="am-u-sm-3 am-form-label">目录顺序 </label>
	                                        <div class="am-u-sm-9">
	                                            <select name="menu" data-am-selected="{searchBox: 0}" style="display: none;">
													<option value="1" <?php if($modval['menu']==1){echo 'selected="selected"';}?>>按时间顺序</option>
													<option value="2" <?php if($modval['menu']==2){echo 'selected="selected"';}?>>按标题顺序</option>
													<option value="3" <?php if($modval['menu']==3){echo 'selected="selected"';}?>>按目录备注顺序</option>
												</select>
	                                            <small></small>
	                                        </div>
	                                    </div>
	                                    
	                                    
	                                    <div class="am-form-group">
	                                        <label for="user-name" class="am-u-sm-3 am-form-label">首页寄语 </label>
	                                        <div class="am-u-sm-9">
	                                             <textarea name="index_jiyu" rows="10" cols="5"><?php echo $modval['index_jiyu']; ?></textarea>
	                                            <small></small>
	                                        </div>
	                                    </div>
	                                    <div class="am-form-group">
	                                        <div class="am-u-sm-9 am-u-sm-push-3">
	                                            <button type="submit" class="am-btn am-btn-primary tpl-btn-bg-color-success ">
	                                            	提交
	                                            </button>
	                                        </div>
	                                    </div>
	                                </form>
	                            </div>
	                        </div>
	                    </div>
	                </div>
				</div>
			</div>
		</div>
		<?php
		include 'Inc_files_boot.php';
		?>
		<script src="/static/home/js/pc.1.0.0.js" type="text/javascript" charset="utf-8"></script>
	</body>

</html>