| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- <?php include 'admin_header.php'; ?>
- <div class="content-wrapper">
- <section class="content-header">
- <h1>
- <?=lang::_('Boarding')?>
- <small><?=lang::_('Boarding')?></small>
- </h1>
- <ol class="breadcrumb">
- <li><a href="/admin"><i class="fa fa-gears"></i> <?=lang::_('Admin')?></a></li>
- <li class="active"><?=lang::_('Boarding manager')?></li>
- </ol>
- </section>
-
- <section class="content">
- <div class="box box-info">
- <div class="box-header with-border">
- <h3 class="box-title"><?=lang::_('List of info')?></h3>
- </div>
- <div class="box-body">
- <div class="row"><div class="col-lg-12" style="overflow-x: auto;">
- <table class="table table-bordered table-hover dataTable table-striped data-list">
- <thead>
- <tr>
- <th><?=lang::_('Name')?></th>
- <th><?=lang::_('Date of create')?></th>
- <th> </th>
- </tr>
- </thead>
- <tbody>
- <?php foreach ($boxes as $page) : ?>
- <tr>
- <td><?=$page->box_title?></td>
- <td><?=$page->box_date?></td>
- <td>
- <button type="button" onclick="window.location='/admin/boarding/show/?id=<?=$page->box_id?>';" class="btn btn-flat btn-xs btn-warning"><i class="fa fa-pencil"></i></button>
- </td>
- </tr>
- <?php endforeach; ?>
- </tbody>
- <tfoot>
- <tr>
- <th><?=lang::_('Name')?></th>
- <th><?=lang::_('Date of create')?></th>
- <th> </th>
- </tr>
- </tfoot>
- </table>
- </div></div>
- </div>
- </div>
-
- <div class="callout callout-success<?php if (!$error) echo ' message-hide';?>">
- <button type="button" class="close" onclick="javascript: $(this).parent('div').fadeOut('fast');">×</button>
- <h4><i class="fa fa-check"></i> <?=lang::_('Yep, successfully saved!')?></h4>
- <p><?=lang::_('The given informations stored in database')?></p>
- </div>
-
- <div id="editor"></div>
- <form role="form" id="slideEditor" action="/admin/boarding/save/" method="post" enctype="multipart/form-data">
- <input type="hidden" name="MAX_FILE_SIZE" value="9000000000" />
- <input type="hidden" name="box_id" value="<?=$active->box_id?>" />
- <div class="box box-info">
- <div class="box-header with-border">
- <h3 class="box-title"><?=lang::_('Slideshow editor')?></h3>
- <div class="box-tools pull-right">
- <button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
- </div>
- </div>
- <div class="box-body">
- <div class="row">
- <div class="col-lg-12">
- <div class="nav-tabs-custom">
- <ul class="nav nav-tabs">
- <li class="active"><a href="#eng" data-toggle="tab" onclick="javascript: $('.tab-pane').removeClass('active'); var hash = $(this).attr('href'); $(hash).addClass('active');">English</a></li>
- <!--<li><a href="#eng" data-toggle="tab" onclick="javascript: $('.tab-pane').removeClass('active'); var hash = $(this).attr('href'); $(hash).addClass('active');">English</a></li>-->
- <!-- <li><a href="#deu" data-toggle="tab">Deutsch</a></li>-->
- </ul>
- </div>
- <div class="tab-content">
- <div class="tab-pane active" id="hun">
- <div class="form-group">
- <label for="box_slug"><?=lang::_('Address')?>: </label>
- <input type="text" name="box_slug" value="<?=$active->box_slug?>" class="form-control" id="box_slug" data-validate="true" />
- </div>
- <div class="form-group">
- <label for="box_title"><?=lang::_('Meeting time')?>: </label>
- <textarea name="box_title" class="form-control" id="box_title" data-validate="true"><?=$active->box_title?></textarea>
- </div>
- <div class="form-group">
- <label for="box_title_en"><?=lang::_('Departure Time')?>: </label>
- <textarea name="box_title_en" class="form-control" id="box_title_en" data-validate="true"><?=$active->box_title_en?></textarea>
- </div>
- <div class="form-group">
- <label for="box_subtitle"><?=lang::_('Check in')?>: </label>
- <input type="text" name="box_subtitle" value="<?=$active->box_subtitle?>" class="form-control" id="box_subtitle" data-validate="true" />
- </div>
- <div class="form-group">
- <label for="box_subtitle_en"><?=lang::_('Boarding')?>: </label>
- <input type="text" name="box_subtitle_en" value="<?=$active->box_subtitle_en?>" class="form-control" id="box_subtitle_en" data-validate="true" />
- </div>
- <div class="form-group">
- <label for="box_button_text"><?=lang::_('Late policy')?>: </label>
- <input type="text" name="box_button_text" value="<?=$active->box_button_text?>" class="form-control" id="box_button_text" data-validate="true" />
- </div>
- <div class="form-group">
- <label for="box_button_text_en"><?=lang::_('Footer line #1')?>: </label>
- <input type="text" name="box_button_text_en" value="<?=$active->box_button_text_en?>" class="form-control" id="box_button_text_en" data-validate="true" />
- </div>
- <div class="form-group">
- <label for="box_url"><?=lang::_('Footer line #2')?>: </label>
- <input type="text" name="box_url" value="<?=$active->box_url?>" class="form-control" id="box_url" data-validate="true" />
- </div>
- <div class="form-group">
- <label for="box_banner"><?=lang::_('GoogleMaps embed code')?>: </label>
- <textarea name="box_banner" class="form-control" id="box_banner"><?=$active->box_banner?></textarea>
- </div>
- </div>
- </div>
-
- </div>
- </div>
- <div class="row">
- <div class="col-lg-12">
- <button type="submit" class="btn btn-success"><?=lang::_('Save');?></button>
- </div>
- </div>
- </div>
- </div>
- </form>
- </section>
- </div>
- <?php include 'admin_footer.php'; ?>
|