%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/bitrix/www/local/php_interface/include/pdf/
Upload File :
Create Path :
Current File : /home/bitrix/www/local/php_interface/include/pdf/html.php

<?php /* @var ProfilePDFCreator $this */
$basePath = $this->isTest ? '' : ''; /* $_SERVER['DOCUMENT_ROOT'] */?>
<html lang="ru">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>Port4lio.pro PDF</title>
	<style>
		html {margin: 0; padding: 0}
		body {width: 21cm; margin: 0; padding: 0; box-sizing: border-box; font-family: "DejaVu Sans"; font-size: 10pt; line-height: 15pt; color: #666}
		a {color: #3b3559; text-decoration: none; line-height: 15pt; font-size: 10pt; }
		div {box-sizing: border-box}
		table tr {vertical-align: top}
		.header {text-align: center; background: #3b3559}
		.header img {width: 3cm; height: auto; padding: 8mm 0 3mm 0}
		.profile {width: 18cm; margin: 0.7cm 1.5cm}
		.profile img {width: 5cm; height: auto;}
		.profile table {width: 18cm}
		.contacts {margin-bottom: 2mm; width: 100%; text-align: center}
		.profile table td {text-align: center}
		.profile table.tth {width: 8cm; border-collapse: collapse}
		.profile table.tth td {text-align: left; line-height: 10pt; width: 2cm}
		.title {font-size: 14pt; text-transform: uppercase}
		a.button {border-bottom: 1px solid #3b3559; padding: 1mm 0; display: inline-block; min-width: 8cm; width: 8cm; line-height: 10pt; margin: 6mm auto}
		.porfolio {width: 18cm; margin: 0cm 1.5cm}
		.porfolio img {width: 6cm; height: auto; margin-bottom: 1mm}
	</style>
</head>
<body>
	<div class="header">
		<img src="<?=$_SERVER['DOCUMENT_ROOT']?>/local/php_interface/include/pdf/logo_retina_p4.png">
	</div>
	<div class="profile">
		<table>
			<tr>
				<td>
					<img src="<?=$basePath.$this->arFields['PROFILE_AVATAR']?>">
				</td>
				<td style="width: 100%">
					<div class="title"><?=$this->arFields['PROFILE_NAME']?></div>
					<?=$this->arFields['PROFILE_REGION']?>
					<div class="contacts">
						<?=$this->arFields['PROFILE_PHONE']?> /
						<a href="mailto:<?=$this->arFields['PROFILE_EMAIL']?>"><?=$this->arFields['PROFILE_EMAIL']?></a>
					</div>
					<table class="tth">
						<tr>
							<td rowspan="3" style="width: 3cm">&nbsp;</td>
							<td>Age</td><td><?=$this->arFields['PROFILE_AGE']?></td>
							<td>Breast</td><td><?=$this->arFields['PROFILE_BREAST']?></td>
						</tr>
						<tr>
							<td>Height</td><td><?=$this->arFields['PROFILE_HEIGHT']?></td>
							<td>Waist</td><td><?=$this->arFields['PROFILE_WAIST']?></td>
						</tr>
						<tr>
							<td>Weight</td><td><?=$this->arFields['PROFILE_WEIGHT']?></td>
							<td>Hip</td><td><?=$this->arFields['PROFILE_HIP']?></td>
						</tr>
					</table>
					<a class="button" href="http://port4lio.pro/<?=$this->arFields['FEEDBACK_URL']?>">port4lio.pro/<?=substr($this->arFields['FEEDBACK_URL'],0,strlen($this->arFields['FEEDBACK_URL'])-1)?></a>
				</td>
			</tr>
		</table>
	</div>

	<div class="porfolio">
		<table>
			<tr>
				<?foreach ($this->arFields['PROFILE_PORTFOLIO'] as $arCol):?>
					<td>
					<?foreach($arCol['ITEMS'] as $arImage):?>
						<img src="<?=$basePath.$arImage['SRC']?>"><br/>
					<?endforeach;?>
					</td>
				<?endforeach;?>
			</tr>
		</table>
	</div>

</body>
</html>

Zerion Mini Shell 1.0