Файл: application/views/dragndrop/backend/gmapslist/list.php
Строк: 76
<div id="page-wrapper">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header"><i class="fa fa-map-marker" ></i> <?php echo lang('maps') ?></h1>
</div>
<!-- /.col-lg-12 -->
</div>
<!-- /.row -->
<div class="row">
<div class="col-md-12 col-lg-12">
<div class="table-responsive">
<div id="toolbar">
<button class="btn btn-danger" id="remove-data" data-method="remove" ><i class="fa fa-trash"></i> <?php echo lang('delete'); ?></button>
</div>
<table id="allmaps_dataTable" class="table" data-toolbar="#toolbar" data-show-export="true" data-locale="<?php echo $lang ?>" >
<thead>
<tr>
<th data-field="chk" data-checkbox="true"></th>
<th data-field="username" data-align="center" data-sortable="true" data-width="15%"><?php echo lang('admin_table_username'); ?></th>
<th data-field="markers_name" data-align="left" data-sortable="true" data-width="25%"><?php echo lang('admin_table_markers_name'); ?></th>
<th data-field="markers_address" data-align="left" data-sortable="true" ><?php echo lang('admin_table_markers_address'); ?></th>
<th data-field="edit" data-sortable="false" data-formatter="editFormatter" data-width="7%"><?php echo lang('admin_table_edit'); ?></th>
</tr>
</thead>
</table>
<!-- /.table -->
</div>
<!-- /.table-responsive -->
</div>
<!-- /.col-md-12 .col-lg-12 -->
</div>
<!-- /.row -->
</div>
<!-- /#wrapper -->
<?php foreach ($allmarkers as $result): ?>
<div class="modal fade" id="del_<?php echo $result['markers_id'] ?>" tabindex="-1" role="dialog" aria-labelledby="delete" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title custom_align" id="Heading"> <?php echo lang('admin_modal_maps_calendar'); ?></h4>
</div>
<?php echo form_open('admin/maplist/del/'.$result['markers_id'], array('id' => 'form_del'.$result['markers_id'], 'name' => 'form_del'.$result['markers_id'], 'role' => 'form' )); ?>
<div class="modal-body">
<input name="markers_id" id="markers_id" value="<?php echo $result['markers_id'] ?>" type="hidden" >
<div class="alert alert-warning">
<i class="fa fa-exclamation-triangle btn-lg"></i> <?php echo lang('admin_modal_maps_calendar'); ?>
<?php if(empty($result['markers_address'])) : ?>
<b><?php echo $result['markers_name'] ?></b>?
<?php else : ?>
<b><?php echo $result['markers_address'] ?></b>?
<?php endif ?>
</div>
</div>
<div class="modal-footer ">
<button type="submit" name="submitDelete" class="btn btn-danger" ><i class="fa fa-trash"></i> <?php echo lang('yes'); ?></button>
<button type="button" class="btn btn-warning" data-dismiss="modal" aria-hidden="true" ><i class="fa fa-remove"></i> <?php echo lang('no'); ?></button>
</div>
<?php echo form_close(); ?>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<?php endforeach ?>