Exemple #1
0
	<script src="<?php 
echo getAsset('Assets/dist/js/main.js');
?>
"></script>
</body>
</html>
Exemple #2
0
	<link rel="icon" type="image/png" href="<?php 
echo getAsset('Assets/dist/img/content/favicon.png');
?>
">
	<!--[if IE]><link rel="shortcut icon" href="/favicon.ico"><![endif]-->
</head>

<body<?php 
getBodyClass();
?>
>
	<!--[if lte IE 8]>
		<div class="browser-alert">
			You&rsquo;re using an older web browser version that may make your computer unsafe. <a href="http://browsehappy.com/">Download the latest version</a> to keep your information safe and improve your experience.
		</div>
	<![endif]-->
	<header>
		<div class="row">
			<div class="eight columns centered" style="border: none;">
				<a href="index.php">
					<img src="<?php 
echo getAsset('Assets/dist/img/content/logo-placeholder.png');
?>
" srcset="<?php 
echo getAsset('Assets/dist/img/content/logo-placeholder@2x.png');
?>
 2x" alt="Phoenix by Connective DX" class="img-align-center">
				</a>
			</div>
		</div>
	</header>
    if ($item->node_data_field_image_field_image_fid) {
        $file = field_file_load($item->node_data_field_image_field_image_fid);
        $filepath = $file['filepath'];
        return '<img src="/' . $filepath . '" alt="' . $item->node_title . '" />';
    }
    return $item->node_title;
}
?>
<table border="0" cellpadding="0" cellspacing="0" id="supporters-table">
	<tr>
<?php 
$cnt = 1;
foreach ($view->result as $item) {
    ?>
		<?php 
    if ($cnt % 6 == 1) {
        ?>
</tr><tr><?php 
    }
    ?>
		<td align="center" valign="middle"><?php 
    echo getAsset($item);
    ?>
</td>
<?php 
    $cnt++;
}
?>
	</tr>
</table>