mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@919 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2cf7d0223f
commit
3a1abb56d9
5 changed files with 30 additions and 5 deletions
|
|
@ -95,6 +95,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
// 유효/대기 상태 설정
|
||||
if($obj->isvalid == 'Y') $args->isvalid = 'Y';
|
||||
elseif($obj->isvalid == 'N') $args->isvalid = 'N';
|
||||
|
||||
// 변수 설정
|
||||
$args->sort_index = $obj->sort_index;
|
||||
$args->page = $obj->page?$obj->page:1;
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
$args->page_count = 10; ///< 페이지 네비게이션에 나타날 페이지의 수
|
||||
|
||||
$args->sort_index = 'file_srl'; ///< 소팅 값
|
||||
$args->isvalid = Context::get('isvalid');
|
||||
|
||||
// 목록 구함
|
||||
$oFileModel = &getModel('file');
|
||||
|
|
@ -31,6 +32,7 @@
|
|||
// 목록의 loop를 돌면서 mid를 구하기 위한 module_srl값을 구함
|
||||
$file_count = count($output->data);
|
||||
if($file_count) {
|
||||
$module_srl_list = array();
|
||||
foreach($output->data as $key => $val) {
|
||||
$module_srl = $val->module_srl;
|
||||
if(!in_array($module_srl, $module_srl_list)) $module_srl_list[] = $module_srl;
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@
|
|||
$lang->file_name = '파일이름';
|
||||
$lang->file_size = '파일크기';
|
||||
$lang->download_count = '다운로드 받은 수';
|
||||
$lang->status = '상태';
|
||||
$lang->is_valid = '유효';
|
||||
$lang->is_stand_by = '대기';
|
||||
|
||||
$lang->cmd_delete_checked_file = '선택항목 삭제';
|
||||
$lang->cmd_move_to_document = '문서로 이동';
|
||||
|
|
|
|||
|
|
@ -6,11 +6,14 @@
|
|||
<column name="*" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="like" column="uploaded_filename" var="s_filename" />
|
||||
<condition operation="more" column="file_size" var="s_filesize" pipe="or" />
|
||||
<condition operation="more" column="downloaded_count" var="s_download_count" pipe="or" />
|
||||
<condition operation="like_prefix" column="regdate" var="s_regdate" pipe="or" />
|
||||
<condition operation="like_prefix" column="ipaddress" var="s_ipaddress" pipe="or" />
|
||||
<condition operation="equal" column="isvalid" var="isvalid" />
|
||||
<group pipe="and">
|
||||
<condition operation="like" column="uploaded_filename" var="s_filename" />
|
||||
<condition operation="more" column="file_size" var="s_filesize" pipe="or" />
|
||||
<condition operation="more" column="downloaded_count" var="s_download_count" pipe="or" />
|
||||
<condition operation="like_prefix" column="regdate" var="s_regdate" pipe="or" />
|
||||
<condition operation="like_prefix" column="ipaddress" var="s_ipaddress" pipe="or" />
|
||||
</group>
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" order="desc" />
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
<th>{$lang->module}</th>
|
||||
<th>{$lang->file_name}</th>
|
||||
<th>{$lang->file_size}</th>
|
||||
<th>{$lang->is_valid}</th>
|
||||
<th>{$lang->download_count}</th>
|
||||
<th>{$lang->date}</th>
|
||||
<th>{$lang->ipaddress}</th>
|
||||
|
|
@ -31,6 +32,13 @@
|
|||
<td><a href="#" onclick="window.open('./?mid={$val->mid}');return false">{$module_list[$val->module_srl]->browser_title}</a></td>
|
||||
<td>{$val->source_filename}</td>
|
||||
<td>{$val->file_size}</td>
|
||||
<td>
|
||||
<!--@if($val->isvalid=='Y')-->
|
||||
{$lang->is_valid}
|
||||
<!--@else-->
|
||||
{$lang->is_stand_by}
|
||||
<!--@end-->
|
||||
</td>
|
||||
<td>{$val->download_count}</td>
|
||||
<td>{zdate($val->regdate,"Y-m-d")}</td>
|
||||
<td>{$val->ipaddress}</td>
|
||||
|
|
@ -56,6 +64,11 @@
|
|||
<input type="hidden" name="act" value="{$act}" />
|
||||
|
||||
<div>
|
||||
<select name="isvalid">
|
||||
<option value="">{$lang->status}</option>
|
||||
<option value="Y" <!--@if($isvalid=="Y")-->selected="true"<!--@end-->>{$lang->is_valid}</option>
|
||||
<option value="N" <!--@if($isvalid=="N")-->selected="true"<!--@end-->>{$lang->is_stand_by}</option>
|
||||
</select>
|
||||
<select name="search_target">
|
||||
<option value="">{$lang->search_target}</option>
|
||||
<!--@foreach($lang->search_target_list as $key => $val)-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue