첫 페이지 관련...쉽게 설명 부탁합니다. ㅜ.ㅜ 정보
첫 페이지 관련...쉽게 설명 부탁합니다. ㅜ.ㅜ본문
제로보드는
index.php 가 아래 항목을 불러 들여서 만들어 지던데요..
head.php
doc 폴더
food.php
주소.com 하면 메인이 보였는데
그누보드의 경우는 어떻게 하는지 감이 안옵니다.
그누보드는 주소.com/gnuboard 라고 하면
메인페이지 비슷한게 뜨네요..
head.php
??
tail.php
메인페이지를 못만들고 있습니다~~~ㅜ.ㅜ
댓글 전체


다음부터 설치할땐 루트에 설치해서 index.php만 수정해 써봐요 -_-
바람님 참고하세요~~
index.php 안에 메인페이지가 들어 있습니다
<--메인시작 ~메인끝-->
그리고 index.php을 복사하셔서 다른 페이지를 만드세요
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "이담통상 홈페이지를 방문해 주셔서 감사합니다";
include_once("./_head.php"); (((이곳의 파일을 적용하고 싶은 head파일로 교체하시고)))
?>
<!-- 메인화면 시작 -->
<table align="center" cellpadding="0" cellspacing="0" width="100%" height="10">
<tr>
<td width="686"> </td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="696">
<tr>
<td width="290">
<p align="right"><img src="<?=$g4['path']?>/img/visitor.jpg" width="279" height="166" border="0"></p>
</td>
<td width="10"></td>
<td width="144">
<p align="right"><a href="<?=$g4[bbs_path]?>/board.php?bo_table=company&wr_id=1&sca=CEO%C0%CE%BB%E7%B8%BB"><img src="<?=$g4['path']?>/img/company_go.jpg" width="134" height="166" border="0"></p>
</td>
<td width="125">
<p align="right"><a href="<?=$g4['bbs_path']?>/board.php?bo_table=zob&wr_id=1&sca=%C8%AD%C0%E5%BD%C7%B0%FC%B8%AE"><img src="<?=$g4['path']?>/img/company_go2.jpg" width="127" height="166" border="0"></p>
</td>
<td width="127">
<p align="right"><a href="<?=$g4['bbs_path']?>/board.php?bo_table=notice"><img src="<?=$g4['path']?>/img/company_go3.jpg" width="127" height="166" border="0"></p>
</td>
</tr>
</table>
<div style='height:3px;'></div>
<table cellpadding="0" cellspacing="0" width="100%" height="10">
<tr>
<td width="686">
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="16"></td>
<td width="340" valign="top"><?=latest("basic", "notice", 5, 50);?></td>
<td width="340" valign="top"><?=latest("basic1", "newproducts", 5, 50);?></td>
</tr>
</table>
<table width="100%" height="10" cellpadding="0" cellspacing="0">
<tr>
<td width="686">
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="16"></td>
<td width="680" valign="top"><?=latest("basic1", "products", 5, 50);?></td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="100%" height="10">
<tr>
<td width="686"></td>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" height="0">
<tr>
<td width="16"></td>
<td width="686" valign="top"><?=latest("basic1", "poto", 5, 50);?></td>
</tr>
</table>
<!-- 메인화면 끝 -->
<?
include_once("./_tail.php");(((이곳의카피라이트 부분의 파일을 적용하고 싶은것으로 바꾸세요)))
?>
여기까지는 저의 홈페이지의 index.php 이고
참고로 다른 파일 보여드릴께요
다음은 회사소개 페이지
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "이담통상 홈페이지를 방문해 주셔서 감사합니다";
include_once("./company_head.php");(((이곳의 파일이 바뀌었습니다~~))
?>
<!-- 회사소개 시작 -->
<table align="center" cellpadding="0" cellspacing="0" width="100%" height="10">
저도 잘 모르는데 잠시 지나가다가 몇자 적어 봅니다...
프로그램 잘 다루는 분들은 더 쉽게 하던데....
<tr>
<td width="686">준비중입니다;</td>
</tr>
</table>
<!-- 회사소개 끝 -->
<?
include_once("./_tail.php");
?>
index.php 안에 메인페이지가 들어 있습니다
<--메인시작 ~메인끝-->
그리고 index.php을 복사하셔서 다른 페이지를 만드세요
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "이담통상 홈페이지를 방문해 주셔서 감사합니다";
include_once("./_head.php"); (((이곳의 파일을 적용하고 싶은 head파일로 교체하시고)))
?>
<!-- 메인화면 시작 -->
<table align="center" cellpadding="0" cellspacing="0" width="100%" height="10">
<tr>
<td width="686"> </td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="696">
<tr>
<td width="290">
<p align="right"><img src="<?=$g4['path']?>/img/visitor.jpg" width="279" height="166" border="0"></p>
</td>
<td width="10"></td>
<td width="144">
<p align="right"><a href="<?=$g4[bbs_path]?>/board.php?bo_table=company&wr_id=1&sca=CEO%C0%CE%BB%E7%B8%BB"><img src="<?=$g4['path']?>/img/company_go.jpg" width="134" height="166" border="0"></p>
</td>
<td width="125">
<p align="right"><a href="<?=$g4['bbs_path']?>/board.php?bo_table=zob&wr_id=1&sca=%C8%AD%C0%E5%BD%C7%B0%FC%B8%AE"><img src="<?=$g4['path']?>/img/company_go2.jpg" width="127" height="166" border="0"></p>
</td>
<td width="127">
<p align="right"><a href="<?=$g4['bbs_path']?>/board.php?bo_table=notice"><img src="<?=$g4['path']?>/img/company_go3.jpg" width="127" height="166" border="0"></p>
</td>
</tr>
</table>
<div style='height:3px;'></div>
<table cellpadding="0" cellspacing="0" width="100%" height="10">
<tr>
<td width="686">
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="16"></td>
<td width="340" valign="top"><?=latest("basic", "notice", 5, 50);?></td>
<td width="340" valign="top"><?=latest("basic1", "newproducts", 5, 50);?></td>
</tr>
</table>
<table width="100%" height="10" cellpadding="0" cellspacing="0">
<tr>
<td width="686">
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="16"></td>
<td width="680" valign="top"><?=latest("basic1", "products", 5, 50);?></td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="100%" height="10">
<tr>
<td width="686"></td>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" height="0">
<tr>
<td width="16"></td>
<td width="686" valign="top"><?=latest("basic1", "poto", 5, 50);?></td>
</tr>
</table>
<!-- 메인화면 끝 -->
<?
include_once("./_tail.php");(((이곳의카피라이트 부분의 파일을 적용하고 싶은것으로 바꾸세요)))
?>
여기까지는 저의 홈페이지의 index.php 이고
참고로 다른 파일 보여드릴께요
다음은 회사소개 페이지
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "이담통상 홈페이지를 방문해 주셔서 감사합니다";
include_once("./company_head.php");(((이곳의 파일이 바뀌었습니다~~))
?>
<!-- 회사소개 시작 -->
<table align="center" cellpadding="0" cellspacing="0" width="100%" height="10">
저도 잘 모르는데 잠시 지나가다가 몇자 적어 봅니다...
프로그램 잘 다루는 분들은 더 쉽게 하던데....
<tr>
<td width="686">준비중입니다;</td>
</tr>
</table>
<!-- 회사소개 끝 -->
<?
include_once("./_tail.php");
?>
아참 테스트 싸이트는 http://dsseoul.w3ip.co.kr
입니다..
입니다..

관심어린 답변 감사합니다~~~~~~~~~