<commit_before><div class="page-header">
	<div class="container">
		<h1>Sponsors</h1>
	</div>
</div>
<?php echo $event['html_sponsors']; ?>

<div class="row">
	<?php 
		$count = count($event['sponsors']);
		for ($i=0; $i < $count; $i++): 
			if ($i % 3 == 0 && $i != 0) {
				$left = $count - $i;
				echo $left < 3 ? '</div><div class="row"><div class="col-md-' . (3 - $left) * 2 . '"></div>' : '</div><div class="row">' ;
			}
			$sponsor = $event['sponsors'][$i];
		?>
		<div class="col-sm-6 col-md-4">
			<div class="thumbnail" style="text-align:center;">
				<?php if (!is_null($sponsor['logo'])): ?>
					<img src="http://upstreamacademy.com/apps/<?=$sponsor['logo']; ?>" alt="..." style="max-height:300px">
				<?php endif; ?>
				<div class="caption">
					<h3>
						<?php if (is_null($sponsor['site'])): ?>
							<?=$sponsor['name']; ?>
						<?php else: ?>
							<a href="<?=$sponsor['site']; ?>" style="color:#333;" target="_blank"><?=$sponsor['name']; ?></a>
						<?php endif; ?>
						<?php if (!is_null($sponsor['advert'])): ?>
							<small>
								<a href="<?=$sponsor['advert']; ?>" style="color:#999">Flyer</a>
							</small>
						<?php endif; ?>
					</h3>
					<?=$sponsor['bio']; ?>

					<?php if (count($sponsor['reps']) > 0): ?>
						<table class="table" style="text-align:left;margin-bottom:0">
							<thead>
								<tr>
									<th>Attending Representative</th>
								</tr>
							</thead>
							<tbody>
								<?php foreach ($sponsor['reps'] as $rep): ?>
									<tr>
										<td>
											<?=$rep['name']; ?>
											<div class="pull-right">
												<a href="tel:<?=$rep['phone']; ?>"><i class="glyphicon glyphicon-phone-alt"></i></a>
												<a href="mailto:<?=$rep['email']; ?>"><i class="glyphicon glyphicon-envelope"></i></a>
											</div>
										</td>
									</tr>
								<?php endforeach; ?>
							</tbody><commit_msg>Gerogia: Adding user dialog to sponsor reps<commit_after><div class="page-header">
	<div class="container">
		<h1>Sponsors</h1>
	</div>
</div>
<?php echo $event['html_sponsors']; ?>

<div class="row" data-ng-controller="event-speaker">
	<?php 
		$count = count($event['sponsors']);
		for ($i=0; $i < $count; $i++): 
			if ($i % 3 == 0 && $i != 0) {
				$left = $count - $i;
				echo $left < 3 ? '</div><div class="row"><div class="col-md-' . (3 - $left) * 2 . '"></div>' : '</div><div class="row">' ;
			}
			$sponsor = $event['sponsors'][$i];
		?>
		<div class="col-sm-6 col-md-4">
			<div class="thumbnail" style="text-align:center;">
				<?php if (!is_null($sponsor['logo']) && $sponsor['logo'] != ''): ?>
					<img src="http://upstreamacademy.com/apps/<?=$sponsor['logo']; ?>" alt="..." style="max-height:300px">
				<?php endif; ?>
				<div class="caption">
					<h3>
						<?php if (is_null($sponsor['site'])): ?>
							<?=$sponsor['name']; ?>
						<?php else: ?>
							<a href="<?=$sponsor['site']; ?>" style="color:#333;" target="_blank"><?=$sponsor['name']; ?></a>
						<?php endif; ?>
						<?php if (!is_null($sponsor['advert'])): ?>
							<small>
								<a href="<?=$sponsor['advert']; ?>" style="color:#999">Flyer</a>
							</small>
						<?php endif; ?>
					</h3>
					<?=$sponsor['bio']; ?>

					<?php if (count($sponsor['reps']) > 0): ?>
						<table class="table" style="text-align:left;margin-bottom:0">
							<thead>
								<tr>
									<th>Attending Representative</th>
								</tr>
							</thead>
							<tbody>
								<?php foreach ($sponsor['reps'] as $rep): ?>
									<tr>
										<td>
											<a href="#" data-ng-click="show_user(<?=$rep['userID']; ?>, $event)">
												<?=$rep['name']; ?>
											</a>
											<div class="pull-right">
												<a href="tel:<?=$rep['phone']; ?>"><i class="glyphicon glyphicon-phone-alt"></i></a>
												<a href="mailto:<?=$rep['email']; ?>"><i class="glyphicon glyphicon-envelope"></i></a>
											</div>
										</td>
									</tr>
								<?php endforeach; ?>
							</tbody>
{'fraction_non_alphanumeric': 0.2698013578073925, 'fraction_numerical': 0.012069399044505909, 'mean_word_length': 2.652892561983471, 'pattern_counts': {'":': 0, '<': 148, '<?xml version=': 0, '>': 146, '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': '3600565', 'n_tokens_mistral': 2036, 'n_tokens_neox': 1428, 'n_words': 264}