diff options
| author | Carson Fleming <cflems@cflems.net> | 2017-04-13 19:43:30 -0400 |
|---|---|---|
| committer | Carson Fleming <cflems@cflems.net> | 2017-04-13 19:43:30 -0400 |
| commit | d85e6f791413422c74f4a1f5119a891ae19b8d17 (patch) | |
| tree | 6103e42e9e7a430df4fbd7e6b282391b28d3aec0 /dash/ads.php | |
| parent | 3532ad23553572ef91a9f079eadc6b7454f0cd3a (diff) | |
| download | bulletin-d85e6f791413422c74f4a1f5119a891ae19b8d17.tar.gz | |
Forced profile completion for policy reasons
Diffstat (limited to 'dash/ads.php')
| -rw-r--r-- | dash/ads.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/dash/ads.php b/dash/ads.php index 7c365ff..f0f6836 100644 --- a/dash/ads.php +++ b/dash/ads.php @@ -21,12 +21,7 @@ if ($b_user['type'] == 'EMPLOYER' && $b_user['id'] == $row['uid']) echo ' </div> <div id="fjfooter"> <div id="fjfleft"> -<?php -if (is_null($row['picture'])) - echo ' <img id="propic" src="uimg/default.png" alt="Profile Picture" />'.PHP_EOL; -else - echo ' <img id="propic" src="uimg/'.intval($row['picture']).'.png" alt="Profile Picture" />'.PHP_EOL; -?> + <img id="propic" src="<?=picture_format($row['picture']);?>" alt="Profile Picture" /> <p id="ename"><a href="profile.php?id=<?=$row['uid'];?>"><?=htmlentities($row['name']);?></a></p> <p id="erating"><?=rating_format($row['rating']);?></p> <h4>Contact Information</h4> |
