<commit_before><?=$page['header']?>

<?=$page['menu']?>
	<div class="col-lg-12">
		<h1 class="page-header">Dashboard</h1>
		<?php if ($print) { echo "<pre>";print_r($print);echo "</pre>"; } ?>
	</div>
	<!-- /.col-lg-12 -->
	<div class="col-lg-4">
		<div class="panel panel-default">
			<div class="panel-heading">
				<i class="fa fa-bell fa-fw"></i> Notificaciones
			</div>
			<div class="panel-body  panel-dashboard">
				<div class="list-group pre-scrollable panel-dashboard-notification">
					<?php if (count($statistics['MinAsist']) > 0) :?>
					<a href="#" class="list-group-item">
						<i class="fa fa-comment fa-fw"></i> <?= count($statistics['MinAsist']) ?> pareja completaron sus 3 asistencias.
					</a>
					<?php endif ?>
					<a href="#" class="list-group-item">
						<i class="fa fa-comment fa-fw"></i> 4 parejasss completaron sus 3 asistencias.
						<span class="pull-right text-muted small"><em>Mayo 31 de 2017</em>
						</span>
					</a>
					<a href="#" class="list-group-item">
						<i class="fa fa-users fa-fw"></i> 5 personas cumplieron años este mes
						<span class="pull-right text-muted small"><em>Mayo 31 de 2017</em>
						</span>
					</a>
					<a href="#" class="list-group-item">
						<i class="fa fa-users fa-fw"></i> 2 parejas festejan aniversario este mes
						<span class="pull-right text-muted small"><em>Mayo 31 de 2017</em>
						</span>
					</a>
					<a href="#" class="list-group-item">
						<i class="fa fa-upload fa-fw"></i> 16 Integrantes cumplieron 6 meses sin ausencia
						<span class="pull-right text-muted small"><em>Mayo 31 de 2017</em>
						</span>
					</a>
					<a href="#" class="list-group-item">
						<i class="fa fa-upload fa-fw"></i> 16 Integrantes cumplieron 6 meses sin ausencia
						<span class="pull-right text-muted small"><em>Mayo 31 de 2017</em>
						</span>
					</a>
					<a href="#" class="list-group-item">
						<i class="fa fa-upload fa-fw"></i> 16 Integrantes cumplieron 6 meses sin ausencia
						<span class="pull-right text-muted small"><em>Mayo 31 de 2017</em>
						</span>
					</a>
					<a href="#" class="list-group-item">
						<i class="fa fa-upload fa-fw"></i> 16 Integrantes cumplieron 6 meses sin ausencia
						<span class="pull-right text-muted small"><em>Mayo 31 de 2017</em>
						</span>
					</a>
				</div>
				<!-- /.list-group -->
			</div>
			<a href="#">
				<div class="panel-footer">
					<span class="pull-left">Ver todas las notificaciones</span>
					<span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
					<div class="clearfix"></div>
				</div>
				<!-- panel-footer -->
			</a>
			<!-- a footer -->
		</div>
	</div>
	<!-- /.col-lg-4 -->
	<div class="col-lg-4">
		<div class="panel panel-default">
			<div class="panel-heading">
				<i class="fa fa-bar-chart"></i> Asistencia General
			</div>
			<!-- /.panel-heading -->
			<div class="panel-body autoscroll panel-dashboard">
				<div id="bar-asistencia" class="autoscroll panel-dashboard-graphic"></div>
			</div>
			<!-- /.panel-body -->
			<a href="statistics.html">
				<div class="panel-footer">
					<span class="pull-left">Ver Estadísticas</span>
					<span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
					<div class="clearfix"></div>
				</div>
				<!-- panel-footer -->
			</a>
		</div>
		<!-- /.panel -->
	</div>
	<!-- /.col-lg-4 -->
	<div class="col-lg-4">
		<div class="panel panel-default">
			<div class="panel-heading">
				<i class="fa fa-calendar-o fa-fw"></i> Cronograma de Actividades
			</div>
			<!-- /.panel-heading -->
			<div class="panel-body autoscroll panel-dashboard">
				<div class="table-responsive autoscroll panel-dashboard-calendar">
					<table class="table table-striped table-hover">
						<?php foreach ($eventos as $item): ?>
							<?php if ($date != $item['FechaEvento']) : ?>
								<thead>
									<tr>
										<th><?= $item['FechaEvento'] ?></th>
									</tr>
								</thead>
								<?php $date = $item['FechaEvento']; ?>
							<?php endif; ?>
								
								<tr>
									<td><?= $item['Nombre'] ?></td>
								</tr>
						<?php endforeach; ?>
					</table>
				</div>
				<!-- /.table-responsive -->
			</div>
			<!-- /.panel-body -->
			<a href="agenda.html">
				<div class="panel-footer">
					<span class="pull-left">Ver Calendario Eventos</span>
					<span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
					<div class="clearfix"></div>
				</div>
				<!-- panel-footer -->
			</a>
			<!-- a footer -->
		</div>
		<!-- /.panel -->
	</div>
	<!-- /.col-lg-4 -->
		
