���� 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=menu" method="post"> <input type="text" name="fkeyword" value="" /> <input type="submit" name="submita" value="Tìm menu" /> </form> </h4> {if $status == 'del_success'}<h4 class="alert_success">Xóa menu thành công</h4>{/if} {if $status == 'add_success'}<h4 class="alert_success">Thêm menu thành công</h4>{/if} {if $status == 'edit_success'}<h4 class="alert_success">Sửa menu thành công</h4>{/if} {if $section == 'list'} <script type="text/javascript"> function get_mid(type){ switch(type){ case 'del': if(confirm('Lưu ý: Khi xóa menu, tất cả các menu con và bài viết thuộc menu, menu con của menu này sẽ bị xóa theo, bạn có chắc muốn xóa?')){ $('#type').attr('value','del'); $('#form1').submit(); return false; } break; default: $('#type').attr('value',type); $('#form1').submit(); return false; break; } } </script> <article class="module width_full"> <form action="index.php" method="post" name="post" id="form1"> <header> <h3 class="tabs_involved"> <a href="javascript:void(0);" onclick="get_mid('del');">Xóa</a> | <a href="javascript:void(0);" onclick="get_mid('active');">Kích hoạt</a> | <a href="javascript:void(0);" onclick="get_mid('deactive');">Bỏ kích hoạt</a> | <a href="javascript:void(0);" onclick="get_mid('hot');">Nổi bật</a> | <a href="javascript:void(0);" onclick="get_mid('dehot');">Bỏ nổi bật</a> | <a href="javascript:void(0);" onclick="get_mid('pos_value_active');">Cập nhật vị trí</a> </h3> </header> {if $list} <input type="checkbox" name="all" id="checkall" /> Check all <div class="tab_container"> <input type="hidden" name="act" value="menu"> <input type="hidden" id="type" name="type" value=""> <div id="tab1" class="tab_content"> <a name="menu"></a> <table class="tablesorter" cellspacing="0"> <thead> <tr> <th> </th> <th>Vị trí</th> <th>Tiêu đề</th> <th>Icon</th> <th>Ngày gửi</th> <th>Kích hoạt</th> {*<th>Nổi bật</th>*} <th>Actions</th> </tr> </thead> <tbody> {if $list} {foreach from=$list key=k item=menu} <tr> <td><input type="checkbox" value="{$menu.id}" name="mid_for_del[]" class="check_btn"></td> <td><input style="width: 50px;" type="text" value="{$menu.pos}" name="pos_value[{$menu.id}]"></td> <td><a href="index.php?act=menu&code=post&id={$menu.id}">{$menu.title}</a></td> <td>{if $menu.icon}<a href="index.php?act=menu&code=post&id={$menu.id}"><img src="../upload/menu/{$menu.icon}" width="15" border="0"></a>{/if}</td> <td>{$menu.time}</td> <td>{if $menu.status==1}<img src="skin/{$skin_folder_admin}/images/icn_alert_success.png" title="Đang hoạt động">{else}<img src="skin/{$skin_folder_admin}/images/icn_alert_info.png" title="Chưa kích hoạt">{/if}</td> <td><a href="index.php?act=menu&code=post&id={$menu.id}"><img src="skin/{$skin_folder_admin}/images/icn_edit.png" title="Sửa"></a> <a href="index.php?act=menu&code=del&id={$menu.id}" onclick="return confirm('Bạn có chắc muốn xóa?')"><img src="skin/{$skin_folder_admin}/images/icn_trash.png" title="Xóa"></a></td> </tr> {/foreach} {/if} </tbody> </table> <div class="spacer"></div> <div align="center">{$nav|html_entity_decode}</div> <div class="spacer"></div> </div> </div><!-- end of .tab_container --> {else} <div class="tab_container"> <h1 align="center">Chưa có dữ liệu</h1> </div> {/if} </form> </article><!-- end of content manager article --> <h1 align="center"><a href="index.php?act=menu&code=post">Thêm mới</a></h1> <script type="text/javascript"> $('#checkall').click(function() { var self = this; if($(self).is(':checked')) { $('input.check_btn').attr('checked', true); } else { $('input.check_btn').attr('checked', false); location.reload(); } }); </script> {/if} {if $section == 'post'} <script type="text/javascript"> function change_type(type){ if(type=='url'){ $('#url_menu').show(); }else{ $('#url_menu').hide(); } return true; } </script> <article class="module width_full"> <header><h3>Quản lý menu</h3></header> <form name="post" id="post" action="" method="post" enctype="multipart/form-data"> <div class="module_content"> <fieldset> <label>Tiêu đề</label> <input type="text" value="{$post.title|html_entity_decode}" name="title" /> </fieldset> {if $info.showen=='1'} <fieldset> <label>Tiêu đề tiếng Anh</label> <input type="text" value="{$post.etitle|html_entity_decode}" name="etitle" /> </fieldset> {/if} <fieldset> <label>Loại menu</label> <select name="type" style="width:42%;" onchange="change_type(this.value);"> <option value="menu" {if $post.type=='' or $post.type=='menu'}selected{/if}> Menu thường </option> <option value="url" {if $post.type=='url'}selected{/if}> URL </option> </select> </fieldset> <fieldset id="url_menu" {if $post.type!='url'}style="display: none;"{/if}> <label>Nhập URL</label> <input type="text" value="{$post.url}" name="url" /> </fieldset> <fieldset> <label>Icon menu</label> <input type="file" name="image1" /> {if $post.icon}<img src="../upload/menu/thumb_{$post.icon}" width="50" />{/if} </fieldset> <fieldset> <label>Thuộc menu cha</label> <select name="parent_id" style="width:42%;"> {$post.op_menu|html_entity_decode} </select> </fieldset> <fieldset style="width:48%; float:left; margin-right: 3%;"> <label>Vị trí (tăng dần)</label> <input style="width: 50px;" type='text' name='pos' value='{$post.pos}'> </fieldset> <fieldset style="width:70%; float:left; margin-right: 3%;"> <label>Hiển thị top menu?</label> {$post.show_top_menu} </fieldset> <fieldset style="width:70%; float:left; margin-right: 3%;"> <label>Kích hoạt ?</label> {$post.status} </fieldset> </div> <div class="submit_link"> <input type="hidden" name="id" value="{$post.id}" /> <input type="submit" name="bsubmit" value=" Lưu " /> </div> </form> </article><!-- end of post new article --> {/if}