?> </td> <td align="center" > <?php echo $data->GetStringData("select timestampdiff(year,p.birth,curdate()) as cc from person as p where pid='" . $r->pid . "'"); ?> </td> <td align="center"> <?php echo $r->addr; ?> </td> <td align="center"> <button data-theme="b" id="button1" type="submit" data-ajax="false" data-mini="true" class="ui-btn ui-btn-b ui-btn-corner-all ui-btn-inline " aria-disabled="false" onclick="window.location='index.php?url=<?php echo $encode->encodeUrl("page/opd/opd_screen.php"); ?> &pid=<?php echo $encode->encodeUrl($r->pid); ?> '">ส่งตรวจ</button> </td> </tr> <?php } ?> </tbody> </table> </div>
?> </td> <td align="center" > <?php echo $data->GetStringData("select timestampdiff(year,p.birth,curdate()) as cc from person as p where pid='" . $r->pid . "'"); ?> </td> <td align="center"> <?php echo $r->addr; ?> </td> <td align="center"> <button data-theme="b" id="button1" type="submit" data-mini="true" class="ui-btn ui-btn-b ui-btn-corner-all ui-btn-inline " aria-disabled="false" onclick="window.location='index.php?url=<?php echo $encode->encodeUrl("page/familyfolder/person_detail.php"); ?> &pid=<?php echo $encode->encodeUrl($r->pid); ?> '">เลือก</button> </td> </tr> <?php } ?> </tbody> </table> </div>