Notice  (8) : Undefined index: Message [APP/View/Layouts/lms_inner_layout.ctp , line 391 ]Code  Context         ob_start(); 
        include $___viewFn; $___viewFn = '/data/uat/app/View/Layouts/lms_inner_layout.ctp'
$___dataForView = array(
	'record' => array(
		[maximum depth reached]
	),
	'lmstopics' => array(
		[maximum depth reached]
	),
	'relatedcourses' => array(
		[maximum depth reached]
	),
	'check_exist' => false,
	'languages' => array([maximum depth reached]),
	'LastLogin' => array([maximum depth reached]),
	's3' => object(Aws\S3\S3Client) {},
	'inputDefaults' => array(
		[maximum depth reached]
	),
	'csrfToken' => '096fcd56dabaf909ad604936683dcf7b2f8f6d577d7c8d4b359cb842936cca25',
	'content_for_layout' => '<script type="text/javascript" src="/js/jquery-min.js"></script>
<style>
.loadingmessage {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url('https://uatdigipaathshala.cscacademy.org/gradient-design/img/loading.gif') 50% 50% no-repeat rgb(249,249,249);
	opacity: .8;
}
</style>
                 <!-- Show buy now dialog box to proceed payment -->
                <!-- Start this modal box for show alert for enrollment -->
<div id="buynowModal" class="modal fade" style="padding-top:6%;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" style="text-align:center;">Please Enter CSC ID</h4>
            </div>
            <div class="modal-body">
				<form method="post" action="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/paycscwallet" name="paymentproceed" class="search-popup-inner" style="text-align:center;">
                    <input type="hidden" name="CourseIds" id="CourseIds" value=""  />
                    <input type="hidden" name="UploadCertificateFile" id="UploadCertificateFile" value=""  />
                <div>
                <input type="text" name="cscid" placeholder="CSC ID" maxlength="12" id="cscID" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*)\./g, '$1');">
                </div>
                <div style="padding-top:6%;"><button type="button" id="paynowcscid" class="bt bt-xs bt-bg bt-secondary inline">Pay Now</button></div>
                </form>
            </div>
        </div>
    </div>
</div>
            <!-- End dialog box -->
            <!-- Start this modal box for show alert for All payment gateways -->
<div id="pgModal" class="modal fade" style="padding-top:6%;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" style="text-align:center;">Please Select Payment Gateway</h4>
            </div>
            <div class="modal-body">
                <form method="post" action="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/" name="pgselected" class="search-popup-inner" style="text-align:center;">
                    <input type="hidden" name="CourseIds" id="PGCourseIds" value=""  />
                    
                <div>
                <input type="radio" name="payment_gateway" id="pgmethod_value" value="2" > CSC Wallet
                <input type="radio" name="payment_gateway" value="3" id="pgmethod_value" style="margin-left: 10px;"> HDFC
                </div>
                <div style="padding-top:6%;"><button type="button" id="pgmethod" class="bt bt-xs bt-bg bt-secondary inline">Proceed Now</button></div>
                </form>
            </div>
        </div>
    </div>
</div>
<div id="hdfcModal" class="modal fade" style="padding-top:6%;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" style="text-align:center;">Please Select Payment Gateway</h4>
            </div>
            <div class="modal-body">
                <form method="post" action="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/payhdfc" name="hdfcselected" class="search-popup-inner" style="text-align:center;">
                    <input type="hidden" name="CourseIds" id="HDFCCourseIds" value=""  />
                    
                <div>
                <input type="radio" name="payment_gateway" required="required" value="3" style="margin-left: 10px;"> <img src="https://uatdigipaathshala.cscacademy.org//images/hdfclogo.png" width="115" height="50">
                </div>
                <div style="padding-top:6%;"><button type="submit" id="payhdfconly" class="bt bt-xs bt-bg bt-secondary inline">Proceed Now</button></div>
                </form>
            </div>
        </div>
    </div>
</div>
            <!-- End dialog box -->
<!-- Start this modal box for show upload 10th certificate before payment -->
<div id="uploadcertificateModal" class="modal fade" style="padding-top:6%;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="uploadmessage" style="text-align:center;"></h4>
            </div>
            <div class="modal-body">
                <form id="upload10certificateform" method="post" action="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/uploadcertificate" class="search-popup-inner" enctype="multipart/form-data" style="text-align:center;">
                    <input type="hidden" name="CourseIds" id="UploadCourseIds" value=""  />
                    <div>
                        <input type="file" name="upload10certificate" placeholder="Upload 10th Certificate" accept="image/*" id="10certificate" required="required">
                        <br>
                        <span>File size should be max 1 MB and format JPEG/PNG</span>
                    </div>
                    <div style="padding-top:6%;"><button type="submit" class="bt bt-xs bt-bg bt-secondary inline">Upload</button></div>
                </form>
            </div>
        </div>
    </div>
</div>
<!-- End dialog box -->
            
            
            <!-- Start this modal box for show alert for enrollment -->
<div id="showenrollmentModal" class="modal fade" style="padding-top:5%;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title"></h4>
            </div>
            <div class="modal-body">
				<div id="showenrolledalert"></div>
            </div>
        </div>
    </div>
</div>
<!-- End this modal box for show alert for enrollment -->
<!-- Show loader -->
                <div id='loadingmessage' class="loadingmessage" style='display:none'> </div>
                 <!-- End loader --> 
<div id="wrapper-content" class="clearfix">
			
<section id="page-title" class="single-product-title-wrap single-product-title-margin" >
                        <div data-stellar-background-image="https://uatdigipaathshala.cscacademy.org/lmsfront_layout/img/coursedetails.jpg" data-stellar-background-position="top" data-stellar-background-ratio="0.5" class="page-title-parallax" style="background-image: url('https://uatdigipaathshala.cscacademy.org/lmsfront_layout/img/coursedetails.jpg');background-position:center top;"></div>
                 <div class="container">
        <div class="single-product-title-inner pt-bottom" >
            <div class="m-title">
            <h2 class="p-font">COURSE DETAILS</h2>
       	</div>
            <div class="breadcrumbs-wrap">
                <div class="breadcrumbs-inner text-left">
                    	<ul class="breadcrumbs"><li><a href="" class="home"><i class="fa fa-home"></i></a></li><li><a href="#">Importance of Life Insurance </a></li><li></li></ul>                </div>
            </div>
        </div>
    </div>
</section>
<main  class="single-product-wrap has-sidebar">
        <div class="container clearfix">
        
            
                <div class="row clearfix">
                                    <div class="col-md-12"><h4 itemprop="name" class="product_title p-font hd-block">Importance of Life Insurance </h4>
</div>
                <div class="site-content-single-product col-md-8">
                    <div class="single-product-inner">
                            
<div class="woocommerce-notices-wrapper"></div>
<div id="product-468" class="product type-product post-468 status-publish first instock product_cat-business-management product_cat-law-economic has-post-thumbnail featured shipping-taxable purchasable product-type-simple">
    <div class="row single-product-info clearfix">
        <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="single-product-image">
                <div class="product-flash-wrap">
				                <span class="on-new product-flash" style="padding: 0 30px; font-size:17px;">Free</span>
                                                
</div>
<div id="single-product-image" class="single-product-image-inner horizontal">
	<div class="product-image-slider-wrap">
		<div class="product-image-slider">
			<div>
                <!--pre-signed url for s3 bucket-->
                                <a href="https://csc-edu.s3.ap-south-1.amazonaws.com/lmscourse/courseimage/0237689ddc4bbb59b2e3ab3d8b11d78e.jpg?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXRD2RIGVRXSHFNHS%2F20251104%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251104T024538Z&X-Amz-SignedHeaders=host&X-Amz-Expires=2&X-Amz-Signature=a9c6109ee378849d7c88e77c134b09c29537fc5a280589f191f89173332c65c8" itemprop="image" class="woocommerce-main-image" title="" data-rel="prettyPhoto[product-gallery]" data-index="0"><img style="width:768px; height:500px;" src="https://csc-edu.s3.ap-south-1.amazonaws.com/lmscourse/courseimage/0237689ddc4bbb59b2e3ab3d8b11d78e.jpg?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXRD2RIGVRXSHFNHS%2F20251104%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251104T024538Z&X-Amz-SignedHeaders=host&X-Amz-Expires=2&X-Amz-Signature=a9c6109ee378849d7c88e77c134b09c29537fc5a280589f191f89173332c65c8" class="attachment-shop_single size-shop_single" alt="" srcset="https://csc-edu.s3.ap-south-1.amazonaws.com/lmscourse/courseimage/0237689ddc4bbb59b2e3ab3d8b11d78e.jpg?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXRD2RIGVRXSHFNHS%2F20251104%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251104T024538Z&X-Amz-SignedHeaders=host&X-Amz-Expires=2&X-Amz-Signature=a9c6109ee378849d7c88e77c134b09c29537fc5a280589f191f89173332c65c8" /></a></div></div>
	</div>
	
	</div>
<script type="text/javascript">
	(function ($) {
		"use strict";
		$(document).ready(function () {
			var $productImageWrap = $('#single-product-image');
			G5Plus.woocommerce.singleProductImage($productImageWrap);
		});
	})(jQuery);
</script>
            </div>
      <div class="instructor-wrap">
			          
		            </div>
	            	                    <div class="lesson-list margin-top-70">
                                <div id="tab-description">
                    
                <div class="fullwidth" >
                <div class="vc_row wpb_row vc_row-fluid mg-top-30"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">            	<div class="heading color-dark text-left " >
                 <h2 class="heading-color fs-18">Course summary </h2>
                            </div>
            </div></div></div></div></div>
            <div class="fullwidth" >
            <div class="vc_row wpb_row vc_row-fluid mg-top-30"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div class="wpb_text_column wpb_content_element  content-icon-list" >
		<div class="wpb_wrapper">
			<p> Importance of Life Insurance</p>
		</div>
	</div>
</div></div></div></div></div>
<div class="fullwidth" ><div class="vc_row wpb_row vc_row-fluid mg-top-30"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">            <div class="heading color-dark text-left " >
                                                <h2 class="heading-color fs-18">
                    TOPIC LISTS  -               </h2>
                            </div>
            </div></div></div></div></div>
            <div class="fullwidth" >
            <div class="vc_row wpb_row vc_row-fluid mg-top-30"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper"> 
            		
            		                    <div class="course_lessons_section">
                        <div class="panel-group" id="accordion_4932" role="tablist" aria-multiselectable="true">
                            <div class="lesson-title">
                    <a href="javascript:;" data-id="lesson_content_1">
                        1 Importance of Life Insurance  <span><i class="fa fa-caret-down"></i></span>
                    </a>
                    <div class="meta">
                      <span class="badge video"><a href="https://uatdigipaathshala.cscacademy.org/lmstopics/viewtopics/1188" class="expand">Learn Now </a> </span>
                    </div>
                
                </div>
                <div class="lesson-content" id="lesson_content_1">
                
						 
                    </div>
                            
                </div>
                    </div>
    				
</div></div></div></div></div>
                </div>
                            
                        </div>
        </div>
    </div>
</div>
                    </div>
                </div>
                <div class="site-meta-single-product col-md-4">
                    <div class="summary-product entry-summary">
                        <div class="meta" style="margin-bottom: 20px;">
                            <!-- <span class="lb" style="background: #ffbd33;">Language</span> -->
                            <button class="  alt" style="width: 100%; border: none;
                            padding:  0 2%; min-height: 65px;background: #ffbd33; display: flex; justify-content: center; align-items: center;">
                                <select style="color:#fff ; background: #ffbd33; width: 100%; border: none;" class="" onchange="window.location='https://uatdigipaathshala.cscacademy.org/lmscourses/coursedetails/' + this.value;">
                                    <option selected value="">Select Language</option>
                                                                    </select>
                                <i class="fa fa-caret-down" style="color: white;"></i>
                            </button>
                            <!-- <span class="if" style="padding: 0 ; display: flex; align-items: center; background: #ffbd33;">
               
                            <i class="fa fa-caret-down"></i>
                        </span> -->
                        </div>
     
    
            <div class="meta">
            <span class="lb p-bg-dark">Duration</span>
            <span class="if p-bg">0 Days</span>
        </div>
    
                <div class="meta">
            <span class="lb p-bg-dark">Price</span>
                                    <span class="if p-bg"><span class="woocommerce-Price-amount amount">
            <span class="woocommerce-Price-currencySymbol"></span>Free</span></span>
                                </div>
    
    <div style="clear: both"></div>
            <div class="widget"style="margin-bottom: 0;">
        <h4 class="widget-title text-center"><span>ABOUT PUBLISHER</span></h4>
        <div class="location-map">
            			  <div class="instructor text-center">
                              <!--pre-signed url for s3 bucket-->
                              						            <img src="https://csc-edu.s3.ap-south-1.amazonaws.com/lmscourse/publisher/publisherphoto/11020d272a4ce3d990e5157b26d28648.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXRD2RIGVRXSHFNHS%2F20251104%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251104T024538Z&X-Amz-SignedHeaders=host&X-Amz-Expires=2&X-Amz-Signature=8dc7d82ec573adb927a2c9a51acfab2e9003321ff13513379bc2f203431588d5" style="width: 167px;height: 88px;">
						            <div class="info">
							            <div class="name"><h4 class="p-font"><a
											            href=""
											            target="_blank">Pushpa</a></h4>
							            </div>
                                         
										<div class="phone" style="text-align:left;">
									       <p>
	Importance of Life Insurance
                                           </p>   
                                              </div>
							            							         
			        </div>
            </div></div></div>
                <div class="enroll-wrap">
       
	<div class="quantity hidden">
	</div>
   
    <!-- check with auth for free course -->
    	        	
                        <a  href="javascript:void(0)" style="width:100%;"><button type="submit" name="add-to-cart" courseid="98" class="single_add_to_cart_button button alt enroll_now" style="width: 100%;font-size: 16px; padding-top: 18px; padding-bottom: 18px; background-color:#ffbd33; text-transform: uppercase;font-weight: 400;letter-spacing: 1px;">Subscribe Now</button></a>
            
                      
        
                
      
		
    </div>
    
			                    <aside id="g5plus-course-related-2" class="widget widget-course woocommerce"> 
                      <h4 class="widget-title"><span>Related Course</span></h4>            <div class="widget-content">
                	<div class="product-listing woocommerce clearfix  columns-4">
                                    <div class="course-item-wrap">
                    <div class="course-thumb">
                    	                        <img src="https://csc-edu.s3.ap-south-1.amazonaws.com/lmscourse/courseimage/6ea9adfc6507e9ddf9aea36852f79fc2.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXRD2RIGVRXSHFNHS%2F20251104%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251104T024538Z&X-Amz-SignedHeaders=host&X-Amz-Expires=2&X-Amz-Signature=3a68dadb5d6922ee2ce80a94407e70e58a888eb54a4ca136612478e5c72d9ad4" alt="Basic Course in Information Technology (BCIT)             " width="200" />
                    </div>
                    <div class="course-info">
                        <a class="fs-14 fw-medium course-title p-color-hover" href="https://uatdigipaathshala.cscacademy.org/lmscourses/coursedetails/4">Basic Course in Information Technology (BCIT)             </a>
                                   
        
                    <span><i class="fa fa-user p-color pd-right-10"></i>By : CSC Academy   </span>
                     <span><i class="fa fa-calendar p-color pd-right-10"></i>Duration : 365 Days</span>
                                  <span >
                    <a href="https://uatdigipaathshala.cscacademy.org/lmscourses/coursedetails/4" class="bt bt-xs bt-bg bt-secondary">Learn Now</a>
                </span>      
                            </div>
                </div>
				                
                 
                </div>
            </div>
            </aside>
            
                        </div></div>
                        
                </div>
                
                        
        </div>
    
