MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.135.200.121
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/mail/../aviationpestcontrolcorporation.in/../kanoonisamadhan.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/mail/../aviationpestcontrolcorporation.in/../kanoonisamadhan.in/causes.php
<?php
     include_once('admin/config.php');  
     $c_id = $_GET['id'];
    $sql13 = "SELECT * FROM `tbl_causes` WHERE id = '$c_id'";
    $run13 = mysqli_query($db,$sql13) or die("Query Not run");
    $data13 = mysqli_fetch_assoc($run13);
?>
<!DOCTYPE html>
<html lang="zxx">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <!-- Title -->
    <title><?php echo $data13['meta_title']?></title>
    <?php include 'top-link.php';?>
</head>

<body>
<?php include 'header.php';?>
<!-- Banner Area -->
<section id="common_banner_area">
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <div class="commn_banner_page">
                        <h2><span class="color_big_heading">Causes</span></h2>
                        <ul class="breadcrumb_wrapper">
                            <li class="breadcrumb_item"><a href="index.php">Home</a></li>
                            <li class="breadcrumb_item"><img src="assets/img/icon/arrow.png" alt="img"></li>
                            <li class="breadcrumb_item active">Causes</li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </section>

 <section  class="couses-outerbox my-4">
     <div class="container">
         <div class="row" >
             <div style="box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;" class="col-md-8  p-2">
                 <div class="box-top">
                     <img class="img-fluid" style="width:100%; height:300px" src="admin/images/<?php echo $data13['image']?>" alt="<?php echo $data13['image']?>">
                 </div>
                 <div class="box-bottom">
                    <div class="row mt-3 p-2">
                        <div class="col-6">
                            <p class="goal text-center" style="padding: 8px;    padding: 8px;margin: 0px 6px;background: #fafafa;border: 1px solid #c1bfbf;border-radius: 6px;" ><span>Goal:</span> ₹ <?php echo $data13['goal']?></p>
                        </div>
                        <div class="col-6"><a href="donate.php"><button style="background:#e67715;" type="button" class="btn btn-primary">Donate</button></a></div>
                    </div>
                    <div class="row ">
                        <div class="col">
                            <h1 style="font-size: 32px;color: #e17515;"><?php echo $data13['title']?></h1>
                            <p style="font-size: 13px;"><?php echo $data13['desc']?></p>
                        </div>
                    </div>
                 </div>
             </div>
             <div class="col-md-4 lower" style="height: 700px;
    overflow: auto;">
                
                    <?php
                        $sql14 = "SELECT * FROM `tbl_causes`";
                        $run14 = mysqli_query($db,$sql14) or die("Query Not run");
                        while($data14 = mysqli_fetch_assoc($run14)){
                    ?>
                    <div  class="row p-2">
                        <div class="col">
                            <div style="box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;" class="box p-2">
                                <img style="width:100%;height:auto" class="img-fluid" src="admin/images/<?php echo $data14['image']?>" alt="<?php echo $data14['image']?>">
                              <div class="p-3">
                                    <p style="display:inline"><span>Goal:</span> ₹ <?php echo $data14['goal']?></p>
                                <p style="display:inline;display: inline;margin-left: 20px;"><span>Date:</span><?php echo $data14['date']?></p>
                                <h5><?php echo $data14['title']?></h5>
                              </div>
                            </div>
                        </div>
                     </div>    
                    <?php } ?>  
                
                
             </div>
         </div>
     </div>
 </section>
    
<?php include 'footer.php';?>

MMCT - 2023