{{foreach from=$arr_b item=data}} {{if $smarty.get.act eq "edit2" && $smarty.get.St_sn eq $data.student_sn && $data.move_id eq $smarty.get.move_id }}