今日定位:
$rs){
$imgs = '

';
if(isempt($rs['imgpath']) || !file_exists($rs['imgpath']))$imgs='';
echo '
'.($k+1).'.'.substr($rs['optdt'],11).'('.$rs['label'].')'.$imgs.',
[查看]';
}
if($rows)echo '
今日我的外勤:
';
foreach($rows as $k=>$rs){
echo '
'.($k+1).'.['.$rs['atype'].']'.$rs['address'].','.$rs['reason'].'('.$rs['outtime'].')
';
}
?>