[영카트-redshop 스킨] list.40.skin.php 파일을 오라클 연동으로 변경하려면 어딜 수정하면 될까요 ?

[영카트-redshop 스킨] list.40.skin.php 파일을 오라클 연동으로 변경하려면 어딜 수정하면 될까요 ?

QA

[영카트-redshop 스킨] list.40.skin.php 파일을 오라클 연동으로 변경하려면 어딜 수정하면 될까요 ?

본문

%3Clink%20rel%3D%22stylesheet%22%20href%3D%22'.G5_SHOP_CSS_URL.'%2Fstyle.css%22%3E', 0); // 관련상품 스킨은 사품을 한줄에 하나만 표시하며 해당 상품에 관련상품이 등록되어 있는 경우 기본으로 7개까지 노출합니다. ?> = 2) { // 1줄 이미지 : 2개 이상 if ($i%$list_mod == 0) $sct_last = ' sct_last'; // 줄 마지막 else if ($i%$list_mod == 1) $sct_last = ' sct_clear'; // 줄 첫번째 else $sct_last = ''; } else { // 1줄 이미지 : 1개 $sct_last = ' sct_clear'; } if ($i == 1) { if ($this->css) { echo "

  • css}\">\n"; } else { echo "
    • \n"; } } $list_top_pad = 20; $list_right_pad = 10; $list_bottom_pad = 20; $list_left_pad = $this->img_width + 10; $list_real_width = 1000; $list_width = $list_real_width - $list_right_pad - $list_left_pad; $list_height = $this->img_height - $list_top_pad - $list_bottom_pad; echo "
    • \n"; if ($this->href) { echo " \n"; } if ($this->view_it_icon) { echo "
      ".item_icon($row)."
      \n"; } if ($this->view_it_id) { echo "
      <".stripslashes($row['it_id']).">
      \n"; } if ($this->href) { echo " \n"; } if ($this->view_it_basic && $row['it_basic']) { echo "
      ".stripslashes($row['it_basic'])."
      \n"; } if ($this->view_it_cust_price || $this->view_it_price) { echo "
      \n"; if ($this->view_it_cust_price && $row['it_cust_price']) { echo "".display_price($row['it_cust_price'])."\n"; } if ($this->view_it_price) { echo display_price(get_price($row), $row['it_tel_inq'])."\n"; } echo "
      \n"; } if ($this->view_sns) { $sns_url = G5_SHOP_URL.'/item.php?it_id='.$row['it_id']; $sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']); echo "
      "; echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_fb_s.png'); echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_twt_s.png'); echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_goo_s.png'); echo "
      \n"; } // 관련상품 echo "
      ".relation_item($row['it_id'], 70, 0, 5)."
      \n"; echo "
    • \n"; } if ($i > 1) echo "
    \n"; if($i == 1) echo "

    등록된 상품이 없습니다.

    \n"; ?>

 

ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ ㅡ

 

MYSQL과 연동되어있는 영카트를 오라클로 변경하려고하는데

제가 초보자다보니 하루종일 붙잡고 있어도 진도가 1도 안나가지네요 ..

 

도대체 어디서부터 어떻게 시작해야할지 전혀 감을 못잡겠습니다.

 

오라클에서 상품명, 상품가, 상품이미지URL, 상품설명 등의 내용을 들고와서

영카트 기반으로 뿌릴려고하는데 ...

 

첫 단추 꾀기를 도와주실 선생님 혹시 계실까요 ?

이 질문에 댓글 쓰기 :

답변 1

db를 두개 쓰시는거 같습니다

 

기본적으로 db 연결이 mysql 또는 mariaDB로 연결되어있을걸로 예상됩니다.

 

이럴때는 connect를 오라클용으로 한개 더 만들어서 사용해야할거에요

 

/lib/common.lib.php에서

function sql_connect 디비 연결 부분이 있습니다

이걸 복사한 후 php에서 지원하는 오라클용으로 쓰시면 됩니다

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

회원로그인

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