<?php echo $header;?>
<div id="dashboard">
	<div class="container">
<div class="row"><br/></div>
<div class="panel">

	<div class="panel-header"><?php echo $LANG["WBS_PUB_MONEY_REQUEST_MONEY"];?></div>

<div class="panel-content">
<div class="row"><br/></div>

<div class="col-md-12">



	<div class="col-md-12 input-group margin-bottom-10">
		<label><?php echo $LANG["WBS_PUB_MONEY_REQUEST_ENTER_AMOUNT"];?> 

<?php if ( MONEY_ALIGN == 'LEFT' ) { ?>
	<?php echo MONEY_SYMBOL;?> <span id="withdrawal-max-value-text"><?php echo sprintf(NUMBER_FORMAT, $pfm['0']['pub_profile_money']);?></span>
<?php } ?>

<?php if ( MONEY_ALIGN == 'RIGHT' ) { ?>
	<span id="withdrawal-max-value-text"><?php echo sprintf(NUMBER_FORMAT, $pfm['0']['pub_profile_money']);?></span> <?php echo MONEY_SYMBOL;?>
<?php } ?>

		<?php echo $LANG["WBS_PUB_MONEY_MONEY_TEXT"];?>
		</label>

	<input id="withdrawal-max-value" type="text" class="form-control" value="<?php echo sprintf(NUMBER_FORMAT, $pfm['0']['pub_profile_money']);?>" style="display:none;">

<div class="input-group">

<?php if ( MONEY_ALIGN == 'LEFT' ) { ?>
	<span class="input-group-addon"><?php echo MONEY_SYMBOL;?></span>
<?php } ?>
	<input id="withdrawal-value" type="text" class="form-control number" placeholder="<?php echo $LANG["WBS_PUB_MONEY_REQUEST_MONEY_PLACEHOLDER"];?>" value="">
<?php if ( MONEY_ALIGN == 'RIGHT' ) { ?>
	<span class="input-group-addon"><?php echo MONEY_SYMBOL;?></span>
<?php } ?>
</div>

	<i><?php echo $LANG["WBS_PUB_MONEY_MINIMUM_ALLOWED"];?>
	<?php if ( MONEY_ALIGN == 'LEFT' ) { ?>
		<?php echo MONEY_SYMBOL;?> <?php echo sprintf(NUMBER_FORMAT, WITHDRAWAL_MINIMUM);?>
	<?php } ?>

	<?php if ( MONEY_ALIGN == 'RIGHT' ) { ?>
		<?php echo sprintf(NUMBER_FORMAT, WITHDRAWAL_MINIMUM);?> <?php echo MONEY_SYMBOL;?>
	<?php } ?>

	</div>




<div class="col-md-12 input-group margin-bottom-10">
	<div id="withdrawal-loader"></div>
</div>

<div class="col-md-12 input-group margin-bottom-10">
	<button id="withdrawal-submit" type="submit" class="btn blue-btn pull-right"><?php echo $LANG["WBS_PUB_MONEY_SUBMT"];?></button>
</div>




</div>

<div class="row"><br/></div>
</div>

</div>
</div>
</div>
<?php echo $footer;?>