<commit_before><?php
include 'header.php';
echo"<section id='slider'>
    <div id='myCarousel' class='carousel slide' data-interval='2000' data-ride='carousel'>
    	<!-- Carousel indicators -->
        <ol class='carousel-indicators'>
            <li data-target='#myCarousel' data-slide-to='0' class='active'></li>
            <li data-target='#myCarousel' data-slide-to='1'></li>
            <li data-target='#myCarousel' data-slide-to='2'></li>
        </ol>   
        <!-- Wrapper for carousel items -->
        <div class='carousel-inner'>
            <div class='active item'>
                <img class = 'fill' src='images/600.jpg' alt='First Slide'>
         		<div class='carousel-caption'>
                  <h3>First slide label</h3>
                  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
                </div>
            </div>
            <div class='item'>
                <img src='images/600.jpg' alt='Second Slide'>
                <div class='carousel-caption'>
                  <h3>Second slide label</h3>
                  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
                  <a href='http://bootstrapthemes.co/' target='_blank'  class='btn btn-primary' data-animation='animated fadeInDown'>Sign up</a>
                </div>
            </div>
            <div class='item'>
                <img src='images/600.jpg' alt='Third Slide'>
                <div class='carousel-caption'>
                  <h3>Third slide label</h3>
                  <a href='http://bootstrapthemes.co/' target='_blank'  class='btn btn-primary' data-animation='animated fadeInDown'>select two</a>
                </div>
            </div>
        </div>
        <!-- Carousel controls -->
        <a class='carousel-control left' href='#myCarousel' data-slide='prev'>
            <span class='glyphicon glyphicon-chevron-left'></span>
        </a>
        <a class='carousel-control right' href='#myCarousel' data-slide='next'>
            <span class='glyphicon glyphicon-chevron-right'></span>
        </a>
    </div>    

</section>
<section id = 'upcomingevents'></section>
<section id = 'categories'>
	<div class='container'>
	<div class='clearfix'>&nbsp;</div>
	<div class='row'> <h2 class='text-center'> What is on your mind? </h2></div>
	<div class='clearfix'>&nbsp;</div>
<div class='row'>
<div class='col-md-4 col-sm-10 col-xs-11 wow bounceIn'>
<figure class='effect'><img alt='LMB Productions' src='images/bat.jpg' /> <figcaption>
<h3>Adventure</h3>

<p>Come join the adventures with us</p>
<a href='http://lmbproductions.in' target='_blank'>View more</a> <span class='icon'> </span> </figcaption></figure>
</div>
<div class='col-md-4 col-sm-10 col-xs-11 wow bounceIn'>
<figure class='effect'><img alt='LMB Productions' src='images/bat.jpg' /> <figcaption>
<h3>Adventure</h3>

<p>Come join the adventures with us</p>
<a href='http://lmbproductions.in' target='_blank'>View more</a> <span class='icon'> </span> </figcaption></figure>
</div>
<div class='col-md-4 col-sm-10 col-xs-11 wow bounceIn'>
<figure class='effect'><img alt='LMB Productions' src='images/bat.jpg' /> <figcaption>
<h3>Adventure</h3>

<p>Come join the adventures with us</p>
<a href='http://lmbproductions.in' target='_blank'>View more</a> <span class='icon'> </span> </figcaption></figure>
</div>			
</div><!--End row-->
<div class='row'>
<div class='col-md-4 col-sm-10 col-xs-11 wow bounceIn'>
<figure class='effect'><img alt='LMB Productions' src='images/bat.jpg' /> <figcaption>
<h3>Adventure</h3>

<p>Come join the adventures with us</p>
<a href='http://lmbproductions.in' target='_blank'>View more</a> <span class='icon'> </span> </figcaption></figure>
</div>
<div class='col-md-4 col-sm-10 col-xs-11 wow bounceIn'>
<figure class='effect'><img alt='LMB Productions' src='images/bat.jpg' /> <figcaption>
<h3>Adventure</h3>

<p>Come join the adventures with us</p>
<a href='http://lmbproductions.in' target='_blank'>View more</a> <span class='icon'> </span> </figcaption></figure>
</div>
<div class='col-md-4 col-sm-10 col-xs-11 wow bounceIn'>
<figure class='effect'><img alt='LMB Productions' src='images/bat.jpg' /> <figcaption>
<h3>Adventure</h3>

