Ejemplo n.º 1
0
    echo $positionEXCO['id'];
    ?>
" style="font-weight:bold;"><?php 
    echo $positionEXCO['name'];
    ?>
</span>
                    </td>
                    <?php 
    foreach ($teamsEXCO as $teamEXCO) {
        ?>
                        <td  id="<?php 
        echo $positionEXCO['id'] . '-' . $teamEXCO['id'];
        ?>
">
                            <?php 
        if ($objPosition->checkPositionInTeam($positionEXCO['id'], $teamEXCO['id'])) {
            $disabled = $objPosition->checkPositionTeamExistsInInvolvements($positionEXCO['id'], $teamEXCO['id']);
            ?>
                                <a href="#" class="changePositionInTeam <?php 
            echo $disabled;
            ?>
" data-value="1">Yes</a>
                            <?php 
        } else {
            ?>
                                <a href="#" class="changePositionInTeam" data-value="0">No</a>
                            <?php 
        }
        ?>
                        </td>
                    <?php