<commit_before>{extends file='site_layout.tpl'}
{block name='head'}
	<style>.table { font-size: 14px; }</style>
{/block}
{block name='content'}
	<h2 class="page-header">Daftar Delegasi Expo KMI</h2>
	<div class="row">
		<div class="col-lg-12">

			<form action="{current_url()}" method="post" enctype="multipart/form-data" class="form-horizontal">
				<fieldset>
					<!-- Text input-->
					<div class="form-group" id="fileUpload" {if $file_expo != NULL}style="display: none"{/if}>
						<label class="col-lg-2 control-label" for="file1">File Proposal Expo</label>  
						<div class="col-lg-5">
							<input id="file1" name="file1" class="form-control input-md" type="file">
							<span class="help-block text-info">File PDF. Format proposal bisa dilihat di <a href="{site_url('site/download')}" target="_blank">{site_url('site/download')}</a></span>
						</div>
						<div class="col-lg-2">
							<input type="submit" class="btn btn-primary" value="Upload" />
							{if $file_expo != NULL}
								<a class="btn btn-default" id="btnCancelChange">Batal</a>
							{/if}
						</div>
					</div>
					<div class="form-group" id="fileUploadDisplay" {if $file_expo == NULL}style="display: none"{/if}>
						<label class="col-lg-2 control-label" for="file1">File Proposal Expo</label>
						<div class="col-lg-5">
							<p class="form-control-static">
								<a href="{base_url()}upload/usulan-expo/{$file_expo->nama_file}">{$file_expo->nama_asli}</a>
								<a class="btn btn-xs btn-warning" id="btnChangeFile">Ubah</a>
							</p>
						</div>
					</div>
				</fieldset>
			</form>

			{if $is_kegiatan_aktif == true}
				{if count($data_set) < $kegiatan->proposal_per_pt}
					<p>
						<a href="{site_url('expo/add')}" class="btn btn-primary">Tambah Usaha</a>
					</p>
				{/if}
			{/if}

			<table class="table table-bordered table-hover table-condensed">
				<thead>
					<tr>
						<th class="text-center">#</th>
						<th>Nama Usaha</th>
						<th>Kategori</th>
						<th class="text-center">Status</th>
						<th style="width: 220px"></th>
					</tr>
				</thead>
				<tbody>
					{foreach $data_set as $data}
						<tr><commit_msg>Baca status kegiatan aktif pada usulan expo<commit_after>{extends file='site_layout.tpl'}
{block name='head'}
	<style>.table { font-size: 14px; }</style>
{/block}
{block name='content'}
	<h2 class="page-header">Daftar Delegasi Expo KMI</h2>
	<div class="row">
		<div class="col-lg-12">

			<form action="{current_url()}" method="post" enctype="multipart/form-data" class="form-horizontal">
				<fieldset>
					<!-- Text input-->
					<div class="form-group" id="fileUpload" {if $file_expo != NULL}style="display: none"{/if}>
						<label class="col-lg-2 control-label" for="file1">File Proposal Expo</label>  
						<div class="col-lg-5">
							<input id="file1" name="file1" class="form-control input-md" type="file">
							<span class="help-block text-info">File PDF. Format proposal bisa dilihat di <a href="{site_url('site/download')}" target="_blank">{site_url('site/download')}</a></span>
						</div>
						<div class="col-lg-2">
							<input type="submit" class="btn btn-primary" value="Upload" />
							{if $file_expo != NULL}
								<a class="btn btn-default" id="btnCancelChange">Batal</a>
							{/if}
						</div>
					</div>
					<div class="form-group" id="fileUploadDisplay" {if $file_expo == NULL}style="display: none"{/if}>
						<label class="col-lg-2 control-label" for="file1">File Proposal Expo</label>
						<div class="col-lg-5">
							<p class="form-control-static">
								<a href="{base_url()}upload/usulan-expo/{$file_expo->nama_file}">{$file_expo->nama_asli}</a>
								{if $is_kegiatan_aktif == true}
									<a class="btn btn-xs btn-warning" id="btnChangeFile">Ubah</a>
								{/if}
							</p>
						</div>
					</div>
				</fieldset>
			</form>

			{if $is_kegiatan_aktif == true}
				{if count($data_set) < $kegiatan->proposal_per_pt}
					<p>
						<a href="{site_url('expo/add')}" class="btn btn-primary">Tambah Usaha</a>
					</p>
				{/if}
			{/if}

			<table class="table table-bordered table-hover table-condensed">
				<thead>
					<tr>
						<th class="text-center">#</th>
						<th>Nama Usaha</th>
						<th>Kategori</th>
						<th class="text-center">Status</th>
						<th style="width: 220px"></th>
					</tr>
				</thead>
				<tbody>
					{foreach $data_set as $data}
						<tr>
{'fraction_non_alphanumeric': 0.20123203285420946, 'fraction_numerical': 0.008213552361396304, 'mean_word_length': 3.1992337164750957, 'pattern_counts': {'":': 0, '<': 125, '<?xml version=': 0, '>': 129, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1203020', 'n_tokens_mistral': 2083, 'n_tokens_neox': 1631, 'n_words': 305}