how to add "create node form" in a block? I just wanted to know how to add "create node form" in a block

when i  copy the source code and make a block out of that code, only public could post from that.
when i am posting as a user it says timeout and tells us to refresh the page.
plz someone give me solution.

SO i tried to add the following code in page.tpl.php

$form = node_add('nodetype');
print drupal_render($form);
there are two modules which can give option to create node from block
Formblock module ,
Advanced Form Block