</main>
			
			</div>
            
   <!-- Send data for enrollment through API -->
    
    <script>
	$.noConflict();
	jQuery(document).ready(function($){
	  
	  $(".enroll_now").click(function(evt){
	        var CourseId = $(this).attr("courseid");
			
			$.ajax({//Make the Ajax Request 
			beforeSend:function(){
			
			$('#loader').show();
			},	
			type: "POST",
			url: "https://uatdigipaathshala.cscacademy.org/admin/lmscourses/enrollstd",
			data:"courseId="+CourseId,
			
			success: function(data){//html = the server response html code
			$('#loadingmessage').hide();
			
			//store data
			$error = JSON.parse(data).error;
			$message = JSON.parse(data).message;
			
			//show modal box
			$("#showenrollmentModal").modal('show');
			
				if($error =='1')
				{
					$('#showenrolledalert').html('<div style="text-align: center;">'+$message+'<br><br><a href="https://uatdigipaathshala.cscacademy.org/student"><button type="button" class="btn-sm btn-primary">Login Now</button></a></div>');
				}
				else
				{
					$('#showenrolledalert').html('<div style="text-align: center;">'+$message+'<br><br><a href="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/mycourses"><button type="button" class="btn-sm btn-primary">My Course</button></a></div>');
				}
			},
			error:function(){ alert("Internal Error Server Not found!");}
			});
			
			
	        
	   });
      // Check restricted course for restricted categories
      $(".restricted_std").click(function(evt){
            var CourseId = $(this).attr("courseid");
            
            $.ajax({//Make the Ajax Request 
            beforeSend:function(){
            
            $('#loader').show();
            },  
            type: "POST",
            url: "https://uatdigipaathshala.cscacademy.org/admin/lmscourses/restrictedstd",
            data:"courseId="+CourseId,
            
            success: function(data){//html = the server response html code
            $('#loadingmessage').hide();
            
            //store data
            $error = JSON.parse(data).error;
            $message = JSON.parse(data).message;
            
            //show modal box
            $("#showenrollmentModal").modal('show');
            
                if($error =='1')
                {
                    $('#showenrolledalert').html('<div style="text-align: center;">'+$message+'<br><br><a href="https://uatdigipaathshala.cscacademy.org/student"><button type="button" class="btn-sm btn-primary">Login Now</button></a></div>');
                }
                else
                {
                    $('#showenrolledalert').html('<div style="text-align: center;">'+$message+'<br><br><a href="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/mycourses"><button type="button" class="btn-sm btn-primary">My Course</button></a></div>');
                }
            },
            error:function(){ alert("Internal Error Server Not found!");}
            });
            
            
            
       });
	   
	   
	   // SHOW BUY NOW POP UP
	   
	   $(".buy_now").click(function(evt){
	        var CourseId = $(this).attr("courseid");
			
			
			$.ajax({//Make the Ajax Request 
			beforeSend:function(){
			
			$('#loadingmessage').show();
			},	
			type: "POST",
			url: "https://uatdigipaathshala.cscacademy.org/admin/lmscourses/bUyNowstd",
			data:"courseId="+CourseId,
			
			success: function(data){//html = the server response html code
			$('#loadingmessage').hide();
			
			//store data
			$error = JSON.parse(data).error;
			$message = JSON.parse(data).message;
			
			if($error =='1')
				{
				//show modal box
				$("#showenrollmentModal").modal('show');
			
					$('#showenrolledalert').html('<div style="text-align: center;">'+$message+'<br><br><a href="https://uatdigipaathshala.cscacademy.org/student"><button type="button" class="btn-sm btn-primary">Login Now</button></a></div>');
				}
				else if($error =='5' || $error =='6' || $error =='7')
				{
				$Courseid = JSON.parse(data).CourseId;
				    //check if course CCA Course to upload 10th certificate before proceeding payment.
				    if($Courseid == '2')
                    {
                        $("#uploadcertificateModal").modal('show');
                        $("#UploadCourseIds").val($Courseid);
                        $('#uploadmessage').html('Please Upload 10th certificate first!!');
                    }
                    else if($Courseid == '74' || $Courseid == '77')
                    {
                        $("#uploadcertificateModal").modal('show');
                        $("#UploadCourseIds").val($Courseid);
                        $('#uploadmessage').html('Please Upload 12th certificate first!!');
                    }
				    else
                    {
                        
                        //show payment gateways window
                        if($error =='5')
                        {
                            $("#pgModal").modal('show');
                            $("#PGCourseIds").val($Courseid);
                        }
                        else if($error =='7')
                        {
                            $("#hdfcModal").modal('show');
                            $("#HDFCCourseIds").val($Courseid);
                        }
                        else if($error =='6')
                        {
                           $("#buynowModal").modal('show');
                            $("#CourseIds").val($Courseid);
                        }
                        
                        else
                        {
                            alert('Something went wrong into PG!!');
                            return false();
                        }
                        
                    }
				}
				else
				{
				//show modal box
					$("#showenrollmentModal").modal('show');
					$('#showenrolledalert').html('<div style="text-align: center;">'+$message+'<br><br><a href="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/mycourses"><button type="button" class="btn-sm btn-primary">My Course</button></a></div>');
				}
			},
			error:function(){ alert("Internal Error Server Not found!");}
			});
			
			
			
		  });
	   // Upload 10th certificate through ajax
        $("#upload10certificateform").on('submit',(function(e) {
            //check file size first!!
            var file_size = $('#10certificate')[0].files[0].size;
            if(file_size>2097152)
            {
                alert("File size is greater than 2MB, please upload again!!");
                return false;
            }
            e.preventDefault();
            $.ajax({
                beforeSend:function(){
                    $("#uploadcertificateModal").modal('hide');
                    $('#loadingmessage').show();
                },
                url: "https://uatdigipaathshala.cscacademy.org/admin/lmscourses/upload10certificate",
                type: "POST",
                data:  new FormData(this),
                contentType: false,
                cache: false,
                processData:false,
                success: function(data)
                {
                    if(JSON.parse(data).error =='4')
                    {
                        $("#uploadcertificateModal").modal('hide');
                        $("#buynowModal").modal('show');
                        $("#CourseIds").val($Courseid);
                        $("#UploadCertificateFile").val(JSON.parse(data).UploadCertificateFile);
                    }
                    else
                    {
                        alert(JSON.parse(data).message);
                    }
                },
                error: function(e)
                {
                    $("#err").html(e).fadeIn();
                }
            });
        }));
        //check CSCID is associated with cscacademy centre or not
        $("#paynowcscid").click(function(evt){
            var cscID = $('#cscID').val();
            var courseid = "98";
            var vedic_math_medium = "<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr690968d297c2b-trace').style.display = (document.getElementById('cakeErr690968d297c2b-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined variable: auth_user [<b>APP/View/Lmscourses/coursedetails.ctp</b>, line <b>774</b>]<div id="cakeErr690968d297c2b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr690968d297c2b-code').style.display = (document.getElementById('cakeErr690968d297c2b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr690968d297c2b-context').style.display = (document.getElementById('cakeErr690968d297c2b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr690968d297c2b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000">        ob_start();</span></code>
<code><span style="color: #000000"></span></code>
<span class="code-highlight"><code><span style="color: #000000">        include $___viewFn;</span></code></span></pre><pre id="cakeErr690968d297c2b-context" class="cake-context" style="display: none;">$___viewFn = '/data/uat/app/View/Lmscourses/coursedetails.ctp'
$___dataForView = array(
	'record' => array(
		[maximum depth reached]
	),
	'lmstopics' => array(
		[maximum depth reached]
	),
	'relatedcourses' => array(
		[maximum depth reached]
	),
	'check_exist' => false,
	'languages' => array([maximum depth reached]),
	'LastLogin' => array([maximum depth reached]),
	's3' => object(Aws\S3\S3Client) {},
	'inputDefaults' => array(
		[maximum depth reached]
	),
	'csrfToken' => '096fcd56dabaf909ad604936683dcf7b2f8f6d577d7c8d4b359cb842936cca25'
)
$record = array(
	'Lmsuser' => array(
		[maximum depth reached]
	),
	'Lmscourse' => array(
		[maximum depth reached]
	)
)
$lmstopics = array(
	(int) 0 => array(
		[maximum depth reached]
	)
)
$relatedcourses = array(
	(int) 0 => array(
		[maximum depth reached]
	)
)
$check_exist = false
$languages = array()
$LastLogin = array()
$s3 = object(Aws\S3\S3Client) {}
$inputDefaults = array(
	'inputDefaults' => array(
		[maximum depth reached]
	)
)
$csrfToken = '096fcd56dabaf909ad604936683dcf7b2f8f6d577d7c8d4b359cb842936cca25'
$cmd = object(Aws\Command) {}
$request = object(GuzzleHttp\Psr7\Request) {}
$presignedUrl = 'https://csc-edu.s3.ap-south-1.amazonaws.com/lmscourse/courseimage/6ea9adfc6507e9ddf9aea36852f79fc2.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXRD2RIGVRXSHFNHS%2F20251104%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251104T024538Z&X-Amz-SignedHeaders=host&X-Amz-Expires=2&X-Amz-Signature=3a68dadb5d6922ee2ce80a94407e70e58a888eb54a4ca136612478e5c72d9ad4'
$count = (int) 1
$count2 = (int) 0
$count3 = (int) 0
$lmstopic = array(
	'Lmstopic' => array(
		[maximum depth reached]
	),
	'children' => array([maximum depth reached])
)
$relatedcourse = array(
	'Lmscourse' => array(
		[maximum depth reached]
	)
)</pre><pre class="stack-trace">include - APP/View/Lmscourses/coursedetails.ctp, line 774
View::_evaluate() - CORE/Cake/View/View.php, line 915
View::_render() - CORE/Cake/View/View.php, line 879
View::render() - CORE/Cake/View/View.php, line 470
Controller::render() - CORE/Cake/Controller/Controller.php, line 959
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 110
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 85
[main] - APP/webroot/index.php, line 96</pre></div></pre>";
            var csrfToken = "096fcd56dabaf909ad604936683dcf7b2f8f6d577d7c8d4b359cb842936cca25";
            // alert(courseid);
            $.ajax({//Make the Ajax Request
                beforeSend:function(){
                    $("#buynowModal").modal('hide');
                    $('#loadingmessage').show();
                },
                type: "POST",
                url: "https://uatdigipaathshala.cscacademy.org/admin/users/checkCscacademyonboarding",
                // data:"cscID="+cscID+"course_id="+courseid,
                data:{cscID:cscID,courseid:courseid,vedic_math_medium:vedic_math_medium,csrfToken:csrfToken},
                success: function(data){//html = the server response html code
                    $('#loadingmessage').hide();
                    if(JSON.parse(data).count =='1')
                    {
                        document.paymentproceed.submit();
                    }
                    else if(JSON.parse(data).count =='2') {
                        document.paymentproceed.submit();
                    }
                    else if(JSON.parse(data).count =='3') {
                        alert('Oops!! Seats are full please try in another batch.');
                    } 
                    else if(JSON.parse(data).count =='4') {
                        alert('Oops!! Payments are closed now for this course.');
                    } 
                    else if(JSON.parse(data).count =='5') {
                        document.paymentproceed.submit();
                    }
                    else if(JSON.parse(data).count =='6') {
                        alert('Kindly register with Spoken Tutorial(Plan 1- All Courses) to Enroll students in This Course');
                    }
                    
                    else {
                        $("#buynowModal").modal('show');
                        alert('This course is not active for this VLE!!');
                    }
                },
                error:function(){ alert("Internal Error Server Not found!");}
            });
        });
         $("#pgmethod").click(function(evt){
            
            var pgmethod = $('input[name="payment_gateway"]:checked').val();
           if(pgmethod ==2)
           {
            $("#pgModal").modal('hide');
            $("#buynowModal").modal('show');
            $("#CourseIds").val($Courseid);
           }
           else if(pgmethod ==3)
           {
            $("#pgModal").modal('hide');
            $("#hdfcModal").modal('show');
            $("#HDFCCourseIds").val($Courseid);
           }
           else
           {
            alert('Error due to network!!');
            return false();
           }
           
        });
			
	});
