CSS pievienojam so kodu:
Code
<style>
.commentnote{text-align:center;background-color:#fff;border:1px solid #ff8a00;padding:20px;font-weight:bold}
</style>
Aizstājam esosho ar sho:
Code
<?if($USER_LOGGED_IN$)?><div class="commentnote">Tev jābūt <a href="/index/3">autorizētam</a>, lai varētu atstāt komentāru. Varbūt vēlies <a href="/index/3">reģistrāties</a>?</div><?endif?>
Iznākums:
rips no sportacentrs.com