<!-- ADDNODE | MARIN -->
{if $permissions.w eq true}

<div class='add_title' style='margin-bottom:2pt;'>
  title or keywords::
  <input type='text' name='node_name' value='{$post_vars.node_name}'>
  <input type='checkbox' name='no_html' value='yes'>&nbsp;NO HTML <!-- <input type='checkbox' name='code' value='yes'>&nbsp;code &nbsp;&nbsp;&nbsp;&nbsp;<input type='checkbox' name='code' value='yes'>&nbsp;code

  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;optional data file::<input type='file' name='data_file'>
  &nbsp;{$user_quota}bytez
-->
</div><!-- class='add_title' end -->

<textarea name='node_content' id='node_content'>{$post_vars.node_content|escape:"html"|stripslashes}</textarea>


  <div class='toolbar'>
  
  <input type='submit' value='add' name='event' />

  <!--
  <select name='template_id'>
  <option value='4'>submission</option>
  <option value='3'>forum</option>
  <option value='2'>nodeshell</option>
  <option value='8'>friend</option>
  </select>
  -->
  <input type='submit' value='preview' name='template_event' class='preview_button' />

  <input type='text' name='template_id' size=5 value='{if $node.template_id == 2}3{else}4{/if}' title='[submission: 4 | forum: 3 | nodeshell: 2 | article: 5 | data: 12]' />

  <select name='sel_help' onchange='document.getElementById("node_content").innerHTML += sel_help.value;'  style='margin-right:4px'>
    <option value='' selected>helpful</option>
    <option value='<a href="" target="_blank"></a>'>link</option>
    <option value='<img src="">'>image</option>
    <option value='<b></b>'>bold</option>
    <option value='<i></i>'>italic</option>
  </select>

  <!--<td>&nbsp;<input type='checkbox' name='between' value='yes'><td valign='middle'>&nbsp;use between</td>-->

  {* movement *}{include file="1549913.tpl"}
  
  <input type='submit' value='filter_by' name='template_event' />

  <select name="search_type" style="">
    <option value="title_content" selected="selected">title/content</option>
    <option value="content">content</option>
    <option value="title">title</option>
    <option value="user">user</option>
  </select>

  <input type='hidden' name='node_parent' value='{$node.node_id}'>
</div>
  {* owner_toolbar *}{include file="1549939.tpl"}

{/if}

<div class='add_put'>
  <input type='submit' value='delete' name='event' />
  <span class='add_k_cmnt'>&nbsp; u have {$user_k} </span>
  <input type='submit' value='K' name='event' />
  <input type='submit' value='delete_hardlink' name='event' style='margin-right:1.5em' />
  <input type='submit' value='put' name='event' /> into
  <input type='text' name='nodeshell_id' value='' style="width: 80px" />
  <select name="nodeshell_id_select">
    <option value="" selected="selected"></option>
    {foreach from=$bookmarks key=id item=name}
      <option value="{$id}">{$name|strip_tags|truncate:32:"":true}</option>{/foreach}
  </select>
  <input type="submit" value="go_to" name="event" />
</div>
<br />
{* get_node_userlist *}{include file="1549803.tpl"}