Subversion Repositories cheapmusic

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
103 - 1
<?php echo showSectionHead($spTextPanel['New User']); ?>
2
<form id="newUser">
3
<input type="hidden" name="sec" value="create"/>
4
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list">
5
	<tr class="listHead">
6
		<td class="left" width='30%'><?php echo $spTextPanel['New User']?></td>
7
		<td class="right">&nbsp;</td>
8
	</tr>
9
	<tr class="white_row">
10
		<td class="td_left_col"><?php echo $spText['login']['Username']?>:</td>
11
		<td class="td_right_col"><input type="text" name="userName" value="<?php echo $post['userName']?>"><?php echo $errMsg['userName']?></td>
12
	</tr>
13
	<tr class="blue_row">
14
		<td class="td_left_col"><?php echo $spText['login']['Password']?>:</td>
15
		<td class="td_right_col"><input type="password" name="password" value="<?php echo $post['password']?>"><?php echo $errMsg['password']?></td>
16
	</tr>
17
	<tr class="white_row">
18
		<td class="td_left_col"><?php echo $spText['login']['Confirm Password']?>:</td>
19
		<td class="td_right_col"><input type="password" name="confirmPassword" value="<?php echo $post['confirmPassword']?>"><?php echo $errMsg['confirmPassword']?></td>
20
	</tr>
21
	<tr class="blue_row">
22
		<td class="td_left_col"><?php echo $spText['login']['First Name']?>:</td>
23
		<td class="td_right_col"><input type="text" name="firstName" value="<?php echo $post['firstName']?>"><?php echo $errMsg['firstName']?></td>
24
	</tr>
25
	<tr class="white_row">
26
		<td class="td_left_col"><?php echo $spText['login']['Last Name']?>:</td>
27
		<td class="td_right_col"><input type="text" name="lastName" value="<?php echo $post['lastName']?>"><?php echo $errMsg['lastName']?></td>
28
	</tr>
29
	<tr class="blue_row">
30
		<td class="td_left_col"><?php echo $spText['login']['Email']?>:</td>
31
		<td class="td_right_col"><input type="text" name="email" value="<?php echo $post['email']?>"><?php echo $errMsg['email']?></td>
32
	</tr>
33
	<tr class="white_row">
34
		<td class="td_left_col"><?php echo $spText['login']['User Type']?>:</td>
35
		<td class="td_right_col">
36
			<select name="userType">
37
				<?php foreach ($userTypeList as $key => $val) {?>
38
					<?php if ($post['userType'] == $val['id']) {?>
39
						<option value="<?php echo $val['id']?>" selected><?php echo $val['user_type']?></option>
40
					<?php } else {?>
41
						<option value="<?php echo $val['id']?>"><?php echo $val['user_type']?></option>
42
					<?php }?>
43
				<?php }?>
44
			</select>
45
		</td>
46
	</tr>
47
	<tr class="blue_row">
48
		<td class="td_left_col"><?php echo $spTextUser['Expiry Date']?>:</td>
49
		<td class="td_right_col">
50
			<input type="text" name="expiry_date" value="<?php echo $post['expiry_date']?>" class="date_fld">
51
			<script type="text/javascript">
52
			$(function() {
53
				$( "input[name='expiry_date']").datepicker({dateFormat: "yy-mm-dd"});
54
			});
55
		  	</script>
56
    		<p><?php echo $errMsg['expiry_date']?></p>
57
		</td>
58
	</tr>
59
	<tr class="white_row">
60
		<td class="tab_left_bot_noborder"></td>
61
		<td class="tab_right_bot"></td>
62
	</tr>
63
	<tr class="listBot">
64
		<td class="left" colspan="1"></td>
65
		<td class="right"></td>
66
	</tr>
67
</table>
68
<table width="100%" cellspacing="0" cellpadding="0" border="0" class="actionSec">
69
	<tr>
70
    	<td style="padding-top: 6px;text-align:right;">
71
    		<a onclick="scriptDoLoad('users.php', 'content', 'layout=ajax')" href="javascript:void(0);" class="actionbut">
72
         		<?php echo $spText['button']['Cancel']?>
73
         	</a>&nbsp;
74
         	<?php $actFun = SP_DEMO ? "alertDemoMsg()" : "scriptDoLoadPost('users.php', 'newUser', 'content')"; ?>
75
         	<a onclick="<?php echo $actFun?>" href="javascript:void(0);" class="actionbut">
76
         		<?php echo $spText['button']['Proceed']?>
77
         	</a>
78
    	</td>
79
	</tr>
80
</table>
81
</form>