Construction Company Management System Code download
Code of Construction Company Management System. service.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
<!DOCTYPE html> <html lang="en"> <head> <title>Construction Company Management System</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous"> <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="bootstrap.min.css"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway"> <link rel="stylesheet" href="css/custom.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" type="text/css" href="css/servicestyle.css"> <style> </style> </head> <body> <!-- Header start --> <?php // Navigation require_once("includes/navbar.php"); // Hero Seciton require_once("includes/hero.php"); ?> <div class="w3-container" style="padding-top:40px; padding-bottom: 40px;" > <h3 class="w3-center">SERVICES</h3> </div> <!--Service Part start--> <div class="service_area add_padding"> <div class="container"> <div class="row"> <?php require_once("includes/connection.php"); $select_service = "SELECT * FROM `services`"; $run = mysqli_query($con, $select_service); if (mysqli_num_rows($run)>0) { while ($data = mysqli_fetch_array($run)) { $s_name = $data['s_name']; $s_image = $data['s_image']; ?> <div class="col-md-6 col-lg-4 mb-3"> <div class="single_service"> <div class="thumb"> <img src="images/service/<?php echo $s_image?>" alt=""> </div> <div class="service_info"> <a href="#"><h3><?php echo $s_name?></h3></a> </div> </div> </div> <?php }} ?> </div> </div> </div> <!--service part end--> <?php require_once("includes/footer.php"); ?> |
project_details.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 |
<html> <head> <title style="color: GREEN;">GCC/5-Marla Exective Details</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous"> <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="bootstrap.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <style> table { font-family: arial, sans-serif; border-collapse: collapse; width: 100%; } td, th { border: 1px solid #dddddd; text-align: center; padding: 8px; } tr:nth-child(even) { background-color: #dddddd; text-decoration: bold; } th { border: 1px solid #dddddd; text-align: center; padding: 8px; background-color: black; color: white; } .start{ text-align: center; } .button a{ color: white; text-decoration: none; } button { border-radius: 10px; border: 4px solid #f90d53; font-size: 28px; padding: 20px; width: 150px; cursor: pointer; margin-top: 20px; margin-left: 40%; margin-bottom: 20px; } .image-div{ width: 40%; float: left; } .detail-div{ width: 400px; height: 500px; display: flex; } .an:hover{ background: #f90D53; cursor: pointer; color: white; } .an{ border:2px solid ; border-radius: 10px; color: #f90D53; width: 20%; } </style> </head> <body> <!-- Header start --> <?php // Navigation require_once("includes/navbar.php"); require_once("includes/connection.php"); ?> <!--cost table start--> <section style="margin-top: 104px;"> <?php $select_project = "SELECT * FROM project WHERE project_id = '$_GET[project_id]'"; $run_project = mysqli_query($con, $select_project); $project_data = mysqli_fetch_array($run_project); $project_title = $project_data['title']; $project_type = $project_data['type']; $p_size = $project_data['p_size']; ?> <h2 class="start"><?php echo $project_title." - ".$project_type;?></h2> <h3 class="start"><b>Detail of material used in costruction with price.</b></h3> <hr> <table> <tr> <th>Product Name</th> <th>Retail Price</th> <th>Company Price</th> <th>Quantity used</th> <th>Cost of Quantity</th> </tr> <?php if (isset($_GET['project_id'])) { $project_id = $_GET['project_id']; $select_material = "SELECT * FROM material_detail WHERE project_id = '$project_id'"; $run_material = mysqli_query($con, $select_material); if (mysqli_num_rows($run_material)>0) { while ($data = mysqli_fetch_array($run_material)) { $p_name = $data['p_name']; $r_price = $data['r_price']; $c_price = $data['c_price']; $q_used = $data['q_used']; $project_id = $data['project_id']; $q_cost = $data['q_cost']; echo "<tr> <td>$p_name</td> <td>$r_price</td> <td>$c_price</td> <td>$q_used</td> <td>$q_cost</td> </tr>"; } } } ?> </table> </section> <!--cost table end--> <!--Payment plane start--> <section style="margin-top: 60px;"> <h2 class="start"><?php echo $project_title." - ".$project_type;?></h2> <h3 class="start"><b>Payment Plan</b></h3> <hr> <table> <tr> <th>Plot Size</th> <th><?php echo $p_size;?></th> </tr> <?php if (isset($_GET['project_id'])) { $project_id = $_GET['project_id']; $select_payment = "SELECT * FROM payment_plans WHERE project_id = '$project_id'"; $run_payment = mysqli_query($con, $select_payment); if (mysqli_num_rows($run_payment)>0) { while ($datapayment = mysqli_fetch_array($run_payment)) { $p_title = $datapayment['p_title']; $p_detail = $datapayment['p_detail']; echo "<tr> <td>$p_title</td> <td>$p_detail</td> </tr>"; } } } ?> </table> </section> <!--payment plan end--> <section> <hr> <div class="container-fluid"> <div class="row mb-2"> <div class="image-div"> <div class="col-lg-6 col-md-6 col-sm-12 col-12"> <h2>Features:</h2> <ol> <?php if (isset($_GET['project_id'])) { $project_id = $_GET['project_id']; $select_features = "SELECT * FROM project_features WHERE project_id = '$project_id'"; $run_features = mysqli_query($con, $select_features); if (mysqli_num_rows($run_features)>0) { while ($datafeatures = mysqli_fetch_array($run_features)) { $features = $datafeatures['features']; $image = $datafeatures['image']; $video = $datafeatures['video']; echo "<li><b>$features</b></li>"; } } } ?> </ol> </div> <hr> <div> <h3><?php echo $project_title;?> house vedio:</h3> <iframe src="images/<?php echo $video;?>"></iframe> <p>This vedio belong to our previous project.</p> </div> </div> <div class="detail-div"> <img src="images/<?php echo $image;?>"> </div> </div> </div> </section> <div> <p style="text-align: center;">To buy this project submit you order by clicking on order button given below.</p> <button class="an"><a href="orderform.php?project_id=<?php echo $_GET['project_id'];?>">Order</a></button> </div> <!-- Footer start--> <footer class="w3-center w3-black w3-padding-64"> <a href="#" class="w3-button w3-light-grey"><i class="fa fa-arrow-up w3-margin-right"></i>To the top</a> <div class="w3-xlarge w3-section"> <i class="fa fa-facebook-official w3-hover-opacity"></i> <i class="fa fa-instagram w3-hover-opacity"></i> <i class="fa fa-snapchat w3-hover-opacity"></i> <i class="fa fa-pinterest-p w3-hover-opacity"></i> <i class="fa fa-twitter w3-hover-opacity"></i> <i class="fa fa-linkedin w3-hover-opacity"></i> </div> <p>Copyright@:<a href="https://www.facebook.com/people/Ch-Umair/100008881573133" title="" target="_blank" class="">GCC.2021</a></p> </footer> <!--footer end---> <!-- Javascript --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> </body> </html> |
order_fun.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
<?php require_once("includes/connection.php"); if (isset($_POST['submit'])) { $fname = $_POST['fname']; $lname = $_POST['lname']; $cnic = $_POST['cnic']; $email = $_POST['email']; $phone = $_POST['phone']; $address = $_POST['address']; $project_id = $_POST['project_id']; $image = $_FILES['image']['name']; $temp_name = $_FILES['image']['tmp_name']; $folder = "images/".$image; move_uploaded_file($temp_name, $folder); $order_id = mt_rand(900, 90000); $insert = "INSERT INTO `order_details`(`f_name`, `l_name`, `cnic`, `u_mail`, `u_contact`, `u_address`, `payment_slip`, `status`, `project_id`, `order_id`) VALUES ('$fname','$lname', '$cnic', '$email', '$phone', '$address', '$image', 'Pending', '$project_id', '$order_id')"; $run = mysqli_query($con, $insert); if ($run) { header('refresh:0;url=index.php'); } else { echo '<script type="text/javascript"> alert("Error"); </script>'; header('refresh:0;url=index.php'); } } ?> |
Download full code of Construction Company Management System Project Construction Company Management System Introduction This project of Construction Company Management System belongs to the construction website in which we provide different services to our clients related to construction. Like Build new houses (from …
Construction Company Management System Code download Read More »