<div class="ContentDiv BgFade">
	<div class="Padding">
		<div class="PageTitle"><?=$this->Language('Send to friend');?></div>

		<form method="post" action="/ajax.php?model=messages&page=send_to_friend" id="sendToFriendForm">
			<input type="hidden" name="send_to_friend" value="true">
			<table border="0" cellpadding="9" align="center">
					<tr><td valign="top"><?=$this->Language('Message content:');?></td><td><i><?=nl2br($this->email_content[content])?></i></td></tr>
					<tr><td><?=$this->Language('Your name:');?></td><td><input type="text" name="from_name" value="<?=$_SESSION['logged'] ? $_SESSION['UserData']['first_name'] : '';?> <?=$_SESSION['logged'] ? $_SESSION['UserData']['last_name'] : '';?>" class="required"></td></tr>
					<tr><td><?=$this->Language('Friend name:');?></td><td><input type="text" name="to_name" class="required"></td></tr>
					<tr><td><?=$this->Language('Friend email:');?></td><td><input type="text" name="to_email" class="required email"></td></tr>
					<tr><td valign="top"><?=$this->Language('Your comment:');?></td><td><textarea name="comment" class="required" rows="5" style="width: 100%;"></textarea></td></tr>
					<tr><td>&nbsp;</td><td align="center"><a class="Button Red FormSave NoMargin" style="float: left; width: 135px;"><?=$this->Language('Send mail');?><img src='/templates/default/images/public/ajax-loader-small-red.gif' class='buttonLoaderImage' alt="Infojuht sred" /></a></td></tr>
			</table>
		</form>

	</div>
</div>