This goes to the postbit
<if $post['regdate']+(60*60*24*182) <= TIME_NOW then><div class="postbit-time postbit-time-halfyear" style="margin-top: 3px;">1/2 Year of Service</div></if>
<if $post['regdate']+(60*60*24*365) <= TIME_NOW then><div class="postbit-time postbit-time-halfyear" style="margin-top: 3px;color: #85AE31;">One Year of Service</div></if>
<if $post['regdate']+(60*60*24*700) <= TIME_NOW then><div class="postbit-time postbit-time-halfyear" style="margin-top: 3px;color: red;">Two Years of Service</div></span></if>
</div>
CSS:
.postbit-time-halfyear {
color: #2574A9
}
.postbit-time {
width: 140px;
padding: 4px 0;
text-align: center;
border-radius: 3px;
font-size: 11px;
text-shadow: none;
margin: 0 auto;
font-weight: 500;
background: #181818
}
This was coded by me, Dont copy it to other forums.
<if $post['regdate']+(60*60*24*182) <= TIME_NOW then><div class="postbit-time postbit-time-halfyear" style="margin-top: 3px;">1/2 Year of Service</div></if>
<if $post['regdate']+(60*60*24*365) <= TIME_NOW then><div class="postbit-time postbit-time-halfyear" style="margin-top: 3px;color: #85AE31;">One Year of Service</div></if>
<if $post['regdate']+(60*60*24*700) <= TIME_NOW then><div class="postbit-time postbit-time-halfyear" style="margin-top: 3px;color: red;">Two Years of Service</div></span></if>
</div>
CSS:
.postbit-time-halfyear {
color: #2574A9
}
.postbit-time {
width: 140px;
padding: 4px 0;
text-align: center;
border-radius: 3px;
font-size: 11px;
text-shadow: none;
margin: 0 auto;
font-weight: 500;
background: #181818
}
This was coded by me, Dont copy it to other forums.