직접 만든 이미지를 헤더로 쓰고싶은데 적용이 안됩니다 ㅜㅜ

직접 만든 이미지를 헤더로 쓰고싶은데 적용이 안됩니다 ㅜㅜ

QA

직접 만든 이미지를 헤더로 쓰고싶은데 적용이 안됩니다 ㅜㅜ

답변 1

본문

호스팅 infinityfree.com, php 7.4 그누보드5.4대 최신버젼 사용하고있습니다. 헤더와 바디 풋의 코드의 경우는 제가 코딩을 잘 몰라 나모웹에디터로 만들었습니다. 홈 헤더와 풋 바디 이미지는 htdoc (사용하는 웹 호스팅의 가장 상위 폴더가 html이 아닙니다)에 넣었구요 ...

 

게시판 상단에 제가 만든 이미지를 헤더와 풋으로 쓰고 바디 부분에 게시판 내용을 집어넣고싶은데 안됩니다

 

홈페이지 헤더와 바디 풋 이미지를 다 만든후 html 보기 후 코드를  긁어서 헤더를

 <html><head> 부터 

 <p align="center"><img src="http://홈이름.rf.gd/back.jpg?i=1" width="1600" height="1008" border="0"></p>
        </td>
    </tr> 까지 복사한 후 메모장에서 php 파일로 저장하여 htdoc 게시판 생성후 상단파일 경로에  ../head.php를 집어넣었는데 기존 그누보드가 제공한 상하단이 없어졌을 뿐 제가 제작한 상하단이 출현하지 않습니다.

 

혹시해서 php로 만들었던 내용 그대로 상단내용에 입력해봤지만 상단 하단에 코드만 나올뿐이구요 ... 방도 알려주시면 고맙겠습니다 미치겠어요 살려주세요ㅜㅜㅜ

 

아래는 코드 전문입니다

 

 

<html>

<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>홈이름</title>

<bgsound src="https://www.youtube.com/watch?v=SBFzprBZQ5g">

<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<table width="1600" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td width="1612">
            <p align="center"><img src="http://홈이름.rf.gd/head.jpg" width="1600" height="307" border="0" usemap="#ImageMap1"></p>
        </td>
    </tr>
    <tr>
        <td width="1612">
            <p align="center"><img src="http://홈이름.rf.gd/back.jpg?i=1" width="1600" height="1008" border="0"></p>
        </td>
    </tr>
    <tr>
        <td width="1612">
            <p align="center"> </p>
        </td>
    </tr>
    <tr>
        <td width="1612"><a href="##"><img src="http://홈이름.rf.gd/foot.jpg" width="1600" height="49" border="0"></a></td>
    </tr>
</table>
<p> </p>
<map name="ImageMap1">
<area shape="rect" coords="874, 208, 981, 263" href="http://홈이름.rf.gd/gnu5/bbs/board.php?bo_table=guide">
<area shape="rect" coords="980, 208, 1088, 262" href="홈이름.rf.gd/gnu5/bbs/board.php?bo_table=world">
<area shape="rect" coords="1087, 209, 1194, 261" href="홈이름.rf.gd/gnu5/bbs/board.php?bo_table=clip">
<area shape="rect" coords="1194, 208, 1297, 263" href="홈이름.rf.gd/gnu5/bbs/board.php?bo_table=tomato">
<area shape="rect" coords="1296, 208, 1413, 263" href="홈이름.rf.gd/gnu5/bbs/board.php?bo_table=profile">
<area shape="rect" coords="1412, 208, 1485, 262" href="http://홈이름.rf.gd/gnu5/adm/board_form.php?w=u&bo_table=comment&sst=&sod=&sfl=&stx=&page=0">
<area shape="rect" coords="275, 171, 455, 262" href="http://홈이름.rf.gd">
</map></body>

</html>

 

이걸 기반으로 만든 인덱스 파일은 제대로 작동하고 링크도 클릭하면 그누보드로 만든 게시판으로도 날아가는데 어떻게 해야할지 모르겠습니다 ...

이 질문에 댓글 쓰기 :

답변 1

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 135
© SIRSOFT
현재 페이지 제일 처음으로