<?php include_once '../nyro_header.php'; $vendorId = $_GET['vendorId']; $vendorInfo = objectQuery($conexion, '*', $vendorExtendedTables, 'vendorId = ' . $vendorId); ?> <script type="text/javascript"> function deleteSuccess() { closeNM(); } </script> <div id='actions' class="top-bar"> <?php echo createEditIcon('editVendor', '../nyros/editVendor.php', "vendorId={$vendorId}", "Vendor"); ?> <?php echo createDeleteIcon('deleteVendor', '../submit/deleteVendor.php', "vendorId={$vendorId}", "Vendor"); ?> </div> <div id='formDiv' class='table'> <img src="/mfi/img/bg-th-left.gif" width="8" height="7" alt="" class="left" /> <img src="/mfi/img/bg-th-right.gif" width="7" height="7" alt="" class="right" /> <table class="listing form" cellpadding="0" cellspacing="0"> <tr> <th colspan='2'>Vendor Information</th> </tr> <?php $flag = true; echo printTuple($flag ? '' : "class='bg'", 'Vendor Name', $vendorInfo['vendorName']); $flag = !$flag; echo printTuple($flag ? '' : "class='bg'", 'Vendor Information', $vendorInfo['vendorInfo']);
$projectInfo = objectQuery($conexion, '*', $projectExtendedTables, 'projectId = ' . $projectId); ?> <script type="text/javascript"> function deleteSuccess() { closeNM(); } </script> <div id='actions' class="top-bar"> <?php echo createActionIcon(IMG_NEW_ITEM_PROPOSAL, 'addItemProposal', 'Add Item Proposal', '../nyros/newItemProposal.php', "projectId=" . $projectId . "&customerId=" . $projectInfo['customerId'], 'show'); ?> <?php echo createActionIcon(IMG_NEW_ITEM, 'addItem', 'Add Item', '../nyros/newItem.php', "projectId=" . $projectId . "&customerId=" . $projectInfo['customerId'], 'show'); ?> <?php echo createEditIcon('editProject', '../nyros/editProject.php', "projectId={$projectId}", "Project"); ?> <?php echo createDeleteIcon('deleteProject', '../submit/deleteProject.php', "projectId={$projectId}", "Project"); ?> </div> <div id='formDiv' class='table'> <img src="/mfi/img/bg-th-left.gif" width="8" height="7" alt="" class="left" /> <img src="/mfi/img/bg-th-right.gif" width="7" height="7" alt="" class="right" /> <table class="listing form" cellpadding="0" cellspacing="0"> <tr> <th colspan='2'>Project Information</th> </tr> <?php $flag = true; $customerLink = printImgLink(IMG_VIEW, NYRO_CLASS, TITLE_VIEW_CUSTOMER, createGenericNyroableAttributesSmall($projectInfo['customerId'], 'customer'));
<?php include_once '../nyro_header.php'; $brokerId = $_GET['brokerId']; $brokerInfo = objectQuery($conexion, '*', $brokerExtendedTables, 'brokerId = ' . $brokerId); ?> <script type="text/javascript"> function deleteSuccess() { closeNM(); } </script> <div id='actions' class="top-bar"> <?php echo createEditIcon('editBroker', '../nyros/editBroker.php', "brokerId={$brokerId}", "Broker"); ?> <?php echo createDeleteIcon('deleteBroker', '../submit/deleteBroker.php', "brokerId={$brokerId}", "Broker"); ?> </div> <div id='formDiv' class='table'> <img src="/mfi/img/bg-th-left.gif" width="8" height="7" alt="" class="left" /> <img src="/mfi/img/bg-th-right.gif" width="7" height="7" alt="" class="right" /> <table class="listing form" cellpadding="0" cellspacing="0"> <tr> <th colspan='2'>Broker Information</th> </tr> <?php $flag = true; echo printTuple($flag ? '' : "class='bg'", 'Broker Name', $brokerInfo['brokerName']); $flag = !$flag; echo printTuple($flag ? '' : "class='bg'", 'Broker PID', $brokerInfo['brokerPid']);
<?php include_once '../nyro_header.php'; $truckId = $_GET['truckId']; $truckInfo = objectQuery($conexion, '*', 'truck JOIN address ON (truck.addressId = address.addressId) JOIN broker USING (brokerId)', 'truckId = ' . $truckId); ?> <script type="text/javascript"> function deleteSuccess() { closeNM(); } </script> <div id='actions' class="top-bar"> <?php echo createEditIcon('editTruck', '../nyros/editTruck.php', "truckId={$truckId}", "Truck"); ?> <?php echo createDeleteIcon('deleteTruck', '../submit/deleteTruck.php', "truckId={$truckId}", "Truck"); ?> </div> <div id='formDiv' class='table'> <img src="/mfi/img/bg-th-left.gif" width="8" height="7" alt="" class="left" /> <img src="/mfi/img/bg-th-right.gif" width="7" height="7" alt="" class="right" /> <table class="listing form" cellpadding="0" cellspacing="0"> <tr> <th colspan='2'>Driver Information</th> </tr> <?php $flag = true; $brokerLink = printImgLink(IMG_VIEW, NYRO_CLASS, TITLE_VIEW_BROKER, createGenericNyroableAttributesSmall($truckInfo['brokerId'], 'broker')); echo printTuple($flag ? '' : "class='bg'", 'Truck Number', $truckInfo['brokerPid'] . " " . $truckInfo['truckNumber']);
<?php include_once '../nyro_header.php'; $fuelLoadId = $_GET['fuelLoadId']; $fuelLoadInfo = objectQuery($conexion, '*', 'fuel_load JOIN broker ON (broker.brokerId = fuel_load.brokerId) LEFT JOIN truck USING (truckId)', 'fuelLoadId = ' . $fuelLoadId); ?> <script type="text/javascript"> function deleteSuccess() { closeNM(); } </script> <div id='actions' class="top-bar"> <?php echo createEditIcon('editFuelLoad', '../nyros/editFuelLoad.php', "fuelLoadId={$fuelLoadId}", "FuelLoad"); ?> <?php echo createDeleteIcon('deleteFuelLoad', '../submit/deleteFuelLoad.php', "fuelLoadId={$fuelLoadId}", "FuelLoad"); ?> </div> <div id='formDiv' class='table'> <img src="/mfi/img/bg-th-left.gif" width="8" height="7" alt="" class="left" /> <img src="/mfi/img/bg-th-right.gif" width="7" height="7" alt="" class="right" /> <table class="listing form" cellpadding="0" cellspacing="0"> <tr> <th colspan='2'>FuelLoad Information</th> </tr> <?php $flag = true; $brokerLink = printImgLink(IMG_VIEW, NYRO_CLASS, TITLE_VIEW_BROKER, createGenericNyroableAttributesSmall($fuelLoadInfo['brokerId'], 'broker')); echo printTuple($flag ? '' : "class='bg'", 'Fuel Load Id', $fuelLoadInfo['fuelLoadId']); $flag = !$flag;
include_once '../nyro_header.php'; $supplierId = $_GET['supplierId']; $supplierInfo = objectQuery($conexion, '*', $supplierExtendedTables, 'supplierId = ' . $supplierId); ?> <script type="text/javascript"> function deleteSuccess() { closeNM(); } </script> <div id='actions' class="top-bar"> <?php echo createActionIcon(IMG_MNG, 'managePriceList', 'Manage Price List', '../nyros/managePriceList.php', "supplierId={$supplierId}", 'show'); ?> <?php echo createEditIcon('editSupplier', '../nyros/editSupplier.php', "supplierId={$supplierId}", "Supplier"); ?> <?php echo createDeleteIcon('deleteSupplier', '../submit/deleteSupplier.php', "supplierId={$supplierId}", "Supplier"); ?> </div> <div id='formDiv' class='table'> <img src="/mfi/img/bg-th-left.gif" width="8" height="7" alt="" class="left" /> <img src="/mfi/img/bg-th-right.gif" width="7" height="7" alt="" class="right" /> <table class="listing form" cellpadding="0" cellspacing="0"> <tr> <th colspan='2'>Supplier Information</th> </tr> <?php $flag = true; $vendorLink = printImgLink(IMG_VIEW, NYRO_CLASS, TITLE_VIEW_VENDOR, createGenericNyroableAttributesSmall($supplierInfo['vendorId'], 'vendor'));
<?php include_once '../nyro_header.php'; $driverId = $_GET['driverId']; $driverInfo = objectQuery($conexion, '*', $driverExtendedTables, 'driverId = ' . $driverId); $brokerInfo = objectQuery($conexion, '*', 'broker', 'brokerId = ' . $driverInfo['brokerId']); ?> <script type="text/javascript"> function deleteSuccess() { closeNM(); } </script> <div id='actions' class="top-bar"> <?php echo createEditIcon('editDriver', '../nyros/editDriver.php', "driverId={$driverId}", "Driver"); ?> <?php echo createDeleteIcon('deleteDriver', '../submit/deleteDriver.php', "driverId={$driverId}", "Driver"); ?> </div> <div id='formDiv' class='table'> <img src="/mfi/img/bg-th-left.gif" width="8" height="7" alt="" class="left" /> <img src="/mfi/img/bg-th-right.gif" width="7" height="7" alt="" class="right" /> <table class="listing form" cellpadding="0" cellspacing="0"> <tr> <th colspan='2'>Driver Information</th> </tr> <?php $flag = true; $brokerLink = printImgLink(IMG_VIEW, NYRO_CLASS, TITLE_VIEW_BROKER, createGenericNyroableAttributesSmall($driverInfo['brokerId'], 'broker')); echo printTuple($flag ? '' : "class='bg'", 'Driver Name', $driverInfo['driverFirstName'] . " " . $driverInfo['driverLastName']);