titter |
06-11-2006 08:10 AM |
timeslip postbit help
Code:
<div><if condition="$post[field53]>0 && $post[field54]>0 && $post[field52]>0">
<span class="smallfont">Best 1/4 Mile Run: <br> $post[field55]@$post[field56] MPH $post[field52] 60'</span>
</if>
<if condition="$post[field55]>0 && $post[field56]>0 && $post[field52]==0">
<span class="smallfont">Best 1/4 Mile Run: <br> $post[field55]@$post[field56] MPH</span>
</if></div>
<br>
<div><if condition="$post[field53]>0 && $post[field54]>0 && $post[field52]>0">
<span class="smallfont">Best 1/8 Mile Run: <br> $post[field53]@$post[field54] MPH $post[field52] 60'</span>
</if>
<if condition="$post[field53]>0 && $post[field54]>0 && $post[field52]==0">
<span class="smallfont">Best 1/8 Mile Run: <br> $post[field53]@$post[field54] MPH</span>
</if></div>
I reworked a postbit code into this ... everything works fine expect when people only post a 1/8th time. If they post a 1/8th time with or without a 60' the 1/4th time still shows up in the postbit. It doesnt do this if they only have a 1/4th time and no 1/8th, the 1/8th doesnt show up at all ... which is what i want it to do for the people who only post 1/8th times.
www.mobmototb.com/forums/ is the site in question.
anyone?
|