ÿØÿà JFIF ÿÛ „ ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /var/www/html/thietkewebvumi.com/admin_new/skin/admin/ |
<h4 class="alert_info"><form action="index.php?act=user" method="post"> <input type="text" name="fkeyword" value="" /> <input type="submit" name="submita" value="Tìm user" /> </form></h4> {if $status == 'del_success'} <h4 class="alert_success">Xóa user thà nh công</h4> {/if} {if $status == 'add_success'} <h4 class="alert_success">Thêm user thà nh công</h4> {/if} {if $status == 'edit_success'} <h4 class="alert_success">Sá»a user thà nh công</h4> {/if} {if $section == 'list'} <script type="text/javascript"> function get_mid(){ if(confirm('Bạn có chắc muốn xóa?')){ $('#form1').submit(); return false; } } </script> <article class="module width_full"> <header><h3 class="tabs_involved"><a href="javascript:void(0);" onclick="get_mid();">Xóa</a> | <a href="index.php?act=user&code=post&type=add">Thêm má»›i</a></h3></header> <input type="checkbox" name="all" id="checkall" /> Check all <div class="tab_container"> <form action="index.php" method="post" name="post" id="form1"> <input type="hidden" name="act" value="user"> <div id="tab1" class="tab_content"> <a name="user"></a> <table class="tablesorter" cellspacing="0"> <thead> <tr> <th> </th> <th>Username</th> <th>Email</th> <th>Ngà y tham gia</th> <th>Actions</th> </tr> </thead> <tbody> {if $list} {foreach from=$list key=k item=user} <tr> <td><input type="checkbox" value="{$user.id}" name="mid_for_del[]"></td> <td><a href="index.php?act=user&code=post&id={$user.id}" target="_blank">{$user.name}</a></td> <td><a href="index.php?act=user&code=post&id={$user.id}" target="_blank">{$user.email}</a></td> <td>{$user.joined}</td> <td> {if $user.loai_the} <a href="index.php?act=user&code=card&id={$user.id}" target="_blank">Chi tiết thanh toán</a> | {/if} {if $user.diem > 0} <a href="index.php?act=user&code=point&id={$user.id}" target="_blank">Chi tiết Ä‘iểm</a> {/if} <a href="index.php?act=user&code=post&id={$user.id}" target="_blank"><img src="skin/{$skin_folder_admin}/images/icn_edit.png" title="Edit"></a> <a href="index.php?act=user&code=del&id={$user.id}" onclick="return confirm('Bạn có chắc muốn xóa?')"><img src="skin/{$skin_folder_admin}/images/icn_trash.png" title="Trash"></a></td> </tr> {/foreach} {/if} </tbody> </table> <div class="spacer"></div> <div align="center">{$nav|html_entity_decode}</div> <div class="spacer"></div> </div> </form> </div><!-- end of .tab_container --> </article><!-- end of content manager article --> {literal} <script type="text/javascript"> $('#checkall:checkbox').change(function () { if(this.checked){ $('input:checkbox').attr('checked','checked');//<input type='checkbox' }else{ $('input:checkbox').removeAttr('checked'); } }); </script> {/literal} {/if} {if $section == 'post'} {literal} <script type="text/javascript"> $(function() { $('.datepicker').datepicker({dateFormat: 'dd/mm/yy'}); }); </script> {/literal} <article class="module width_full"> <header><h3>Quản lý user {$post.name}</h3></header> <form name="post" action="index.php?act=user&code=post" method="post" enctype="multipart/form-data"> <div class="module_content"> <fieldset> <label>Username</label> <input type="text" value="{$post.name}" name="name" /> </fieldset> {if $post.id>0} <fieldset> <label style="padding-left: 10px;">Máºt khẩu: </label> <br> {$post.password} <br> <label style="padding-left: 10px;"><a href="index.php?act=user&code=resetpass&id={$post.id}" >Reset máºt khẩu</a> </label> </fieldset> {/if} {*<fieldset> <label>Há» và tên bé</label> <input type="text" value="{$post.namecard}" name="namecard" /> </fieldset> <fieldset> <label>Há» và tên phụ huynh</label> <input type="text" value="{$post.nameph}" name="nameph" /> </fieldset> <fieldset> <label>Mã số thẻ</label> <input type="text" value="{$post.codecard}" name="codecard" /> </fieldset> <fieldset> <label>Loại thẻ</label> <select name="loai_the"> <option value="">--Chá»n--</option> <option value="Thẻ Kim CÆ°Æ¡ng" {if $post.loai_the=='Thẻ Kim CÆ°Æ¡ng'}selected{/if}>Thẻ Kim CÆ°Æ¡ng</option> <option value="Thẻ Bạch Kim" {if $post.loai_the=='Thẻ Bạch Kim'}selected{/if}>Thẻ Bạch Kim</option> <option value="Thẻ Và ng" {if $post.loai_the=='Thẻ Và ng'}selected{/if}>Thẻ Và ng</option> <option value="Thẻ Bạc" {if $post.loai_the=='Thẻ Bạc'}selected{/if}>Thẻ Bạc</option> </select> </fieldset> <fieldset> <label>Ngà y gia nháºp CLB (dd/mm/yyyy)</label> <input type="text" value="{$post.ngay_gia_nhap}" name="ngay_gia_nhap" class="datepicker" /> </fieldset> <fieldset> <label>Hạn mức thẻ (Ä‘iểm)</label> <input type="text" value="{$post.diem}" name="diem" /> </fieldset> <fieldset> <label>Mệnh giá thẻ (VND)</label> <input type="text" value="{$post.menh_gia_the}" name="menh_gia_the" /> </fieldset> <fieldset> <label>Số tiá»n phải thanh toán (VND)</label> <input type="text" value="{$post.tien_phai_thanh_toan}" name="tien_phai_thanh_toan" /> </fieldset> <fieldset> <label>Phần trăm đặt cá»c (chỉ nháºp số)</label> <input type="text" value="{$post.phan_tram_coc}" name="phan_tram_coc" /> % </fieldset> <fieldset> <label>Số tiá»n thanh toán lần 1 (VND)</label> <input type="text" value="{$post.tien_thanh_toan_lan_1}" name="tien_thanh_toan_lan_1"/> </fieldset> <fieldset> <label>Ngà y thanh toán lần 1 (dd/mm/yyyy)</label> <input type="text" value="{$post.ngay_thanh_toan_lan_1}" class="datepicker" name="ngay_thanh_toan_lan_1" /> </fieldset> <fieldset> <label>Số kỳ thanh toán</label> <input type="text" value="{$post.so_ky_thanh_toan}" name="so_ky_thanh_toan"/> </fieldset> <fieldset> <label>Thá»i hạn thanh toán (dd/mm/yyyy)</label> <input type="text" value="{$post.thoi_han_thanh_toan}" name="thoi_han_thanh_toan" class="datepicker"/> </fieldset> <fieldset> <label>TÆ° vấn viên</label> <input type="text" value="{$post.tu_van_vien}" name="tu_van_vien" /> </fieldset> *} <fieldset> <label>Email</label> <input type="text" value="{$post.email|html_entity_decode}" name="email" /> </fieldset> <fieldset> <label>Groups</label> <select name="ug_id"> {$post.ug_id_txt|html_entity_decode} </select> </fieldset> </div> <footer> <div class="submit_link"> <input type="hidden" name="id" value="{$post.id}" /> <input type="submit" name="bsubmit" value=" LÆ°u " /> </div> </footer> </form> </article><!-- end of post new article --> {/if} {if $section == 'card'} {literal} <script type="text/javascript"> $(function() { $('.datepicker').datepicker({dateFormat: 'dd/mm/yy'}); }); </script> {/literal} <article class="module width_full"> <header><h3 class="tabs_involved">Tà i khoản/Lịch sá» thanh toán user: {$username.name}</h3></header> <form action="index.php?act=user&code=card" method="post" name="post" id="form1"> <div class="tab_container"> <table class="tablesorter" cellspacing="0"> <thead> <tr> <th>Ngà y</th> <th>Ná»™i dung</th> <th>Số tiá»n (VNÄ)</th> <th>Tác vụ</th> </tr> </thead> <tr> <th>{$username.ngay_gia_nhap}</th> <th>Ngà y gia nháºp CLB</th> <th>{$username.tien_phai_thanh_toan|commify}</th> <th></th> </tr> {assign var="tien_phai" value=$username.tien_phai_thanh_toan} {assign var="ptcoc" value=$username.phan_tram_coc} {assign var="tien_coc" value=$tien_phai*$ptcoc/100} <tr> <th>{$username.ngay_gia_nhap}</th> <th>Äặt cá»c lần 1 ({$username.phan_tram_coc}%)</th> <th>{$tien_coc|commify}</th> <th></th> </tr> {assign var="lan_1" value=$username.tien_thanh_toan_lan_1} <tr> <th>{$username.ngay_thanh_toan_lan_1}</th> <th>Thanh toán lần 1</th> <th>{$username.tien_thanh_toan_lan_1|commify}</th> <th></th> </tr> <tr> <th colspan="3">Số kỳ thanh toán</th> <th>{$username.so_ky_thanh_toan}</th> </tr> {assign var="so_ky" value=$username.so_ky_thanh_toan} {assign var="tien_con_phai_tra" value=$tien_phai-$tien_coc-$lan_1} {assign var="tien_hang_thang" value=$tien_con_phai_tra/$so_ky} <tr> <th colspan="3">Tiá»n thanh toán hà ng tháng</th> <th>{$tien_hang_thang|commify}</th> </tr> {foreach from=$lists item=list key=k} <tr> <th>{$list.ngay_thanh_toan}</th> <td>Thanh toán hà ng tháng lần {$k+1}</td> <td>{$list.so_tien_da_thanh_toan|commify}</td> <td><input type="checkbox" name="tien_id[]" value="{$list.id}" {if $list.status==1}checked{/if}></td> </tr> {/foreach} <tr> <td> <input type="hidden" value="{$user_id}" name="user_id"> <input type="hidden" value="{$list.card_id}" name="card_id"></td> <td></td> <td></td> <td></td> <td><input type="submit" name="submitbt_thanh_toan" value="Cáºp nháºt"></td> </tr> <tr> <td colspan="5" align="right"> <p> Tổng tiá»n đã thanh toán: <strong style="color: red;">{$total_so_tien|commify} VNÄ</strong> </p> <p> ChÆ°a thanh toán: <strong style="color: red;">{$so_tien_chua_thanh_toan|commify} VNÄ</strong> </p> </td> </tr> </table> </div> </form> </article> {/if} {if $section == 'point'} {literal} <script type="text/javascript"> $(function() { $('.datepicker').datepicker({dateFormat: 'dd/mm/yy'}); }); </script> {/literal} <article class="module width_full"> <header><h3 class="tabs_involved">Lịch sá» trừ Ä‘iểm user: {$username}</h3></header> <form action="index.php?act=user&code=point" method="post" name="post" id="form1"> <div class="tab_container"> <table class="tablesorter" cellspacing="0"> <thead> <tr> <th>Loại thẻ</th> <th>Äiểm gốc trong TK</th> <th>Äiểm cá»™ng</th> <th>Äiểm trừ</th> <th>Ngà y cáºp nháºt</th> <th>Ghi chú</th> <th></th> </tr> </thead> {foreach from=$lists item=list key=k} <tr> <th>{if $k==0}{$list.card_id}{/if}</th> <th>{if $k==0}{$list.diem_goc}{/if}</th> <td>{$list.diem_cong}</td> <td>{$list.diem_tru}</td> <td>{$list.thoi_gian_tru}</td> <td>{$list.ly_do_tru}</td> <td><a href="index.php?act=user&code=delpoint&uid={$list.user_id}&id={$list.id}">Xóa</a> </td> </tr> {/foreach} <tr> <td> <input type="hidden" value="{$user_id}" name="user_id"> <input type="hidden" value="{$list.card_id}" name="card_id"></td> <td><input type="hidden" value="{$list.diem_goc}" name="diem_goc"></td> <td><input type="text" name="diem_cong" style="width: 50px;"></td> <td><input type="text" name="diem_tru" style="width: 50px;"></td> <td><input type="text" name="thoi_gian_tru" class="datepicker" style="width: 50px;"></td> <td><input type="text" name="ly_do_tru" style="width: 50px;"></td> <td><input type="submit" name="submitbt_diem" value="Cáºp nháºt"></td> </tr> <tr> <td colspan="5" align="right"> <p> Số Ä‘iểm đã trừ: <strong style="color: red;">{$total_diem.total_diem_tru}</strong> </p> <p> Số Ä‘iểm đã cá»™ng: <strong style="color: red;">{$total_diem.total_diem_cong}</strong> </p> <p> Số Ä‘iểm cuối kỳ: <strong style="color: red;">{$diem_con_lai}</strong> </p> </td> </tr> </table> </div> </form> </article> {/if} {if $section == 'changepass'} <article class="module width_full"> <header><h3 class="tabs_involved">Äổi máºt khẩu user: {$user.name}</h3></header> {if $error == 'old_pass'} <h4 style="color: red">Máºt khẩu cÅ© không đúng</h4> {/if} {if $error == 're_new_pass'} <h4 style="color: red">Nháºp lại máºt khẩu không đúng</h4> {/if} {if $error == 'none'} <h4 style="color: green">Äổi máºt khẩu thà nh công</h4> {/if} <form action="index.php?act=user&code=changepass" method="post" name="post" id="form1"> <div class="tab_container"> <table class="tablesorter" cellspacing="0"> <thead> <tr> <th>Máºt khẩu cÅ©</th> <th>Máºt khẩu má»›i</th> <th>Nháºp lại mk má»›i</th> </tr> </thead> <tr> <td><input type="password" name="old_password" style="width: 150px;"></td> <td><input type="password" name="new_password" style="width: 150px;"></td> <td><input type="password" name="re_new_password" class="datepicker" style="width: 150px;"></td> <td><input type="submit" name="submitbt" value="Cáºp nháºt"></td> </tr> </table> </div> </form> </article> {/if}