이 게시판은 배포된 자료에 대한 버그문의 용도입니다.
다만, 개인적인 사정으로 문의글에 대해 답변을 달지 못하거나 굉장히 늦게 답변 들리 수도 있음을 양해부탁드립니다
XE 공홈에 배포하는 모든 무료자료는 sejin7940 에게 유지보수 의무가 없으며, 질문에 대한 답변 의무도 없음을 명확히합니다.
반드시 수정이나 기능보완하고픈 사항이 있는 경우에는, 제작문의 쪽에 글을 남겨주세요!
다른 애드온은 다 괜찮은데 유독 이 애드온을 적용하면.. 아래와 같은 에러가 납니다.
혹시나 해서 비슷한 환경의 서버에 설치된 최신버전의 XE에 올려 보니 (다른건 OS..?) 또 작동하고..
서버 접속정보도 알려드릴 수 있습니다. 한번 검토 부탁드려도 될까요?
애드온 on시
multi_use=="admin" || $addon_info->multi_use=="all") && $logged_info->is_admin=="Y" ) $readed_up = "Y"; // 愿由ъ옄�� �덉쇅 else if ( $addon_info->multi_use=="all") { if($multi_limit && $multi_readed_count >0 && $multi_readed_count < $multi_limit) { $readed_up = "Y"; } elseif(!$multi_limit) { $readed_up = "Y"; } } // �쒕뜡 議고쉶�� 利앷� 湲곕뒫 �ъ슜 if($logged_info->is_admin=="Y") { $random_max = $addon_info->random_max_admin; if(!$random_max) $random_max=1; if($random_max>20) $random_max=20; // 愿由ъ옄�� 理쒕�媛� 20�쇰줈 �쒗븳 $random_min = $addon_info->random_min_admin; if(!$random_min) $random_min=1; if($random_max<$random_min) $random_min = $random_min; } else { $random_max = $addon_info->random_max; if(!$random_max) $random_max=1; if($random_max>10) $random_max=10; // �쇰컲�뚯썝�� 寃쎌슦 理쒕�媛� 10�쇰줈 �쒗븳 $random_min = $addon_info->random_min; if(!$random_min) $random_min=1; if($random_max<$random_min) $random_min = $random_min; } // �쒕뜡 利앷� or 以묐났 議고쉶濡� �쒕뜡利앷��� if ( $random_max>1 && (($addon_info->random_use=="admin" && $logged_info->is_admin=="Y") || $addon_info->random_use=="all")) { if($readed_up=="Y") $update_readed_count = rand ($random_min, $random_max); elseif(!$multi_readed_count) $update_readed_count = rand ($random_min, $random_max)-1; // 泥� 議고쉶�쒖뿏 view �댄썑�� 議고쉶�� 1利앷��섍린�� } // 以묐났 議고쉶�� 利앷� - 1�� 利앷��� elseif ($readed_up=="Y") { // 泥� 議고쉶�쒖뿏 �� �좊뱶�⑥쓣 �� �꾩슂媛 �녾린�� 以묐났�� 寃쎌슦�먮쭔 �곸슜 $update_readed_count = 1; } //�좊뱶�� �쒖옉 議곌굔 �ㅼ젙 if($called_position == 'before_module_proc' && $this->act=='dispBoardContent' && $document_srl && $update_readed_count) { $args->document_srl = $document_srl; if($update_readed_count==20) executeQuery('addons.sejin7940_readed_count.updateReadedCount20', $args); elseif($update_readed_count==19) executeQuery('addons.sejin7940_readed_count.updateReadedCount19', $args); elseif($update_readed_count==18) executeQuery('addons.sejin7940_readed_count.updateReadedCount18', $args); elseif($update_readed_count==17) executeQuery('addons.sejin7940_readed_count.updateReadedCount17', $args); elseif($update_readed_count==16) executeQuery('addons.sejin7940_readed_count.updateReadedCount16', $args); elseif($update_readed_count==15) executeQuery('addons.sejin7940_readed_count.updateReadedCount15', $args); elseif($update_readed_count==14) executeQuery('addons.sejin7940_readed_count.updateReadedCount14', $args); elseif($update_readed_count==13) executeQuery('addons.sejin7940_readed_count.updateReadedCount13', $args); elseif($update_readed_count==12) executeQuery('addons.sejin7940_readed_count.updateReadedCount12', $args); elseif($update_readed_count==11) executeQuery('addons.sejin7940_readed_count.updateReadedCount11', $args); elseif($update_readed_count==10) executeQuery('addons.sejin7940_readed_count.updateReadedCount10', $args); elseif($update_readed_count==9) executeQuery('addons.sejin7940_readed_count.updateReadedCount9', $args); elseif($update_readed_count==8) executeQuery('addons.sejin7940_readed_count.updateReadedCount8', $args); elseif($update_readed_count==7) executeQuery('addons.sejin7940_readed_count.updateReadedCount7', $args); elseif($update_readed_count==6) executeQuery('addons.sejin7940_readed_count.updateReadedCount6', $args); elseif($update_readed_count==5) executeQuery('addons.sejin7940_readed_count.updateReadedCount5', $args); elseif($update_readed_count==4) executeQuery('addons.sejin7940_readed_count.updateReadedCount4', $args); elseif($update_readed_count==3) executeQuery('addons.sejin7940_readed_count.updateReadedCount3', $args); elseif($update_readed_count==2) executeQuery('addons.sejin7940_readed_count.updateReadedCount2', $args); elseif($update_readed_count==1) executeQuery('addons.sejin7940_readed_count.updateReadedCount1', $args); $_SESSION['sejin7940_readed_count'][$document_srl]=$multi_readed_count+1; // �숈씪湲 議고쉶�� } elseif($called_position == 'before_module_proc' && $this->act=='dispBoardContent' && !$update_readed_count && !$multi_readed_count) { $_SESSION['sejin7940_readed_count'][$document_srl]=$multi_readed_count+1; // �숈씪湲 議고쉶�� } ?>multi_use=="admin" || $addon_info->multi_use=="all") && $logged_info->is_admin=="Y" ) $readed_up = "Y"; // 愿由ъ옄�� �덉쇅 else if ( $addon_info->multi_use=="all") { if($multi_limit && $multi_readed_count >0 && $multi_readed_count < $multi_limit) { $readed_up = "Y"; } elseif(!$multi_limit) { $readed_up = "Y"; } } // �쒕뜡 議고쉶�� 利앷� 湲곕뒫 �ъ슜 if($logged_info->is_admin=="Y") { $random_max = $addon_info->random_max_admin; if(!$random_max) $random_max=1; if($random_max>20) $random_max=20; // 愿由ъ옄�� 理쒕�媛� 20�쇰줈 �쒗븳 $random_min = $addon_info->random_min_admin; if(!$random_min) $random_min=1; if($random_max<$random_min) $random_min = $random_min; } else { $random_max = $addon_info->random_max; if(!$random_max) $random_max=1; if($random_max>10) $random_max=10; // �쇰컲�뚯썝�� 寃쎌슦 理쒕�媛� 10�쇰줈 �쒗븳 $random_min = $addon_info->random_min; if(!$random_min) $random_min=1; if($random_max<$random_min) $random_min = $random_min; } // �쒕뜡 利앷� or 以묐났 議고쉶濡� �쒕뜡利앷��� if ( $random_max>1 && (($addon_info->random_use=="admin" && $logged_info->is_admin=="Y") || $addon_info->random_use=="all")) { if($readed_up=="Y") $update_readed_count = rand ($random_min, $random_max); elseif(!$multi_readed_count) $update_readed_count = rand ($random_min, $random_max)-1; // 泥� 議고쉶�쒖뿏 view �댄썑�� 議고쉶�� 1利앷��섍린�� } // 以묐났 議고쉶�� 利앷� - 1�� 利앷��� elseif ($readed_up=="Y") { // 泥� 議고쉶�쒖뿏 �� �좊뱶�⑥쓣 �� �꾩슂媛 �녾린�� 以묐났�� 寃쎌슦�먮쭔 �곸슜 $update_readed_count = 1; } //�좊뱶�� �쒖옉 議곌굔 �ㅼ젙 if($called_position == 'before_module_proc' && $this->act=='dispBoardContent' && $document_srl && $update_readed_count) { $args->document_srl = $document_srl; if($update_readed_count==20) executeQuery('addons.sejin7940_readed_count.updateReadedCount20', $args); elseif($update_readed_count==19) executeQuery('addons.sejin7940_readed_count.updateReadedCount19', $args); elseif($update_readed_count==18) executeQuery('addons.sejin7940_readed_count.updateReadedCount18', $args); elseif($update_readed_count==17) executeQuery('addons.sejin7940_readed_count.updateReadedCount17', $args); elseif($update_readed_count==16) executeQuery('addons.sejin7940_readed_count.updateReadedCount16', $args); elseif($update_readed_count==15) executeQuery('addons.sejin7940_readed_count.updateReadedCount15', $args); elseif($update_readed_count==14) executeQuery('addons.sejin7940_readed_count.updateReadedCount14', $args); elseif($update_readed_count==13) executeQuery('addons.sejin7940_readed_count.updateReadedCount13', $args); elseif($update_readed_count==12) executeQuery('addons.sejin7940_readed_count.updateReadedCount12', $args); elseif($update_readed_count==11) executeQuery('addons.sejin7940_readed_count.updateReadedCount11', $args); elseif($update_readed_count==10) executeQuery('addons.sejin7940_readed_count.updateReadedCount10', $args); elseif($update_readed_count==9) executeQuery('addons.sejin7940_readed_count.updateReadedCount9', $args); elseif($update_readed_count==8) executeQuery('addons.sejin7940_readed_count.updateReadedCount8', $args); elseif($update_readed_count==7) executeQuery('addons.sejin7940_readed_count.updateReadedCount7', $args); elseif($update_readed_count==6) executeQuery('addons.sejin7940_readed_count.updateReadedCount6', $args); elseif($update_readed_count==5) executeQuery('addons.sejin7940_readed_count.updateReadedCount5', $args); elseif($update_readed_count==4) executeQuery('addons.sejin7940_readed_count.updateReadedCount4', $args); elseif($update_readed_count==3) executeQuery('addons.sejin7940_readed_count.updateReadedCount3', $args); elseif($update_readed_count==2) executeQuery('addons.sejin7940_readed_count.updateReadedCount2', $args); elseif($update_readed_count==1) executeQuery('addons.sejin7940_readed_count.updateReadedCount1', $args); $_SESSION['sejin7940_readed_count'][$document_srl]=$multi_readed_count+1; // �숈씪湲 議고쉶�� } elseif($called_position == 'before_module_proc' && $this->act=='dispBoardContent' && !$update_readed_count && !$multi_readed_count) { $_SESSION['sejin7940_readed_count'][$document_srl]=$multi_readed_count+1; // �숈씪湲 議고쉶�� } ?> Warning: Cannot modify header information - headers already sent by (output started at /home/sosipa/addons/sejin7940_readed_count/sejin7940_readed_count.addon.php:103) in /home/sosipa/classes/module/ModuleHandler.class.php on line 791
일반 페이지에서는
multi_use=="admin" || $addon_info->multi_use=="all") && $logged_info->is_admin=="Y" ) $readed_up = "Y"; // 관리자는 예외 else if ( $addon_info->multi_use=="all") { if($multi_limit && $multi_readed_count >0 && $multi_readed_count < $multi_limit) { $readed_up = "Y"; } elseif(!$multi_limit) { $readed_up = "Y"; } } // 랜덤 조회수 증가 기능 사용 if($logged_info->is_admin=="Y") { $random_max = $addon_info->random_max_admin; if(!$random_max) $random_max=1; if($random_max>20) $random_max=20; // 관리자시 최대값 20으로 제한 $random_min = $addon_info->random_min_admin; if(!$random_min) $random_min=1; if($random_max<$random_min) $random_min = $random_min; } else { $random_max = $addon_info->random_max; if(!$random_max) $random_max=1; if($random_max>10) $random_max=10; // 일반회원의 경우 최대값 10으로 제한 $random_min = $addon_info->random_min; if(!$random_min) $random_min=1; if($random_max<$random_min) $random_min = $random_min; } // 랜덤 증가 or 중복 조회로 랜덤증가시 if ( $random_max>1 && (($addon_info->random_use=="admin" && $logged_info->is_admin=="Y") || $addon_info->random_use=="all")) { if($readed_up=="Y") $update_readed_count = rand ($random_min, $random_max); elseif(!$multi_readed_count) $update_readed_count = rand ($random_min, $random_max)-1; // 첫 조회시엔 view 이후에 조회수 1증가되기에 } // 중복 조회수 증가 - 1씩 증가시 elseif ($readed_up=="Y") { // 첫 조회시엔 이 애드온을 쓸 필요가 없기에 중복인 경우에만 적용 $update_readed_count = 1; } //애드온 시작 조건 설정 if($called_position == 'before_module_proc' && $this->act=='dispBoardContent' && $document_srl && $update_readed_count) { $args->document_srl = $document_srl; if($update_readed_count==20) executeQuery('addons.sejin7940_readed_count.updateReadedCount20', $args); elseif($update_readed_count==19) executeQuery('addons.sejin7940_readed_count.updateReadedCount19', $args); elseif($update_readed_count==18) executeQuery('addons.sejin7940_readed_count.updateReadedCount18', $args); elseif($update_readed_count==17) executeQuery('addons.sejin7940_readed_count.updateReadedCount17', $args); elseif($update_readed_count==16) executeQuery('addons.sejin7940_readed_count.updateReadedCount16', $args); elseif($update_readed_count==15) executeQuery('addons.sejin7940_readed_count.updateReadedCount15', $args); elseif($update_readed_count==14) executeQuery('addons.sejin7940_readed_count.updateReadedCount14', $args); elseif($update_readed_count==13) executeQuery('addons.sejin7940_readed_count.updateReadedCount13', $args); elseif($update_readed_count==12) executeQuery('addons.sejin7940_readed_count.updateReadedCount12', $args); elseif($update_readed_count==11) executeQuery('addons.sejin7940_readed_count.updateReadedCount11', $args); elseif($update_readed_count==10) executeQuery('addons.sejin7940_readed_count.updateReadedCount10', $args); elseif($update_readed_count==9) executeQuery('addons.sejin7940_readed_count.updateReadedCount9', $args); elseif($update_readed_count==8) executeQuery('addons.sejin7940_readed_count.updateReadedCount8', $args); elseif($update_readed_count==7) executeQuery('addons.sejin7940_readed_count.updateReadedCount7', $args); elseif($update_readed_count==6) executeQuery('addons.sejin7940_readed_count.updateReadedCount6', $args); elseif($update_readed_count==5) executeQuery('addons.sejin7940_readed_count.updateReadedCount5', $args); elseif($update_readed_count==4) executeQuery('addons.sejin7940_readed_count.updateReadedCount4', $args); elseif($update_readed_count==3) executeQuery('addons.sejin7940_readed_count.updateReadedCount3', $args); elseif($update_readed_count==2) executeQuery('addons.sejin7940_readed_count.updateReadedCount2', $args); elseif($update_readed_count==1) executeQuery('addons.sejin7940_readed_count.updateReadedCount1', $args); $_SESSION['sejin7940_readed_count'][$document_srl]=$multi_readed_count+1; // 동일글 조회수 } elseif($called_position == 'before_module_proc' && $this->act=='dispBoardContent' && !$update_readed_count && !$multi_readed_count) { $_SESSION['sejin7940_readed_count'][$document_srl]=$multi_readed_count+1; // 동일글 조회수 } ?>multi_use=="admin" || $addon_info->multi_use=="all") && $logged_info->is_admin=="Y" ) $readed_up = "Y"; // 관리자는 예외 else if ( $addon_info->multi_use=="all") { if($multi_limit && $multi_readed_count >0 && $multi_readed_count < $multi_limit) { $readed_up = "Y"; } elseif(!$multi_limit) { $readed_up = "Y"; } } // 랜덤 조회수 증가 기능 사용 if($logged_info->is_admin=="Y") { $random_max = $addon_info->random_max_admin; if(!$random_max) $random_max=1; if($random_max>20) $random_max=20; // 관리자시 최대값 20으로 제한 $random_min = $addon_info->random_min_admin; if(!$random_min) $random_min=1; if($random_max<$random_min) $random_min = $random_min; } else { $random_max = $addon_info->random_max; if(!$random_max) $random_max=1; if($random_max>10) $random_max=10; // 일반회원의 경우 최대값 10으로 제한 $random_min = $addon_info->random_min; if(!$random_min) $random_min=1; if($random_max<$random_min) $random_min = $random_min; } // 랜덤 증가 or 중복 조회로 랜덤증가시 if ( $random_max>1 && (($addon_info->random_use=="admin" && $logged_info->is_admin=="Y") || $addon_info->random_use=="all")) { if($readed_up=="Y") $update_readed_count = rand ($random_min, $random_max); elseif(!$multi_readed_count) $update_readed_count = rand ($random_min, $random_max)-1; // 첫 조회시엔 view 이후에 조회수 1증가되기에 } // 중복 조회수 증가 - 1씩 증가시 elseif ($readed_up=="Y") { // 첫 조회시엔 이 애드온을 쓸 필요가 없기에 중복인 경우에만 적용 $update_readed_count = 1; } //애드온 시작 조건 설정 if($called_position == 'before_module_proc' && $this->act=='dispBoardContent' && $document_srl && $update_readed_count) { $args->document_srl = $document_srl; if($update_readed_count==20) executeQuery('addons.sejin7940_readed_count.updateReadedCount20', $args); elseif($update_readed_count==19) executeQuery('addons.sejin7940_readed_count.updateReadedCount19', $args); elseif($update_readed_count==18) executeQuery('addons.sejin7940_readed_count.updateReadedCount18', $args); elseif($update_readed_count==17) executeQuery('addons.sejin7940_readed_count.updateReadedCount17', $args); elseif($update_readed_count==16) executeQuery('addons.sejin7940_readed_count.updateReadedCount16', $args); elseif($update_readed_count==15) executeQuery('addons.sejin7940_readed_count.updateReadedCount15', $args); elseif($update_readed_count==14) executeQuery('addons.sejin7940_readed_count.updateReadedCount14', $args); elseif($update_readed_count==13) executeQuery('addons.sejin7940_readed_count.updateReadedCount13', $args); elseif($update_readed_count==12) executeQuery('addons.sejin7940_readed_count.updateReadedCount12', $args); elseif($update_readed_count==11) executeQuery('addons.sejin7940_readed_count.updateReadedCount11', $args); elseif($update_readed_count==10) executeQuery('addons.sejin7940_readed_count.updateReadedCount10', $args); elseif($update_readed_count==9) executeQuery('addons.sejin7940_readed_count.updateReadedCount9', $args); elseif($update_readed_count==8) executeQuery('addons.sejin7940_readed_count.updateReadedCount8', $args); elseif($update_readed_count==7) executeQuery('addons.sejin7940_readed_count.updateReadedCount7', $args); elseif($update_readed_count==6) executeQuery('addons.sejin7940_readed_count.updateReadedCount6', $args); elseif($update_readed_count==5) executeQuery('addons.sejin7940_readed_count.updateReadedCount5', $args); elseif($update_readed_count==4) executeQuery('addons.sejin7940_readed_count.updateReadedCount4', $args); elseif($update_readed_count==3) executeQuery('addons.sejin7940_readed_count.updateReadedCount3', $args); elseif($update_readed_count==2) executeQuery('addons.sejin7940_readed_count.updateReadedCount2', $args); elseif($update_readed_count==1) executeQuery('addons.sejin7940_readed_count.updateReadedCount1', $args); $_SESSION['sejin7940_readed_count'][$document_srl]=$multi_readed_count+1; // 동일글 조회수 } elseif($called_position == 'before_module_proc' && $this->act=='dispBoardContent' && !$update_readed_count && !$multi_readed_count) { $_SESSION['sejin7940_readed_count'][$document_srl]=$multi_readed_count+1; // 동일글 조회수 } ?>multi_use=="admin" || $addon_info->multi_use=="all") && $logged_info->is_admin=="Y" ) $readed_up = "Y"; // 관리자는 예외 else if ( $addon_info->multi_use=="all") { if($multi_limit && $multi_readed_count >0 && $multi_readed_count < $multi_limit) { $readed_up = "Y"; } elseif(!$multi_limit) { $readed_up = "Y"; } } // 랜덤 조회수 증가 기능 사용 if($logged_info->is_admin=="Y") { $random_max = $addon_info->random_max_admin; if(!$random_max) $random_max=1; if($random_max>20) $random_max=20; // 관리자시 최대값 20으로 제한 $random_min = $addon_info->random_min_admin; if(!$random_min) $random_min=1; if($random_max<$random_min) $random_min = $random_min; } else { $random_max = $addon_info->random_max; if(!$random_max) $random_max=1; if($random_max>10) $random_max=10; // 일반회원의 경우 최대값 10으로 제한 $random_min = $addon_info->random_min; if(!$random_min) $random_min=1; if($random_max<$random_min) $random_min = $random_min; } // 랜덤 증가 or 중복 조회로 랜덤증가시 if ( $random_max>1 && (($addon_info->random_use=="admin" && $logged_info->is_admin=="Y") || $addon_info->random_use=="all")) { if($readed_up=="Y") $update_readed_count = rand ($random_min, $random_max); elseif(!$multi_readed_count) $update_readed_count = rand ($random_min, $random_max)-1; // 첫 조회시엔 view 이후에 조회수 1증가되기에 } // 중복 조회수 증가 - 1씩 증가시 elseif ($readed_up=="Y") { // 첫 조회시엔 이 애드온을 쓸 필요가 없기에 중복인 경우에만 적용 $update_readed_count = 1; } //애드온 시작 조건 설정 if($called_position == 'before_module_proc' && $this->act=='dispBoardContent' && $document_srl && $update_readed_count) { $args->document_srl = $document_srl; if($update_readed_count==20) executeQuery('addons.sejin7940_readed_count.updateReadedCount20', $args); elseif($update_readed_count==19) executeQuery('addons.sejin7940_readed_count.updateReadedCount19', $args); elseif($update_readed_count==18) executeQuery('addons.sejin7940_readed_count.updateReadedCount18', $args); elseif($update_readed_count==17) executeQuery('addons.sejin7940_readed_count.updateReadedCount17', $args); elseif($update_readed_count==16) executeQuery('addons.sejin7940_readed_count.updateReadedCount16', $args); elseif($update_readed_count==15) executeQuery('addons.sejin7940_readed_count.updateReadedCount15', $args); elseif($update_readed_count==14) executeQuery('addons.sejin7940_readed_count.updateReadedCount14', $args); elseif($update_readed_count==13) executeQuery('addons.sejin7940_readed_count.updateReadedCount13', $args); elseif($update_readed_count==12) executeQuery('addons.sejin7940_readed_count.updateReadedCount12', $args); elseif($update_readed_count==11) executeQuery('addons.sejin7940_readed_count.updateReadedCount11', $args); elseif($update_readed_count==10) executeQuery('addons.sejin7940_readed_count.updateReadedCount10', $args); elseif($update_readed_count==9) executeQuery('addons.sejin7940_readed_count.updateReadedCount9', $args); elseif($update_readed_count==8) executeQuery('addons.sejin7940_readed_count.updateReadedCount8', $args); elseif($update_readed_count==7) executeQuery('addons.sejin7940_readed_count.updateReadedCount7', $args); elseif($update_readed_count==6) executeQuery('addons.sejin7940_readed_count.updateReadedCount6', $args); elseif($update_readed_count==5) executeQuery('addons.sejin7940_readed_count.updateReadedCount5', $args); elseif($update_readed_count==4) executeQuery('addons.sejin7940_readed_count.updateReadedCount4', $args); elseif($update_readed_count==3) executeQuery('addons.sejin7940_readed_count.updateReadedCount3', $args); elseif($update_readed_count==2) executeQuery('addons.sejin7940_readed_count.updateReadedCount2', $args); elseif($update_readed_count==1) executeQuery('addons.sejin7940_readed_count.updateReadedCount1', $args); $_SESSION['sejin7940_readed_count'][$document_srl]=$multi_readed_count+1; // 동일글 조회수 } elseif($called_position == 'before_module_proc' && $this->act=='dispBoardContent' && !$update_readed_count && !$multi_readed_count) { $_SESSION['sejin7940_readed_count'][$document_srl]=$multi_readed_count+1; // 동일글 조회수 } ?>multi_use=="admin" || $addon_info->multi_use=="all") && $logged_info->is_admin=="Y" ) $readed_up = "Y"; // 관리자는 예외 else if ( $addon_info->multi_use=="all") { if($multi_limit && $multi_readed_count >0 && $multi_readed_count < $multi_limit) { $readed_up = "Y"; } elseif(!$multi_limit) { $readed_up = "Y"; } } // 랜덤 조회수 증가 기능 사용 if($logged_info->is_admin=="Y") { $random_max = $addon_info->random_max_admin; if(!$random_max) $random_max=1; if($random_max>20) $random_max=20; // 관리자시 최대값 20으로 제한 $random_min = $addon_info->random_min_admin; if(!$random_min) $random_min=1; if($random_max<$random_min) $random_min = $random_min; } else { $random_max = $addon_info->random_max; if(!$random_max) $random_max=1; if($random_max>10) $random_max=10; // 일반회원의 경우 최대값 10으로 제한 $random_min = $addon_info->random_min; if(!$random_min) $random_min=1; if($random_max<$random_min) $random_min = $random_min; } // 랜덤 증가 or 중복 조회로 랜덤증가시 if ( $random_max>1 && (($addon_info->random_use=="admin" && $logged_info->is_admin=="Y") || $addon_info->random_use=="all")) { if($readed_up=="Y") $update_readed_count = rand ($random_min, $random_max); elseif(!$multi_readed_count) $update_readed_count = rand ($random_min, $random_max)-1; // 첫 조회시엔 view 이후에 조회수 1증가되기에 } // 중복 조회수 증가 - 1씩 증가시 elseif ($readed_up=="Y") { // 첫 조회시엔 이 애드온을 쓸 필요가 없기에 중복인 경우에만 적용 $update_readed_count = 1; } //애드온 시작 조건 설정 if($called_position == 'before_module_proc' && $this->act=='dispBoardContent' && $document_srl && $update_readed_count) { $args->document_srl = $document_srl; if($update_readed_count==20) executeQuery('addons.sejin7940_readed_count.updateReadedCount20', $args); elseif($update_readed_count==19) executeQuery('addons.sejin7940_readed_count.updateReadedCount19', $args); elseif($update_readed_count==18) executeQuery('addons.sejin7940_readed_count.updateReadedCount18', $args); elseif($update_readed_count==17) executeQuery('addons.sejin7940_readed_count.updateReadedCount17', $args); elseif($update_readed_count==16) executeQuery('addons.sejin7940_readed_count.updateReadedCount16', $args); elseif($update_readed_count==15) executeQuery('addons.sejin7940_readed_count.updateReadedCount15', $args); elseif($update_readed_count==14) executeQuery('addons.sejin7940_readed_count.updateReadedCount14', $args); elseif($update_readed_count==13) executeQuery('addons.sejin7940_readed_count.updateReadedCount13', $args); elseif($update_readed_count==12) executeQuery('addons.sejin7940_readed_count.updateReadedCount12', $args); elseif($update_readed_count==11) executeQuery('addons.sejin7940_readed_count.updateReadedCount11', $args); elseif($update_readed_count==10) executeQuery('addons.sejin7940_readed_count.updateReadedCount10', $args); elseif($update_readed_count==9) executeQuery('addons.sejin7940_readed_count.updateReadedCount9', $args); elseif($update_readed_count==8) executeQuery('addons.sejin7940_readed_count.updateReadedCount8', $args); elseif($update_readed_count==7) executeQuery('addons.sejin7940_readed_count.updateReadedCount7', $args); elseif($update_readed_count==6) executeQuery('addons.sejin7940_readed_count.updateReadedCount6', $args); elseif($update_readed_count==5) executeQuery('addons.sejin7940_readed_count.updateReadedCount5', $args); elseif($update_readed_count==4) executeQuery('addons.sejin7940_readed_count.updateReadedCount4', $args); elseif($update_readed_count==3) executeQuery('addons.sejin7940_readed_count.updateReadedCount3', $args); elseif($update_readed_count==2) executeQuery('addons.sejin7940_readed_count.updateReadedCount2', $args); elseif($update_readed_count==1) executeQuery('addons.sejin7940_readed_count.updateReadedCount1', $args); $_SESSION['sejin7940_readed_count'][$document_srl]=$multi_readed_count+1; // 동일글 조회수 } elseif($called_position == 'before_module_proc' && $this->act=='dispBoardContent' && !$update_readed_count && !$multi_readed_count) { $_SESSION['sejin7940_readed_count'][$document_srl]=$multi_readed_count+1; // 동일글 조회수 } ?> Warning: Cannot modify header information - headers already sent by (output started at /home/sosipa/addons/sejin7940_readed_count/sejin7940_readed_count.addon.php:103) in /home/sosipa/classes/display/DisplayHandler.class.php on line 87 Warning: Cannot modify header information - headers already sent by (output started at /home/sosipa/addons/sejin7940_readed_count/sejin7940_readed_count.addon.php:103) in /home/sosipa/classes/display/DisplayHandler.class.php on line 330 Warning: Cannot modify header information - headers already sent by (output started at /home/sosipa/addons/sejin7940_readed_count/sejin7940_readed_count.addon.php:103) in /home/sosipa/classes/display/DisplayHandler.class.php on line 331 Warning: Cannot modify header information - headers already sent by (output started at /home/sosipa/addons/sejin7940_readed_count/sejin7940_readed_count.addon.php:103) in /home/sosipa/classes/display/DisplayHandler.class.php on line 332 Warning: Cannot modify header information - headers already sent by (output started at /home/sosipa/addons/sejin7940_readed_count/sejin7940_readed_count.addon.php:103) in /home/sosipa/classes/display/DisplayHandler.class.php on line 333 Warning: Cannot modify header information - headers already sent by (output started at /home/sosipa/addons/sejin7940_readed_count/sejin7940_readed_count.addon.php:103) in /home/sosipa/classes/display/DisplayHandler.class.php on line 334 Warning: Cannot modify header information - headers already sent by (output started at /home/sosipa/addons/sejin7940_readed_count/sejin7940_readed_count.addon.php:103) in /home/sosipa/classes/display/DisplayHandler.class.php on line 335 Warning: Cannot modify header information - headers already sent by (output started at /home/sosipa/addons/sejin7940_readed_count/sejin7940_readed_count.addon.php:103) in /home/sosipa/classes/display/DisplayHandler.class.php on line 118 Warning: Cannot modify header information - headers already sent by (output started at /home/sosipa/addons/sejin7940_readed_count/sejin7940_readed_count.addon.php:103) in /home/sosipa/classes/display/DisplayHandler.class.php on line 118
부탁드리겠습니다.