</script>  
        
            
            ',
	'scripts_for_layout' => '',
	'title_for_layout' => 'Lmscourses'
)
$record = array(
	'Lmsuser' => array(
		[maximum depth reached]
	),
	'Lmscourse' => array(
		[maximum depth reached]
	)
)
$lmstopics = array(
	(int) 0 => array(
		[maximum depth reached]
	)
)
$relatedcourses = array(
	(int) 0 => array(
		[maximum depth reached]
	)
)
$check_exist = false
$languages = array()
$LastLogin = array()
$s3 = object(Aws\S3\S3Client) {}
$inputDefaults = array(
	'inputDefaults' => array(
		[maximum depth reached]
	)
)
$csrfToken = '096fcd56dabaf909ad604936683dcf7b2f8f6d577d7c8d4b359cb842936cca25'
$content_for_layout = '<script type="text/javascript" src="/js/jquery-min.js"></script>
<style>
.loadingmessage {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url('https://uatdigipaathshala.cscacademy.org/gradient-design/img/loading.gif') 50% 50% no-repeat rgb(249,249,249);
	opacity: .8;
}
</style>
                 <!-- Show buy now dialog box to proceed payment -->
                <!-- Start this modal box for show alert for enrollment -->
<div id="buynowModal" class="modal fade" style="padding-top:6%;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" style="text-align:center;">Please Enter CSC ID</h4>
            </div>
            <div class="modal-body">
				<form method="post" action="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/paycscwallet" name="paymentproceed" class="search-popup-inner" style="text-align:center;">
                    <input type="hidden" name="CourseIds" id="CourseIds" value=""  />
                    <input type="hidden" name="UploadCertificateFile" id="UploadCertificateFile" value=""  />
                <div>
                <input type="text" name="cscid" placeholder="CSC ID" maxlength="12" id="cscID" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*)\./g, '$1');">
                </div>
                <div style="padding-top:6%;"><button type="button" id="paynowcscid" class="bt bt-xs bt-bg bt-secondary inline">Pay Now</button></div>
                </form>
            </div>
        </div>
    </div>
</div>
            <!-- End dialog box -->
            <!-- Start this modal box for show alert for All payment gateways -->
<div id="pgModal" class="modal fade" style="padding-top:6%;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" style="text-align:center;">Please Select Payment Gateway</h4>
            </div>
            <div class="modal-body">
                <form method="post" action="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/" name="pgselected" class="search-popup-inner" style="text-align:center;">
                    <input type="hidden" name="CourseIds" id="PGCourseIds" value=""  />
                    
                <div>
                <input type="radio" name="payment_gateway" id="pgmethod_value" value="2" > CSC Wallet
                <input type="radio" name="payment_gateway" value="3" id="pgmethod_value" style="margin-left: 10px;"> HDFC
                </div>
                <div style="padding-top:6%;"><button type="button" id="pgmethod" class="bt bt-xs bt-bg bt-secondary inline">Proceed Now</button></div>
                </form>
            </div>
        </div>
    </div>
</div>
<div id="hdfcModal" class="modal fade" style="padding-top:6%;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" style="text-align:center;">Please Select Payment Gateway</h4>
            </div>
            <div class="modal-body">
                <form method="post" action="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/payhdfc" name="hdfcselected" class="search-popup-inner" style="text-align:center;">
                    <input type="hidden" name="CourseIds" id="HDFCCourseIds" value=""  />
                    
                <div>
                <input type="radio" name="payment_gateway" required="required" value="3" style="margin-left: 10px;"> <img src="https://uatdigipaathshala.cscacademy.org//images/hdfclogo.png" width="115" height="50">
                </div>
                <div style="padding-top:6%;"><button type="submit" id="payhdfconly" class="bt bt-xs bt-bg bt-secondary inline">Proceed Now</button></div>
                </form>
            </div>
        </div>
    </div>
</div>
            <!-- End dialog box -->
<!-- Start this modal box for show upload 10th certificate before payment -->
<div id="uploadcertificateModal" class="modal fade" style="padding-top:6%;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="uploadmessage" style="text-align:center;"></h4>
            </div>
            <div class="modal-body">
                <form id="upload10certificateform" method="post" action="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/uploadcertificate" class="search-popup-inner" enctype="multipart/form-data" style="text-align:center;">
                    <input type="hidden" name="CourseIds" id="UploadCourseIds" value=""  />
                    <div>
                        <input type="file" name="upload10certificate" placeholder="Upload 10th Certificate" accept="image/*" id="10certificate" required="required">
                        <br>
                        <span>File size should be max 1 MB and format JPEG/PNG</span>
                    </div>
                    <div style="padding-top:6%;"><button type="submit" class="bt bt-xs bt-bg bt-secondary inline">Upload</button></div>
                </form>
            </div>
        </div>
    </div>
</div>
<!-- End dialog box -->
            
            
            <!-- Start this modal box for show alert for enrollment -->
<div id="showenrollmentModal" class="modal fade" style="padding-top:5%;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title"></h4>
            </div>
            <div class="modal-body">
				<div id="showenrolledalert"></div>
            </div>
        </div>
    </div>
</div>
<!-- End this modal box for show alert for enrollment -->
<!-- Show loader -->
                <div id='loadingmessage' class="loadingmessage" style='display:none'> </div>
                 <!-- End loader --> 
<div id="wrapper-content" class="clearfix">
			
<section id="page-title" class="single-product-title-wrap single-product-title-margin" >
                        <div data-stellar-background-image="https://uatdigipaathshala.cscacademy.org/lmsfront_layout/img/coursedetails.jpg" data-stellar-background-position="top" data-stellar-background-ratio="0.5" class="page-title-parallax" style="background-image: url('https://uatdigipaathshala.cscacademy.org/lmsfront_layout/img/coursedetails.jpg');background-position:center top;"></div>
                 <div class="container">
        <div class="single-product-title-inner pt-bottom" >
            <div class="m-title">
            <h2 class="p-font">COURSE DETAILS</h2>
       	</div>
            <div class="breadcrumbs-wrap">
                <div class="breadcrumbs-inner text-left">
                    	<ul class="breadcrumbs"><li><a href="" class="home"><i class="fa fa-home"></i></a></li><li><a href="#">Importance of Life Insurance </a></li><li></li></ul>                </div>
            </div>
        </div>
    </div>
</section>
<main  class="single-product-wrap has-sidebar">
        <div class="container clearfix">
        
            
                <div class="row clearfix">
                                    <div class="col-md-12"><h4 itemprop="name" class="product_title p-font hd-block">Importance of Life Insurance </h4>
</div>
                <div class="site-content-single-product col-md-8">
                    <div class="single-product-inner">
                            
<div class="woocommerce-notices-wrapper"></div>
<div id="product-468" class="product type-product post-468 status-publish first instock product_cat-business-management product_cat-law-economic has-post-thumbnail featured shipping-taxable purchasable product-type-simple">
    <div class="row single-product-info clearfix">
        <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="single-product-image">
                <div class="product-flash-wrap">
				                <span class="on-new product-flash" style="padding: 0 30px; font-size:17px;">Free</span>
                                                
</div>
<div id="single-product-image" class="single-product-image-inner horizontal">
	<div class="product-image-slider-wrap">
		<div class="product-image-slider">
			<div>
                <!--pre-signed url for s3 bucket-->
                                <a href="https://csc-edu.s3.ap-south-1.amazonaws.com/lmscourse/courseimage/0237689ddc4bbb59b2e3ab3d8b11d78e.jpg?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXRD2RIGVRXSHFNHS%2F20251104%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251104T024538Z&X-Amz-SignedHeaders=host&X-Amz-Expires=2&X-Amz-Signature=a9c6109ee378849d7c88e77c134b09c29537fc5a280589f191f89173332c65c8" itemprop="image" class="woocommerce-main-image" title="" data-rel="prettyPhoto[product-gallery]" data-index="0"><img style="width:768px; height:500px;" src="https://csc-edu.s3.ap-south-1.amazonaws.com/lmscourse/courseimage/0237689ddc4bbb59b2e3ab3d8b11d78e.jpg?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXRD2RIGVRXSHFNHS%2F20251104%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251104T024538Z&X-Amz-SignedHeaders=host&X-Amz-Expires=2&X-Amz-Signature=a9c6109ee378849d7c88e77c134b09c29537fc5a280589f191f89173332c65c8" class="attachment-shop_single size-shop_single" alt="" srcset="https://csc-edu.s3.ap-south-1.amazonaws.com/lmscourse/courseimage/0237689ddc4bbb59b2e3ab3d8b11d78e.jpg?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXRD2RIGVRXSHFNHS%2F20251104%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251104T024538Z&X-Amz-SignedHeaders=host&X-Amz-Expires=2&X-Amz-Signature=a9c6109ee378849d7c88e77c134b09c29537fc5a280589f191f89173332c65c8" /></a></div></div>
	</div>
	
	</div>
<script type="text/javascript">
	(function ($) {
		"use strict";
		$(document).ready(function () {
			var $productImageWrap = $('#single-product-image');
			G5Plus.woocommerce.singleProductImage($productImageWrap);
		});
	})(jQuery);
</script>
            </div>
      <div class="instructor-wrap">
			          
		            </div>
	            	                    <div class="lesson-list margin-top-70">
                                <div id="tab-description">
                    
                <div class="fullwidth" >
                <div class="vc_row wpb_row vc_row-fluid mg-top-30"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">            	<div class="heading color-dark text-left " >
                 <h2 class="heading-color fs-18">Course summary </h2>
                            </div>
            </div></div></div></div></div>
            <div class="fullwidth" >
            <div class="vc_row wpb_row vc_row-fluid mg-top-30"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div class="wpb_text_column wpb_content_element  content-icon-list" >
		<div class="wpb_wrapper">
			<p> Importance of Life Insurance</p>
		</div>
	</div>
</div></div></div></div></div>
<div class="fullwidth" ><div class="vc_row wpb_row vc_row-fluid mg-top-30"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">            <div class="heading color-dark text-left " >
                                                <h2 class="heading-color fs-18">
                    TOPIC LISTS  -               </h2>
                            </div>
            </div></div></div></div></div>
            <div class="fullwidth" >
            <div class="vc_row wpb_row vc_row-fluid mg-top-30"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper"> 
            		
            		                    <div class="course_lessons_section">
                        <div class="panel-group" id="accordion_4932" role="tablist" aria-multiselectable="true">
                            <div class="lesson-title">
                    <a href="javascript:;" data-id="lesson_content_1">
                        1 Importance of Life Insurance  <span><i class="fa fa-caret-down"></i></span>
                    </a>
                    <div class="meta">
                      <span class="badge video"><a href="https://uatdigipaathshala.cscacademy.org/lmstopics/viewtopics/1188" class="expand">Learn Now </a> </span>
                    </div>
                
                </div>
                <div class="lesson-content" id="lesson_content_1">
                
						 
                    </div>
                            
                </div>
                    </div>
    				
</div></div></div></div></div>
                </div>
                            
                        </div>
        </div>
    </div>
</div>
                    </div>
                </div>
                <div class="site-meta-single-product col-md-4">
                    <div class="summary-product entry-summary">
                        <div class="meta" style="margin-bottom: 20px;">
                            <!-- <span class="lb" style="background: #ffbd33;">Language</span> -->
                            <button class="  alt" style="width: 100%; border: none;
                            padding:  0 2%; min-height: 65px;background: #ffbd33; display: flex; justify-content: center; align-items: center;">
                                <select style="color:#fff ; background: #ffbd33; width: 100%; border: none;" class="" onchange="window.location='https://uatdigipaathshala.cscacademy.org/lmscourses/coursedetails/' + this.value;">
                                    <option selected value="">Select Language</option>
                                                                    </select>
                                <i class="fa fa-caret-down" style="color: white;"></i>
                            </button>
                            <!-- <span class="if" style="padding: 0 ; display: flex; align-items: center; background: #ffbd33;">
               
                            <i class="fa fa-caret-down"></i>
                        </span> -->
                        </div>
     
    
            <div class="meta">
            <span class="lb p-bg-dark">Duration</span>
            <span class="if p-bg">0 Days</span>
        </div>
    
                <div class="meta">
            <span class="lb p-bg-dark">Price</span>
                                    <span class="if p-bg"><span class="woocommerce-Price-amount amount">
            <span class="woocommerce-Price-currencySymbol"></span>Free</span></span>
                                </div>
    
    <div style="clear: both"></div>
            <div class="widget"style="margin-bottom: 0;">
        <h4 class="widget-title text-center"><span>ABOUT PUBLISHER</span></h4>
        <div class="location-map">
            			  <div class="instructor text-center">
                              <!--pre-signed url for s3 bucket-->
                              						            <img src="https://csc-edu.s3.ap-south-1.amazonaws.com/lmscourse/publisher/publisherphoto/11020d272a4ce3d990e5157b26d28648.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXRD2RIGVRXSHFNHS%2F20251104%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251104T024538Z&X-Amz-SignedHeaders=host&X-Amz-Expires=2&X-Amz-Signature=8dc7d82ec573adb927a2c9a51acfab2e9003321ff13513379bc2f203431588d5" style="width: 167px;height: 88px;">
						            <div class="info">
							            <div class="name"><h4 class="p-font"><a
											            href=""
											            target="_blank">Pushpa</a></h4>
							            </div>
                                         
										<div class="phone" style="text-align:left;">
									       <p>
	Importance of Life Insurance
                                           </p>   
                                              </div>
							            							         
			        </div>
            </div></div></div>
                <div class="enroll-wrap">
       
	<div class="quantity hidden">
	</div>
   
    <!-- check with auth for free course -->
    	        	
                        <a  href="javascript:void(0)" style="width:100%;"><button type="submit" name="add-to-cart" courseid="98" class="single_add_to_cart_button button alt enroll_now" style="width: 100%;font-size: 16px; padding-top: 18px; padding-bottom: 18px; background-color:#ffbd33; text-transform: uppercase;font-weight: 400;letter-spacing: 1px;">Subscribe Now</button></a>
            
                      
        
                
      
		
    </div>
    
			                    <aside id="g5plus-course-related-2" class="widget widget-course woocommerce"> 
                      <h4 class="widget-title"><span>Related Course</span></h4>            <div class="widget-content">
                	<div class="product-listing woocommerce clearfix  columns-4">
                                    <div class="course-item-wrap">
                    <div class="course-thumb">
                    	                        <img src="https://csc-edu.s3.ap-south-1.amazonaws.com/lmscourse/courseimage/6ea9adfc6507e9ddf9aea36852f79fc2.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXRD2RIGVRXSHFNHS%2F20251104%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251104T024538Z&X-Amz-SignedHeaders=host&X-Amz-Expires=2&X-Amz-Signature=3a68dadb5d6922ee2ce80a94407e70e58a888eb54a4ca136612478e5c72d9ad4" alt="Basic Course in Information Technology (BCIT)             " width="200" />
                    </div>
                    <div class="course-info">
                        <a class="fs-14 fw-medium course-title p-color-hover" href="https://uatdigipaathshala.cscacademy.org/lmscourses/coursedetails/4">Basic Course in Information Technology (BCIT)             </a>
                                   
        
                    <span><i class="fa fa-user p-color pd-right-10"></i>By : CSC Academy   </span>
                     <span><i class="fa fa-calendar p-color pd-right-10"></i>Duration : 365 Days</span>
                                  <span >
                    <a href="https://uatdigipaathshala.cscacademy.org/lmscourses/coursedetails/4" class="bt bt-xs bt-bg bt-secondary">Learn Now</a>
                </span>      
                            </div>
                </div>
				                
                 
                </div>
            </div>
            </aside>
            
                        </div></div>
                        
                </div>
                
                        
        </div>
    
