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

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

QA

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

본문



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

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

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

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

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

 

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

입니다.

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

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

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

 

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

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

 

<font color=#000 size="3"><b><지도보기></b></font>
<table width=100% cellpadding=10 cellspacing=0 border=0>
 <tr>
  <td bgcolor=#F1F1F1>
  <table width=100% cellpadding=0 cellspacing=0 border=0>
 <tr>
 <td>
<? if ($view[wr_3]) { // 임시필드인 wr_3에 주소가 있다면 네이버 api 지도를 출력 ?>

        <div align='center' style="padding:10px 0 0 0;">
  <?
  // 지도 표시
  include_once "$board_skin_path/map.php";
  ?>
  </div>
  <? } ?>
<? if (!$view[wr_3]) {
   echo "지도 준비중입니다.";
  }
?>

 

 

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

<전체파일의 소스>

 

<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once(G5_LIB_PATH.'/thumbnail.lib.php');
include (G5_SKIN_PATH.'/multi_category/lib.php');

// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0);
?>
<?
$ex1_filed = explode("|",$view[wr_1]);
$ext1_00  = $ex1_filed[0];
$ext1_01  = $ex1_filed[1];
$ext1_02  = $ex1_filed[2];
$ext1_03  = $ex1_filed[3];
$ext1_04  = $ex1_filed[4];
$ext1_05  = $ex1_filed[5];
$ext1_06  = $ex1_filed[6];
$ext1_07  = $ex1_filed[7];
$ext1_08  = $ex1_filed[8];
$ext1_09  = $ex1_filed[9];
$ext1_10  = $ex1_filed[10];
$ext1_11  = $ex1_filed[11];
$ext1_12  = $ex1_filed[12];
$ext1_13  = $ex1_filed[13];
$ext1_14  = $ex1_filed[14];
$ext1_15  = $ex1_filed[15];
$ext1_16  = $ex1_filed[16];
$ext1_17  = $ex1_filed[17];
$ext1_18  = $ex1_filed[18];
$ext1_19  = $ex1_filed[19];
$ext1_20  = $ex1_filed[20];
$ext1_21  = $ex1_filed[21];
$ext1_22  = $ex1_filed[22];
$ext1_23  = $ex1_filed[23];
$ext1_24  = $ex1_filed[24];
$ext1_25  = $ex1_filed[25];
$ext1_26  = $ex1_filed[26];
$ext1_27  = $ex1_filed[27];
$ext1_28  = $ex1_filed[28];
$ext1_29  = $ex1_filed[29];
$ext1_30  = $ex1_filed[30];
$ext1_31  = $ex1_filed[31];
$ext1_32  = $ex1_filed[32];
$ext1_33  = $ex1_filed[33];
$ext1_34  = $ex1_filed[34];
$ext1_35  = $ex1_filed[35];
$ext1_36  = $ex1_filed[36];
$ext1_37  = $ex1_filed[37];
$ext1_38  = $ex1_filed[38];
$ext1_39  = $ex1_filed[39];
$ext1_40  = $ex1_filed[40];
$ext1_39  = $ex1_filed[39];
$ext1_40  = $ex1_filed[40];
$ext1_41  = $ex1_filed[41];
$ext1_42  = $ex1_filed[42];
$ext1_43  = $ex1_filed[43];
$ext1_44  = $ex1_filed[44];
$ext1_45  = $ex1_filed[45];
$ext1_46  = $ex1_filed[46];
$ext1_47  = $ex1_filed[47];

