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: adview.php

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

Size: 13.56 KB

Permissions: 0644

<?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))

			{

			//

			?>  

<!DOCTYPE html>

<html class="no-js" lang="">

<head>

	<meta charset="utf-8">

	<meta name="viewport" content="width=device-width, initial-scale=1">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">

	<title>RECEIPT - <?php  echo $row['name']; ?> <?php  ?></title>

    <link rel="icon" type="image/png" href="images/ric.png"/>

    <meta name="description" content="Ela Admin - HTML5 Admin Template">

    <meta name="viewport" content="width=device-width, initial-scale=1">





 <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet">

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/normalize.css@8.0.0/normalize.min.css">

    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.1.3/dist/css/bootstrap.min.css">

    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css">

    <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/lykmapipo/themify-icons@0.1.2/css/themify-icons.css">

    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/pixeden-stroke-7-icon@1.2.3/pe-icon-7-stroke/dist/pe-icon-7-stroke.min.css">

    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/3.2.0/css/flag-icon.min.css">

    <link rel="stylesheet" href="assets/css/cs-skin-elastic.css">

    <link rel="stylesheet" href="assets/css/style.css">

<script src="https://code.jquery.com/jquery-3.6.1.min.js"></script>

<link href="https://cdn.jsdelivr.net/npm/chartist@0.11.0/dist/chartist.min.css" rel="stylesheet">

    <link href="https://cdn.jsdelivr.net/npm/jqvmap@1.5.1/dist/jqvmap.min.css" rel="stylesheet">



    <link href="https://cdn.jsdelivr.net/npm/weathericons@2.1.0/css/weather-icons.css" rel="stylesheet" />

    <link href="https://cdn.jsdelivr.net/npm/fullcalendar@3.9.0/dist/fullcalendar.min.css" rel="stylesheet" />



    <script src="https://cdn.jsdelivr.net/npm/jquery@2.2.4/dist/jquery.min.js"></script>

    <script src="https://cdn.jsdelivr.net/npm/popper.js@1.14.4/dist/umd/popper.min.js"></script>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.1.3/dist/js/bootstrap.min.js"></script>

    <script src="https://cdn.jsdelivr.net/npm/jquery-match-height@0.7.2/dist/jquery.matchHeight.min.js"></script>

    <script src="assets/js/main.js"></script>

    <style>

    

        .chart-container {

            display: table;

            min-width: 270px ;

            text-align: left;

            padding-top: 10px;

            padding-bottom: 10px;

        }

        #flotLine5  {

             height: 105px;

        }



        #flotBarChart {

            height: 150px;

        }

        #cellPaiChart{

            height: 160px;

        }



/* CSS PART OF ADD CLIENT */





/* Importing fonts from Google */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');



/* Reseting */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

    font-family: 'Poppins', sans-serif;

}



body {

    background: #ecf0f3;

}



.wrapper {

    max-width: 350px;

    min-height: 500px;

    margin: 80px auto;

    padding: 40px 30px 30px 30px;

    background-color: #ecf0f3;

    border-radius: 15px;

    box-shadow: 13px 13px 20px #cbced1, -13px -13px 20px #fff;

}



.logo {

    width: 80px;

    margin: auto;

}



.logo img {

    width: 100%;

    height: 80px;

    object-fit: cover;

    border-radius: 50%;

    box-shadow: 0px 0px 3px #5f5f5f,

        0px 0px 0px 5px #ecf0f3,

        8px 8px 15px #a7aaa7,

        -8px -8px 15px #fff;

}



.wrapper .name {

    font-weight: 600;

    font-size: 1.4rem;

    letter-spacing: 1.3px;

    padding-left: 10px;

    color: #555;

}



.wrapper .form-field input {

    width: 100%;

    display: block;

    border: none;

    outline: none;

    background: none;

    font-size: 1.2rem;

    color: #666;

    padding: 10px 15px 10px 10px;

    /* border: 1px solid red; */

}



.wrapper .form-field {

    padding-left: 10px;

    margin-bottom: 20px;

    border-radius: 20px;

    box-shadow: inset 8px 8px 8px #cbced1, inset -8px -8px 8px #fff;

}



.wrapper .form-field .fas {

    color: #555;

}



