<p>Hi <?php echo($customer_name); ?>!</p>
<p>Your order has been shipped using <?php echo($gateway_name); ?> and the following tracking <?php echo(count($tracking_numbers) == 1 ? "number was" : "numbers were"); ?> provided:</p>
<ul>
	<?php
	foreach($tracking_numbers as $tracking_number)
	{
		?><li><?php echo($tracking_number); ?></li><?php
	}
	?>
</ul>

<?php
if(count($tracking_urls) > 0)
{
	?><p>You can use <?php echo(count($tracking_urls) == 1 ? "this link" : "these links"); ?> to view tracking information:</p>

	<ul>
		<?php
		foreach($tracking_urls as $tracking_url)
		{
			?><li><a href="<?php echo($tracking_url); ?>" target="_blank"><?php echo($tracking_url); ?></a></li><?php
		}
		?>
	</ul>
	<?php
}