Location: PHPKode > projects > Science Lab Inventory & Order Management > sciencelabinv/itemsmaster.php
<?php

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

// id
$items->id->CellCssStyle = ""; $items->id->CellCssClass = "";
$items->id->CellAttrs = array(); $items->id->ViewAttrs = array(); $items->id->EditAttrs = array();

// name
$items->name->CellCssStyle = ""; $items->name->CellCssClass = "";
$items->name->CellAttrs = array(); $items->name->ViewAttrs = array(); $items->name->EditAttrs = array();

// type_id
$items->type_id->CellCssStyle = ""; $items->type_id->CellCssClass = "";
$items->type_id->CellAttrs = array(); $items->type_id->ViewAttrs = array(); $items->type_id->EditAttrs = array();

// room_id
$items->room_id->CellCssStyle = ""; $items->room_id->CellCssClass = "";
$items->room_id->CellAttrs = array(); $items->room_id->ViewAttrs = array(); $items->room_id->EditAttrs = array();

// store_id
$items->store_id->CellCssStyle = ""; $items->store_id->CellCssClass = "";
$items->store_id->CellAttrs = array(); $items->store_id->ViewAttrs = array(); $items->store_id->EditAttrs = array();

// unit
$items->unit->CellCssStyle = ""; $items->unit->CellCssClass = "";
$items->unit->CellAttrs = array(); $items->unit->ViewAttrs = array(); $items->unit->EditAttrs = array();

// quantity
$items->quantity->CellCssStyle = ""; $items->quantity->CellCssClass = "";
$items->quantity->CellAttrs = array(); $items->quantity->ViewAttrs = array(); $items->quantity->EditAttrs = array();

// consumption
$items->consumption->CellCssStyle = ""; $items->consumption->CellCssClass = "";
$items->consumption->CellAttrs = array(); $items->consumption->ViewAttrs = array(); $items->consumption->EditAttrs = array();

// vendor
$items->vendor->CellCssStyle = ""; $items->vendor->CellCssClass = "";
$items->vendor->CellAttrs = array(); $items->vendor->ViewAttrs = array(); $items->vendor->EditAttrs = array();

// catno
$items->catno->CellCssStyle = ""; $items->catno->CellCssClass = "";
$items->catno->CellAttrs = array(); $items->catno->ViewAttrs = array(); $items->catno->EditAttrs = array();

// arrived
$items->arrived->CellCssStyle = ""; $items->arrived->CellCssClass = "";
$items->arrived->CellAttrs = array(); $items->arrived->ViewAttrs = array(); $items->arrived->EditAttrs = array();

// expires
$items->expires->CellCssStyle = ""; $items->expires->CellCssClass = "";
$items->expires->CellAttrs = array(); $items->expires->ViewAttrs = array(); $items->expires->EditAttrs = array();

// Call Row_Rendered event
$items->Row_Rendered();
?>
<p><span class="phpmaker"><?php echo $Language->Phrase("MasterRecord") ?><?php echo $items->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 $items->id->FldCaption() ?></td>
			<td class="ewTableHeader"><?php echo $items->name->FldCaption() ?></td>
			<td class="ewTableHeader"><?php echo $items->type_id->FldCaption() ?></td>
			<td class="ewTableHeader"><?php echo $items->room_id->FldCaption() ?></td>
			<td class="ewTableHeader"><?php echo $items->store_id->FldCaption() ?></td>
			<td class="ewTableHeader"><?php echo $items->unit->FldCaption() ?></td>
			<td class="ewTableHeader"><?php echo $items->quantity->FldCaption() ?></td>
			<td class="ewTableHeader"><?php echo $items->consumption->FldCaption() ?></td>
			<td class="ewTableHeader"><?php echo $items->vendor->FldCaption() ?></td>
			<td class="ewTableHeader"><?php echo $items->catno->FldCaption() ?></td>
			<td class="ewTableHeader"><?php echo $items->arrived->FldCaption() ?></td>
			<td class="ewTableHeader"><?php echo $items->expires->FldCaption() ?></td>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td<?php echo $items->id->CellAttributes() ?>>
