<commit_before><?php
/**
 * Template Name: About Page
 * 
 * @package WordPress
 * @subpackage Twenty_Thirteen
 * @since Twenty Thirteen 1.0
 */

get_header(); ?>

	<div id="primary" class="content-area ">
		<div id="content" class="site-content container" role="main">

			<?php /* The loop */ ?>
			<?php while ( have_posts() ) : the_post(); ?>
				<div class="row padded-row">
					<article id="post-<?php the_ID(); ?>" <?php post_class('col-md-8'); ?>>
						<header class="entry-header">
							<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
							<div class="entry-thumbnail">
								<?php the_post_thumbnail(); ?>
							</div>
							<?php endif; ?>

							<h1 class="entry-title"><?php the_title(); ?></h1>
						</header><!-- .entry-header -->

						<div class="entry-content">
							<?php the_content(); ?>
							<?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'opengovfoundation' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
		
							<footer class="entry-meta">
								<?php edit_post_link( __( 'Edit', 'opengovfoundation' ), '<span class="edit-link">', '</span>' ); ?>
							</footer><!-- .entry-meta -->
						</div><!-- .entry-content -->

					</article><!-- #post -->
					<div class="col-md-4">
						<?php get_template_part('get-involved'); ?>
					</div>
				</div>
			<?php endwhile; ?>
		<?php 
		$this_page_id=$wp_query->post->ID;  
		query_posts(array('showposts' => 20, 'post_parent' => $this_page_id, 'post_type' => 'page'));
		if ( have_posts() ) {
		    while ( have_posts() ) {
		        the_post();
		        echo "<div class='row padded-row'>";
		        echo "<h1 class='col-md-12'>".get_the_title()."</h1>";

		        $args=array(
		                'orderby' => 'menu_order',
		                'order' => 'ASC',
		                'posts_per_page' => 50,
		                'post_type' => get_post_type( $post->ID ),
		                'post_parent' => $post->ID
		        );

		        $childpages = new WP_Query($args);

		        if($childpages->post_count > 0) { /* display the children content  */
		            while ($childpages->have_posts()) {
		                 $childpages->the_post();?>
		                <div class="col-md-4">
							<div class="thumbnail person">
								<?php the_post_thumbnail(array( 'class' => ' img-circle' )); ?>
								<div class="caption">
									<h2><?php echo get_the_title() ?></h2>
									<p class="title"><?php $key="Title"; echo get_post_meta($post->ID, $key, true); ?></p>
									<div class="bio"><?php the_content(); ?></div>
									<a href="#" data-toggle="modal" data-target="#exampleModal" data-img='<?php the_post_thumbnail(array( 'class' => ' img-circle' )); ?>'>See details</a>
								</div>
							</div>
						</div>
		            <?php }
		        }
		    echo "</div>";
		    }
		}
		 ?>
			<!-- BOOTSTRAP MODAL -->
			<div class="modal" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel">
			  <div class="modal-dialog" role="document">
			    <div class="modal-content">
					<div class="row"><commit_msg>fix about thumbnail error<commit_after><?php
/**
 * Template Name: About Page
 * 
 * @package WordPress
 * @subpackage Twenty_Thirteen
 * @since Twenty Thirteen 1.0
 */

get_header(); ?>

	<div id="primary" class="content-area ">
		<div id="content" class="site-content container" role="main">

			<?php /* The loop */ ?>
			<?php while ( have_posts() ) : the_post(); ?>
				<div class="row padded-row">
					<article id="post-<?php the_ID(); ?>" <?php post_class('col-md-8'); ?>>
						<header class="entry-header">
							<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
							<div class="entry-thumbnail">
								<?php the_post_thumbnail(); ?>
							</div>
							<?php endif; ?>

							<h1 class="entry-title"><?php the_title(); ?></h1>
						</header><!-- .entry-header -->

						<div class="entry-content">
							<?php the_content(); ?>
							<?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'opengovfoundation' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
		
							<footer class="entry-meta">
								<?php edit_post_link( __( 'Edit', 'opengovfoundation' ), '<span class="edit-link">', '</span>' ); ?>
							</footer><!-- .entry-meta -->
						</div><!-- .entry-content -->

					</article><!-- #post -->
					<div class="col-md-4">
						<?php get_template_part('get-involved'); ?>
					</div>
				</div>
			<?php endwhile; ?>
		<?php 
		$this_page_id=$wp_query->post->ID;  
		query_posts(array('showposts' => 20, 'post_parent' => $this_page_id, 'post_type' => 'page'));
		if ( have_posts() ) {
		    while ( have_posts() ) {
		        the_post();
		        echo "<div class='row padded-row'>";
		        echo "<h1 class='col-md-12'>".get_the_title()."</h1>";

		        $args=array(
		                'orderby' => 'menu_order',
		                'order' => 'ASC',
		                'posts_per_page' => 50,
		                'post_type' => get_post_type( $post->ID ),
		                'post_parent' => $post->ID
		        );

		        $childpages = new WP_Query($args);

		        if($childpages->post_count > 0) { /* display the children content  */
		            while ($childpages->have_posts()) {
		                 $childpages->the_post();?>
		                <div class="col-md-4">
							<div class="thumbnail person">
								<?php the_post_thumbnail('thumbnail', array( 'class' => ' img-circle' )) ?>
								<div class="caption">
									<h2><?php echo get_the_title() ?></h2>
									<p class="title"><?php $key="Title"; echo get_post_meta($post->ID, $key, true); ?></p>
									<div class="bio"><?php the_content(); ?></div>
									<a href="#" data-toggle="modal" data-target="#exampleModal" data-img='<?php the_post_thumbnail('thumbnail', array( 'class' => ' img-circle' )) ?>'>See details</a>
								</div>
							</div>
						</div>
		            <?php }
		        }
		    echo "</div>";
		    }
		}
		 ?>
			<!-- BOOTSTRAP MODAL -->
			<div class="modal" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel">
			  <div class="modal-dialog" role="document">
			    <div class="modal-content">
					<div class="row">
{'fraction_non_alphanumeric': 0.21511083359350608, 'fraction_numerical': 0.005931938807368093, 'mean_word_length': 2.4595032397408207, 'pattern_counts': {'":': 0, '<': 151, '<?xml version=': 0, '>': 197, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '159715', 'n_tokens_mistral': 2606, 'n_tokens_neox': 2075, 'n_words': 406}