HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vhost/disk-apps/pwa.sports-crowd.com/src/app/pages/player-detail/player-detail.page.html
<ion-header class="ion-no-border">
  <ion-toolbar>
    <ion-buttons slot="start">
      <ion-back-button></ion-back-button>
    </ion-buttons>
    <ion-title>Jugador</ion-title>
  </ion-toolbar>
</ion-header>

<ion-content>
  <div class="containter-title">
    <div class="user_info">
      <div class="avatar"
        style="background: url({{playersService.playerSelected?.image}}); background-size: contain; background-repeat: no-repeat; background-position: center;">
      </div>
      <div>
        <p class="name">{{ playersService.playerSelected.name }}</p>
        <p class="position">{{ playersService.playerSelected.has_one_position?.name }}</p>
      </div>
    </div>
    <ion-icon *ngIf="playersService.playerSelected.instagram"
      (click)="goToInstagram(playersService.playerSelected.instagram)" name="logo-instagram"></ion-icon>
  </div>
  <div class="content">
    <div class="container-title-position">
      <h1 class="title_position">Datos</h1>
    </div>
    <div class="card_rounded">
      <div class="content_player">
        <div class="card_data">
          <span class="title_data">{{ 'players.country' | translate }}</span>
          <span class="content_data">{{ playersService.playerSelected.has_one_countries?.name }}</span>
        </div>
        <div class="card_data">
          <span class="title_data">{{ 'players.age' | translate }}</span>
          <span class="content_data">{{ playersService.playerSelected.age }} aƱos</span>
        </div>
        <div class="card_data">
          <span class="title_data">Dorsal</span>
          <span class="content_data">{{ playersService.playerSelected.number }}</span>
        </div>
      </div>

      <div class="content_player">
        <div class="card_data">
          <span class="title_data">{{ 'players.birth' | translate }}</span>
          <span class="content_data">{{ playersService.playerSelected?.date_of_birth }}</span>
        </div>
        <div class="card_data">
          <span class="title_data">{{ 'players.games' | translate }}</span>
          <span class="content_data">{{ playersService.playerSelected.height }} cm</span>
        </div>
        <div class="card_data">
          <span class="title_data">{{ 'players.goals' | translate }}</span>
          <span class="content_data">{{ playersService.playerSelected.honors }}</span>
        </div>
      </div>
    </div>

    <div class="container-title-position">
      <h1 class="title_position">{{ 'players.biography' | translate }}</h1>
    </div>
    <div class="content_player">
      <div class="card_player" style="width: 100%;">
        <p style="margin-bottom: 0px;">{{ playersService.playerSelected.biography }}</p>
      </div>
    </div>

    <div class="container-title-position">
      <h1 class="title_position">{{ 'players.debut' | translate }}</h1>
    </div>
    <div class="content_player">
      <div class="card_player" style="width: 100%;">
        <p style="margin-bottom: 0px;"><b>Fecha: </b>{{ playersService.playerSelected.date_of_debut }}</p>
        <p style="margin-bottom: 0px;"><b>{{ 'players.rival-debut' | translate }}: </b>{{
          playersService.playerSelected.rival_team_debut }}</p>
      </div>
    </div>

    <div class="container-title-position">
      <h1 class="title_position">{{ 'players.achievements' | translate }}</h1>
    </div>
    <div class="content_player" *ngIf="playersService.playerSelected.achievements">
      <div class="card_player" style="width: 100%; margin-bottom: 24px;">
        <ul>
          <li *ngFor="let item of playersService.playerSelected.achievements.split(',')">{{item}}</li>
        </ul>
      </div>
    </div>
  </div>
</ion-content>