mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
지정 용량 이하의 첨부파일도 검색할 수 있도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6520 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
395c34a23e
commit
af624a6527
3 changed files with 46 additions and 37 deletions
|
|
@ -27,11 +27,17 @@
|
|||
if($search_keyword) $search_keyword = str_replace(' ','%',$search_keyword);
|
||||
$args->s_filename = $search_keyword;
|
||||
break;
|
||||
case 'filesize' :
|
||||
$args->s_filesize = (int)$search_keyword;
|
||||
case 'filesize_more' :
|
||||
$args->s_filesize_more = (int)$search_keyword;
|
||||
break;
|
||||
case 'filesize_mega' :
|
||||
$args->s_filesize = (int)$search_keyword * 1024 * 1024;
|
||||
case 'filesize_mega_more' :
|
||||
$args->s_filesize_more = (int)$search_keyword * 1024 * 1024;
|
||||
break;
|
||||
case 'filesize_less' :
|
||||
$args->s_filesize_less = (int)$search_keyword;
|
||||
break;
|
||||
case 'filesize_mega_less' :
|
||||
$args->s_filesize_less = (int)$search_keyword * 1024 * 1024;
|
||||
break;
|
||||
case 'download_count' :
|
||||
$args->s_download_count = (int)$search_keyword;
|
||||
|
|
|
|||
|
|
@ -40,8 +40,10 @@
|
|||
|
||||
$lang->file_search_target_list = array(
|
||||
'filename' => '파일이름',
|
||||
'filesize' => '파일크기 (byte, 이상)',
|
||||
'filesize_mega' => '파일크기 (Mb, 이상)',
|
||||
'filesize_more' => '파일크기 (byte, 이상)',
|
||||
'filesize_mega_more' => '파일크기 (Mb, 이상)',
|
||||
'filesize_less' => '파일크기 (byte, 이하)',
|
||||
'filesize_mega_less' => '파일크기 (Mb, 이하)',
|
||||
'download_count' => '다운로드 회수 (이상)',
|
||||
'user_id' => '아이디',
|
||||
'user_name' => '이름',
|
||||
|
|
|
|||
|
|
@ -13,7 +13,8 @@
|
|||
<condition operation="equal" column="files.member_srl" default="member.member_srl" pipe="and" />
|
||||
<group pipe="and">
|
||||
<condition operation="like" column="files.source_filename" var="s_filename" pipe="or" />
|
||||
<condition operation="more" column="files.file_size" var="s_filesize" pipe="or" />
|
||||
<condition operation="more" column="files.file_size" var="s_filesize_more" pipe="or" />
|
||||
<condition operation="less" column="files.file_size" var="s_filesize_less" pipe="or" />
|
||||
<condition operation="more" column="files.download_count" var="s_download_count" pipe="or" />
|
||||
<condition operation="like_prefix" column="files.regdate" var="s_regdate" pipe="or" />
|
||||
<condition operation="like_prefix" column="files.ipaddress" var="s_ipaddress" pipe="or" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue