무통장 쇼핑몰 스킨

무통장 쇼핑몰 스킨

QA

무통장 쇼핑몰 스킨

본문

무통장 쇼핑몰 스킨...

 

정말 간절히 찾던 스킨이 올라왔는데..

설치법이 없어 skin/board에 shopmall 업로드 했구요.

바로구매 버튼을 누르면 아래 이미지처럼 깨져 보이지 않네요.

 

고수님들 답변 좀 부탁드립니다.

 

 

[자료파일]

http://sir.kr/g4_skin/153833?sfl=wr_subject%7C%7Cwr_content&stx=%EB%AC%B4%ED%86%B5%EC%9E%A5

 

 

14753c32a84dcf76886acc1046a16fa3_1478827491_8832.jpg

 

===============================================================================

 

order.php 파일내용입니다.

 

<?
include_once "_common.php";
include_once("$g4[path]/head.sub.php");
include_once("../../$board[bo_include_head]");
include_once("$board_skin_path/config.php");

//************************************************************
//
// 스킨명 : 카멜레온 간이몰 스킨
// 버  젼 : 2006-03-16일짜 버젼
// 제작자 : ⓒⓒⓒ (Soonho Choi) http://cm-builder.com
// MSN    : top-*** 개인정보보호를 위한 이메일주소 노출방지 ***
//
// 저작권 : 이 주석 부분을 훼손하지않은 상태에서 수정및 사용이 자유롭습니다.
//
//************************************************************

$view = get_view($write, $board, $board_skin_path);
$view_w = 240; //썸네일 가로사이즈
$view_h = 240; //썸네일 세로사이즈
$icon_new = $icon_good = $icon_hit = $icon_point = $icon_aa = $icon_sellout ="";

if($view[wr_type1]) $icon_new = "<img src='$board_skin_path/img/icon_type1.gif' align=absmiddle>";
if($view[wr_type2]) $icon_good = "<img src='$board_skin_path/img/icon_type2.gif' align=absmiddle>";
if($view[wr_type3]) $icon_hit = "<img src='$board_skin_path/img/icon_type3.gif' align=absmiddle>";
if($view[wr_type4]) $icon_sellout = "<img src='$board_skin_path/img/icon_pumjul.gif' align=absmiddle>";
?>

<div style="height:12px; line-height:1px; font-size:1px;"> </div>

<!-- 게시글 보기 시작 -->
<table width="<?=$width?>" align="center" cellpadding="0" cellspcing="0"><tr><td>


<? if($is_admin =='super') { ?>
<table width='<?=$width?>' cellpadding=0 cellspacing=0>
<tr height=35>
    <td width=75%>
        <? echo "<a href=\"$g4[bbs_path]/board.php?bo_table=$bo_table\"><img src='$board_skin_path/img/btn_list.gif' border='0' align='absmiddle'></a> "; ?>
    </td>
    <td width=25% align=right>
    </td>
</tr>
</table>
<? } ?>

