$v){
if($tgr['jt_ct_num']>=$v['rynum']){
$price=$v['price'];
}
}
return $market_price-$price;
}
function get_quan_list_img($img){
if(strpos($img,"http") !== false){
return $img;
}else{
return getImg($img,NOIMG);
}
}
function replay_huiche($word){
$word= str_replace("\r\n", "
", $word);
$word= str_replace("\n", "
", $word);
$word= str_replace("\r","
", $word);
return $word;
}
function str_is_has($long,$item){
if (strpos($long, $item) !== false) {
return 1;
} else {
return 0;
}
}