.wrapper .btn {

    box-shadow: none;

    width: 100%;

    height: 40px;

    background-color: #03A9F4;

    color: #fff;

    border-radius: 25px;

    box-shadow: 3px 3px 3px #b1b1b1,

        -3px -3px 3px #fff;

    letter-spacing: 1.3px;

}



.wrapper .btn:hover {

    background-color: #039BE5;

}



.wrapper a {

    text-decoration: none;

    font-size: 0.8rem;

    color: #03A9F4;

}



.wrapper a:hover {

    color: #039BE5;

}



@media(max-width: 380px) {

    .wrapper {

        margin: 30px 20px;

        padding: 40px 15px 15px 15px;

    }

}



        

    </style>

</head>



<style type="text/css">



@page { size: auto;  margin: 10mm; margin-right: -70px; margin-left: -70px;}

@media print {

    a[href]:after {

        content: none !important;

    }

}

@media print {

        #printbtn {

        display: none !important;

    }

    .main-heading

    {

      font-size:30px !important;

    }

    .nav {

        display: none !important;

    }

    #header {

        display: none !important;

    }



    .underline{

line-height: 27px !important;

 text-decoration-style: dotted !important;

}

}



    table.unstyledTable {

  text-align: left;

  font-family: Arial, Helvetica, sans-serif;

  border-collapse: separate;

    border-spacing: 0 0.2em;

}

table.unstyledTable td, table.unstyledTable th {

  padding: 5px 5px;

  font-weight: 700;

  font-size: 11px;

}

table.unstyledTable thead {

  background: #DDDDDD;

}

table.unstyledTable thead th {

  font-weight: normal;

  text-align: left;

  

}

table.unstyledTable tfoot {

  font-weight: bold;

}

.ric{

    color:black;

    font-size:15px;

    font-weight:500;

    font-family: calibri;

    text-transform:capitalize;

}



</style>

<body>

    <div id="right-panel" class="right-panel">

        <!-- Header-->

        <header id="header" class="header">

            <div class="top-left">

                <div class="navbar-header">

                    <a class="navbar-brand" href="index.php"><img src="../images/logo.png" alt="Logo"></a>

                    <a class="navbar-brand hidden" href="./"><img src="../images/logo2.png" alt="Logo"></a>

                    <a id="menuToggle" class="menutoggle" href="index.php">HOME</a>
                    

                </div>

            </div>

            <div class="top-right">

                <div class="header-menu">

                    <div class="header-left">

                        <button class="search-trigger"><i class="fa fa-search"></i></button>



                            <!-- //search -->

                        <div class="form-inline">

                 



                            <form class="search-form">

                                <input class="form-control mr-sm-2" type="text" placeholder="Search ..." aria-label="Search">

                                <button class="search-close" type="submit"><i class="fa fa-close"></i></button>

</form>

                        </div>

                    </div>



                    <div class="user-area dropdown float-right">

                        <a href="#" class="dropdown-toggle active" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">

                            <img class="user-avatar rounded-circle" src="../images/logo2.png" alt="User">

                        </a>



                        <div class="user-menu dropdown-menu">



                            <a class="nav-link" href="../end.php" style="color:red; font-weight:700;"><i class="fa fa-power -off"></i>LOGOUT</a>

                        </div>

                    </div>



                </div>

            </div>

        </header>



</div>





        <div class="content">

            <!-- Animated -->

            <div class="animated fadeIn">

                <!-- Widgets  -->

                <div class="row">



                     



