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/netphim/code/manga/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/netphim/code/manga/chapter_tpl.php
<div class="container reading">
    <nav aria-label="breadcrumb">
        <ol class="breadcrumb">
            <li class="breadcrumb-item"><a href="/">Home</a></li>
            <li class="breadcrumb-item"><a href="/genres/">All manga</a></li>
            <?php echo $txt_li_genres;?>
            <li class="breadcrumb-item"><a href="/manga/<?php echo $row_check['truyen_fname'];?>-<?php echo $row_check['truyen_id'];?>/"><?php echo $row_check['truyen_name'];?></a></li>
            <li class="breadcrumb-item"><?php echo $row_chuong['chuong_name'];?></li>
        </ol>
    </nav>
    <div class="row top">
        <div class="col-md-12">
            <h1 class="txt-primary" id="title-detail-manga" data-manga="<?php echo $row_check['truyen_id'];?>" data-chapter="<?php echo $row_chuong['chuong_id'];?>"><a href="/<?php echo $row_check['truyen_fname'];?>-<?php echo $row_check['truyen_id'];?>/"><?php echo $row_check['truyen_name'];?></a> <span>- <?php echo $row_chuong['chuong_name'];?></span></h1>
            <i class="time-updated">Updated: <?php echo date('F j, Y',strtotime($row_chuong['time_post']));?></i>
        </div>
    </div>
    <div class="reading-control">
        <div class="mb-2">
            If you can't see image manga, please change the "SERVER" below
            <div class="mt-2">
                <?php echo $txt_list_server;?>
            </div>
        </div>
        <div class="mb-2">
            <a rel="nofollow" href="javascript:void(0);" class="alertError btn btn-sm btn-warning"><i class="fa fa-exclamation-triangle"></i> Report</a>
        </div>
        <div class="alert alert-info mb-10 hidden-xs hidden-sm">
            <i class="fa fa-info-circle"></i> <em>Use left (←) or right (→) arrows to switch chapters, click to switch images</em>
        </div>
        <div class="chapter-nav" id="chapterNav" style="z-index: 1000;">
            <!--<a class="home" href="/" title="Trang chủ"><i class="fa fa-home"></i></a>-->
            <a class="home backward" href="/<?php echo $row_check['truyen_fname'];?>-<?php echo $row_check['truyen_id'];?>/#nt_listchapter" title="<?php echo $row_check['truyen_name'];?>"><i class="fa fa-list"></i></a>
            <a class="home changeserver" href="javascript:void(0);" title="Change Server"><i class="fa fa-undo error"></i><span data-id="<?php echo $server_id;?>">1</span></a>
            <?php
            if($r_prev_chuong){
            ?>
            <a href="/<?php echo $row_check['truyen_fname'];?>-<?php echo $row_check['truyen_id'];?>/<?php echo $r_prev_chuong['chuong_fname'];?>-<?php echo $r_prev_chuong['chuong_id'];?>/" class="prev a_prev"><i class="fa fa-chevron-left"></i></a>
            <?php }else{ ?>
                <a href="javascript:void(0);" class="prev a_prev disabled" onclick="Swal.fire('','You are watching the first chapter');"><i class="fa fa-chevron-left"></i></a>
            <?php } ?>
            <select class="select-chapter" data-mangaid="<?php echo $row_check['truyen_id'];?>" data-chapid="<?php echo $row_chuong['chuong_id'];?>">
                <option value="/<?php echo $row_check['truyen_fname'];?>-<?php echo $row_check['truyen_id'];?>/<?php echo $row_chuong['chuong_fname'];?>-<?php echo $row_chuong['chuong_id'];?>/"><?php echo $row_chuong['chuong_name'];?></option>
            </select>
            <?php
            if($r_next_chuong){
            ?>
            <a href="/<?php echo $row_check['truyen_fname'];?>-<?php echo $row_check['truyen_id'];?>/<?php echo $r_next_chuong['chuong_fname'];?>-<?php echo $r_next_chuong['chuong_id'];?>/" class="next a_next"><i class="fa fa-chevron-right"></i></a>
            <?php }else{ ?>
                <a href="javascript:void(0);" class="next a_next disabled" onclick="Swal.fire('','You are watching the last chapter');"><i class="fa fa-chevron-right"></i></a>
            <?php } ?>
            <?php if(!$r_follow){ ?>
            <a class="follow-link btn btn-sm btn-info" href="javascript:void(0)" data-id="<?php echo $chuong_id;?>" id="unfollow-follow-link-<?php echo $chuong_id;?>"><i class="fa fa-heart"></i> <span>Follow</span></a>
            <?php }else{ ?>
                <a class="follow-link btn btn-sm btn-danger" href="javascript:void(0)" data-id="<?php echo $chuong_id;?>" id="unfollow-follow-link-<?php echo $chuong_id;?>" data-subid="<?php echo $r_follow['follow_id'];?>"><i class="fas fa-trash-alt"></i> <span>Unfollow</span></a>
            <?php } ?>

        </div><div></div>
    </div>

    <div class="js-viewer-filter" style="background-image:url(<?php echo $url_img_rand;?>);background-size: cover;">
        <div class="viewer__filter">
            <div class="filter--mature">
                <i class="sp-ico-mature-xl"></i>
                <h3>This content is intended for mature audiences for the following reasons:</h3>
                <ul class="mature-reason">
                    <?php echo $txt_sensitive_chap;?>
                </ul>
                <div class="button-wraps">
                    <a class="p-btn normal large static cancel-btn btn btn-secondary" href="/<?php echo $row_check['truyen_fname'];?>-<?php echo $row_check['truyen_id'];?>/"><span class="btn-label heavy-dark">Cancel</span></a>
                    <a class="p-btn normal large static extra-ghost js-filter js-nsfw-continue btn btn-info" data-permalink="/<?php echo $row_check['truyen_fname'];?>-<?php echo $row_check['truyen_id'];?>/<?php echo $row_chuong['chuong_fname'];?>-<?php echo $row_chuong['chuong_id'];?>/"><span class="btn-label heavy-dark text-white">Continue</span></a>
                </div>
                <div class="mt-4">
                    <input type="checkbox" class="form-check-input" id="dont_show">
                    <label class="form-check-label text-white" for="dont_show">Don't show this warning again.</label>
                </div>
            </div>
        </div>
    </div>

    <div class="reading-detail box_doc">
        <?php
        if(isset($arr_ads['top_chap']) and !empty($arr_ads)){
            foreach($arr_ads['top_chap'] as $val){
                echo str_replace('&#39;',"'",html_entity_decode($val));
            }
        }
        ?>
        <?php
        $txt_cur_domain_img = '';
        $key_img_chap = md5("SELECT * FROM tb_chuong_img WHERE chuong_id='".$chuong_id."' ORDER BY chuong_img_pos ASC 66");
        if($memcache->get($key_img_chap)){
            $txt_list_img = $memcache->get($key_img_chap);
        }else {
            $i = 0;
            $q_img = $DB->query("SELECT * FROM tb_chuong_img WHERE chuong_id='" . $chuong_id . "' ORDER BY chuong_img_pos ASC ");
            $txt_list_img = '';
            while ($r_img = $DB->fetch_row($q_img)) {
                ++$i;
                $txt_active = '';
                if ($i == 1) {
                    $txt_active = 'active';
                    $txt_cur_domain_img = $r_img['domain'];
                }
                $url_img = $server_domain . '/' . $r_img['url_dir'] . '/' . $r_img['file_name'];
                $txt_title_img = $row_check['truyen_name'] . ' ' . $row_chuong['chuong_name'] . ' - page ' . $i;
                $txt_list_img .= '<div id="page_' . $r_img['chuong_img_id'] . '" class="page-chapter p' . $i . ' ' . $txt_active . '"><img alt="' . $txt_title_img . '" data-index="' . $i . '" src="' . $url_img . '"></div>';
                if ($i == 2) {
                    if (isset($arr_ads['after_2_pic_top_chap']) and !empty($arr_ads)) {
                        foreach ($arr_ads['after_2_pic_top_chap'] as $val) {
                            $txt_list_img .= str_replace('&#39;', "'", html_entity_decode($val));
                        }
                    }
                }
                if ($i == 4) {
                    if (isset($arr_ads['after_4_pic_top_chap']) and !empty($arr_ads)) {
                        foreach ($arr_ads['after_4_pic_top_chap'] as $val) {
                            $txt_list_img .= str_replace('&#39;', "'", html_entity_decode($val));
                        }
                    }
                }

            }
            if (isset($arr_option['last_image_in_chap']) and $arr_option['last_image_in_chap'] == 1 and isset($arr_option['image_in_last_chapter']) and file_exists($arr_option['image_in_last_chapter'])) {
                $txt_list_img .= '<div class="page-chapter p12"><img src="' . $arr_option['image_in_last_chapter'] . '"></div>';
            }
            if (isset($arr_ads['bottom_chap']) and !empty($arr_ads)) {
                foreach ($arr_ads['bottom_chap'] as $val) {
                    $txt_list_img .= str_replace('&#39;', "'", html_entity_decode($val));
                }
            }
            $memcache->set($key_img_chap, $txt_list_img, MEMCACHE_COMPRESSED, 86400);
        }
        echo $txt_list_img;
        ?>
    </div>
    <div class="top bottom">
        <div class="chapter-nav-bottom text-center" id="chapterNavBottom">
            <input type="hidden" name="currentlink" id="currentlink" value="<?php echo $server_domain;?>">
            <?php
            if($r_prev_chuong){
                ?>
                <a href="/<?php echo $row_check['truyen_fname'];?>-<?php echo $row_check['truyen_id'];?>/<?php echo $r_prev_chuong['chuong_fname'];?>-<?php echo $r_prev_chuong['chuong_id'];?>/" class="btn btn-info text-white prev"><em class="fa fa-chevron-left"></em> Prev</a>
            <?php }else{ ?>
                <a href="javascript:void(0);" class="btn btn-secondary text-white prev" onclick="Swal.fire('','You are watching the first chapter');"><em class="fa fa-chevron-left"></em> Prev</a>
            <?php } ?>
            <?php
            if($r_next_chuong){
                ?>
                <a href="/<?php echo $row_check['truyen_fname'];?>-<?php echo $row_check['truyen_id'];?>/<?php echo $r_next_chuong['chuong_fname'];?>-<?php echo $r_next_chuong['chuong_id'];?>/" class="btn btn-info next text-white">Next <em class="fa fa-chevron-right"></em></a>
            <?php }else{ ?>
                <a href="javascript:void(0);" class="btn btn-secondary next text-white" onclick="Swal.fire('','You are watching the last chapter');">Next <em class="fa fa-chevron-right"></em></a>
            <?php } ?>

        </div>

        <ul class="breadcrumb" itemscope="" itemtype="https://schema.org/BreadcrumbList">
            <li class="breadcrumb-item" itemprop="itemListElement" itemscope="" itemtype="https://schema.org/ListItem" class="breadcrumb-item"><a href="<?php echo $INFO['home_url'];?>" itemprop="item" itemtype="https://schema.org/Thing"><span itemprop="name">Home</span></a><meta itemprop="position" content="1"></li>

            <li class="breadcrumb-item" itemprop="itemListElement" itemscope="" itemtype="https://schema.org/ListItem"><a href="/genres/" class="itemcrumb" itemprop="item" itemtype="http://schema.org/Thing"><span itemprop="name">All manga</span></a><meta itemprop="position" content="2"></li>

            <li class="breadcrumb-item" itemprop="itemListElement" itemscope="" itemtype="https://schema.org/ListItem"><a href="/<?php echo $row_check['truyen_fname'];?>-<?php echo $row_check['truyen_id'];?>/" class="itemcrumb" itemprop="item" itemtype="https://schema.org/Thing"><span itemprop="name"><?php echo $row_check['truyen_name'];?></span></a><meta itemprop="position" content="3"></li>

            <li class="breadcrumb-item" itemprop="itemListElement" itemscope="" itemtype="https://schema.org/ListItem"><a href="/<?php echo $row_check['truyen_fname'];?>-<?php echo $row_check['truyen_id'];?>/<?php echo $row_chuong['chuong_fname'];?>-<?php echo $row_chuong['chuong_id'];?>/" class="itemcrumb active" itemprop="item" itemtype="https://schema.org/Thing"><span itemprop="name"><?php echo $row_chuong['chuong_name'];?></span></a><meta itemprop="position" content="4"></li></ul>

    </div>