<?=$page['footer']?>

<script>
	$(function() {
		// Bar Chart
		Morris.Bar({
			element: 'bar-asistencia',
			data: [
			<?php foreach ($asistencia as $item): ?>
			{
				asistencia: '<?= $item['FechaEvento'] ?>',
				p: <?= $item['Asistencia'] ?>
			},
			<?php endforeach; ?>
			],
			xkey: 'asistencia',
			ykeys: ['p'],
			labels: ['Integrantes'],
			barRatio: 0.4,
			xLabelAngle: 35,
			hideHover: 'auto',
			resize: true
		});	
	});
</script>
<commit_msg>Quitar ventana de notificaciones mientras tenemos la manera de tener la información.<commit_after><?=$page['header']?>

<?=$page['menu']?>
	<div class="col-lg-12">
		<h1 class="page-header">Dashboard</h1>
		<?php if ($print) { echo "<pre>";print_r($print);echo "</pre>"; } ?>
	</div>
	<!-- /.col-lg-4 -->
	<div class="col-lg-4">
		<div class="panel panel-default">
			<div class="panel-heading">
				<i class="fa fa-bar-chart"></i> Asistencia General
			</div>
			<!-- /.panel-heading -->
			<div class="panel-body autoscroll panel-dashboard">
				<div id="bar-asistencia" class="autoscroll panel-dashboard-graphic"></div>
			</div>
			<!-- /.panel-body -->
			<a href="statistics.html">
				<div class="panel-footer">
					<span class="pull-left">Ver Estadísticas</span>
					<span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
					<div class="clearfix"></div>
				</div>
				<!-- panel-footer -->
			</a>
		</div>
		<!-- /.panel -->
	</div>
	<!-- /.col-lg-4 -->
	<div class="col-lg-4">
		<div class="panel panel-default">
			<div class="panel-heading">
				<i class="fa fa-calendar-o fa-fw"></i> Cronograma de Actividades
			</div>
			<!-- /.panel-heading -->
			<div class="panel-body autoscroll panel-dashboard">
				<div class="table-responsive autoscroll panel-dashboard-calendar">
					<table class="table table-striped table-hover">
						<?php foreach ($eventos as $item): ?>
							<?php if ($date != $item['FechaEvento']) : ?>
								<thead>
									<tr>
										<th><?= $item['FechaEvento'] ?></th>
									</tr>
								</thead>
								<?php $date = $item['FechaEvento']; ?>
							<?php endif; ?>
								
								<tr>
									<td><?= $item['Nombre'] ?></td>
								</tr>
						<?php endforeach; ?>
					</table>
				</div>
				<!-- /.table-responsive -->
			</div>
			<!-- /.panel-body -->
			<a href="agenda.html">
				<div class="panel-footer">
					<span class="pull-left">Ver Calendario Eventos</span>
					<span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
					<div class="clearfix"></div>
				</div>
				<!-- panel-footer -->
			</a>
			<!-- a footer -->
		</div>
		<!-- /.panel -->
	</div>
	<!-- /.col-lg-4 -->
		
<?=$page['footer']?>

<script>
	$(function() {
		// Bar Chart
		Morris.Bar({
			element: 'bar-asistencia',
			data: [
			<?php foreach ($asistencia as $item): ?>
			{
				asistencia: '<?= $item['FechaEvento'] ?>',
				p: <?= $item['Asistencia'] ?>
			},
			<?php endforeach; ?>
			],
			xkey: 'asistencia',
			ykeys: ['p'],
			labels: ['Integrantes'],
			barRatio: 0.4,
			xLabelAngle: 35,
			hideHover: 'auto',
			resize: true
		});	
	});
</script>

{'fraction_non_alphanumeric': 0.22752772341813438, 'fraction_numerical': 0.011611219830397913, 'mean_word_length': 2.575559701492537, 'pattern_counts': {'":': 0, '<': 286, '<?xml version=': 0, '>': 287, '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': '1868787', 'n_tokens_mistral': 3543, 'n_tokens_neox': 2753, 'n_words': 589}