ÿØÿà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/phim.tpl
<h4 class="alert_info">
    <form action="index.php" method="get">
    <input type="hidden" value="phim" name="act">
    <input type="text" name="fkeyword" value="" />
    <input type="submit" name="submita" value="Tìm phim" />
    </form>
</h4>
{if $status == 'del_success'}
<h4 class="alert_success">Xóa phim thành công</h4>
{/if}
{if $status == 'add_success'}
<h4 class="alert_success">Thêm phim thành công</h4>
{/if}
{if $status == 'edit_success'}
<h4 class="alert_success">Sửa phim 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_phimdecu');">Phim Ä‘á» cá»­</a> |
            <a href="javascript:void(0);" onclick="get_mid('deactive_phimdecu');">Bá» phim Ä‘á» cá»­</a> |
            <a href="javascript:void(0);" onclick="get_mid('active_hot');">Phim Hot</a> |
            <a href="javascript:void(0);" onclick="get_mid('deactive_hot');">Bá» Phim Hot</a> |
            <a href="javascript:void(0);" onclick="get_mid('active');">Kích hoạt</a> |
            <a href="javascript:void(0);" onclick="get_mid('de_active');">BỠKích hoạt</a> |

            <a href="index.php?act=phim&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="phim">
            <input type="hidden" id="type" name="type" value="">
        <div id="tab1" class="tab_content">
            <a name="phim"></a>
            <table class="tablesorter" cellspacing="0">
                <thead>
                <tr>
                    <th> </th>
                    <th>Tên phim</th>
                    <th>Hình</th>
                    <th>Tên phim Eng</th>
                    <th>Số tập</th>
                    <th>Phim Ä‘á» cá»­</th>
                    <th>Phim Hot</th>
                    <th>Tình trạng</th>
                    <th>Actions</th>
                </tr>
                </thead>
                <tbody>
                {if $a_home}
                    {foreach from=$a_home key=k item=phim}
                <tr>
                    <td><input type="checkbox" value="{$phim.id}" name="mid_for_del[]"></td>
                    <td><a href="index.php?act=phim&code=post&id={$phim.id}" target="_blank">{$phim.title_vi}</a></td>
                    <td><a href="index.php?act=phim&code=post&id={$phim.id}" target="_blank"><img src="{$phim.img}" width="30" height="40" border="0"></a></td>
                    <td>{$phim.title_en} ({$phim.namphathanh})</td>
                    <td>{$phim.sotap_daup}/{$phim.sotap}</td>
                    <td>{$phim.phimdecu}</td>
                    <td>{$phim.hot}</td>
                    <td>{$phim.status}</td>
                    <td><a href="index.php?act=phim&code=post&id={$phim.id}" target="_blank"><img src="skin/{$skin_folder_admin}/images/icn_edit.png" title="Edit"></a> <a href="index.php?act=phim&code=del&id={$phim.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" class="pagination"><ul>{$nav|html_entity_decode}</ul></div>
            <div class="spacer"></div>
        </div>
        </form>

    </div><!-- end of .tab_container -->

</article><!-- end of content manager article -->
    {literal}
    <script type="text/javascript">
        $("#checkAll").change(function () {
            $("input:checkbox").prop('checked', $(this).prop("checked"));
        });
    </script>
    {/literal}
{/if}


