<commit_before><?php

	$this->load_template('header.php');

?>

<div id="home_content" class="publicindex" style="width:670px;">
	<div id="indexintro">
		<div id="indexintro2">
			<h1><?= $D->intro_ttl ?></h1>
			<p><?= $D->intro_txt ?></p>
			<a href="<?= $C->SITE_URL ?>signup" id="ïntrobtn"><b><?= $this->lang('os_welcome_btn') ?></b></a>
		</div>
	</div>
	<div class="ttl" style="margin-bottom:8px;">
		<div class="ttl2">
			<h3><?= $this->lang('dbrd_poststitle_everybody', array('#USERNAME#'=>'', '#COMPANY#'=>htmlspecialchars($C->COMPANY))) ?></h3>
			<div id="postfilter">
				<a href="javascript:;" onclick="dropdiv_open('postfilteroptions');" id="postfilterselected" onfocus="this.blur();"><span><?= $this->lang('posts_filter_'.$D->filter) ?></span></a>
				<div id="postfilteroptions" style="display:none;">
					<a href="<?= $C->SITE_URL ?>home/filter:all"><?= $this->lang('posts_filter_all') ?></a>
					<a href="<?= $C->SITE_URL ?>home/filter:links"><?= $this->lang('posts_filter_links') ?></a>
					<a href="<?= $C->SITE_URL ?>home/filter:images"><?= $this->lang('posts_filter_images') ?></a>
					<a href="<?= $C->SITE_URL ?>home/filter:videos"><?= $this->lang('posts_filter_videos') ?></a>
					<a href="<?= $C->SITE_URL ?>home/filter:files" style="border-bottom:0px;"><?= $this->lang('posts_filter_files') ?></a>
				</div>
				<span><?= $this->lang('posts_filter_ttl') ?></span>
			</div>
		</div>
	</div>
	<div id="posts_html">
		<?= $D->posts_html ?>
	</div>
</div>
<div id="home_right">

	<div id="login">
		<h3><?= $this->lang('os_login_ttl', array('#SITE_TITLE#'=>$C->SITE_TITLE)) ?></h3>
		<div id="loginbox">
			<form method="post" action="<?= $C->SITE_URL ?>signin">
				<small><?= $this->lang('os_login_unm') ?></small>
				<input type="text" name="email" value="" class="loginput" tabindex="1" />
				<small><?= $this->lang('os_login_pwd') ?></small>
				<input type="password" name="password" value="" class="loginput" tabindex="2" />
				<input type="submit" class="loginbtn" value="<?= $this->lang('os_login_btn') ?>" tabindex="4" />
				<label style="clear:none;">
					<input type="checkbox" name="rememberme" value="1" tabindex="3" />
					<span><?= $this->lang('os_login_rem') ?></span>
				</label>
				<div class="klear"></div>
			</form>
			<div id="loginlinks">
				<a href="<?= $C->SITE_URL ?>signup"><?= $this->lang('os_login_reg') ?></a>
				<a href="<?= $C->SITE_URL ?>signin/forgotten"><?= $this->lang('os_login_frg') ?></a>
			</div>
			<?php if( (isset($C->FACEBOOK_API_KEY) && !empty($C->FACEBOOK_API_KEY) || isset($C->TWITTER_CONSUMER_KEY,$C->TWITTER_CONSUMER_SECRET) && !empty($C->TWITTER_CONSUMER_KEY) && !empty($C->TWITTER_CONSUMER_SECRET) ) ) { ?>
			<div id="loginlinks" style="margin-top:5px; margin-bottom:2px; padding-top:5px;">
				<?php if( isset($C->FACEBOOK_API_KEY) && !empty($C->FACEBOOK_API_KEY) ) { ?>
				<div style="float:left; margin-right:5px;" title="Facebook Connect">
					<fb:login-button onlogin="hrd_func_fbconnected();"></fb:login-button>
				</div>
				<?php } ?>
				<?php if( isset($C->TWITTER_CONSUMER_KEY,$C->TWITTER_CONSUMER_SECRET) && !empty($C->TWITTER_CONSUMER_KEY) && !empty($C->TWITTER_CONSUMER_SECRET) ) { ?>
				<a id="twitterconnect" href="<?= $C->SITE_URL ?>twitter-connect?backto=<?= $C->SITE_URL ?>signin/get:twitter" title="Twitter Connect" style="margin-top:3px;"><b>Twitter</b></a>
				<?php } ?>
			</div>
			<?php } ?>
		</div>
		<div id="loginftr"></div>
	</div>

	<?php if( count($D->last_online) > 0 ) { ?>
	<div class="ttl" style="margin-top:0px; margin-bottom:8px;"><div class="ttl2"><h3><?= $this->lang('dbrd_right_lastonline') ?></h3></div></div>
	<div class="slimusergroup" style="margin-right:-10px; margin-bottom:5px;">
		<?php foreach($D->last_online as $u) { ?>
		<a href="<?= userlink($u->username) ?>" class="slimuser" title="<?= htmlspecialchars($u->username) ?>"><img src="<?= $C->IMG_URL ?>avatars/thumbs1/<?= $u->avatar ?>" alt="" style="padding:3px;" /></a>
		<?php } ?>
	</div>
	<?php } ?>

	<?php if( count($D->post_tags) > 0 ) { ?>
	<div class="ttl" style="margin-top:0px; margin-bottom:8px;">
		<div class="ttl2">
			<h3><?= $this->lang('dbrd_right_posttags') ?></h3>
		</div>
	</div>
	<div class="taglist" style="margin-bottom:5px;">
		<?php foreach($D->post_tags as $tag) { ?>
		<a href="<?= $C->SITE_URL ?>search/posttag:%23<?= $tag ?>" title="#<?= htmlspecialchars($tag) ?>">
			<small>#</small>
			<?= htmlspecialchars(str_cut($tag,25)) ?>
		</a>
		<?php } ?>
	</div>
	<?php } ?>

	<?php if( $D->news != '' ) { ?>
	<div class="ttl" style="margin-top:0px; margin-bottom:8px;">
		<div class="ttl2">
			<h3><?= $this->lang('dbrd_right_news') ?></h3>
		</div>
	</div>
	<div class="taglist" style="margin-bottom:5px;">
		<p>
			<?= htmlspecialchars($D->news) ?>
		</p>
	</div>
	<?php } ?>

