테스트 사이트 - 개발 중인 베타 버전입니다

각그누보드로 통합게시판을... 채택완료

김성민황 9년 전 조회 2,924

아는 분이 각 폴더마다 그누보드 설치해서 게시판글 끌어오게 만드는 통합게시판을 만들어줬는데요..

http://boardview.iposkorea.com/" style="color: rgb(0, 0, 0);">http://boardview.iposkorea.com/ 

 

이 주소인데 에러가 나요... 그 분이 퇴사하셔서 ㅠㅠ 제가 봐야하는데...

도와주세요...ㅠㅠㅠㅠ

 

 

index.php소스입니당...

</strong> </p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><?</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>$search_category = $_GET['search_category'];</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>$search_text = $_GET['search_text'];</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>?></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><? include './function.php';?></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><? include './dbcon.php';?></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><!DOCTYPE html></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><html></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><head></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><title></title></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><style ></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>body{margin:0px auto;}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>
</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>.div_head{width:100%;height:68px;margin-bottom:18px;box-shadow:1px 1px 1px 1px #eaeaea;margin-top:4px;}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>.div_head a{color:#3b3b3b;text-decoration:none;}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>.img_logo{width:35px;}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>
</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>.h2_title{font-family:'나눔고딕';font-weight:normal;margin-top:18px;font-weight:bold;}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>.new{color:#ff8787;font-weight:bold;font-size:12px;}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>
</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>.table_integrated {border-collapse: collapse;width:98%;}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>.table_integrated tr:hover{background-color:#f7fdfe;}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>.table_integrated td {border:1px solid #bdbdbd;color:#585858;font-size:15px;font-family:'나눔고딕';border-left:0px;border-right:0px;}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>.table_integrated a{text-decoration:none;color:#585858;}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>.table_integrated a:hover{text-decoration:underline;}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>.tr_first {text-align:center;background-color: #fbfbfb;font-weight:bold;}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>.tr_first:hover{background-color:#fbfbfb !important;}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>.td_idx{padding-left:12px;width:40px;}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>.a_go_detail{text-decoration:none;color:#585858;}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>
</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>.a_pager {text-decoration:none;font-size:24px;color:#8c8c8c;display:inline-block;width:30px;}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>
</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>.table_search select,input{font-family:'나눔고딕'}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>.table_search select{height:25px;}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>.table_search input{height:19px;}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>.table_search input[type=submit],input[type=button] {height:25px;cursor:pointer;}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b></style></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b></head></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><body></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><?</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>$startRow = 0;</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>if($_GET['startRow'])</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>$startRow = $_GET['startRow'];</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>$listInOne = 15;</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>$endRow = $listInOne;</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>
</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>$numRows = get_num_rows();</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>$qry_for_select_board = get_qry();</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>$res_for_select_board = mysql_query($qry_for_select_board." order by wr_datetime desc limit $startRow, $endRow");</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>
</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>echo "<center>";</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>echo "<div class='div_head'></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><table style='margin-top:-10px;' cellpadding='5'></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span><tr></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">		</span><td><img class='img_logo' src='./img/logo_mini.gif'></td></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">		</span><td ><h2 class='h2_title'><a href='<a href="<a href="http://boardview.iposkorea.com" target="_blank" rel="noopener noreferrer">http://boardview.iposkorea.com</a>"><a href="http://boardview.iposkorea.com" target="_blank" rel="noopener noreferrer">http://boardview.iposkorea.com</a></a>'>아이포스 게시판 통합 관리 (그누보드)</a></h2></td></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span></tr></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b></table></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b></div>";</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>
</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>echo "<table cellpadding='12' border=0 class='table_integrated'>";</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>echo "<tr class='tr_first'><td>번호</td><td>제목</td><td>작성자</td><td>업체</td><td>날짜</td><td>조회수</td></tr>";</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>
</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>$idx = $startRow;</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>while($arr_for_select_board = mysql_fetch_array($res_for_select_board))</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>{</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>//테이블</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>$strPos = strpos($arr_for_select_board[table_name],'write_')+6;</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>$table = substr($arr_for_select_board[table_name],$strPos);</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>
</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>//client_id는 테이블에 사용하는 g5_<client_id>write_board</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>$client_id= str_replace('g5_','',$arr_for_select_board[table_name]);</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>$client_id = str_replace('write_board','',$client_id);</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>$client_id = str_replace('write_board2','',$client_id);</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>$client_id = str_replace('write_qna','',$client_id);</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>
</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>//Get URL</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>$qry_for_url = "SELECT * FROM client_list where id='$client_id'";</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>$res_for_url = mysql_query($qry_for_url);</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>$arr_for_url = mysql_fetch_array($res_for_url);</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>
</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>//번호카운팅</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>$idx++;</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>
</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>//새글(new)</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>$new = "";</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>$today = date('Y-m-d h:i:s');</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>$wr_date = $arr_for_select_board[wr_datetime];</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>$gap = _date_diff(strtotime($today),strtotime($wr_date));</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>if($gap['days'] < 2)</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">		</span>$new = "<font class='new'>N</font>";</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>
</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>$wr_subect = $arr_for_select_board[wr_subject];</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>$stx ="";</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>if($search_category == 'subject'){</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">		</span>$wr_subect = str_replace( $search_text, "<font color='#4483ff'><b>$search_text</b></font>", $wr_subect);</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">		</span>//$search_text = urlencode($search_text);</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">		</span>//$stx = "&sfl=wr_subject&stx=$search_text&sop=and";</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>else if($search_category == 'content'){</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">		</span>$stx = "&sfl=wr_content&stx=$search_text&sop=and";</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>echo "<tr>";</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>echo "<td align='left' class='td_idx'>$idx</td></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span><td></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">		</span><a class='a_go_detail' target='_blank'</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">			</span>href='{$arr_for_url[url]}/bbs/board.php?bo_table=board&wr_id={$arr_for_select_board[wr_id]}'></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">			</span>$wr_subect</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">		</span></a></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">		</span>$new</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span></td></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span><td align='center'>{$arr_for_select_board[wr_name]}</td></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span><td align='center'><a target='_blank' href='{$arr_for_url[url]}'>$client_id</a></td></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span><td align='center'>{$arr_for_select_board[wr_datetime]}</td></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span><td align='center'>{$arr_for_select_board[wr_hit]}</td>";</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>echo "</tr>";</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>
</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>$qry_for_get_reply = "SELECT * FROM $arr_for_select_board[table_name] WHERE wr_num='$arr_for_select_board[wr_num]' AND wr_reply in ('A') order by wr_datetime";</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>$res_for_get_reply = mysql_query($qry_for_get_reply);</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>$rows_for_get_reply = mysql_num_rows($res_for_get_reply);</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>//echo $qry_for_get_reply."; ";</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>$idx_reply = 0;</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>if($rows_for_get_reply > 0)</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>{</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">		</span>while($arr_for_get_reply = mysql_fetch_array($res_for_get_reply))</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">		</span>{</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">			</span>$wr_date = $arr_for_get_reply[wr_datetime];</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">			</span>$gap = _date_diff(strtotime($today),strtotime($wr_date));</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">			</span>if($gap['days'] < 2)</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">				</span>$new = "<font class='new'>N</font>";</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>
</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">			</span>$idx_reply++;</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">			</span>echo "<tr>";</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">			</span>echo "<td align='left' class='td_idx'>{$idx}_{$idx_reply}</td></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">			</span><td></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">				</span>  </b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">				</span><img src='./img/icon_reply.gif'></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">				</span><a class='a_go_detail' target='_blank'</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">					</span>href='$arr_for_url[url]/bbs/board.php?bo_table=board&wr_id=$arr_for_get_reply[wr_id]'>$arr_for_get_reply[wr_subject]</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">				</span></a>$new</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">			</span></td></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">			</span><td align='center'>$arr_for_get_reply[wr_name]</td></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">			</span><td align='center'><a target='_blank' href='{$arr_for_url[url]}'>$client_id</a></td></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">			</span><td align='center'>$arr_for_get_reply[wr_datetime]</td></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">			</span><td align='center'>$arr_for_get_reply[wr_hit]</td>";</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">			</span>echo "</tr>";</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">		</span>}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>echo "</table>";</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>echo "</center>";</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>?></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>
</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><?php</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>//페이징</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>echo "
";</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>echo "<center>";</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>//전체자료개수(1page당 10개 rows, 1chpater는 4)</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>//$numRows = $numRows;//전체 리스트 갯수 가져오기(select all)</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>$chapterSize = 20;//▶ 이거로 넘어갈때 몇개씩 이냐(  < 1,2,3,4,5,6,7,8,9,10 > )</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>$beginPage = floor($startRow/($chapterSize*$listInOne));//(0/50),(10/50),(20/50),(30/50),(40/50) -> 0</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>$beginPage *= $chapterSize;</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>$endPage = ceil($numRows/$listInOne);</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>if(($endPage-$beginPage) > $chapterSize)</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>$endPage = $beginPage+$chapterSize;</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>$nowPage = $startRow/$listInOne;</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>//이전 페이지가 있으면 (맨처음 <를 가지는 $beginPage의 값은 10(10~19까지의 tutor list)이기 때문에 맨처음 <를 가지는 값 이상(10포함)이면 <(전페이지)를 갖는다</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>if($beginPage >= $chapterSize)</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>{?><a class='a_pager' href="<a href="<a href="http://boardview.iposkorea.com/index.php?startRow=<?=($beginPage-$chapterSize)*$listInOne?>" target="_blank" rel="noopener noreferrer">http://boardview.iposkorea.com/index.php?startRow=<?=($beginPage-$chapterSize)*$listInOne?></a>"><a href="http://boardview.iposkorea.com/index.php?startRow=<?=($beginPage-$chapterSize)*$listInOne?>" target="_blank" rel="noopener noreferrer">http://boardview.iposkorea.com/index.php?startRow=<?=($beginPage-$chapterSize)*$listInOne?></a></a>"><</a><?php }</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>//출력 (숫자)</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>for($i=$beginPage;$i<$endPage;$i++)</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>{</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>if($i == $nowPage){</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">		</span>?><a class='a_pager' href="<a href="<a href="http://boardview.iposkorea.com/index.php?startRow=<?=($i*$listInOne)?>&search_category=<?php" target="_blank" rel="noopener noreferrer">http://boardview.iposkorea.com/index.php?startRow=<?=($i*$listInOne)?>&search_category=<?php</a>"><a href="http://boardview.iposkorea.com/index.php?startRow=<?=($i*$listInOne)?>&search_category=<?php" target="_blank" rel="noopener noreferrer">http://boardview.iposkorea.com/index.php?startRow=<?=($i*$listInOne)?>&search_category=<?php</a></a> echo $search_category;?>&search_text=<?php echo $search_text;?>" style="color:#FF6C6C;font-weight:bold;"><?=$i+1?></a> <?php }</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>else {</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">		</span>?><a class='a_pager' href="<a href="<a href="http://boardview.iposkorea.com/index.php?startRow=<?=($i*$listInOne)?>&search_category=<?php" target="_blank" rel="noopener noreferrer">http://boardview.iposkorea.com/index.php?startRow=<?=($i*$listInOne)?>&search_category=<?php</a>"><a href="http://boardview.iposkorea.com/index.php?startRow=<?=($i*$listInOne)?>&search_category=<?php" target="_blank" rel="noopener noreferrer">http://boardview.iposkorea.com/index.php?startRow=<?=($i*$listInOne)?>&search_category=<?php</a></a> echo $search_category;?>&search_text=<?php echo $search_text;?>"><?=$i+1?></a> <?php }</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>//다음 행이 있는지 확인하고 있으면 다음 챕터로 이동할 수 있게</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>$nextStartRow = $i*$listInOne;</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>if($nextStartRow < $numRows)</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>{?><a class='a_pager' href="<a href="<a href="http://boardview.iposkorea.com/index.php?startRow=<?=($nextStartRow)?>" target="_blank" rel="noopener noreferrer">http://boardview.iposkorea.com/index.php?startRow=<?=($nextStartRow)?></a>"><a href="http://boardview.iposkorea.com/index.php?startRow=<?=($nextStartRow)?>" target="_blank" rel="noopener noreferrer">http://boardview.iposkorea.com/index.php?startRow=<?=($nextStartRow)?></a></a>">></a><?php }</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>echo "</center>";</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>echo "
";</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>?></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>
</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><center></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><script type="text/javascript"></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>function ckFrm(frm)</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>{</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>var search_text = frm.search_text.value;</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>if(search_text.length < 1){</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">		</span>alert("검색어를 입력하세요!");</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">		</span>frm.search_text.focus();</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">		</span>return false;</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>return true;</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>function go_new()</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>{</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span>location.href='<a href="<a href="http://boardview.iposkorea.com/index.php?startRow=0&latest=y" target="_blank" rel="noopener noreferrer">http://boardview.iposkorea.com/index.php?startRow=0&latest=y</a>"><a href="http://boardview.iposkorea.com/index.php?startRow=0&latest=y" target="_blank" rel="noopener noreferrer">http://boardview.iposkorea.com/index.php?startRow=0&latest=y</a></a>';</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b>}</b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b></script></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><form class="" action="./index.php" method="get" onsubmit="return ckFrm(this)"></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><table class='table_search'></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><tr></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span><td></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">		</span><select class="select_search" name="search_category"></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">		</span><option value='subject'>제목</option></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">		</span><option value='content'>내용</option></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">		</span></select></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span></td></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span><td></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">		</span><input type="text" size='30' name="search_text" placeholder="검색어를 입력하세요."></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span></td></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span><td></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">		</span><input type='submit' value='검색'></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b><span class="Apple-tab-span" style="white-space:pre">	</span></td></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b></tr></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b></table></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b></form></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b></center></b></span></font></p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b></body></b></span></font></p><p style="word-break: break-all;"> </p><p style="word-break: break-all;"><font color="#7f7f7f" face="돋움, Dotum, sans-serif"><span style="font-size: 12px; line-height: normal;"><b></html></b></span></font></p><div><strong style="font-family: 돋움, Dotum, sans-serif; color: rgb(127, 127, 127); font-size: 12px; line-height: normal;">
 

index.php소스입니당...

[code] 

// 날짜 차이 구하기

function dateDiff($sStartDate, $sEndDate) {

$sStartTime = strtotime($sStartDate);

$sEndTime = strtotime($sEndDate);

if($sStartTime > $sEndTime)

return false;

$sDiffTime = $sEndTime - $sStartTime;

$aReturnValue['d'] = floor($sDiffTime/60/60/24);

$aReturnValue['H'] = sprintf("%02d", ($sDiffTime/60/60)%24);

$aReturnValue['i'] = sprintf("%02d", ($sDiffTime/60)%60);

$aReturnValue['s'] = sprintf("%02d", ($sDiffTime%60));

return $aReturnValue;

}

function _date_range_limit($start, $end, $adj, $a, $b, $result)

{

    if ($result[$a] < $start) {

        $result[$b] -= intval(($start - $result[$a] - 1) / $adj) + 1;

        $result[$a] += $adj * intval(($start - $result[$a] - 1) / $adj + 1);

    }

    if ($result[$a] >= $end) {

        $result[$b] += intval($result[$a] / $adj);

        $result[$a] -= $adj * intval($result[$a] / $adj);

    }

    return $result;

}

function _date_range_limit_days($base, $result)

{

    $days_in_month_leap = array(31, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);

    $days_in_month = array(31, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);

    _date_range_limit(1, 13, 12, "m", "y", &$base);

    $year = $base["y"];

    $month = $base["m"];

    if (!$result["invert"]) {

        while ($result["d"] < 0

댓글을 작성하려면 로그인이 필요합니다.

답변 1개

채택된 답변
+20 포인트

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/hosting_users/hsquarec/www/board_manage/function.php on line 129 

접속하면 위와 같이 오류가 나오네요.

이부분 부터 확인하세요.

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

김성민황
9년 전
소스 어디가 잘못된건지 모르겠어요..ㅠㅠ

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인

© 2025 SIRSOFT. All rights reserved.