2022-02-09 03:05:24 +09:00
|
|
|
<?
|
|
|
|
|
include_once("./_common.php");
|
|
|
|
|
|
|
|
|
|
$item = sql_fetch("select * from {$g5['shop_table']} shop, {$g5['item_table']} item where shop.it_id = item.it_id and shop.sh_id = '{$sh_id}'");
|
|
|
|
|
|
|
|
|
|
if($item['sh_id']) {
|
|
|
|
|
|
|
|
|
|
$money = "";
|
|
|
|
|
$add_str = "";
|
|
|
|
|
|
2022-12-01 00:07:40 +09:00
|
|
|
if($item['sh_money'] && $item['sh_use_money']) {
|
2022-02-09 03:05:24 +09:00
|
|
|
$money .= $add_str.$item['sh_money'].' '.$config['cf_money_pice'];
|
|
|
|
|
$add_str = ", ";
|
|
|
|
|
}
|
|
|
|
|
|
2022-12-01 00:07:40 +09:00
|
|
|
if($item['sh_exp'] && $item['sh_use_exp']) {
|
2022-02-09 03:05:24 +09:00
|
|
|
$money .= $add_str.$item['sh_exp'].' '.$config['cf_exp_pice'];
|
2022-12-01 00:07:40 +09:00
|
|
|
$add_str = ", ";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if($item['sh_has_item'] && $item['sh_use_has_item']) {
|
|
|
|
|
$item['sh_has_item_count'] = ($item['sh_has_item_count'] == '' || $item['sh_has_item_count'] == '0') ? 1 : $item['sh_has_item_count'];
|
|
|
|
|
$money .= $add_str.get_item_name($item['sh_has_item']).' '.$item['sh_has_item_count'].'개';
|
|
|
|
|
$add_str = ", ";
|
2022-02-09 03:05:24 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if($item['it_content2']) {
|
|
|
|
|
$item['it_content'] .= "<br />(".$item['it_content2'].")";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(defined('G5_THEME_PATH') && is_file(G5_THEME_PATH."/shop/shop.item.skin.php")) {
|
|
|
|
|
include(G5_THEME_PATH."/shop/shop.item.skin.php");
|
|
|
|
|
} else {
|
|
|
|
|
include(G5_PATH."/shop/skin/shop.item.skin.php");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
?>
|