{% INCLUDE 'overall_header.html' %}

<div id="tabs" class="tabs">
	<ul>
		<li class="tab"><a href="{{ U_POINTS }}">{{ lang('POINTS_OVERVIEW') }}</a></li>
		<li class="tab"><a href="{{ U_INFO }}">{{ lang('POINTS_INFO') }}</a></li>
		{% if TRANSFER_ENABLE and U_USE_TRANSFER %}
		<li class="tab activetab"><a href="{{ U_TRANSFER_USER }}">{{ lang('POINTS_TRANSFER') }}</a></li>
		{% endif %}
		{% if LOGS_ENABLE and U_USE_LOGS %}
		<li class="tab"><a href="{{ U_LOGS }}">{{ lang('POINTS_LOGS') }}</a></li>
		{% endif %}
		{% if LOTTERY_ENABLE and U_USE_LOTTERY %}
		<li class="tab"><a href="{{ U_LOTTERY }}">{{ LOTTERY_NAME }}</a></li>
		{% endif %}
		{% if BANK_ENABLE and U_USE_BANK %}
		<li class="tab"><a href="{{ U_BANK }}">{{ BANK_NAME }}</a></li>
		{% endif %}
		{% if ROBBERY_ENABLE and U_USE_ROBBERY %}
		<li class="tab"><a href="{{ U_ROBBERY }}">{{ lang('POINTS_ROBBERY') }}</a></li>
		{% endif %}
	</ul>
</div>

<div class="panel bg3">
	<div class="inner">
		<div id="cp-menu">
			<div class="cp-mini">
				<div class="inner">
					<dl class="mini">
						<dd><h3>{{ lang('POINTS_DESCRIPTION') }}</h3></dd>
						<dd>{{ lang('TRANSFER_DESCRIPTION') }}</dd>
					</dl>
				</div>
			</div>
		</div>

		<form id="post" action="{{ U_ACTION }}" method="post">
			<div id="cp-main" class="ucp-main">
				<h2><i class="icon fa-exchange" aria-hidden="true"></i> {{ lang('POINTS_TRANSFER') }}</h2>
				<div class="panel">
					<div class="inner">
						{% if S_USER_LOGGED_IN %}
						<p>{{ lang('POINTS_CASH_ON_HAND') }}{{ lang('COLON') }}&nbsp;{{ USER_POINTS }} {{ POINTS_NAME
							}}</p><br/>
						<fieldset>
							<dl>
								<dt><label for="username">{{ lang('TRANSFER_SET_USERNAME') }}</label></dt>
								<dd><input type="text" tabindex="1" id="username" class="inputbox" name="username"
											value=""/></dd>
								<dd><strong><a href="{{ U_FIND_USERNAME }}"
												onclick="find_username(this.href); return false;">{{
									lang('FIND_USERNAME') }}</a></strong></dd>
							</dl>
							<dl>
								<dt><label>{{ lang('TRANSFER_AMOUNT') }}{{ lang('COLON') }}</label></dt>
								<dd><input type="text" maxlength="10" tabindex="2" class="inputbox autowidth"
											title="{{ lang('POINTS_NUMBER_FORMAT_EXPLAIN') }}" name="amount" value=""/>
									{{ POINTS_NAME }}
								</dd>
							</dl>
							<dl>
								<dt><label>{{ lang('TRANSFER_FEE') }}{{ lang('COLON') }}</label><br/><em>{{
									lang('TRANSFER_FEE_EXPLAIN') }}</em></dt>
								<dd>{{ TRANSFER_FEE }} %</dd>
							</dl>
							{% if POINTS_COMMENTS and S_ALLOW_SEND_PM %}
							<dl>
								<dt><label for="comment">{{ lang('TRANSFER_COMMENT') }}{{ lang('COLON') }}</label></dt>
								<dd><textarea id="comment" tabindex="3" class="inputbox" name="comment" cols="50"
												rows="3">{{ COMMENT }}</textarea></dd>
							</dl>
							{% endif %}
						</fieldset>
						<fieldset class="submit-buttons">
							{{ S_HIDDEN_FIELDS }}
							<input type="submit" tabindex="4" name="submit" value="{{ lang('SUBMIT') }}"
									class="button1"/>
							{{ S_FORM_TOKEN }}
						</fieldset>
						{% else %}
						<p>{{ lang('POINTS_BOT_GUEST') }}</p>
						{% endif %}
					</div>
				</div>
			</div>
		</form>
	</div>
</div>

{% INCLUDE 'overall_footer.html' %}