</div>

<?php

	$this->load_template('footer.php');

?><commit_msg>Appearance and HTML output.<commit_after><?php

	$this->load_template('header.php');

?>

<div id="home_content" class="publicindex" style="width:670px;">
	<div id="indexintro">
		<div id="indexintro2">
			<h1><?= $D->intro_ttl ?></h1>
			<p><?= $D->intro_txt ?></p>
			<a href="<?= $C->SITE_URL ?>signup" id="ïntrobtn"><b><?= $this->lang('os_welcome_btn') ?></b></a>
		</div>
	</div>
	<div class="ttl" style="margin-bottom:8px;">
		<div class="ttl2">
			<h3><?= $this->lang('dbrd_poststitle_everybody', array('#USERNAME#'=>'', '#COMPANY#'=>htmlspecialchars($C->COMPANY))) ?></h3>
			<div id="postfilter">
				<a href="javascript:;" onclick="dropdiv_open('postfilteroptions');" id="postfilterselected" onfocus="this.blur();"><span><?= $this->lang('posts_filter_'.$D->filter) ?></span></a>
				<div id="postfilteroptions" style="display:none;">
					<a href="<?= $C->SITE_URL ?>home/filter:all"><?= $this->lang('posts_filter_all') ?></a>
					<a href="<?= $C->SITE_URL ?>home/filter:links"><?= $this->lang('posts_filter_links') ?></a>
					<a href="<?= $C->SITE_URL ?>home/filter:images"><?= $this->lang('posts_filter_images') ?></a>
					<a href="<?= $C->SITE_URL ?>home/filter:videos"><?= $this->lang('posts_filter_videos') ?></a>
					<a href="<?= $C->SITE_URL ?>home/filter:files" style="border-bottom:0px;"><?= $this->lang('posts_filter_files') ?></a>
				</div>
				<span><?= $this->lang('posts_filter_ttl') ?></span>
			</div>
		</div>
	</div>
	<div id="posts_html">
		<?= $D->posts_html ?>
	</div>
