{@ $oModuleModel = &getModel('module'); $module_srl_temp = $oModuleModel->getModuleSrlByMid($mid); if(is_array($module_srl_temp)) $module_srl = $module_srl_temp[0]; else $module_srl = $module_srl_temp; $args = new stdClass(); $args->module_srl = $module_srl; $args->category_srl = $category; $args->list_count = $module_info->list_count; $args->sort_index = $module_info->order_target; if($sort_index) $args->sort_index = $sort_index; $args->order_type = $module_info->order_type; if($sort_index) $args->order_type = $order_type; if($module_info->except_notice=='Y') $prevnext_except_notice=1; } {@ $is_prevnext='P'; $args->page = $page-1; $prevnext_list = executeQueryArray('document.getDocumentList',$args); $prevnext_data = array_reverse($prevnext_list->data); } {@ $is_prevnext='N'; $args->page = $page+1; $prevnext_list = executeQueryArray('document.getDocumentList',$args); $prevnext_data = $prevnext_list->data; } {@ $prevnext_doc = $document2->document_srl; $prevnext_title = $document2->title; break; }
이전글 - {$document_list[$no+1]->getTitle()} 이전글 - {$prevnext_title} {$prevnext_title} - 다음글 {$document_list[$no-1]->getTitle()} - 다음글
{@ break;}