Message Text |
I've got this in my wrapper.
<IF {CATID}>
<IF {CATCANSUBMITLINKS} or {SWITCH_DENIALPAGE}><img src="{IMAGESURL}/bullet.gif" alt="" class="bullet" /> <a href="suggest.php?action=addlink&catid={CATID}" title="Submit a New Business Listing">Add a Business</a>
</IF><br />
<IF {CATCANSUBMITSUBS}><img src="{IMAGESURL}/bullet.gif" alt="" class="bullet" /> <a href="suggest.php?action=addcat&parent={CATID}" title="Submit a New Sub Category for Consideration">Submit Subcategory</a>
</IF>
<ELSE>
<IF {CATCANSUBMITLINKS} or {SWITCH_DENIALPAGE}><img src="{IMAGESURL}/bullet.gif" alt="" class="bullet" /> <a href="suggest.php?action=addlink&catid=0" title="Submit a New Business Listing">Add a Business</a>
</IF><br />
<IF {CATCANSUBMITSUBS}><img src="{IMAGESURL}/bullet.gif" alt="" class="bullet" /> <a href="suggest.php?action=addcat&parent=0" title="Submit a New Category for Consideration">Submit Category
</a></IF>
</IF>
When a member is logged in, the Submit links look like:
www.inpanamacity.com/sugges...=addlink&catid={CATID}
I would think that the IF would be non positive and use the ELSE, resulting in CATID=0 |