What is the simplest code that checks if user is admin and then prints a block to that user in node.tpl.php? I have seen different examples, but they are all either complicated and deal with other problems at the same time or they include editing template.php, which I want to avoid. I have tried with this, but it doesn't work:
<?php if ($is_admin->true): ?> <?php print views_embed_view('myview','block'); ?> <?php endif; ?>
Is there such a simple way to achieve this?