function artxPositions(&$document, $positions, $style)
{
ob_start();
if (count($positions) == 4) {
if (artxCountModules($document, $positions[0])
&& artxCountModules($document, $positions[1])
&& artxCountModules($document, $positions[2])
&& artxCountModules($document, $positions[3]))
{
?>
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="25%"></td>
<td width="25%"></td>
<td width="25%"></td>
<td width="25%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="33%"></td>
<td width="33%"></td>
<td width="33%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="33%"></td>
<td width="33%"></td>
<td width="33%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="33%"></td>
<td width="33%"></td>
<td width="33%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="33%"></td>
<td width="33%"></td>
<td width="33%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="50%"></td>
<td width="50%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="50%"></td>
<td width="50%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="50%"></td>
<td width="50%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="50%"></td>
<td width="50%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="50%"></td>
<td width="50%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="50%"></td>
<td width="50%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="50%"></td>
<td width="50%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="50%"></td>
<td width="50%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="50%"></td>
<td width="50%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="50%"></td>
<td width="50%"><?php echo artxModules($document, $positions[4], $style); ?></td>
</tr>
</table>
<?php
} else {
echo artxModules($document, $positions[0], $style);
echo artxModules($document, $positions[1], $style);
echo artxModules($document, $positions[2], $style);
echo artxModules($document, $positions[3], $style);
}
} elseif (count($positions) == 2) {
if (artxCountModules($document, $positions[0]) && artxCountModules($document, $positions[1])) {
?>
<?php
}
} // count($positions)
{
ob_start();
if (count($positions) == 4) {
if (artxCountModules($document, $positions[0])
&& artxCountModules($document, $positions[1])
&& artxCountModules($document, $positions[2])
&& artxCountModules($document, $positions[3]))
{
?>
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="25%"></td>
<td width="25%"></td>
<td width="25%"></td>
<td width="25%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="33%"></td>
<td width="33%"></td>
<td width="33%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="33%"></td>
<td width="33%"></td>
<td width="33%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="33%"></td>
<td width="33%"></td>
<td width="33%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="33%"></td>
<td width="33%"></td>
<td width="33%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="50%"></td>
<td width="50%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="50%"></td>
<td width="50%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="50%"></td>
<td width="50%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="50%"></td>
<td width="50%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="50%"></td>
<td width="50%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="50%"></td>
<td width="50%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="50%"></td>
<td width="50%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="50%"></td>
<td width="50%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="50%"></td>
<td width="50%">
<table class="position" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="50%"></td>
<td width="50%"><?php echo artxModules($document, $positions[4], $style); ?></td>
</tr>
</table>
<?php
} else {
echo artxModules($document, $positions[0], $style);
echo artxModules($document, $positions[1], $style);
echo artxModules($document, $positions[2], $style);
echo artxModules($document, $positions[3], $style);
}
} elseif (count($positions) == 2) {
if (artxCountModules($document, $positions[0]) && artxCountModules($document, $positions[1])) {
?>
<?php
}
} // count($positions)
Hole 18
18th Hole – Par 3 – 196 yards ( Ladies – Par 3 – 187 yards)
This is a strong par 3 finishing hole and the angle of the green from the tee often suits a left to right ball flight with a medium to long iron. The target area appears generous but this can be deceptive as the green is divided into two halves by a large mound in the middle. Land in the wrong half and you are immediately faced with the prospect of a 3 putt bogey to finish on.