메인페이지 바꾸려다 코드에 문제가 생겼어요 도와주세요 정보
메인페이지 바꾸려다 코드에 문제가 생겼어요 도와주세요본문
오래간만에 하려다보니 잘모르겠네요
자꾸 구문에 오류가 있다고 나오는데 전문가님의 도움 부탁드려요
급하네요 ㅜ
<?
<?
<?
// $g4_path = "./"; // common.php 의 상대 경로
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
<?
<?
// $g4_path = "./"; // common.php 의 상대 경로
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
$g4['title'] = "";
$table_width = 1004;
$table_width = 1004;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- html xmlns="http://www.w3.org/1999/xhtml" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
</head>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- html xmlns="http://www.w3.org/1999/xhtml" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- Save for Web Slices (index.psd) -->
<table id="__01" width="1003" height="860" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><table id="__" width="1003" height="120" border="0" cellpadding="0" cellspacing="0">
<tr>
<td rowspan="2"><img src="images/index_01_01.jpg" width="393" height="120" alt=""></td>
<td width="610" height="39" background="images/index_01_02.jpg" align="right">
<!-- 처음으로 버튼 -->
<a href="<?=$g4['path']?>/"><img src="img/bar_01.gif" width="43" height="33" border="0"></a>
<? if (!$member['mb_id']) { ?>
<!-- 로그인 이전 -->
<a href="<?=$g4['bbs_path']?>/login.php?url=<?=$urlencode?>"><img src="img/bar_02.gif" width="64" height="33" border="0"></a>
<a href="<?=$g4['bbs_path']?>/register.php"><img src="img/bar_03.gif" width="73" height="33" border="0"></a>
<? } else { ?>
<!-- 로그인 이후 -->
<a href="<?=$g4['bbs_path']?>/logout.php"><img src="img/top_m04.gif" width="78" height="31" border="0"></a>
<a href="<?=$g4['bbs_path']?>/member_confirm.php?url=register_form.php"><img src="img/top_m05.gif" width="78" height="31" border="0"></a></td>
</tr>
<tr>
<td><img src="images/index_01_03.jpg" width="610" height="81" alt=""></td>
</tr>
</table></td>
</tr>
<tr>
<td width="1003" height="251">
<?php include("include/main_top_1/index.htm"); ?></td>
</tr>
<tr>
<td><table id="__2" width="1003" height="365" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="5"><img src="images/index_03_01.jpg" width="1003" height="26" alt="" /></td>
</tr>
<tr>
<td><img src="images/index_03_02.jpg" width="25" height="309" alt="" /></td>
<td width="326" height="309" valign="top" background="images/index_03_03.jpg"><?=latest('schedule','sosp_a', 1,1);?></td>
<td><table id="__3" width="410" height="309" border="0" cellpadding="0" cellspacing="0">
<tr>
<td rowspan="3"><img src="images/index_03_04_01.jpg" width="10" height="309" alt="" /></td>
<td><img src="images/index_03_04_02.jpg" width="391" height="34" alt="" /></td>
<td rowspan="3"><img src="images/index_03_04_03.jpg" width="9" height="309" alt="" /></td>
</tr>
<tr>
<td width="391" height="146" valign="top"><?=latest('3_latest_new','sosp_ba', 4,30);?></td>
</tr>
<tr>
<td width="391" height="129" valign="top"></td>
</tr>
</table></td>
<td><img src="images/index_03_05.jpg" width="219" height="309" alt="" /></td>
<td><img src="images/index_03_06.jpg" width="23" height="309" alt="" /></td>
</tr>
<tr>
<td colspan="5"><img src="images/index_03_07.jpg" width="1003" height="30" alt="" /></td>
</tr>
</table></td>
</tr>
<tr>
<td>
<img src="images/index_04.jpg" width="1003" height="104" alt=""></td>
</tr>
</table>
<!-- End Save for Web Slices -->
</body>
</html>
추천
0
0
댓글 8개
경로상의 문제인듯 한데 잘모르겠네요 휴
위 내용으로 페이지 열면 아래와 같이 오류가 뜹니다.
Parse error: parse error in C:\APM_Setup\htdocs\sosp\index.php on line 93
Parse error: parse error in C:\APM_Setup\htdocs\sosp\index.php on line 93
로그인ㄴ 이후 부분
<a href="<?=$g4['bbs_path']?>/member_confirm.php?url=register_form.php"><img src="img/top_m05.gif" width="78" height="31" border="0"></a></td>
아래
<? } ?>를 추가해보세요 다른 오류가 있을지도 모르지만 일단 저게 보이네요
<a href="<?=$g4['bbs_path']?>/member_confirm.php?url=register_form.php"><img src="img/top_m05.gif" width="78" height="31" border="0"></a></td>
아래
<? } ?>를 추가해보세요 다른 오류가 있을지도 모르지만 일단 저게 보이네요
저게 맞을듯 싶네요 ^^
네 감사
정말 고맙습니다.
정말 고맙습니다.
감사합니다.
방금 해주신데로 일단 뜨는데 인쿠르트나 latest 는 아래처럼 나와요
Warning: include(./skin/latest/schedule/latest.skin.php) [function.include]: failed to open stream: No such file or directory in /home/hosting_users/sosp/www/lib/latest.lib.php on line 29
Warning: include(./skin/latest/schedule/latest.skin.php) [function.include]: failed to open stream: No such file or directory in /home/hosting_users/sosp/www/lib/latest.lib.php on line 29
Warning: include() [function.include]: Failed opening './skin/latest/schedule/latest.skin.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/sosp/www/lib/latest.lib.php on line 29
select * from g4_write_sosp_ba where wr_is_comment = 0 order by wr_num limit 0, 4
1146 : Table 'sosp.g4_write_sosp_ba' doesn't exist
error file : /index.php
방금 해주신데로 일단 뜨는데 인쿠르트나 latest 는 아래처럼 나와요
Warning: include(./skin/latest/schedule/latest.skin.php) [function.include]: failed to open stream: No such file or directory in /home/hosting_users/sosp/www/lib/latest.lib.php on line 29
Warning: include(./skin/latest/schedule/latest.skin.php) [function.include]: failed to open stream: No such file or directory in /home/hosting_users/sosp/www/lib/latest.lib.php on line 29
Warning: include() [function.include]: Failed opening './skin/latest/schedule/latest.skin.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/sosp/www/lib/latest.lib.php on line 29
select * from g4_write_sosp_ba where wr_is_comment = 0 order by wr_num limit 0, 4
1146 : Table 'sosp.g4_write_sosp_ba' doesn't exist
error file : /index.php
skin/latest/schedule <= 해당 폴더 없움
g4_write_sosp_ba <= 해당 테이블 없음
없는 페이지와 파일을 읽어와서 나오는 오류 입니다..
존재유무 확인하시고 생성해주세요
g4_write_sosp_ba <= 해당 테이블 없음
없는 페이지와 파일을 읽어와서 나오는 오류 입니다..
존재유무 확인하시고 생성해주세요
네 감사합니다. ^^