<?php 
echo $header; 
?>

<script type="text/javascript" src="//cdn.jsdelivr.net/jquery.maskmoney/3.0.2/jquery.maskMoney.min.js"></script>
<script>
$(function(){
$(".dinheiro").maskMoney({thousands:'', decimal:'.', allowZero:true, suffix: ''});
});
</script>
<style>
.form-horizontal input[type="text"],input[type="number"],select,textarea {
	margin-bottom: 5px !important;
	border: solid 1px #dcdcdc;
	border-radius: 3px;
	height: 30px !important;
	width: 50%;
}
.form-group label {
	font-weight: 600;
}
.help {
	font-style: italic;
	font-size: 13px;
}
</style>

<div id="content">
<div class="breadcrumb">
<?php foreach ($breadcrumbs as $breadcrumb) { ?>
<?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
<?php } ?>
</div>
<?php if ($error_warning) { ?>
<div class="warning"><?php echo $error_warning; ?></div>
<?php } ?>
<div class="box">
<div class="heading">
<h1><img src="view/image/payment.png" alt="" /> MercadoPago Transparente</h1>
<div class="buttons"><a onclick="$('#form').submit();" class="button"><?php echo $button_save; ?></a><a href="<?php echo $cancel; ?>" class="button"><?php echo $button_cancel; ?></a></div>
</div>
<div class="content">


<div role="tabpanel">

<!-- Nav tabs -->
<div id="tabs" class="htabs">
<a href="#configuracoes" class="selected" style="display: inline;">Configura&ccedil;&otilde;es</a>
</div>

<div class="tab-content">

<div role="tabpanel" class="tab-pane active" id="configuracoes">
<form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="form" class="form-horizontal">

<div class="form-group">
<label class="col-sm-2 control-label" for="input">Serial</label>
<div class="col-sm-10">
<input type="text" name="cielointegradofutura_serial" value="<?php echo $cielointegradofutura_serial; ?>"id="input" class="form-control" />
</div>
</div>

<div class="form-group">
<label class="col-sm-2 control-label" for="input">Status Licen&ccedil;a</label>
<div class="col-sm-10">
<p class="form-control-static"><?php echo $mod_ativado;?> - <?php echo ($mod_ativado==1)?'licen&ccedil;a ativada com sucesso!':'problema no serial de registro/ativa&ccedil;&atilde;o!';?></p>
</div>
</div>

</form>
</div>


</div>
</div>

</div>
</div>
</div>

<script>
<!--
$('#tabs a').tabs();
$('input[name="cielointegradofutura_soft"]').on( "keyup keydown", function() {
var string = $(this).val();
$(this).val(string.replace(/[^0-9a-zA-Z]/g,'').toUpperCase());
});
-->
</script>

<?php echo $footer; ?> 