|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /home/queenjbs/xe/files/cache/template_compiled/ |
Upload File : |
<?php if(!defined("__ZBXE__")) exit();?>
<?php
require_once("./classes/xml/XmlJsFilter.class.php");
$oXmlFilter = new XmlJSFilter("modules/file/tpl/filter/","delete_checked.xml");
$oXmlFilter->compile();
?>
<!--Meta:modules/file/tpl/css/file_list.css--><?php Context::addCSSFile("modules/file/tpl/css/file_list.css", true, "all", ""); ?>
<?php
$oTemplate = &TemplateHandler::getInstance();
print $oTemplate->compile('./modules/file/tpl/','header.html');
?>
<!-- 검색 -->
<div class="fl">
<form action="./" method="get" class="adminSearch">
<input type="hidden" name="module" value="<?php @print($__Context->module);?>" />
<input type="hidden" name="act" value="<?php @print($__Context->act);?>" />
<input type="hidden" name="module_srl" value="<?php @print($__Context->module_srl);?>" />
<fieldset>
<select name="isvalid">
<option value=""><?php @print($__Context->lang->status);?></option>
<option value="Y" <?php if($__Context->isvalid=="Y"){ ?>selected="selected"<?php } ?>><?php @print($__Context->lang->is_valid);?></option>
<option value="N" <?php if($__Context->isvalid=="N"){ ?>selected="selected"<?php } ?>><?php @print($__Context->lang->is_stand_by);?></option>
</select>
<select name="search_target">
<option value=""><?php @print($__Context->lang->search_target);?></option>
<?php $Context->__idx[0]=0;if(count($__Context->lang->file_search_target_list)) foreach($__Context->lang->file_search_target_list as $__Context->key => $__Context->val){$__Context->__idx[1]=($__Context->__idx[1]+1)%2; $__Context->cycle_idx = $__Context->__idx[1]+1; ?>
<option value="<?php @print($__Context->key);?>" <?php if($__Context->search_target==$__Context->key){ ?>selected="selected"<?php } ?>><?php @print($__Context->val);?></option>
<?php } ?>
</select>
<input type="text" name="search_keyword" value="<?php @print(htmlspecialchars($__Context->search_keyword));?>" class="inputTypeText" />
<span class="button blue"><input type="submit" value="<?php @print($__Context->lang->cmd_search);?>" /></span>
<a href="<?php @print(getUrl('','module',$__Context->module,'act',$__Context->act));?>" class="button black"><span><?php @print($__Context->lang->cmd_cancel);?></span></a>
</fieldset>
</form>
</div>
<form id="fo_list" action="./" method="get" onsubmit="return procFilter(this, delete_checked)">
<input type="hidden" name="page" value="<?php @print($__Context->page);?>" />
<!-- 모듈 선택 -->
<div class="fr">
<a href="<?php @print(getUrl('','module','module','act','dispModuleSelectList','id','target_module','type','single'));?>" onclick="popopen(this.href,'ModuleSelect');return false;" class="button green"><span><?php @print($__Context->lang->cmd_find_module);?></span></a>
<span class="button red"><input type="submit" value="<?php @print($__Context->lang->cmd_delete_checked_file);?>" /></span>
</div>
<!-- 목록 -->
<table cellspacing="0" class="crossTable clear">
<caption>Total <?php @print(number_format($__Context->total_count));?>, Page <?php @print(number_format($__Context->page));?>/<?php @print(number_format($__Context->total_page));?></caption>
<thead>
<tr>
<th scope="col"><div><?php @print($__Context->lang->no);?></div></th>
<th scope="col"><div><input type="checkbox" onclick="XE.checkboxToggleAll(); return false;" /></div></th>
<th scope="col" class="wide"><div><?php @print($__Context->lang->file);?></div></th>
<th scope="col"><div><?php @print($__Context->lang->file_size);?></div></th>
<th scope="col"><div><?php @print($__Context->lang->status);?></div></th>
<th scope="col"><div><?php @print($__Context->lang->cmd_download);?></div></th>
<th scope="col"><div><?php @print($__Context->lang->date);?></div></th>
<th scope="col"><div><?php @print($__Context->lang->ipaddress);?></div></th>
<th scope="col"><div><?php @print($__Context->lang->nick_name);?></div></th>
</tr>
</thead>
<tbody>
<?php $Context->__idx[1]=0;if(count($__Context->file_list)) foreach($__Context->file_list as $__Context->no => $__Context->val){$__Context->__idx[2]=($__Context->__idx[2]+1)%2; $__Context->cycle_idx = $__Context->__idx[2]+1; ?>
<?php if($__Context->val->upload_target_srl != $__Context->cur_upload_target_srl){ ?>
<?php if($__Context->val->upload_target_type == 'com'){ ?>
<?php @$__Context->document_srl = $__Context->val->target_document_srl;?>
<?php @$__Context->move_uri = getUrl('', 'document_srl', $__Context->document_srl).'#comment_'.$__Context->val->upload_target_srl;?>
<?php }elseif($__Context->val->upload_target_type == 'doc'){ ?>
<?php @$__Context->document_srl = $__Context->val->upload_target_srl;?>
<?php @$__Context->move_uri = getUrl('', 'document_srl', $__Context->document_srl);?>
<?php } ?>
<?php @$__Context->cur_upload_target_srl = $__Context->val->upload_target_srl;?>
<tr class="row<?php @print($__Context->cycle_idx);?> bg1">
<th colspan="9">
<?php if(!$__Context->val->upload_target_type){ ?>
<?php if($__Context->val->isvalid=='Y'){ ?>
<?php @print($__Context->lang->is_valid);?>
<?php }else{ ?>
<?php @print($__Context->lang->is_stand_by);?>
<?php } ?>
<?php }else{ ?>
<?php if($__Context->val->upload_target_type == 'com'){ ?>[<?php @print($__Context->lang->comment);?>] <?php } ?>
<?php if($__Context->val->upload_target_type == 'mod'){ ?>[<?php @print($__Context->lang->module);?>] <?php } ?>
<?php if($__Context->val->upload_target_type == 'doc' && $__Context->document_list[$__Context->document_srl] && $__Context->document_list[$__Context->document_srl]->get('module_srl') == $__Context->document_list[$__Context->document_srl]->get('member_srl')){ ?>[<?php @print($__Context->lang->cmd_temp_save);?>] <?php } ?>
<?php if($__Context->val->upload_target_type == 'doc' && $__Context->document_list[$__Context->document_srl] && $__Context->document_list[$__Context->document_srl]->get('module_srl') == 0){ ?>[<?php @print($__Context->lang->cmd_trash);?>] <?php } ?>
<a href="<?php @print(getUrl('', 'mid', $__Context->module_list[$__Context->val->module_srl]->mid));?>" onclick="window.open(this.href);return false;"><?php @print($__Context->module_list[$__Context->val->module_srl]->browser_title);?></a>
<?php if($__Context->document_list[$__Context->document_srl] && ($__Context->val->upload_target_type == 'doc' || $__Context->val->upload_target_type == 'com')){ ?>
- <?php if($__Context->document_list[$__Context->document_srl]->get('module_srl') != $__Context->document_list[$__Context->document_srl]->get('member_srl')){ ?><a href="<?php @print($__Context->move_uri);?>" onclick="window.open(this.href);return false;"><?php @print($__Context->document_list[$__Context->document_srl]->getTitle());?></a><?php }else{ ?><?php @print($__Context->document_list[$__Context->document_srl]->getTitle());?><?php } ?>
<?php } ?>
<?php } ?>
</th>
</tr>
<?php } ?>
<tr>
<td class="tCenter number"><?php @print($__Context->no);?></td>
<td class="tCenter"><input type="checkbox" name="cart" value="<?php @print($__Context->val->file_srl);?>" /></td>
<td class="wide"><a href="<?php @print($__Context->val->download_url);?>" class="red"><?php @print(htmlspecialchars($__Context->val->source_filename));?></a></td>
<td class="number tRight"><?php @print(FileHandler::filesize($__Context->val->file_size));?></td>
<td class="tCenter">
<?php if($__Context->val->isvalid=='Y'){ ?>
<?php @print($__Context->lang->is_valid);?>
<?php }else{ ?>
<?php @print($__Context->lang->is_stand_by);?>
<?php } ?>
</td>
<td class="number tCenter"><?php @print($__Context->val->download_count);?></td>
<td class="date tCenter nowrap" title="<?php @print(zdate($__Context->val->regdate,"Y-m-d H:i:s"));?>"><?php @print(zdate($__Context->val->regdate,"Y-m-d"));?></td>
<td class="number tCenter nowrap"><a href="<?php @print(getUrl('search_target','ipaddress','search_keyword',$__Context->val->ipaddress));?>"><?php @print($__Context->val->ipaddress);?></a></td>
<td class="nowrap">
<?php if($__Context->val->upload_target_type == 'doc' && $__Context->document_list[$__Context->document_srl]){ ?>
<span class="member_<?php @print($__Context->document_list[$__Context->document_srl]->get('member_srl'));?>"><?php @print($__Context->document_list[$__Context->document_srl]->getNickName());?></span>
<?php }elseif($__Context->val->upload_target_type == 'com' && $__Context->comment_list[$__Context->val->upload_target_srl]){ ?>
<span class="member_<?php @print($__Context->comment_list[$__Context->val->upload_target_srl]->get('member_srl'));?>"><?php @print($__Context->comment_list[$__Context->val->upload_target_srl]->getNickName());?></span>
<?php } ?>
</td>
</tr>
<?php } ?>
</tbody>
</table>
</form>
<!-- 페이지 네비게이션 -->
<div class="pagination a1">
<a href="<?php @print(getUrl('page',''));?>" class="prevEnd"><?php @print($__Context->lang->first_page);?></a>
<?php while($__Context->page_no = $__Context->page_navigation->getNextPage()){ ?>
<?php if($__Context->page == $__Context->page_no){ ?>
<strong><?php @print($__Context->page_no);?></strong>
<?php }else{ ?>
<a href="<?php @print(getUrl('page',$__Context->page_no));?>"><?php @print($__Context->page_no);?></a>
<?php } ?>
<?php } ?>
<a href="<?php @print(getUrl('page',$__Context->page_navigation->last_page));?>" class="nextEnd"><?php @print($__Context->lang->last_page);?></a>
</div>