<!DOCTYPE html>
<html>
  <head>
    <title>プログラムのソースと実行結果の表示例</title>
    <meta http-equiv="Content-Type" content="text/html; charset=EUC-JP" />
    <link rel="stylesheet" href="../../../../../../../css/inline_frame.css" type="text/css">
    <meta name="description" content="プログラムのソースと実行結果の表示例.">
  </head>
  
  <body>
    <?php include "../../../../../../../www_func/mk_html.php"; ?>
    <h1>iframe を使ったプログラムのソースと実行結果の表示例</h1>

    <!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
    <h2>表示の例</h2>
    <!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
    <!-- ========================================================= -->
    <h3>プログラム</h3>
    <!-- ========================================================= -->
    <p>プログラムは,以下のとおりです.</p>

    <div class="program_source">
      <pre class="program_source"><?php source2html("cal.py", "#", 0, 0, 0, 4, array()); ?></pre>
    </div>
  
    <!-- ========================================================= -->
    <h3>実行結果</h3>
    <!-- ========================================================= -->
    <p>プログラムの実行結果です..</p>
    <div class="program_result">
      <pre class="program_result"><?php source2html("cal_result.txt", "#", 0, 0, 0, 4, array()); ?></pre>
    </div>
     
  </body>
</html>