Webmastersite.net
Register Log In

IF CATID not working?

Title IF CATID not working?
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
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership fusionx
Views 522 views. Averaging 0 views per day.
Similar Topics
Submission Date Dec 20, 2008 - 9:31 AM