testare igen
18:e januari, 21:13 2023 i forumet Utveckling - Test
[code]<div class="col-2 text-center">
<? if(($thread['last_active'] >= $active_time2) && ($thread['last_active'] >= $active_time1)){ ?>
<i class="fa-solid fa-globe"></i>
<? } ?>
<a href="?p=user&id=<? echo $thread["user_id"]; ?>"><? echo $thread["username"]; ?></a>
<img src="img/profile_pic.jpg" width="100" height="120">
</div>
[/code]
<? if(($thread['last_active'] >= $active_time2) && ($thread['last_active'] >= $active_time1)){ ?>
<i class="fa-solid fa-globe"></i>
<? } ?>
<a href="?p=user&id=<? echo $thread["user_id"]; ?>"><? echo $thread["username"]; ?></a>
<img src="img/profile_pic.jpg" width="100" height="120">
</div>
[/code]
Svar:
[code]<div class="col-2 text-center">
<? if(($thread['last_active'] >= $active_time2) && ($thread['last_active'] >= $active_time1)){ ?>
<i class="fa-solid fa-globe"></i>
<? } ?>
<a href="?p=user&id=<? echo $thread["user_id"]; ?>"><? echo $thread["username"]; ?></a>
<img src="img/profile_pic.jpg" width="100" height="120">
</div>[/code]
<? if(($thread['last_active'] >= $active_time2) && ($thread['last_active'] >= $active_time1)){ ?>
<i class="fa-solid fa-globe"></i>
<? } ?>
<a href="?p=user&id=<? echo $thread["user_id"]; ?>"><? echo $thread["username"]; ?></a>
<img src="img/profile_pic.jpg" width="100" height="120">
</div>[/code]