if ($hasil != "") {
         $editDetail = true;
         edit_practice($smarty, $hasil);
         drawScoreCare($smarty, $hasil);
     } else {
         $editDetail = false;
         create_practice($smarty);
     }
     break;
 case "savepractice":
     save_practice($smarty);
     refreshList($smarty, $showList);
     break;
 case "checklist":
     $showDetail = true;
     checklist($smarty, $editDetail);
     break;
 case "updatelist":
     $showDetail = true;
     updatelist($smarty, $editDetail);
     break;
 case "editscore":
     $showScore = true;
     editScore($smarty, $_REQUEST['id']);
     break;
 case "savescore":
     saveScore();
     $showDetail = true;
     $editDetail = true;
     edit_practice($smarty, trim($_REQUEST['id']));
     break;
示例#2
0
<div class="pagina checklist">
	<h1 align="center">Folio: <?php 
        echo $d["id"];
        ?>
</h1>
    <div align="center" class="datos" style="width:99%; margin:0 auto;">
    	<h2>Nombre: <?php 
        echo $d["NOMBRE"] . " " . $d["APELLIDOS"];
        ?>
</h2>
        <h2><?php 
        echo $examen;
        ?>
</h2>
        <?php 
        $tbl_chk = checklist($exs);
        ?>
        <table border="0" style="width:100%;">
        	<tr>
            	<td align="center" style="width:50%;" valign="top">
                	<table style="margin:10px auto;">
                    	<tr><td style="width:100%;" align="center"><?php 
        echo $tbl_chk[0];
        ?>
</td></tr>
                        <tr><td style="width:100%;" align="center"><?php 
        echo $tbl_chk[1];
        ?>
</td></tr>
                    </table>
                    <style>