本文整理汇总了PHP中createSimpleButton函数的典型用法代码示例。如果您正苦于以下问题:PHP createSimpleButton函数的具体用法?PHP createSimpleButton怎么用?PHP createSimpleButton使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了createSimpleButton函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: createFormRowTextField
$flag = !$flag;
//parking address
echo createFormRowTextField('Parking Address', 'editSupplierAddressLine1', $flag ? 'class="bg"' : '', false, "size='25px' value='" . $supplierInfo['addressLine1'] . "'");
$flag = !$flag;
echo createFormRowTextField('Address Line 2', 'editSupplierAddressLine2', $flag ? 'class="bg"' : '', false, "size='25px' value='" . $supplierInfo['addressLine2'] . "'");
$flag = !$flag;
echo createFormRowTextField('City', 'editSupplierAddressCity', $flag ? 'class="bg"' : '', false, "size='25px' value='" . $supplierInfo['addressCity'] . "'");
$flag = !$flag;
//state
echo createFormRow('State', $flag ? 'class="bg"' : '', false, createStateSelect($conexion, 'editSupplierAddressState', $supplierInfo['addressState']));
$flag = !$flag;
echo createFormRowTextField('Zip', 'editSupplierAddressZip', $flag ? 'class="bg"' : '', false, "size='25px' value='" . $supplierInfo['addressZip'] . "'");
$flag = !$flag;
echo createFormRowTextField('P.O.Box', 'editSupplierAddressBox', $flag ? 'class="bg"' : '', false, "size='25px' value='" . $supplierInfo['addressPOBox'] . "'");
$flag = !$flag;
echo createFormRowTextField('Dumptime', 'editSupplierDumptime', $flag ? 'class="bg"' : '', false, "size=25px value='" . showPhoneNumber($supplierInfo['supplierDumptime']) . "'");
$flag = !$flag;
echo createFormRow('Additional Information', $flag ? 'class="bg"' : '', false, createInputTextArea('editSupplierInfo', '', 'rows="3" cols="32"', $supplierInfo['supplierInformation']));
$flag = !$flag;
?>
</table>
<table>
<tr>
<td><?php
echo createSimpleButton('submitEditSupplierButton', 'Submit');
?>
</td>
</tr>
</table>
</div>
示例2: createFormRowTextField
echo createFormRowTextField('City', 'addressCity', $flag ? 'class="bg"' : '', false, 'size=10px');
$flag = !$flag;
//state
echo createFormRow('State', $flag ? 'class="bg"' : '', false, createStateSelect($conexion, 'addressState'));
$flag = !$flag;
echo createFormRowTextField('Zip', 'addressZip', $flag ? 'class="bg"' : '', false, 'size=10px');
$flag = !$flag;
echo createFormRowTextField('P.O.Box', 'addressBox', $flag ? 'class="bg"' : '', false, 'size=10px');
$flag = !$flag;
echo createFormRow('Additional Information', $flag ? 'class="bg"' : '', false, createInputTextArea('truckInfo', '', 'rows="2" cols="43"'));
$flag = !$flag;
echo createFormRow('Feautres', $flag ? 'class="bg"' : '', false, featureArrayToCheckBoxes(objectArray($conexion, 'feature', 'featureName', 'featureId', 'featureName'), 5));
?>
</table>
<table>
<tr>
<td><?php
echo createSimpleButton('submitButton', 'Submit');
?>
</td>
</tr>
</table>
</div>
</div>
<?include_once '../news.php';?>
</div>
<?
include_once '../app_footer.php';
?>
示例3: createFormRowTextField
$flag = true;
echo createFormRowTextField('Vendor Name', 'editVendorName', $flag ? 'class="bg"' : '', true, "size='14px' value='" . $vendorInfo['vendorName'] . "'");
$flag = !$flag;
echo createFormRowTextField('Vendor Phone', 'editVendorTel', $flag ? 'class="bg"' : '', false, "size='14px' value='" . showPhoneNumber($vendorInfo['vendorTel']) . "'");
$flag = !$flag;
echo createFormRowTextField('Vendor Fax', 'editVendorFax', $flag ? 'class="bg"' : '', false, "size='14px' value='" . showPhoneNumber($vendorInfo['vendorFax']) . "'");
$flag = !$flag;
echo createFormRowTextField('Address', 'editVendorAddressLine1', $flag ? 'class="bg"' : '', false, "size='14px' value='" . $vendorInfo['addressLine1'] . "'");
$flag = !$flag;
echo createFormRowTextField('Address Line 2', 'editVendorAddressLine2', $flag ? 'class="bg"' : '', false, "size='14px' value='" . $vendorInfo['addressLine2'] . "'");
$flag = !$flag;
echo createFormRowTextField('City', 'editVendorAddressCity', $flag ? 'class="bg"' : '', false, "size='14px' value='" . $vendorInfo['addressCity'] . "'");
$flag = !$flag;
echo createFormRow('State', $flag ? 'class="bg"' : '', false, createStateSelect($conexion, 'editVendorAddressState', $vendorInfo['addressState']));
$flag = !$flag;
echo createFormRowTextField('Zip', 'editVendorAddressZip', $flag ? 'class="bg"' : '', false, "size='14px' value='" . $vendorInfo['addressZip'] . "'");
$flag = !$flag;
echo createFormRowTextField('P.O.Box', 'editVendorAddressBox', $flag ? 'class="bg"' : '', false, "size='14px' value='" . $vendorInfo['addressPOBox'] . "'");
$flag = !$flag;
?>
</table>
<table>
<tr>
<td><?php
echo createSimpleButton('submitEditVendor', 'Submit');
?>
</td>
</tr>
</table>
</div>
示例4: createFormRow
}
</script>
<div id="center-column">
<div class="table">
<table class="listing form" cellpadding="0" cellspacing="0">
<tr>
<th class="full" colspan="2">New Customer Check</th>
</tr>
<?php
$flag = true;
echo createFormRow('Customer', $flag ? 'class="bg"' : '', true, arrayToSelect(customersArray($conexion), isset($_GET['customerId']) ? $_GET['customerId'] : 0, 'newCustomerCheckCustomer', 'Customer'));
$flag = !$flag;
echo createFormRowTextField('Number', 'newCustomerCheckNumber', $flag ? 'class="bg"' : '', true, 'size=10px');
$flag = !$flag;
echo createFormRowTextField('Amount', 'newCustomerCheckAmount', $flag ? 'class="bg"' : '', true, 'size=10px');
$flag = !$flag;
echo createFormRowTextField('Date', 'newCustomerCheckDate', $flag ? 'class="bg"' : '', true, 'size=10px');
$flag = !$flag;
?>
</table>
<table>
<tr>
<td><?php
echo createSimpleButton('submitNewCustomerSuperCheck', 'Submit');
?>
</td>
</tr>
</table>
</div>
</div>
示例5: createFormRow
<?php
$flag = true;
echo createFormRow('Customer', $flag ? 'class="bg"' : '', true, arrayToSelect(customersArray($conexion), 0, 'newEstimateCustomer', 'Customer'));
$flag = !$flag;
echo createFormRowTextField("Name", 'newEstimateName', $flag ? 'class="bg"' : '', true, 'size=25px');
$flag = !$flag;
echo createFormRowTextField('Address', 'newEstimateAddressLine1', $flag ? 'class="bg"' : '', false, 'size=25px');
$flag = !$flag;
echo createFormRowTextField('Address Line 2', 'newEstimateAddressLine2', $flag ? 'class="bg"' : '', false, 'size=25px');
$flag = !$flag;
echo createFormRowTextField('City', 'newEstimateAddressCity', $flag ? 'class="bg"' : '', false, 'size=25px');
$flag = !$flag;
echo createFormRow('State', $flag ? 'class="bg"' : '', false, createStateSelect($conexion, 'newEstimateAddressState'));
$flag = !$flag;
echo createFormRowTextField('Zip', 'newEstimateAddressZip', $flag ? 'class="bg"' : '', false, 'size=25px');
$flag = !$flag;
echo createFormRowTextField('P.O.Box', 'newEstimateAddressBox', $flag ? 'class="bg"' : '', false, 'size=25px');
$flag = !$flag;
?>
</table>
<table>
<tr>
<td><?php
echo createSimpleButton('submitNewEstimateButton', 'Submit');
?>
</td>
</tr>
</table>
</div>
</div>
示例6: createFormRow
echo createFormRow('State', $flag ? 'class="bg"' : '', false, createStateSelect($conexion, 'editDriverAddressState', $driverInfo['addressState']));
$flag = !$flag;
echo createFormRowTextField('Zip', 'editDriverAddressZip', $flag ? 'class="bg"' : '', false, "size='10px' value='" . $driverInfo['addressZip'] . "'");
$flag = !$flag;
echo createFormRowTextField('P.O.Box', 'editDriverAddressBox', $flag ? 'class="bg"' : '', false, "size='10px' value='" . $driverInfo['addressPOBox'] . "'");
$flag = !$flag;
//
echo createFormRow('Payment Terms', $flag ? 'class="bg"' : '', true, createTermSelect($conexion, 'editDriverTermId', $driverInfo['termId']));
$flag = !$flag;
echo createFormRowTextField('Percentage', 'editDriverPercentage', $flag ? 'class="bg"' : '', true, "size='10px' value='" . $driverInfo['driverPercentage'] . "'");
$flag = !$flag;
echo createFormRowTextField('Driver Start Date', 'editDriverStartDate', $flag ? 'class="bg"' : '', false, "size='10px' value='" . to_MDY($driverInfo['driverStartDate']) . "'");
$flag = !$flag;
echo createFormRow('Gender', $flag ? 'class="bg"' : '', true, arrayToSelect(array("0" => "--Select Gender--", "male" => "Male", "female" => "Female"), $driverInfo['driverGender'], 'editDriverGender', 'Gender', true));
$flag = !$flag;
echo createFormRow('Ethnicity', $flag ? 'class="bg"' : '', true, createEthnicitySelect($conexion, 'editDriverEthnicId', $driverInfo['ethnicId']));
$flag = !$flag;
echo createFormRow('Class', $flag ? 'class="bg"' : '', true, arrayToSelect(array("--Select Class--", "Class 1", "Class 2", "Class 3", "Class 4"), $driverInfo['driverClass'], 'editDriverClass', 'Class', true));
$flag = !$flag;
?>
</table>
<table>
<tr>
<td><?php
echo createSimpleButton('submitEditDriverButton', 'Submit');
?>
</td>
</tr>
</table>
</div>
示例7: createFormRow
} else {
echo createFormRow('Material', $flag ? 'class="bg"' : '', true, arrayToSelect(materialBySupplierArray($conexion, $supplier), $material, "newItemMaterialId", "Material"));
}
$flag = !$flag;
echo createFormRowTextField("From <img id='newItemReverse' src='/trucking/img/48.png' width='18px'/>", 'newItemFromDisplay', $flag ? 'class="bg"' : '', false, "size=25px value=\"{$displayFrom}\"");
$flag = !$flag;
echo createFormRowTextField('To', 'newItemToDisplay', $flag ? 'class="bg"' : '', false, "size=25px value=\"{$displayTo}\"");
$flag = !$flag;
echo createFormRowTextField('Material Price', 'newItemMaterialPrice', $flag ? 'class="bg"' : '', true, "size=10px value=\"{$materialPrice}\"");
$flag = !$flag;
echo createFormRowTextField('Broker Cost', 'newItemBrokerCost', $flag ? 'class="bg"' : '', true, 'size=10px');
$flag = !$flag;
echo createFormRowTextField('Customer Cost', 'newItemCustomerCost', $flag ? 'class="bg"' : '', true, 'size=10px');
$flag = !$flag;
echo createFormRow('Type', $flag ? 'class="bg"' : '', true, arrayToRadio(array("Loads", "Tons", "hours"), 0, "newItemType", ""));
$flag = !$flag;
echo createFormRow('Description', $flag ? 'class="bg"' : '', false, createInputTextArea('newItemDescription', '', 'rows="2" cols="43"'));
$flag = !$flag;
?>
</table>
<table>
<tr>
<td><?php
echo createSimpleButton('submitNewProposal', 'Submit');
?>
</td>
</tr>
</table>
</div>
</div>
示例8: createInputText
<td></td>
<td></td>
<td></td>
<td><?php
echo createInputText('newTicketBrokerAmount', '', "size='6px' tabindex='11'");
?>
</td>
</tr>
<tr class='bg'>
<td><?php
echo emptySelect('newTicketItem', 'Item', "tabindex='3'");
?>
</td>
<td><?php
echo emptySelect('newTicketDriver', 'Driver', "tabindex='6'");
?>
</td>
<td></td>
<td></td>
<td><?php
echo createSimpleButton('refreshNewTicket', 'Reset', '', "");
?>
</td>
<td><?php
echo createSimpleButton('submitNewTicket', 'Submit', '', "tabindex='12'");
?>
</td>
</tr>
</table>
</div>
示例9: createFormRowTextField
echo createFormRowTextField('Fax', 'newCustomerFax', $flag ? 'class="bg"' : '', false, 'size=25px');
$flag = !$flag;
echo createFormRowTextField('Website', 'newCustomerWebsite', $flag ? 'class="bg"' : '', false, 'size=25px');
$flag = !$flag;
echo createFormRow('Term', $flag ? 'class="bg"' : '', true, arrayToSelect(termsArray($conexion), 0, 'newCustomerTerm', 'Term'));
$flag = !$flag;
echo createFormRowTextField('Address', 'newCustomerAddressLine1', $flag ? 'class="bg"' : '', false, 'size=25px');
$flag = !$flag;
echo createFormRowTextField('Address Line 2', 'newCustomerAddressLine2', $flag ? 'class="bg"' : '', false, 'size=25px');
$flag = !$flag;
echo createFormRowTextField('City', 'newCustomerAddressCity', $flag ? 'class="bg"' : '', false, 'size=25px');
$flag = !$flag;
echo createFormRow('State', $flag ? 'class="bg"' : '', false, createStateSelect($conexion, 'newCustomerAddressState'));
$flag = !$flag;
echo createFormRowTextField('Zip', 'newCustomerAddressZip', $flag ? 'class="bg"' : '', false, 'size=25px');
$flag = !$flag;
echo createFormRowTextField('P.O.Box', 'newCustomerAddressBox', $flag ? 'class="bg"' : '', false, 'size=25px');
$flag = !$flag;
?>
</table>
<table>
<tr>
<td><?php
echo createSimpleButton('submitNewCustomerButton', 'Submit');
?>
</td>
</tr>
</table>
</div>
</div>
示例10: createFormRow
} else {
echo createFormRow('Material', $flag ? 'class="bg"' : '', true, arrayToSelect(materialBySupplierArray($conexion, $supplier), $material, "newItemMaterialId", "Material"));
}
$flag = !$flag;
echo createFormRowTextField("From <img id='newItemReverse' src='/trucking/img/48.png' width='18px'/>", 'newItemFromDisplay', $flag ? 'class="bg"' : '', false, "size=25px value=\"{$displayFrom}\"");
$flag = !$flag;
echo createFormRowTextField('To', 'newItemToDisplay', $flag ? 'class="bg"' : '', false, "size=25px value=\"{$displayTo}\"");
$flag = !$flag;
echo createFormRowTextField('Material Price', 'newItemMaterialPrice', $flag ? 'class="bg"' : '', true, "size=10px value=\"{$materialPrice}\"");
$flag = !$flag;
echo createFormRowTextField('Broker Cost', 'newItemBrokerCost', $flag ? 'class="bg"' : '', true, 'size=10px');
$flag = !$flag;
echo createFormRowTextField('Customer Cost', 'newItemCustomerCost', $flag ? 'class="bg"' : '', true, 'size=10px');
$flag = !$flag;
echo createFormRow('Type', $flag ? 'class="bg"' : '', true, arrayToRadio(array("Loads", "Tons", "hours"), "0", "newItemType", ""));
$flag = !$flag;
echo createFormRow('Description', $flag ? 'class="bg"' : '', false, createInputTextArea('newItemDescription', '', 'rows="2" cols="43"'));
$flag = !$flag;
?>
</table>
<table>
<tr>
<td><?php
echo createSimpleButton('submitNewItem', 'Submit');
?>
</td>
</tr>
</table>
</div>
</div>
示例11: createSimpleButton
?>
</td>
</tr>
<tr>
<td><?php
echo createSimpleButton('submitNewVendorInvoice', 'Submit');
?>
</td>
<td></td>
<td>
<input type='radio' name='inInvoice' value='no' id='noInInvoice' checked ><label for='noInInvoice'>Not in invoice</label><br/>
<input type='radio' name='inInvoice' value='yes' id='yesInInvoice' ><label for='yesInInvoice'>In invoice</label><br/>
<input type='radio' name='inInvoice' value='all' id='allInInvoice' ><label for='allInInvoice'>All</label><br/>
</td>
<td><?php
echo createSimpleButton('vendorInvoiceSearchTickets', 'Search');
?>
</td>
</tr>
<?php
?>
</table>
</div>
<div class='table'>
<img src='/trucking/img/bg-th-left.gif' width='8' height='7' alt='' class='left' />
<img src='/trucking/img/bg-th-right.gif' width='7' height='7' alt='' class='right' />
<table class='listing form' cellpadding='0' cellspacing='0' id='supplierTickets'>
<tr>
<th class='first' >Job</th>
<th>Date</th>
<th>Material</th>
示例12: createFormRowTextField
echo createFormRowTextField('Tire Size', 'editTruckTireSize', $flag ? 'class="bg"' : '', false, "size='10px' value='" . $truckInfo['truckTireSize'] . "'");
$flag = !$flag;
//parking address
echo createFormRowTextField('Parking Address', 'editTruckAddressLine1', $flag ? 'class="bg"' : '', false, "size='10px' value='" . $truckInfo['addressLine1'] . "'");
$flag = !$flag;
echo createFormRowTextField('Address Line 2', 'editTruckAddressLine2', $flag ? 'class="bg"' : '', false, "size='10px' value='" . $truckInfo['addressLine2'] . "'");
$flag = !$flag;
echo createFormRowTextField('City', 'editTruckAddressCity', $flag ? 'class="bg"' : '', false, "size='10px' value='" . $truckInfo['addressCity'] . "'");
$flag = !$flag;
//state
echo createFormRow('State', $flag ? 'class="bg"' : '', false, createStateSelect($conexion, 'editTruckAddressState', $truckInfo['addressState']));
$flag = !$flag;
echo createFormRowTextField('Zip', 'editTruckAddressZip', $flag ? 'class="bg"' : '', false, "size='10px' value='" . $truckInfo['addressZip'] . "'");
$flag = !$flag;
echo createFormRowTextField('P.O.Box', 'editTruckAddressBox', $flag ? 'class="bg"' : '', false, "size='10px' value='" . $truckInfo['addressPOBox'] . "'");
$flag = !$flag;
echo createFormRow('Additional Information', $flag ? 'class="bg"' : '', false, createInputTextArea('editTruckInfo', '', 'rows="2" cols="43"', $truckInfo['truckInfo']));
$flag = !$flag;
echo createFormRow('Features', $flag ? 'class="bg"' : '', false, featureArrayToCheckBoxes(objectArray($conexion, 'feature', 'featureName', 'featureId', 'featureName'), 5, getTruckCheckedFeatures($conexion, $truckId)));
?>
</table>
<table>
<tr>
<td><?php
echo createSimpleButton('submitEditTruckButton', 'Submit');
?>
</td>
</tr>
</table>
</div>
示例13: createInputText
<td><?php
echo createInputText('newFuelLoadFinish', '', "size='6px' tabindex='6'");
?>
</td>
<td><?php
echo createInputText('newFuelLoadRegistered', '', "size='6px' tabindex='7'");
?>
</td>
<td><?php
echo createInputText('newFuelLoadMiles', '', "size='6px' tabindex='8'");
?>
</td>
</tr>
<tr>
<td></td>
<td><?php
echo emptySelect('newFuelLoadTruck', 'Truck', "tabindex='3'");
?>
</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td><?php
echo createSimpleButton('submitNewFuelLoad', 'Submit', '', "tabindex='9'");
?>
</td>
</tr>
</table>
</div>
示例14: arrayToSelect
</tr>
<tr class='bg'>
<td><?php
echo arrayToSelect(brokersArray($conexion), 0, 'brokerId', 'Broker');
?>
</td>
<td rowspan='2'><?php
echo createInputText('startDate', '', "size='10px'");
?>
</td>
<td rowspan='2'><?php
echo createInputText('endDate', '', "size='10px'");
?>
</td>
<td rowspan='2'><?php
echo createSimpleButton('previewButton', 'Preview', '', 'disabled="disabled"');
?>
</td>
</tr>
<tr>
<td><?php
echo emptySelect("driverId", "Driver");
?>
</td>
</tr>
<?php
?>
</table>
</div>
<div class='iframes' id='previewFrame'></div>
示例15: createInputText
</tr>
<tr class='bg'>
<td><?php
echo createInputText('startDate', '', "size='10px'");
?>
</td>
<td><?php
echo createInputText('endDate', '', "size='10px'");
?>
</td>
<td><?php
echo createSimpleButton('previewButton', 'Preview');
?>
</td>
<td><?php
echo createSimpleButton('printButton', 'Print');
?>
</td>
</tr>
<?php
?>
</table>
</div>
<div class='iframes' id='previewFrame'></div>
</div>
<?include_once '../news.php';?>
</div>
<?
include_once '../app_footer.php';