<commit_before><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title><?= $this->escape($this->_config['site_title']['value']); ?></title>

	<link href="/components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
	<link href="/components/font-awesome/css/font-awesome.min.css" rel="stylesheet">
	<link href="/components/croppic/assets/css/croppic.css" rel="stylesheet">
	<link href="/css/style.css" rel="stylesheet">

	<script type="text/javascript" src="/components/jquery/dist/jquery.min.js"></script>
	<script type="text/javascript" src="/components/bootstrap/dist/js/bootstrap.min.js"></script>
	<script tpye="text/javascript" src="/components/croppic/croppic.min.js"></script>
	<script type="text/javascript" src="/js/index/index.js"></script>

	<script type="text/javascript">

		var currentUserId = <?= json_encode(($this->_currentUser) ? $this->_currentUser->getId() : null); ?>;

	</script>
</head>
<body>

<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
	<div class="container">

		<a class="navbar-brand" href="/"><?= $this->escape($this->_config['site_title']['value']); ?></a>

		<?php if ($this->_currentUser): ?>

		<form class="navbar-form navbar-left" role="search" action="/search/" method="post">
			<div class="form-group">
				<input type="text" class="form-control" name="search" placeholder="Search">
			</div>
			<button type="submit" class="btn btn-default"><i class="fa fa-search"></i> Search</button>
		</form>

		<ul class="nav navbar-nav navbar-right">
			<li class="dropdown">
				<a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-th-list"></span> <span class="caret"></span></a>
				<ul class="dropdown-menu" role="menu">
					<li><a href="/profile/me/">My profile</a></li>
					<li class="divider"></li>
					<li><a href="/index/logout/">Logout</a></li>
				</ul>
			</li>
		</ul>

		<p class="navbar-text navbar-right">Signed in as <a href="/profile/me/"><?= $this->escape($this->_currentUser->getFirstName() . ' ' . $this->_currentUser->getLastName()); ?></a></p>

		<?php else: ?>

		<form class="navbar-form form-inline pull-right" role="form" method="post" action="/index/login">
			<div class="form-group">
				<label class="sr-only" for="email">Email address</label>
				<input name="email" type="email" class="form-control" id="email" placeholder="Enter email">
			</div>
			<div class="form-group">
				<label class="sr-only" for="password">Password</label>
				<input name="password" type="password" class="form-control" id="password" placeholder="Password">
			</div>
			<button type="submit" class="btn btn-default">Sign in</button>
		</form>

		<?php endif; ?>

	</div>
</nav>

<div class="container">
	<div class="row">

		<div class="col-md-3 col-lg-3">
			<?php if ($this->_currentUser): ?>
				<div id="left_box">

					<a href="/profile/me/"><?= $this->escape($this->_currentUser->getFirstName() . ' ' . $this->_currentUser->getLastName()); ?></a>

					<div class="groups">
						<ul>
							<li><a href="#" class="add-group-dialog">Neue Gruppe</a></li>
							<?php if ($groups = $this->_currentUser->getGroups()): ?>
								<?php foreach ($groups as $group): ?>
									<li><a href="/group/?id=<?= $group->getId(); ?>"><?= $this->escape($group->getName()); ?></a></li>
								<?php endforeach; ?>
							<?php endif; ?>
						</ul>
					</div>
				</div>
			<?php endif; ?>
		</div>

		<div class="col-md-6 col-lg-6">
			<?= $html; ?>
		</div>

		<div class="col-md-3 col-lg-3">
			<?php if ($this->_currentUser): ?>
				<div id="right_box">
					<?php if ($contacts = $this->_currentUser->getUnconfirmedContacts()): ?>
						<div class="unconfirmed_contacts">
							<p class="headline">KONTAKTANFRAGEN</p>
							<?php foreach ($contacts as $contact): ?>
								<div class="unconfirmed_contact">
									<img class="portrait" src="/file/?file=<?= $contact->getPortraitFileId(); ?>" />
									<?= $this->escape($contact->getFirstName() . ' ' . $contact->getLastName()); ?>
									<br />
									<div class="btn-group">
										<a href="#" class="btn btn-primary btn-sm accept_request" data-id="<?= $contact->getId(); ?>">Accept</a>
										<a href="#" class="btn btn-default btn-sm decline_request" data-id="<?= $contact->getId(); ?>">Decline</a>
									</div>
								</div>
							<?php endforeach; ?>
						</div>
					<?php endif; ?>
				</div>
			<?php endif; ?>
		</div>
	</div>
</div>


