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 (0750) : /home2/imyrqtmy/public_html/masterfin/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include("admin/includes/config.php"); ?> <!DOCTYPE html> <html> <?php require "inc/head.php"; ?> <body> <div class="page-wrapper"> <!-- Preloader --> <!-- <div class="preloader"></div> --> <!-- Main Header--> <?php require "inc/header.php"; ?> <!--End Main Header --> <?php $id = $_GET['id']; $query = "SELECT * FROM shares WHERE id='$id'"; $query_run =mysqli_query($conn, $query); if(mysqli_num_rows($query_run) > 0){ foreach($query_run as $row){ ?> <!--Page Title--> <section class="page-title" style="background-image:url(images/background/8.jpg)"> <div class="auto-container"> <div class="content"> <h1><?php echo $row['share_name']; ?> </h1> <ul class="page-breadcrumb"> <li><a href="index.php">Home</a></li> <li><?php echo $row['share_name']; ?></li> <!-- <li>Service single</li> --> </ul> </div> </div> </section> <!--End Page Title--> <section class="sponsors-section" style="padding-top:26px;"> <div class="auto-container"> <div class="row"> <div class="col-md-2"> <div class="card"> <div class="image-box"> <a href="#"><img src="<?php echo "admin/shares/" . $row['photo']; ?>" class="client-logo" alt=""></a> </div> </div> <div class="mt-3"> <a href="pay.php?id=<?php echo $row['id']; ?>" class="btn btn-success bbtt" target="_blank">Buy</a> <!-- <a href="https://wa.me/+918953289567" class="btn btn-danger bbtt" target="_blank">Sell</a> --> <a href="javascript:void(0);" class="btn btn-danger bbtt" onclick="showPopup()">Sell</a> </div> </div> <div class="col-md-9"> <h2><?php echo $row['share_name'] ?> Share Price Today</h2> <h4 style="color:green;">Minimum Share Purchase: <?php echo $row['share_purchase']?></h4> <p>Last Trade Price</p> <h4 class="price"> <i class="fa fa-rupee"></i> <?php echo $row['share_price'] ?> <?php $rate_color = ($row['rate'] < 0) ? "red" : "green"; ?> <span class="spp" style="color:<?php echo $rate_color; ?>">(<?php echo $row['rate'] ?> %)</span> </h4> </div> </div> </div> </div> </section> <section class="about-section shrr"> <div class="auto-container"> <div class="row clearfix"> <!-- Content Column --> <div class="content-column col-lg-9 col-md-9 col-sm-9"> <div class="inner-column"> <div class="card"> <table class="table table-bordered"> <tbody> <tr> <td><b class="redd">Company Name</b> <br><?php echo $row['company_name'] ?></td> <td><b class="redd">Face Value</b> <br><i class="fa fa-rupee"></i> <?php echo $row['face_value']; ?></td> <td><b class="redd">EPS</b> <br><i class="fa fa-rupee"></i> <?php echo $row['eps']; ?></td> </tr> <tr> <td><b class="redd">PE Ratio</b> <br><?php echo $row['pe_ratio']; ?></td> <td><b class="redd">52 Week High</b> <br><i class="fa fa-rupee"></i> <?php echo $row['week_high']; ?></td> <td><b class="redd">52 Week Low</b> <br><i class="fa fa-rupee"></i> <?php echo $row['day_low']; ?></td> </tr> <tr> <td><b class="redd">Sector</b> <br><?php echo $row['sector']; ?></td> <td><b class="redd">Market Capitalization</b> <br> <?php echo $row['office_addess']; ?></td> <td><b class="redd">DRHP Filed?</b> <br><?php echo $row['transfer_address']; ?></td> </tr> </tbody> </table> </div> </div> </div> <div class="content-column col-lg-3 col-md-3 col-sm-3"> <div class="card"> <div class="inner-column"> <h4>Annual Reports</h4> <ul class="report-list"> <li> <a href="<?php echo "admin/pdfs/" . $row['pdf1']; ?>" target="_blank"> Annual Report 2024 <i class="fa fa-file-pdf-o" aria-hidden="true"></i> </a> </li> <li> <a href="<?php echo "admin/pdfs/" . $row['pdf2']; ?>" target="_blank"> Annual Report 2023 <i class="fa fa-file-pdf-o" aria-hidden="true"></i> </a> </li> <li> <a href="<?php echo "admin/pdfs/" . $row['pdf3']; ?>" target="_blank"> Annual Report 2022 <i class="fa fa-file-pdf-o" aria-hidden="true"></i> </a> </li> </ul> </div> </div> </div> </div> <div class="col-md-12 mt-3"> <p style="text-align:justify;"><?php echo $row['description']; ?></p> </div> </div> </section> <?php }} ?> <style> .report-list { list-style: none; padding: 0; } .report-list li { margin: 10px 0; } .report-list a { text-decoration: none; color: #d32f2f; font-weight: bold; display: flex; align-items: center; } .report-list i { margin-left: 8px; color: #d32f2f; font-size: 18px; } </style> <!-- Modal Popup Form --> <div id="popupForm" class="popup-form modal fade" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true" style="display: none;"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLabel">Enquiry Form</h5> <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close" onclick="closePopup()"></button> </div> <div class="modal-body"> <form action="sell-share.php" method="POST"> <div class="custom-form-container"> <div class="row"> <div class="col-md-6 mt-2"> <input type="text" class="form-control custom-input" name="name" placeholder="Name"> </div> <div class="col-md-6 mt-2"> <input type="email" class="form-control custom-input" name="email" placeholder="Email" required> </div> <div class="col-md-12 mt-2"> <input type="number" class="form-control custom-input" name="phone" placeholder="Phone"> </div> <input type="hidden" id="shareName" name="shareName" readonly value="<?php echo $row['share_name']; ?>"> <div class="col-md-12 mt-2"> <input type="text" class="form-control custom-input" name="subject" placeholder="Subject"> </div> <div class="col-md-12 mt-2"> <textarea name="msg" class="form-control custom-textarea" placeholder="Message"></textarea> </div> <div class="col-md-12 mt-4 text-center"> <button type="submit" name="add_sell" class="btn btn-primary custom-btn send_message">Send</button> </div> </div> </div> </form> </div> </div> </div> </div> <style> /* Custom styles for the form */ .custom-form-container { /* background: linear-gradient(149deg, #ed0606, #00800075); */ background: gray; padding: 20px; border-radius: 10px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); } .custom-input, .custom-select, .custom-textarea { border: 1px solid #ccc; border-radius: 8px; padding: 12px; background-color: #fff; transition: all 0.3s ease; outline: none; line-height: 25px; width: 100%; height: 46px; } .custom-input:focus, .custom-select:focus, .custom-textarea:focus { border-color: #007bff; box-shadow: 0 0 8px rgba(0, 123, 255, 0.2); } .custom-textarea { height: 100px; resize: none; } .custom-btn { background-color: #007bff; border: none; padding: 10px 30px; border-radius: 25px; font-size: 16px; transition: background-color 0.3s ease; } .custom-btn:hover { background-color: #0056b3; } /* Adding animation */ .modal-content { animation: slideIn 0.5s ease-out; } @keyframes slideIn { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } /* Responsive styling */ @media (max-width: 768px) { .custom-input, .custom-select, .custom-textarea { font-size: 14px; } .custom-btn { font-size: 14px; padding: 8px 20px; } .hlo { width: 143px; height: 69px; margin-left: 3px; margin-top: -15px; margin-bottom: -11px; align-items: center; } } </style> <script> function showPopup() { // Show an alert first // alert("The form will open in a popup!"); // Trigger the Bootstrap modal to show let modal = new bootstrap.Modal(document.getElementById('popupForm')); modal.show(); } function closePopup() { // Close the modal when clicking on the close button let modal = bootstrap.Modal.getInstance(document.getElementById('popupForm')); modal.hide(); } </script> <!--Main Footer--> <?php require "inc/footer.php"; ?> </div> <!--End pagewrapper--> <script src="js/jquery.js"></script> <script src="js/popper.min.js"></script> <script src="js/isotope.js"></script> <script src="js/bootstrap.min.js"></script> <script src="js/jquery.mCustomScrollbar.concat.min.js"></script> <script src="js/jquery.fancybox.js"></script> <script src="js/appear.js"></script> <script src="js/owl.js"></script> <script src="js/wow.js"></script> <script src="js/jquery-ui.js"></script> <script src="js/main.js"></script> </body> </html>