</div>

<ul class="nav nav-tabs" id="tab_comment_id">
    <li class="nav-item" role="presentation">
        <button class="nav-link active" id="home-tab" data-bs-toggle="tab" data-bs-target="#1stKissManga" type="button" role="tab" aria-controls="home" aria-selected="true"><i class="fas fa-comments"></i> <?php echo $arr_option['name_head_comment'];?></button>
    </li>
    <!--<li class="nav-item" role="presentation">
        <button class="nav-link" id="profile-tab" data-bs-toggle="tab" data-bs-target="#facebook" type="button" role="tab" aria-controls="profile" aria-selected="false"><i class="fab fa-facebook"></i> Facebook</button>
    </li>-->

</ul>
<div class="tab-content" id="myTabContent">
    <div class="tab-pane fade show active" id="1stKissManga" role="tabpanel" aria-labelledby="home-tab">
        <div class="comment-wrapper">
            <div class="placeholder" onclick="openComment()">
                Please discuss, please do not spam, share links to make money, unhealthy, ... to avoid being locked out of your account
            </div>
            <div id="comment_form_0"></div>
            <div id="input_form_0"></div>
            <div class="mb-1 mt-3">
                <ul class="comment-nav">
                    <li data-type="0" class="type_chap_load">All comments</li><li class="active type_chap_load" data-type="1">This Chapter comment</li>
                </ul>
                <span class="sort-comments comment-action"><input class="form-check-input bg-info" type="checkbox" id="lastest_comment_check" checked>
                  <label class="form-check-label" for="lastest_comment_check">
                    Lastest
                  </label>
                </span>
            </div>

            <div class="comment-list"></div>

            <div class="pagination_comment-outter commentpager"></div>

        </div>

    </div>

    <div class="tab-pane fade" id="facebook" role="tabpanel" aria-labelledby="profile-tab">...</div>
