Partjob 모듈은 람보님이 제작의뢰를 받아 유료로 제작한 비공개 모듈입니다.
{@ $mid = partjob; $oModuleModel = getModel('module'); $module_srl = $oModuleModel->getModuleSrlByMid($mid); $args = new stdClass(); $args->module_srl = $module_srl; $args->list_count = 16; $list = executeQuery('partjob.getPartjobList',$args)->data; } <ul> <li loop="$list => $key, $val"> {@ $args = new stdClass(); $args->module_srl = $module_info->module_srl; $args->page = 1; $args->list_count = 6; $args->page_count = 10; $args->partjob_srl = $val->partjob_srl; $args->task_approve = 'PUBLIC'; $publicOutput = executeQueryArray('partjob.getPartjobTaskListByPartjobSrl', $args); $args->task_approve = 'TEMP'; $tempOutput = executeQueryArray('partjob.getPartjobTaskListByPartjobSrl', $args); $args->task_approve = 'DENIAL'; $denitalOutput = executeQueryArray('partjob.getPartjobTaskListByPartjobSrl', $args); } <a href="{getURL('mid','partjob','act','dispPartjobReadContent','partjob_srl',$val->partjob_srl)}" title="{$val->title}">{$val->title} <span class="cmt" cond="$val->comment_count > 0">{$val->comment_count}</span></a> {$val->job_price}P 참여 : {$tempOutput->total_count+$denitalOutput->total_count}명 완료 : {$publicOutput->total_count}명 <div> <!--@if($val->partjob_condition == 'R')--> <span style="color:#F15F5F">{$val->job_posting_amount}명<br>모집중</span> <!--@elseif($val->partjob_condition == 'P')--> <span style="color:#007fff">진행중</span> <!--@else--> <span style="color:#0c0c0c">종료</span> <!--@end--> </div> <div> {@ $oMemberModel = &getModel('member'); $member_info=$oMemberModel->getMemberInfoByMemberSrl($val->member_srl); } {$member_info->nick_name} {$member_info->user_id} </div> <div>{zdate($val->regdate, "Y.m.d")}</div> </li> </ul>
별도 출력 위젯이 없으므로 이런 식으로 작업합니다.