<p>Come join the adventures with us</p>
<a href='http://lmbproductions.in' target='_blank'>View more</a> <span class='icon'> </span> </figcaption></figure>
</div>			
</div><!--End row-->
<div class='row'>
<div class='col-md-4 col-sm-10 col-xs-11 wow bounceIn'>
<figure class='effect'><img alt='LMB Productions' src='images/bat.jpg' /> <figcaption>
<h3>Adventure</h3>

<p>Come join the adventures with us</p>
<a href='http://lmbproductions.in' target='_blank'>View more</a> <span class='icon'> </span> </figcaption></figure>
</div>
<div class='col-md-4 col-sm-10 col-xs-11 wow bounceIn'>
<figure class='effect'><img alt='LMB Productions' src='images/bat.jpg' /> <figcaption>
<h3>Adventure</h3>

<p>Come join the adventures with us</p>
<a href='http://lmbproductions.in' target='_blank'>View more</a> <span class='icon'> </span> </figcaption></figure>
</div>
<div class='col-md-4 col-sm-10 col-xs-11 wow bounceIn'>
<figure class='effect'><img alt='LMB Productions' src='images/bat.jpg' /> <figcaption>
<h3>Adventure</h3>

<p>Come join the adventures with us</p>
<a href='http://lmbproductions.in' target='_blank'>View more</a> <span class='icon'> </span> </figcaption></figure>
</div>			
</div><!--End row-->
	</div>
</section>
<section id = 'testmonials'>
<div class='carousel'>
		<div class='container'>
		<div class='row'>
			<div class='col-md-8 col-md-offset-2'>
                <div class='quote'><i class='fa fa-quote-left fa-4x'></i></div>
				<div class='carousel slide' id='fade-quote-carousel' data-ride='carousel' data-interval='3000'>
				  <!-- Carousel indicators -->
                  <ol class='carousel-indicators'>
				    <li data-target='#fade-quote-carousel' data-slide-to='0'></li>
				    <li data-target='#fade-quote-carousel' data-slide-to='1'></li>
				    <li data-target='#fade-quote-carousel' data-slide-to='2' class='active'></li>
                    <li data-target='#fade-quote-carousel' data-slide-to='3'></li>
                    <li data-target='#fade-quote-carousel' data-slide-to='4'></li>
                    <li data-target='#fade-quote-carousel' data-slide-to='5'></li>
				  </ol>
				  <!-- Carousel items -->
				  <div class='carousel-inner'>
				    <div class='item'>
                        <div class='profile-circle' style='background-color: rgba(0,0,0,.2);'></div>
				    	<blockquote>
				    		<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quidem, veritatis nulla eum laudantium totam tempore optio doloremque laboriosam quas, quos eaque molestias odio aut eius animi. Impedit temporibus nisi accusamus.</p>
				    	</blockquote>	
				    </div>
				    <div class='item'>
                        <div class='profile-circle' style='background-color: rgba(77,5,51,.2);'></div>
				    	<blockquote>
				    		<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quidem, veritatis nulla eum laudantium totam tempore optio doloremque laboriosam quas, quos eaque molestias odio aut eius animi. Impedit temporibus nisi accusamus.</p>
				    	</blockquote>
				    </div>
				    <div class='active item'>
                        <div class='profile-circle' style='background-color: rgba(145,169,216,.2);'></div>
				    	<blockquote>
				    		<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quidem, veritatis nulla eum laudantium totam tempore optio doloremque laboriosam quas, quos eaque molestias odio aut eius animi. Impedit temporibus nisi accusamus.</p>
				    	</blockquote>
				    </div>
                    <div class='item'>
                        <div class='profile-circle' style='background-color: rgba(77,5,51,.2);'></div>
    			    	<blockquote>
				    		<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quidem, veritatis nulla eum laudantium totam tempore optio doloremque laboriosam quas, quos eaque molestias odio aut eius animi. Impedit temporibus nisi accusamus.</p>
				    	</blockquote>
				    </div>
                    <div class='item'>
                        <div class='profile-circle' style='background-color: rgba(77,5,51,.2);'></div>
    			    	<blockquote>
				    		<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quidem, veritatis nulla eum laudantium totam tempore optio doloremque laboriosam quas, quos eaque molestias odio aut eius animi. Impedit temporibus nisi accusamus.</p>
				    	</blockquote>
				    </div>
                    <div class='item'>
                        <div class='profile-circle' style='background-color: rgba(77,5,51,.2);'></div>
    			    	<blockquote>
				    		<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quidem, veritatis nulla eum laudantium totam tempore optio doloremque laboriosam quas, quos eaque molestias odio aut eius animi. Impedit temporibus nisi accusamus.</p>
				    	</blockquote>
				    </div>
				  </div>
				</div>
			</div>							
		</div>
	</div>
