WP File Manager
Current Path:
/
home
/
itutorethiopia
/
public_html
/
resources
/
views
/
sendmail
/
Name
Action
..
123275
form.blade.php
Edit
index.blade.php
Edit
index.php
Edit
view.blade.php
Edit
Editing: index.blade.php
@extends('layouts.app') @section('content') @php usort($tableGrid, "SiteHelpers::_sort") @endphp <div class="page-content row"> <!-- Page header --> <div class="page-header"> <div class="page-title"> <h3> {{ $pageTitle }} <small>{{ $pageNote }}</small></h3> </div> <ul class="breadcrumb"> <li><a href="{{ URL::to('dashboard') }}"> {{ Lang::get('core.dashboard') }} </a></li> <li class="active">{{ $pageTitle }}</li> </ul> </div> <div class="page-content-wrapper m-t"> <div class="sbox animated fadeInRight"> <div class="sbox-title"> <h5> <i class="fa fa-table"></i> </h5> <div class="sbox-tools" > @if(Session::get('gid') ==1) <a href="{{ URL::to('bsetec/module/config/'.$pageModule) }}" class="btn btn-xs btn-white tips" title=" {{ Lang::get('core.btn_config') }}" ><i class="fa fa-cog"></i></a> @endif </div> </div> <div class="sbox-content"> {!! Form::open(array('url'=>'sendmail/delete/', 'class'=>'form-horizontal' ,'id' =>'bsetecTable' )) !!} <div class="table-responsive" style="min-height:300px;"> <table class="table table-striped "> <thead> <tr> <th class="number"> {{ Lang::get('core.no') }} </th> <th> <input type="checkbox" class="checkall" /></th> @foreach ($tableGrid as $t) @if($t['view'] =='1') <th>{{ $t['label'] }}</th> @endif @endforeach <th width="70" >{{ Lang::get('core.btn_action') }}</th> </tr> </thead> <tbody> <tr id="bsetec-quick-search" > <td class="number"> # </td> <td> </td> @foreach ($tableGrid as $t) @if($t['view'] =='1') <td> {!! SiteHelpers::transForm($t['field'] , $tableForm) !!} </td> @endif @endforeach <td > <input type="hidden" value="Search"> <button type="button" class=" do-quick-search btn btn-xs btn-info"> {{ Lang::get('core.GO') }}</button></td> </tr> @foreach ($rowData as $row) <tr> <td width="30"> {{ ++$i }} </td> <td width="50"><input type="checkbox" class="ids" name="id[]" value="{{ $row->id }}" /> </td> @foreach ($tableGrid as $field) @php ($fieldname =$field['field']) @if($field['view'] =='1') <td> @if($field['attribute']['image']['active'] =='1') {!! SiteHelpers::showUploadedFile($row->$fieldname,$field['attribute']['image']['path']) !!} @else @php ( $conn = (isset($field['conn']) ? $field['conn'] : array() ) ) @if($fieldname=='group_name') @if(empty($row->$fieldname)) {!! SiteHelpers::gridDisplay('user',$fieldname,$conn) !!} @else {!! SiteHelpers::gridDisplay($row->$fieldname,$field['field'],$conn) !!} @endif @else {!! SiteHelpers::gridDisplay($row->$fieldname,$field['field'],$conn) !!} @endif @endif </td> @endif @endforeach </tr> @endforeach </tbody> </table> <input type="hidden" name="md" value="" /> </div> {!! Form::close() !!} @include('footer') </div> </div> </div> </div> <script> $(document).ready(function(){ $('.do-quick-search').click(function(){ $('#bsetecTable').attr('action','{{ URL::to("sendmail/multisearch")}}'); $('#bsetecTable').submit(); }); }); </script> @stop