<?php

// Call Row_Rendering event
$tbl_cruise->Row_Rendering();

// cruise_name
$tbl_cruise->cruise_name->CellCssStyle = ""; $tbl_cruise->cruise_name->CellCssClass = "";
$tbl_cruise->cruise_name->CellAttrs = array(); $tbl_cruise->cruise_name->ViewAttrs = array(); $tbl_cruise->cruise_name->EditAttrs = array();

// photo
$tbl_cruise->photo->CellCssStyle = ""; $tbl_cruise->photo->CellCssClass = "";
$tbl_cruise->photo->CellAttrs = array(); $tbl_cruise->photo->ViewAttrs = array(); $tbl_cruise->photo->EditAttrs = array();

// order_by
$tbl_cruise->order_by->CellCssStyle = ""; $tbl_cruise->order_by->CellCssClass = "";
$tbl_cruise->order_by->CellAttrs = array(); $tbl_cruise->order_by->ViewAttrs = array(); $tbl_cruise->order_by->EditAttrs = array();

// Call Row_Rendered event
$tbl_cruise->Row_Rendered();
?>
<p><span class="phpmaker"><?php echo $Language->Phrase("MasterRecord") ?><?php echo $tbl_cruise->TableCaption() ?><br>
<a href="<?php echo $gsMasterReturnUrl ?>"><?php echo $Language->Phrase("BackToMasterPage") ?></a></span></p>
<table cellspacing="0" class="ewGrid"><tr><td class="ewGridContent">
<div class="ewGridMiddlePanel">
<table cellspacing="0" class="ewTable ewTableSeparate">
	<thead>
		<tr>
			<td class="ewTableHeader"><?php echo $tbl_cruise->cruise_name->FldCaption() ?></td>
			<td class="ewTableHeader"><?php echo $tbl_cruise->photo->FldCaption() ?></td>
			<td class="ewTableHeader"><?php echo $tbl_cruise->order_by->FldCaption() ?></td>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td<?php echo $tbl_cruise->cruise_name->CellAttributes() ?>>
<div<?php echo $tbl_cruise->cruise_name->ViewAttributes() ?>><?php echo $tbl_cruise->cruise_name->ListViewValue() ?></div></td>
			<td<?php echo $tbl_cruise->photo->CellAttributes() ?>>
<?php if ($tbl_cruise->photo->HrefValue <> "" || $tbl_cruise->photo->TooltipValue <> "") { ?>
<?php if (!empty($tbl_cruise->photo->Upload->DbValue)) { ?>
<img src="<?php echo ew_UploadPathEx(FALSE, $tbl_cruise->photo->UploadPath) . $tbl_cruise->photo->Upload->DbValue ?>" border=0<?php echo $tbl_cruise->photo->ViewAttributes() ?>>
<?php } elseif (!in_array($tbl_cruise->CurrentAction, array("I", "edit", "gridedit"))) { ?>	
&nbsp;
<?php } ?>
<?php } else { ?>
<?php if (!empty($tbl_cruise->photo->Upload->DbValue)) { ?>
<img src="<?php echo ew_UploadPathEx(FALSE, $tbl_cruise->photo->UploadPath) . $tbl_cruise->photo->Upload->DbValue ?>" border=0<?php echo $tbl_cruise->photo->ViewAttributes() ?>>
<?php } elseif (!in_array($tbl_cruise->CurrentAction, array("I", "edit", "gridedit"))) { ?>	
&nbsp;
<?php } ?>
<?php } ?>
</td>
			<td<?php echo $tbl_cruise->order_by->CellAttributes() ?>>
<div<?php echo $tbl_cruise->order_by->ViewAttributes() ?>><?php echo $tbl_cruise->order_by->ListViewValue() ?></div></td>
		</tr>
	</tbody>
</table>
</div>
</td></tr></table>
<br>
