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

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

Size: 15.8 KB

Permissions: 0644

<?php
ob_start();
session_start();
if($_SESSION['aid']!=session_id())
{
	header("location:../index.php");
}
?>  
<!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</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;
}

input[type="text"], input[type="password"], textarea{
  border: none;
  outline: none;
  border-bottom: 1px solid #ccc;
  background: #dce6f1; /* You can adjust the color and thickness of the outline */
  width:50%;
  
}
input[type="date"]{
    border: none;
  outline: none;
  border-bottom: 1px solid #ccc;
  background: #dce6f1; /* You can adjust the color and thickness of the outline */
  width:20%;
}
</style>
<body>
<aside id="left-panel" class="left-panel">
        <nav class="navbar navbar-expand-sm navbar-default">
            <div id="main-menu" class="main-menu collapse navbar-collapse">
                <ul class="nav navbar-nav">
                <li class="">
                        <a href="index.php"><i class="menu-icon fa fa-dashcube"> </i>Dashboard </a>
                    </li>
                   
                    <li class="">
                        <a href="data.php"><i class="menu-icon fa fa-user"></i>CLIENT LIST </a>
                    </li>
                    <li class="active">
                        <a href="add.php"><i class="menu-icon fa fa-money"></i>ADD CLIENT </a>
                    </li>
                    <li class="">
                        <a href="../end.php"><i class="menu-icon fa fa-sign-out"></i>LOGOUT </a>
                    </li>

            </div><!-- /.navbar-collapse -->
        </nav>
    </aside>
    <div id="right-panel" class="right-panel">
    <header id="header" class="header">
            <div class="top-left">
                <div class="navbar-header">
                    <a class="navbar-brand" href="./"><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"><i class="fa fa-bars"></i></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 class="content">
            <!-- Animated -->
            <div class="animated fadeIn">
                <!-- Widgets  -->
                <div class="row">
                <?php
if(isset($_POST['submit']))
{
    $type=trim($_POST['type']);
    $name=trim($_POST['name']);
    $street=trim($_POST['street']);
    $city=trim($_POST['city']);
    $state=trim($_POST['state']);
    $zip=trim($_POST['zip']);
    $email=trim($_POST['email']);
    $alt=trim($_POST['alt']);
    $date=trim($_POST['date']);
    $amt=trim($_POST['amt']);
    $invno='INV-00-'.rand(9999,10);
    include"connection.php";
    $qv="insert into client
        (invno,type,name,street,city,state,zip,email ,altemail ,date ,amount)
        values('".$invno."','".$type."','".$name."','".$street."','".$city."','".$state."','".$zip."','".$email."','".$alt."','".$date."','".$amt."')";

    $sqv=mysqli_query($cn,$qv);
    if($sqv)
		{
			 $type=$name=$street=$city=$state=$zip=$email=$alt=$date=$amt=$invno=""; // to clear form after sucess submit
			echo '<script> alert("REGISTRATION SUCCESS");
            window.location="index.php";    </script>';
		}
	else 
		{
			// function to show sql query error 
			echo'<br>'.mysqli_error($cn);
		}
}
?>
               <form action="" method="POST" enctype="multipart/form-data">       

<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"><input name="date" placeholder="Date Of Reg." type="date" required></td><td colspan="1" style="color:#366092;text-align:right;"></span></td><td colspan="4"></td></tr>
    <tr>
 <td colspan="3" style="color:#366092; border-collapse: separate;
    border-spacing: 0 01em;"></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">NAME<span class="ric"><input name="name" class="form-control" placeholder="Full name" type="text" required ></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"><select name="type"  class="form-control" style=" border: none;
  outline: none;
  border-bottom: 1px solid #ccc;
  background: #dce6f1; /* You can adjust the color and thickness of the outline */
  width:50%;" required><option value="">Type Of Client</option>
                      <option value="Company">Company</option>
                      <option value="Individual">Individual</option>
                   </select></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"><input name="street" class="form-control" placeholder="Street Name" type="text" style="font-size: 1.1rem" required >
                <input name="city" class="form-control" placeholder="City Name" type="text" required ></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"><input name="state" class="form-control" placeholder="State" type="text" required >
                <input name="zip" class="form-control" placeholder="Zip Code" type="text" required ></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"><input name="email" class="form-control" placeholder="Email address" type="text" required ></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"><input name="alt" class="form-control" placeholder="Alt. Email address" type="text" required ></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;"> <input name="amt" class="form-control" placeholder="Amount ($)" type="Text" required ></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; </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;"></td><td colspan="2" style="font-size: 14px;"> &emsp;</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>
<div class="clearfix"></div>
 <center> <button class="btn mt-3" style="background-color:Green" name="submit">ADD</button>   </center>
 <div class="clearfix"></div>
 <div class="clearfix"></div>
        <!-- Footer -->
      
        <!-- /.site-footer -->
    </div>
</div>
</div>
</div>


    </body>
</html>

← Back to Directory Edit File 🔒 Chmod

WP File Manager