</div>

<!-- Modal -->
<div class="modal fade" id="alertError_modal" tabindex="-1" aria-labelledby="alertError_modalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="exampleModalLabel">Report manga error</h5>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <div class="modal-body">
                <form action="?act=manga&code=post_error" method="post" id="form_error">
                    <input type="hidden" value="<?php echo $truyen_id;?>" name="f[id]">
                    <input type="hidden" value="<?php echo $chuong_id;?>" name="f[chap_id]">
                    <input type="hidden" value="<?php echo $row_check['truyen_fname'];?>" name="f[manga_fname]">
                    <input type="hidden" value="<?php echo $row_chuong['chuong_fname'];?>" name="f[chap_fname]">
                    <div class="row">
                        <div class="col-sm-12">
                            <label>Error type</label>
                            <select class="form-control mt-2" name="f[error_type]" required>
                                <option value="">---</option>
                                <option value="1" rel="The image takes a long time to load or does the entire image fail? Which wifi or 4G network are you using?">Image is wrong or can't see it</option>
                                <option value="2" rel="Which chapter matches?">Chapter is duplicated</option>
                                <option value="3" rel="Not yet translated all or some pages untranslated?">Chapter untranslated</option>
                                <option value="4" rel="Chapter not this manga?">Uploaded wrong manga</option>
                                <option value="99" rel="Upload missing image, mess, annoying ads or spam comments...?">Other error</option>
                            </select>

                        </div>
                    </div>
                    <div class="row mt-2">
                        <div class="col-sm-12">
                            <label>Error description</label>
                            <p class="error_des"></p>
                            <textarea class="form-control" name="f[error_des]" required></textarea>
                        </div>
                    </div>
                    <input type="submit" class="submit" style="display:none;" name="submitbt">
                </form>
            </div>
            <div class="modal-footer">
                <a class="send_error btn btn-danger" href="javascript:void(0);">Send</a>
                <!--<a class="dong m-l-5 btn btn-dark" href="javascript:void(0);" data-bs-dismiss="modal">Close</a>-->

            </div>
        </div>
    </div>
