<commit_before><?php 
defined('C5_EXECUTE') or die("Access Denied.");
$this->inc('elements/header.php');
$nav = Loader::helper('navigation');
?>

	<div id="header-image">
		
		<div class="grid_24 alpha omega" id="featured-image-full">
			<?php
			
			if ($c->isEditMode()) {
				print '<br><br>';
				$a = new Area('Thumbnail Image');
				$a->display($c);
			}
			?>
		</div>
		
	</div>
	
	<div class="clear"></div>

	<div id="left-sidebar-container" class="grid_8">

		<div id="left-sidebar-inner">
		
			<?php 
			$a = new Area('Sidebar');
			$a->display($c);
			?>
			
		</div>
	
	</div>

	<div id="main-content-container" class="grid_16">
		<div id="main-content-inner">
		
			<h1><?php echo $c->getCollectionName(); ?></h1>
		
			<?php 
			$a = new Area('Main');
			$a->display($c);
			?>
			
			<div id="main-content-post-author">
			<?php
			$uID = $c->getVersionObject()->getVersionAuthorUserID();
			$username = $c->getVersionObject()->getVersionAuthorUserName();
			if (Config::get("ENABLE_USER_PROFILES")) {
				$profileLink= '<a href="' . $this->url('/profile/view/') . $uID . '/' . '">' . $username . '</a>';
			}else{ 
				$profileLink = $username;
			} ?>
				<p><?php echo t('Posted by:');?> <span class="post-author"><?php  echo $profileLink; ?> at <a href="<?php $c->getLinkToCollection;?>"><?php echo $c->getCollectionDatePublic('g:i a')?> on <?php echo $c->getCollectionDatePublic('F jS, Y')?></a></span>
					<div id="main-content-post-footer-share">
						<p>Share:
						<a href="mailto:?subject=<?php echo $c->getCollectionName(); ?>&body=<?php echo $nav->getLinkToCollection($c, true); ?>"><img class="main-content-post-footer-share-email" src="<?php echo $this->getThemePath(); ?>/images/icon_email.png" alt="Email" /></a>
						<a href="https://twitter.com/share"><img class="main-content-post-footer-share-twitter" src="<?php echo $this->getThemePath(); ?>/images/icon_twitter.png" alt="Share on Twitter" /></a>
						<a href="http://www.facebook.com/share.php?u=<?php echo $nav->getLinkToCollection($c, true); ?>"><img class="main-content-post-footer-share-facebook" src="<?php echo $this->getThemePath(); ?>/images/icon_facebook.png" alt="Share on Facebook" /></a>
						</p>
					</div>
				</p>	
			</div>
			
		</div>
	
	</div>
	
<?php if(isset($print) && $print) { ?><commit_msg>tweaks to blog entry page type update<commit_after><?php 
defined('C5_EXECUTE') or die("Access Denied.");
$this->inc('elements/header.php');
$nav = Loader::helper('navigation');
?>

	<div id="header-image">
		
		<div class="grid_24 alpha omega" id="featured-image-full">
			<?php
			
			if ($c->isEditMode()) {
				print '<br><br>';
				$a = new Area('Thumbnail Image');
				$a->display($c);
			}
			?>
		</div>
		
	</div>
	
	<div class="clear"></div>

	<div id="left-sidebar-container" class="grid_8">

		<div id="left-sidebar-inner">
		
			<?php 
			$a = new Area('Sidebar');
			$a->display($c);
			?>
			
		</div>
	
	</div>

	<div id="main-content-container" class="grid_16">
		<div id="main-content-inner">
		
			<h1><?php echo $c->getCollectionName(); ?></h1>
		
			<?php 
			$a = new Area('Main');
			$a->display($c);
			?>
			
			<div id="main-content-post-author">
			<?php
			$vo = $c->getVersionObject();
			if (is_object($vo)) {
				$uID = $vo->getVersionAuthorUserID();
				$username = $vo->getVersionAuthorUserName();
				if (Config::get("ENABLE_USER_PROFILES")) {
					$profileLink= '<a href="' . $this->url('/profile/view/', $uID) . '">' . $username . '</a>';
				}else{ 
					$profileLink = $username;
				} ?>
				<p><?php echo t('Posted by:');?> <span class="post-author"><?php  echo $profileLink; ?> at <a href="<?php $c->getLinkToCollection;?>"><?php echo $c->getCollectionDatePublic('g:i a')?> on <?php echo $c->getCollectionDatePublic('F jS, Y')?></a></span>
				<div id="main-content-post-footer-share">
					<p>Share:
					<a href="mailto:?subject=<?php echo $c->getCollectionName(); ?>&body=<?php echo $nav->getLinkToCollection($c, true); ?>"><img class="main-content-post-footer-share-email" src="<?php echo $this->getThemePath(); ?>/images/icon_email.png" alt="Email" /></a>
					<a href="https://twitter.com/share"><img class="main-content-post-footer-share-twitter" src="<?php echo $this->getThemePath(); ?>/images/icon_twitter.png" alt="Share on Twitter" /></a>
					<a href="http://www.facebook.com/share.php?u=<?php echo $nav->getLinkToCollection($c, true); ?>"><img class="main-content-post-footer-share-facebook" src="<?php echo $this->getThemePath(); ?>/images/icon_facebook.png" alt="Share on Facebook" /></a>
					</p>
				</div>
				</p>	
			<? } ?>
			</div>
			
		</div>
	
	</div>
	
<?php if(isset($print) && $print) { ?>
{'fraction_non_alphanumeric': 0.240265297389816, 'fraction_numerical': 0.0034231921266581087, 'mean_word_length': 3.7606924643584523, 'pattern_counts': {'":': 0, '<': 122, '<?xml version=': 0, '>': 161, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5037012', 'n_tokens_mistral': 1956, 'n_tokens_neox': 1683, 'n_words': 308}