<div class="widgetContent"> <div style="vertical-align: top"> <div style="display: inline-block; background: #01ff23; width: 20px; height: 20px;"></div> - Места текужего заказа </div> <div style="vertical-align: top"> <div style="display: inline-block; background: #E31E24; width: 20px; height: 20px;"></div> - Забронированные или олаченные </div> <div class="rowSection"> <div class="col-md-9"> <label for="tag2">Списко выбранных мест</label> <input type="text" class="form-control" id="tag2" value="<?php echo $obj->seats_keys; ?> " <?php echo (Core\User::caccess() != 'edit' or $obj->status == 'success' && Core\User::info()->role_id != 2) ? 'disabled' : null; ?> /> </div> <div class="col-md-3"> <button class="btn btn-primary" style="margin-top: 30px;" id="update_seats" type="button" <?php echo ($obj->status == 'success' && Core\User::info()->role_id != 2 or $obj->created_at < time() - Core\Config::get('reserved_days') * 24 * 60 * 60 and $obj->status != 'success') ? 'disabled' : null; ?> >Сохранить изменения</button> </div> </div> <br> <br> <?php
</div> <input class="button btn-primary" style="display: inline-block;" type="submit" name="send" value="Поиск"> <a href="/backend/afisha/index" style="display: inline-block;"> <i class="fa-refresh"></i> <span class="">Сбросить</span> </a> </form> </div> </div> <div class="widget"> <div class="widgetContent"> <div class="widget"> <div class="widgetContent"> <div class="dd pageList" <?php echo Core\User::caccess() == 'edit' ? 'id="myNest"' : null; ?> > <ol class="dd-list"> <?php echo Core\View::tpl(array('result' => $result, 'tpl_folder' => $tpl_folder, 'cur' => 0), $tpl_folder . '/Menu'); ?> </ol> </div> <span id="parameters" data-table="<?php echo $tablename; ?> "></span> <input type="hidden" id="myNestJson"> <?php echo $pager;
<?php if (Core\User::caccess() == 'edit') { ?> <div class="toolbar no-padding"> <div class="btn-group"> <a title="Разослать" href="#" class="btn btn-lg text-success bs-tooltip btn-save"><i class="fa-check"></i> <span class="hidden-xx">Разослать</span></a> </div> </div> <?php } ?> <script> $('.toolbar').on('click', '.btn-save', function(e){ e.preventDefault(); $('form#myForm input[type="submit"]').click(); }); </script>
</div> <?php } ?> <h4>Цены</h4> <div> <div style="display: inline-block; background: #01ff23; width: 20px; height: 20px;"></div> - Оплаченные </div> <div> <?php if (Core\User::caccess() == 'edit') { ?> <button class="btn btn-primary" id="addPrice" <?php echo Core\User::caccess() != 'edit' ? 'disabled' : null; ?> >Добавить цену</button> <?php } ?> <button class="btn btn-info" id="tooglePrices">Скрыть/Показать цены</button> </div> <!-- <div class="col-md-8"> </div> --> <div class="prices-list" style="padding-bottom: 10px; display: none;"> </div> <div id="map_place"></div> <!-- Just template for one price row -->