403Webshell
Server IP : 45.94.215.241  /  Your IP : 216.73.216.122
Web Server : Apache/2.4.66 (Ubuntu)
System : Linux srv2937474766 7.0.0-28-generic #28-Ubuntu SMP PREEMPT_DYNAMIC Sun Jun 21 01:01:36 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/html/nikcandle_crm/admin/components/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/nikcandle_crm/admin/components/customers.invoices.goods.list.php
<?php if ($_SESSION['admin.'.$company_name_en.'_login']!="1") die; ?>
<?php
	$db->query("select * from invoices where id='".$invoice_id."'");
	$res=$db->result();
?>
<a href="index.php?pid=customers&customer_id=<?php echo $customer_id; ?>&func=invoices&func2=goods&invoice_id=<?php echo $invoice_id; ?>&func3=add"><img src="../images/buttons/add.png" border="0"><br/>اضافه کردن کالای جدید</a><br />

<table class="tableslistr" width="100%" border="1">
	<tr class="tablesheader">
		<td>ردیف</td>
		<td>تاریخ</td>
		<td>نام کالا</td>
		<td>تعداد</td>
		<td>قیمت</td>
		<td>هدیه</td>
		<td>حذف</td>
	</tr>
	<?php
	$db->query("select * from invoices_goods where invoice_id='".$invoice_id."'");
	$res=$db->result();
	$i=1;
	foreach ($res as $row)
	{
		?>
		<tr>
			<td><?php echo $i++; ?></td>
			<td><?php echo $row['date']; ?></td>
			<td>
				<?php
				$db->query("select * from goods where id='".$row['good_id']."'");
				$res_tmp=$db->result();
				$row_tmp=$res_tmp[0];
				echo $row_tmp['name'];
				?>
			</td>
			<td><?php echo $row['number']; ?></td>
			<td><?php echo $row['price']; ?></td>
			<td>
				<?php
				if ($row['is_gift']=="1")
				{
					?>
					<a href="index.php?pid=customers&customer_id=<?php echo $customer_id; ?>&func=invoices&func2=goods&invoice_id=<?php echo $invoice_id; ?>&func3=gift&customer_good_id=<?php echo $row['id']; ?>&is_gift=0"><img src="../images/buttons/gift_ok.png" border="0"></a>	
					<?php
				}
				else
				{
					?>
					<a href="index.php?pid=customers&customer_id=<?php echo $customer_id; ?>&func=invoices&func2=goods&invoice_id=<?php echo $invoice_id; ?>&func3=gift&customer_good_id=<?php echo $row['id']; ?>&is_gift=1"><img src="../images/buttons/gift_nok.png" border="0"></a>	
					<?php
				}
				?>
			</td>
			<td><a href='#' onclick="confirm_delete('<?php echo $row['id']; ?>','index.php?pid=customers&customer_id=<?php echo $customer_id; ?>&func=invoices&func2=goods&invoice_id=<?php echo $invoice_id; ?>&func3=delete&customer_good_id=<?php echo $row['id']; ?>')"><img src="../images/buttons/delete2.png" border="0"></a></td>
		</tr>
		<?php
	}
	?>
</table>

Youez - 2016 - github.com/yon3zu
LinuXploit