{if $section == 'post'}
    <script>
        function getinfo_phimmoi() {
            $('#click_phimmoi').html('Loading...');
            var url = $('#url_phimmoi').val();
            var url2 = $('#url_imdb').val();
            $.ajax({
                type: 'GET',
                url: 'index.php',
                data: 'act=phim&code=info_phimmoi&url='+url+'&url2='+url2,
                dataType: 'json',
                success: function(response) {
                    $('#title_vi').attr('value',response.title_vi);
                    $('#title_en').attr('value',response.title_en);
                    $('#img').attr('value',response.img);
                    $('textarea#plot').val(response.plot);
                    $('#sotap').attr('value',response.sotap);
                    $('textarea#linkphim_vietsub').val(response.linkphim_vietsub);
                    $('textarea#linkphim_tm').val(response.linkphim_tm);
                    $('#basic_link').attr('value',response.basic_link);
                    $('#click_phimmoi').html('Done!');
                }
            });
        }

        function getinfo_imdb() {
            $('#click_imdb').html('Loading...');
            var url = $('#url_imdb').val();
            $.ajax({
                type: 'POST',
                url: 'index.php',
                data: 'act=phim&code=info_imdb&url='+url,
                dataType: 'json',
                success: function(response) {
                    $('#title_en').attr('value',response.title_en);
                    $('#title_other').attr('value',response.title_other);
                    $('#img').attr('value',response.img);
                    $('#namphathanh').attr('value',response.namphathanh);
                    $('#dodai').attr('value',response.dodai);
                    $('#daodien').attr('value',response.daodien);
                    $('#dienvien').attr('value',response.dienvien);
                    $('textarea#plot_en').val(response.plot_en);
                    $('#click_imdb').html('Done!');
                }
            });
        }
        function getinfo_vkool() {
            $('#click_vkool').html('Loading...');
            var url = $('#url_vkool').val();
            $.ajax({
                type: 'GET',
                url: 'index.php',
                data: 'act=phim&code=info_vkool&url='+url,
                dataType: 'json',
                success: function(response) {
                    $('#title_vi').attr('value',response.title_vi);
                    $('#title_en').attr('value',response.title_en);

                    $('#img').attr('value',response.img);
                    //$('#namphathanh').attr('value',response.namphathanh);
                    //$('#dodai').attr('value',response.dodai);
                    //$('#daodien').attr('value',response.daodien);
                    //$('#dienvien').attr('value',response.dienvien);
                    //$('#sotap').attr('value',response.sotap);
                    $('textarea#plot').val(response.plot);
                    //$('textarea#plot_en').val(response.plot_en);
                    //$('textarea#linkphim_vietsub').val(response.linkphim_vietsub);
                    //$('#basic_link').attr('value',response.basic_link);
                    $('#click_vkool').html('Done!');
                }
            });
        }
        function getinfo_zingtv() {
            var url = $('#url_zingtv').val();
            $.ajax({
                type: 'GET',
                url: 'index.php',
                data: 'act=phim&code=info_zingtv&url='+url,
                dataType: '',
                success: function(response) {
                    $('textarea#linkphim_vietsub').val(response);
                }
            });
        }
        function getinfo_anivn() {
            $('#click_anivn').html('Loading...');
            var url = $('#url_anivn').val();
            var url2 = $('#url_imdb').val();
            $.ajax({
                type: 'POST',
                url: 'index.php',
                data: 'act=phim&code=info_anivn&url='+url+'&url2='+url2,
                dataType: 'json',
                success: function(response) {
                    $('#title_vi').attr('value',response.title_vi);
                    $('#title_en').attr('value',response.title_en);
                    $('#title_other').attr('value',response.title_other);
                    $('#img').attr('value',response.img);
                    $('#namphathanh').attr('value',response.namphathanh);
                    $('#dodai').attr('value',response.dodai);
                    $('#daodien').attr('value',response.daodien);
                    $('#dienvien').attr('value',response.dienvien);
                    $('#sotap').attr('value',response.sotap);
                    $('textarea#plot').val(response.plot);
                    $('textarea#plot_en').val(response.plot_en);
                    $('textarea#linkphim_vietsub').val(response.linkphim_vietsub);
                    $('textarea#linkphim_tm').val(response.linkphim_tm);
                    $('textarea#linkphim_lt').val(response.linkphim_lt);
                    $('#basic_link').attr('value',response.basic_link);
                    $('#click_anivn').html('Done!');
                }
            });
        }
        function getinfo_vophim() {
            $('#click_vophim').html('Loading...');
            var url = $('#url_vophim').val();
            $.ajax({
                type: 'GET',
                url: 'index.php',
                data: 'act=phim&code=info_vophim&url='+url,
                dataType: 'json',
                success: function(response) {
                    $('#title_vi').attr('value',response.title_vi);
                    $('#title_en').attr('value',response.title_en);
                    $('#img').attr('value',response.img);
                    $('#namphathanh').attr('value',response.namphathanh);
                    $('#dodai').attr('value',response.dodai);
                    $('#daodien').attr('value',response.daodien);
                    $('#dienvien').attr('value',response.dienvien);
                    $('#sotap').attr('value',response.sotap);
                    $('textarea#plot').val(response.plot);
                    $('#click_vophim').html('Done!');
                }
            });
        }
        function getinfo_mydramalist() {
            $('#click_mydramalist').html('Loading...');
            var url = $('#url_mydramalist').val();
            $.ajax({
                type: 'GET',
                url: 'index.php',
                data: 'act=phim&code=info_mydramalist&url='+url,
                dataType: 'json',
                success: function(response) {
                    //$('#title_vi').attr('value',response.title_vi);
                    $('#title_en').attr('value',response.title_en);
                    $('#title_other').attr('value',response.title_other);
                    $('#img').attr('value',response.img);
                    $('#namphathanh').attr('value',response.namphathanh);
                    $('#dodai').attr('value',response.dodai);
                    $('#daodien').attr('value',response.daodien);
                    $('#dienvien').attr('value',response.dienvien);
                    $('#sotap').attr('value',response.sotap);
                    //$('textarea#plot').val(response.plot);
                    $('textarea#plot_en').val(response.plot_en);
                    //$('textarea#linkphim_vietsub').val(response.linkphim_vietsub);
                   // $('textarea#linkphim_tm').val(response.linkphim_tm);
                    //$('#basic_link').attr('value',response.basic_link);
                    $('#click_mydramalist').html('Done!');
                }
            });
        }
        function getinfo_ophim1() {
            $('#click_ophim1').html('Loading...');
            var url = $('#url_ophim1').val();
            $.ajax({
                type: 'GET',
                url: 'index.php',
                data: 'act=phim&code=info_ophim1&url='+url,
                dataType: 'json',
                success: function(response) {
                    $('#linkphim_vietsub').val(response.linkphim_vietsub);
                    $('#title_vi').attr('value',response.title_vi);
                    $('#title_en').attr('value',response.title_en);
                    $('#title_other').attr('value',response.title_en);
                    $('#img').attr('value',response.img);
                    $('#hinhthuc').val(response.hinhthuc).change();
                    $('#ngonngu').val(response.ngonngu).change();
                    $('#chatluong').attr('value',response.chatluong);
                    $('#namphathanh').attr('value',response.namphathanh);
                    $('#dodai').attr('value',response.dodai);
                    $('#daodien').attr('value',response.daodien);
                    $('#dienvien').attr('value',response.dienvien);
                    $('#sotap').attr('value',response.sotap);
                    $('textarea#plot').val(response.plot);
                    $('#click_ophim1').html('Done!');
                }
            });
        }
    </script>
