/
var
/
www
/
vhosts
/
ihelp.ro
/
httpdocs
/
templates
/
Admin
/
Sponsors
/
/var/www/vhosts/ihelp.ro/httpdocs/templates/Admin/Sponsors
mkdir
upload
Name
Size
Mode
Actions
add.php
1335
0644
edit
dl
rm
edit.php
1571
0644
edit
dl
rm
index.php
2546
0644
edit
dl
rm
view.php
4150
0644
edit
dl
rm
Edit:
/var/www/vhosts/ihelp.ro/httpdocs/templates/Admin/Sponsors/edit.php
(1571B)
<!-- Content Header (Page header) --> <section class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-lg-12"> <h1 class="float-left"><?php echo $sponsor->name; ?><small> <?php echo __('Edit'); ?></small></h1> <ol class="breadcrumb float-right"> <li class="breadcrumb-item active" aria-current="page"> <a class="" href="<?php echo $this->Url->build(['action' => 'index']); ?>"><i class="fas fa-home"></i> <?php echo __('Home'); ?></a></li> </ol> </div> </div> </div><!-- /.container-fluid --> </section> <!-- Main content --> <section class="content"> <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <div class="card"> <?php echo $this->Form->create($sponsor, ['role' => 'form', 'enctype' => 'multipart/form-data']); ?> <div class="card-body"> <?php echo $this->Form->control('name', ['disabled' => 'disabled']); echo $this->Form->control('description', ['type' => 'textarea']); echo $this->Form->control('image', ['type' => 'file', 'class' => 'sponsor-img']); ?> <?php echo $this->Html->image($sponsor->image, ['alt' => 'Sponsor Image', 'width' => '100', 'height' => '60', 'class' => 'mb-3', 'id' => 'imagePreview']); ?> <?php echo $this->Form->submit(__('Submit')); ?> <?php echo $this->Form->end(); ?> </div> </div> </div> </div> </div> <!-- /.row --> </section>
Save
cmd:
run