<commit_before><?php get_header(); ?>
<?php $wp_auth_credit= wp_get_option( 'auth_credit' ); ?>

			<!-- content -->
			<div id="content">
			
			    <?php
			    require_once(TEMPLATEPATH .'/app/customcode.php');
			    $glob = fetchcustomcode('global_announcement.php',true);
			    if($glob != "" && $glob != fetchcustomcode('idontexist.no')): ?>
			    <div class="highlight" style="margin-left: 20px;margin-right: 20px">
			    <?php
			        echo $glob;
			    ?>
			    </div>
			    <?php endif; ?>
				
				<div class="page">
					<h1 style="border-bottom:1px solid #ddd; padding-bottom:5px;"><?php wp_title('',true,''); ?></h1>
				</div>
				
				<?php if (have_posts()) : ?>	
				<?php $adsense_counter = 0; ?>
		
		        <?php while (have_posts()) : the_post(); ?>
				
				<!-- post -->
				<div class="post">
				    
					
					<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>

					<div class="post-comments">
						<div class="post-comments">
						<ul>
						<?php
                        $addlink="#respond";
						if(wp_get_option('plug_disqus')) {
						    if(wp_get_option('plug_disqus') == "1") {
						        $countlink="#disqus_thread";
						    } else {
						        $countlink="#comments";
						    }
						} else {
						    $countlink="#comments";
						}
						?>
							<li class="post-comments-count"><a href="<?php the_permalink(); echo $countlink; ?>" title="View all <?php comments_number('0', '1', '%'); ?> Comments"><?php comments_number('0', '1', '%'); ?></a></li>
							<li class="post-comments-add"><a href="<?php the_permalink(); echo $addlink; ?>" title="Add a Comment"><span>&nbsp;</span>Add a Comment</a></li>
						</ul>
						</div>
					</div>

					<div class="post-author">
						<?php if( $wp_auth_credit == 1 ) { ?>
						<?php echo get_avatar( get_the_author_email(), $size = '36', $default = 'images/avatar.jpg' ); ?>
						<p><strong><?php the_time('l, F jS, Y') ?></strong><br/>
							by <?php the_author_posts_link(); ?><?php edit_post_link('Edit', ' - ', ''); ?></p>
						<?php } else { ?>
						<p><strong><?php the_time('l, F jS, Y') ?></strong><br/>
							at <?php the_time('g:ia') ?><?php edit_post_link('Edit', ' - ', ''); ?></p>
						<?php } ?>
					</div>
					<!--<div class="post-comments">
						<ul>
							<li class="post-comments-count"><?php comments_popup_link('0', '1', '%'); ?></li>
							<li class="post-comments-add"><a href="<?php the_permalink() ?>#respond" title="Add a Comment"><span>&nbsp;</span>Add a Comment</a></li><commit_msg>Removed some left-behind DISQUS code that interfered with comments.<commit_after><?php get_header(); ?>
<?php $wp_auth_credit= wp_get_option( 'auth_credit' ); ?>

			<!-- content -->
			<div id="content">
			
			    <?php
			    require_once(TEMPLATEPATH .'/app/customcode.php');
			    $glob = fetchcustomcode('global_announcement.php',true);
			    if($glob != "" && $glob != fetchcustomcode('idontexist.no')): ?>
			    <div class="highlight" style="margin-left: 20px;margin-right: 20px">
			    <?php
			        echo $glob;
			    ?>
			    </div>
			    <?php endif; ?>
				
				<div class="page">
					<h1 style="border-bottom:1px solid #ddd; padding-bottom:5px;"><?php wp_title('',true,''); ?></h1>
				</div>
				
				<?php if (have_posts()) : ?>	
				<?php $adsense_counter = 0; ?>
		
		        <?php while (have_posts()) : the_post(); ?>
				
				<!-- post -->
				<div class="post">
				    
					
					<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>

					<div class="post-comments">
						<div class="post-comments">
						<ul>
						<?php
                        $addlink="#respond";
                        $countlink="#comments";
						?>
							<li class="post-comments-count"><a href="<?php the_permalink(); echo $countlink; ?>" title="View all <?php comments_number('0', '1', '%'); ?> Comments"><?php comments_number('0', '1', '%'); ?></a></li>
							<li class="post-comments-add"><a href="<?php the_permalink(); echo $addlink; ?>" title="Add a Comment"><span>&nbsp;</span>Add a Comment</a></li>
						</ul>
						</div>
					</div>

					<div class="post-author">
						<?php if( $wp_auth_credit == 1 ) { ?>
						<?php echo get_avatar( get_the_author_email(), $size = '36', $default = 'images/avatar.jpg' ); ?>
						<p><strong><?php the_time('l, F jS, Y') ?></strong><br/>
							by <?php the_author_posts_link(); ?><?php edit_post_link('Edit', ' - ', ''); ?></p>
						<?php } else { ?>
						<p><strong><?php the_time('l, F jS, Y') ?></strong><br/>
							at <?php the_time('g:ia') ?><?php edit_post_link('Edit', ' - ', ''); ?></p>
						<?php } ?>
					</div>
					<!--<div class="post-comments">
						<ul>
							<li class="post-comments-count"><?php comments_popup_link('0', '1', '%'); ?></li>
							<li class="post-comments-add"><a href="<?php the_permalink() ?>#respond" title="Add a Comment"><span>&nbsp;</span>Add a Comment</a></li>
{'fraction_non_alphanumeric': 0.23384859294490687, 'fraction_numerical': 0.008125247720967102, 'mean_word_length': 2.774869109947644, 'pattern_counts': {'":': 0, '<': 167, '<?xml version=': 0, '>': 165, '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': '5576915', 'n_tokens_mistral': 2176, 'n_tokens_neox': 1709, 'n_words': 328}