<article class="block story">
	<h1 class="title h2">Kişisel mesajlar</h1>
	<div class="pm-box">
		<nav id="pm-menu">
			[inbox]<span>Gelen Kutusu</span>[/inbox]
			[outbox]<span>Gönderilenler</span>[/outbox]
			[new_pm]<span>Yeni oluştur</span>[/new_pm]
		</nav>
		<div class="pm_status">
			{pm-progress-bar}
			{proc-pm-limit} % / ({pm-limit} mesajdan)
		</div>
	</div>
	[pmlist]
	<div class="pmlist">
		{pmlist}
	</div>
	[/pmlist]
</article>
<div class="block">
	[newpm]
	<h4 class="title">Yeni oluştur</h4>
	<div class="addform addpm">
		<ul class="ui-form">
			<li class="form-group combo">
				<div class="combo_field">
					<input placeholder="Kime" type="text" name="name" value="{author}" class="wide" required>
				</div>
				<div class="combo_field">
					<input placeholder="Mesaj konusu" type="text" name="subj" value="{subj}" class="wide" required>
				</div>
			</li>
			<li id="comment-editor">{editor}</li>
			<li><input type="checkbox" id="outboxcopy" name="outboxcopy" value="1" /> <label for="outboxcopy">Gönderilenler klasörüne kaydet</label></li>     
		[recaptcha]
			<li>{recaptcha}</li>
		[/recaptcha]
		[question]
			<li class="form-group">
				<label for="question_answer">Soru: {question}</label>
				<input placeholder="Cevap" type="text" name="question_answer" id="question_answer" class="wide" required>
			</li>
		[/question]
		</ul>
		<div class="form_submit">
			[sec_code]
				<div class="c-capcha">
					{sec_code}
					<input placeholder="Güvenlik kodunu girin" title="Resimde gördüğünüz kodu girin" type="text" name="sec_code" id="sec_code" required>
				</div>
			[/sec_code]
			<button class="btn" type="submit" name="add"><b>Gönder</b></button>
			<button class="btn" type="button" onclick="dlePMPreview()">Göster</button>
		</div>
	</div>
	[/newpm]
	[readpm]
	<div class="comment[online] online[/online]">
		[online]<span class="status online">Online</span>[/online]
		<span class="status offline">Offline</span>
		<div class="com_info">
			<div class="avatar">
				<span class="cover" style="background-image: url({foto});">{login}</span>
			</div>
			<div class="com_user">
				<b class="name">{author}</b>
				<span class="grey date">{date}</span>
			</div>
		</div>
		<div class="com_content">
			<h4 class="title">{subj}</h4>
			<div class="text">{text}</div>
			[signature]<div class="signature">--------------------<br />{signature}</div>[/signature]
		</div>
		<div class="com_tools">
			<div class="com_tools_links grey">
				[reply]<svg class="icon icon-reply"><use xlink:href="#icon-reply"></use></svg><span>Cevapla</span>[/reply]
				[ignore]<svg class="icon icon-reply"><use xlink:href="#icon-author"></use></svg><span>Engelle</span>[/ignore]
				[complaint]<svg class="icon icon-compl"><use xlink:href="#icon-compl"></use></svg><span>Bildir</span>[/complaint]
				[del]<svg class="icon icon-del"><use xlink:href="#icon-del"></use></svg><span>Sil</span>[/del]
			</div>
		</div>
	</div>
	[/readpm]
</div>