<commit_before><include target="header.html" />

<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/file/tpl/file_list/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
	<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<script>
xe.lang.msg_empty_search_target = '{$lang->msg_empty_search_target}';
xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
</script>

<form id="fo_list" action="./" method="post">
	<input type="hidden" name="module" value="file" />
	<table id="fileListTable" class="x_table x_table-striped x_table-hover">
		<caption>
			<a href="{getUrl('', 'module', 'admin', 'act', 'dispFileAdminList')}" class="active"|cond="!$isvalid">{$lang->all}<block cond="!$isvalid">({number_format($total_count)})</block></a>
			<i>|</i>
			<a href="{getUrl('isvalid', 'Y')}" class="active"|cond="$isvalid == 'Y'">{$lang->is_valid}<block cond="$isvalid == 'Y'">({number_format($total_count)})</block></a>
			<i>|</i>
			<a href="{getUrl('isvalid', 'N')}" class="active"|cond="$isvalid == 'N'">{$lang->is_stand_by}<block cond="$isvalid == 'N'">({number_format($total_count)})</block></a>
			
			<span class="x_pull-right"><a href="#listManager" class="x_btn modalAnchor" onclick="getFileList();">{$lang->delete}</a></span>
		</caption>
		<thead>
			<tr>
				<th scope="col">{$lang->file}</th>
				<th scope="col" class="nowr">{$lang->file_size}</th>
				<th scope="col" class="nowr">{$lang->cmd_download}</th>
				<th scope="col" class="nowr">{$lang->author}</th>
				<th scope="col" class="nowr">{$lang->date}</th>
				<th scope="col" class="nowr">{$lang->ipaddress}</th>
				<th scope="col" class="nowr">{$lang->status}</th>
				<th scope="col"><input type="checkbox" data-name="cart" title="Check All" /></th>
			</tr>
		</thead>
		<tbody>
			<!--@foreach($file_list as $no => $val)-->
				<!-- one document start -->
				<!--@if($val->upload_target_srl != $cur_upload_target_srl)-->
					<!--@if($val->upload_target_type == 'com')-->
						{@ $document_srl = $val->target_document_srl}
						{@ $move_uri = getUrl('', 'document_srl', $document_srl).'#comment_'.$val->upload_target_srl}
					<!--@elseif($val->upload_target_type == 'doc')-->
						{@ $document_srl = $val->upload_target_srl}
						{@ $move_uri = getUrl('', 'document_srl', $document_srl)}
					<!--@end-->
					{@ $cur_upload_target_srl = $val->upload_target_srl}
			<tr>
				<th colspan="8" scope="col">
					<!--@if(!$val->upload_target_type)-->
						<!--@if($val->isvalid=='Y')-->
							{$lang->is_valid}
						<!--@else-->
							{$lang->is_stand_by}
						<!--@end-->
					<!--@else-->
						<!--@if($val->upload_target_type == 'com')-->[{$lang->comment}] <!--@end-->
						<!--@if($val->upload_target_type == 'mod')-->[{$lang->module}] <!--@end-->
						<!--@if($val->upload_target_type == 'msg')-->[{$lang->member_message}] <!--@end-->

						<!--@if($val->upload_target_type == 'doc' && $document_list[$document_srl] && $document_list[$document_srl]->get('module_srl') == $document_list[$document_srl]->get('member_srl'))-->[{$lang->cmd_temp_save}] <!--@end-->
						<!--@if($val->upload_target_type == 'doc' && $document_list[$document_srl] && $document_list[$document_srl]->get('module_srl') == 0)-->[{$lang->cmd_trash}] <!--@end-->
						<!--@if(in_array($val->upload_target_type, ['doc', 'com', 'mod']))-->
							<a href="{getUrl('', 'mid', $module_list[$val->module_srl]->mid)}" target="_blank">{$module_list[$val->module_srl]->browser_title}</a>
						<!--@end-->
						<!--@if($document_list[$document_srl] && ($val->upload_target_type == 'doc' || $val->upload_target_type == 'com'))-->
						 - <!--@if($document_list[$document_srl]->get('module_srl') != $document_list[$document_srl]->get('member_srl'))--><a href="{$move_uri}" target="_blank">{$document_list[$document_srl]->getTitle()}</a><!--@else-->{$document_list[$document_srl]->getTitle()}<!--@end-->
						<!--@end-->
					<!--@end--><commit_msg>Always display the module that a file belongs to<commit_after><include target="header.html" />

<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/file/tpl/file_list/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
	<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<script>
xe.lang.msg_empty_search_target = '{$lang->msg_empty_search_target}';
xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
</script>

