<html>
<head>
<style>
{literal}
body {background:white; color:black}
.t1 {background:white;}

{/literal}
</style>
</head>
<body>

{get_userlist}
{if $user_id eq true}
  {if $active_friends eq true}
            {foreach from=$active_friends item=node_visitor}


{if $node_visitor.user_id eq 1155938}
 <a href='/id/{$node_visitor.user_id}'>{$node_visitor.login}</a> | <a href='/id/{$node_visitoruser_action_id}'>{$node_visitor.user_action}</a> | {$node_visitor.idle_time_minutes}min {$node_visitor.idle_time_seconds}sec
{/if}

            {/foreach}
        {/if}
{/if}


<div><form enctype="multipart/form-data" action="/id/{$node.node_id}/{if $action neq false}{$action}{/if}" method="post" name="formular" id="formular">

<input type='hidden' name='mail_to' value="daren"/>
<textarea name='mail_text' style='border:0;color:black;background:white'>{$post_vars.mail_text|escape:"html"}</textarea>
<br/>
<input type='submit' name='event' style='border:0;color:black;background:white' value='send' />
{get_mail listing_amount=10 offset=$offset}
{section name=message loop=$get_mail}
{if $get_mail[message].mail_to eq 1155938 || $get_mail[message].mail_from eq 1155938}
<p style=' margin-bottom:1.5em; position:relative;'>
  <div style='height:auto; margin-left:61px; padding-left:0.1em'>
    {$get_mail[message].mail_from_name}  
    &nbsp;&nbsp;--&nbsp;&nbsp;{$get_mail[message].mail_timestamp|date_format:"%H:%M"} {if $get_mail[message].mail_to==$user_id AND $get_mail[message].mail_timestamp > $node.last_visit}&nbsp;&nbsp;
    N  
    {elseif $get_mail[message].mail_read eq 'no' and $get_mail[message].mail_to neq $get_mail[message].mail_user}&nbsp;&nbsp;
    UN{/if}
  </div>
  <div style='margin:0; margin-left:86px;'>    {$get_mail[message].mail_text|nl2br|stripslashes|imagestrip}
  </div>
</p>{/if}{/section}
</div>
</form>

<br/><br/><a href="/id/{$node.node_id}/1961033">confThis</a>
</body>
</html>