<!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">
            <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 #3F4042;border-radius:4px;text-align:center; margin-left:auto; margin-right:auto;">
                <a href="{echo U('Admin/Pic/pic',array('id'=>$picdata['0']['id']))}"><img src="{$picdata['0']['url']}" style="height:120px;" /></a>
                <br /><b><a href="{echo U('Admin/Pic/pic',array('id'=>$picdata['0']['id']))}">{$picdata['0']['title']}[{$picdata['0']['seo']}]</a> </b><br />[<a href="{echo U('Admin/Pic/editpic',array('id'=>$picdata['0']['id']))}">编辑图集封面</a>]</p></div>
            </div>

   	{loop $picsdata $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/editpics',array('id'=>$piclist['id']))}"><img src="{$piclist['url']}" style="height:120px;" /></a>
                <br /><b><a href="{echo U('Admin/Pic/editpics',array('id'=>$piclist['id']))}">{$piclist['title']}[{$piclist['seo']}]</a> </b><br />[<a href="{echo U('Admin/Pic/editpics',array('id'=>$piclist['id']))}">编辑</a>][<a href="javascript:DoEmpty('{$piclist['id']}');">删除</a>]</p></div>
            </div>
   {/loop}
   <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/addpics',array('classid'=>$picdata['0']['id']))}"><img src="__PUBLIC__/css/images/add.png" style="height:120px;" /></a>
                <br /><b>ADDPIC</b><br />[<a href="{echo U('Admin/Pic/addpics',array('classid'=>$picdata['0']['id']))}">添加图片</a>]</p></div>
            </div>
        </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>