<commit_before><?php                                       
    $this->load->helper('sidebar_helper');      //for gadget in event
     $type = get_gadget_sidebar();
?>



<div class="eventAndDownload">
                    
                    
                    <div class="event">
                        <div class="eventHeader">
                            
 <?php
    foreach ($recentPost as $data)
    {
    if($data->display == 'Sidebar')
    {
        $setting = $data->setting;
         parse_str($setting);
         echo $post;
         echo $titleBold;
         echo $titleUnderline;
         echo $titleColor;
        ?>
                            <h3><?php echo $data->name; ?></h3>
                        </div>
                        
                        
                        
                            <div class="newNews"></div>
                            <?php
          foreach($noOfRecentPost as $recent_post)
         {
              ?>
         
                            <p class="paragraph">
                                <?php 
                                $post_id = $recent_post->id;
                               ?>
                            <?php if(!empty($titleUnderline)) { echo "<".$titleUnderline.">"; } ?>
                            <?php if(!empty($titleBold)) { echo "<".$titleBold.">"; } ?>
                                
                            <?php if(!empty($titleColor)) { echo "<div style='color:$titleColor;'>"; } ?>    
                          
                                
                                <?php echo anchor('view/post/'.$post_id , $recent_post->post_title); ?>
                              </<?php echo $titleUnderline; ?>>
                              </<?php echo $titleBold; ?>>
                              
                              <?php if(!empty($titleColor)) { echo "</div>"; }?>
                            
                              <br>
                                <font color="#666"><?php echo $recent_post->post_summary; ?></font>
                                
                            </p>
                            
                            <p class="paragraph" >   <?php  
        echo anchor('view/post/'.$post_id , '<font size="1px"><i>View more</i></font>'); 
        echo "<hr/>  ";
        
         } 
    }
    }?></p>
                            
                            
                        
                            <div style="text-align: center">
                     <?php $return['rows'] = $this->db->query('SELECT FOUND_ROWS() count;')->row()->count; if($return>700) echo  anchor('view/posts', 'View All News') ;  ?>       
                    </div>
                    </div>
                    
                    <div class="download">
                        <div class="downloadHeader"><h3> Downloads </h3></div>
                        <div>

                            <div class="paragraph">
                               
<p><b> Download Files </b> <br/> <a href="<?php echo base_url().'index.php/view/downloads'; ?>" >Click here for Downlaod</a>  </p>
                            </div>
                        </div>
                    </div>
    
                </div><commit_msg>closing div error is bugged in event.php<commit_after><?php                                       
    $this->load->helper('sidebar_helper');      //for gadget in event
     $type = get_gadget_sidebar();
?>



<div class="eventAndDownload">
                    
                    <div class="event">
                        <div class="eventHeader">
                            
 <?php
    foreach ($recentPost as $data)
    {
    if($data->display == 'Sidebar')
    {
        $setting = $data->setting;
         parse_str($setting);
         //echo $post;
         //echo $titleBold;
         //echo $titleUnderline;
         echo $titleColor;
        ?>
                            <h3><?php echo $data->name; ?></h3>
                        </div>
                        
                        
                        
                            <div class="newNews">
                            <?php
          foreach($noOfRecentPost as $recent_post)
         {
              ?>
         
                            <p class="paragraph">
                                <?php 
                                $post_id = $recent_post->id;
                               ?>
                            <?php if(!empty($titleUnderline)) { echo "<".$titleUnderline.">"; } ?>
                            <?php if(!empty($titleBold)) { echo "<".$titleBold.">"; } ?>
                                
                            <?php if(!empty($titleColor)) { echo "<div style='color:$titleColor;'>"; } ?>    
                          
                                
                                <?php echo anchor('view/post/'.$post_id , $recent_post->post_title); ?>
                              </<?php echo $titleUnderline; ?>>
                              </<?php echo $titleBold; ?>>
                              
                              <?php if(!empty($titleColor)) { echo "</div>"; }?>
                            
                              <br>
                                <font color="#666"><?php echo $recent_post->post_summary; ?></font>
                                
                            </p>
                            
                            <p class="paragraph" >   <?php  
        echo anchor('view/post/'.$post_id , '<font size="1px"><i>View more</i></font>'); 
        echo "<hr/>  ";
        
         } 
    }
    ?>
                                
    
                            <div style="text-align: center">
                   <?php $return['rows'] = $this->db->query('SELECT FOUND_ROWS() count;')->row()->count; if($return>700) echo  anchor('view/posts', 'View All News') ;  ?>       
                    </div>
    <?php    }  ?>
                            </p>
                            
                            
                            
                            
                        
                    </div>
                    
                    <div class="download">
                        <div class="downloadHeader"><h3> Downloads </h3></div>
                        <div>

                            <div class="paragraph">
                               
<p><b> Download Files </b> <br/> <a href="<?php echo base_url().'index.php/view/downloads'; ?>" >Click here for Downlaod</a>  </p>
                            </div>
                        </div>
                    </div>
    
                </div>
</div>
{'fraction_non_alphanumeric': 0.1325463239689181, 'fraction_numerical': 0.00328750747160789, 'mean_word_length': 0.7576155462184874, 'pattern_counts': {'":': 0, '<': 130, '<?xml version=': 0, '>': 156, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3935387', 'n_tokens_mistral': 1601, 'n_tokens_neox': 1533, 'n_words': 279}