<table width="<?=$width?>" border="0" cellpadding="0" cellspacing="1" bgcolor="EDF6FD">
 <tr><td>
  <table width="100%" border="0" cellpadding="0" cellspacing="4" bgcolor="EDF6FD">
   <tr><td bgcolor="FFFFFF" align="center" style="padding:10px">

    <table width="100%" align="center" cellpadding="0" cellspacing="0">
    <form name=order method="POST" action="javascript:order_submit(document.order);" autocomplete="off">
    <input type=hidden name=bo_table value='<?=$bo_table?>'>
    <input type=hidden name=wr_id value='<?=$wr_id?>'>
    <input type=hidden name=od_price value='<?=$view[wr_9]?>'>
    <input type=hidden name=od_total_price value='<?=($total_price+$view[wr_13])?>'> 
    <input type=hidden name=od_qty value='<?=$wr_qty?>'>
     <tr><td width='290' align="center">
          <!-- image view -->
          <?
           // 파일 출력
           for ($i=0; $i < 1; $i++) {
           
           //썸네일 코드 시작
            $data_path = $g4['path'] . "/data/file/{$bo_table}";//라이브러리 파일 참조
            $thumb_path = $data_path . '/thumbView';
            
            if (!is_dir($thumb_path)) {
            @mkdir($thumb_path, 0707);
            @chmod($thumb_path, 0707);
            }
                $filename = $view[file][$i][file]; //파일명
                $thumb = $thumb_path.'/'.$filename; //썸네일
                if (!file_exists($thumb))
                {
             $file = $data_path.'/'.$filename; //원본
                    if (preg_match("/\.(jp[e]?g|gif|png)$/i", $file) && file_exists($file))
                    {
                        $size = getimagesize($file);
                        if ($size[2] == 1)
                            $src = imagecreatefromgif($file);
                        else if ($size[2] == 2)
                            $src = imagecreatefromjpeg($file);
                        else if ($size[2] == 3)
                            $src = imagecreatefrompng($file);
                        else
                            continue;
            
                        $rate = $view_w / $size[0];
                        $height = (int)($size[1] * $rate);
            
                        if ($height < $view_h)
                            $dst = imagecreatetruecolor($view_w, $view_h);
                        else
                            $dst = imagecreatetruecolor($view_w, $view_h);
                        imagecopyresampled($dst, $src, 0, 0, 0, 0, $view_w, $height, $size[0], $size[1]);
                        imagejpeg($dst, $thumb_path.'/'.$filename, 100);
                        chmod($thumb_path.'/'.$filename, 0707);
                    }
                }
            
                if (file_exists($thumb) && $filename) {
             echo "<img src='$thumb' style='border:1px solid #E2E2E2;'>";
                }
            }
            ?>
            <br>
             <a href='#' onclick="javascript:window.open('<?=$board_skin_path?>/view_open.php?bo_table=<?=$bo_table?>&wr_id=<?=$wr_id?>','view_open','width=800,height=560,top=50,left=50,scrollbars=yes,resizable=yes')"><img src="<?=$board_skin_path?>/img/icon_open.gif" border="0"></a>

          <!-- /image view -->
       </td>       
       <td width="450" valign=top>
        <table cellpadding=0 cellspacing=0 border=0 width=100%>
         <tr><td colspan=3 height=5></td></tr>    
          <tr>
            <td colspan="3"><font color="#000000" size="3"><b><?=$view[subject]?></b></font>
            
          <?=$icon_new?><?=$icon_good?><?=$icon_hit?><?=$icon_point?><?=$icon_aa?><?=$icon_sellout?></td></tr>
          <tr><td colspan=3 height=5></td></tr>
          <tr><td colspan=3 height=1 bgcolor=#e7e7e7></td></tr>
          <tr><td colspan=3 height=5></td></tr>    
      
          <tr><td height=20><b>ㆍ</b>상품코드</td>
            <td>:</td>
             <td><font color="#0000ff"><?=$view[wr_11]?></font></td></tr>
          <tr><td height=20><b>ㆍ</b>옵션/기타</td>
            <td>:</td>
             <td><?=$view[wr_12]?></td></tr>
          <tr><td width="100" height=20><b>ㆍ</b>판매가격</td>
               <td width="10">:</td>
             <td><strong><?=number_format($view[wr_9])?> 원</strong></td>
          </tr>               
              
         <? if ($view[wr_1]) { ?>
           <tr><td height=20><b>ㆍ</b><?=$view[wr_5]?></td>
               <td>:</td>
               <td><?=number_format($view[wr_1])?> 원</td>
           </tr>
           <? } ?>
           <? if ($view[wr_2]) { ?>
           <tr><td height=20><b>ㆍ</b><?=$view[wr_6]?></td>
               <td>:</td>
               <td><?=number_format($view[wr_2])?> 원</td>
           </tr>
           <? } ?>
           <? if ($view[wr_3]) { ?>
           <tr><td height=20><b>ㆍ</b><?=$view[wr_7]?></td>
               <td>:</td>
               <td><?=number_format($view[wr_3])?> 원</td>
           </tr>
           <? } ?>
           <? if ($view[wr_4]) { ?>
           <tr><td height=20><b>ㆍ</b><?=$view[wr_8]?></td>
               <td>:</td>
               <td><?=number_format($view[wr_4])?> 원</td>
           </tr>
           <? } ?>
          <tr><td height=20><b>ㆍ</b>구매수량</td>
            <td>:</td>
              <td><strong><font color="#ff0000"><?=$wr_qty?></font></strong> 개</td></tr>
          <tr><td height=20><b>ㆍ</b>배송비</td>
            <td>:</td>
             <td><strong><?=number_format($view[wr_13])?> 원<strong></td></tr>               
          <tr><td height=20><b>ㆍ</b>합계</td>
            <td>:</td>
              <td><?=number_format($total_price+$view[wr_13])?> 원</td></tr>

          <tr><td colspan=3 height=1 bgcolor=#e7e7e7></td></tr>
          <tr><td colspan=3 height=10></td></tr>
        </table>           
        <!-- /spec list -->
       </td></tr>
      </table>

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

<div style='height:10px;'></div>

<TABLE cellpadding=0 cellspacing=0 border=0 width=100%>
<TR>
    <TD colspan=2 height=2 bgcolor=#dddddd></TD>
</TR>
<TR>
    <TD colspan=2 height=30 style='padding-left:20px;'><b>주문정보입력</b></TD>
</TR>
<TR>
    <TD colspan=2 height=2 bgcolor=#dddddd></TD>
