<!DOCTYPE html>
<html><head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
	<meta charset="utf-8">
	<title>GCMS后台管理</title>
	<meta http-equiv="X-UA-Compatible" content="chrome=1">
	<link rel="stylesheet" href="__PUBLIC__/Css/admincss.css" type="text/css">
	</head><body>
		<section class="hbox stretch">
			{template /Admin/Index/navli.html}
			<section id="content">
				<section class="vbox">
					{template /Admin/Index/header.html}
					<section class="scrollable bg-light lter">
						<section id="docs">
							<div class="clearfix padder">
								
								
<section class="panel">
	<header class="panel-heading">
		<nav class="m-crumb m-crumb-arr">
		<ul class="f-cb">
			<li><a href="#">GCMS</a></li>
			<li><a href="#">网站设置</a></li>
			<li>单页管理</li>
    </ul>
    </nav>
  </header>
</section>
	
<section class="panel">
	<header class="panel-heading">◆ 单页管理</header>
	<div class="panel-body">
   <div class="grid doc">
   	{loop $pagedata $pagelist}
            <div class="col-1-5">
                <div class="mg-10"><pre style=" text-align:center; margin-left:auto; margin-right:auto;"><b><a href="{echo U('Index/Index/page',array('id'=>$pagelist['id'],'s'=>$pagelist['oname']))}" target="_blank">{$pagelist['title']}</a></b><br />[<a href="{echo U('Index/Index/onepage',array('id'=>$pagelist['id'],'s'=>$pagelist['oname']))}" target="_blank">{$pagelist['oname']}</a>]<br />[<a href="{echo U('Admin/Index/editpage',array('id'=>$pagelist['id']))}">编辑</a>] [<a href="javascript:DoEmpty('{$pagelist['id']}');">删除</a>]</pre></div>
            </div>
   {/loop}
            <div class="col-1-5">
                <div class="mg-10"><pre style=" text-align:center; margin-left:auto; margin-right:auto;">----<br /><b><a href="{echo U('Admin/Index/addpage')}">添加</a></b><br />----</pre></div>
            </div>
        </div>
    
</div> 
	
	
	</section>

<script language=JavaScript>
<!--
function DoEmpty(params)
{
if (confirm("真的要删除吗？！"))
window.location = "{echo U('Admin/Index/delpage',array('id'=>''))}" + params ;
}
//-->
</script>
</div></section></section></section></section></section></body></html>