1 <?php echo form_open("user/register/$redirect") ?>
4 <td class="form-header"></td>
5 <td><span class="required"><?php echo $this->lang->line('user_note_required_fields') ?></span></td>
8 <tr><td></td><td> </td></tr>
11 <th><?php echo $this->lang->line('user_username'). ' <span class="required">*</span> ' ?></th>
13 <input type="text" name="username" size="16" value="<?php echo set_value('username') ?>" />
16 <tr><td></td><td><?php echo form_error('username') ?></td></tr>
19 <th><?php echo $this->lang->line('user_password'). ' <span class="required">*</span> ' ?></th>
21 <input type="password" name="password" size="16" value="" />
24 <tr><td></td><td><?php echo form_error('password') ?></td></tr>
27 <th><?php echo $this->lang->line('user_password_confirmation'). ' <span class="required">*</span> ' ?></th>
29 <input type="password" name="password-confirmation" size="16" value="" />
32 <tr><td></td><td><?php echo form_error('password-confirmation') ?></td></tr>
35 <th><?php echo $this->lang->line('user_email'). ' <span class="required">*</span> ' ?></th>
37 <input type="text" name="email" size="16" value="<?php echo set_value('email') ?>" />
40 <tr><td></td><td><?php echo form_error('email') ?></td></tr>
42 <tr><td></td><td> </td></tr>
45 <th><?php echo $this->lang->line('user_first_name'). ' <span class="required">*</span> ' ?></th>
47 <input type="text" name="first-name" size="16" value="<?php echo set_value('first-name') ?>" />
50 <tr><td></td><td><?php echo form_error('first-name') ?></td></tr>
53 <th><?php echo $this->lang->line('user_last_name'). ' <span class="required">*</span> ' ?></th>
55 <input type="text" name="last-name" size="16" value="<?php echo set_value('last-name') ?>" />
58 <tr><td></td><td><?php echo form_error('last-name') ?></td></tr>
61 <th><?php echo $this->lang->line('user_birth_date'). ' ' ?></th>
63 <input type="text" name="birth-date" id="birth-date" size="16" value="<?php echo set_value('birth-date') ?>" /> (<?php echo $this->lang->line('user_date_format_hint') ?>)
66 <tr><td></td><td><?php echo form_error('birth-date') ?></td></tr>
69 <th><?php echo $this->lang->line('user_country'). ' <span class="required">*</span> ' ?></th>
71 <?php echo country_dropdown('country', array('RO'), set_value('country', 'RO')) ?>
74 <tr><td></td><td><?php echo form_error('country') ?></td></tr>
77 <th><?php echo $this->lang->line('user_locality'). ' ' ?></th>
79 <input type="text" name="locality" size="16" value="<?php echo set_value('locality') ?>" />
82 <tr><td></td><td><?php echo form_error('locality') ?></td></tr>
84 <tr><td></td><td> </td></tr>
87 <th><?php echo $this->lang->line('user_ui_lang'). ' ' ?></th>
89 <?php echo available_languages_dropdown('ui-lang', set_value('ui-lang', 'en')) ?>
92 <tr><td></td><td><?php echo form_error('ui-lang') ?></td></tr>
95 <th><?php echo $this->lang->line('user_time_zone'). ' <span class="required">*</span> ' ?></th>
97 <?php echo timezone_menu(set_value('time-zone', 'UP2')) ?>
100 <tr><td></td><td><?php echo form_error('time-zone') ?></td></tr>
102 <tr><td></td><td> </td></tr>
107 <input type="submit" value="<?php echo $this->lang->line('ui_nav_menu_register') ?>" />
113 <script type="text/javascript">
115 $( "#birth-date" ).datepicker({
116 dateFormat: "yy-mm-dd",
119 yearRange: '1910:2011',
121 buttonImage: "<?php echo site_url('img/calendar.gif') ?>",
122 buttonImageOnly: true