</TR>
<tr><td colspan="2" height="10"></td></tr>

<tr><td style='padding-left:25px;'>· 받는분 성명</td><td align=left><input type=text name=od_name value='<?=$od_name?>' class=input itemname="받는분 성함" required></td></tr>

<tr><td colspan=2 height=1 bgcolor=#e7e7e7></td></tr>

<tr><td style='padding-left:25px;'>· 연락처1</td><td><input type=text name=od_tel value='<?=$od_tel?>' class=input itemname="받는분 연락처" required></td></tr>

<tr><td colspan=2 height=1 bgcolor=#e7e7e7></td></tr>

<tr><td style='padding-left:25px;'>· 연락처2</td><td><input type=text name=od_hp value='<?=$od_hp?>' class=input></td></tr>

<tr><td colspan=2 height=1 bgcolor=#e7e7e7></td></tr>

<tr><td style='padding-left:25px;'>· 받는분 주소</td>
    <td><input type=text name=od_zip1 size=4 value='<?=$od_zip1?>' class=input>-
        <input type=text name=od_zip2 size=4 value='<?=$od_zip2?>' class=input>
         <a href="javascript:;" onclick="win_zip('order', 'od_zip1', 'od_zip2', 'od_addr1', 'od_addr2');"><img width="91" height="20" src="<?=$g4[path]?>/skin/member/basic/img/post_search_btn.gif" border=0 align=absmiddle></a>
    </td></tr>
<tr><td></td><td><input type=text name=od_addr1 style='width:70%' value='<?=$od_addr1?>' class=input itemname="주소" required><br>   
        <input type=text name=od_addr2 style='width:28%' value='<?=$od_addr2?>' class=input></td></tr>

<tr><td colspan=2 height=1 bgcolor=#e7e7e7></td></tr>

<tr><td colspan="2" height="10"></td></tr>
<tr><td style='padding-left:25px;'>· 입금은행</td>
    <td><!--<input type=text name=od_bank_use value='농협 307055-52-058134' class=input size=50 itemname="입금은행" required>-->


  <select name='od_bank_use' class='ed'  itemname='입금은행' required>
    <option value='359-20-286020' <? if($write[od_bank_use] == "359-20-286020") echo "selected"; ?>>기업은행 (108-123623-04-014 / (주)참다운경제교육)</option>
         </select>

</td></tr>
<tr><td colspan=2 height=1 bgcolor=#e7e7e7></td></tr>

<tr><td style='padding-left:25px;'>· 기  타</td>
    <td><textarea name=od_memo rows="5" style="width:100%;" class=input></textarea>
    </td></tr>
    <tr><td colspan=2 height=1 bgcolor=#dddddd></td></tr>
<tr><td height=20></td></tr>
<tr><td height=20 colspan=2 align=center>
    <input type=image src='<?=$board_skin_path?>/img/btn_order.gif'> 
    <a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src='<?=$board_skin_path?>/img/btn_orlist.gif' border=0></a>


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


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


<script language="JavaScript">
    function resize_image() {
        var target = document.getElementsByName('target_resize_image[]');
        for(i=0; i<target.length; i++) {
            target[i].tmp_width  = target[i].width;
            target[i].tmp_height = target[i].height;
        }
    }

    function order_submit(f)
    {
        f.action = "<?=$board_skin_path?>/order_u.php";
        f.submit();
    }

    window.onload = resize_image;
</script>


<?
if ($board[bo_content_tail]) echo stripslashes($board[bo_content_tail]);
if ($board[bo_image_tail]) echo "<img src='$g4[path]/data/file/$bo_table/$board[bo_image_tail]' border='0'>";
if ($board[bo_include_tail]) @include ("../../$board[bo_include_tail]");
include_once("$g4[path]/tail.sub.php");
?>

 

이 질문에 댓글 쓰기 :

답변 3

마우스 오른쪽으로 이미지 클릭하셔서 경로 확인후 브라우져url 창에 직접 쳐보세요 링크가 있는지

url경로입니다. http://www.hofwin.com/board/bbs/board.php?bo_table=11111&wr_id=155&page=0
바로구매버튼을 누른 url경로입니다.
헌데 shopmall 페이지는 만들어 있지 않는 상태입니다.
http://www.hofwin.com/board/skin/board/shopmall/order.php

config.php 파일을 열어보시면

구매 필드에 관한 쿼리가 있을 겁니다.

phpmyadmin이나 mysql관리툴에서 쿼리를 실행해 보세요. 

phpmyadmin 사용하고 있습니다.

제가 한번도 DB관리툴에 접속을 한 적이 없어요.

관리툴에 접속한 후 어떡해 해야 하는지 좀 상세히 알려주실 수 있나요.

이틀동안 헤메고 있어요. ㅠㅠ 

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

회원로그인

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