Server : LiteSpeed
System : Linux terra.hostitbro.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User : outerorb ( 1091)
PHP Version : 8.1.34
Disable Function : mail
Directory :  /home2/outerorb/dev.outerorbittech.com/erp/admin/

📁 Create New:
⬆️ Upload File:
Current Dir [ Writable ] Root [ Writable ]


OR Upload from URL:
URL: Save as:

📄 File: invoice.php

Path: /home2/outerorb/dev.outerorbittech.com/erp/admin/invoice.php

Size: 3.91 KB

Permissions: 0644


<style>
    table.unstyledTable {
  text-align: left;
}
table.unstyledTable td, table.unstyledTable th {
  padding: 5px 5px;
}
table.unstyledTable thead {
  background: #DDDDDD;
}
table.unstyledTable thead th {
  font-weight: normal;
  text-align: left;
}
table.unstyledTable tfoot {
  font-weight: bold;
}
</style>


<?php
if(isset($_GET['id']))
{
	$id=$_GET['id'];
include"connection.php";

$q="select * from client where aid='".$id."'";

$sq=mysqli_query($cn,$q);
if($sq)
{
	// check if any value found or not 
		if(mysqli_fetch_array($sq)>0)
		{
		$sq=mysqli_query($cn,$q);
		
			while($row=mysqli_fetch_array($sq))
			{
			//
			?>                       

<table class="unstyledTable" border="1" width="60%">
    <tbody>
       
    <tr>
        
    <td colspan="7" rowspan="1" style="text-align: center"> 
       <b style="text-align: center;color:#366092; font-size: 40px;">ZAPNIX INC.</b> <br><br>INVOICE</td></tr>
    <tr>
    </tr>
  
    <tr>
    <td colspan="4" style="color:#366092;">DATE: <?php  echo $row['date']; ?></td><td colspan="4" style="color:#366092;">INVOICE NO: <?php  echo $row['invno']; ?></td></tr>
    <tr>
 <td colspan="4" style="color:#366092;">DUE DATE: <?php  echo $row['date']; ?></td><td colspan="4"></td></tr>
 <tr style="background-color:#366092; color:white;">
 <td colspan="4">CUSTOMER INFO</td><td colspan="4">DIGITAL MARKETING SERVICES</td></tr>
 <tr style="color:#366092;">
 <td colspan="4">NAME <?php  echo $row['name']; ?></td><td colspan="4">Client's Digital Marketing Profile</td></tr>
 <tr style="color:#366092;">
 <td colspan="4">TYPE <?php  echo $row['type']; ?></td><td colspan="4">Personalised Domain on www</td></tr>
 <tr style="color:#366092;">
 <td colspan="4">ADDRESS 1 <?php  echo $row['state']; ?></td><td colspan="4">Personalised Email Account</td></tr>
<tr style="color:#366092;">
     <td colspan="4">ADDRESS 2 <?php  echo $row['city']; ?></td><td colspan="4">Secured Digital Locker on cloud</td></tr>
    <tr style="color:#366092;">
    <td colspan="4">EMAIL <?php  echo $row['email']; ?></td><td colspan="4">Customised Network Management Software</td></tr>

     <tr style="background-color:#366092; color:white;">
        <td colspan="6">JOB PERFORMED</td><td colspan="1">AMOUNT</td></tr>
                                    
 <tr>
     <td colspan="6">Digital Marketing Services</td><td colspan="1">$ <?php  echo $row['amount']; ?></td></tr>
                                    
 <tr>
     <td colspan="6">Customised Network Management Software</td><td colspan="1">$ 000</td></tr>

     <tr style="color:#366092;">
    <td colspan="3"></td><td colspan="3">SUBTOTAL</td><td colspan="1">$ 000</td></tr>
    <tr style="color:#366092;">
     <td colspan="3">COMMENTS</td><td colspan="3">SALES TAX RATE</td><td colspan="1">% 000</td></tr>
     <tr>
     <td colspan="3">Please include the invoice number as reference while paying</td></tr>
     <tr style="color:#ff0000;">
        <td colspan="3" rowspan="2"><img src="admin/images/logo.jpg" width="30%" height="10%" alt=""></td><td colspan="3">TOTAL</td><td colspan="1">$ 000</td></tr>
         <tr>
  <td colspan="3" style="color:#366092;">Thank you for your business!</td></tr>

  <tr>
     <td colspan="7">Should you have any enquiries concerning this invoice, please contact us on 1-888-630-3350</td></tr>
    <tr style="background-color:#366092; color:white; text-align: center;">
 <td colspan="7">Zapnix Inc.
     P.O. Box 18805
     P.O. Box 18805 Tucson AZ 85710-9998</td></tr>
     <tr style="background-color:#366092; color:white; text-align: center;">
  <td colspan="7">Tel: 1-888-630-3350  E-mail: support@zapnix.co Web: www.zapnix.co</td></tr>
    </tbody>
    </tr>
    </table>

    <?php 
				
			}
			
			
		}
		else 
		{
			echo '<br> no record found ';
		}
}
else 
{
	echo '<br>'.mysqli_error($cn);
}

}
else 
{
  echo '<br>'.mysqli_error($cn);
}


?>

← Back to Directory Edit File 🔒 Chmod

WP File Manager