<!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 $picdata $piclist}
            <div class="col-1-5">
                <div class="mg-10"><p style="display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;word-break:break-all;word-wrap:break-word;color:#333333;background-color:#f5f5f5;border:1px solid #cccccc;border-radius:4px;text-align:center; margin-left:auto; margin-right:auto;">
                <a href="{echo U('Admin/Pic/pics',array('classid'=>$piclist['id']))}"><img src="{$piclist['url']}" style="height:120px;" /></a>
                <br /><b><a href="{echo U('Admin/Pic/pics',array('classid'=>$piclist['id']))}">{$piclist['title']}[{$piclist['seo']}]</a> </b><br />[<a href="{echo U('Admin/Pic/addpics',array('classid'=>$piclist['id']))}">添加</a>][<a href="{echo U('Admin/Pic/editpic',array('id'=>$piclist['id']))}">编辑</a>][<a href="javascript:DoEmpty('{$piclist['id']}');">删除</a>]</p></div>
            </div>
   {/loop}

        </div>
    
</div> 
	
	</section>

<script language=JavaScript>
<!--
function DoEmpty(params)
{
if (confirm("真的要删除吗？！将删除图集所属所有的图片且无法恢复！"))
window.location = "{echo U('Admin/Pic/delpic',array('id'=>''))}" + params ;
}
//-->
</script>
</div></section></section></section></section></section></body></html>