Browse code

Initial commit

Benjamin Roth authored on07/09/2015 15:02:25
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,63 @@
1
+<?php $this->extend('block_searchable'); ?>
2
+
3
+<?php $this->block('content'); ?>
4
+
5
+<?php if ($this->noTicket): ?>
6
+<div class="box icon_left">
7
+	{{icon::fe:error:circle left error}}
8
+	<div>
9
+		<?= $this->noTicket ?>
10
+	</div>
11
+</div>
12
+<?php else: ?>
13
+<?php if ($this->messages): ?>
14
+<div class="box messages">
15
+	<?= $this->messages ?>
16
+</div>
17
+<?php endif; ?>
18
+<div class="eq cf">
19
+	<div class="details">
20
+		<div class="box">
21
+			<h2><?= $this->titleDetails ?></h2>
22
+			<ul>
23
+				<li><span class="label"><?= $this->lblTitle ?>:</span><?= $this->ticketTitle ?></li>
24
+				<li><span class="label"><?= $this->lblStock ?>:</span><span class="highlight<?php if ($this->invalid): ?> invalid<?php endif; ?>"><?= $this->ticketStock ?></span></li>
25
+				<li><span class="label"><?= $this->lblPrice ?>:</span><?= $this->ticketPrice ?> &euro;</li>
26
+				<li><span class="label"><?= $this->lblActiveFrom ?>:</span><?= $this->activeFrom ?></li>
27
+				<li><span class="label"><?= $this->lblActiveTo ?>:</span><?= $this->activeTo ?></li>
28
+				<li><span class="label"><?= $this->lblSellTo ?>:</span><?= $this->sellTo ?></li>
29
+				<li><span class="label"><?= $this->lblShortDesc ?>:</span><?= $this->ticketShortDesc ?></li>
30
+			</ul>
31
+		</div>
32
+	</div>
33
+
34
+	<div class="deduct">
35
+		<div class="box">
36
+			<h2><?= $this->titleSell ?></h2>
37
+			<?php if ($this->invalid): ?>
38
+				<?= $this->invalidStatus ?>
39
+			<?php else: ?>
40
+			<form id="form_oxTitleDetails_<?= $this->id ?>"<?php if ($this->action): ?> action="<?= $this->action ?>"<?php endif; ?> method="post">
41
+				<div class="formbody">
42
+					<input type="hidden" name="FORM_SUBMIT" value="eSM_oxTicket_details">
43
+					<input type="hidden" name="REQUEST_TOKEN" value="{{request_token}}">
44
+					<input type="hidden" name="OXID" value="<?= $this->ticketOxid ?>">
45
+
46
+					<div class="widget widget-text w20">
47
+						<label for="ticket_sellamount_<?= $this->id ?>"><?= $this->valueLabel ?></label>
48
+						<input type="number" name="ticket_sellamount" id="ticket_sellamount_<?= $this->id ?>" min="1" step="1" max="<?= $this->ticketStock ?>" value="0"/>
49
+					</div>
50
+
51
+					<div class="submit_container widget lblp button_block">
52
+						<button type="submit" class="submit"><?= $this->submitLabel ?></button>
53
+					</div>
54
+				</div>
55
+			</form>
56
+			<?php endif; ?>
57
+		</div>
58
+	</div>
59
+</div>
60
+
61
+<?php endif; ?>
62
+
63
+<?php $this->endblock(); ?>