コード例 #1
0
?>
</td></tr>
<tr><td>First Name</td><td><?php 
ctrl_input_field($errors, 'text', 'REQUIRED', 'firstName', '', 'txtFirstName', $ownerDetails['firstName']);
?>
</td></tr>
<tr><td>Last Name</td><td><?php 
ctrl_input_field($errors, 'text', 'OPTIONAL', 'lastName', '', 'txtLastName', $ownerDetails['lastName']);
?>
</td></tr>
<tr><td>Date of Birth</td><td><?php 
ctrl_input_field($errors, 'date', 'OPTIONAL', 'DOB', '', 'dtpDOB', $ownerDetails['DOB']);
?>
</td></tr>
<?php 
$genderValues = array('male', 'female');
$genderLabels = array('Male', 'Female');
?>
<tr><td><?php 
ctrl_input_radio($errors, 'gender', $genderValues, $genderLabels, 'classNameNotImplemented', $selectedGender);
?>
</td></tr>
<tr><td><?php 
ctrl_submit('Save');
?>
</td></tr>
</tbody>
</table>
</form>
</body>
</html>
コード例 #2
0
?>
</td></tr>
</tbody>
</table>
=======
<html>
<title>Register Tenant</title>
<head>
<link rel='stylesheet' href = 'css/global.css' type = 'text/css'/>
<link rel='stylesheet' href = 'css/registerTenant.css' type = 'text/css'/>
</head>
<body>
<?php 
include '/includes/content/topNav.php';
?>
<form class= 'regForm' action = "register.php" method = "POST" name = "registerTenantAccount">
<?php 
ctrl_input_field($errors, 'text', 'REQUIRED', 'email', 'Your Email', 'txtEmail');
ctrl_input_field($errors, 'text', 'REQUIRED', 'password', 'New Password', 'txtPassword');
ctrl_input_field($errors, 'text', 'REQUIRED', 'firstName', 'First Name', 'txtFirstName');
ctrl_input_field($errors, 'text', 'OPTIONAL', 'lastName', 'Last Name', 'txtLastName');
ctrl_input_field($errors, 'date', 'OPTIONAL', 'DOB', 'Date of Birth', 'dtpDOB');
$genderValues = array('male', 'female');
$genderLabels = array('Male', 'Female');
ctrl_input_radio($errors, 'gender', $genderValues, $genderLabels, 'classNameNotImplemented', 'male');
ctrl_submit('Register');
?>
>>>>>>> origin/master
</form>
</body>
</html>