</div>
<div class="modal fade" id="chapter_modal">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <input type="text" class="form-control" id="keyword_chapter_modal" placeholder="Search chapter">
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <div class="modal-body" style="max-height: 400px; overflow: auto;">
                <nav>
                    <ul class="version-chap-detail" id="list_chapter_id_modal">
                        <?php echo $list_chap;?>
                    </ul>
                    <div class="chapters_pagination mt-2">
                        <ul id="nav_list_chapter_id_modal">
                            <?php echo $nav;?>
                        </ul>
                    </div>
                </nav>
            </div>
            <div class="modal-footer">
               <!-- <a class="send_error btn btn-danger" href="javascript:void(0);">Send</a>-->
                <a class="dong m-l-5 btn btn-dark" href="javascript:void(0);" data-bs-dismiss="modal">Close</a>

            </div>
        </div>
    </div>
</div>
<script>
    <?php
        if(isset($_SESSION['post_error']) and $_SESSION['post_error']==1){
            ?>
    toastr.success('Thank you for your support to report the error, this manga will be fixed as soon as possible.');
    <?php
        unset($_SESSION['post_error']);
        }elseif(isset($_SESSION['post_error']) and $_SESSION['post_error']==0){
            ?>
    toastr.warning('Have error when post report, please try later!')
    <?php
    unset($_SESSION['post_error']);
    }
    ?>
    $(document).ready(function() {
        <?php
        if($txt_sensitive_chap_id!=''){
            ?>
            if(!$.cookie('me_18_plus_chap') || $.cookie('me_18_plus_chap')!='<?php echo $chuong_id;?>') {
                $('.js-viewer-filter').show();
                $('.box_doc').hide();
            }else{
                $('.js-viewer-filter').hide();
                $('.box_doc').show();
            }
        <?php
        }else{
        ?>
        $('.js-viewer-filter').hide();
        $('.box_doc').show();
        <?php } ?>
        $('.js-nsfw-continue').click(function () {
            if($('#dont_show').is(":checked")){
                $.cookie('me_18_plus_chap', '<?php echo $chuong_id;?>', { expires: 7 });
            }else{
            }
            $('.js-viewer-filter').remove();
            $('.box_doc').show();
        });
    });
</script>

ZeroDay Forums Mini