왼쪽하단에 오류가 떠서 따음표를 더블클릭하면 아래같은 메세지가 나옵니다..
아래쪽에 작업을 마첬으나 오류메세지가 있다고 뜨는데 없에고 "완료" 라는 정상메세지가 뜨고 싶은데요..
문제가 되는 메세지를 봤으나 저는 프로그램쪽에 잘몰라서 글을 올리게 되네요..
이문제에 해결을 도와주실 고수님들 도와주세요...
아래 문제가 되는 페이지 코드입니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<form name=fsearch method=get onsubmit="return fsearch_submit(this);" style="margin:0px;">
<table align=center width=100% cellpadding=2 cellspacing=0>
<input type="hidden" name="srows" value="<?=$srows?>">
<tr>
<td align=center><img src="/images/search.jpg" /></td>
</tr>
<tr>
<td align=center bgcolor="#CCCCCC">
<!--<?=$group_select?>-->
<script type="text/javascript"> document.getElementById("gr_id").value = "<?=$gr_id?>";</script>
<select name=sfl class=select>
<option value="wr_subject||wr_content" selected="selected">Title+Content</option>
<option value="wr_subject">Title</option>
<option value="wr_content">Content</option>
<option value="wr_name">Name</option>
</select>
<input type=text name=stx class=ed maxlength=20 required itemname="검색어" value='<?=$text_stx?>'>
<input type=submit value="Search">
<script type="text/javascript">
document.fsearch.sfl.value = "<?=$sfl?>";
function fsearch_submit(f)
{
if (f.stx.value.length < 2) {
alert("검색어는 두글자 이상 입력하십시오.");
f.stx.select();
f.stx.focus();
return false;
}
// 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
var cnt = 0;
for (var i=0; i<f.stx.value.length; i++) {
if (f.stx.value.charAt(i) == ' ')
cnt++;
}
if (cnt > 1) {
alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
f.stx.select();
f.stx.focus();
return false;
}
f.action = "";
return true;
}
</script> </td>
</tr>
<tr>
<!--<td align=center>
연산자
<input type="radio" name="sop" value="or" <?=($sop == "or") ? "checked" : "";?>>OR
<input type="radio" name="sop" value="and" <?=($sop == "and") ? "checked" : "";?>>AND </td>-->
</tr>
</table>
</form>
<p>
<?
if($stx)
{
echo "<p>Search effect (<b>{$board_count}</b>Board, <b>".number_format($total_count)."</b>Item, <b>".number_format($page)."/".number_format($total_page)."</b> Page)</p>";
}
?>
<style>
.line {clear:both;margin:10px auto;border-top:1px solid #ddd;margin-bottom:20px;}
#search_alist h3 {font:bold 16px gulim;margin:0;padding:0}
#search_alist ul {list-style-type:none;margin:0;padding:0}
#search_alist li {clear:both;list-style-type:none;margin:0;padding:2px;}
#search_alist .s_subject a {font:normal 15px dotum;color:#1424c3;letter-spacing:-1px;text-decoration:underline;}
#search_alist .s_content {font:normal 12px dotum;color:#333;line-height:170%;}
#search_alist .s_content img.s_thm {border:1px solid #ccc;margin-right:8px;margin-bottom:8px;padding:0;}
#search_alist .s_name {font:normal 12px dotum;color:#009933}
#search_alist .s_date {font:normal 12px dotum;color:#aaa}
#search_alist .s_word1 {font:bold 15px dotum;color:#1424c3}
#search_alist .s_word2 {font:bold 12px dotum;color:#000}
</style>
<div id="search_alist">
<?
$k=0;
for($idx=$table_index, $k=0; $idx<count($search_table) && $k<$rows; $idx++) {
?>
<div class="line"></div>
<h3><a href='./board.php?bo_table=<?=$search_table[$idx]?>&<?=$search_query?>'><?=$bo_subject[$idx]?>(<?=count($list[$idx])?>)</a></h3>
<ul>
<?
$comment_href = "";
$data_path = $g4[path]."/data/file/".$search_table[$idx];
$thumb_data_path = $g4[path]."/data/file/$search_table[$idx]/thumb";
for($i=0; $i<count($list[$idx]) && $k<$rows; $i++, $k++){
$comment_href=$comment=$img=$file_name="";
$list[$idx][$i][subject]=str_replace("<span style='background-color:YELLOW; color:RED;'>","<span class='s_word1'>",$list[$idx][$i][subject]);
$list[$idx][$i][content]=str_replace("<span style='background-color:YELLOW; color:RED;'>","<span class='s_word2'>",$list[$idx][$i][content]);
// 가변 파일
$file['file'] = get_file($search_table[$idx], $list[$idx][$i][wr_id]);
$file_name=$file[file][0][file];
$file_reading=$data_path."/".$file_name;
$simg=$thumb_data_path."/s".$file_name;
if($file_name && file_exists($file_reading)){
if(file_exists($simg)) $img=$simg;
else $img=$file_reading;
}
if($list[$idx][$i][wr_is_comment]) {
$comment_href = "#c_".$list[$idx][$i][wr_id];
$comment="[코멘트] ";
}
?>
<li>
<p class="s_subject" align="left"><a href="<?=$list[$idx][$i][href].$comment_href?>"></a> <!-- <a href="<?=$list[$idx][$i][href].$comment_href?>" target="_blank9eaecd">[new window]</a>--></p>
<p class="s_content" align="left">
<?if($img){?>
<a href="<?=$list[$idx][$i][href]?>"><img src="<?=$img?>" width="190" align="left" class="s_thm"></a>
<?}?>
<?=$list[$idx][$i][file]?>
<a href="<?=$list[$idx][$i][href].$comment_href?>"><?=$comment.$list[$idx][$i][subject]?>
</a><br />
<span class="s_name">
<?=$list[$idx][$i][name]?>
</span> - <span class="s_date">
<?=$list[$idx][$i][wr_datetime]?>
</span><br />
<br />
<?=$list[$idx][$i][content]?>
</p>
</li>
<li><p align="left">
<?}?>
</p>
</li>
</ul>
<?}?>
</div>
<p style="text-align:center;"><?=$write_pages?></p>
아래쪽에 작업을 마첬으나 오류메세지가 있다고 뜨는데 없에고 "완료" 라는 정상메세지가 뜨고 싶은데요..
문제가 되는 메세지를 봤으나 저는 프로그램쪽에 잘몰라서 글을 올리게 되네요..
이문제에 해결을 도와주실 고수님들 도와주세요...
아래 문제가 되는 페이지 코드입니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<form name=fsearch method=get onsubmit="return fsearch_submit(this);" style="margin:0px;">
<table align=center width=100% cellpadding=2 cellspacing=0>
<input type="hidden" name="srows" value="<?=$srows?>">
<tr>
<td align=center><img src="/images/search.jpg" /></td>
</tr>
<tr>
<td align=center bgcolor="#CCCCCC">
<!--<?=$group_select?>-->
<script type="text/javascript"> document.getElementById("gr_id").value = "<?=$gr_id?>";</script>
<select name=sfl class=select>
<option value="wr_subject||wr_content" selected="selected">Title+Content</option>
<option value="wr_subject">Title</option>
<option value="wr_content">Content</option>
<option value="wr_name">Name</option>
</select>
<input type=text name=stx class=ed maxlength=20 required itemname="검색어" value='<?=$text_stx?>'>
<input type=submit value="Search">
<script type="text/javascript">
document.fsearch.sfl.value = "<?=$sfl?>";
function fsearch_submit(f)
{
if (f.stx.value.length < 2) {
alert("검색어는 두글자 이상 입력하십시오.");
f.stx.select();
f.stx.focus();
return false;
}
// 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
var cnt = 0;
for (var i=0; i<f.stx.value.length; i++) {
if (f.stx.value.charAt(i) == ' ')
cnt++;
}
if (cnt > 1) {
alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
f.stx.select();
f.stx.focus();
return false;
}
f.action = "";
return true;
}
</script> </td>
</tr>
<tr>
<!--<td align=center>
연산자
<input type="radio" name="sop" value="or" <?=($sop == "or") ? "checked" : "";?>>OR
<input type="radio" name="sop" value="and" <?=($sop == "and") ? "checked" : "";?>>AND </td>-->
</tr>
</table>
</form>
<p>
<?
if($stx)
{
echo "<p>Search effect (<b>{$board_count}</b>Board, <b>".number_format($total_count)."</b>Item, <b>".number_format($page)."/".number_format($total_page)."</b> Page)</p>";
}
?>
<style>
.line {clear:both;margin:10px auto;border-top:1px solid #ddd;margin-bottom:20px;}
#search_alist h3 {font:bold 16px gulim;margin:0;padding:0}
#search_alist ul {list-style-type:none;margin:0;padding:0}
#search_alist li {clear:both;list-style-type:none;margin:0;padding:2px;}
#search_alist .s_subject a {font:normal 15px dotum;color:#1424c3;letter-spacing:-1px;text-decoration:underline;}
#search_alist .s_content {font:normal 12px dotum;color:#333;line-height:170%;}
#search_alist .s_content img.s_thm {border:1px solid #ccc;margin-right:8px;margin-bottom:8px;padding:0;}
#search_alist .s_name {font:normal 12px dotum;color:#009933}
#search_alist .s_date {font:normal 12px dotum;color:#aaa}
#search_alist .s_word1 {font:bold 15px dotum;color:#1424c3}
#search_alist .s_word2 {font:bold 12px dotum;color:#000}
</style>
<div id="search_alist">
<?
$k=0;
for($idx=$table_index, $k=0; $idx<count($search_table) && $k<$rows; $idx++) {
?>
<div class="line"></div>
<h3><a href='./board.php?bo_table=<?=$search_table[$idx]?>&<?=$search_query?>'><?=$bo_subject[$idx]?>(<?=count($list[$idx])?>)</a></h3>
<ul>
<?
$comment_href = "";
$data_path = $g4[path]."/data/file/".$search_table[$idx];
$thumb_data_path = $g4[path]."/data/file/$search_table[$idx]/thumb";
for($i=0; $i<count($list[$idx]) && $k<$rows; $i++, $k++){
$comment_href=$comment=$img=$file_name="";
$list[$idx][$i][subject]=str_replace("<span style='background-color:YELLOW; color:RED;'>","<span class='s_word1'>",$list[$idx][$i][subject]);
$list[$idx][$i][content]=str_replace("<span style='background-color:YELLOW; color:RED;'>","<span class='s_word2'>",$list[$idx][$i][content]);
// 가변 파일
$file['file'] = get_file($search_table[$idx], $list[$idx][$i][wr_id]);
$file_name=$file[file][0][file];
$file_reading=$data_path."/".$file_name;
$simg=$thumb_data_path."/s".$file_name;
if($file_name && file_exists($file_reading)){
if(file_exists($simg)) $img=$simg;
else $img=$file_reading;
}
if($list[$idx][$i][wr_is_comment]) {
$comment_href = "#c_".$list[$idx][$i][wr_id];
$comment="[코멘트] ";
}
?>
<li>
<p class="s_subject" align="left"><a href="<?=$list[$idx][$i][href].$comment_href?>"></a> <!-- <a href="<?=$list[$idx][$i][href].$comment_href?>" target="_blank9eaecd">[new window]</a>--></p>
<p class="s_content" align="left">
<?if($img){?>
<a href="<?=$list[$idx][$i][href]?>"><img src="<?=$img?>" width="190" align="left" class="s_thm"></a>
<?}?>
<?=$list[$idx][$i][file]?>
<a href="<?=$list[$idx][$i][href].$comment_href?>"><?=$comment.$list[$idx][$i][subject]?>
</a><br />
<span class="s_name">
<?=$list[$idx][$i][name]?>
</span> - <span class="s_date">
<?=$list[$idx][$i][wr_datetime]?>
</span><br />
<br />
<?=$list[$idx][$i][content]?>
</p>
</li>
<li><p align="left">
<?}?>
</p>
</li>
</ul>
<?}?>
</div>
<p style="text-align:center;"><?=$write_pages?></p>
댓글 3개
게시글 목록
| 번호 | 제목 |
|---|---|
| 284508 | |
| 284499 | |
| 284492 | |
| 284490 | |
| 284484 | |
| 284481 | |
| 284478 | |
| 284476 | |
| 284474 | |
| 284472 | |
| 284470 | |
| 284458 | |
| 284457 | |
| 284454 | |
| 284453 | |
| 284447 | |
| 284446 | |
| 284444 | |
| 284441 | |
| 284440 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기