Example #1
0
            </tr>
            <tr>
                <td>Select Semester</td>
                <td align="right"><select name="vtsem" id="vtsem"  style="margin:0; width:100%;" required>
_END;
        loadSem();
        echo <<<_END
                </select>
                </td>
            </tr>
            <tr>
                <td align="center" colspan="2">
                    <input type="button" class="button" name="loadtm" id="loadtm" value="Load">
                </td>
            </tr>
                    
           </table>
_END;
        echo '<input type="hidden" name="dept" id="dept" value="' . loadFacultyDept() . '">';
        echo '<input type="hidden" name="user" id="user" value="' . $user . '">';
        echo '<input type="hidden" name="fac_id" id="fac_id" value="' . $_SESSION['fac_id'] . '">';
        echo '</div>';
        echo '</div>';
        echo '</div>';
    } else {
        echo '<br><br><span class="error">Access Denied! You are not authorized to view this section</span>';
    }
} else {
    echo '<br><br><span class="error">Please sign up and/or login to use the system</span>';
}
require_once 'functions/footer.php';
Example #2
0
        ?>
    <div class="container">
    <div id="left">
<?php 
        echo '<br><div id="datepicker" style="font-size:0.7em;"></div>';
        ?>
   </div>
    <div id="right">    
        <form method="post" id="form1">
          <center>
            <table cellspacing="10" cellpadding="4" border="0" bgcolor="#00eeee">
                <th colspan="2" align="center">Search Student Information</th>
                <tr>
                    <td>Select Department</td>
                    <td><input type="text" name="srdept" id="srdept" required value="<?php 
        echo loadFacultyDept();
        ?>
" readonly="true">
                    </td>
                </tr>
                <tr>
                    <td>Select Semester</td>
                    <td><select name="srsem" id="srsem"  required>
                        <?php 
        loadSem();
        ?>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td>Select Year</td>