<form id="fo_list" action="./" method="post">
	<input type="hidden" name="module" value="file" />
	<table id="fileListTable" class="x_table x_table-striped x_table-hover">
		<caption>
			<a href="{getUrl('', 'module', 'admin', 'act', 'dispFileAdminList')}" class="active"|cond="!$isvalid">{$lang->all}<block cond="!$isvalid">({number_format($total_count)})</block></a>
			<i>|</i>
			<a href="{getUrl('isvalid', 'Y')}" class="active"|cond="$isvalid == 'Y'">{$lang->is_valid}<block cond="$isvalid == 'Y'">({number_format($total_count)})</block></a>
			<i>|</i>
			<a href="{getUrl('isvalid', 'N')}" class="active"|cond="$isvalid == 'N'">{$lang->is_stand_by}<block cond="$isvalid == 'N'">({number_format($total_count)})</block></a>
			
			<span class="x_pull-right"><a href="#listManager" class="x_btn modalAnchor" onclick="getFileList();">{$lang->delete}</a></span>
		</caption>
		<thead>
			<tr>
				<th scope="col">{$lang->file}</th>
				<th scope="col" class="nowr">{$lang->file_size}</th>
				<th scope="col" class="nowr">{$lang->cmd_download}</th>
				<th scope="col" class="nowr">{$lang->author}</th>
				<th scope="col" class="nowr">{$lang->date}</th>
				<th scope="col" class="nowr">{$lang->ipaddress}</th>
				<th scope="col" class="nowr">{$lang->status}</th>
				<th scope="col"><input type="checkbox" data-name="cart" title="Check All" /></th>
			</tr>
		</thead>
		<tbody>
			<!--@foreach($file_list as $no => $val)-->
				<!-- one document start -->
				<!--@if($val->upload_target_srl != $cur_upload_target_srl)-->
					<!--@if($val->upload_target_type == 'com')-->
						{@ $document_srl = $val->target_document_srl}
						{@ $move_uri = getUrl('', 'document_srl', $document_srl).'#comment_'.$val->upload_target_srl}
					<!--@elseif($val->upload_target_type == 'doc')-->
						{@ $document_srl = $val->upload_target_srl}
						{@ $move_uri = getUrl('', 'document_srl', $document_srl)}
					<!--@end-->
					{@ $cur_upload_target_srl = $val->upload_target_srl}
			<tr>
				<th colspan="8" scope="col">
					<!--@if(!$val->upload_target_type)-->
						<!--@if($val->isvalid=='Y')-->
							{$lang->is_valid}
						<!--@else-->
							{$lang->is_stand_by}
						<!--@end-->
					<!--@else-->
						<!--@if($val->upload_target_type == 'com')-->[{$lang->comment}] <!--@end-->
						<!--@if($val->upload_target_type == 'mod')-->[{$lang->module}] <!--@end-->
						<!--@if($val->upload_target_type == 'msg')-->[{$lang->member_message}] <!--@end-->

						<!--@if($val->upload_target_type == 'doc' && $document_list[$document_srl] && $document_list[$document_srl]->get('module_srl') == $document_list[$document_srl]->get('member_srl'))-->[{$lang->cmd_temp_save}] <!--@end-->
						<!--@if($val->upload_target_type == 'doc' && $document_list[$document_srl] && $document_list[$document_srl]->get('module_srl') == 0)-->[{$lang->cmd_trash}] <!--@end-->
						<!--@if($val->module_srl && isset($module_list[$val->module_srl]))-->
							<a href="{getUrl('', 'mid', $module_list[$val->module_srl]->mid)}" target="_blank">{$module_list[$val->module_srl]->browser_title}</a>
						<!--@end-->
						<!--@if($document_list[$document_srl] && ($val->upload_target_type == 'doc' || $val->upload_target_type == 'com'))-->
						 - <!--@if($document_list[$document_srl]->get('module_srl') != $document_list[$document_srl]->get('member_srl'))--><a href="{$move_uri}" target="_blank">{$document_list[$document_srl]->getTitle()}</a><!--@else-->{$document_list[$document_srl]->getTitle()}<!--@end-->
						<!--@end-->
					<!--@end-->
{'fraction_non_alphanumeric': 0.27720634920634923, 'fraction_numerical': 0.0007619047619047619, 'mean_word_length': 4.753104455807159, 'pattern_counts': {'":': 0, '<': 181, '<?xml version=': 0, '>': 280, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2623476', 'n_tokens_mistral': 3277, 'n_tokens_neox': 2848, 'n_words': 353}