<article class="module width_full">
    <header><h3>Quản lý phim</h3></header>
 <form name="post" id="post" action="" method="post" enctype="multipart/form-data">
     <input type="hidden" name="f[id]" value="{$post.id}">
    <div class="module_content">
        <fieldset>
            <label>Server Vietsub</label>
            <textarea name="f[linkphim]" style="width:99%; height: 100px;" id="linkphim_vietsub">{$post.linkphim}</textarea>
        </fieldset>
        <fieldset>
            <label>Server thuyết minh</label>
            <textarea name="f[linkphim_tm]" style="width:99%; height: 100px;" id="linkphim_tm">{$post.linkphim_tm}</textarea>
        </fieldset>
        <fieldset>
            <label>URL <a href="javascript:void(0);" onclick="getinfo_ophim1();">ophim1.cc</a></label>
            <input type="text" value="" name="" id="url_ophim1"/>
            <span id="click_ophim1"></span>
        </fieldset>
        <fieldset>
            <label>URL <a href="javascript:void(0);" onclick="getinfo_imdb();" id="click_imdb">IMDB</a></label>
            <input type="text" value="" name="" id="url_imdb"/>
        </fieldset>
        <fieldset>
            <label>URL <a href="javascript:void(0);" onclick="getinfo_mydramalist();" id="click_mydramalist">mydramalist</a></label>
            <input type="text" value="" name="" id="url_mydramalist" placeholder="https://mydramalist.com/4737-kamen-rider-eternal" />
        </fieldset>
        <fieldset>
            <label>Subtitle</label>
            <input type="text" value="{$post.subtitle}" name="f[subtitle]"/>
        </fieldset>
        <fieldset>
            <label>Tên phim tiếng Việt</label>
            <input type="text" value="{$post.title_vi|html_entity_decode}" name="f[title_vi]" id="title_vi" />
        </fieldset>
        <fieldset>
            <label>Tên phim tiếng Anh</label>
            <input type="text" value="{$post.title_en|html_entity_decode}" name="f[title_en]" id="title_en" />
        </fieldset>
        <fieldset>
            <label>Tên khác</label>
            <input type="text" value="{$post.title_other|html_entity_decode}" name="f[title_other]" id="title_other" />
        </fieldset>
        <fieldset>
            <label>Năm phát hành</label>
            <input type="text" value="{$post.namphathanh}" name="f[namphathanh]" id="namphathanh" />
        </fieldset>
        <fieldset>
            <label>Hình phim</label>
            <input name="f[img]" type="text" value="{$post.img}" id="img" />
        </fieldset>
        <fieldset>
            <label>Hình thức</label>
            <select name="f[hinhthuc]" id="hinhthuc">
                {$hinhthuc}
            </select>
        </fieldset>
        <fieldset>
            <label>Ngôn ngữ</label>
            <select name="f[ngonngu][]" multiple="multiple" style="width:60%; height: 80px;" id="ngonngu">
                {$ngonngu}
            </select>
        </fieldset>
        <fieldset>
            <label>Thể loại</label>
            <select name="f[theloai][]" id="theloai" multiple="multiple" style="width:60%; height: 300px;">
                {$theloai}
            </select>
        </fieldset>
        <fieldset>
            <label>Quốc gia</label>
            <select name="f[quocgia][]" id="quocgia" multiple="multiple" style="width:60%; height: 210px;">
                {$quocgia}
            </select>
        </fieldset>
        <fieldset>
            <label>Äá»™ dài</label>
            <input type="text" value="{$post.dodai}" name="f[dodai]" id="dodai" />
        </fieldset>
        <fieldset>
            <label>Äạo diá»…n</label>
            <input type="text" value="{$post.daodien}" name="f[daodien]" id="daodien" />
        </fieldset>
        <fieldset>
            <label>Diễn viên</label>
            <input type="text" value="{$post.dienvien}" name="f[dienvien]" id="dienvien" />
        </fieldset>
        <fieldset>
            <label>Chất lượng</label>
            <input type="text" value="{$post.chatluong}" name="f[chatluong]" id="chatluong"/>
        </fieldset>

        <fieldset>
            <label>Plot Viet</label>
            <textarea name="f[plot]" style="width:99%; height: 110px;" id="plot">{$post.plot}</textarea>
        </fieldset>
        <fieldset>
            <label>Plot English</label>
            <textarea name="f[plot_en]" style="width:99%; height: 110px;" id="plot_en">{$post.plot_en}</textarea>
        </fieldset>
        <fieldset>
            <label>Số tập</label>
            <input type="text" value="{$post.sotap}" name="f[sotap]" value="" id="sotap" />
        </fieldset>
        <fieldset>
            <label>Server lồng tiếng</label>
            <textarea name="f[linkphim_lt]" style="width:99%; height: 100px;" id="linkphim_lt">{$post.linkphim_lt}</textarea>
        </fieldset>

        <fieldset>
            <label>Banner</label>
            <input type="text" value="{$post.link_download}" name="f[link_download]" />
        </fieldset>
        <fieldset>
            <label>Link gốc</label>
            <input name="f[basic_link]" type="text" value="{$post.basic_link}" id="basic_link"/>
        </fieldset>
        <fieldset>
            <label>Phim Ä‘á» cá»­</label>
            {$post.phimdecu}
        </fieldset>
        <fieldset>
            <label>Phim hot</label>
            {$post.hot}
        </fieldset>
        <fieldset>
            <label>Tình trạng hoàn thành</label>
            {$post.status}
        </fieldset>
        <fieldset style="width:48%; float:left; margin-right: 3%;">
            <label>ÄÆ°a TOP:</label>
            <input type="checkbox" value="1" name="f[top]"/>
        </fieldset>
        <fieldset style="width:48%; float:left;">
            <label>Bá» ÄÆ°a TOP:</label>
            <input type="checkbox" value="1" name="f[un_top]" />
        </fieldset>
    </div>
     <div class="submit_link" style="position: fixed; top: 150px; right: 20px;">
         <input type="submit" name="bsubmit" value=" Submit " class="alt_btn" />
     </div>
    <footer>
    </footer>
  </form>
</article><!-- end of post new article -->
{/if}


ZeroDay Forums Mini