<!-- News Updates -->
                
                    <!-- Col1 -->
                    <div class="col1">
                        <!-- Banner -->
						
						
						
						 <div class="pi-slider-images-full-width pi-slider-images" id="sliderImagesFullWidth">
                <div class="items">

                    <div class="item">
                        <img src="<?php echo base_url('assets/images/slider1.jpg') ?>" alt="KR college Slider" />
                    </div>
                    <div class="item">
                         <img src="<?php echo base_url('assets/images/slider2.jpg') ?>" alt="KR college Slider" />
                    </div>
                    <!--<div class="item">-->
                    <!--     <img src="<?php echo base_url('assets/images/banner2.jpg') ?>" alt="KR college Slider" />-->
                    <!--</div>-->
                    <!--<div class="item">-->
                    <!--     <img src="<?php echo base_url('assets/images/banner3.jpg') ?>" alt="KR college Slider" />-->
                    <!--</div>-->
                    

                </div>
                <div class="buttons">
                    <button><!-- Left --></button>
                    <button><!-- Right --></button>
                </div>
                <div class="points">
                    <i></i>
					<i></i>
					<i></i>
                    <i></i>
                </div>
            </div>

<script>
   var slider2 = new PISliderJS({
                target: document.getElementById("sliderImagesFullWidth"),
                drag: true,
                autoPlay: true,
                delay: 3000,
                duration: 500,
                timingFunction: "ease",
                gutter: "20px",
                columns: 1
            });


</script>
						
						
						
						

						
						
						
                        
                        <!-- Content Links -->
                        
                        <!-- Content Heading -->
                        <div class="content_heading">
                            <div class="heading"><h2>Welcome to K.R College of Education</h2> </div>
                           
                        </div>
                        <p class="text" style="text-align:justify;">
                            K.R College of Education is situated in Dindigul in the Tamilnadu state of India.  It is founded by Mr. K.R. Raja and established in the year of 2009. We are one of the best Co-Educational and Self-Financing Education College, the area surrounded by 10 acres. 
                        </p>
                        <p style="text-align:justify;">
                            It is affiliated to Tamil Nadu Teachers Education University, Chennai-5. Our Institute is recognized by the NCTE (National Council for Teacher Education), Bangalore. It is located in a majestic and imposing building with all infrastructural facilities.
                        </p>
                        <p style="text-align:justify;">
                            The main goal of this institutions are self-supporting and it has developed to make excellent citizens. We are successfully offering B.Ed., Course along with 100 students. A professional and expert group of 10 faculty members with dedicated, skillful, committed to punctual working ability, and discipline service.
                            <a class="readmore" href="#"></a>
                        </p>
                        <div class="clear"></div>
                        <!-- Content Block -->
                        <div class="contentblock" style="margin-top: -15px; padding-top:0px;" >

                            <div style="width: 49%;float: left; margin-right: 10px; margin-bottom: 10px;">
                                <div class="widget-main">
                                    <div class="widget-main-title">
                                        <h4 class="widget-title">Latest News</h4>
                                    </div> <!-- /.widget-main-title -->
                                    <div class="widget-inner">
                                        <marquee direction="up" scrollamount="2" style="height:300px" onmouseover="this.setAttribute('scrollamount', 0, 0);this.stop();" onmouseout="this.setAttribute('scrollamount', 2, 0);this.start();"> 
                                         <?php
						
$sql = $this->db->where('publize',1)->get('news');
  
 if($sql->num_rows() > 0){
  

  foreach($sql->result_array() as $row){
  $id = $row['id'];


$heading=ucwords($row['heading']);
$page_name=$row['page_name'];
$thumbnail=$row['thumbnail'];
$event=date('d F Y', strtotime($row['event_date']));
$CI =& get_instance();
$CI->load->model('Gallery_model');
$imgSrc =$CI->Gallery_model->pathNews.$thumbnail;
//$link=$row['link'];


					?>  
                   
                                        <div class="blog-list-post clearfix">
                                            <div class="blog-list-thumb">
                                                <a href="<?php echo base_url("news/newsdetails/$page_name"); ?>"><img src="<?php echo $imgSrc; ?>" alt=""></a>
                                            </div>
                                            <div class="blog-list-details">
                                                <h5 class="blog-list-title"><a href="<?php echo base_url("news/newsdetails/$page_name"); ?>" target="_blank"><?php echo $heading ?></a></h5>
                                                <p class="blog-list-meta small-text"><span><a href="#"><?php echo $event ?></a></span></p>
                                            </div>
                                        </div> 
										 
                       <?php } }
						
						
						
						?>	<!-- /.blog-list-post -->
                                       <!-- /.blog-list-post -->
                                        
                                        </marquee>
                                        
                                    </div> <!-- /.widget-inner -->
                                    
                                    
                                    
                                </div> <!-- /.widget-main -->
                            </div>



                            <div style="width:49%;float: left; margin-bottom: 10px;">
                                <div class="widget-main">
                                    <div class="widget-main-title">
                                        <h4 class="widget-title">Events</h4>
                                    </div> <!-- /.widget-main-title -->
                                    
									<div class="widget-inner">
                                <marquee direction="up" scrollamount="2" style="height:300px" onmouseover="this.setAttribute('scrollamount', 0, 0);this.stop();" onmouseout="this.setAttribute('scrollamount', 2, 0);this.start();"> 
                                        

								<?php
						
$sql = $this->db->where('publize',1)->get('events');
  
 if($sql->num_rows() > 0){
  

  foreach($sql->result_array() as $row){
  $id = $row['id'];


$heading=ucwords($row['heading']);
$page_name=$row['page_name'];
$thumbnail=$row['thumbnail'];
$event=date('d F Y', strtotime($row['event_date']));
$CI =& get_instance();
$CI->load->model('Gallery_model');
$imgSrc =$CI->Gallery_model->pathEvent.$thumbnail;
//$link=$row['link'];


					?>  
                         
                                        
                                        
                                        <div class="event-small-list clearfix">
                                            <div class="calendar-small">
                                                 <div class="blog-list-thumb">
                                                <a href="<?php echo base_url("events/eventdetails/$page_name"); ?>"><img src="<?php echo $imgSrc; ?>" alt=""></a>
                                            </div>
                                           </div>
                                            <div class="event-small-details">
                                                <h5 class="event-small-title"><a href="<?php echo base_url("events/eventdetails/$page_name"); ?>" target="_blank"><?php echo $heading ?></a></h5>
                                                <p class="event-small-meta small-text"><?php echo $event ?></p>
                                            </div>
                                        </div>
                                        
                                       
                                        
                                   
									<?php } } ?>
									 </marquee>
                                    </div> <!-- /.widget-inner -->
                                </div> <!-- /.widget-main -->
                            </div>



                        </div>	   
                        <div class="clear"></div>
                        <!-- col1 ends -->	
                    </div>
                    <!-- Col2 -->
                    <div class="col2">
                        <?php $this->load->view('include/req_form'); ?>
                        <!-- Top Student -->  
                        <div class="rtab">
                           
					
<?php $this->load->view('include/stud_navi'); ?>
					
					</div>					
<?php $this->load->view('include/clg_gallery'); ?>
					
                       
                        <div class="clear"></div>	
                        <!--col2 ends -->			
                    </div>
                    <div class="clear"></div>
                    <!-- Slder -->	

                     <?php $this->load->view('include/footer_image'); ?>
					
					
					
					
					
