JEMBOT MAWOT Bypass Shell

Current Path : /home/cinepatreb/billetterie/modules/selltickets/views/templates/front/pdf/
Upload File :
Current File : /home/cinepatreb/billetterie/modules/selltickets/views/templates/front/pdf/ticket.tpl

{*
 *
 * 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
*}

{for $x=1 to $ticket_qty}
<table border="0" width="100%" cellpadding="3">
	<tbody>
		<tr>
			<td colspan="2" style="color:#000;font-weight:bold;padding:10px;font-size:30px">{$ticket_name|escape:'htmlall':'UTF-8'} {*}({convertPrice price=$ticket_price|escape:'htmlall':'UTF-8'}){*}</td>
		</tr>
		<tr>
			<td width="50%" valign="top">
			
				<table border="0" width="100%" cellpadding="3" cellspacing="5">
					<tbody>
						<tr>
							<td style="background-color:#000;color:#FFF;font-size:24px;" width="50%">{l s='Reference:' mod='selltickets'}<br/><strong style="font-size:22px;">{*$order_reference|escape:'htmlall':'UTF-8'}{$order_id|escape:'htmlall':'UTF-8'}{$id_product|escape:'htmlall':'UTF-8'}{$id_product_attribute|escape:'htmlall':'UTF-8'}{"%02d"|sprintf:$x*}
							 {$customer_info[$x].ticket_reference|escape:'htmlall':'UTF-8'}
							</strong></td>
							<td style="background-color:#e6e6e6;color:#000;font-size:24px;" width="50%">{l s='Ticket n.' mod='selltickets'}<br/><strong style="font-size:26px;font-weight:bold">{"%d"|sprintf:$x} / {$ticket_qty|escape:'htmlall':'UTF-8'}</strong></td>
						</tr>
						{if $ticket_seats}
						<tr>
							<td width="100%" colspan="2" style="background-color:#e6e6e6;color:#000;font-size:24px;">{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 style="font-size:22px;">{$seat|escape:'htmlall':'UTF-8'}</strong> {*<small>({$customer_info[$x].nameseatmap[$id_tickets_seat]|escape:'htmlall':'UTF-8'})</small>*}{if !$smarty.foreach.seatsinfo.last}<br/>{/if} 
								{/foreach}
								{/if}
							</td>
						</tr>
						{/if}
						{if $ticket_nominal}
						<tr>
							<td style="background-color:#e6e6e6;color:#000;font-size:24px;" width="100%" colspan="2">{l s='Customer:' mod='selltickets'}<br/><strong style="font-size:22px;">{$customer_info[$x].name|escape:'htmlall':'UTF-8'}<br/><span style="font-size:20px;">{$customer_info[$x].phone|escape:'htmlall':'UTF-8'}</span></strong></td>
						</tr>
						{/if}
						{if $ticket_date || $ticket_hour}										
						<tr>
							{if $ticket_date}<td style="background-color:#e6e6e6;color:#000;font-size:24px;" {if $ticket_hour}width="50%"{else}width="100%" colspan="2"{/if}>{l s='Date:' mod='selltickets'}<br/><strong style="font-size:22px;">{$ticket_date|escape:'htmlall':'UTF-8'}</strong></td>{/if}
							{if $ticket_hour}<td style="background-color:#e6e6e6;color:#000;font-size:24px;" {if $ticket_date}width="50%"{else}width="100%" colspan="2"{/if}>{l s='Time:' mod='selltickets'}<br/><strong style="font-size:22px;">{$ticket_hour|escape:'htmlall':'UTF-8'}</strong></td>{/if}
						</tr>
						{/if}
						<tr>
							<td width="100%;" colspan="2">
								<img src="{$img_array_bar.$x|escape:'htmlall':'UTF-8'}" alt=""/>
							</td>
						</tr>
						<tr>
							<td width="50%" style="text-align:center"><img src="{$img_prod|escape:'htmlall':'UTF-8'}" alt="" style="max-width:100%"/></td>
							<td width="50%" style="text-align:center"><img src="{$img_array_qr.$x|escape:'htmlall':'UTF-8'}" alt=""/></td>
						</tr>	
						{if $location || $venue || $lat || $long }					
						<tr>
							<td style="background-color:#e6e6e6;color:#000;font-size:24px;" width="100%" colspan="2">{l s='Location:' mod='selltickets'}</td>
						</tr>
						<tr>
							<td width="100%" style="text-align:left;font-size:22px;" colspan="2">
								{if $venue}<strong>{$venue|escape:'htmlall':'UTF-8'}</strong><br/>{/if}
								{if $location}{$location|escape:'htmlall':'UTF-8'}<br/>{/if}
								{if $key_gmaps}{if $lat && $long}<p style="text-align:center;"><img src="http://maps.googleapis.com/maps/api/staticmap?center={$lat|escape:'htmlall':'UTF-8'},{$long|escape:'htmlall':'UTF-8'}&zoom=16&size=600x200&maptype=roadmap&markers=color:red%7C{$lat|escape:'htmlall':'UTF-8'},{$long|escape:'htmlall':'UTF-8'}&sensor=false&key={$key_gmaps|escape:'htmlall':'UTF-8'}"/></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 style="background-color:#e6e6e6;color:#000;font-size:24px;" width="100%">{l s='Description:' mod='selltickets'}</td>
						</tr>				
						<tr>
							<td>
								{if $short_description}<p style="text-align:justify;font-size:20px;">{$short_description|escape:'html':'UTF-8'|htmlspecialchars_decode:3}</p>{/if}
								{if $description}<p style="text-align:justify;font-size:20px;">{$description|escape:'html':'UTF-8'|htmlspecialchars_decode:3}</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 style="background-color:#e6e6e6;color:#000;font-size:24px;" width="100%">{l s='Details:' mod='selltickets'}</td>
						</tr>				
						<tr>
							<td style="font-size:22px;">
								<p style="text-align:left">{$conditions|escape:'htmlall':'UTF-8'}</p>
							</td>
						</tr>
					</tbody>
				</table>					
			</td>
		</tr>
		{/if}
	</tbody>
</table>
{if $x < $ticket_qty}<br pagebreak="true"/>{/if}
{/for}

xxxxx1.0, XXX xxxx