コード例 #1
0
';
                                                         }
                                                         ).fail(failAlert);
                                                 "></td><td class="blank"></td></tr>
                </table>	
            </td>	

            <td rowspan="3">
                <h4>Programs Participated In:</h4>
                <!--
                List of all programs that the person participated in:
                -->

                <table class="inner_table">
                    <?php 
$gram = $user->get_programs();
$count = 0;
while ($program = mysqli_fetch_array($gram)) {
    $count = $count + 1;
    ?>
                        <tr>
                            <th colspan="3"><a style="font-size:1.1em;" href="../activities/program_profile.php?program=<?php 
    echo $program['Program_ID'];
    ?>
"><?php 
    echo $program['Program_Name'];
    ?>
</a><br/>
                                &nbsp;&nbsp;&nbsp;<a onclick="
                                            $('.prog_<?php 
    echo $count;
コード例 #2
0
        $(document).ready(function() {
            $('#participants_selector').addClass('selected');
        });
    </script>

    <div class="content_wide">
        <h3>Edit Survey Information</h3><hr/><br/>

        <?php 
    /*
     * Get all programs the user was involved with, in case the program was entered incorrectly:
     */
    include "../classes/user.php";
    $user = new Bickerdike_User();
    $user->load_with_user_id($response['User_ID']);
    $programs = $user->get_programs();
    ?>
        <a href="user_profile.php?id=<?php 
    echo $response['User_ID'];
    ?>
">Return to user profile</a><br/>
        Program in which survey was filled out: <select id="program_id">
            <option value="">-----</option>
            <?php 
    //list of all programs the surveyed person has been listed as a participant in:
    while ($program = mysqli_fetch_array($programs)) {
        ?>
                <option value="<?php 
        echo $program['Program_ID'];
        ?>
" <?php