Help with a code

Discussion in 'PHP' started by mimptres, Sep 30, 2009.

  1. #1
    Hi, im trying to midified a version of kubelance, here are a table with some variables:

    <td><a href="{BIDS.link}">{BIDS.username}</a> IF("{BIDS.online}"=="1"){(Online){:IF}</td>
    <td>{CURRENCY_SIGN}{BIDS.bid_amount}</td>
    <td>{BIDS.bid_days} {LANG_DAYSB}</td>
    <td>{BIDS.bid_date} {LANG_AT} {BIDS.bid_time} {BIDS.bid_timezone}</td>

    I want this variable only show for x user group:

    <td>{CURRENCY_SIGN}{BIDS.bid_amount}</td>

    Im try with this code:</a></td>
    IF("{USER_TYPE}"!="provider"){<td width="2"><img src="{SITE_URL}templates/{TPL_NAME}/images/nav_sep.gif"></td><td style="cursor:pointer;padding-left:13px;padding-right:13px;" onclick="location.href='{SITE_URL}create_project.php'" onMouseOver="nav_over('createproj');" onMouseOut="nav_out('createproj');" id="ncreateproj"><a href="{SITE_URL}create_project.php" id="lcreateproj" class="topmenu">{CURRENCY_SIGN}{BIDS.bid_amount}</a></td>But now dont show me anything, please someone who can help me please.
     
    mimptres, Sep 30, 2009 IP
  2. superdav42

    superdav42 Active Member

    Messages:
    125
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #2
    I've never used this system before but it looks like you just need to close the if like it's done on the first line.
    IE. put
    {:IF}
    Code (markup):
    at the end
     
    superdav42, Sep 30, 2009 IP