<?php
	require_once(dirname(dirname(dirname(__FILE__))) . '/config.php');
	CheckTourSession(true);
	checkFullACL(AclCompetition,'cPrintouts', AclReadWrite);

	$PAGE_TITLE=get_text('Sign/guide-board','Tournament');
	include('Common/Templates/head.php');
?>
<style>input,textarea {box-sizing:border-box;}textarea{height:300px}</style>
<form name="frm" method="post" action="PDFSign.php" target="PrintOut">
	<table class="Tabella">
		<tr><th colspan="2" class="Title"><?php print get_text('Sign/guide-board','Tournament'); ?></th></tr>
		<tr>
			<th class="TitleLeft" style="width:15%;"><?php print get_text('Row-1','Tournament'); ?></th>
			<td><input type="text" name="First" value="" style="width:100%"></td>
		</tr>
		<tr>
			<th class="TitleLeft" style="width:15%;"><?php print get_text('Row-2','Tournament'); ?>*</th>
			<td><input type="text" name="Second" value="" style="width:100%"><div><?= get_text('QrCodeLandscape','Help') ?></div></td>
		</tr>
		<tr>
			<th class="TitleLeft" style="width:15%;"><?php print get_text('QR-Code','Tournament'); ?></th>
			<td><input type="text" name="QRCode" value="" style="width:100%"></td>
		</tr>
		<tr><td class="Center" colspan="2"><input type="submit" name="PrintSign" value="<?php print get_text('Print', 'Tournament'); ?>"></td></tr>
		<tr><th colspan="2" class="Title"><?php print get_text('Document','Tournament'); ?></th></tr>
		<tr>
			<th class="TitleLeft" style="width:15%;"><?php print get_text('Title','Tournament'); ?></th>
			<td><input type="text" name="Title" value="" style="width:100%"></td>
		</tr>
		<tr>
			<th class="TitleLeft" style="width:15%;"><?php print get_text('Subject','Tournament'); ?></th>
			<td><input type="text" name="Subject" value="" style="width:100%"></td>
		</tr>
		<tr>
			<th class="TitleLeft" style="width:15%;"><?php print get_text('Text','Tournament'); ?></th>
			<td><textarea name="Body" style="width:100%"></textarea><div><?= get_text('QrCodePortrait','Help') ?></div></td>
		</tr>
		<tr><td class="Center" colspan="2"><input type="submit" name="PrintDocument" value="<?php print get_text('Print', 'Tournament'); ?>"></td></tr>
	</table>
</form>
<?php
	include('Common/Templates/tail.php');
?>