{literal}
<style>


div#add_form {
   width:666px;
   margin:0; padding:0;
}

div#add_form input, div#add_form select, div#add_form option {
height:1.5em; font-size:1em; margin:0;
}

div#add_form fieldset {
border:0; 
margin: 0 0.6em 0 0; padding: 0.1em 0;
outline:0px solid gray;
}

div#add_form textarea#add_node_content {
width:666px;
height:123px;
}

div.toolbar {
margin:0.5em 0;
}

div.toolbar fieldset {
display:inline-block;
}

fieldset.submit_buttons {
float:left
}



</style>
{/literal}
<div id='add_form'>
{if $permissions.w eq true}
<fieldset class='add_title'>
  <label for='add_node_name'>title or keywords::</label>
  <input type='text' name='node_name' value='{$post_vars.node_name}' id='add_node_name' />
  <input type='checkbox' name='no_html' value='yes' />No HTML
  <!--
  <input type='checkbox' name='code' value='yes'/>code
  <input type='checkbox' name='wiki' value='yes'/>wiki
   --> 
</fieldset>

<textarea name='node_content' rows='6' cols='80' id='add_node_content'>{$post_vars.node_content|escape:"html"|stripslashes}</textarea>
<input type='hidden' name='node_parent' value='{$node.node_id}' />

  <fieldset class='submit_buttons'>
    <input type='submit' value='add' name='event' class='add_button' />
  
    <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]' id='add_template_id' />

    <!-- treba osefovat value optionu (asi to dat do JS)
    <select name='sel_help' onchange='document.getElementById("node_content").innerHTML += sel_help.value;' class='helpfull'> 
      <option value='' selected="selected">helpful</option> 
      <option value='<a href="" target="_blank"></a>'>link</option> 
      <option value='<img src="" alt="">'>image</option> 
      <option value='<b></b>'>bold</option> 
      <option value='<i></i>'>italic</option> 
    </select> -->
  </fieldset>
  
  <fieldset id='owner_toolbar'>
   {* owner_toolbar *}{include file="1549939.tpl"}
  </fieldset>
  {/if}
  
  <div class='toolbar'>
  <fieldset class='delete_buttons'>
    <input type='submit' value='delete' name='event' />
    <input type='submit' value='delete_hardlink' name='event' />
  </fieldset>
  
  
  <fieldset class='add_search'>
    <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>
  </fieldset>
  
  <fieldset class='add_manipulate'>
    <span class='add_k_cmnt'>u have {$user_k} </span>
    <input type='submit' value='K' name='event' />
    <input type='submit' value='put' name='event' /> into
    <input type='text' name='nodeshell_id' value='' />
    <select name='nodeshell_id_select'>
      {foreach from=$bookmarks key=id item=name}
      <option value='{$id}'>{$name|strip_tags|truncate:26:"":true|escape:'html'}</option>
      {/foreach}
    </select>
    <input type='submit' value='go_to' name='event' />
  </fieldset>
  </div>
  
  <fieldset class='movement'>
    {* movement *}{include file="1549913.tpl"}
  </fieldset>

</div>