</main>
			
			</div>
            
   <!-- Send data for enrollment through API -->
    
    <script>
	$.noConflict();
	jQuery(document).ready(function($){
	  
	  $(".enroll_now").click(function(evt){
	        var CourseId = $(this).attr("courseid");
			
			$.ajax({//Make the Ajax Request 
			beforeSend:function(){
			
			$('#loader').show();
			},	
			type: "POST",
			url: "https://uatdigipaathshala.cscacademy.org/admin/lmscourses/enrollstd",
			data:"courseId="+CourseId,
			
			success: function(data){//html = the server response html code
			$('#loadingmessage').hide();
			
			//store data
			$error = JSON.parse(data).error;
			$message = JSON.parse(data).message;
			
			//show modal box
			$("#showenrollmentModal").modal('show');
			
				if($error =='1')
				{
					$('#showenrolledalert').html('<div style="text-align: center;">'+$message+'<br><br><a href="https://uatdigipaathshala.cscacademy.org/student"><button type="button" class="btn-sm btn-primary">Login Now</button></a></div>');
				}
				else
				{
					$('#showenrolledalert').html('<div style="text-align: center;">'+$message+'<br><br><a href="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/mycourses"><button type="button" class="btn-sm btn-primary">My Course</button></a></div>');
				}
			},
			error:function(){ alert("Internal Error Server Not found!");}
			});
			
			
	        
	   });
      // Check restricted course for restricted categories
      $(".restricted_std").click(function(evt){
            var CourseId = $(this).attr("courseid");
            
            $.ajax({//Make the Ajax Request 
            beforeSend:function(){
            
            $('#loader').show();
            },  
            type: "POST",
            url: "https://uatdigipaathshala.cscacademy.org/admin/lmscourses/restrictedstd",
            data:"courseId="+CourseId,
            
            success: function(data){//html = the server response html code
            $('#loadingmessage').hide();
            
            //store data
            $error = JSON.parse(data).error;
            $message = JSON.parse(data).message;
            
            //show modal box
            $("#showenrollmentModal").modal('show');
            
                if($error =='1')
                {
                    $('#showenrolledalert').html('<div style="text-align: center;">'+$message+'<br><br><a href="https://uatdigipaathshala.cscacademy.org/student"><button type="button" class="btn-sm btn-primary">Login Now</button></a></div>');
                }
                else
                {
                    $('#showenrolledalert').html('<div style="text-align: center;">'+$message+'<br><br><a href="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/mycourses"><button type="button" class="btn-sm btn-primary">My Course</button></a></div>');
                }
            },
            error:function(){ alert("Internal Error Server Not found!");}
            });
            
            
            
       });
	   
	   
	   // SHOW BUY NOW POP UP
	   
	   $(".buy_now").click(function(evt){
	        var CourseId = $(this).attr("courseid");
			
			
			$.ajax({//Make the Ajax Request 
			beforeSend:function(){
			
			$('#loadingmessage').show();
			},	
			type: "POST",
			url: "https://uatdigipaathshala.cscacademy.org/admin/lmscourses/bUyNowstd",
			data:"courseId="+CourseId,
			
			success: function(data){//html = the server response html code
			$('#loadingmessage').hide();
			
			//store data
			$error = JSON.parse(data).error;
			$message = JSON.parse(data).message;
			
			if($error =='1')
				{
				//show modal box
				$("#showenrollmentModal").modal('show');
			
					$('#showenrolledalert').html('<div style="text-align: center;">'+$message+'<br><br><a href="https://uatdigipaathshala.cscacademy.org/student"><button type="button" class="btn-sm btn-primary">Login Now</button></a></div>');
				}
				else if($error =='5' || $error =='6' || $error =='7')
				{
				$Courseid = JSON.parse(data).CourseId;
				    //check if course CCA Course to upload 10th certificate before proceeding payment.
				    if($Courseid == '2')
                    {
                        $("#uploadcertificateModal").modal('show');
                        $("#UploadCourseIds").val($Courseid);
                        $('#uploadmessage').html('Please Upload 10th certificate first!!');
                    }
                    else if($Courseid == '74' || $Courseid == '77')
                    {
                        $("#uploadcertificateModal").modal('show');
                        $("#UploadCourseIds").val($Courseid);
                        $('#uploadmessage').html('Please Upload 12th certificate first!!');
                    }
				    else
                    {
                        
                        //show payment gateways window
                        if($error =='5')
                        {
                            $("#pgModal").modal('show');
                            $("#PGCourseIds").val($Courseid);
                        }
                        else if($error =='7')
                        {
                            $("#hdfcModal").modal('show');
                            $("#HDFCCourseIds").val($Courseid);
                        }
                        else if($error =='6')
                        {
                           $("#buynowModal").modal('show');
                            $("#CourseIds").val($Courseid);
                        }
                        
                        else
                        {
                            alert('Something went wrong into PG!!');
                            return false();
                        }
                        
                    }
				}
				else
				{
				//show modal box
					$("#showenrollmentModal").modal('show');
					$('#showenrolledalert').html('<div style="text-align: center;">'+$message+'<br><br><a href="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/mycourses"><button type="button" class="btn-sm btn-primary">My Course</button></a></div>');
				}
			},
			error:function(){ alert("Internal Error Server Not found!");}
			});
			
			
			
		  });
	   // Upload 10th certificate through ajax
        $("#upload10certificateform").on('submit',(function(e) {
            //check file size first!!
            var file_size = $('#10certificate')[0].files[0].size;
            if(file_size>2097152)
            {
                alert("File size is greater than 2MB, please upload again!!");
                return false;
            }
            e.preventDefault();
            $.ajax({
                beforeSend:function(){
                    $("#uploadcertificateModal").modal('hide');
                    $('#loadingmessage').show();
                },
                url: "https://uatdigipaathshala.cscacademy.org/admin/lmscourses/upload10certificate",
                type: "POST",
                data:  new FormData(this),
                contentType: false,
                cache: false,
                processData:false,
                success: function(data)
                {
                    if(JSON.parse(data).error =='4')
                    {
                        $("#uploadcertificateModal").modal('hide');
                        $("#buynowModal").modal('show');
                        $("#CourseIds").val($Courseid);
                        $("#UploadCertificateFile").val(JSON.parse(data).UploadCertificateFile);
                    }
                    else
                    {
                        alert(JSON.parse(data).message);
                    }
                },
                error: function(e)
                {
                    $("#err").html(e).fadeIn();
                }
            });
        }));
        //check CSCID is associated with cscacademy centre or not
        $("#paynowcscid").click(function(evt){
            var cscID = $('#cscID').val();
            var courseid = "98";
            var vedic_math_medium = "<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr690968d297c2b-trace').style.display = (document.getElementById('cakeErr690968d297c2b-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined variable: auth_user [<b>APP/View/Lmscourses/coursedetails.ctp</b>, line <b>774</b>]<div id="cakeErr690968d297c2b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr690968d297c2b-code').style.display = (document.getElementById('cakeErr690968d297c2b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr690968d297c2b-context').style.display = (document.getElementById('cakeErr690968d297c2b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr690968d297c2b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000">        ob_start();</span></code>
<code><span style="color: #000000"></span></code>
<span class="code-highlight"><code><span style="color: #000000">        include $___viewFn;</span></code></span></pre><pre id="cakeErr690968d297c2b-context" class="cake-context" style="display: none;">$___viewFn = '/data/uat/app/View/Lmscourses/coursedetails.ctp'
$___dataForView = array(
	'record' => array(
		[maximum depth reached]
	),
	'lmstopics' => array(
		[maximum depth reached]
	),
	'relatedcourses' => array(
		[maximum depth reached]
	),
	'check_exist' => false,
	'languages' => array([maximum depth reached]),
	'LastLogin' => array([maximum depth reached]),
	's3' => object(Aws\S3\S3Client) {},
	'inputDefaults' => array(
		[maximum depth reached]
	),
	'csrfToken' => '096fcd56dabaf909ad604936683dcf7b2f8f6d577d7c8d4b359cb842936cca25'
)
$record = array(
	'Lmsuser' => array(
		[maximum depth reached]
	),
	'Lmscourse' => array(
		[maximum depth reached]
	)
)
$lmstopics = array(
	(int) 0 => array(
		[maximum depth reached]
	)
)
$relatedcourses = array(
	(int) 0 => array(
		[maximum depth reached]
	)
)
$check_exist = false
$languages = array()
$LastLogin = array()
$s3 = object(Aws\S3\S3Client) {}
$inputDefaults = array(
	'inputDefaults' => array(
		[maximum depth reached]
	)
)
$csrfToken = '096fcd56dabaf909ad604936683dcf7b2f8f6d577d7c8d4b359cb842936cca25'
$cmd = object(Aws\Command) {}
$request = object(GuzzleHttp\Psr7\Request) {}
$presignedUrl = 'https://csc-edu.s3.ap-south-1.amazonaws.com/lmscourse/courseimage/6ea9adfc6507e9ddf9aea36852f79fc2.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXRD2RIGVRXSHFNHS%2F20251104%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251104T024538Z&X-Amz-SignedHeaders=host&X-Amz-Expires=2&X-Amz-Signature=3a68dadb5d6922ee2ce80a94407e70e58a888eb54a4ca136612478e5c72d9ad4'
$count = (int) 1
$count2 = (int) 0
$count3 = (int) 0
$lmstopic = array(
	'Lmstopic' => array(
		[maximum depth reached]
	),
	'children' => array([maximum depth reached])
)
$relatedcourse = array(
	'Lmscourse' => array(
		[maximum depth reached]
	)
)</pre><pre class="stack-trace">include - APP/View/Lmscourses/coursedetails.ctp, line 774
View::_evaluate() - CORE/Cake/View/View.php, line 915
View::_render() - CORE/Cake/View/View.php, line 879
View::render() - CORE/Cake/View/View.php, line 470
Controller::render() - CORE/Cake/Controller/Controller.php, line 959
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 110
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 85
[main] - APP/webroot/index.php, line 96</pre></div></pre>";
            var csrfToken = "096fcd56dabaf909ad604936683dcf7b2f8f6d577d7c8d4b359cb842936cca25";
            // alert(courseid);
            $.ajax({//Make the Ajax Request
                beforeSend:function(){
                    $("#buynowModal").modal('hide');
                    $('#loadingmessage').show();
                },
                type: "POST",
                url: "https://uatdigipaathshala.cscacademy.org/admin/users/checkCscacademyonboarding",
                // data:"cscID="+cscID+"course_id="+courseid,
                data:{cscID:cscID,courseid:courseid,vedic_math_medium:vedic_math_medium,csrfToken:csrfToken},
                success: function(data){//html = the server response html code
                    $('#loadingmessage').hide();
                    if(JSON.parse(data).count =='1')
                    {
                        document.paymentproceed.submit();
                    }
                    else if(JSON.parse(data).count =='2') {
                        document.paymentproceed.submit();
                    }
                    else if(JSON.parse(data).count =='3') {
                        alert('Oops!! Seats are full please try in another batch.');
                    } 
                    else if(JSON.parse(data).count =='4') {
                        alert('Oops!! Payments are closed now for this course.');
                    } 
                    else if(JSON.parse(data).count =='5') {
                        document.paymentproceed.submit();
                    }
                    else if(JSON.parse(data).count =='6') {
                        alert('Kindly register with Spoken Tutorial(Plan 1- All Courses) to Enroll students in This Course');
                    }
                    
                    else {
                        $("#buynowModal").modal('show');
                        alert('This course is not active for this VLE!!');
                    }
                },
                error:function(){ alert("Internal Error Server Not found!");}
            });
        });
         $("#pgmethod").click(function(evt){
            
            var pgmethod = $('input[name="payment_gateway"]:checked').val();
           if(pgmethod ==2)
           {
            $("#pgModal").modal('hide');
            $("#buynowModal").modal('show');
            $("#CourseIds").val($Courseid);
           }
           else if(pgmethod ==3)
           {
            $("#pgModal").modal('hide');
            $("#hdfcModal").modal('show');
            $("#HDFCCourseIds").val($Courseid);
           }
           else
           {
            alert('Error due to network!!');
            return false();
           }
           
        });
			
	});
</script>  
        
            
            '
$scripts_for_layout = ''
$title_for_layout = 'Lmscourses' include - APP/View/Layouts/lms_inner_layout.ctp, line 391
View::_evaluate() - CORE/Cake/View/View.php, line 915
View::_render() - CORE/Cake/View/View.php, line 879
View::renderLayout() - CORE/Cake/View/View.php, line 534
View::render() - CORE/Cake/View/View.php, line 478
Controller::render() - CORE/Cake/Controller/Controller.php, line 959
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 110
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 85
[main] - APP/webroot/index.php, line 96 Notice  (8) : Undefined index: Message [APP/View/Layouts/lms_inner_layout.ctp , line 395 ]Code  Context         ob_start(); 
        include $___viewFn; $___viewFn = '/data/uat/app/View/Layouts/lms_inner_layout.ctp'
