JEMBOT MAWOT Bypass Shell
{*
*
* Sell Tickets module for Prestashop by Avellana Digital
*
* @author Avellana Digital SL
* @copyright Copyright (c) 2019 Avellana Digital - www.avellanadigital.com
* @license Commercial license
* @version 4.0.0
*}
{assign var=black_color value="#000000"}
{assign var=white_color value="#FFFFFF"}
{assign var=grey_color value="#e6e6e6"}
{assign var=font_size_text value="9pt"}
{assign var=font_size_big value="11pt"}
<style>
table, th, td {
margin: 0!important;
padding: 0!important;
vertical-align: middle;
font-size: {$font_size_text};
white-space: nowrap;
}
.justify {
text-align: justify;
}
.left {
text-align: left;
}
.right {
text-align: right;
}
.center {
text-align: center;
}
.bold {
font-weight: bold;
}
.small, table.small th, table.small td {
font-size: small;
}
.boxfeatured {
background-color: {$black_color};
color: {$white_color};
}
.boxnormal {
background-color: {$grey_color};
color: {$black_color};
}
.ticketname {
color: #000;
font-weight: bold;
padding: 10px;
font-size: {$font_size_big};
}
</style>
{for $x=1 to $ticket_qty}
<table border="0" width="100%" cellpadding="3">
<tbody>
<tr>
<td colspan="2" class="ticketname">{$ticket_name}</td>
</tr>
<tr>
<td width="50%" valign="top">
<table border="0" width="100%" cellpadding="3" cellspacing="5">
<tbody>
<tr>
<td class="boxfeatured" width="50%">{l s='Reference:' mod='selltickets'}<br/><strong class="small">{$customer_info[$x].ticket_reference}</strong></td>
<td class="boxnormal" width="50%">{l s='Ticket n.' mod='selltickets'}<br/><strong>{"%d"|sprintf:$x} / {$ticket_qty}</strong></td>
</tr>
{if $ticket_seats}
<tr>
<td class="boxnormal" width="100%" colspan="2">{l s='Seat(s):' mod='selltickets'}<br/>
{if isset($customer_info[$x].seat)}
{foreach from=$customer_info[$x].seat item=seat key=id_tickets_seat name=seatsinfo}
<strong>{$seat}</strong> {*<small>({$customer_info[$x].nameseatmap[$id_tickets_seat]})</small>*}{if !$smarty.foreach.seatsinfo.last}<br/>{/if}
{/foreach}
{/if}
</td>
</tr>
{/if}
{if $ticket_nominal}
<tr>
<td class="boxnormal" width="100%" colspan="2">{l s='Customer:' mod='selltickets'}<br/><strong class="small">{$customer_info[$x].name}<br/><span class="small">{$customer_info[$x].phone}</span></strong></td>
</tr>
{/if}
{if $ticket_date || $ticket_hour}
<tr>
{if $ticket_date}<td class="boxnormal" {if $ticket_hour}width="50%"{else}width="100%" colspan="2"{/if}>{l s='Date:' mod='selltickets'}<br/><strong style="">{$ticket_date}</strong></td>{/if}
{if $ticket_hour}<td class="boxnormal" {if $ticket_date}width="50%"{else}width="100%" colspan="2"{/if}>{l s='Time:' mod='selltickets'}<br/><strong style="">{$ticket_hour}</strong></td>{/if}
</tr>
{/if}
<tr>
<td width="100%;" colspan="2">
<img src="{$img_array_bar.$x}" alt=""/>
</td>
</tr>
<tr>
<td width="50%" class="center"><img src="{$img_prod}" alt="" style="max-width:100%"/></td>
<td width="50%" class="center"><img src="{$img_array_qr.$x}" alt=""/></td>
</tr>
{if $location || $venue || $lat || $long }
<tr>
<td class="boxnormal" width="100%" colspan="2">{l s='Location:' mod='selltickets'}</td>
</tr>
<tr>
<td width="100%" class="small left" colspan="2">
{if $venue}<strong>{$venue}</strong><br/>{/if}
{if $location}{$location}<br/>{/if}
{if $key_gmaps}{if $lat && $long}<p class="center"><img src="http://maps.googleapis.com/maps/api/staticmap?center={$lat},{$long}&zoom=16&size=600x200&maptype=roadmap&markers=color:red%7C{$lat},{$long}&sensor=false&key={$key_gmaps}"/></p>{/if}{/if}
</td>
</tr>
{/if}
</tbody>
</table>
</td>
{if $short_description || $description}
<td valign="top">
<table border="0" width="100%" cellpadding="3" cellspacing="5">
<tbody>
<tr>
<td class="boxnormal" width="100%">{l s='Description:' mod='selltickets'}</td>
</tr>
<tr>
<td>
{if $short_description}<p class="justify">{$short_description nofilter}</p>{/if}
{if $description}<p class="justify">{$description nofilter}</p>{/if}
</td>
</tr>
</tbody>
</table>
</td>
{/if}
</tr>
{if $conditions}
<tr>
<td colspan="2">
<table border="0" width="100%" cellpadding="3" cellspacing="5">
<tbody>
<tr>
<td class="boxnormal" width="100%">{l s='Details:' mod='selltickets'}</td>
</tr>
<tr>
<td>
<p class="left small">{$conditions}</p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
{/if}
</tbody>
</table>
{if $x < $ticket_qty}<br pagebreak="true"/>{/if}
{/for}
xxxxx1.0, XXX xxxx