관리-도구
편집 파일: 4ee6b2fb75a3cf4b121bbd92b9ae739efa7d8483.php
<?php $__env->startSection('meta'); ?> <?php echo $__env->make('frontend.includes.meta', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <?php function ent_to_nepali_num_convert($number){ $eng_number = array( "0", "1", "2", "3", "4", "5", "6", "7", "8", "9" ); $nep_number = array( "०", "१", "२", "३", "४", "५", "६", "७", "८", "९" ); return str_replace($eng_number, $nep_number, $number); } ?> <!-- Banner --> <!-- Banner End --> <!-- Details --> <section class="details-page mt mb"> <div class="container"> <div class="details-wrap"> <div class="details-left text-center"> <?php $nepali_date = datenep($news->written_on); $nepali_array = explode('-', $nepali_date); $nepali_month = nepaliMonth($nepali_array[1]); $nepali_bar = nepaliNumber($nepali_array[2]); ?> </div> <div class="details-right"> <h2><?php echo e(getLangValue($news->title)); ?></h2> <div class=""> <?php if(session('locale') == "np"): ?> <?php echo e($news->author); ?> <?php echo e(ent_to_nepali_num_convert(date('Y',strtotime($nepali_date)))); ?> <?php echo e($nepali_month); ?> <?php echo e($nepali_bar); ?> <?php else: ?> <?php echo e($news->author); ?> <?php echo e(date('Y M d', strtotime($news->written_on))); ?> <?php endif; ?> </div> <br> <img src="<?php echo e((($news->cover_image)) ? (asset($news->cover_image)) : (asset('static_img/News.png'))); ?>" alt="<?php echo e($news->title['en']); ?>"> <p><?php echo getLangValue($news->content); ?></p> </div> </div> </div> </section> <!-- Details End --> <?php $__env->stopSection(); ?> <?php echo $__env->make('frontend.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/nepaldsdforg/public_html/resources/views/frontend/news_details.blade.php ENDPATH**/ ?>