$___dataForView = array(
	'record' => array(
		[maximum depth reached]
	),
	'lmstopics' => array(
		[maximum depth reached]
	),
	'relatedcourses' => array(
		[maximum depth reached]
	),
	'check_exist' => false,
	'languages' => array([maximum depth reached]),
	'LastLogin' => array([maximum depth reached]),
	's3' => object(Aws\S3\S3Client) {},
	'inputDefaults' => array(
		[maximum depth reached]
	),
	'csrfToken' => '096fcd56dabaf909ad604936683dcf7b2f8f6d577d7c8d4b359cb842936cca25',
	'content_for_layout' => '<script type="text/javascript" src="/js/jquery-min.js"></script>
<style>
.loadingmessage {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url('https://uatdigipaathshala.cscacademy.org/gradient-design/img/loading.gif') 50% 50% no-repeat rgb(249,249,249);
	opacity: .8;
}
</style>
                 <!-- Show buy now dialog box to proceed payment -->
                <!-- Start this modal box for show alert for enrollment -->
<div id="buynowModal" class="modal fade" style="padding-top:6%;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" style="text-align:center;">Please Enter CSC ID</h4>
            </div>
            <div class="modal-body">
				<form method="post" action="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/paycscwallet" name="paymentproceed" class="search-popup-inner" style="text-align:center;">
                    <input type="hidden" name="CourseIds" id="CourseIds" value=""  />
                    <input type="hidden" name="UploadCertificateFile" id="UploadCertificateFile" value=""  />
                <div>
                <input type="text" name="cscid" placeholder="CSC ID" maxlength="12" id="cscID" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*)\./g, '$1');">
                </div>
                <div style="padding-top:6%;"><button type="button" id="paynowcscid" class="bt bt-xs bt-bg bt-secondary inline">Pay Now</button></div>
                </form>
            </div>
        </div>
    </div>
</div>
            <!-- End dialog box -->
            <!-- Start this modal box for show alert for All payment gateways -->
<div id="pgModal" class="modal fade" style="padding-top:6%;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" style="text-align:center;">Please Select Payment Gateway</h4>
            </div>
            <div class="modal-body">
                <form method="post" action="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/" name="pgselected" class="search-popup-inner" style="text-align:center;">
                    <input type="hidden" name="CourseIds" id="PGCourseIds" value=""  />
                    
                <div>
                <input type="radio" name="payment_gateway" id="pgmethod_value" value="2" > CSC Wallet
                <input type="radio" name="payment_gateway" value="3" id="pgmethod_value" style="margin-left: 10px;"> HDFC
                </div>
                <div style="padding-top:6%;"><button type="button" id="pgmethod" class="bt bt-xs bt-bg bt-secondary inline">Proceed Now</button></div>
                </form>
            </div>
        </div>
    </div>
</div>
<div id="hdfcModal" class="modal fade" style="padding-top:6%;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" style="text-align:center;">Please Select Payment Gateway</h4>
            </div>
            <div class="modal-body">
                <form method="post" action="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/payhdfc" name="hdfcselected" class="search-popup-inner" style="text-align:center;">
                    <input type="hidden" name="CourseIds" id="HDFCCourseIds" value=""  />
                    
                <div>
                <input type="radio" name="payment_gateway" required="required" value="3" style="margin-left: 10px;"> <img src="https://uatdigipaathshala.cscacademy.org//images/hdfclogo.png" width="115" height="50">
                </div>
                <div style="padding-top:6%;"><button type="submit" id="payhdfconly" class="bt bt-xs bt-bg bt-secondary inline">Proceed Now</button></div>
                </form>
            </div>
        </div>
    </div>
</div>
            <!-- End dialog box -->
<!-- Start this modal box for show upload 10th certificate before payment -->
<div id="uploadcertificateModal" class="modal fade" style="padding-top:6%;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="uploadmessage" style="text-align:center;"></h4>
            </div>
            <div class="modal-body">
                <form id="upload10certificateform" method="post" action="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/uploadcertificate" class="search-popup-inner" enctype="multipart/form-data" style="text-align:center;">
                    <input type="hidden" name="CourseIds" id="UploadCourseIds" value=""  />
                    <div>
                        <input type="file" name="upload10certificate" placeholder="Upload 10th Certificate" accept="image/*" id="10certificate" required="required">
                        <br>
                        <span>File size should be max 1 MB and format JPEG/PNG</span>
                    </div>
                    <div style="padding-top:6%;"><button type="submit" class="bt bt-xs bt-bg bt-secondary inline">Upload</button></div>
                </form>
            </div>
        </div>
    </div>
</div>
<!-- End dialog box -->
            
            
            <!-- Start this modal box for show alert for enrollment -->
<div id="showenrollmentModal" class="modal fade" style="padding-top:5%;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title"></h4>
            </div>
            <div class="modal-body">
				<div id="showenrolledalert"></div>
            </div>
        </div>
    </div>
</div>
<!-- End this modal box for show alert for enrollment -->
<!-- Show loader -->
                <div id='loadingmessage' class="loadingmessage" style='display:none'> </div>
                 <!-- End loader --> 
<div id="wrapper-content" class="clearfix">
			
<section id="page-title" class="single-product-title-wrap single-product-title-margin" >
                        <div data-stellar-background-image="https://uatdigipaathshala.cscacademy.org/lmsfront_layout/img/coursedetails.jpg" data-stellar-background-position="top" data-stellar-background-ratio="0.5" class="page-title-parallax" style="background-image: url('https://uatdigipaathshala.cscacademy.org/lmsfront_layout/img/coursedetails.jpg');background-position:center top;"></div>
                 <div class="container">
        <div class="single-product-title-inner pt-bottom" >
            <div class="m-title">
            <h2 class="p-font">COURSE DETAILS</h2>
       	</div>
            <div class="breadcrumbs-wrap">
                <div class="breadcrumbs-inner text-left">
                    	<ul class="breadcrumbs"><li><a href="" class="home"><i class="fa fa-home"></i></a></li><li><a href="#">Importance of Life Insurance </a></li><li></li></ul>                </div>
            </div>
        </div>
    </div>
</section>
<main  class="single-product-wrap has-sidebar">
        <div class="container clearfix">
        
            
                <div class="row clearfix">
                                    <div class="col-md-12"><h4 itemprop="name" class="product_title p-font hd-block">Importance of Life Insurance </h4>
</div>
                <div class="site-content-single-product col-md-8">
                    <div class="single-product-inner">
                            
<div class="woocommerce-notices-wrapper"></div>
<div id="product-468" class="product type-product post-468 status-publish first instock product_cat-business-management product_cat-law-economic has-post-thumbnail featured shipping-taxable purchasable product-type-simple">
    <div class="row single-product-info clearfix">
        <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="single-product-image">
                <div class="product-flash-wrap">
				                <span class="on-new product-flash" style="padding: 0 30px; font-size:17px;">Free</span>
                                                
</div>
<div id="single-product-image" class="single-product-image-inner horizontal">
	<div class="product-image-slider-wrap">
		<div class="product-image-slider">
			<div>
                <!--pre-signed url for s3 bucket-->
                                <a href="https://csc-edu.s3.ap-south-1.amazonaws.com/lmscourse/courseimage/0237689ddc4bbb59b2e3ab3d8b11d78e.jpg?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXRD2RIGVRXSHFNHS%2F20251104%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251104T024538Z&X-Amz-SignedHeaders=host&X-Amz-Expires=2&X-Amz-Signature=a9c6109ee378849d7c88e77c134b09c29537fc5a280589f191f89173332c65c8" itemprop="image" class="woocommerce-main-image" title="" data-rel="prettyPhoto[product-gallery]" data-index="0"><img style="width:768px; height:500px;" src="https://csc-edu.s3.ap-south-1.amazonaws.com/lmscourse/courseimage/0237689ddc4bbb59b2e3ab3d8b11d78e.jpg?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXRD2RIGVRXSHFNHS%2F20251104%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251104T024538Z&X-Amz-SignedHeaders=host&X-Amz-Expires=2&X-Amz-Signature=a9c6109ee378849d7c88e77c134b09c29537fc5a280589f191f89173332c65c8" class="attachment-shop_single size-shop_single" alt="" srcset="https://csc-edu.s3.ap-south-1.amazonaws.com/lmscourse/courseimage/0237689ddc4bbb59b2e3ab3d8b11d78e.jpg?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXRD2RIGVRXSHFNHS%2F20251104%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251104T024538Z&X-Amz-SignedHeaders=host&X-Amz-Expires=2&X-Amz-Signature=a9c6109ee378849d7c88e77c134b09c29537fc5a280589f191f89173332c65c8" /></a></div></div>
	</div>
	
	</div>
<script type="text/javascript">
	(function ($) {
		"use strict";
		$(document).ready(function () {
			var $productImageWrap = $('#single-product-image');
			G5Plus.woocommerce.singleProductImage($productImageWrap);
		});
	})(jQuery);
</script>
            </div>
      <div class="instructor-wrap">
			          
		            </div>
	            	                    <div class="lesson-list margin-top-70">
                                <div id="tab-description">
                    
                <div class="fullwidth" >
                <div class="vc_row wpb_row vc_row-fluid mg-top-30"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">            	<div class="heading color-dark text-left " >
                 <h2 class="heading-color fs-18">Course summary </h2>
                            </div>
            </div></div></div></div></div>
            <div class="fullwidth" >
            <div class="vc_row wpb_row vc_row-fluid mg-top-30"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div class="wpb_text_column wpb_content_element  content-icon-list" >
		<div class="wpb_wrapper">
			<p> Importance of Life Insurance</p>
		</div>
	</div>
</div></div></div></div></div>
<div class="fullwidth" ><div class="vc_row wpb_row vc_row-fluid mg-top-30"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">            <div class="heading color-dark text-left " >
                                                <h2 class="heading-color fs-18">
                    TOPIC LISTS  -               </h2>
                            </div>
            </div></div></div></div></div>
            <div class="fullwidth" >
            <div class="vc_row wpb_row vc_row-fluid mg-top-30"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper"> 
            		
            		                    <div class="course_lessons_section">
                        <div class="panel-group" id="accordion_4932" role="tablist" aria-multiselectable="true">
                            <div class="lesson-title">
                    <a href="javascript:;" data-id="lesson_content_1">
                        1 Importance of Life Insurance  <span><i class="fa fa-caret-down"></i></span>
                    </a>
                    <div class="meta">
                      <span class="badge video"><a href="https://uatdigipaathshala.cscacademy.org/lmstopics/viewtopics/1188" class="expand">Learn Now </a> </span>
                    </div>
                
                </div>
                <div class="lesson-content" id="lesson_content_1">
                
						 
                    </div>
                            
                </div>
                    </div>
    				
</div></div></div></div></div>
                </div>
                            
                        </div>
        </div>
    </div>
</div>
                    </div>
                </div>
                <div class="site-meta-single-product col-md-4">
                    <div class="summary-product entry-summary">
                        <div class="meta" style="margin-bottom: 20px;">
                            <!-- <span class="lb" style="background: #ffbd33;">Language</span> -->
                            <button class="  alt" style="width: 100%; border: none;
                            padding:  0 2%; min-height: 65px;background: #ffbd33; display: flex; justify-content: center; align-items: center;">
                                <select style="color:#fff ; background: #ffbd33; width: 100%; border: none;" class="" onchange="window.location='https://uatdigipaathshala.cscacademy.org/lmscourses/coursedetails/' + this.value;">
                                    <option selected value="">Select Language</option>
                                                                    </select>
                                <i class="fa fa-caret-down" style="color: white;"></i>
                            </button>
                            <!-- <span class="if" style="padding: 0 ; display: flex; align-items: center; background: #ffbd33;">
               
                            <i class="fa fa-caret-down"></i>
                        </span> -->
                        </div>
     
    
            <div class="meta">
            <span class="lb p-bg-dark">Duration</span>
            <span class="if p-bg">0 Days</span>
        </div>
    
                <div class="meta">
            <span class="lb p-bg-dark">Price</span>
                                    <span class="if p-bg"><span class="woocommerce-Price-amount amount">
            <span class="woocommerce-Price-currencySymbol"></span>Free</span></span>
                                </div>
    
    <div style="clear: both"></div>
            <div class="widget"style="margin-bottom: 0;">
        <h4 class="widget-title text-center"><span>ABOUT PUBLISHER</span></h4>
        <div class="location-map">
            			  <div class="instructor text-center">
                              <!--pre-signed url for s3 bucket-->
                              						            <img src="https://csc-edu.s3.ap-south-1.amazonaws.com/lmscourse/publisher/publisherphoto/11020d272a4ce3d990e5157b26d28648.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXRD2RIGVRXSHFNHS%2F20251104%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251104T024538Z&X-Amz-SignedHeaders=host&X-Amz-Expires=2&X-Amz-Signature=8dc7d82ec573adb927a2c9a51acfab2e9003321ff13513379bc2f203431588d5" style="width: 167px;height: 88px;">
						            <div class="info">
							            <div class="name"><h4 class="p-font"><a
											            href=""
											            target="_blank">Pushpa</a></h4>
							            </div>
                                         
										<div class="phone" style="text-align:left;">
									       <p>
	Importance of Life Insurance
                                           </p>   
                                              </div>
							            							         
			        </div>
            </div></div></div>
                <div class="enroll-wrap">
       
	<div class="quantity hidden">
	</div>
   
    <!-- check with auth for free course -->
    	        	
                        <a  href="javascript:void(0)" style="width:100%;"><button type="submit" name="add-to-cart" courseid="98" class="single_add_to_cart_button button alt enroll_now" style="width: 100%;font-size: 16px; padding-top: 18px; padding-bottom: 18px; background-color:#ffbd33; text-transform: uppercase;font-weight: 400;letter-spacing: 1px;">Subscribe Now</button></a>
            
                      
        
                
      
		
    </div>
    
			                    <aside id="g5plus-course-related-2" class="widget widget-course woocommerce"> 
                      <h4 class="widget-title"><span>Related Course</span></h4>            <div class="widget-content">
                	<div class="product-listing woocommerce clearfix  columns-4">
                                    <div class="course-item-wrap">
                    <div class="course-thumb">
                    	                        <img src="https://csc-edu.s3.ap-south-1.amazonaws.com/lmscourse/courseimage/6ea9adfc6507e9ddf9aea36852f79fc2.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXRD2RIGVRXSHFNHS%2F20251104%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251104T024538Z&X-Amz-SignedHeaders=host&X-Amz-Expires=2&X-Amz-Signature=3a68dadb5d6922ee2ce80a94407e70e58a888eb54a4ca136612478e5c72d9ad4" alt="Basic Course in Information Technology (BCIT)             " width="200" />
                    </div>
                    <div class="course-info">
                        <a class="fs-14 fw-medium course-title p-color-hover" href="https://uatdigipaathshala.cscacademy.org/lmscourses/coursedetails/4">Basic Course in Information Technology (BCIT)             </a>
                                   
        
                    <span><i class="fa fa-user p-color pd-right-10"></i>By : CSC Academy   </span>
                     <span><i class="fa fa-calendar p-color pd-right-10"></i>Duration : 365 Days</span>
                                  <span >
                    <a href="https://uatdigipaathshala.cscacademy.org/lmscourses/coursedetails/4" class="bt bt-xs bt-bg bt-secondary">Learn Now</a>
                </span>      
                            </div>
                </div>
				                
                 
                </div>
            </div>
            </aside>
            
                        </div></div>
                        
                </div>
                
                        
        </div>
    
