{table table_site=store_goods_promotion type=1}
{php $data = \Phpcmf\Service::M()->table(SITE_ID.'_store')->where('`id` IN (select cid from `'.\Phpcmf\Service::M()->dbprefix(SITE_ID.'_store_goods_promotion_item').'` where pid='.$t.id.')')->getAll();}