MMCT TEAM
Server IP : 162.214.80.37  /  Your IP : 216.73.216.1
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/skyispatudyog/sym/Users/0-imyrqtmy/zugadu/AdminPanel/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/imyrqtmy/public_html/skyispatudyog/sym/Users/0-imyrqtmy/zugadu/AdminPanel/addexecutive.php
<?php include"include/cookie.php"; ?>
<?php 
$Page_Title="Add Executive";

?>
<!DOCTYPE html>
<html lang="en">

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

    <body>

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

            <!-- Top Bar Start -->
            <div class="topbar">

                <?php include"include/topbar.php"; ?>

            </div>
            <!-- Top Bar End -->

            <!-- ========== Left Sidebar Start ========== -->
            <?php include"include/sidebar.php"; ?>
            <!-- Left Sidebar End -->

            <!-- ============================================================== -->
            <!-- Start right Content here -->
            <!-- ============================================================== -->
            <div class="content-page">
                <!-- Start content -->
                <div class="content">
                    <div class="container-fluid">

                        <div class="row">
                            <div class="col-sm-12">
                                <div class="page-title-box">
                                    <h4 class="page-title"><?php echo $Page_Title; ?></h4>
                                    <!-- <ol class="breadcrumb">
                                        <li class="breadcrumb-item"><a href="javascript:void(0);">Agroxa</a></li>
                                        <li class="breadcrumb-item"><a href="javascript:void(0);">Forms</a></li>
                                        <li class="breadcrumb-item active">Form Validation</li>
                                    </ol> -->
            
                                    <!-- <div class="state-information d-none d-sm-block">
                                        <div class="state-graph">
                                            <div id="header-chart-1"></div>
                                            <div class="info">Balance $ 2,317</div>
                                        </div>
                                        <div class="state-graph">
                                            <div id="header-chart-2"></div>
                                            <div class="info">Item Sold 1230</div>
                                        </div>
                                    </div> -->
                                </div>
                            </div>
                        </div>
                        <!-- end row -->

                        <div class="page-content-wrapper">
                            <div class="row">
                                <div class="col-lg-12">
                                    <div class="card m-b-20">
                                        <div class="card-body">
            
                                            <form class="" action="insertt.php"  method="POST" enctype="multipart/form-data">
                                                <div class="form-group">
                                                    <label>Executive Name</label>
                                                    <input type="text" class="form-control" required placeholder="Enter Executive Name" name="name" onclick="randomvalue()" />
                                                </div>
                                                <div class="form-group">
                                                    <label>Executive Email</label>
                                                    <input type="email" class="form-control" required placeholder="Enter Executive Email" name="email" />
                                                </div>
                                                <div class="form-group">
                                                    <label>Executive Phone Number</label>
                                                    <input type="tel" class="form-control" required placeholder="Enter Executive Phone Number" name="phone" />
                                                </div>
                                                <div class="form-group">
                                                    <label>Executive Password</label>
                                                    <input type="password" class="form-control" required placeholder="*****" minlength="5" id="myInput" name="pass" />
                                                </div>
                                                <div class="form-group">
                                                    <input type="checkbox" class="form-control" onclick="myFunction()" style="width: 20px;margin-top: -10px;margin-right: 10px;float: left;">
                                                    <label>Show Password</label>
                                                </div>
                                                <div class="form-group">
                                                    <label>Executive Id</label>
                                                    <input type="text" class="form-control" required placeholder="*****" readonly=""  name="id" id="val" />
                                                </div>
                                                <div class="form-group">
                                                    <div>
                                                        <button type="submit" class="btn btn-primary waves-effect waves-light" name="exe">
                                                            Submit
                                                        </button>
                                                        
                                                    </div>
                                                </div>
                                            </form>
            
                                        </div>
                                    </div>
                                </div> <!-- end col -->
            
                                
                            </div> <!-- end row -->  
                        </div>
                        <!-- end page content-->

                    </div> <!-- container-fluid -->

                </div> <!-- content -->

                <?php include"include/footer.php"; ?>

            </div>


            <!-- ============================================================== -->
            <!-- End Right content here -->
            <!-- ============================================================== -->


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

        <?php include"include/js.php"; ?>
        
        
        <script>
            $(document).ready(function() {
                $('form').parsley();
            });
        </script>
        <script type="text/javascript">
              function randomString(length, chars) {
            var mask = '';
            if (chars.indexOf('a') > -1) mask += 'abcdefghijklmnopqrstuvwxyz';
            if (chars.indexOf('A') > -1) mask += 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
            if (chars.indexOf('#') > -1) mask += '0123456789';
            var result = '';
            for (var i = length; i > 0; --i) result += mask[Math.floor(Math.random() * mask.length)];
            return result;
        }
           function randomvalue()
           {
            var v;
            v=randomString(12, 'aA#');
            document.getElementById("val").value=v;
           }
        </script>
        <script type="text/javascript">
              function myFunction() {
          var x = document.getElementById("myInput");
          if (x.type === "password") {
            x.type = "text";
          } else {
            x.type = "password";
          }
        }

    </script>

    </body>

</html>

MMCT - 2023