1 | <?php
|
---|
2 | $base_url = base_url();
|
---|
3 | $this->load->view('layout/collaborator/header', array('base_url' => $base_url));
|
---|
4 | $this->load->view('layout/collaborator/sidebar', array('base_url' => $base_url));
|
---|
5 | ?>
|
---|
6 | <div class="main-content">
|
---|
7 |
|
---|
8 | <div class="page-content">
|
---|
9 | <div class="page-header">
|
---|
10 | <h1>
|
---|
11 | ThÎng tin cá nhân
|
---|
12 | </h1>
|
---|
13 | </div><!-- /.page-header -->
|
---|
14 |
|
---|
15 | <div class="row">
|
---|
16 | <div class="col-xs-12">
|
---|
17 | <!-- PAGE CONTENT BEGINS -->
|
---|
18 | <div class="collaborator-profile row" id="collaborator-profile-3">
|
---|
19 | <div class="col-sm-offset-1 col-sm-10">
|
---|
20 | <div class="tabbable">
|
---|
21 | <ul class="nav nav-tabs padding-16">
|
---|
22 | <li class="active">
|
---|
23 | <a id="edit-basic-tab" href="#edit-basic" data-toggle="tab">
|
---|
24 | <i class="blue icon-key bigger-125"></i>
|
---|
25 | ThÎng tin cá nhân
|
---|
26 | </a>
|
---|
27 | </li>
|
---|
28 | <li>
|
---|
29 | <a id="edit-password-tab" href="#edit-password" data-toggle="tab">
|
---|
30 | <i class="blue icon-key bigger-125"></i>
|
---|
31 | Thay Äá»i máºt khẩu
|
---|
32 | </a>
|
---|
33 | </li>
|
---|
34 | </ul>
|
---|
35 |
|
---|
36 | <div class="tab-content profile-edit-tab-content">
|
---|
37 | <div class="tab-pane active" id="edit-basic">
|
---|
38 | <form id="frm-update-info" class="form-horizontal" role="form">
|
---|
39 | <h4 class="header blue bolder smaller">ThÎng tin cá nhân</h4>
|
---|
40 | <div class="row">
|
---|
41 | <div class="col-sm-9">
|
---|
42 | <div class="form-group">
|
---|
43 | <label for="form-field-username" class="col-sm-4 control-label no-padding-right">Sá» Äiá»n thoại</label>
|
---|
44 | <div class="col-sm-8">
|
---|
45 | <input type="text" name="username" value="<?php echo $username; ?>" placeholder="Sá» Äiá»n thoại" id="form-field-username" class="col-xs-12 col-sm-10" disabled>
|
---|
46 | </div>
|
---|
47 | </div>
|
---|
48 | <div class="form-group">
|
---|
49 | <label for="form-field-first" class="col-sm-4 control-label no-padding-right">HỠvà tên</label>
|
---|
50 | <label class="block clearfix has-error">
|
---|
51 | <div class="col-sm-8">
|
---|
52 | <input type="text" name="fullname" value="<?php echo $fullname; ?>" placeholder="HỠvà tên" id="form-field-first" class="col-xs-12 col-sm-10">
|
---|
53 | </div>
|
---|
54 | <small><div class="col-sm-8 help-block" id="fullname_err"> </div></small>
|
---|
55 | </label>
|
---|
56 | </div>
|
---|
57 | </div>
|
---|
58 | </div>
|
---|
59 | <div class="clearfix form-actions">
|
---|
60 | <div class="col-md-offset-3 col-md-9">
|
---|
61 | <button type="button" onclick="return updateInfo();" class="btn btn-info">
|
---|
62 | <i class="icon-ok bigger-110"></i>
|
---|
63 | Cáºp nháºt
|
---|
64 | </button>
|
---|
65 | </div>
|
---|
66 | </div>
|
---|
67 | </form>
|
---|
68 | </div>
|
---|
69 |
|
---|
70 | <div class="tab-pane" id="edit-password">
|
---|
71 |
|
---|
72 | <form id="frm-change-password" class="form-horizontal" role="form">
|
---|
73 | <h4 class="header blue bolder smaller">Thay Äá»i máºt khẩu</h4>
|
---|
74 | <div class="form-group">
|
---|
75 | <label for="form-field-passwd" class="col-sm-3 control-label no-padding-right">Máºt khẩu cÅ©</label>
|
---|
76 | <div class="col-sm-9">
|
---|
77 | <label class="block clearfix has-error">
|
---|
78 | <span class="input-icon">
|
---|
79 | <input type="password" name="passwd" id="form-field-pass1">
|
---|
80 | <i class="icon-lock blue"></i>
|
---|
81 | </span>
|
---|
82 |
|
---|
83 | <small><div class="help-block" id="passwd_old_err"> </div></small>
|
---|
84 | </label>
|
---|
85 |
|
---|
86 | </div>
|
---|
87 | </div>
|
---|
88 |
|
---|
89 | <div class="form-group">
|
---|
90 | <label for="form-field-pass1" class="col-sm-3 control-label no-padding-right">Máºt khẩu má»i</label>
|
---|
91 |
|
---|
92 | <div class="col-sm-9">
|
---|
93 | <label class="block clearfix has-error">
|
---|
94 | <span class="input-icon">
|
---|
95 | <input type="password" name="passwd_new" id="form-field-pass1">
|
---|
96 | <i class="icon-lock blue"></i>
|
---|
97 | </span>
|
---|
98 | <small><div class="help-block" id="passwd_new_err"> </div></small>
|
---|
99 | </label>
|
---|
100 | </div>
|
---|
101 | </div>
|
---|
102 |
|
---|
103 | <div class="space-4"></div>
|
---|
104 |
|
---|
105 | <div class="form-group">
|
---|
106 | <label for="form-field-pass2" class="col-sm-3 control-label no-padding-right">Gõ lại máºt khẩu má»i</label>
|
---|
107 | <div class="col-sm-9">
|
---|
108 | <label class="block clearfix has-error">
|
---|
109 | <span class="input-icon">
|
---|
110 | <input type="password" name="confirm_passwd_new" id="form-field-pass2">
|
---|
111 | </span>
|
---|
112 | <small><div class="help-block" id="confirm_passwd_new_err"> </div></small>
|
---|
113 | </label>
|
---|
114 | </div>
|
---|
115 | </div>
|
---|
116 | <div class="clearfix form-actions">
|
---|
117 | <div class="col-md-offset-3 col-md-9">
|
---|
118 | <button type="button" onclick="return changePassword(<?php echo $collaborator_id; ?>);" class="btn btn-info">
|
---|
119 | <i class="icon-ok bigger-110"></i>
|
---|
120 | Thay Äá»i
|
---|
121 | </button>
|
---|
122 | </div>
|
---|
123 | </div>
|
---|
124 |
|
---|
125 | </form>
|
---|
126 | </div>
|
---|
127 |
|
---|
128 |
|
---|
129 | </div>
|
---|
130 | </div>
|
---|
131 | </div><!-- /span -->
|
---|
132 | </div>
|
---|
133 |
|
---|
134 | <!-- PAGE CONTENT ENDS -->
|
---|
135 | </div><!-- /.col -->
|
---|
136 | </div><!-- /.row -->
|
---|
137 | </div><!-- /.page-content -->
|
---|
138 | </div><!-- /.main-content -->
|
---|
139 | </div><!-- /.main-container-inner -->
|
---|
140 | </div><!-- /.main-container -->
|
---|
141 |
|
---|
142 | <div class="modal fade" id="updateInfoSuccess" tabindex="-1" role="dialog"aria-hidden="true">
|
---|
143 | <div class="modal-dialog">
|
---|
144 | <div class="modal-content">
|
---|
145 | <div class="modal-header">
|
---|
146 | <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
|
---|
147 | <h4 class="modal-title">Cáºp nháºt thÃŽng tin</h4>
|
---|
148 | </div>
|
---|
149 | <div class="modal-body">
|
---|
150 | <div class="alert alert-block alert-success"><center><?php echo lang('_SBG_USER_UPDATE_INFO_SUCCESS_MSG'); ?><center></div>
|
---|
151 | <center><button id="close" class="btn btn-primary" data-dismiss="modal">Äóng</button></center>
|
---|
152 | </div>
|
---|
153 |
|
---|
154 | </div>
|
---|
155 | </div>
|
---|
156 | </div>
|
---|
157 |
|
---|
158 | <div class="modal fade" id="changePassSuccess" tabindex="-1" role="dialog"aria-hidden="true">
|
---|
159 | <div class="modal-dialog">
|
---|
160 | <div class="modal-content">
|
---|
161 | <div class="modal-header">
|
---|
162 | <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
|
---|
163 | <h4 class="modal-title">Äá»i máºt khẩu</h4>
|
---|
164 | </div>
|
---|
165 | <div class="modal-body">
|
---|
166 | <div class="alert alert-block alert-success"><center><?php echo lang('_SBG_USER_PASSWORD_CHANGE_SUCCESS_MSG'); ?></center></div>
|
---|
167 | <center><button class="btn btn-primary" data-dismiss="modal">Äóng</button></center>
|
---|
168 | </div>
|
---|
169 |
|
---|
170 | </div>
|
---|
171 | </div>
|
---|
172 | </div>
|
---|
173 |
|
---|
174 | <?php
|
---|
175 | $this->load->view('layout/collaborator/footer', array('base_url' => $base_url, 'collaboratorjs' => array('assets/js/collaborator/collaborator.js') ));
|
---|
176 | ?> |
---|