<?php $this->extend('block_searchable'); ?> <?php $this->block('content'); ?> <?php if ($this->noTicket): ?> <div class="box icon_left"> {{icon::fe:error:circle left error}} <div> <?= $this->noTicket ?> </div> </div> <?php else: ?> <?php if ($this->messages): ?> <div class="box messages"> <?= $this->messages ?> </div> <?php endif; ?> <div class="eq cf"> <div class="details"> <div class="box"> <h2><?= $this->titleDetails ?></h2> <ul> <li><span class="label"><?= $this->lblTitle ?>:</span><?= $this->ticketTitle ?></li> <li><span class="label"><?= $this->lblStock ?>:</span><span class="highlight<?php if ($this->invalid): ?> invalid<?php endif; ?>"><?= $this->ticketStock ?></span></li> <li><span class="label"><?= $this->lblPrice ?>:</span><?= $this->ticketPrice ?> €</li> <li><span class="label"><?= $this->lblActiveFrom ?>:</span><?= $this->activeFrom ?></li> <li><span class="label"><?= $this->lblActiveTo ?>:</span><?= $this->activeTo ?></li> <li><span class="label"><?= $this->lblSellTo ?>:</span><?= $this->sellTo ?></li> <li><span class="label"><?= $this->lblShortDesc ?>:</span><?= $this->ticketShortDesc ?></li> </ul> </div> </div> <div class="deduct"> <div class="box"> <h2><?= $this->titleSell ?></h2> <?php if ($this->invalid): ?> <?= $this->invalidStatus ?> <?php else: ?> <form id="form_oxTitleDetails_<?= $this->id ?>"<?php if ($this->action): ?> action="<?= $this->action ?>"<?php endif; ?> method="post"> <div class="formbody"> <input type="hidden" name="FORM_SUBMIT" value="eSM_oxTicket_details"> <input type="hidden" name="REQUEST_TOKEN" value="{{request_token}}"> <input type="hidden" name="OXID" value="<?= $this->ticketOxid ?>"> <div class="widget widget-text w20"> <label for="ticket_sellamount_<?= $this->id ?>"><?= $this->valueLabel ?></label> <input type="number" name="ticket_sellamount" id="ticket_sellamount_<?= $this->id ?>" min="1" step="1" max="<?= $this->ticketStock ?>" value="0"/> </div> <div class="submit_container widget lblp button_block"> <button type="submit" class="submit"><?= $this->submitLabel ?></button> </div> </div> </form> <?php endif; ?> </div> </div> </div> <?php endif; ?> <?php $this->endblock(); ?>