<check if="{{@GET.receipt==1}}">
	<div id="cd_logo" class="cd_logo_y_{{@base_settings.cd_logo_y}} cd_logo_x_{{@base_settings.cd_logo_x}}">
		<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>
<script type="text/javascript">
var cd_time_advs_src={{@base_settings.cd_time_advs_src*1000}};
</script>