</main>
			
			</div>
            
   <!-- Send data for enrollment through API -->
    
    <script>
	$.noConflict();
	jQuery(document).ready(function($){
	  
	  $(".enroll_now").click(function(evt){
	        var CourseId = $(this).attr("courseid");
			
			$.ajax({//Make the Ajax Request 
			beforeSend:function(){
			
			$('#loader').show();
			},	
			type: "POST",
			url: "https://uatdigipaathshala.cscacademy.org/admin/lmscourses/enrollstd",
			data:"courseId="+CourseId,
			
			success: function(data){//html = the server response html code
			$('#loadingmessage').hide();
			
			//store data
			$error = JSON.parse(data).error;
			$message = JSON.parse(data).message;
			
			//show modal box
			$("#showenrollmentModal").modal('show');
			
				if($error =='1')
				{
					$('#showenrolledalert').html('<div style="text-align: center;">'+$message+'<br><br><a href="https://uatdigipaathshala.cscacademy.org/student"><button type="button" class="btn-sm btn-primary">Login Now</button></a></div>');
				}
				else
				{
					$('#showenrolledalert').html('<div style="text-align: center;">'+$message+'<br><br><a href="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/mycourses"><button type="button" class="btn-sm btn-primary">My Course</button></a></div>');
				}
			},
			error:function(){ alert("Internal Error Server Not found!");}
			});
			
			
	        
	   });
      // Check restricted course for restricted categories
      $(".restricted_std").click(function(evt){
            var CourseId = $(this).attr("courseid");
            
            $.ajax({//Make the Ajax Request 
            beforeSend:function(){
            
            $('#loader').show();
            },  
            type: "POST",
            url: "https://uatdigipaathshala.cscacademy.org/admin/lmscourses/restrictedstd",
            data:"courseId="+CourseId,
            
            success: function(data){//html = the server response html code
            $('#loadingmessage').hide();
            
            //store data
            $error = JSON.parse(data).error;
            $message = JSON.parse(data).message;
            
            //show modal box
            $("#showenrollmentModal").modal('show');
            
                if($error =='1')
                {
                    $('#showenrolledalert').html('<div style="text-align: center;">'+$message+'<br><br><a href="https://uatdigipaathshala.cscacademy.org/student"><button type="button" class="btn-sm btn-primary">Login Now</button></a></div>');
                }
                else
                {
                    $('#showenrolledalert').html('<div style="text-align: center;">'+$message+'<br><br><a href="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/mycourses"><button type="button" class="btn-sm btn-primary">My Course</button></a></div>');
                }
            },
            error:function(){ alert("Internal Error Server Not found!");}
            });
            
            
            
       });
	   
	   
	   // SHOW BUY NOW POP UP
	   
	   $(".buy_now").click(function(evt){
	        var CourseId = $(this).attr("courseid");
			
			
			$.ajax({//Make the Ajax Request 
			beforeSend:function(){
			
			$('#loadingmessage').show();
			},	
			type: "POST",
			url: "https://uatdigipaathshala.cscacademy.org/admin/lmscourses/bUyNowstd",
			data:"courseId="+CourseId,
			
			success: function(data){//html = the server response html code
			$('#loadingmessage').hide();
			
			//store data
			$error = JSON.parse(data).error;
			$message = JSON.parse(data).message;
			
			if($error =='1')
				{
				//show modal box
				$("#showenrollmentModal").modal('show');
			
					$('#showenrolledalert').html('<div style="text-align: center;">'+$message+'<br><br><a href="https://uatdigipaathshala.cscacademy.org/student"><button type="button" class="btn-sm btn-primary">Login Now</button></a></div>');
				}
				else if($error =='5' || $error =='6' || $error =='7')
				{
				$Courseid = JSON.parse(data).CourseId;
				    //check if course CCA Course to upload 10th certificate before proceeding payment.
				    if($Courseid == '2')
                    {
                        $("#uploadcertificateModal").modal('show');
                        $("#UploadCourseIds").val($Courseid);
                        $('#uploadmessage').html('Please Upload 10th certificate first!!');
                    }
                    else if($Courseid == '74' || $Courseid == '77')
                    {
                        $("#uploadcertificateModal").modal('show');
                        $("#UploadCourseIds").val($Courseid);
                        $('#uploadmessage').html('Please Upload 12th certificate first!!');
                    }
				    else
                    {
                        
                        //show payment gateways window
                        if($error =='5')
                        {
                            $("#pgModal").modal('show');
                            $("#PGCourseIds").val($Courseid);
                        }
                        else if($error =='7')
                        {
                            $("#hdfcModal").modal('show');
                            $("#HDFCCourseIds").val($Courseid);
                        }
                        else if($error =='6')
                        {
                           $("#buynowModal").modal('show');
                            $("#CourseIds").val($Courseid);
                        }
                        
                        else
                        {
                            alert('Something went wrong into PG!!');
                            return false();
                        }
                        
                    }
				}
				else
				{
				//show modal box
					$("#showenrollmentModal").modal('show');
					$('#showenrolledalert').html('<div style="text-align: center;">'+$message+'<br><br><a href="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/mycourses"><button type="button" class="btn-sm btn-primary">My Course</button></a></div>');
				}
			},
			error:function(){ alert("Internal Error Server Not found!");}
			});
			
			
			
		  });
	   // Upload 10th certificate through ajax
        $("#upload10certificateform").on('submit',(function(e) {
            //check file size first!!
            var file_size = $('#10certificate')[0].files[0].size;
            if(file_size>2097152)
            {
                alert("File size is greater than 2MB, please upload again!!");
                return false;
            }
            e.preventDefault();
            $.ajax({
                beforeSend:function(){
                    $("#uploadcertificateModal").modal('hide');
                    $('#loadingmessage').show();
                },
                url: "https://uatdigipaathshala.cscacademy.org/admin/lmscourses/upload10certificate",
                type: "POST",
                data:  new FormData(this),
                contentType: false,
                cache: false,
                processData:false,
                success: function(data)
                {
                    if(JSON.parse(data).error =='4')
                    {
                        $("#uploadcertificateModal").modal('hide');
                        $("#buynowModal").modal('show');
                        $("#CourseIds").val($Courseid);
                        $("#UploadCertificateFile").val(JSON.parse(data).UploadCertificateFile);
                    }
                    else
                    {
                        alert(JSON.parse(data).message);
                    }
                },
                error: function(e)
                {
                    $("#err").html(e).fadeIn();
                }
            });
        }));
        //check CSCID is associated with cscacademy centre or not
        $("#paynowcscid").click(function(evt){
            var cscID = $('#cscID').val();
            var courseid = "98";
            var vedic_math_medium = "<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr690968d297c2b-trace').style.display = (document.getElementById('cakeErr690968d297c2b-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined variable: auth_user [<b>APP/View/Lmscourses/coursedetails.ctp</b>, line <b>774</b>]<div id="cakeErr690968d297c2b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr690968d297c2b-code').style.display = (document.getElementById('cakeErr690968d297c2b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr690968d297c2b-context').style.display = (document.getElementById('cakeErr690968d297c2b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr690968d297c2b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000">        ob_start();</span></code>
<code><span style="color: #000000"></span></code>
<span class="code-highlight"><code><span style="color: #000000">        include $___viewFn;</span></code></span></pre><pre id="cakeErr690968d297c2b-context" class="cake-context" style="display: none;">$___viewFn = '/data/uat/app/View/Lmscourses/coursedetails.ctp'
$___dataForView = array(
	'record' => array(
		[maximum depth reached]
	),
	'lmstopics' => array(
		[maximum depth reached]
	),
	'relatedcourses' => array(
		[maximum depth reached]
	),
	'check_exist' => false,
	'languages' => array([maximum depth reached]),
	'LastLogin' => array([maximum depth reached]),
	's3' => object(Aws\S3\S3Client) {},
	'inputDefaults' => array(
		[maximum depth reached]
	),
	'csrfToken' => '096fcd56dabaf909ad604936683dcf7b2f8f6d577d7c8d4b359cb842936cca25'
)
$record = array(
	'Lmsuser' => array(
		[maximum depth reached]
	),
	'Lmscourse' => array(
		[maximum depth reached]
	)
)
$lmstopics = array(
	(int) 0 => array(
		[maximum depth reached]
	)
)
$relatedcourses = array(
	(int) 0 => array(
		[maximum depth reached]
	)
)
$check_exist = false
$languages = array()
$LastLogin = array()
$s3 = object(Aws\S3\S3Client) {}
$inputDefaults = array(
	'inputDefaults' => array(
		[maximum depth reached]
	)
)
$csrfToken = '096fcd56dabaf909ad604936683dcf7b2f8f6d577d7c8d4b359cb842936cca25'
$cmd = object(Aws\Command) {}
$request = object(GuzzleHttp\Psr7\Request) {}
$presignedUrl = 'https://csc-edu.s3.ap-south-1.amazonaws.com/lmscourse/courseimage/6ea9adfc6507e9ddf9aea36852f79fc2.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXRD2RIGVRXSHFNHS%2F20251104%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251104T024538Z&X-Amz-SignedHeaders=host&X-Amz-Expires=2&X-Amz-Signature=3a68dadb5d6922ee2ce80a94407e70e58a888eb54a4ca136612478e5c72d9ad4'
$count = (int) 1
$count2 = (int) 0
$count3 = (int) 0
$lmstopic = array(
	'Lmstopic' => array(
		[maximum depth reached]
	),
	'children' => array([maximum depth reached])
)
$relatedcourse = array(
	'Lmscourse' => array(
		[maximum depth reached]
	)
)</pre><pre class="stack-trace">include - APP/View/Lmscourses/coursedetails.ctp, line 774
View::_evaluate() - CORE/Cake/View/View.php, line 915
View::_render() - CORE/Cake/View/View.php, line 879
View::render() - CORE/Cake/View/View.php, line 470
Controller::render() - CORE/Cake/Controller/Controller.php, line 959
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 110
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 85
[main] - APP/webroot/index.php, line 96</pre></div></pre>";
            var csrfToken = "096fcd56dabaf909ad604936683dcf7b2f8f6d577d7c8d4b359cb842936cca25";
            // alert(courseid);
            $.ajax({//Make the Ajax Request
                beforeSend:function(){
                    $("#buynowModal").modal('hide');
                    $('#loadingmessage').show();
                },
                type: "POST",
                url: "https://uatdigipaathshala.cscacademy.org/admin/users/checkCscacademyonboarding",
                // data:"cscID="+cscID+"course_id="+courseid,
                data:{cscID:cscID,courseid:courseid,vedic_math_medium:vedic_math_medium,csrfToken:csrfToken},
                success: function(data){//html = the server response html code
                    $('#loadingmessage').hide();
                    if(JSON.parse(data).count =='1')
                    {
                        document.paymentproceed.submit();
                    }
                    else if(JSON.parse(data).count =='2') {
                        document.paymentproceed.submit();
                    }
                    else if(JSON.parse(data).count =='3') {
                        alert('Oops!! Seats are full please try in another batch.');
                    } 
                    else if(JSON.parse(data).count =='4') {
                        alert('Oops!! Payments are closed now for this course.');
                    } 
                    else if(JSON.parse(data).count =='5') {
                        document.paymentproceed.submit();
                    }
                    else if(JSON.parse(data).count =='6') {
                        alert('Kindly register with Spoken Tutorial(Plan 1- All Courses) to Enroll students in This Course');
                    }
                    
                    else {
                        $("#buynowModal").modal('show');
                        alert('This course is not active for this VLE!!');
                    }
                },
                error:function(){ alert("Internal Error Server Not found!");}
            });
        });
         $("#pgmethod").click(function(evt){
            
            var pgmethod = $('input[name="payment_gateway"]:checked').val();
           if(pgmethod ==2)
           {
            $("#pgModal").modal('hide');
            $("#buynowModal").modal('show');
            $("#CourseIds").val($Courseid);
           }
           else if(pgmethod ==3)
           {
            $("#pgModal").modal('hide');
            $("#hdfcModal").modal('show');
            $("#HDFCCourseIds").val($Courseid);
           }
           else
           {
            alert('Error due to network!!');
            return false();
           }
           
        });
			
	});