</div>		
</section>";
include 'footer.php';

?><commit_msg>Fetching interests from the db<commit_after><?php

    include 'header.php';


    echo "<section id='slider'>
            <div id='myCarousel' class='carousel slide' data-interval='2000' data-ride='carousel'>

                <!-- Carousel indicators -->
                <ol class='carousel-indicators'>
                    <li data-target='#myCarousel' data-slide-to='0' class='active'></li>
                    <li data-target='#myCarousel' data-slide-to='1'></li>
                    <li data-target='#myCarousel' data-slide-to='2'></li>
                </ol>  

                <!-- Wrapper for carousel items -->
                <div class='carousel-inner'>
                    <div class='active item'>
                        <img class = 'fill' src='images/600.jpg' alt='First Slide'>
                        <div class='carousel-caption'>
                          <h3>First slide label</h3>
                          <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
                        </div>
                    </div>
                    <div class='item'>
                        <img src='images/600.jpg' alt='Second Slide'>
                        <div class='carousel-caption'>
                          <h3>Second slide label</h3>
                          <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
                          <a href='http://bootstrapthemes.co/' target='_blank'  class='btn btn-primary' data-animation='animated fadeInDown'>Sign up</a>
                        </div>
                    </div>
                    <div class='item'>
                        <img src='images/600.jpg' alt='Third Slide'>
                        <div class='carousel-caption'>
                          <h3>Third slide label</h3>
                          <a href='http://bootstrapthemes.co/' target='_blank'  class='btn btn-primary' data-animation='animated fadeInDown'>select two</a>
                        </div>
                    </div>
                </div>

                <!-- Carousel controls -->
                <a class='carousel-control left' href='#myCarousel' data-slide='prev'>
                    <span class='glyphicon glyphicon-chevron-left'></span>
                </a>
                <a class='carousel-control right' href='#myCarousel' data-slide='next'>
                    <span class='glyphicon glyphicon-chevron-right'></span>
                </a>
            </div>
    </section>
    

    <section id = 'upcomingevents'>
    </section>
    

    <section id = 'categories'>
        <div class='container'>
            <div class='clearfix'>&nbsp;</div>
            <div class='row'> <h2 class='text-center'> What is on your mind? </h2>
            </div>
            <div class='clearfix'>&nbsp;</div>";
    
            $servername = "eventpal.cp4hghmjwcmi.us-west-2.rds.amazonaws.com";
            $username = "rohit";
            $password = "<PASSWORD>";
            $database = "eventpal";
        
            // Create connection
            $conn = mysqli_connect($servername, $username, $password, $database);
        
            // Check connection
            if (!$conn) {
              die("Connection failed: " . mysqli_connect_error());
            }
            
            $query = "SELECT InterestId, Name, Description FROM Interest;";
            mysqli_query($conn, $query) or die('Error querying the database.');
        
            $result = mysqli_query($conn, $query);
            if (mysqli_num_rows($result) > 0) {
        
                $MAX_ROW_SIZE = 3;
        
                echo "<div class='row'>";
        
                $rowEleCount = 1;
                while($row = mysqli_fetch_assoc($result)) {
        
                    if($rowEleCount > $MAX_ROW_SIZE) {
                        $rowEleCount = 1;
                        // start a new row
                        echo "</div>
                        <div class='row'>";
                    }
        
                    $rowEleCount = $rowEleCount + 1;
        
                    echo "<div class='col-md-4 col-sm-10 col-xs-11 wow bounceIn' id=".$row['InterestId'].">
                        <figure class='effect'>
                            <img alt='LMB Productions' src='images/bat.jpg' />
                            <figcaption>
                                <h3>".$row['Name']."</h3>
                                <p>".$row['Description']."</p>
                                <a href='http://lmbproductions.in' target='_blank'>View more</a> <span class='icon'> </span> 
                            </figcaption>
                        </figure>
                    </div>";
                }
        
                echo "</div>"; //end last row
            } else {
                echo "0 results";
            }
        
            mysqli_close($conn);
    
    
        echo "</div>
    </section>
    
    
    
    <section id = 'testmonials'>
        <div class='carousel'>
            <div class='container'>
                <div class='row'>
                    <div class='col-md-8 col-md-offset-2'>
                        <div class='quote'><i class='fa fa-quote-left fa-4x'></i>
                        </div>
                        <div class='carousel slide' id='fade-quote-carousel' data-ride='carousel' data-interval='3000'>
                            <!-- Carousel indicators -->
                            <ol class='carousel-indicators'>
                                <li data-target='#fade-quote-carousel' data-slide-to='0'></li>
                                <li data-target='#fade-quote-carousel' data-slide-to='1'></li>
                                <li data-target='#fade-quote-carousel' data-slide-to='2' class='active'></li>
                                <li data-target='#fade-quote-carousel' data-slide-to='3'></li>
                                <li data-target='#fade-quote-carousel' data-slide-to='4'></li>
                                <li data-target='#fade-quote-carousel' data-slide-to='5'></li>
                            </ol>
                            <!-- Carousel items -->
                            <div class='carousel-inner'>
                            <div class='item'>
                                <div class='profile-circle' style='background-color: rgba(0,0,0,.2);'></div>
                                <blockquote>
                                    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quidem, veritatis nulla eum laudantium totam tempore optio doloremque laboriosam quas, quos eaque molestias odio aut eius animi. Impedit temporibus nisi accusamus.</p>
                                </blockquote>   
                            </div>
                            <div class='item'>
                                <div class='profile-circle' style='background-color: rgba(77,5,51,.2);'></div>
                                <blockquote>
                                    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quidem, veritatis nulla eum laudantium totam tempore optio doloremque laboriosam quas, quos eaque molestias odio aut eius animi. Impedit temporibus nisi accusamus.</p>
                                </blockquote>
                            </div>
                            <div class='active item'>
                                <div class='profile-circle' style='background-color: rgba(145,169,216,.2);'></div>
                                <blockquote>
                                    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quidem, veritatis nulla eum laudantium totam tempore optio doloremque laboriosam quas, quos eaque molestias odio aut eius animi. Impedit temporibus nisi accusamus.</p>
                                </blockquote>
                            </div>
                            <div class='item'>
                                <div class='profile-circle' style='background-color: rgba(77,5,51,.2);'></div>
                                <blockquote>
                                    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quidem, veritatis nulla eum laudantium totam tempore optio doloremque laboriosam quas, quos eaque molestias odio aut eius animi. Impedit temporibus nisi accusamus.</p>
                                </blockquote>
                            </div>
                            <div class='item'>
                                <div class='profile-circle' style='background-color: rgba(77,5,51,.2);'></div>
                                <blockquote>
                                    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quidem, veritatis nulla eum laudantium totam tempore optio doloremque laboriosam quas, quos eaque molestias odio aut eius animi. Impedit temporibus nisi accusamus.</p>
                                </blockquote>
                            </div>
                            <div class='item'>
                                <div class='profile-circle' style='background-color: rgba(77,5,51,.2);'></div>
                                <blockquote>
                                    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quidem, veritatis nulla eum laudantium totam tempore optio doloremque laboriosam quas, quos eaque molestias odio aut eius animi. Impedit temporibus nisi accusamus.</p>
                                </blockquote>
                            </div>
                            </div>
                        </div>
                    </div>                          
                </div>
            </div>
        </div>      
    </section>";
  

    include 'footer.php';
    
?>
{'fraction_non_alphanumeric': 0.1459536806402035, 'fraction_numerical': 0.012083311251258678, 'mean_word_length': 1.803030303030303, 'pattern_counts': {'":': 0, '<': 469, '<?xml version=': 0, '>': 471, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 41, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3970341', 'n_tokens_mistral': 6093, 'n_tokens_neox': 5581, 'n_words': 1272}