McGansWebsite/application/views/project_details.php

120 lines
3.4 KiB
PHP
Raw Permalink Normal View History

<?php $this->load->view('include/header.php')?>
<style>
.row{
margin-top: 58px;
}
.pr-title:before{
background:#fff;
}
</style>
<?php
$CI=& get_instance();
$CI->load->model('WelcomeModel');?>
<div id="wrapper">
<!-- content-holder -->
<div class="content-holder">
<?php
if(isset($projectdetail)&& $projectdetail->num_rows()>0)
{
$view=$projectdetail->row();
$pid=$view->id;
$projectName=$view->projectName;
$studentName=$view->studentName;
$description=$view->description;
$video=$view->vedio;
$drivelink=$view->drivelink;
}
?>
<section data-scrollax-parent="true" >
<div class="container">
<div class="">
<h3 class="bold-title" style="font-size: 29px;font-weight:600;"><?=$projectName;?></h3>
<div class="pr-tags" style="font-size: 20px;width:30%;border:none;background:none;padding-right:0px;padding-left:0px;">
<span style="font-size: 20px;">Student Name : </span>
<ul>
<li><?=$studentName;?></li>
</ul>
</div>
<br>
<br>
<p style="font-size: 18px;"><?=$description;?></p>
<p><b>Video Link :</b> <a style="font-size: 15px;font-weight: 500;" href="<?=$drivelink;?>" traget="-blank"><?=$drivelink;?></a></p>
<p> <b>Drive Link : </b><a style="margin-top:50px;font-size: 15px;font-weight: 500;" href="<?=$video;?>" traget="-blank"><?=$video;?></a></p>
<br><br>
<span class="bold-separator"></span>
</div>
<div class="section-container fl-wrap">
<!--serv-item end -->
<?php
$getGallery=$CI->WelcomeModel->getGalleryList($pid);
//$numRows=$getFac->num_rows();
if(isset($getGallery) && $getGallery->num_rows()>0)
{
foreach($getGallery->result() as $list)
{
$id=$list->id;
$title=$list->title;
$mdescription=$list->description;
$image=$list->image;
?>
<div class="serv-item fl-wrap" id="serv2">
<div class="row">
<div class="col-md-4">
<div class="pr-title" style="padding-bottom: 20px;padding-left: 0px;">
<?=$title;?>
</div>
<p style="width:100%;font-size:17px;text-align: justify;font-weight: 200;text-transform: lowercase;" class="bold-title">
<?=$mdescription;?>
</p>
</div>
<div class="col-md-8">
<div class="">
<div class="blog-media fl-wrap">
<div class="box-item">
<img src="<?=base_url();?>admin/uploads/project/<?=$image;?>" style="height:500px;" class="respimg" alt="">
<div class="overlay"></div>
<a href="<?=base_url();?>admin/uploads/project/<?=$image;?>" class="image-popup popup-image"><i class="fa fa-search" ></i></a>
</div>
</div>
<div class="clearfix"></div>
<!--<span class="bold-separator"></span>-->
</div>
</div>
</div>
</div>
<!--serv-item end -->
<?php
}}
?>
</div>
</div>
<div class="limit-box fl-wrap"></div>
<!-- partcile-dec-->
<div class="partcile-dec" data-parcount="200"></div>
<!-- partcile-dec end-->
</section>
<!-- section end-->
</div>
<!-- content end-->
<!--=============== content-footer ===============-->
<div class="height-emulator"></div>
<!-- content-footer end -->
</div>
<!-- content-holder end -->
</div>
<!-- wrapper end -->
<?php include 'include/footer.php';?>