{if $node.node_bookmark neq "yes"}
    <input type="submit" name="event" value="book" class="book_b" />
{else}
    <input type="submit" name="event" value="unbook" class="book_b" />
{/if}

{if $fook[$node.node_id] neq true}
    <input type="submit" name="event" value="fook" class="fook_b" />
{else}
    <input type="submit" name="event" value="unfook" class="fook_b" />
{/if}

{if $node.node_bookmark neq "yes"}
  <br />
  {get_bookmark_categories}
  {count assign=bookcat_count value=$get_bookmark_categories}
  {if $bookcat_count > 0}
    <select name="bookcat_id">
      <option value="0"></option>
      {foreach from=$get_bookmark_categories item=bookcat}
        <option value="{$bookcat.node_id}">{$bookcat.node_name|strip_tags:false|truncate:18:"..."|escape:'html'}</option>
      {/foreach}
    </select>
  {/if}
{/if}

{if $node.external_link eq "db://user"}
    <br />
    {if $ignore[$node.node_id] neq true}
        <input type="submit" name="event" value="ignore" class="ignore_b" />
    {else}
        <input type="submit" name="event" value="unignore" class="ignore_b" />
    {/if}

    {if $friends[$node.node_id] neq false}
        <input type="submit" name="event" value="unfriend" class="unfriend_b" />
    {/if}

    {if $ignore_mail[$node.node_id] neq true}
        <input type="submit" name="event" value="ignore_mail" class="ignore_mail_b" />
    {else}
        <input type="submit" name="event" value="unignore_mail" class="ignore_mail_b" />
    {/if}
{/if}