if($item->sell_method == 0)
{
$filename = preg_replace('/[^\p{L}\p{N}\s]/u','', md5(config_item('encryption_key').$item->name));
$uppath = './assets/uploads/'.preg_replace('/[^\p{L}\p{N}\s]/u','', md5(config_item('encryption_key').$filename.$item->name)).'/';
$data = file($uppath.$filename);
if(empty($data))
{
$item->count = '0';
}
else
{
$item->count = count($data);
$item->goods = "";
}
}