예제 #1
0
파일: player.php 프로젝트: nsystem1/ZeeJong
                          <li class="list-group-item">
                            <b>First name</b>: <?php 
echo $this->player->getFirstName();
?>
                          </li>

                          <li class="list-group-item">
                            <b>Last name</b>: <?php 
echo $this->player->getLastName();
?>
                          </li>

                          <li class="list-group-item">
                            <b>Nationality</b>: <?php 
echo getCountryFlag($this->player->getCountry()->getName());
?>
 <a href="<?php 
echo SITE_URL . 'country/' . $this->player->getCountry()->getId();
?>
"><?php 
echo $this->player->getCountry()->getName();
?>
</a>
                          </li>


                          <li class="list-group-item">
                            <b>Date of birth</b>: <?php 
echo date('d M Y', $this->player->getDateOfBirth());
?>
예제 #2
0
              <li class="list-group-item">
                <b>First name</b>: <?php 
echo $this->referee->getFirstName();
?>
              </li>

              <li class="list-group-item">
                <b>Last name</b>: <?php 
echo $this->referee->getLastName();
?>
              </li>

              <li class="list-group-item">
                <b>Nationality</b>: <?php 
echo getCountryFlag($this->referee->getCountry()->getName());
?>
<a href="<?php 
echo SITE_URL . 'country/' . $this->referee->getCountry()->getId();
?>
"><?php 
echo $this->referee->getCountry()->getName();
?>
</a>
              </li>


            </ul>

        </div>
예제 #3
0
파일: match.php 프로젝트: nsystem1/ZeeJong
                        </tbody>
                    </table>


                </div>



                <div class="panel-footer">
                        Coach:
                        <?php 
if ($coach = $this->match->getTeamB()->getCoachForMatch($this->match->getId())) {
    ?>
                            <?php 
    echo getCountryFlag($coach->getCountry()->getName());
    ?>
<a href="<?php 
    echo SITE_URL . 'coach/' . $coach->getId();
    ?>
"><?php 
    echo $coach->getName();
    ?>
</a>
                        <?php 
} else {
    ?>
                            Not found
                        <?php 
}
?>
예제 #4
0
파일: team.php 프로젝트: nsystem1/ZeeJong
                </thead>


                <tbody>


                    <?php 
foreach ($this->team->getPlayers() as $player) {
    ?>

                        <tr>

                            <td>
                                <?php 
    echo getCountryFlag($player->getCountry()->getName());
    ?>
<a href="<?php 
    echo SITE_URL . 'player/' . $player->getId();
    ?>
"><?php 
    echo $player->getName();
    ?>
</a>
                            </td>


                        </tr>

                        <?php 
}
예제 #5
0
파일: coach.php 프로젝트: nsystem1/ZeeJong
              <li class="list-group-item">
                <b>First name</b>: <?php 
echo $this->coach->getFirstName();
?>
              </li>

              <li class="list-group-item">
                <b>Last name</b>: <?php 
echo $this->coach->getLastName();
?>
              </li>

              <li class="list-group-item">
                <b>Nationality</b>: <?php 
echo getCountryFlag($this->coach->getCountry()->getName());
?>
<a href="<?php 
echo SITE_URL . 'country/' . $this->coach->getCountry()->getId();
?>
"><?php 
echo $this->coach->getCountry()->getName();
?>
</a>
              </li>


            </ul>

        </div>