테스트 사이트 - 개발 중인 베타 버전입니다

게시판스킨안에 지도보기 부분에 지도를 나오게 하려면 어떻게 하면되는지요 채택완료



게시판 스킨은 자료실에서 받은건데

글자나 모양또는 내용을 약간 수정한것 뿐입니다

무엇을 어떻게 해야 지도부분이 나올수 있는지요

혹시 글쓰기에서 주소입력을 하는부분을 뺴버려서 그런것인지요

조금이라도 도움이되는 말씀 주시면 감사하겠습니다

 

사이트주소는 --> http://sevenvali.cafe24.com/sub_alba_main.htm">http://sevenvali.cafe24.com/sub_alba_main.htm

입니다.

아직 미흡한사이트라 보여드리기가 민망하지만

배우는중이라 염치없이 ㅎㅎ

view.skin.php 소스는 다음과 같습니다

 

--------------------------------------------------------

<지도관련부분으로 여겨지는부분의 소스>

 

<지도보기>

    
      

       

     
  

 

 

---------------------------------------------------------

<전체파일의 소스>

 

// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨 add_stylesheet('', 0); ?>

$ex2_filed = explode("|",$view[wr_2]); $ext2_00  = $ex2_filed[0]; $ext2_01  = $ex2_filed[1]; $ext2_02  = $ex2_filed[2]; $ext2_03  = $ex2_filed[3]; $ext2_04  = $ex2_filed[4]; $ext2_05  = $ex2_filed[5]; $ext2_06  = $ex2_filed[6]; $ext2_07  = $ex2_filed[7]; $ext2_08  = $ex2_filed[8]; $ext2_09  = $ex2_filed[9]; $ext2_10  = $ex2_filed[10]; $ext2_11  = $ex2_filed[11]; $ext2_12  = $ex2_filed[12]; $ext2_13  = $ex2_filed[13]; $ext2_14  = $ex2_filed[14]; $ext2_15  = $ex2_filed[15]; $ext2_16  = $ex2_filed[16]; $ext2_17  = $ex2_filed[17]; $ext2_18  = $ex2_filed[18]; $ext2_19  = $ex2_filed[19]; $ext2_20  = $ex2_filed[20];

$ex3_filed = explode("|",$view[wr_3]); $ext3_00  = $ex3_filed[0]; $ext3_01  = $ex3_filed[1]; $ext3_02  = $ex3_filed[2]; $ext3_03  = $ex3_filed[3]; $ext3_04  = $ex3_filed[4]; $ext3_05  = $ex3_filed[5]; $ext3_06  = $ex3_filed[6]; $ext3_07  = $ex3_filed[7]; $ext3_08  = $ex3_filed[8]; $ext3_09  = $ex3_filed[9]; ?>

   

       

                   

   

   

       

페이지 정보

        작성자        작성일      조회      댓글    

   

           

       

첨부파일

           
       

  

       

                               

       

               
  • 수정
  •            
  • 삭제
  •            
  • 복사
  •            
  • 이동
  •            
  • 검색
  •            
  • 목록
  •            
  • 답변
  •            
  • 글쓰기
  •        
           
   

<모집내용>

  

  

              

업무내용
임금조건            
퇴직금            (상세규정은 면접시 확인할것!)
복지후생
마감일

<지원방법>

                  

              

지원방법         
담당자
연락처     
이메일
인근교통

 

<추가내용 (참고사진) >    

         

본문

        \n";

            for ($i=1; $i<=count($view['file']); $i++) {                 if ($view['file'][$i]['view']) {                     //echo $view['file'][$i]['view'];                     echo get_view_thumbnail($view['file'][$i]['view']);                 }             }

            echo "\n";         }          ?>

               

               

<지도보기>

    
      

       

     
  

 

 

       

       

 

    

 

   

 

   

   

           
     

 

 

 

댓글을 작성하려면 로그인이 필요합니다.

답변 2개

채택된 답변
+20 포인트

</p><p style="word-break: break-all; color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14.004px; letter-spacing: -0.01px; line-height: 25.2072px;"><? if ($view[wr_3]) { // 임시필드인 wr_3에 주소가 있다면 네이버 api 지도를 출력 ?></p><p style="word-break: break-all; color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14.004px; letter-spacing: -0.01px; line-height: 25.2072px;">        <div align='center' style="padding:10px 0 0 0;">
  <?
  // 지도 표시 
  include_once "$board_skin_path/map.php"; 
  ?>
  </div>
  <? } ?>
<? if (!$view[wr_3]) {
   echo "지도 준비중입니다.";
  }
?></p><p>

 

위 소스는 주소가 있는 경우에만 지도를 표시하게 하고 있습니다.

위 소스를 아래 처럼 변경하면 무조건 지도가 나오게 됩니다.

다만 map.php 소스에 따라 지도가 나오지 않거나 위치에 문제가 있을 수 있습니다.

 

</p><p style="font-size: 14.6667px;"><span style="color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14.004px; letter-spacing: -0.01px; line-height: 25.2072px;"><div align='center' style="padding:10px 0 0 0;"></span> </p><p style="font-size: 14.6667px;"><span style="color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14.004px; letter-spacing: -0.01px; line-height: 25.2072px;">  <?</span><br style="color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14.004px; letter-spacing: -0.01px; line-height: 25.2072px;"><span style="color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14.004px; letter-spacing: -0.01px; line-height: 25.2072px;">  // 지도 표시 </span><br style="color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14.004px; letter-spacing: -0.01px; line-height: 25.2072px;"><span style="color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14.004px; letter-spacing: -0.01px; line-height: 25.2072px;">  include_once "$board_skin_path/map.php"; </span><br style="color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14.004px; letter-spacing: -0.01px; line-height: 25.2072px;"><span style="color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14.004px; letter-spacing: -0.01px; line-height: 25.2072px;">  ?></span> </p><p style="font-size: 14.6667px;"><span style="color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14.004px; letter-spacing: -0.01px; line-height: 25.2072px;"></div></span></p><p style="font-size: 14.6667px;"><span style="color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14.004px; letter-spacing: -0.01px; line-height: 25.2072px;">

 

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

감사합니다

아직은 제가 여기까지 이해될정도의 머리가 안되는것 같습니다

이해해보도록 더 노력해 볼게요, 그래도 안되면 다시 질문드려도 될런지...

좋은주말되세요~~~ 

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인

전체 질문 목록

© 2025 SIRSOFT. All rights reserved.