사용자단 따옴표 수정
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// 선택옵션으로 인해 셀합치기가 가변적으로 변함
|
||||
$colspan = 5;
|
||||
@ -17,16 +17,16 @@ if ($is_nogood) $colspan++;
|
||||
.board_top { clear:both; }
|
||||
|
||||
.board_list { clear:both; width:100%; table-layout:fixed; margin:5px 0 0 0; }
|
||||
.board_list th { font-weight:bold; font-size:12px; }
|
||||
.board_list th { background:url(<?=$board_skin_path?>/img/title_bg.gif) repeat-x; }
|
||||
.board_list th { white-space:nowrap; height:34px; overflow:hidden; text-align:center; }
|
||||
.board_list th { border-top:1px solid #ddd; border-bottom:1px solid #ddd; }
|
||||
.board_list th { font-weight:bold; font-size:12px; }
|
||||
.board_list th { background:url(<?=$board_skin_path?>/img/title_bg.gif) repeat-x; }
|
||||
.board_list th { white-space:nowrap; height:34px; overflow:hidden; text-align:center; }
|
||||
.board_list th { border-top:1px solid #ddd; border-bottom:1px solid #ddd; }
|
||||
|
||||
.board_list tr.bg0 { background-color:#fafafa; }
|
||||
.board_list tr.bg1 { background-color:#ffffff; }
|
||||
.board_list tr.bg0 { background-color:#fafafa; }
|
||||
.board_list tr.bg1 { background-color:#ffffff; }
|
||||
|
||||
.board_list td { padding:.5em; }
|
||||
.board_list td { border-bottom:1px solid #ddd; }
|
||||
.board_list td { border-bottom:1px solid #ddd; }
|
||||
.board_list td.num { color:#999999; text-align:center; }
|
||||
.board_list td.checkbox { text-align:center; }
|
||||
.board_list td.subject { overflow:hidden; }
|
||||
@ -57,7 +57,7 @@ if ($is_nogood) $colspan++;
|
||||
<div style="float:left;">
|
||||
<form name="fcategory" method="get" style="margin:0px;">
|
||||
<? if ($is_category) { ?>
|
||||
<select name=sca onchange="location='<?=$category_location?>'+<?=strtolower($g4[charset])=='utf-8' ? "encodeURIComponent(this.value)" : "this.value"?>;">
|
||||
<select name=sca onchange="location='<?=$category_location?>'+<?=strtolower($g4['charset'])=='utf-8' ? "encodeURIComponent(this.value)" : "this.value"?>;">
|
||||
<option value=''>전체</option>
|
||||
<?=$category_option?>
|
||||
</select>
|
||||
@ -101,56 +101,56 @@ if ($is_nogood) $colspan++;
|
||||
<? if ($is_nogood) { ?><th><?=subject_sort_link('wr_nogood', $qstr2, 1)?>비추천</a></th><?}?>
|
||||
</tr>
|
||||
|
||||
<?
|
||||
for ($i=0; $i<count($list); $i++) {
|
||||
<?
|
||||
for ($i=0; $i<count($list); $i++) {
|
||||
$bg = $i%2 ? 0 : 1;
|
||||
?>
|
||||
|
||||
<tr class="bg<?=$bg?>">
|
||||
<tr class="bg<?=$bg?>">
|
||||
<td class="num">
|
||||
<?
|
||||
if ($list[$i][is_notice]) // 공지사항
|
||||
<?
|
||||
if ($list[$i]['is_notice']) // 공지사항
|
||||
echo "<b>공지</b>";
|
||||
else if ($wr_id == $list[$i][wr_id]) // 현재위치
|
||||
echo "<span class='current'>{$list[$i][num]}</span>";
|
||||
else if ($wr_id == $list[$i]['wr_id']) // 현재위치
|
||||
echo "<span class='current'>{$list[$i]['num']}</span>";
|
||||
else
|
||||
echo $list[$i][num];
|
||||
echo $list[$i]['num'];
|
||||
?>
|
||||
</td>
|
||||
<? if ($is_checkbox) { ?><td class="checkbox"><input type=checkbox name=chk_wr_id[] value="<?=$list[$i][wr_id]?>"></td><? } ?>
|
||||
<? if ($is_checkbox) { ?><td class="checkbox"><input type=checkbox name=chk_wr_id[] value="<?=$list[$i]['wr_id']?>"></td><? } ?>
|
||||
<td class="subject">
|
||||
<?
|
||||
<?
|
||||
echo $nobr_begin;
|
||||
echo $list[$i][reply];
|
||||
echo $list[$i][icon_reply];
|
||||
if ($is_category && $list[$i][ca_name]) {
|
||||
echo "<span class=small><font color=gray>[<a href='{$list[$i][ca_name_href]}'>{$list[$i][ca_name]}</a>]</font></span> ";
|
||||
echo $list[$i]['reply'];
|
||||
echo $list[$i]['icon_reply'];
|
||||
if ($is_category && $list[$i]['ca_name']) {
|
||||
echo "<span class=small><font color=gray>[<a href='{$list[$i]['ca_name_href']}'>{$list[$i]['ca_name']}</a>]</font></span> ";
|
||||
}
|
||||
|
||||
if ($list[$i][is_notice])
|
||||
echo "<a href='{$list[$i][href]}'><span class='notice'>{$list[$i][subject]}</span></a>";
|
||||
if ($list[$i]['is_notice'])
|
||||
echo "<a href='{$list[$i]['href']}'><span class='notice'>{$list[$i]['subject']}</span></a>";
|
||||
else
|
||||
echo "<a href='{$list[$i][href]}'>{$list[$i][subject]}</a>";
|
||||
echo "<a href='{$list[$i]['href']}'>{$list[$i]['subject']}</a>";
|
||||
|
||||
if ($list[$i][comment_cnt])
|
||||
echo " <a href=\"{$list[$i][comment_href]}\"><span class='comment'>{$list[$i][comment_cnt]}</span></a>";
|
||||
if ($list[$i]['comment_cnt'])
|
||||
echo " <a href=\"{$list[$i]['comment_href']}\"><span class='comment'>{$list[$i]['comment_cnt']}</span></a>";
|
||||
|
||||
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
|
||||
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
|
||||
|
||||
echo " " . $list[$i][icon_new];
|
||||
echo " " . $list[$i][icon_file];
|
||||
echo " " . $list[$i][icon_link];
|
||||
echo " " . $list[$i][icon_hot];
|
||||
echo " " . $list[$i][icon_secret];
|
||||
echo " " . $list[$i]['icon_new'];
|
||||
echo " " . $list[$i]['icon_file'];
|
||||
echo " " . $list[$i]['icon_link'];
|
||||
echo " " . $list[$i]['icon_hot'];
|
||||
echo " " . $list[$i]['icon_secret'];
|
||||
echo $nobr_end;
|
||||
?>
|
||||
</td>
|
||||
<td class="name"><?=$list[$i][name]?></td>
|
||||
<td class="datetime"><?=$list[$i][datetime2]?></td>
|
||||
<td class="hit"><?=$list[$i][wr_hit]?></td>
|
||||
<? if ($is_good) { ?><td class="good"><?=$list[$i][wr_good]?></td><? } ?>
|
||||
<? if ($is_nogood) { ?><td class="nogood"><?=$list[$i][wr_nogood]?></td><? } ?>
|
||||
<td class="name"><?=$list[$i]['name']?></td>
|
||||
<td class="datetime"><?=$list[$i]['datetime2']?></td>
|
||||
<td class="hit"><?=$list[$i]['wr_hit']?></td>
|
||||
<? if ($is_good) { ?><td class="good"><?=$list[$i]['wr_good']?></td><? } ?>
|
||||
<? if ($is_nogood) { ?><td class="nogood"><?=$list[$i]['wr_nogood']?></td><? } ?>
|
||||
</tr>
|
||||
<? } // end for ?>
|
||||
|
||||
@ -221,7 +221,7 @@ if ('<?=$sca?>') document.fcategory.sca.value = '<?=$sca?>';
|
||||
if ('<?=$stx?>') {
|
||||
document.fsearch.sfl.value = '<?=$sfl?>';
|
||||
|
||||
if ('<?=$sop?>' == 'and')
|
||||
if ('<?=$sop?>' == 'and')
|
||||
document.fsearch.sop[0].checked = true;
|
||||
|
||||
if ('<?=$sop?>' == 'or')
|
||||
@ -281,7 +281,7 @@ function select_copy(sw) {
|
||||
str = "복사";
|
||||
else
|
||||
str = "이동";
|
||||
|
||||
|
||||
if (!check_confirm(str))
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user