그룹최신글 노출시 발생하는 문제... 정보
그룹최신글 노출시 발생하는 문제...본문
index.php파일코드 전문인데요 이런 문제가 있네요...glatest.lib.php 말고 glatest1.lib.php과 glatest2.lib.php란 파일을 각각 lib폴더속에 만들어 넣었는데요,, 적응하려고 이 원문처럼 해놓으니두가지 유형의 그룹 최신글이 다 노출되지 않는군요... 대신 둘중 하나를 glatest.lib.php라고 파일 이름을 수정하고 문장에도 glatest.lib.php만 적용시키면 아무 문제없이 노출됩니다.
아무리 찾아도 원인을 몰라서 문의합니다. 어느분 알고 계시면 알려주세요...
---------------------------------------------------
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/lib/glatest1.lib.php");
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/lib/glatest1.lib.php");
include_once("$g4[path]/lib/glatest2.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
include_once("./_head.php");
?>
<!-- 메인화면 최신글 시작 -->
<table width="983" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="250" rowspan="2" align="center" valign="top"> <?= latest("latest_05", z3_1, 5, 25)?>
<br>
<?= latest("latest_05", z3_2, 5, 25)?>
<br>
<?= latest("latest_05", z3_3, 5, 25)?>
<br>
<?= latest("latest_05", z3_4, 5, 25)?>
<br>
<?= latest("latest_05", z3_5, 5, 25)?></td>
<td width="15" rowspan="2" align="center" valign="top"></td>
<td align="center" valign="top">
<?= glatest1("newstiker", z1, 10, 50)?>
<br>
<?= glatest2("latest_05", z1, 10, 50)?>
<br>
<?= latest("basic", z1_1, 10, 50)?> <br>
<?=latest("banner_main", mbanner, 1, 24);?> <br> <?= latest("vozzang_simple_gray", z2_1, 3, 70)?> <br> <table width="100%" border="0" cellspacing="0">
<tr>
<th width="280" scope="col"><?= latest("vozzang_simple_pink", z2_2, 3, 70)?></th>
<th width="15" scope="col"> </th>
<th width="280" scope="col"><?= latest("vozzang_simple_green", z2_3, 3, 70)?></th>
</tr>
</table> </td>
<td width="15" rowspan="2" align="center" valign="top"></td>
<td width="250" rowspan="2" align="center" valign="top"> <?= latest("latest_05", z4_1, 5, 25)?>
<br>
<?= latest("latest_05", z4_2, 5, 25)?>
<br>
<?= latest("latest_05", z4_3, 5, 25)?>
<br>
<?= latest("latest_05", z4_4, 5, 25)?>
<br>
<?= latest("latest_05", z4_5, 5, 25)?>
<br> <?= latest("popup_latest", z5_1, 3, 70)?></td>
</tr>
<tr>
<td align="center" valign="top"><?=latest("banner_main", mbanner, 1, 24);?> <br> <?= latest("basic", z1_2, 5, 70)?>
<br>
<?= latest("basic", z1_3, 5, 70)?>
<br>
<?= latest("basic", z1_4, 5, 70)?></td>
</tr>
</table>
<!-- 메인화면 최신글 끝 -->
<?
include_once("./_tail.php");
?>
include_once("./_tail.php");
?>
댓글 전체
glatest1.lib.php과 glatest2.lib.php란 파일을 만들었다면
안에 있는 함수 이름도 다른게 해 주었나요?
안 될 때는 안 된다고만 하지 마시고 에러 화면 등의 정보를 주시면 쉽게 해결 될 수 있습니다.
안에 있는 함수 이름도 다른게 해 주었나요?
안 될 때는 안 된다고만 하지 마시고 에러 화면 등의 정보를 주시면 쉽게 해결 될 수 있습니다.