보통 제로보드에서는 html페이지를 만든다음에 넣고 싶은 곳에 "아웃로그인을 넣고"
"최근게시물을 넣고" 달력을 넣고 상단에
<?
$_zb_url = "제로보드경로/bbs/";
$_zb_path = "/home/hosting_users/제로보드경로/bbs/";
include_once $_zb_path."outlogin.php";
?>
이거 넣고 하면 되는데
그누보드는 어떻게 해야 되나요?
그누보드는 html로 만든다음에 제로보드와 같이 하면 안됩니까?
보드에서 head나 tail 파일 위치 적어주는건 알겠는데...
메인을 디자인 할려니 어렵네요?
"최근게시물을 넣고" 달력을 넣고 상단에
<?
$_zb_url = "제로보드경로/bbs/";
$_zb_path = "/home/hosting_users/제로보드경로/bbs/";
include_once $_zb_path."outlogin.php";
?>
이거 넣고 하면 되는데
그누보드는 어떻게 해야 되나요?
그누보드는 html로 만든다음에 제로보드와 같이 하면 안됩니까?
보드에서 head나 tail 파일 위치 적어주는건 알겠는데...
메인을 디자인 할려니 어렵네요?
댓글을 작성하시려면 로그인이 필요합니다.
댓글 10개
예를들어서
head.php에 테이블로 메뉴부분을 넣고 </table>로 닫지않고
tail.php에서 </table> 닫으면 index에 내용이 들어가겠죠?? 이런식으로 하면 되요~
<div>도 같은 방법으로 하시면 되요~~
<?
include_once("./_common.php");
include_once("$g4[path]/lib/outlogin.lib.php"); // outlogin() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<title>업무게시판</title>
<link href="admin/allpage.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><img src="admin/logo.gif" width="141" height="141"></td>
</tr>
</table>
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="admin/dot.gif"><img src="admin/dot.gif" width="1" height="1"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="200" align="center"><?=outlogin("green")?></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="admin/dot.gif"><img src="admin/dot.gif" width="1" height="1"></td>
</tr>
</table>
</body>
</html>
또 답변이 댓글로 올라 옵니다.
그럼 head부분 index부분 tail부분으로 나눌수가 있어요.
그건 자기가 어떻게 쪼개느냐의 문제예요.
메뉴랑 좌측 로그인 부분까지 잘라서 head.php에 넣고
index에서 head tail 인클루드 하심 되요.
저 파일은 head파일 같은데 저기에 맞게 index랑 tail 만드시면 되요~
저 디자인은 잘 모르겠지만 table width=100% 로 잡으면 우측에 들어갈 부분없이 화면 전체를 쓴다는거구요..맨 처음 테이블에 사이즈를 주시고 그 밑에 테이블들은 100%로 주시면 전체 테이블 조작이 가능해요~~이해가 되셨을래나 -_-; 제가 원래 말빨이 좀..ㅠㅠ