</body>
</html><commit_msg># layout: put left and right bar to wells to make it look better<commit_after><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title><?= $this->escape($this->_config['site_title']['value']); ?></title>

	<link href="/components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
	<link href="/components/font-awesome/css/font-awesome.min.css" rel="stylesheet">
	<link href="/components/croppic/assets/css/croppic.css" rel="stylesheet">
	<link href="/css/style.css" rel="stylesheet">

	<script type="text/javascript" src="/components/jquery/dist/jquery.min.js"></script>
	<script type="text/javascript" src="/components/bootstrap/dist/js/bootstrap.min.js"></script>
	<script tpye="text/javascript" src="/components/croppic/croppic.min.js"></script>
	<script type="text/javascript" src="/js/index/index.js"></script>

	<script type="text/javascript">

		var currentUserId = <?= json_encode(($this->_currentUser) ? $this->_currentUser->getId() : null); ?>;

	</script>
</head>
<body>

<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
	<div class="container">

		<a class="navbar-brand" href="/"><?= $this->escape($this->_config['site_title']['value']); ?></a>

		<?php if ($this->_currentUser): ?>

		<form class="navbar-form navbar-left" role="search" action="/search/" method="post">
			<div class="form-group">
				<input type="text" class="form-control" name="search" placeholder="Search">
			</div>
			<button type="submit" class="btn btn-default"><i class="fa fa-search"></i> Search</button>
		</form>

		<ul class="nav navbar-nav navbar-right">
			<li class="dropdown">
				<a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-th-list"></span> <span class="caret"></span></a>
				<ul class="dropdown-menu" role="menu">
					<li><a href="/profile/me/">My profile</a></li>
					<li class="divider"></li>
					<li><a href="/index/logout/">Logout</a></li>
				</ul>
			</li>
		</ul>

		<p class="navbar-text navbar-right">Signed in as <a href="/profile/me/"><?= $this->escape($this->_currentUser->getFirstName() . ' ' . $this->_currentUser->getLastName()); ?></a></p>

		<?php else: ?>

		<form class="navbar-form form-inline pull-right" role="form" method="post" action="/index/login">
			<div class="form-group">
				<label class="sr-only" for="email">Email address</label>
				<input name="email" type="email" class="form-control" id="email" placeholder="Enter email">
			</div>
			<div class="form-group">
				<label class="sr-only" for="password">Password</label>
				<input name="password" type="password" class="form-control" id="password" placeholder="Password">
			</div>
			<button type="submit" class="btn btn-default">Sign in</button>
		</form>

		<?php endif; ?>

	</div>
</nav>

<div class="container">
	<div class="row">

		<div class="col-md-3 col-lg-3">
			<div class="well">
			<?php if ($this->_currentUser): ?>
				<div id="left_box">

					<a href="/profile/me/"><?= $this->escape($this->_currentUser->getFirstName() . ' ' . $this->_currentUser->getLastName()); ?></a>

					<div class="groups">
						<ul>
							<li><a href="#" class="add-group-dialog">Neue Gruppe</a></li>
							<?php if ($groups = $this->_currentUser->getGroups()): ?>
								<?php foreach ($groups as $group): ?>
									<li><a href="/group/?id=<?= $group->getId(); ?>"><?= $this->escape($group->getName()); ?></a></li>
								<?php endforeach; ?>
							<?php endif; ?>
						</ul>
					</div>
				</div>
			<?php endif; ?>
			</div>
		</div>

		<div class="col-md-6 col-lg-6">
			<?= $html; ?>
		</div>

		<div class="col-md-3 col-lg-3">
			<div class="well">
			<?php if ($this->_currentUser): ?>
				<div id="right_box">
					<?php if ($contacts = $this->_currentUser->getUnconfirmedContacts()): ?>
						<div class="unconfirmed_contacts">
							<p class="headline">KONTAKTANFRAGEN</p>
							<?php foreach ($contacts as $contact): ?>
								<div class="unconfirmed_contact">
									<img class="portrait" src="/file/?file=<?= $contact->getPortraitFileId(); ?>" />
									<?= $this->escape($contact->getFirstName() . ' ' . $contact->getLastName()); ?>
									<br />
									<div class="btn-group">
										<a href="#" class="btn btn-primary btn-sm accept_request" data-id="<?= $contact->getId(); ?>">Accept</a>
										<a href="#" class="btn btn-default btn-sm decline_request" data-id="<?= $contact->getId(); ?>">Decline</a>
									</div>
								</div>
							<?php endforeach; ?>
						</div>
					<?php endif; ?>
				</div>
			<?php endif; ?>
			</div>
		</div>
	</div>
</div>


</body>
</html>
{'fraction_non_alphanumeric': 0.235540376776468, 'fraction_numerical': 0.0015423598105100804, 'mean_word_length': 3.8390191897654584, 'pattern_counts': {'":': 0, '<': 303, '<?xml version=': 0, '>': 369, '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': '5515576', 'n_tokens_mistral': 3651, 'n_tokens_neox': 3059, 'n_words': 580}