
<body class="fixed-left">
	<!-- Begin page -->
	<div id="wrapper">
		
        <!-- Top Bar Start -->
        <include file="Public:nav"/>
        <!-- Top Bar End -->
        		
        <!-- Left Sidebar Start -->
        <include file="Public:menu"/>
        <!-- Left Sidebar End -->

        <!-- Start right content -->
        <div class="content-page">
		<ol class="breadcrumb">
				<li><a style="curor:pointer;"  href='{:U('Index/index')}'>首页</a></li>
			<li><a href="#">{:parent_name($action_name)}</a></li>
			<li><a href="#">{:category_name($action_name)}</a></li>
			</ol>
            <div class="content">
				<!-- 列表start -->
				
			<div id="myModal" class="modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
				<div class="modal-dialog">
					<div class="modal-content">
						<div class="modal-header">
							<button type="button" class="close close_btn" data-dismiss="modal" aria-hidden="true">&times;</button>
							<h4 class="modal-title" id="myModalLabel">备注</h4>
						</div>
						<div class="modal-body">
							<textarea class="" style='width:100%' id='remark_content'></textarea>
						</div>
						<div class="modal-footer">
							<span style='float:left;color:red;' id='result'></span>
							<button type="button" class="btn btn-default close_btn" data-dismiss="modal">关闭</button>
							<button type="button" class="btn btn-primary sub_btn">保存</button>
							<input type='hidden' name='uid' id='uid'>
							<input type='hidden' name='lastcontent' id='lastcontent'>
						</div>
					</div><!-- /.modal-content -->
				</div><!-- /.modal-dialog -->
			</div><!-- /.modal -->
			<!--  Modal content for the above example -->
			
			<form class="form-horizontal" id='formdata'  method='post'>
			<div class="widget" style='padding:20px 20px;'>
					<div class="widget-content padding">
						<div class="col-sm-12">
							<div class="form-group">
								<label class="col-sm-1 control-label">小程序名称：</label>
								<div class="col-sm-3">
									<input type="text" class="form-control" id="name" readonly name='name' placeholder="小程序名称" value='{$programInfo.name}'>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-1 control-label">版本号：</label>
								<div class="col-sm-3">
									<input type="text" class="form-control" id="version" readonly name='version' placeholder="版本号" value='{$programInfo.version}'>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-1 control-label">LOGO：</label>
								<div class="col-sm-3">
									<img src='{$programInfo.logo}' width=300px height=200px>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-1 control-label">二维码图片：</label>
								<div class="col-sm-3">
									<img src='{$programInfo.qrcode}' width=200px height=200px>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-1 control-label">截图：</label>
									<if condition=" $programInfo.shotone neq '' ">
										<div class="col-sm-2">
											<img src='{$programInfo.shotone}' width=200px height=300px>
										</div>
									</if>
									<if condition=" $programInfo.shotwo neq '' ">
										<div class="col-sm-2">
											<img src='{$programInfo.shotwo}' width=200px height=300px>
										</div>
									</if>
									<if condition=" $programInfo.shothree neq '' ">
										<div class="col-sm-2">
											<img src='{$programInfo.shothree}' width=200px height=300px>
										</div>
									</if>
									<if condition=" $programInfo.shotfour neq '' ">
										<div class="col-sm-2">
											<img src='{$programInfo.shotfour}' width=200px height=300px>
										</div>
									</if>
									<if condition=" $programInfo.shotfive neq '' ">
										<div class="col-sm-2">
											<img src='{$programInfo.shotfive}' width=200px height=300px>
										</div>
									</if>
							</div>
							<div class="form-group">
								<label class="col-sm-1 control-label">简介：</label>
								<div class="col-sm-3">
									<textarea  class="form-control" id="introduct" readonly name='introduce' placeholder="简介" style="width: 800px;height: 100px">{$programInfo.introduce}</textarea>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-1 control-label">公司名称：</label>
								<div class="col-sm-3">
									<input type="text" class="form-control" id="company" readonly name='company' placeholder="公司名称" value='{$programInfo.company}'>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-1 control-label">分类：</label>
								<?php
								foreach($categoryList as $k=>$v){
								?>
									<div class="col-sm-1" style='line-height:30px;'>
										<input type="checkbox" class="form-control" name='category[]' <?php if(in_array($v['id'],$cateArr)){?>checked<?php }?> value='<?php echo $v['id'];?>'><?php echo $v['category'];?>
									</div>
								<?php }?>
							</div>
							<div class="form-group">
								<label class="col-sm-1 control-label">推荐：</label>
								<div class="col-sm-10">
									<div class="radio iradio">
										<label>
											<input type="radio" name="is_position"  value="1" <if condition="$programInfo.is_position eq 1 ">checked</if>>
											是
										</label>
										<label>
											<input type="radio" name="is_position"  value="0" <if condition="$programInfo.is_position eq 0 ">checked</if>>
											否
										</label>
									</div>

								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-1 control-label">标签：</label>
								<div class="col-sm-3" id='showlabel' style='line-height:33px;'>
									{$programInfo.label}
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-1 control-label"></label>
								<div class="col-sm-3"><input class='form-control btn-blue-2 btn-add' type="button" value='添加'></div>
								
							</div>
						</div>
						
					</div>

            
						
					
				
			</div>
			</form>
			<!-- 列表end -->
				<script>var resizefunc = [];</script>
<include file="Public:footer"/>