

<?php
	include_once($_SERVER['DOCUMENT_ROOT'].'/_ps2020/_global/dir_root.php');

	empty($img_src) ? $img_src=dir_root.'images/pic03.jpg' : $img_src;
	empty($img_ic) ?  : $img_src='';
?>

<div id="<?php echo($id); ?>" class="animated fadeInUp ctm-boxOuter_25" onclick="window.location='<?php echo($url); ?>';">
	<div class="box ctm-box ctm-box_toClick">
		<div class="image fit">
			<?php
				if ( !empty($img_ic) ){
			?>
					<div class="ctm-toCenter" style="display: grid; height: 100%;"><i class="<?php echo($img_ic); ?>" style="font-size: 80px; padding: 60px 0;"></i></div>
			<?php
				}
			?>
			<img src="<?php echo($img_src); ?>" alt="" />
		</div>
		<div class="content">
			<header class="align-center">
				<p><?php echo($subTitle); ?></p>
				<h2><?php echo($title); ?></h2>
			</header>
			<!-- <p> Cras aliquet urna ut sapien tincidunt, quis malesuada elit facilisis. Vestibulum sit amet tortor velit. Nam elementum nibh a libero pharetra elementum. Maecenas feugiat ex purus, quis volutpat lacus placerat malesuada.</p> -->
			<!-- <footer class="align-center">
				<a href="#" class="button alt">Start now</a>
			</footer> -->
		</div>
	</div>
</div>