Server IP : 108.163.255.210 / Your IP : 3.137.200.56 Web Server : Apache System : Linux blossom.urlnameserver.com 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64 User : ( 1172) PHP Version : 7.2.34 Disable Function : eval,escapeshellarg,proc_close,proc_get_status,proc_nice,proc_open,symlink,system,pcntl_exec,getrusage,chown,chgp,closelog,openlog,syslog,define_syslog_variables,php_ini_loaded_file,getservbyname,getservbyport,posix_getgid,posix_getgrgid,proc_terminate,pfsockopen,apache_child_terminate,posix_mkfifo,posix_setpgid,posix_setuid,hypot,pg_host,pos,posix_access,posix_getcwd,posix_getservbyname,myshellexec,getpid,posix_getsid,posix_isatty,posix_kill,posix_mknod,posix_setgid,posix_setsid,posix_setuid,posix_times,posix_uname,ps_fill,posix_getpwuid,global,ini_restore,zip_open,zip_read,rar_open,bzopen,bzread,bzwrite,apache_get_modules,apache_get_version,phpversionphpinfo,php_ini_scanned_files,get_current_user,disk_total_space,diskfreespace,leak,imap_list,hypo,filedump,safe_mode,getmygid,apache_getenv,apache_setenv,bzread,bzwrite,bzopen,phpini,higlight_file,dos_conv,get_cwd,er_log,cmd,e_name,vdir,get_dir,only_read,ftok,ftpexec,posix_getpwnam,mysql_list_dbs,disk_free_space,session_save_path,confirm_phpdoc_compiled,zip_entry_rea,php_u,psockopen,crack_opendict,crack_getlastmessage,crack_closedict,crack_check,fpassthru,posix_get_last_error,posix_getlogin,posix_getgroups,posix_strerror,posix_getrlimit,posix_getpgrp,posix_getgrnam,pos,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/unilinki/public_html/AlpaiAWS/resources/views/admin_old/ |
Upload File : |
@extends('admin.layout') @section('content') <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> {{ trans('labels.AdminProfile') }} </h1> <ol class="breadcrumb"> <li><a href="{{ URL::to('admin/dashboard/this_month')}}"><i class="fa fa-dashboard"></i> {{ trans('labels.breadcrumb_dashboard') }}</a></li> <li class="active">{{ trans('labels.AdminProfile') }} </li> </ol> </section> <!-- Main content --> <section class="content"> <div class="row"> <div class="col-md-3"> <!-- Profile Image --> <div class="box box-primary"> <div class="box-body box-profile"> <img class="profile-user-img img-responsive img-circle" src="{{asset('').auth()->guard('admin')->user()->image}}" alt="{{ auth()->guard('admin')->user()->first_name }} profile picture"> <h3 class="profile-username text-center">{{ auth()->guard('admin')->user()->first_name }} {{ auth()->guard('admin')->user()->last_name }}</h3> <p class="text-muted text-center">{{ trans('labels.Administrator') }}</p> <!-- <ul class="list-group list-group-unbordered"> <li class="list-group-item"> <b>Followers</b> <a class="pull-right">1,322</a> </li> <li class="list-group-item"> <b>Following</b> <a class="pull-right">543</a> </li> <li class="list-group-item"> <b>Friends</b> <a class="pull-right">13,287</a> </li> </ul> <a href="#" class="btn btn-primary btn-block"><b>Follow</b></a>--> </div> <!-- /.box-body --> </div> <!-- /.box --> <!-- /.box --> </div> <!-- /.col --> <div class="col-md-9"> <div class="nav-tabs-custom"> <ul class="nav nav-tabs"> <li class="active"><a href="#profile" data-toggle="tab">{{ trans('labels.Profile') }}</a></li> <li><a href="#passwordDiv" data-toggle="tab">{{ trans('labels.Password') }}</a></li> </ul> <div class="tab-content"> <div class=" active tab-pane" id="profile"> @if (count($errors) > 0) @if($errors->any()) <div class="alert alert-success alert-dismissible"> <button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button> <h4><i class="icon fa fa-check"></i> {{ trans('labels.Success') }}</h4> {{$errors->first()}} </div> @endif @endif <!-- The timeline --> {!! Form::open(array('url' =>'admin/updateProfile', 'method'=>'post', 'class' => 'form-horizontal', 'enctype'=>'multipart/form-data')) !!} {!! Form::hidden('myid', auth()->guard('admin')->user()->myid, array('class'=>'form-control', 'id'=>'myid'))!!} {!! Form::hidden('oldImage', auth()->guard('admin')->user()->image, array('class'=>'form-control', 'id'=>'oldImage'))!!} <div class="form-group"> <label for="inputName" class="col-sm-2 control-label">{{ trans('labels.AdminFirstName') }}</label> <div class="col-sm-10"> {!! Form::text('first_name', auth()->guard('admin')->user()->first_name, array('class'=>'form-control', 'id'=>'first_name'))!!} <span class="help-block" style="font-weight: normal;font-size: 11px;margin-bottom: 0;"> {{ trans('labels.AdminFirstNameText') }}</span> </div> </div> <div class="form-group"> <label for="inputEmail" class="col-sm-2 control-label">{{ trans('labels.LastName') }}</label> <div class="col-sm-10"> {!! Form::text('last_name', auth()->guard('admin')->user()->last_name, array('class'=>'form-control', 'id'=>'last_name'))!!} <span class="help-block" style="font-weight: normal;font-size: 11px;margin-bottom: 0;"> {{ trans('labels.AdminLastNameText') }}</span> </div> </div> <div class="form-group"> <label for="inputSkills" class="col-sm-2 control-label">{{ trans('labels.Picture') }} </label> <div class="col-sm-10"> {!! Form::file('newImage', array('id'=>'newImage')) !!}<br> <span class="help-block" style="font-weight: normal;font-size: 11px;margin-bottom: 0;"> {{ trans('labels.PictureText') }}</span> </div> </div> <div class="form-group"> <label for="inputName" class="col-sm-2 control-label">{{ trans('labels.Address') }} </label> <div class="col-sm-10"> {!! Form::text('address', auth()->guard('admin')->user()->address, array('class'=>'form-control', 'id'=>'address'))!!} <span class="help-block" style="font-weight: normal;font-size: 11px;margin-bottom: 0;"> {{ trans('labels.AddressText') }}</span> </div> </div> <div class="form-group"> <label for="inputExperience" class="col-sm-2 control-label">{{ trans('labels.City') }} </label> <div class="col-sm-10"> {!! Form::text('city', auth()->guard('admin')->user()->city, array('class'=>'form-control', 'id'=>'city'))!!} <span class="help-block" style="font-weight: normal;font-size: 11px;margin-bottom: 0;">{{ trans('labels.CityText') }}</span> </div> </div> <div class="form-group"> <label for="inputSkills" class="col-sm-2 control-label">{{ trans('labels.Country') }}</label> <div class="col-sm-10"> <select class="form-control" name="country" id="entry_country_id"> <option value="">{{ trans('labels.SelectCountry') }}</option> @foreach($result['countries'] as $countries) <option @if(auth()->guard('admin')->user()->country==$countries->countries_id) selected @endif value="{{ $countries->countries_id }}">{{ $countries->countries_name }}</option> @endforeach </select> <span class="help-block" style="font-weight: normal;font-size: 11px;margin-bottom: 0;">{{ trans('labels.CountryText') }}</span> </div> </div> <div class="form-group"> <label for="inputSkills" class="col-sm-2 control-label">{{ trans('labels.State') }}</label> <div class="col-sm-10"> <select class="form-control zoneContent" name="state"> <option value="">{{ trans('labels.SelectZone') }}</option> @foreach($result['zones'] as $zones) <option @if(auth()->guard('admin')->user()->state==$zones->zone_id) selected @endif value="{{ $zones->zone_id }}">{{ $zones->zone_name }}</option> @endforeach </select> <span class="help-block" style="font-weight: normal;font-size: 11px;margin-bottom: 0;">{{ trans('labels.SelectZoneText') }}</span> </div> </div> <div class="form-group"> <label for="inputExperience" class="col-sm-2 control-label">{{ trans('labels.ZipCode') }}</label> <div class="col-sm-10"> {!! Form::text('zip', auth()->guard('admin')->user()->zip, array('class'=>'form-control', 'id'=>'zip'))!!} </div> </div> <div class="form-group"> <label for="inputExperience" class="col-sm-2 control-label">{{ trans('labels.Phone') }}</label> <div class="col-sm-10"> {!! Form::text('phone', auth()->guard('admin')->user()->phone, array('class'=>'form-control', 'id'=>'phone'))!!} <span class="help-block" style="font-weight: normal;font-size: 11px;margin-bottom: 0;"> {{ trans('labels.PhoneText') }}</span> </div> </div> <div class="form-group"> <div class="col-sm-offset-2 col-sm-10"> <button type="submit" class="btn btn-success">{{ trans('labels.Update') }}</button> </div> </div> {!! Form::close() !!} </div> <!-- /.tab-pane --> <div class="tab-pane" id="passwordDiv"> {!! Form::open(array('url' =>'admin/updateAdminPassword', 'onSubmit'=>'return validatePasswordForm()', 'id'=>'updateAdminPassword', 'name'=>'updateAdminPassword' , 'method'=>'post', 'class' => 'form-horizontal', 'enctype'=>'multipart/form-data')) !!} <div class="form-group"> <label for="password" class="col-sm-2 control-label">{{ trans('labels.NewPassword') }}</label> <div class="col-sm-10"> <input type="password" class="form-control" id="password" name="password" placeholder="New Password"> <span class="help-block" style="font-weight: normal;font-size: 11px;margin-bottom: 0;">{{ trans('labels.AdminPasswordRestriction') }}</span> <span style="display: none" class="help-block"></span> </div> </div> <div class="form-group"> <label for="re-password" class="col-sm-2 control-label">{{ trans('labels.Re-EnterPassword') }}</label> <div class="col-sm-10"> <input type="password" class="form-control" id="re_password" name="re_password" placeholder="Re-Enter Password"> <span class="help-block" style="font-weight: normal;font-size: 11px;margin-bottom: 0;">{{ trans('labels.AdminPasswordRestriction') }}</span> <span style="display: none" class="help-block"></span> </div> </div> <div class="form-group"> <div class="col-sm-offset-2 col-sm-10"> <button type="submit" class="btn btn-danger">{{ trans('labels.Update') }}</button> </div> </div> </form> </div> <!-- /.tab-pane --> </div> <!-- /.tab-content --> </div> <!-- /.nav-tabs-custom --> </div> <!-- /.col --> </div> <!-- /.row --> </section> <!-- /.content --> </div> @endsection