<check if="{{@GET.receipt==1}}">
	<div id="cd_logo">
		<img src="/ui/css/img/logo.svg">
	</div>
<div id="cd_receipt" {{!@GET.adv?'style="width: 100%;"':''}}>
	<div id="receiptlines_cd" href="{{@URI}}">
		<div class="receiptlines_html">
			<check if="{{file_exists(@ROOT.'/ui/receiptlines_html.htm')}}">
				<include href="receiptlines_html.htm" />
			</check>
		</div>
	</div>
</div>
</check>
<check if="{{@GET.adv==1}}">
<div id="cd_advs" {{!@GET.receipt?'style="width: 100%;"':''}}>
	<div id="advs_cd" href="{{@URI}}">
		<div class="reload">
			<ul id="advs_list" style="display: none;">
				<repeat group="{{@advs}}" key="{{@n}}" value="{{@a}}">
				<li class="adv_{{@n}}">{{@a}}</li>
				</repeat>
			</ul>
		</div>
	</div>
</div>
</check>
<div id="qr_html"></div>