dog image fixed
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s

This commit is contained in:
Chris 2023-10-29 17:43:26 +01:00
parent 1931547d3c
commit e9a718ee96

View File

@ -4,11 +4,10 @@
<div class="row"> <div class="row">
<div class="col-3"> <div class="col-3">
<div class="card"> <div class="card">
<img src="<?= $dogdata['photo']?:'https://pictshare.net/1ch3e5.png' ?>/300x170/fixedsize" class="card-img-top" alt="<?= escape($dogdata['name']); ?>'s profile Picture"> <img src="<?= $dogdata['photo']?:'https://pictshare.net/1ch3e5.png' ?>/300x200/forcesize" class="card-img-top" alt="<?= escape($dogdata['name']); ?>'s profile Picture">
<div class="card-body"> <div class="card-body">
<h5 class="card-title"><?= escape($dogdata['name']); ?></h5> <h5 class="card-title"><?= escape($dogdata['name']); ?></h5>
<p class="card-text"> <p class="card-text">
<ul> <ul>
<li>Alter: <?= date_diff(date_create($dogdata['birthday']), date_create('now'))->y ?></li> <li>Alter: <?= date_diff(date_create($dogdata['birthday']), date_create('now'))->y ?></li>