52
조회 수 : 4206 신고 : 0
먼저 위에 그림을 참고 하시고, 아래 소스는 community에 쓰인 head파일 소스입니다.
<?
$_zb_url = "http://제로보드 경로/";
$_zb_path = "/제로보드 절대경로/";
include $_zb_path."outlogin.php";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<link rel="stylesheet" href="../style.css">
</head>
<body background="../img/bg.gif" leftmargin="0" topmargin="0"
marginwidth="0" marginheight="0">
<table width="848" border="0" cellspacing="0"
cellpadding="0">
<tr>
<td width="200" height="198" align="center"
background="../img/login.gif"><? print_outlogin("login_web",1,10)
?></td>
<td width="595" rowspan="2" valign="top" bgcolor="#FFFFFF"><table
width="595" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="../img/up.gif" width="595" height="30"
border="0" usemap="#Map"></td>
</tr>
<tr>
<td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
width="595" height="198">
<param name="movie" value="../img/flash/main.swf">
<param name="quality" value="high">
<embed src="../img/flash/main.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="595" height="198"></embed></object></td>
</tr>
</table></td>
<td width="53" rowspan="4" background="../img/right_bar.gif"> </td>
</tr>
<tr>
<td valign="top"><a href="../main.php"><img
src="../img/home.gif" width="200"
height="30" border="0"></a></td>
</tr>
<tr>
<td height="576" valign="top" bgcolor="B4B4B4"><table
width="200" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="200" align="center" valign="top"><img
src="../img/menu/community_bar.gif" width="200" height="51"></td>
</tr>
<tr>
<td align="center" valign="top"><a href="http://backzzanggu.com/bbs/zboard.php?id=notice"><img
src="../img/menu/notice.gif" width="200" height="22"
border="0"></a></td>
</tr>
<tr>
<td align="center" valign="top"><a href="http://backzzanggu.com/bbs/zboard.php?id=free_board"><img
src="../img/menu/freeboard.gif" width="200" height="22"
border="0"></a></td>
</tr>
<tr>
<td align="center" valign="top"><a href="http://backzzanggu.com/bbs/zboard.php?id=member_board"><img
src="../img/menu/member_board.gif" width="200" height="22"
border="0"></a></td>
</tr>
<tr>
<td align="center" valign="top"><a href="http://backzzanggu.com/bbs/zboard.php?id=question_board"><img
src="../img/menu/question_board.gif" width="200" height="22"
border="0"></a></td>
</tr>
<tr>
<td align="center" valign="top"><a href="http://backzzanggu.com/bbs/zboard.php?id=good_board"><img
src="../img/menu/good_board.gif" width="200" height="22"
border="0"></a></td>
</tr>
<tr>
<td align="center" valign="top"><a href="http://backzzanggu.com/bbs/zboard.php?id=board_memo"><img
src="../img/menu/word.gif" width="200" height="22"
border="0"></a></td>
</tr>
<tr>
<td align="center" valign="top"><a href="http://backzzanggu.com/bbs/zboard.php?id=board_oekaki"><img
src="../img/menu/oekaki_board.gif" width="200" height="22"
border="0"></a></td>
</tr>
<tr>
<td align="center" valign="top"><a href="http://backzzanggu.com/bbs/zboard.php?id=guest_board"><img
src="../img/menu/guest_board.gif" width="200" height="22"
border="0"></a></td>
</tr>
<tr>
<td align="center" valign="top"><a href="http://backzzanggu.com/bbs/zboard.php?id=sigo_board"><img
src="../img/menu/instance.gif" width="200" height="22"
border="0"></a></td>
</tr>
</table></td>
<td align="center" valign="top" bgcolor="#FFFFFF"><table
align="center" border="0" cellpadding="0" cellspacing="0"
width="560" height="100%">
<tr>
<td width="560" height="20" align="center">
</td>
</tr>
<tr>
<td width="560" align="center" valign="top"><table
width="560" height="574" border="0" align="center"
cellpadding="0" cellspacing="0">
<tr>
<td width="560" valign="top">
<========여기까지 head파일 =======>
여기에서 고쳐주셔야 할점은 위에 빨간글씨로 쓴곳처럼 경로를 ../ 이런식의 상대경로나 http://backzzanggu.com/img/home.gif
이런식의 유저 경로로 바꿔주셔야 합니다.. 그래야 head파일을 불러왔을때 이미지가 깨지지 않고, 페이지도 제대로 이동됩니다.
foot파일로 마찬가지입니다.
전부 수정하셨으면, 계정에 업로드 한후 제로보드 게시판 설정에서 게시판 상단에 불러올
파일에 ../head.php 라고 입력하시고, 하단에 불러올 파일에 ../foot.php라고 입력하시면 됩니다.
추천수 10단위당 메달이 1개씩 노출되고, 추천수에 따라 배경색이 변하며, 일정수의 추천수를 받을시 아이콘이 붙게됩니다.
- 추천수 50개이상
- 추천수 30개이상
- 추천수 20개이상
- 추천수 10개이상
- 추천수 3개이상