| Server IP : 23.111.136.34 / Your IP : 216.73.216.136 Web Server : Apache System : Linux servidor.eurohost.com.br 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : meusitei ( 1072) PHP Version : 5.6.40 Disable Function : show_source, system, shell_exec, passthru, proc_open MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/meusitei/www/controle/views/user-register/ |
Upload File : |
<?php if ( ! defined('ABSPATH')) exit; ?>
<?php $log = $modelo->getlog(chk_array($parametros, 0));
?>
<ul class="cbp_tmtimeline carga">
<?php foreach ($log as $logger): ?>
<li>
<time class="cbp_tmtime" datetime="<?=$logger['date']?>"><span><?php echo date('d/m/Y', $logger['time']); ?></span> <span><?php echo date('H:i', $logger['time']); ?></span></time>
<div class="cbp_tmicon cbp_tmicon-screen"></div>
<div class="cbp_tmlabel">
<h2><?=$logger['desc']?></h2>
</div>
</li>
<?php endforeach; ?>
</ul>
<ul class="cbp_tmtimeline" style="margin-top: -15px;">
<li class="clickcarrega" id="0">
<div class="cbp_tmicon"><i class="fa fa-plus"></i></div>
</li>
</ul>
<center>
<br><br>
<button type="button" style="display: none;" class="btn btn-danger btn-rad btn-trans acabou">Não existem mais logs para esse usuário!</button>
</center>
<script lang="">
$(".clickcarrega").click(function() {
var inicio = $(this).attr('id');
var final = parseInt(inicio) + parseInt(3);
$(this).attr('id',final);
var url_data = "<?php echo HOME_URI; ?>/user-register/logcarga/";
$.post(url_data, {id:'<?=chk_array($parametros, 0)?>',inicio:final }, function(data) {
if(data){
$('.carga').append(data);
}else{ $('.acabou').show(); }
});
});
</script>