WP File Manager
Current Path:
/
home
/
itutorethiopia
/
public_html
/
resources
/
views
/
core
/
users
/
Name
Action
..
blast.blade.php
Edit
form.blade.php
Edit
index.blade.php
Edit
upload.blade.php
Edit
view.blade.php
Edit
Editing: view.blade.php
@extends('layouts.app') @section('content') <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><a href="{{ URL::to('core/users?return='.$return) }}">{{ $pageTitle }}</a></li> <li class="active"> {{ Lang::get('core.detail') }} </li> </ul> </div> <div class="page-content-wrapper"> <div class="toolbar-line"> <a href="{{ URL::to('core/users?return='.$return) }}" class="tips btn btn-xs btn-default" title="{{ Lang::get('core.btn_back') }}"><i class="fa fa-arrow-circle-left"></i> {{ Lang::get('core.btn_back') }}</a> @if($access['is_add'] ==1) <a href="{{ URL::to('core/users/update/'.$id.'?return='.$return) }}" class="tips btn btn-xs btn-primary" title="{{ Lang::get('core.btn_edit') }}"><i class="fa fa-edit"></i> {{ Lang::get('core.btn_edit') }}</a> @endif </div> <div class="sbox animated fadeInRight"> <div class="sbox-title"> <h4> <i class="fa fa-table"></i> <?php echo $pageTitle ;?> <small>{{ $pageNote }}</small></h4></div> <div class="sbox-content"> <?php if ($row->category_id != '') { // exit; $user_cat = explode(',', $row->category_id); // echo "<pre>"; // print_r($user_cat); // exit; $user_cat_name = ''; foreach ($user_cat as $key => $value) { $user_cat_details = \DB::table('categories') ->select('id','name') ->where('id',$value) ->get(); $user_cat_name .= $user_cat_details[0]->name.', '; } $user_cat_name = rtrim($user_cat_name, ', '); } ?> <table class="table table-striped table-bordered" > <tbody> <tr> <td width='30%' class='label-view text-right'>{{ Lang::get('core.avatar') }}</td> <td>{!! SiteHelpers::customavatar($row->email,$row->id,'small') !!}</td> </tr> @php( $prefix = \bsetecHelpers::getdbprefix()) <tr> <td width='30%' class='label-view text-right'>{{ Lang::get('core.group') }}</td> <td>{{ $row->group_id }} </td> </tr> <tr> <td width='30%' class='label-view text-right'>{{ Lang::get('core.Username') }} </td> <td>{{ $row->username }} </td> </tr> <tr> <td width='30%' class='label-view text-right'>{{ Lang::get('core.firstname') }} </td> <td>{{ $row->first_name }} </td> </tr> <tr> <td width='30%' class='label-view text-right'> {{ Lang::get('core.lastname') }} </td> <td>{{ $row->last_name }} </td> </tr> <tr> <td width='30%' class='label-view text-right'> {{ Lang::get('core.dob') }} </td> <td>{{ $row->dob }} </td> </tr> <tr> <td width='30%' class='label-view text-right'> {{ Lang::get('core.email') }} </td> <td>{{ $row->email }} </td> </tr> <tr> <td width='30%' class='label-view text-right'> {{ Lang::get('core.phone') }} </td> <td>{{ $row->phone }} </td> </tr> <tr> <td width='30%' class='label-view text-right'> {{ Lang::get('core.Categories') }} </td> <td>{{ $user_cat_name }} </td> </tr> <tr> <td width='30%' class='label-view text-right'>{{ Lang::get('core.Created At') }}</td> <td>{{ $row->created_at }} </td> </tr> <tr> <td width='30%' class='label-view text-right'>{{ Lang::get('core.lastlogin') }}</td> <td>{{ $row->last_login }} </td> <!-- <?php // if($row->id==2) { // echo $row->last_login;exit; } ?> --> </tr> <tr> <td width='30%' class='label-view text-right'>{{ Lang::get('core.Updated At') }}</td> <td>{{ $row->updated_at }} </td> </tr> <tr> <td width='30%' class='label-view text-right'>Status</td> @if($row->active == 1) <td><span class="label label-success"> {!! "Active" !!} </span></td> @else <td><span class="label label-danger">{!! "Inactive" !!} </span></td> @endif </tr> </tbody> </table> </div> </div> @if(count($instructor)) <div class="sbox animated fadeInRight"> <div class="sbox-title"> <h4> <i class="fa fa-table"></i>{{ Lang::get('core.instructor_info') }} <small>{{ Lang::get('core.instructor_desc') }}</small></h4></div> <div class="sbox-content"> <table class="table table-striped table-bordered" > <tbody> <tr> <td width='30%' class='label-view text-right'>Headline</td> <td>{{$instructor->headline}}</td> </tr> <tr> <td width='30%' class='label-view text-right'>Biography</td> <td>{{ strip_tags($instructor->biography) }}</td> </tr> <tr> <td width='30%' class='label-view text-right'>Billing address</td> <td>{{ strip_tags($instructor->b_address) }}</td> </tr> <tr> <td width='30%' class='label-view text-right'>Billing city</td> <td>{{$instructor->b_city}}</td> </tr> <tr> <td width='30%' class='label-view text-right'>Billing Country</td> <td>{{$instructor->b_country}}</td> </tr> <tr> <td width='30%' class='label-view text-right'>Billing phone</td> <td>{{$instructor->b_phone}}</td> </tr> <tr> <td width='30%' class='label-view text-right'>Billing zip</td> <td>{{$instructor->b_zip}}</td> </tr> <tr> <td width='30%' class='label-view text-right'>Paypal Email</td> <td>{{$instructor->p_email}}</td> </tr> <tr> <td width='30%' class='label-view text-right'>Paypal Address</td> <td>{{ strip_tags($instructor->p_address)}}</td> </tr> <tr> <td width='30%' class='label-view text-right'>Paypal City</td> <td>{{$instructor->p_city}}</td> </tr> <tr> <td width='30%' class='label-view text-right'>Paypal zip</td> <td>{{$instructor->p_zip}}</td> </tr> <tr> <td width='30%' class='label-view text-right'>Paypal Country</td> <td>{{$instructor->p_country}}</td> </tr> </tbody> </table> </div> </div> @endif </div> </div> @stop