Exemplo n.º 1
0
echo "ที่อยู่: ";
echo getsqldata('select concat(h.address," ม. ",v.village_moo,t.full_name) cc  from house h join village v on (v.village_id=h.village_id) join thaiaddress t on (t.addressid=v.address_id) where house_id="' . $obj->house_id . '"');
?>
                            <br>
                            <?php 
echo "วันเกิด :";
echo datethai($obj->birthdate);
echo "  ";
?>
                            <?php 
echo "อายุ : {$obj->age_y}  ปี {$obj->age_m}  เดือน {$obj->age_d} วัน";
?>
</font> <br />
                            <?php 
echo "สิทธิการรักษา :";
echo getsqldata('select name as cc from pttype where pttype="' . $obj->pttype . '"');
?>
                            </div>
                </td>
            </tr>
            </tbody>
        </table>

    
</li>
        <li data-role="list-divider" >
            <h4>ข้อมูลโรคเรื้อรัง(เบาหวานและความดันโลหิตสูง)</h4>
        </li>
        <li>
                                <table class="table-stroke my-style" id="home_visit_guide" data-role="table" data-mode="reflow" data-filter="false" data-filter-placeholder="ค้นหา...">
                        <thead>
Exemplo n.º 2
0
                    //url: "ncd_clinic/callajax.php",
                    url: "popup.php?m=ncd_clinic&a=callajax",
                    cache: false,
                    data: formData,
                    success: onSuccess,
                    error: onError
                });
  
                return false;
            });
        });
    </script>
    
    <ul data-role="listview" data-inset="true" data-divider-theme="a">
        <li data-role="list-divider"><h4>ทะเบียนผู้<?php 
echo getsqldata("select name as cc from clinic  where clinic='" . $_REQUEST['clinic'] . "'");
?>
</h4></li>
        <li>
<form class="ui-grid-b" id="callAjaxForm">
    <div class="ui-block-a">
        <div class="ui-field-contain" >
        <label for="member_status" >สถานะ :</label>    
                <select name="member_status[]" id="member_status[]" multiple="multiple" data-native-menu="false"  data-mini="true" data-icon="bullets" data-iconpos="right">
                 <option value="">Choices:</option>
                 <option value="1">One</option>
                 <option value="2">Two</option>
                 <option value="3">Three</option>
                </select>
        </div>
    </div>
Exemplo n.º 3
0

        
<div class="ui-corner-all custom-corners">
  <div class="ui-bar ui-bar-a">
    <h4>HHC Visit Guide : <?php 
echo getsqldata("select person_visit_type_name as cc from person_visit_type where person_visit_type_id={$visit_type}");
?>
 </h4>
    <p>เลือกรายการที่ตรงกับคำบอกเล่าจากผู้ป่วย</p>
  </div>
  <div class="ui-body ui-body-a">
      <form action="#">
        <fieldset data-role="controlgroup">
            <legend><?php 
echo getsqldata("select hhc_guideline_list_subtype_name as cc from hhc_guideline_list_subtype where hhc_guideline_list_subtype_id=1");
?>
:</legend>
    <?php 
$sql_guide_list = "select hhc_guideline_list_id,hhc_guideline_list_text,hhc_guideline_list_subtype_name ";
$sql_guide_list .= "from hhc_guideline_list g1 ";
$sql_guide_list .= "join hhc_guideline_list_subtype g2 using (hhc_guideline_list_subtype_id) ";
$sql_guide_list .= "where hhc_guideline_list_subtype_id=1 and person_visit_type_id={$visit_type}";
$row = 1;
$obj_detail = db_loadList($AppUI, $sql_guide_list, NULL);
foreach ($obj_detail as $key_detail) {
    ?>