@extends('admin.layout') @section('header') @endsection @section('content')
@if(isset($errors) && !$errors->isEmpty())
@foreach($errors->keys() as $key) {{ $errors->first($key) }} @endforeach
@endif
图片管理
全选图片
@if($status != 'search') {!! widget('Tools.ImgUpload')->upload('上传', '/images','upload_files', ['position'=>'local','class' => $a_class->class, 'url' => U('Base/Photos/index', ['class' => Request::get('class')?:1])]) !!} @endif
编辑
@if($status != 'search')
移动
@endif
裁剪
{{--
下载
--}}
删除图片
@if($a_class->class != '未分类' && $status != 'search')
删除分类
@endif
添加分类
@foreach($photos as $photo) @if($loop->index % 6 == 0)
@endif
{{ $photo->name }}
@if($loop->index % 6 == 5)
@endif @endforeach
{!! $photos->setPath('')->appends(Request::all())->render() !!}
@endsection @section('footer') @endsection