<!-- Footer -->
<footer class="footer pt-0">
<div class="container">
<center><?PHP include("inc/block_banners.php"); ?></center>
<div class="row align-items-center justify-content-lg-between">
<div class="col-lg-6 text-center p-2">
</div>
<div class="col-lg-6 text-center p-2">
</div>
<div class="col-lg-6 text-center p-2">
</div>
<div class="col-lg-6 text-center p-2">
</div>
</div>
<div class="row align-items-center justify-content-lg-between">
<div class="col-lg-6">
<div class="copyright text-center text-lg-left text-muted">
© 2020 <a href="/" class="font-weight-bold ml-1" target="_blank"><?=$config->sitename;?></a>. Все права защищены.
</div>
</div>
<div class="col-lg-6">
<ul class="nav nav-footer justify-content-center justify-content-lg-end">
<li class="nav-item"><a href="/terms" class="nav-link">Правила</a></li>
<li class="nav-item"><a href="/about" class="nav-link">О проекте</a></li>
</ul>
</div>
</div>
</div>
</footer>
</div>
<!-- Core JS -->
<script src="/assets/js/jquery/jquery.min.js"></script>
<?php
# показать тока тут
if (!empty($pg->segment[1] === 'surf')) {
?>
<?PHP if (!empty($pg->segment[1] === 'surf')) { ?> <script src="/assets/js/surf.js"></script> <? } ?>
<? } ?>
<?PHP
# показать тока тут
if (!empty($pg->segment[1] === 'vsurf')) {
?>
<script src="/assets/js/surfv.js"></script>
<? } ?>
<script src="/assets/js/links.js"></script>
<!-- plugins:js -->
<script src="/assets/vendors/js/vendor.bundle.base.js"></script>
<!-- endinject -->
<!-- Plugin js for this page -->
<script src="/assets/vendors/chart.js/Chart.min.js"></script>
<script src="/assets/vendors/progressbar.js/progressbar.min.js"></script>
<script src="/assets/vendors/jvectormap/jquery-jvectormap.min.js"></script>
<script src="/assets/vendors/jvectormap/jquery-jvectormap-world-mill-en.js"></script>
<script src="/assets/vendors/owl-carousel-2/owl.carousel.min.js"></script>
<!-- End plugin js for this page -->
<!-- inject:js -->
<script src="/assets/js/off-canvas.js"></script>
<script src="/assets/js/hoverable-collapse.js"></script>
<script src="/assets/js/misc.js"></script>
<script src="/assets/js/settings.js"></script>
<script src="/assets/js/todolist.js"></script>
<!-- endinject -->
<!-- Custom js for this page -->
<script src="/assets/js/dashboard.js"></script>
<!-- End custom js for this page -->
<script>
if ($("#transaction-history").length) {
var areaData = {
labels: [ "Пополнения","Выплаты","Реф-доход"],
datasets: [{
data: [<?=sprintf("%.4f",$user['sum_in']); ?>, <?=sprintf("%.4f",$user['sum_out']); ?>,<?=sprintf("%.4f",$user['income']); ?>],
backgroundColor: [
"#ffab00","#00d25b","#8f5fe8"
]
}
]
};
var areaOptions = {
responsive: true,
maintainAspectRatio: true,
segmentShowStroke: false,
cutoutPercentage: 70,
elements: {
arc: {
borderWidth: 0
}
},
legend: {
display: false
},
tooltips: {
enabled: true
}
}
var transactionhistoryChartPlugins = {
beforeDraw: function(chart) {
var width = chart.chart.width,
height = chart.chart.height,
ctx = chart.chart.ctx;
ctx.restore();
var fontSize = 1;
ctx.font = fontSize + "rem sans-serif";
ctx.textAlign = 'left';
ctx.textBaseline = "middle";
ctx.fillStyle = "#ffffff";
var text = "",
textX = Math.round((width - ctx.measureText(text).width) / 2),
textY = height / 2.4;
ctx.fillText(text, textX, textY);
ctx.restore();
var fontSize = 0.75;
ctx.font = fontSize + "rem sans-serif";
ctx.textAlign = 'left';
ctx.textBaseline = "middle";
ctx.fillStyle = "#6c7293";
var texts = "",
textsX = Math.round((width - ctx.measureText(text).width) / 1.93),
textsY = height / 1.7;
ctx.fillText(texts, textsX, textsY);
ctx.save();
}
}
var transactionhistoryChartCanvas = $("#transaction-history").get(0).getContext("2d");
var transactionhistoryChart = new Chart(transactionhistoryChartCanvas, {
type: 'doughnut',
data: areaData,
options: areaOptions,
plugins: transactionhistoryChartPlugins
});
}
</script>
<!-- Gen: {!GEN_PAGE!} -->
<?PHP if (!empty($pg->segment[1] === 'surfban')) { ?> <script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script><script src="/assets/js/surfban.js"></script> <? } ?>
<script src="//code.jivo.ru/widget/4quANJyLYL" async></script>
</body>
</html>