Example #1
0
<?php

require_once '../../lib/defination.class.php';
require_once '../../lib/department.class.php';
require_once '../../lib/office.class.php';
require_once '../../lib/user.class.php';
$UserSection = new User();
$deparment = new Department();
$office = new Office();
$userSec = options_for_select($UserSection->GetUserSection(), 'sec_id', 'sec_name', true);
$output = options_for_select($deparment->GetDepartments(), 'department_id', 'department_name', true);
$office_output = options_for_select($office->GetOffices(), 'office_id', 'office_name', true);
?>
<div id="test">
<form id="userForm" name="userForm" method="post"   action="includes/model/user_actions.php"  >

    <div class="vertical_form">
        <p>
            <label>User Name:</label> 
			<input class="txtfieldwidth" type="text" name="name" id="user_name">
        </p>
        
        <p>	
			 <label for="login">User Login Name</label> 
			 <input class="txtfieldwidth" type="text" name="login" id="user_login">
     	</p>
     	
		<p> 
			<label>Set Password </label>
			<input class="txtfieldwidth" type="password" name="password" value="" id="user_password">
		</p>