<div<?php echo $items->id->ViewAttributes() ?>>
<?php if ($items->id->HrefValue <> "" || $items->id->TooltipValue <> "" || $items->comments->ViewValue <> "") { ?>
<a href="javascript:void(0);" onmouseover="ew_ShowTooltip(this, 'tt_items_x_id');" onmouseout="ew_HideTooltip();"><?php echo $items->id->ListViewValue() ?></a>
<?php } else { ?>
<?php echo $items->id->ListViewValue() ?>
<?php } ?>
</div><div id="tt_items_x_id" style="display: none">
<?php if ($items->id->TooltipValue <> "") { ?>
<?php echo $items->id->TooltipValue ?>
<?php } else { ?>
<div<?php echo $items->comments->ViewAttributes() ?>><?php echo $items->comments->ViewValue ?></div>
<?php } ?>
</div></td>
			<td<?php echo $items->name->CellAttributes() ?>>
<div<?php echo $items->name->ViewAttributes() ?>>
<?php if ($items->name->HrefValue <> "" || $items->name->TooltipValue <> "" || !is_null($items->image->Upload->DbValue)) { ?>
<a href="javascript:void(0);" onmouseover="ew_ShowTooltip(this, 'tt_items_x_name');" onmouseout="ew_HideTooltip();"><?php echo $items->name->ListViewValue() ?></a>
<?php } else { ?>
<?php echo $items->name->ListViewValue() ?>
<?php } ?>
</div><div id="tt_items_x_name" style="display: none">
<?php if ($items->name->TooltipValue <> "") { ?>
<?php echo $items->name->TooltipValue ?>
<?php } else { ?>
<img src="<?php echo ew_UploadPathEx(FALSE, $items->image->UploadPath) . $items->image->Upload->DbValue ?>" border=0<?php echo $items->image->ViewAttributes() ?>>
<?php } ?>
</div></td>
			<td<?php echo $items->type_id->CellAttributes() ?>>
<div<?php echo $items->type_id->ViewAttributes() ?>><?php echo $items->type_id->ListViewValue() ?></div></td>
			<td<?php echo $items->room_id->CellAttributes() ?>>
<div<?php echo $items->room_id->ViewAttributes() ?>><?php echo $items->room_id->ListViewValue() ?></div></td>
			<td<?php echo $items->store_id->CellAttributes() ?>>
<div<?php echo $items->store_id->ViewAttributes() ?>><?php echo $items->store_id->ListViewValue() ?></div></td>
			<td<?php echo $items->unit->CellAttributes() ?>>
<div<?php echo $items->unit->ViewAttributes() ?>><?php echo $items->unit->ListViewValue() ?></div></td>
			<td<?php echo $items->quantity->CellAttributes() ?>>
<div<?php echo $items->quantity->ViewAttributes() ?>><?php echo $items->quantity->ListViewValue() ?></div></td>
			<td<?php echo $items->consumption->CellAttributes() ?>>
<div<?php echo $items->consumption->ViewAttributes() ?>><?php echo $items->consumption->ListViewValue() ?></div></td>
			<td<?php echo $items->vendor->CellAttributes() ?>>
<div<?php echo $items->vendor->ViewAttributes() ?>><?php echo $items->vendor->ListViewValue() ?></div></td>
			<td<?php echo $items->catno->CellAttributes() ?>>
<div<?php echo $items->catno->ViewAttributes() ?>><?php echo $items->catno->ListViewValue() ?></div></td>
			<td<?php echo $items->arrived->CellAttributes() ?>>
<div<?php echo $items->arrived->ViewAttributes() ?>><?php echo $items->arrived->ListViewValue() ?></div></td>
			<td<?php echo $items->expires->CellAttributes() ?>>
<div<?php echo $items->expires->ViewAttributes() ?>><?php echo $items->expires->ListViewValue() ?></div></td>
		</tr>
	</tbody>
</table>
</div>
</td></tr></table>
<br>
Return current item: Science Lab Inventory & Order Management