<table class="unstyledTable"  width="100%">

    <tbody>

       

    <tr>

        

    <td colspan="7" rowspan="1" style="text-align: center;border-bottom: 6px solid #366092;border-top: 6px solid #366092;"> 

       <b style="text-align: center;color:#366092; font-size: 35px;">ZAPNIX INC.</b> <br><br>INVOICE</td></tr>

    <tr>

    </tr>

  

    <tr>

    <td colspan="1" style="color:#294970;">&emsp;&emsp;DATE &emsp;&emsp;<span class="ric"><?php  echo $row['date']; ?></td><td colspan="1" style="color:#366092;text-align:right;">INVOICE NO #</td><td colspan="4"><?php  echo $row['invno']; ?></td></tr>

    <tr>

 <td colspan="3" style="color:#366092; border-collapse: separate;

    border-spacing: 0 01em;">&emsp;&emsp;DUE &emsp;&emsp;<span class="ric"><?php  echo $row['date']; ?></td><td colspan="4"></td></tr>

 <tr style="background-color:#366092; color:white;">

 <td colspan="2">CUSTOMER INFO</td><td colspan="5">DIGITAL MARKETING SERVICES</td></tr>

 <tr style="color:#366092; background-color: #dce6f1;">

 <td colspan="2" style="font-size:10px">&emsp;&emsp;&emsp;&emsp;NAME&emsp;<span class="ric"><?php  echo $row['name']; ?></span></td><td colspan="5"style="font-size:10px">Client's Digital Marketing Profile</td></tr>

 <tr style="color:#366092; background-color: #dce6f1;">

 <td colspan="2">&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<span class="ric"><?php  echo $row['type']; ?></span></td><td colspan="5"style="font-size:10px">Personalised Domain on www</td></tr>

 <tr style="color:#366092; background-color: #dce6f1;">

 <td colspan="2" style="font-size:10px">&emsp;ADDRESS&emsp;<span class="ric"><?php  echo $row['street']; ?>.</span></td><td colspan="5"style="font-size:10px">Personalised Email Account</td></tr>

<tr style="color:#366092; background-color: #dce6f1;">

     <td colspan="2">&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&ensp;<span class="ric"><?php  echo $row['city']; ?>,&ensp;<?php  echo $row['state']; ?>&ensp;<?php  echo $row['zip']; ?></span></td><td colspan="5"style="font-size:10px">Secured Digital Locker on cloud</td></tr>

    <tr style="color:#366092; background-color: #dce6f1;">

    <td colspan="2" style="font-size:10px">&emsp;&emsp;&ensp;EMAIL&emsp;<span class="ric"><?php  echo $row['email']; ?></span></td><td colspan="5"style="font-size:10px">Customised Network Management Software</td></tr>

    <tr style="color:#366092; background-color: #dce6f1;">

    <td colspan="2" style="font-size:10px">&emsp;Alt.EMAIL&emsp;<span class="ric"><?php  echo $row['email']; ?></span></td><td colspan="5"style="font-size:10px"></td></tr>



     <tr style="background-color:#366092; color:white;">

        <td colspan="6">JOB PERFORMED</td><td colspan="1">AMOUNT</td></tr>

                                    

 <tr>

     <td colspan="5" style="border: 1px dotted grey;">Digital Marketing Services</td><td colspan="2" style="border: 1px dotted grey;text-align:center;"> <?php  $a=$row['amount']; $b=$a-50; echo $b; ?></td></tr>

                                    

 <tr>

     <td colspan="5" style="border: 1px dotted grey;">Customised Network Management Software</td><td colspan="2" style="border: 1px dotted grey;text-align:center;"> 50</td></tr>



     <tr style="color:#366092;">

    <td colspan="2"></td><td colspan="3">SUBTOTAL</td><td colspan="2">$ &emsp;&emsp;<?php $a=$row['amount']; echo $a; ?></td></tr>

    <tr style="color:#366092;">

     <td colspan="2" style="border-bottom: 3px solid black;">COMMENTS</td><td colspan="3">SALES TAX RATE</td><td colspan="2">% &ensp;&emsp;0.00</td></tr>

     <tr>

     <td colspan="3"style="font-weight:500;font-size:10px">Please include the invoice number as reference while paying</td></tr>

     <tr style="color:#ff0000;">

        <td colspan="2" rowspan="2"><img src="images/logo.jpg" width="30%" height="10%" alt=""></td><td colspan="3"style="font-size: 13px;">TOTAL</td><td colspan="2" style="font-size: 14px;">$ &emsp;<?php $a=$row['amount']; echo $a; ?></td></tr>

         <tr>

  <td colspan="7" style="color:#366092;"></td></tr>

  <tr>

  <td colspan="7" style="color:#366092;">Thank you for your business!</td></tr>



  <tr>

     <td colspan="7" style="font-weight:500;font-size:10px;text-align:center">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" style="font-weight:500;font-size:10px">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" style="margin-top:-5%;font-weight:500;font-size:10px">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);

}





?>

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

 <center><button type="button" class="btn btn-warning" id="printbtn" onclick="window.print()">PRINT</button></center>

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

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

        <!-- Footer -->

      

        <!-- /.site-footer -->

    </div>

</div>

</div>





    </body>

</html>


← Back to Directory Edit File 🔒 Chmod

WP File Manager