$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];
?>
<!-- [참고] 옵션필드 --끝-->
<style type="text/css">
.write_head {height:30px; text-align:center; color:#8492A0;}
.field { border:1px solid #ccc; }
.write_fl {background-color:#FFFFFF; font-size:16px;font-weight:900; font-family:돋움;padding-left:10px;;text-align:left;color:#33666b}
.write_flb {background-color:#FFFFFF; font-size:12px; font-family:돋움;padding:5 5 5 5;text-align:left;font-weight:bold;}
.write_r {background-color:#F3F3F3; font-size:12px; font-family:돋움;padding:5 5 5 5;text-align:right;}
.write_rb {background-color:#F3F3F3; font-size:12px; font-family:돋움;padding:5 5 5 5;text-align:right;font-weight:bold;}
.write_fc {background-color:#FFFFFF; font-size:12px; font-family:돋움;padding:5 5 5 5;text-align:center;height:30px;}
.write_fcb {background-color:#FFFFFF; font-size:12px; font-family:돋움;padding:5 5 5 5;text-align:center;font-weight:bold;}
.write_c {background-color:#F3F3F3; font-size:12px; font-family:돋움;padding:5 5 5 5;text-align:center;}
.write_cb {background-color:#FBFBFB; font-size:12px; font-family:돋움;padding:5 5 5 5;text-align:center;font-weight:bold;height:30px;}
</style>

<script src="<?php echo G5_JS_URL; ?>/viewimageresize.js"></script>

<!-- 게시물 읽기 시작 { -->

<!--편집
<article id="bo_v" style="width:<?php echo $width; ?>">

편집-->


    <header>
        <h1 id="bo_v_title">
            <?php
            //if ($category_name) echo $view['ca_name'].' | '; // 분류 출력 끝
            echo cut_str(get_text($view['wr_subject']), 100); // 글제목 출력
            ?>
        </h1>
    </header>

    <section id="bo_v_info">
        <h2>페이지 정보</h2>
        작성자 <strong><?php echo $view['name'] ?><?php if ($is_ip_view) { echo " ($ip)"; } ?></strong><span class="sound_only"> 
     작성일</span><strong><?php echo date("y-m-d H:i", strtotime($view['wr_datetime'])) ?></strong>
     조회<strong><?php echo number_format($view['wr_hit']) ?>회</strong>
     댓글<strong><?php echo number_format($view['wr_comment']) ?>건</strong>
    </section>

    <?php
    if ($view['file']['count']) {
        $cnt = 0;
        for ($i=0; $i<count($view['file']); $i++) {
            if (isset($view['file'][$i]['source']) && $view['file'][$i]['source'] && !$view['file'][$i]['view'])
                $cnt++;
        }
    }
     ?>

    <?php if($cnt) { ?>
    <!-- 첨부파일 시작 { -->
    <section id="bo_v_file">
        <h2>첨부파일</h2>
        <ul>
        <?php
        // 가변 파일
        for ($i=0; $i<count($view['file']); $i++) {
            if (isset($view['file'][$i]['source']) && $view['file'][$i]['source'] && !$view['file'][$i]['view']) {
         ?>
            <li>
                <a href="<?php echo $view['file'][$i]['href'];  ?>" class="view_file_download">
                    <img src="<?php echo $board_skin_url ?>/img/icon_file.gif" alt="첨부">
                    <strong><?php echo $view['file'][$i]['source'] ?></strong>
                    <?php echo $view['file'][$i]['content'] ?> (<?php echo $view['file'][$i]['size'] ?>)
                </a>
                <span class="bo_v_file_cnt"><?php echo $view['file'][$i]['download'] ?>회 다운로드</span>
                <span>DATE : <?php echo $view['file'][$i]['datetime'] ?></span>
            </li>
        <?php
            }
        }
         ?>
        </ul>
    </section>
    <!-- } 첨부파일 끝 -->
    <?php } ?>

  

    <!-- 게시물 상단 버튼 시작 { -->
    <div id="bo_v_top">
        <?php
        ob_start();
         ?>
        <?php if ($prev_href || $next_href) { ?>
        <ul class="bo_v_nb">
            <?php if ($prev_href) { ?><li><a href="<?php echo $prev_href ?>" class="btn_b01">이전글</a></li><?php } ?>
            <?php if ($next_href) { ?><li><a href="<?php echo $next_href ?>" class="btn_b01">다음글</a></li><?php } ?>
        </ul>
        <?php } ?>

        <ul class="bo_v_com">
            <?php if ($update_href) { ?><li><a href="<?php echo $update_href ?>" class="btn_b01">수정</a></li><?php } ?>
            <?php if ($delete_href) { ?><li><a href="<?php echo $delete_href ?>" class="btn_b01" onclick="del(this.href); return false;">삭제</a></li><?php } ?>
            <?php if ($copy_href) { ?><li><a href="<?php echo $copy_href ?>" class="btn_admin" onclick="board_move(this.href); return false;">복사</a></li><?php } ?>
            <?php if ($move_href) { ?><li><a href="<?php echo $move_href ?>" class="btn_admin" onclick="board_move(this.href); return false;">이동</a></li><?php } ?>
            <?php if ($search_href) { ?><li><a href="<?php echo $search_href ?>" class="btn_b01">검색</a></li><?php } ?>
            <li><a href="<?php echo $list_href ?>" class="btn_b01">목록</a></li>
            <?php if ($reply_href) { ?><li><a href="<?php echo $reply_href ?>" class="btn_b01">답변</a></li><?php } ?>
            <?php if ($write_href) { ?><li><a href="<?php echo $write_href ?>" class="btn_b02">글쓰기</a></li><?php } ?>
        </ul>
        <?php
        $link_buttons = ob_get_contents();
        ob_end_flush();
         ?>
    </div>
    <!-- } 게시물 상단 버튼 끝 -->

<!--
<br><br><br>
<font color=#BF3030><b> ** 모집요강</b></font>
<br><br>
   
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr><td bgcolor=#CCCCCC>
<table width=100% cellpadding=0 cellspacing=1 border=0>
<tr><td width=11% class=write_cb>과목</td>
   <td width=11% class=write_cb>근무형태</td>
   <td width=11% class=write_cb>나이</td>
   <td width=11% class=write_cb>성별</td>
   <td width=11% class=write_cb>학력</td>
   <td width=11% class=write_cb>경력</td>
   <td width=11% class=write_cb>수강대상</td>
   <td width=11% class=write_cb>수업일수</td>
   <td width=11% class=write_cb>모집인원</td>
</tr>

<tr><td class=write_fc><?=$ext2_00?></td>
   <td class=write_fc><?=$ext2_01?></td>
      <td class=write_fc><?=$ext1_13?></td>
      <td class=write_fc><?=$ext2_02?></td>
      <td class=write_fc><?=$ext1_12?></td>
   <td class=write_fc><?=$ext1_11?></td>
   <td class=write_fc><?=$ext1_09?></td>
      <td class=write_fc><?=$ext2_15?></td>
      <td class=write_fc><?=$ext1_10?> 명</td>
</tr>

<? if($ext2_03){?>
<tr><td class=write_fc><?=$ext2_03?></td>
   <td class=write_fc><?=$ext2_10?></td>
      <td class=write_fc><?=$ext2_11?></td>
      <td class=write_fc><?=$ext2_12?></td>
      <td class=write_fc><?=$ext2_13?></td>
   <td class=write_fc><?=$ext2_14?></td>
   <td class=write_fc><?=$ext2_16?></td>
      <td class=write_fc><?=$ext2_19?></td>
      <td class=write_fc><?=$ext2_20?> 명</td>
</tr>
<?}?>

<? if($ext1_21){?>
<tr><td class=write_fc><?=$ext1_21?></td>
   <td class=write_fc><?=$ext1_22?></td>
      <td class=write_fc><?=$ext1_23?></td>
      <td class=write_fc><?=$ext1_24?></td>
      <td class=write_fc><?=$ext1_25?></td>
   <td class=write_fc><?=$ext1_26?></td>
   <td class=write_fc><?=$ext1_27?></td>
      <td class=write_fc><?=$ext1_28?></td>
      <td class=write_fc><?=$ext1_29?> 명</td>
</tr>
<?}?>

<? if($ext1_38){?>
<tr><td class=write_fc><?=$ext1_38?></td>
   <td class=write_fc><?=$ext1_30?></td>
      <td class=write_fc><?=$ext1_31?></td>
      <td class=write_fc><?=$ext1_32?></td>
      <td class=write_fc><?=$ext1_33?></td>
   <td class=write_fc><?=$ext1_34?></td>
   <td class=write_fc><?=$ext1_35?></td>
      <td class=write_fc><?=$ext1_36?></td>
      <td class=write_fc><?=$ext1_37?> 명</td>
</tr>
<?}?>

<? if($ext1_39){?>
<tr><td class=write_fc><?=$ext1_39?></td>
   <td class=write_fc><?=$ext1_40?></td>
      <td class=write_fc><?=$ext1_41?></td>
      <td class=write_fc><?=$ext1_42?></td>
      <td class=write_fc><?=$ext1_43?></td>
   <td class=write_fc><?=$ext1_44?></td>
   <td class=write_fc><?=$ext1_45?></td>
      <td class=write_fc><?=$ext1_46?></td>
      <td class=write_fc><?=$ext1_47?> 명</td>
</tr>
<?}?>
</table>
</td></tr></table>
-->

<br>
<font color=#666642 size="4"><b><모집내용> </b></font>


<table width=90% cellpadding=0 cellspacing=0 border=0>
<tr><td bgcolor=#ffba00>
<table width=100% cellpadding=0 cellspacing=1 border=0>
<tr><td width=20% class=write_cb><font size="3" color=#525252>업무내용</td>
   <td width="80%" class=write_fl><?=$ext1_03?></td>
</tr>

<tr><td width=20% class=write_cb><font size="3" color=#525252>임금조건</td>
   <td width="80%" class=write_fl>
    <? if($ext1_14){
      echo "최저 :".$ext1_14." 원 ::";
      }
     if($ext1_15){
      echo ":: 최고 : ".$ext1_15." 원";
     }
      ?>
      <font color=#FF0000><?=$ext1_08?></font></td>
</tr>

<tr><td width=20% class=write_cb><font size="3" color=#525252>퇴직금</td>
   <td width="80%" class=write_fl><?=$ext1_16?>            <font size="2" color=#525252>(상세규정은 면접시 확인할것!)</td>
     
</tr>
<tr><td width=20% class=write_cb><font size="3" color=#525252>복지후생</td>
   <td width="80%" class=write_fl><?=$ext1_04?></td>
</tr>
<tr><td width=20% class=write_cb><font size="3" color=#525252>마감일</td>
   <td width="80%" class=write_fl><?=$view[wr_5]?></td>
</tr>

</table>
</td></tr></table>


<br>
<font color=#666642 size="4"><b><지원방법></b></font>

<table width=90% cellpadding=0 cellspacing=0 border=0>
<tr><td bgcolor=#ffba00>
<table width=100% cellpadding=0 cellspacing=1 border=0>
<tr><td width=20% class=write_cb><font size="3" color=#525252>지원방법</td>
   <td width="80%" class=write_fl>
    <? if($ext1_17){
    echo $ext1_17;
    echo " / ";
   }
   if($ext1_18){
    echo $ext1_18;
    echo " / ";
   }
   if($ext1_19){
    echo $ext1_19;
    echo " / ";
   }
   if($ext1_20){
    echo $ext1_20;
    echo " / ";
   }
    if($ext2_09){
    echo $ext2_09;
    echo " / ";
   }
  ?> 
   </td>
</tr>
<tr>
   <td width=20% class=write_cb><font size="3" color=#525252>담당자</td>
   <td width="80%" class=write_fl><?=$ext2_04?></td>
</tr>
<tr>
       <td width=20% class=write_cb><font size="3" color=#525252>연락처</td>
   <td width="80%" class=write_fl>  
   <?=$ext2_05."-".$ext2_06."-".$ext2_07?></td>
</tr>

<tr><td width=20% class=write_cb><font size="3" color=#525252>이메일</td>
   <td width="80%" class=write_fl><?= $ext2_08?></td>
        
</tr>
<tr><td width=20% class=write_cb><font size="3" color=#525252>인근교통</td>
   <td width="80%" class=write_fl><?=$ext2_17?></td>
</tr>

</table>
</td></tr></table>

 


<br>
<font color=#666642 size="4"><b><추가내용 (참고사진) ></b></font>
    <section id="bo_vc">
      
  <h2 id="bo_v_atc_title">본문</h2>

        <?php
        // 파일 출력
        $v_img_count = count($view['file']);
        if($v_img_count) {
            echo "<div id=\"bo_v_img\">\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 "</div>\n";
        }
         ?>

        <!-- 본문 내용 시작 { -->
        <div id="bo_v_con"><B><font size="3"><?php echo get_view_thumbnail($view['content']); ?></B></div>
        <?php//echo $view['rich_content']; // view_image($view, '0', '') 과 같은 코드를 사용할 경우 ?>
        <!-- } 본문 내용 끝 -->

</section>


<font color=#000 size="3"><b><지도보기></b></font>
<table width=100% cellpadding=10 cellspacing=0 border=0>
 <tr>
  <td bgcolor=#F1F1F1>
  <table width=100% cellpadding=0 cellspacing=0 border=0>
 <tr>
 <td>
<? if ($view[wr_3]) { // 임시필드인 wr_3에 주소가 있다면 네이버 api 지도를 출력 ?>

        <div align='center' style="padding:10px 0 0 0;">
  <?
  // 지도 표시
  include_once "$board_skin_path/map.php";
  ?>
  </div>
  <? } ?>
<? if (!$view[wr_3]) {
   echo "지도 준비중입니다.";
  }
?>
</td></tr></table>
</td></tr></table>

 

 


<section id="bo_v_atc">

        <?php if ($is_signature) { ?><p><?php echo $signature ?></p><?php } ?>

        <!-- 스크랩 추천 비추천 시작 { -->

<!--
        <?php if ($scrap_href || $good_href || $nogood_href) { ?>
        <div id="bo_v_act">
            <?php if ($scrap_href) { ?><a href="<?php echo $scrap_href;  ?>" target="_blank" class="btn_b01" onclick="win_scrap(this.href); return false;">스크랩</a><?php } ?>
            <?php if ($good_href) { ?>
            <span class="bo_v_act_gng">
                <a href="<?php echo $good_href.'&'.$qstr ?>" id="good_button" class="btn_b01">추천 <strong><?php echo number_format($view['wr_good']) ?></strong></a>
                <b id="bo_v_act_good"></b>
            </span>
            <?php } ?>
            <?php if ($nogood_href) { ?>
            <span class="bo_v_act_gng">
                <a href="<?php echo $nogood_href.'&'.$qstr ?>" id="nogood_button" class="btn_b01">비추천  <strong><?php echo number_format($view['wr_nogood']) ?></strong></a>
                <b id="bo_v_act_nogood"></b>
            </span>
            <?php } ?>
        </div>
        <?php } else {
            if($board['bo_use_good'] || $board['bo_use_nogood']) {
        ?>
        <div id="bo_v_act">
            <?php if($board['bo_use_good']) { ?><span>추천 <strong><?php echo number_format($view['wr_good']) ?></strong></span><?php } ?>
            <?php if($board['bo_use_nogood']) { ?><span>비추천 <strong><?php echo number_format($view['wr_nogood']) ?></strong></span><?php } ?>
        </div>
        <?php
            }
        }
        ?>


        <!-- } 스크랩 추천 비추천 끝 -->


 </section>

  
 <?php
    include_once(G5_SNS_PATH."/view.sns.skin.php");
    ?>

 


    <?php
    // 코멘트 입출력 을 사용하지않으려면 아래와 같이 주석처리함
   // include_once('./view_comment.php');
     ?>

 

    <!-- 링크 버튼 시작 { -->


    <div id="bo_v_bot">
        <?php echo $link_buttons ?>
    </div>
 <!-- } 링크 버튼 끝 -->
 
 


</article>

<!-- } 게시판 읽기 끝 -->

 


<script>
<?php if ($board['bo_download_point'] < 0) { ?>
$(function() {
    $("a.view_file_download").click(function() {
        if(!g5_is_member) {
            alert("다운로드 권한이 없습니다.\n회원이시라면 로그인 후 이용해 보십시오.");
            return false;
        }

        var msg = "파일을 다운로드 하시면 포인트가 차감(<?php echo number_format($board['bo_download_point']) ?>점)됩니다.\n\n포인트는 게시물당 한번만 차감되며 다음에 다시 다운로드 하셔도 중복하여 차감하지 않습니다.\n\n그래도 다운로드 하시겠습니까?";

        if(confirm(msg)) {
            var href = $(this).attr("href")+"&js=on";
            $(this).attr("href", href);

            return true;
        } else {
            return false;
        }
    });
});
<?php } ?>

function board_move(href)
{
    window.open(href, "boardmove", "left=50, top=50, width=500, height=450, scrollbars=1");
}
</script>

<script>
$(function() {
    $("a.view_image").click(function() {
        window.open(this.href, "large_image", "location=yes,links=no,toolbar=no,top=10,left=10,width=10,height=10,resizable=yes,scrollbars=no,status=no");
        return false;
    });

    // 추천, 비추천
    $("#good_button, #nogood_button").click(function() {
        var $tx;
        if(this.id == "good_button")
            $tx = $("#bo_v_act_good");
        else
            $tx = $("#bo_v_act_nogood");

        excute_good(this.href, $(this), $tx);
        return false;
    });

 

 

 


    // 이미지 리사이즈
    $("#bo_v_atc").viewimageresize();  // 이미지 리사이즈
});

function excute_good(href, $el, $tx)
{
    $.post(
        href,
        { js: "on" },
        function(data) {
            if(data.error) {
                alert(data.error);
                return false;
            }

            if(data.count) {
                $el.find("strong").text(number_format(String(data.count)));
                if($tx.attr("id").search("nogood") > -1) {
                    $tx.text("이 글을 비추천하셨습니다.");
                    $tx.fadeIn(200).delay(2500).fadeOut(200);
                } else {
                    $tx.text("이 글을 추천하셨습니다.");
                    $tx.fadeIn(200).delay(2500).fadeOut(200);
                }
            }
        }, "json"
    );
}
</script>
<!-- } 게시글 읽기 끝 -->

 

 

이 질문에 댓글 쓰기 :

답변 2


<? if ($view[wr_3]) { // 임시필드인 wr_3에 주소가 있다면 네이버 api 지도를 출력 ?>
        <div align='center' style="padding:10px 0 0 0;">
  <?
  // 지도 표시 
  include_once "$board_skin_path/map.php"; 
  ?>
  </div>
  <? } ?>
<? if (!$view[wr_3]) {
   echo "지도 준비중입니다.";
  }
?>

 

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

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

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

 


<div align='center' style="padding:10px 0 0 0;"> 
  <?
  // 지도 표시 
  include_once "$board_skin_path/map.php"; 
  ?> 
</div>

 


감사합니다

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

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

좋은주말되세요~~~ 

답변을 작성하시기 전에 로그인 해주세요.
전체 123,716 | RSS
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT