<!-- Dashboard statistics start -->

<div id="dashboard-statistics" class="fadeIn">
	<div class="row">
		<div class="col s12">
			<div class="widget-holder hoverable fadeIn">
				<div class="widget-heading">
					<h2 class="widget-heading-thick"><?php echo Lang::get('dashboard.view_statistic'); ?></h2>

					<div class="row filter-row">
						<div class="col s12">
							<select id="countrySelector">
								<option disabled selected><?php echo Lang::get('dashboard.selectCountry'); ?></option>
								<?php foreach($countries[0]['countries'] as $country): ?>
									<option value="<?php echo $country->id; ?>"><?php echo Lang::get('databaseAssets.'. $country->identifier); ?></option>
								<?php endforeach; ?>
							</select>
							<select disabled id='citySelector'></select>


							<div class="vertical-seperator"></div>

							<div class="input-field">
								<input id="factorInput" type="text">
								<label for="factorInput"><?php echo Lang::get('dashboard.cityViewFactor'); ?></label>
							</div>
							<a id="factorButton" class="waves-effect waves-light btn btn-primary"><?php echo Lang::get('dashboard.set_factor'); ?></a>


							<div class="input-field right">
								<i class="material-icons prefix">search</i>
								<input disabled id="icon_prefix" type="text" class="validate"  onkeyup="filterTable()">
								<label for="icon_prefix"><?php echo ucfirst(Lang::get('core.search')); ?>...</label>
							</div>
						</div>
					</div>
				</div>
				<div class="widget-content">
					<div class="table-wrapper">
						<table class="bordered responsive-table">
							<thead>
							<tr>
								<th><?php echo Lang::get('touristInformation.header_id'); ?></th>
								<th><?php echo Lang::get('user.label_category'); ?></th>
								<th><?php echo Lang::get('user.label_title'); ?></th>
								<th><?php echo Lang::get('user.label_created_at'); ?></th>
								<th><?php echo Lang::get('user.label_counter'); ?></th>
								<th><?php echo Lang::get('user.label_counterFake'); ?></th>
							</tr>
							</thead>

							<tbody id="tablebody">

							</tbody>
						</table>

					</div>
				</div>
			</div>
		</div>
	</div>
</div>

<script type="application/javascript">
	var labelSelectCity="<?php echo Lang::get('dashboard.selectCity'); ?>"
</script>
<!-- Dashboard statistics end -->
