// if (strpos($_SERVER['REQUEST_URI'],"item.php") !== false) { if ($_REQUEST['it_id']) { $share_http_host = $_SERVER['HTTP_HOST']; $share_request_uri = $_SERVER['REQUEST_URI']; $share_url = 'https://' . $share_http_host . $share_request_uri; $share_it_id = $_REQUEST['it_id']; $sql = " select a.*, b.ca_name, b.ca_use from {$g5['g5_shop_item_table']} a, {$g5['g5_shop_category_table']} b where a.it_id = '$share_it_id' and a.ca_id = b.ca_id "; $share_it = sql_fetch($sql); $img = get_image_origin($it['it_img1'], $default['de_mimg_width'], $default['de_mimg_height']); // 공유 이미지 썸네일 $share_img_arr = explode('"', $img); $share_img = $share_img_arr[1]; ?> }else{ ?> } ?>