{if $ci->db->where('uid', $member['uid'])->where('DATEDIFF(from_unixtime(`time`),now())=0')->get('app_qiandao_value')->row_array()} 今天已签到 {/if}
http://www.htmltoo.com/