25 lines
983 B
PHP
25 lines
983 B
PHP
|
<?php
|
||
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
||
|
?>
|
||
|
<?php if (!isset($noContainer) || !$noContainer): ?>
|
||
|
<div class="col-xs-12 col-md-4">
|
||
|
<?php endif; ?>
|
||
|
<div class="card">
|
||
|
<a href="<?= base_url('user/' . $username) ?>">
|
||
|
<img src="<?= $header_image ?>?w=350" class="card-img-top" alt="Header Image">
|
||
|
</a>
|
||
|
<a href="<?= base_url('user/' . $username) ?>">
|
||
|
<img src="<?= $profile_picture ?>?w=100" class="img-fluid rounded-circle card-profile-picture" alt="Profile Picture">
|
||
|
</a>
|
||
|
<div class="card-body">
|
||
|
<a href="<?= base_url('user/' . $username) ?>">
|
||
|
<h5 class="card-title"><?= $displayname ?></h5>
|
||
|
</a>
|
||
|
<a href="<?= base_url('user/' . $username) ?>">
|
||
|
<small class="card-text"><?= $about ?></small>
|
||
|
</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
<?php if (!isset($noContainer) || !$noContainer): ?>
|
||
|
</div>
|
||
|
<?php endif; ?>
|