</script>  
        
            
            ',
	'scripts_for_layout' => '',
	'title_for_layout' => 'Lmscourses'
)
$record = array(
	'Lmsuser' => array(
		[maximum depth reached]
	),
	'Lmscourse' => array(
		[maximum depth reached]
	)
)
$lmstopics = array(
	(int) 0 => array(
		[maximum depth reached]
	)
)
$relatedcourses = array(
	(int) 0 => array(
		[maximum depth reached]
	)
)
$check_exist = false
$languages = array()
$LastLogin = array()
$s3 = object(Aws\S3\S3Client) {}
$inputDefaults = array(
	'inputDefaults' => array(
		[maximum depth reached]
	)
)
$csrfToken = '096fcd56dabaf909ad604936683dcf7b2f8f6d577d7c8d4b359cb842936cca25'
$content_for_layout = '<script type="text/javascript" src="/js/jquery-min.js"></script>
<style>
.loadingmessage {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url('https://uatdigipaathshala.cscacademy.org/gradient-design/img/loading.gif') 50% 50% no-repeat rgb(249,249,249);
	opacity: .8;
}
</style>
                 <!-- Show buy now dialog box to proceed payment -->
                <!-- Start this modal box for show alert for enrollment -->
<div id="buynowModal" class="modal fade" style="padding-top:6%;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" style="text-align:center;">Please Enter CSC ID</h4>
            </div>
            <div class="modal-body">
				<form method="post" action="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/paycscwallet" name="paymentproceed" class="search-popup-inner" style="text-align:center;">
                    <input type="hidden" name="CourseIds" id="CourseIds" value=""  />
                    <input type="hidden" name="UploadCertificateFile" id="UploadCertificateFile" value=""  />
                <div>
                <input type="text" name="cscid" placeholder="CSC ID" maxlength="12" id="cscID" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*)\./g, '$1');">
                </div>
                <div style="padding-top:6%;"><button type="button" id="paynowcscid" class="bt bt-xs bt-bg bt-secondary inline">Pay Now</button></div>
                </form>
            </div>
        </div>
    </div>
</div>
            <!-- End dialog box -->
            <!-- Start this modal box for show alert for All payment gateways -->
<div id="pgModal" class="modal fade" style="padding-top:6%;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" style="text-align:center;">Please Select Payment Gateway</h4>
            </div>
            <div class="modal-body">
                <form method="post" action="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/" name="pgselected" class="search-popup-inner" style="text-align:center;">
                    <input type="hidden" name="CourseIds" id="PGCourseIds" value=""  />
                    
                <div>
                <input type="radio" name="payment_gateway" id="pgmethod_value" value="2" > CSC Wallet
                <input type="radio" name="payment_gateway" value="3" id="pgmethod_value" style="margin-left: 10px;"> HDFC
                </div>
                <div style="padding-top:6%;"><button type="button" id="pgmethod" class="bt bt-xs bt-bg bt-secondary inline">Proceed Now</button></div>
                </form>
            </div>
        </div>
    </div>
</div>
<div id="hdfcModal" class="modal fade" style="padding-top:6%;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" style="text-align:center;">Please Select Payment Gateway</h4>
            </div>
            <div class="modal-body">
                <form method="post" action="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/payhdfc" name="hdfcselected" class="search-popup-inner" style="text-align:center;">
                    <input type="hidden" name="CourseIds" id="HDFCCourseIds" value=""  />
                    
                <div>
                <input type="radio" name="payment_gateway" required="required" value="3" style="margin-left: 10px;"> <img src="https://uatdigipaathshala.cscacademy.org//images/hdfclogo.png" width="115" height="50">
                </div>
                <div style="padding-top:6%;"><button type="submit" id="payhdfconly" class="bt bt-xs bt-bg bt-secondary inline">Proceed Now</button></div>
                </form>
            </div>
        </div>
    </div>
</div>
            <!-- End dialog box -->
<!-- Start this modal box for show upload 10th certificate before payment -->
<div id="uploadcertificateModal" class="modal fade" style="padding-top:6%;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="uploadmessage" style="text-align:center;"></h4>
            </div>
            <div class="modal-body">
                <form id="upload10certificateform" method="post" action="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/uploadcertificate" class="search-popup-inner" enctype="multipart/form-data" style="text-align:center;">
                    <input type="hidden" name="CourseIds" id="UploadCourseIds" value=""  />
                    <div>
                        <input type="file" name="upload10certificate" placeholder="Upload 10th Certificate" accept="image/*" id="10certificate" required="required">
                        <br>
                        <span>File size should be max 1 MB and format JPEG/PNG</span>
                    </div>
                    <div style="padding-top:6%;"><button type="submit" class="bt bt-xs bt-bg bt-secondary inline">Upload</button></div>
                </form>
            </div>
        </div>
    </div>
</div>
<!-- End dialog box -->
            
            
            <!-- Start this modal box for show alert for enrollment -->
<div id="showenrollmentModal" class="modal fade" style="padding-top:5%;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title"></h4>
            </div>
            <div class="modal-body">
				<div id="showenrolledalert"></div>
            </div>
        </div>
    </div>
</div>
<!-- End this modal box for show alert for enrollment -->
<!-- Show loader -->
                <div id='loadingmessage' class="loadingmessage" style='display:none'> </div>
                 <!-- End loader --> 
<div id="wrapper-content" class="clearfix">
			
<section id="page-title" class="single-product-title-wrap single-product-title-margin" >
                        <div data-stellar-background-image="https://uatdigipaathshala.cscacademy.org/lmsfront_layout/img/coursedetails.jpg" data-stellar-background-position="top" data-stellar-background-ratio="0.5" class="page-title-parallax" style="background-image: url('https://uatdigipaathshala.cscacademy.org/lmsfront_layout/img/coursedetails.jpg');background-position:center top;"></div>
                 <div class="container">
        <div class="single-product-title-inner pt-bottom" >
            <div class="m-title">
            <h2 class="p-font">COURSE DETAILS</h2>
       	</div>
            <div class="breadcrumbs-wrap">
                <div class="breadcrumbs-inner text-left">
                    	<ul class="breadcrumbs"><li><a href="" class="home"><i class="fa fa-home"></i></a></li><li><a href="#">Importance of Life Insurance </a></li><li></li></ul>                </div>
            </div>
        </div>
    </div>
</section>
<main  class="single-product-wrap has-sidebar">
        <div class="container clearfix">
        
            
                <div class="row clearfix">
                                    <div class="col-md-12"><h4 itemprop="name" class="product_title p-font hd-block">Importance of Life Insurance </h4>
</div>
                <div class="site-content-single-product col-md-8">
                    <div class="single-product-inner">
                            
<div class="woocommerce-notices-wrapper"></div>
<div id="product-468" class="product type-product post-468 status-publish first instock product_cat-business-management product_cat-law-economic has-post-thumbnail featured shipping-taxable purchasable product-type-simple">
    <div class="row single-product-info clearfix">
        <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="single-product-image">
                <div class="product-flash-wrap">
				                <span class="on-new product-flash" style="padding: 0 30px; font-size:17px;">Free</span>
                                                
</div>
<div id="single-product-image" class="single-product-image-inner horizontal">
	<div class="product-image-slider-wrap">
		<div class="product-image-slider">
			<div>
                <!--pre-signed url for s3 bucket-->
                                <a href="https://csc-edu.s3.ap-south-1.amazonaws.com/lmscourse/courseimage/0237689ddc4bbb59b2e3ab3d8b11d78e.jpg?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXRD2RIGVRXSHFNHS%2F20251104%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251104T024538Z&X-Amz-SignedHeaders=host&X-Amz-Expires=2&X-Amz-Signature=a9c6109ee378849d7c88e77c134b09c29537fc5a280589f191f89173332c65c8" itemprop="image" class="woocommerce-main-image" title="" data-rel="prettyPhoto[product-gallery]" data-index="0"><img style="width:768px; height:500px;" src="https://csc-edu.s3.ap-south-1.amazonaws.com/lmscourse/courseimage/0237689ddc4bbb59b2e3ab3d8b11d78e.jpg?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXRD2RIGVRXSHFNHS%2F20251104%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251104T024538Z&X-Amz-SignedHeaders=host&X-Amz-Expires=2&X-Amz-Signature=a9c6109ee378849d7c88e77c134b09c29537fc5a280589f191f89173332c65c8" class="attachment-shop_single size-shop_single" alt="" srcset="https://csc-edu.s3.ap-south-1.amazonaws.com/lmscourse/courseimage/0237689ddc4bbb59b2e3ab3d8b11d78e.jpg?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXRD2RIGVRXSHFNHS%2F20251104%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251104T024538Z&X-Amz-SignedHeaders=host&X-Amz-Expires=2&X-Amz-Signature=a9c6109ee378849d7c88e77c134b09c29537fc5a280589f191f89173332c65c8" /></a></div></div>
	</div>
	
	</div>
<script type="text/javascript">
	(function ($) {
		"use strict";
		$(document).ready(function () {
			var $productImageWrap = $('#single-product-image');
			G5Plus.woocommerce.singleProductImage($productImageWrap);
		});
	})(jQuery);
</script>
            </div>
      <div class="instructor-wrap">
			          
		            </div>
	            	                    <div class="lesson-list margin-top-70">
                                <div id="tab-description">
                    
                <div class="fullwidth" >
                <div class="vc_row wpb_row vc_row-fluid mg-top-30"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">            	<div class="heading color-dark text-left " >
                 <h2 class="heading-color fs-18">Course summary </h2>
                            </div>
            </div></div></div></div></div>
            <div class="fullwidth" >
            <div class="vc_row wpb_row vc_row-fluid mg-top-30"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div class="wpb_text_column wpb_content_element  content-icon-list" >
		<div class="wpb_wrapper">
			<p> Importance of Life Insurance</p>
		</div>
	</div>
</div></div></div></div></div>
<div class="fullwidth" ><div class="vc_row wpb_row vc_row-fluid mg-top-30"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">            <div class="heading color-dark text-left " >
                                                <h2 class="heading-color fs-18">
                    TOPIC LISTS  -               </h2>
                            </div>
            </div></div></div></div></div>
            <div class="fullwidth" >
            <div class="vc_row wpb_row vc_row-fluid mg-top-30"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper"> 
            		
            		                    <div class="course_lessons_section">
                        <div class="panel-group" id="accordion_4932" role="tablist" aria-multiselectable="true">
                            <div class="lesson-title">
                    <a href="javascript:;" data-id="lesson_content_1">
                        1 Importance of Life Insurance  <span><i class="fa fa-caret-down"></i></span>
                    </a>
                    <div class="meta">
                      <span class="badge video"><a href="https://uatdigipaathshala.cscacademy.org/lmstopics/viewtopics/1188" class="expand">Learn Now </a> </span>
                    </div>
                
                </div>
                <div class="lesson-content" id="lesson_content_1">
                
						 
                    </div>
                            
                </div>
                    </div>
    				
</div></div></div></div></div>
                </div>
                            
                        </div>
        </div>
    </div>
</div>
                    </div>
                </div>
                <div class="site-meta-single-product col-md-4">
                    <div class="summary-product entry-summary">
                        <div class="meta" style="margin-bottom: 20px;">
                            <!-- <span class="lb" style="background: #ffbd33;">Language</span> -->
                            <button class="  alt" style="width: 100%; border: none;
                            padding:  0 2%; min-height: 65px;background: #ffbd33; display: flex; justify-content: center; align-items: center;">
                                <select style="color:#fff ; background: #ffbd33; width: 100%; border: none;" class="" onchange="window.location='https://uatdigipaathshala.cscacademy.org/lmscourses/coursedetails/' + this.value;">
                                    <option selected value="">Select Language</option>
                                                                    </select>
                                <i class="fa fa-caret-down" style="color: white;"></i>
                            </button>
                            <!-- <span class="if" style="padding: 0 ; display: flex; align-items: center; background: #ffbd33;">
               
                            <i class="fa fa-caret-down"></i>
                        </span> -->
                        </div>
     
    
            <div class="meta">
            <span class="lb p-bg-dark">Duration</span>
            <span class="if p-bg">0 Days</span>
        </div>
    
                <div class="meta">
            <span class="lb p-bg-dark">Price</span>
                                    <span class="if p-bg"><span class="woocommerce-Price-amount amount">
            <span class="woocommerce-Price-currencySymbol"></span>Free</span></span>
                                </div>
    
    <div style="clear: both"></div>
            <div class="widget"style="margin-bottom: 0;">
        <h4 class="widget-title text-center"><span>ABOUT PUBLISHER</span></h4>
        <div class="location-map">
            			  <div class="instructor text-center">
                              <!--pre-signed url for s3 bucket-->
                              						            <img src="https://csc-edu.s3.ap-south-1.amazonaws.com/lmscourse/publisher/publisherphoto/11020d272a4ce3d990e5157b26d28648.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXRD2RIGVRXSHFNHS%2F20251104%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251104T024538Z&X-Amz-SignedHeaders=host&X-Amz-Expires=2&X-Amz-Signature=8dc7d82ec573adb927a2c9a51acfab2e9003321ff13513379bc2f203431588d5" style="width: 167px;height: 88px;">
						            <div class="info">
							            <div class="name"><h4 class="p-font"><a
											            href=""
											            target="_blank">Pushpa</a></h4>
							            </div>
                                         
										<div class="phone" style="text-align:left;">
									       <p>
	Importance of Life Insurance
                                           </p>   
                                              </div>
							            							         
			        </div>
            </div></div></div>
                <div class="enroll-wrap">
       
	<div class="quantity hidden">
	</div>
   
    <!-- check with auth for free course -->
    	        	
                        <a  href="javascript:void(0)" style="width:100%;"><button type="submit" name="add-to-cart" courseid="98" class="single_add_to_cart_button button alt enroll_now" style="width: 100%;font-size: 16px; padding-top: 18px; padding-bottom: 18px; background-color:#ffbd33; text-transform: uppercase;font-weight: 400;letter-spacing: 1px;">Subscribe Now</button></a>
            
                      
        
                
      
		
    </div>
    
			                    <aside id="g5plus-course-related-2" class="widget widget-course woocommerce"> 
                      <h4 class="widget-title"><span>Related Course</span></h4>            <div class="widget-content">
                	<div class="product-listing woocommerce clearfix  columns-4">
                                    <div class="course-item-wrap">
                    <div class="course-thumb">
                    	                        <img src="https://csc-edu.s3.ap-south-1.amazonaws.com/lmscourse/courseimage/6ea9adfc6507e9ddf9aea36852f79fc2.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXRD2RIGVRXSHFNHS%2F20251104%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251104T024538Z&X-Amz-SignedHeaders=host&X-Amz-Expires=2&X-Amz-Signature=3a68dadb5d6922ee2ce80a94407e70e58a888eb54a4ca136612478e5c72d9ad4" alt="Basic Course in Information Technology (BCIT)             " width="200" />
                    </div>
                    <div class="course-info">
                        <a class="fs-14 fw-medium course-title p-color-hover" href="https://uatdigipaathshala.cscacademy.org/lmscourses/coursedetails/4">Basic Course in Information Technology (BCIT)             </a>
                                   
        
                    <span><i class="fa fa-user p-color pd-right-10"></i>By : CSC Academy   </span>
                     <span><i class="fa fa-calendar p-color pd-right-10"></i>Duration : 365 Days</span>
                                  <span >
                    <a href="https://uatdigipaathshala.cscacademy.org/lmscourses/coursedetails/4" class="bt bt-xs bt-bg bt-secondary">Learn Now</a>
                </span>      
                            </div>
                </div>
				                
                 
                </div>
            </div>
            </aside>
            
                        </div></div>
                        
                </div>
                
                        
        </div>
    
