示例#1
0
?>

<div style='float:none; margin-top: 10px; margin-right:20px'>
    <table>
    <tr>
        <td>
            <!-- Demographics -->
            <div id="HIS">
                <ul class="tabNav">
                   <?php 
display_layout_tabs('HIS', $result, $result2);
?>
                </ul>
                <div class="tabContainer">
                   <?php 
display_layout_tabs_data('HIS', $result, $result2);
?>
                </div>
            </div>
        </td>
    </tr>
    </table>
</div>

<script language='JavaScript'>
    // Array of skip conditions for the checkSkipConditions() function.
    var skipArray = [
        <?php 
echo $condition_str;
?>
    ];
示例#2
0
$widgetButtonClass = "";
$linkMethod = "html";
$bodyClass = "";
$widgetAuth = acl_check('patients', 'demo', '', 'write');
$fixedWidth = true;
expand_collapse_widget($widgetTitle, $widgetLabel, $widgetButtonLabel, $widgetButtonLink, $widgetButtonClass, $linkMethod, $bodyClass, $widgetAuth, $fixedWidth);
?>
         <div id="DEM" >
          <ul class="tabNav">
           <?php 
display_layout_tabs('DEM', $result, $result2);
?>
          </ul>
          <div class="tabContainer">
           <?php 
display_layout_tabs_data('DEM', $result, $result2);
?>
          </div>
         </div>
        </div> <!-- required for expand_collapse_widget -->
       </td>
      </tr>

      <tr>
       <td>
<?php 
$insurance_count = 0;
foreach (array('primary', 'secondary', 'tertiary') as $instype) {
    $enddate = 'Present';
    $query = "SELECT * FROM insurance_data WHERE " . "pid = ? AND type = ? " . "ORDER BY date DESC";
    $res = sqlStatement($query, array($pid, $instype));