</div>
<div id="home_right">

	<div id="login">
		<h3><?= $this->lang('os_login_ttl', array('#SITE_TITLE#'=>$C->SITE_TITLE)) ?></h3>
		<div id="loginbox">
			<form method="post" action="<?= $C->SITE_URL ?>signin">
				<small><?= $this->lang('os_login_unm') ?></small>
				<input type="text" name="email" value="" class="loginput" tabindex="1" />
				<small><?= $this->lang('os_login_pwd') ?></small>
				<input type="password" name="password" value="" class="loginput" tabindex="2" />
				<input type="submit" class="loginbtn" value="<?= $this->lang('os_login_btn') ?>" tabindex="4" />
				<label style="clear:none;">
					<input type="checkbox" name="rememberme" value="1" tabindex="3" />
					<span><?= $this->lang('os_login_rem') ?></span>
				</label>
				<div class="klear"></div>
			</form>
			<div id="loginlinks">
				<a href="<?= $C->SITE_URL ?>signup"><?= $this->lang('os_login_reg') ?></a>
				<a href="<?= $C->SITE_URL ?>signin/forgotten"><?= $this->lang('os_login_frg') ?></a>
			</div>
			<?php if( (isset($C->FACEBOOK_API_KEY) && !empty($C->FACEBOOK_API_KEY) || isset($C->TWITTER_CONSUMER_KEY,$C->TWITTER_CONSUMER_SECRET) && !empty($C->TWITTER_CONSUMER_KEY) && !empty($C->TWITTER_CONSUMER_SECRET) ) ) { ?>
			<div id="loginlinks" style="margin-top:5px; margin-bottom:2px; padding-top:5px;">
				<?php if( isset($C->FACEBOOK_API_KEY) && !empty($C->FACEBOOK_API_KEY) ) { ?>
				<div style="float:left; margin-right:5px;" title="Facebook Connect">
					<fb:login-button onlogin="hrd_func_fbconnected();"></fb:login-button>
				</div>
				<?php } ?>
				<?php if( isset($C->TWITTER_CONSUMER_KEY,$C->TWITTER_CONSUMER_SECRET) && !empty($C->TWITTER_CONSUMER_KEY) && !empty($C->TWITTER_CONSUMER_SECRET) ) { ?>
				<a id="twitterconnect" href="<?= $C->SITE_URL ?>twitter-connect?backto=<?= $C->SITE_URL ?>signin/get:twitter" title="Twitter Connect" style="margin-top:3px;"><b>Twitter</b></a>
				<?php } ?>
			</div>
			<?php } ?>
		</div>
		<div id="loginftr"></div>
	</div>

	<?php if( count($D->last_online) > 0 ) { ?>
	<div class="ttl" style="margin-top:0px; margin-bottom:8px;"><div class="ttl2"><h3><?= $this->lang('dbrd_right_lastonline') ?></h3></div></div>
	<div class="slimusergroup" style="margin-right:-10px; margin-bottom:5px;">
		<?php foreach($D->last_online as $u) { ?>
		<a href="<?= userlink($u->username) ?>" class="slimuser" title="<?= htmlspecialchars($u->username) ?>"><img src="<?= $C->IMG_URL ?>avatars/thumbs1/<?= $u->avatar ?>" alt="" style="padding:3px;" /></a>
		<?php } ?>
	</div>
	<?php } ?>

	<?php if( count($D->post_tags) > 0 ) { ?>
	<div class="ttl" style="margin-top:0px; margin-bottom:8px;">
		<div class="ttl2">
			<h3><?= $this->lang('dbrd_right_posttags') ?></h3>
		</div>
	</div>
	<div class="taglist" style="margin-bottom:5px;">
		<?php foreach($D->post_tags as $tag) { ?>
		<a href="<?= $C->SITE_URL ?>search/posttag:%23<?= $tag ?>" title="#<?= htmlspecialchars($tag) ?>">
			<small>#</small>
			<?= htmlspecialchars(str_cut($tag,25)) ?>
		</a>
		<?php } ?>
	</div>
	<?php } ?>

	<?php if( $D->news != '' ) { ?>
	<div class="ttl" style="margin-top:0px; margin-bottom:8px;">
		<div class="ttl2">
			<h3><?= $this->lang('dbrd_right_news') ?></h3>
		</div>
	</div>
	<div class="loginput" style="margin-bottom:5px;">
		<p>
			<?= $D->news ?>
		</p>
	</div>
	<?php } ?>

</div>

<?php

	$this->load_template('footer.php');

?>
{'fraction_non_alphanumeric': 0.275356373705261, 'fraction_numerical': 0.010460465593272485, 'mean_word_length': 5.176060797973401, 'pattern_counts': {'":': 0, '<': 357, '<?xml version=': 0, '>': 489, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '3611864', 'n_tokens_mistral': 4296, 'n_tokens_neox': 3996, 'n_words': 605}