</main>
			
			</div>
            
   <!-- Send data for enrollment through API -->
    
    <script>
	$.noConflict();
	jQuery(document).ready(function($){
	  
	  $(".enroll_now").click(function(evt){
	        var CourseId = $(this).attr("courseid");
			
			$.ajax({//Make the Ajax Request 
			beforeSend:function(){
			
			$('#loader').show();
			},	
			type: "POST",
			url: "https://uatdigipaathshala.cscacademy.org/admin/lmscourses/enrollstd",
			data:"courseId="+CourseId,
			
			success: function(data){//html = the server response html code
			$('#loadingmessage').hide();
			
			//store data
			$error = JSON.parse(data).error;
			$message = JSON.parse(data).message;
			
			//show modal box
			$("#showenrollmentModal").modal('show');
			
				if($error =='1')
				{
					$('#showenrolledalert').html('<div style="text-align: center;">'+$message+'<br><br><a href="https://uatdigipaathshala.cscacademy.org/student"><button type="button" class="btn-sm btn-primary">Login Now</button></a></div>');
				}
				else
				{
					$('#showenrolledalert').html('<div style="text-align: center;">'+$message+'<br><br><a href="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/mycourses"><button type="button" class="btn-sm btn-primary">My Course</button></a></div>');
				}
			},
			error:function(){ alert("Internal Error Server Not found!");}
			});
			
			
	        
	   });
      // Check restricted course for restricted categories
      $(".restricted_std").click(function(evt){
            var CourseId = $(this).attr("courseid");
            
            $.ajax({//Make the Ajax Request 
            beforeSend:function(){
            
            $('#loader').show();
            },  
            type: "POST",
            url: "https://uatdigipaathshala.cscacademy.org/admin/lmscourses/restrictedstd",
            data:"courseId="+CourseId,
            
            success: function(data){//html = the server response html code
            $('#loadingmessage').hide();
            
            //store data
            $error = JSON.parse(data).error;
            $message = JSON.parse(data).message;
            
            //show modal box
            $("#showenrollmentModal").modal('show');
            
                if($error =='1')
                {
                    $('#showenrolledalert').html('<div style="text-align: center;">'+$message+'<br><br><a href="https://uatdigipaathshala.cscacademy.org/student"><button type="button" class="btn-sm btn-primary">Login Now</button></a></div>');
                }
                else
                {
                    $('#showenrolledalert').html('<div style="text-align: center;">'+$message+'<br><br><a href="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/mycourses"><button type="button" class="btn-sm btn-primary">My Course</button></a></div>');
                }
            },
            error:function(){ alert("Internal Error Server Not found!");}
            });
            
            
            
       });
	   
	   
	   // SHOW BUY NOW POP UP
	   
	   $(".buy_now").click(function(evt){
	        var CourseId = $(this).attr("courseid");
			
			
			$.ajax({//Make the Ajax Request 
			beforeSend:function(){
			
			$('#loadingmessage').show();
			},	
			type: "POST",
			url: "https://uatdigipaathshala.cscacademy.org/admin/lmscourses/bUyNowstd",
			data:"courseId="+CourseId,
			
			success: function(data){//html = the server response html code
			$('#loadingmessage').hide();
			
			//store data
			$error = JSON.parse(data).error;
			$message = JSON.parse(data).message;
			
			if($error =='1')
				{
				//show modal box
				$("#showenrollmentModal").modal('show');
			
					$('#showenrolledalert').html('<div style="text-align: center;">'+$message+'<br><br><a href="https://uatdigipaathshala.cscacademy.org/student"><button type="button" class="btn-sm btn-primary">Login Now</button></a></div>');
				}
				else if($error =='5' || $error =='6' || $error =='7')
				{
				$Courseid = JSON.parse(data).CourseId;
				    //check if course CCA Course to upload 10th certificate before proceeding payment.
				    if($Courseid == '2')
                    {
                        $("#uploadcertificateModal").modal('show');
                        $("#UploadCourseIds").val($Courseid);
                        $('#uploadmessage').html('Please Upload 10th certificate first!!');
                    }
                    else if($Courseid == '74' || $Courseid == '77')
                    {
                        $("#uploadcertificateModal").modal('show');
                        $("#UploadCourseIds").val($Courseid);
                        $('#uploadmessage').html('Please Upload 12th certificate first!!');
                    }
				    else
                    {
                        
                        //show payment gateways window
                        if($error =='5')
                        {
                            $("#pgModal").modal('show');
                            $("#PGCourseIds").val($Courseid);
                        }
                        else if($error =='7')
                        {
                            $("#hdfcModal").modal('show');
                            $("#HDFCCourseIds").val($Courseid);
                        }
                        else if($error =='6')
                        {
                           $("#buynowModal").modal('show');
                            $("#CourseIds").val($Courseid);
                        }
                        
                        else
                        {
                            alert('Something went wrong into PG!!');
                            return false();
                        }
                        
                    }
				}
				else
				{
				//show modal box
					$("#showenrollmentModal").modal('show');
					$('#showenrolledalert').html('<div style="text-align: center;">'+$message+'<br><br><a href="https://uatdigipaathshala.cscacademy.org/admin/lmscourses/mycourses"><button type="button" class="btn-sm btn-primary">My Course</button></a></div>');
				}
			},
			error:function(){ alert("Internal Error Server Not found!");}
			});
			
			
			
		  });
	   // Upload 10th certificate through ajax
        $("#upload10certificateform").on('submit',(function(e) {
            //check file size first!!
            var file_size = $('#10certificate')[0].files[0].size;
            if(file_size>2097152)
            {
                alert("File size is greater than 2MB, please upload again!!");
                return false;
            }
            e.preventDefault();
            $.ajax({
                beforeSend:function(){
                    $("#uploadcertificateModal").modal('hide');
                    $('#loadingmessage').show();
                },
                url: "https://uatdigipaathshala.cscacademy.org/admin/lmscourses/upload10certificate",
                type: "POST",
                data:  new FormData(this),
                contentType: false,
                cache: false,
                processData:false,
                success: function(data)
                {
                    if(JSON.parse(data).error =='4')
                    {
                        $("#uploadcertificateModal").modal('hide');
                        $("#buynowModal").modal('show');
                        $("#CourseIds").val($Courseid);
                        $("#UploadCertificateFile").val(JSON.parse(data).UploadCertificateFile);
                    }
                    else
                    {
                        alert(JSON.parse(data).message);
                    }
                },
                error: function(e)
                {
                    $("#err").html(e).fadeIn();
                }
            });
        }));
        //check CSCID is associated with cscacademy centre or not
        $("#paynowcscid").click(function(evt){
            var cscID = $('#cscID').val();
            var courseid = "98";
            var vedic_math_medium = "<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr690968d297c2b-trace').style.display = (document.getElementById('cakeErr690968d297c2b-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined variable: auth_user [<b>APP/View/Lmscourses/coursedetails.ctp</b>, line <b>774</b>]<div id="cakeErr690968d297c2b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr690968d297c2b-code').style.display = (document.getElementById('cakeErr690968d297c2b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr690968d297c2b-context').style.display = (document.getElementById('cakeErr690968d297c2b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr690968d297c2b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000">        ob_start();</span></code>
<code><span style="color: #000000"></span></code>
<span class="code-highlight"><code><span style="color: #000000">        include $___viewFn;</span></code></span></pre><pre id="cakeErr690968d297c2b-context" class="cake-context" style="display: none;">$___viewFn = '/data/uat/app/View/Lmscourses/coursedetails.ctp'
$___dataForView = array(
	'record' => array(
		[maximum depth reached]
	),
	'lmstopics' => array(
		[maximum depth reached]
	),
	'relatedcourses' => array(
		[maximum depth reached]
	),
	'check_exist' => false,
	'languages' => array([maximum depth reached]),
	'LastLogin' => array([maximum depth reached]),
	's3' => object(Aws\S3\S3Client) {},
	'inputDefaults' => array(
		[maximum depth reached]
	),
	'csrfToken' => '096fcd56dabaf909ad604936683dcf7b2f8f6d577d7c8d4b359cb842936cca25'
)
$record = array(
	'Lmsuser' => array(
		[maximum depth reached]
	),
	'Lmscourse' => array(
		[maximum depth reached]
	)
)
$lmstopics = array(
	(int) 0 => array(
		[maximum depth reached]
	)
)
$relatedcourses = array(
	(int) 0 => array(
		[maximum depth reached]
	)
)
$check_exist = false
$languages = array()
$LastLogin = array()
$s3 = object(Aws\S3\S3Client) {}
$inputDefaults = array(
	'inputDefaults' => array(
		[maximum depth reached]
	)
)
$csrfToken = '096fcd56dabaf909ad604936683dcf7b2f8f6d577d7c8d4b359cb842936cca25'
$cmd = object(Aws\Command) {}
$request = object(GuzzleHttp\Psr7\Request) {}
$presignedUrl = 'https://csc-edu.s3.ap-south-1.amazonaws.com/lmscourse/courseimage/6ea9adfc6507e9ddf9aea36852f79fc2.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXRD2RIGVRXSHFNHS%2F20251104%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20251104T024538Z&X-Amz-SignedHeaders=host&X-Amz-Expires=2&X-Amz-Signature=3a68dadb5d6922ee2ce80a94407e70e58a888eb54a4ca136612478e5c72d9ad4'
$count = (int) 1
$count2 = (int) 0
$count3 = (int) 0
$lmstopic = array(
	'Lmstopic' => array(
		[maximum depth reached]
	),
	'children' => array([maximum depth reached])
)
$relatedcourse = array(
	'Lmscourse' => array(
		[maximum depth reached]
	)
)</pre><pre class="stack-trace">include - APP/View/Lmscourses/coursedetails.ctp, line 774
View::_evaluate() - CORE/Cake/View/View.php, line 915
View::_render() - CORE/Cake/View/View.php, line 879
View::render() - CORE/Cake/View/View.php, line 470
Controller::render() - CORE/Cake/Controller/Controller.php, line 959
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 110
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 85
[main] - APP/webroot/index.php, line 96</pre></div></pre>";
            var csrfToken = "096fcd56dabaf909ad604936683dcf7b2f8f6d577d7c8d4b359cb842936cca25";
            // alert(courseid);
            $.ajax({//Make the Ajax Request
                beforeSend:function(){
                    $("#buynowModal").modal('hide');
                    $('#loadingmessage').show();
                },
                type: "POST",
                url: "https://uatdigipaathshala.cscacademy.org/admin/users/checkCscacademyonboarding",
                // data:"cscID="+cscID+"course_id="+courseid,
                data:{cscID:cscID,courseid:courseid,vedic_math_medium:vedic_math_medium,csrfToken:csrfToken},
                success: function(data){//html = the server response html code
                    $('#loadingmessage').hide();
                    if(JSON.parse(data).count =='1')
                    {
                        document.paymentproceed.submit();
                    }
                    else if(JSON.parse(data).count =='2') {
                        document.paymentproceed.submit();
                    }
                    else if(JSON.parse(data).count =='3') {
                        alert('Oops!! Seats are full please try in another batch.');
                    } 
                    else if(JSON.parse(data).count =='4') {
                        alert('Oops!! Payments are closed now for this course.');
                    } 
                    else if(JSON.parse(data).count =='5') {
                        document.paymentproceed.submit();
                    }
                    else if(JSON.parse(data).count =='6') {
                        alert('Kindly register with Spoken Tutorial(Plan 1- All Courses) to Enroll students in This Course');
                    }
                    
                    else {
                        $("#buynowModal").modal('show');
                        alert('This course is not active for this VLE!!');
                    }
                },
                error:function(){ alert("Internal Error Server Not found!");}
            });
        });
         $("#pgmethod").click(function(evt){
            
            var pgmethod = $('input[name="payment_gateway"]:checked').val();
           if(pgmethod ==2)
           {
            $("#pgModal").modal('hide');
            $("#buynowModal").modal('show');
            $("#CourseIds").val($Courseid);
           }
           else if(pgmethod ==3)
           {
            $("#pgModal").modal('hide');
            $("#hdfcModal").modal('show');
            $("#HDFCCourseIds").val($Courseid);
           }
           else
           {
            alert('Error due to network!!');
            return false();
           }
           
        });
			
	});
</script>  
        
            
            '
$scripts_for_layout = ''
$title_for_layout = 'Lmscourses' include - APP/View/Layouts/lms_inner_layout.ctp, line 395
View::_evaluate() - CORE/Cake/View/View.php, line 915
View::_render() - CORE/Cake/View/View.php, line 879
View::renderLayout() - CORE/Cake/View/View.php, line 534
View::render() - CORE/Cake/View/View.php, line 478
Controller::render() - CORE/Cake/Controller/Controller.php, line 959
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 110
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 85
[main] - APP/webroot/index.php, line 96