ok
Direktori : /proc/thread-self/root/proc/self/root/home2/selectio/public_html/subamangala/admin/ |
Current File : //proc/thread-self/root/proc/self/root/home2/selectio/public_html/subamangala/admin/business.php |
<?php include "header.php"; ini_set("memory_limit", "-1"); ?> <div class="content-wrapper" style="background:#ecf0f5;"> <div class="col-lg-12 alerts"> <div id="custom-alerts" style="display:none;"> <div class="alert alert-dismissable"> <div class="custom-msg"></div> </div> </div> <?php if ($error) { ?> <div class="alert alert-danger alert-dismissable"> <button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button> <h4><i class="icon fa fa-ban"></i> Error</h4> <?= $error ?> </div> <?php } if ($warning) { ?> <div class="alert alert-warning alert-dismissable"> <button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button> <h4><i class="icon fa fa-warning"></i> Warning</h4> <?= $warning ?> </div> <?php } if ($message) { ?> <div class="alert alert-success alert-dismissable"> <button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button> <h4> <i class="icon fa fa-check"></i> Success</h4> <?= $site_name ?> </div> <?php } ?> </div> <div class="clearfix"></div> <style> #first_tr{ background-color: brown!important; color: white!important; text-align: center!important; font-size: large!important; font;-weight: bold!important; } #first_tr:hover{ background-color: brown!important; color: white!important; text-align: center!important; font-size: large!important; font;-weight: bold!important; } </style> <section class="content"> <!-- Data Tables Starts Here --> <div class="row" style="padding-top: 15px;"> <div class="col-xs-12"> <div class="box box-warning"> <div class="box-body" style="box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;"> <div class="clearfix"></div> <div class="row"> <div class="col-md-4"> <div class="form-group"> <select name="profiles_id" class="form-control select2" id="profiles_id" required="required"> <option value="">Profile Id</option> <?php $statement = $pdo->prepare("SELECT * FROM `profiles`"); $statement->execute(); $location_result = $statement->fetchAll(PDO::FETCH_ASSOC); foreach ($location_result as $result) { ?> <option value="<?=$result['id']?>"><?=$result['id']?></option> <?php } ?> </select> </div> </div> <div class="col-md-4"> <div class="form-group" style="text-align:left;"> <button class="btn btn-warning btn-sm" onclick="filter_id()"><i class="fa fa-download"></i> Filter</button> </div> </div> </div> <div class="row" style="padding-top: 15px;"> <div class="col-xs-12"> <div class="clearfix"></div> <div id="filtered_append_section"> </div> </div> </div> <div class="clearfix"></div> </div> </div> </div> </div> <!-- Data Tables Endsss Here --> </section> <!--<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.js" ></script>--> <script> /*$(document).ready(function(){ filter_id(); });*/ function filter_id(){ $('#filtered_append_section').empty(); var profiles_id=$('#profiles_id').val(); $.ajax({ url: 'ui-api/buisness-to-business-details.php', type: 'post', data:{profiles_id:profiles_id}, success: function (response) { $('#filtered_append_section').append(response); } }); } </script> <?php include "footer.php"; ?>