Beispiel #1
0
?>
					</div>
					<div class="account-section right">
						<br>
						<h2>New Item 4</h2>
						<?php 
inputfield("Product Name", "text", "username");
?>
						<?php 
inputfield("Minimum Acceptable Price", "text", "username");
?>
						<?php 
inputfield("Description", "text", "username");
?>
						<?php 
inputfield("Date Ending", "date", "username");
?>
						<?php 
inputfield("Time Ending", "time", "username");
?>
						<?php 
inputfield("Picture", "file", "username");
?>
						<?php 
inputfield("Special Notes", "text", "username");
?>
					</div>
				</div>
			</div>
<?php 
include 'footer.php';
Beispiel #2
0
 function select($col, $row, $params)
 {
     assert('$col["select_name"] != NULL');
     assert('$col["select_index"] != NULL');
     assert('$col["select_key"] != NULL');
     assert('$col["select_value"] != NULL ');
     $name = $col['select_name'] . '[' . $row[$col['select_index']] . ']';
     $data = array();
     foreach ($row[$col['name']] as $r) {
         $data[$r[$col['select_key']]] = $r[$col['select_value']];
     }
     if (isset($col['select_selected']) and isset($row[$col['select_selected']])) {
         $selected = $row[$col['select_selected']];
     } else {
         $selected = '';
     }
     return inputfield('select', $name, $selected, NULL, $data);
 }
Beispiel #3
0
?>
					<?php 
inputfield("State", "text", "state");
?>
					<?php 
inputfield("Zip Code", "text", "zipcode");
?>
					<?php 
inputfield("Country", "text", "country");
?>
				</div>
				<div class="account-section right">
					<h2>Payment Information</h2>
					<?php 
inputfield("Name On Card", "text", "nameoncard");
?>
					<?php 
inputfield("Card Type", array('dropdown', array(array('visa', 'VISA'), array('master', 'MASTER CARD'))), "");
?>
					<?php 
inputfield("Card Number", "number", "cardnumber");
?>
					<?php 
inputfield("ExpirationDate", "text", "expirationdate");
?>
					<?php 
inputfield("Security Code", "number", "securitycode");
?>
			</div>
<?php 
include 'footer.php';