링크가 안 보이네요. 정보
그누보드 링크가 안 보이네요.본문
http://flowermi.com/gnu/?doc=bbs/gnuboard.php&bo_table=unmi24
어떤 아줌마 거 만들어 주고 있는데요.
즐겨찹는 사이트의 링크가 암ㄴ 보입니다.
똑같은 링크 스킨을 다른 사이트에 적용을 하면 사이트 주소가 뜨는데
이 사이트에서는 왜 안 뜰까요?
바로가기............. 오른쪽에 사이트 주소가 나와야 하고 그거 클릭하는 건데요.
다른 사이트에선 되는데, 우째 이 아줌마한테선 안 되는지요?
알려주시면 감사하겠습니다.
어떤 아줌마 거 만들어 주고 있는데요.
즐겨찹는 사이트의 링크가 암ㄴ 보입니다.
똑같은 링크 스킨을 다른 사이트에 적용을 하면 사이트 주소가 뜨는데
이 사이트에서는 왜 안 뜰까요?
바로가기............. 오른쪽에 사이트 주소가 나와야 하고 그거 클릭하는 건데요.
다른 사이트에선 되는데, 우째 이 아줌마한테선 안 되는지요?
알려주시면 감사하겠습니다.
댓글 전체
바로가기 부분에 링크를 안걸고....뒷부분 <td width="42%" height="18" align="left">
?
<?if ($link[$i][link1]) {?><a href='<?=$link[$i][link_href1]?>' target=_blank><font color=#009966><?=set_http(get_text(cut_str($link[$i][link1], 70)))?></font></a><?}?>
</td> 에 링크를 건거 아닌가요
?
<?if ($link[$i][link1]) {?><a href='<?=$link[$i][link_href1]?>' target=_blank><font color=#009966><?=set_http(get_text(cut_str($link[$i][link1], 70)))?></font></a><?}?>
</td> 에 링크를 건거 아닌가요
<a href='<?=$list[$i][wr_link1]?>' target=_blank>
<span style="font-size:9pt;"><img src='<?=$board_skin?>/re.gif'>바로가기:</span></a>
바로가기에 아무런 링크도 안결러 있네요 신기하네요 다른곳에서 가능하다니
<span style="font-size:9pt;"><img src='<?=$board_skin?>/re.gif'>바로가기:</span></a>
바로가기에 아무런 링크도 안결러 있네요 신기하네요 다른곳에서 가능하다니
<?
for ($k=1; $k<=$cfg[link_count]; $k++) {
if ($row["wr_link".$k]) {
$link[$i]["link".$k] = set_http(get_text(cut_str($row["wr_link".$k], 255)));
$link[$i]["link_href".$k] = "./?doc=$cfg[bbs_dir]/gblink.php&$qstr&wr_id=$row[wr_id]&index=$k";
$link[$i][hit] = $row[wr_link1."_hit"];
}
}
?>
<table width='<?=$width?>' align=center>
<tr>
<td>
<table width=100%>
<tr>
<form name=fsearch method=get action='./'>
<input type=hidden name=doc value='<?=$doc?>'>
<input type=hidden name=bo_table value='<?=$bo_table?>'>
<td width=50% align=left>
</td>
</form>
<form name=fcategory method=get action='./'>
<input type=hidden name=doc value='<?=$doc?>'>
<td width=50% align=right>
<span class=etc>sites link <?=nf($total_count)?>ea</span>
<? if ($admin_href) { echo "<a href='$admin_href'>Admin</a>"; } ?>
<? if ($is_category) { ?>
<select name=ca_id onchange="location='<?=$category_location?>'+this.value;" style="color:rgb(0,153,204); background-color:white;">
<option value=''>Category</option>
<?=$category_option?>
</select>
<? } ?>
</td>
</form>
</tr>
</table>
<table width=100% border=0 cellpadding=3 cellspacing=0>
<form name=frmgblist method='post' action='<?="./?doc=$cfg[bbs_dir]/gbdeleteall.php"?>'>
<tr align=center height=5>
<td width=27>
<input type=hidden name=bo_table value='<?=$bo_table?>'>
<input type=hidden name=sselect value='<?=$sselect?>'>
<input type=hidden name=stext value='<?=$stext?>'>
<input type=hidden name=section value='<?=$section?>'>
<input type=hidden name=page value='<?=$page?>'>
</td>
</tr><tr><td colspan=3 height=2 bgcolor=#C21C03></td><td></td></tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<? if ($list[$i][num] == '공지') { $list[$i][num] = "공지"; } // 공지를 이미지로 변환 ?>
<tr align=center class=list<?=($i%1)?>>
<!-- gbform의 link를 url로 -->
<td height=20>
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="43%" height="18">
<? if ($is_checkdelete) { ?><input type=checkbox name=chk_wr_id[] value='<?=$list[$i][wr_id]?>'><? } ?> <font color="#333333"><span style="font-size:9pt;"></span></font> <?=$list[$i][icon_new]?> <a href='<?=$list[$i][href]?>'><? if ($list[$i][is_notice]) echo "<b>"; ?><?=$list[$i][subject]?><? if ($list[$i][is_notice]) echo "</b>"; ?></a>
</td>
<td width="17%" height="18" align="right">
<font color="#62A2A9"><span style="font-size:9pt;"><img src='<?=$board_skin?>/re.gif'>바로가기:</span></font>
</td>
<td width="42%" height="18" align="left">
<?if ($link[$i][link1]) {?><a href='<?=$link[$i][link_href1]?>' target=_blank><font color=#009966><?=set_http(get_text(cut_str($link[$i][link1], 70)))?></font></a><?}?>
</td>
</tr>
</table></td>
<? if ($is_category) { ?><td><?=$list[$i][ca_name]?></td><? } ?>
</tr>
<tr><td colspan=5 height=1 background='./<?=$board_skin?>/line_width.gif'></td></tr>
<? } ?>
<? if (count($list) == 0) { echo "<tr><td colspan=8 align=center height=100 class='content contentbg'>자료가 없습니다.</td></tr>"; } ?>
</form>
<tr><td height=1 bgcolor=#f4f4f4 colspan=5></td></tr>
<tr><td height=5 bgcolor=#ffffff colspan=5></td></tr>
</table>
<table width=100% border=0 cellpadding=0 cellspacing=0>
<tr>
<td width=50%>
<? if ($list_href) { echo "<a href='$list_href'><img src='$board_skin/list.gif' border=0 alt='목록'></a>"; } ?> <? if ($write_href) { echo "<a href='$write_href'><img src='$board_skin/write.gif' border=0 alt='글쓰기'></a>"; } ?> <? if ($is_checkdelete) { ?> <a href='javascript:all_checked(true);'><img src='<?="$board_skin/allchk.gif"?>' border=0 alt='전체선택'></a> <a href='javascript:all_checked(false);'><img src='<?="$board_skin/allunchk.gif"?>' border=0 alt='선택해제'></a> <a href='javascript:all_delete();'><img src='<?="$board_skin/allchkdel.gif"?>' border=0 alt='선택삭제'></a>
<? if ($copy_href) { echo "<a href=\"$copy_href\"><img src='$board_skin/copy.gif' border=0 alt='선택복사'></a>"; } ?>
<? if ($move_href) { echo "<a href=\"$move_href\"><img src='$board_skin/move.gif' border=0 alt='선택이동'></a>"; } ?>
<script language='javascript'>
function all_checked(sw)
{
var f = document.frmgblist;
for (var i=0; i<f.length; i++) {
if (f.elements[i].name == 'chk_wr_id[]') {
f.elements[i].checked = sw;
}
}
}
function check_confirm(str)
{
var f = document.frmgblist;
var chk_count = 0;
for (var i=0; i<f.length; i++) {
if (f.elements[i].name == 'chk_wr_id[]' && f.elements[i].checked) {
chk_count++;
}
}
if (!chk_count) {
alert(str + "할 게시물을 하나 이상 선택하세요.");
return false;
}
return true;
}
// 선택한 게시물 삭제
function all_delete()
{
var f = document.frmgblist;
str = "삭제";
if (!check_confirm(str)) {
return;
}
if (!confirm("선택한 게시물을 정말 "+str+" 하시겠습니까?\n\n한번 "+str+"한 자료는 복구할 수 없습니다")) {
return;
}
f.action = "./?doc=bbs/gbdeleteall.php";
f.submit();
}
// 선택한 게시물 복사 및 이동
function all_move(sw)
{
var f = document.frmgblist;
if (sw == 'copy') {
str = '복사';
} else {
str = '이동';
}
if (!check_confirm(str)) {
return;
}
var sub_win = window.open('', 'gbmoveall', 'left=50, top=50, width=396, height=550, scrollbars=1');
f.sw.value = sw;
f.target = "gbmoveall";
f.action = "./?doc=bbs/gbmoveall.php";
f.submit();
}
</script>
<? } ?>
</td>
</tr>
</table>
<? if ($stext) { ?>
<script language='JavaScript'>
if ('<?=$sselect?>' == 'ca_id') {
document.fcategory.ca_id.value = '<?=$stext?>';
document.fsearch.stext.value = '';
} else {
document.fsearch.sselect.value = '<?=$sselect?>';
}
</script>
<? } ?>
<table align=center width=100%>
<tr>
<td align=right>
<? if ($prev_section_href) { echo "<a href='$prev_section_href'>이전검색</a>"; } ?>
<?=$write_pages?>
<? if ($next_section_href) { echo "<a href='$next_section_href'>다음검색</a>"; } ?>
</td>
</tr>
</table>
</td></tr></table>
for ($k=1; $k<=$cfg[link_count]; $k++) {
if ($row["wr_link".$k]) {
$link[$i]["link".$k] = set_http(get_text(cut_str($row["wr_link".$k], 255)));
$link[$i]["link_href".$k] = "./?doc=$cfg[bbs_dir]/gblink.php&$qstr&wr_id=$row[wr_id]&index=$k";
$link[$i][hit] = $row[wr_link1."_hit"];
}
}
?>
<table width='<?=$width?>' align=center>
<tr>
<td>
<table width=100%>
<tr>
<form name=fsearch method=get action='./'>
<input type=hidden name=doc value='<?=$doc?>'>
<input type=hidden name=bo_table value='<?=$bo_table?>'>
<td width=50% align=left>
</td>
</form>
<form name=fcategory method=get action='./'>
<input type=hidden name=doc value='<?=$doc?>'>
<td width=50% align=right>
<span class=etc>sites link <?=nf($total_count)?>ea</span>
<? if ($admin_href) { echo "<a href='$admin_href'>Admin</a>"; } ?>
<? if ($is_category) { ?>
<select name=ca_id onchange="location='<?=$category_location?>'+this.value;" style="color:rgb(0,153,204); background-color:white;">
<option value=''>Category</option>
<?=$category_option?>
</select>
<? } ?>
</td>
</form>
</tr>
</table>
<table width=100% border=0 cellpadding=3 cellspacing=0>
<form name=frmgblist method='post' action='<?="./?doc=$cfg[bbs_dir]/gbdeleteall.php"?>'>
<tr align=center height=5>
<td width=27>
<input type=hidden name=bo_table value='<?=$bo_table?>'>
<input type=hidden name=sselect value='<?=$sselect?>'>
<input type=hidden name=stext value='<?=$stext?>'>
<input type=hidden name=section value='<?=$section?>'>
<input type=hidden name=page value='<?=$page?>'>
</td>
</tr><tr><td colspan=3 height=2 bgcolor=#C21C03></td><td></td></tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<? if ($list[$i][num] == '공지') { $list[$i][num] = "공지"; } // 공지를 이미지로 변환 ?>
<tr align=center class=list<?=($i%1)?>>
<!-- gbform의 link를 url로 -->
<td height=20>
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="43%" height="18">
<? if ($is_checkdelete) { ?><input type=checkbox name=chk_wr_id[] value='<?=$list[$i][wr_id]?>'><? } ?> <font color="#333333"><span style="font-size:9pt;"></span></font> <?=$list[$i][icon_new]?> <a href='<?=$list[$i][href]?>'><? if ($list[$i][is_notice]) echo "<b>"; ?><?=$list[$i][subject]?><? if ($list[$i][is_notice]) echo "</b>"; ?></a>
</td>
<td width="17%" height="18" align="right">
<font color="#62A2A9"><span style="font-size:9pt;"><img src='<?=$board_skin?>/re.gif'>바로가기:</span></font>
</td>
<td width="42%" height="18" align="left">
<?if ($link[$i][link1]) {?><a href='<?=$link[$i][link_href1]?>' target=_blank><font color=#009966><?=set_http(get_text(cut_str($link[$i][link1], 70)))?></font></a><?}?>
</td>
</tr>
</table></td>
<? if ($is_category) { ?><td><?=$list[$i][ca_name]?></td><? } ?>
</tr>
<tr><td colspan=5 height=1 background='./<?=$board_skin?>/line_width.gif'></td></tr>
<? } ?>
<? if (count($list) == 0) { echo "<tr><td colspan=8 align=center height=100 class='content contentbg'>자료가 없습니다.</td></tr>"; } ?>
</form>
<tr><td height=1 bgcolor=#f4f4f4 colspan=5></td></tr>
<tr><td height=5 bgcolor=#ffffff colspan=5></td></tr>
</table>
<table width=100% border=0 cellpadding=0 cellspacing=0>
<tr>
<td width=50%>
<? if ($list_href) { echo "<a href='$list_href'><img src='$board_skin/list.gif' border=0 alt='목록'></a>"; } ?> <? if ($write_href) { echo "<a href='$write_href'><img src='$board_skin/write.gif' border=0 alt='글쓰기'></a>"; } ?> <? if ($is_checkdelete) { ?> <a href='javascript:all_checked(true);'><img src='<?="$board_skin/allchk.gif"?>' border=0 alt='전체선택'></a> <a href='javascript:all_checked(false);'><img src='<?="$board_skin/allunchk.gif"?>' border=0 alt='선택해제'></a> <a href='javascript:all_delete();'><img src='<?="$board_skin/allchkdel.gif"?>' border=0 alt='선택삭제'></a>
<? if ($copy_href) { echo "<a href=\"$copy_href\"><img src='$board_skin/copy.gif' border=0 alt='선택복사'></a>"; } ?>
<? if ($move_href) { echo "<a href=\"$move_href\"><img src='$board_skin/move.gif' border=0 alt='선택이동'></a>"; } ?>
<script language='javascript'>
function all_checked(sw)
{
var f = document.frmgblist;
for (var i=0; i<f.length; i++) {
if (f.elements[i].name == 'chk_wr_id[]') {
f.elements[i].checked = sw;
}
}
}
function check_confirm(str)
{
var f = document.frmgblist;
var chk_count = 0;
for (var i=0; i<f.length; i++) {
if (f.elements[i].name == 'chk_wr_id[]' && f.elements[i].checked) {
chk_count++;
}
}
if (!chk_count) {
alert(str + "할 게시물을 하나 이상 선택하세요.");
return false;
}
return true;
}
// 선택한 게시물 삭제
function all_delete()
{
var f = document.frmgblist;
str = "삭제";
if (!check_confirm(str)) {
return;
}
if (!confirm("선택한 게시물을 정말 "+str+" 하시겠습니까?\n\n한번 "+str+"한 자료는 복구할 수 없습니다")) {
return;
}
f.action = "./?doc=bbs/gbdeleteall.php";
f.submit();
}
// 선택한 게시물 복사 및 이동
function all_move(sw)
{
var f = document.frmgblist;
if (sw == 'copy') {
str = '복사';
} else {
str = '이동';
}
if (!check_confirm(str)) {
return;
}
var sub_win = window.open('', 'gbmoveall', 'left=50, top=50, width=396, height=550, scrollbars=1');
f.sw.value = sw;
f.target = "gbmoveall";
f.action = "./?doc=bbs/gbmoveall.php";
f.submit();
}
</script>
<? } ?>
</td>
</tr>
</table>
<? if ($stext) { ?>
<script language='JavaScript'>
if ('<?=$sselect?>' == 'ca_id') {
document.fcategory.ca_id.value = '<?=$stext?>';
document.fsearch.stext.value = '';
} else {
document.fsearch.sselect.value = '<?=$sselect?>';
}
</script>
<? } ?>
<table align=center width=100%>
<tr>
<td align=right>
<? if ($prev_section_href) { echo "<a href='$prev_section_href'>이전검색</a>"; } ?>
<?=$write_pages?>
<? if ($next_section_href) { echo "<a href='$next_section_href'>다음검색</a>"; } ?>
</td>
</tr>
</table>
</td></tr></table>
DB에 저장은 되는데 리스트 부분에서 출력이 안되네요 gblist.skin.php인가 그 소스를 공개하세요..
소스를 공개해야지만 알수 있을듯합니다..
그냥 html 소스 보기하면
<td width="17%" height="18" align="right">
<font color="#62A2A9"><span style="font-size:9pt;"><img src='bbs/skin/board/link/re.gif'>바로가기:</span></font>
</td>
이런식으로 되어 있네요 링크가 안된걸루 나오네요..
그냥 html 소스 보기하면
<td width="17%" height="18" align="right">
<font color="#62A2A9"><span style="font-size:9pt;"><img src='bbs/skin/board/link/re.gif'>바로가기:</span></font>
</td>
이런식으로 되어 있네요 링크가 안된걸루 나오네요..