| Server IP : 103.161.17.216 / Your IP : 216.73.216.1 Web Server : nginx/1.18.0 System : Linux tipsysaigoncharming 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 7.4.3-4ubuntu2.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/tipsysaigon.vn/storage/framework/views/ |
Upload File : |
<?php $__env->startSection('admin_content'); ?>
<div class="table-agile-info">
<div class="panel panel-default">
<div class="panel-heading">
Liệt kê thương hiệu
<a class="btn btn-success" href="<?php echo e(URL::to('/add-brand-product')); ?>"> Thêm thương hiệu</a>
</div>
<div class="row w3-res-tb">
<div class="col-sm-5 m-b-xs">
<select class="input-sm form-control w-sm inline v-middle">
<option value="0">Bulk action</option>
<option value="1">Delete selected</option>
<option value="2">Bulk edit</option>
<option value="3">Export</option>
</select>
<button class="btn btn-sm btn-default">Apply</button>
</div>
<div class="col-sm-4">
</div>
<div class="col-sm-3">
<div class="input-group">
<input type="text" class="input-sm form-control" placeholder="Search">
<span class="input-group-btn">
<button class="btn btn-sm btn-default" type="button">Go!</button>
</span>
</div>
</div>
</div>
<div class="table-responsive">
<?php
$message = Session::get('message');if ($message) {
echo '<span class="text-alert">',$message,'</span>';
Session::put('message',null);
// code...
}
?>
<table class="table table-striped b-t b-light">
<thead>
<tr>
<th style="width:20px;">
<label class="i-checks m-b-none">
<input type="checkbox"><i></i>
</label>
</th>
<th>Tên danh mục</th>
<th>Hình ảnh</th>
<th>Hiển thị </th>
<th style="width:30px;"></th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $all_brand_product; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $brand_pro): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><label class="i-checks m-b-none"><input type="checkbox" name="post[]"><i></i></label></td>
<td><?php echo e($brand_pro -> brand_name); ?></td>
<td><img src="public/uploads/product/<?php echo e($brand_pro -> brand_image); ?>" height="150" with="150"></td>
<td><span class="text-ellipsis">
<?php
if($brand_pro ->brand_status==0){
?>
<a href="<?php echo e(URL::to('/unactive-brand-product/'.$brand_pro->brand_id)); ?>"> <span class="fa-thumb-styling fa fa-thumbs-down"> </span></a>
<?php
}
else {
?>
<a href="<?php echo e(URL::to('/active-brand-product/'.$brand_pro->brand_id)); ?>"> <span class="fa-thumb-styling fa fa-thumbs-up"> </span></a>
<?php
}
?>
</span></td>
<td>
<a href="<?php echo e(URL::to('/edit-brand-product/'.$brand_pro->brand_id)); ?>" class="active styling edit" ui-toggle-class=""><i class="fa fa-pencil-square-o"></i></a>
<a onclick="return confirm('bạn có chắc muốn xóa không?')" href="<?php echo e(URL::to('/delete-brand-product/'.$brand_pro->brand_id)); ?>" class="active" ui-toggle-class=""> <i class="fa fa-times text-danger text"></i></a>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
<footer class="panel-footer">
<div class="row">
<div class="col-sm-5 text-center">
<small class="text-muted inline m-t-sm m-b-sm">showing 20-30 of 50 items</small>
</div>
<div class="col-sm-7 text-right text-center-xs">
<ul class="pagination pagination-sm m-t-none m-b-none">
<li><a href=""><i class="fa fa-chevron-left"></i></a></li>
<li><a href="">1</a></li>
<li><a href="">2</a></li>
<li><a href="">3</a></li>
<li><a href="">4</a></li>
<li><a href=""><i class="fa fa-chevron-right"></i></a></li>
</ul>
</div>
</div>
</footer>
</div>
</div>
</section>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin_layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/tipsysaigon.vn/resources/views/admin/brand/all_brand_product.blade.php ENDPATH**/ ?>