D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
www
/
html
/
epaji.com
/
public_html
/
hindiusa
/
views
/
events
/
Filename :
event-details.php
back
Copy
<?php use yii\helpers\Html; ?> <div class="main-wrapper event-single-left-sidebar"> <!-- ==================================== ——— BREADCRUMB ===================================== --> <section class="breadcrumb-bg" style="background-image: url(/uploads/page-title-bg-img.jpg); "> <div class="container"> <div class="breadcrumb-holder"> <div> <h2 class="breadcrumb-title-school"><?= $school->name; ?></h2> <h1 class="breadcrumb-title"><?= $event->title; ?></h1> </div> </div> </div> </section> <!-- ==================================== ——— SINGLE-EVENT LEFT-SIDEBAR ===================================== --> <section class="py-10"> <div class="container"> <div class="row"> <div class="col-lg-9 col-sm-8 col-xs-12 order-sm-1"> <div class="card shadow-none bg-transparent"> <div class="position-relative"> <?php echo Html::img(Yii::$app->request->baseUrl.'/'.$event->thumb_image, ['alt' => $event->title,'class'=>'w-100 rounded-top']); ?> <div class="card-img-overlay"> <a href="#card-img-overlay" class="badge badge-warning text-white badge-rounded-circle"> <?= date('M',strtotime($event->start_date)); ?> </a> </div> </div> <div class="card-body border-top-5 px-3 border-warning"> <h3 class="text-warning font-weight-bold mb-4"><?= $event->title; ?></h3> <p class="text-muted mb-6"><?= $event->summary; ?></p> <p class="text-muted mb-7"><?= $event->description; ?></p> </div> </div> </div> <div class="col-lg-3 col-sm-4 col-xs-12"> <div class=""> <div class="section-title bg-warning rounded-top"> <h3 class="text-capitalize text-white font-weight-bold rounded py-2 pl-3 mb-0">event information</h3> </div> <div class="border border-top-0 px-4 py-5 rounded-bottom"> <div class="media mb-3"> <div class="icon-rounded-circle-medium mr-3 bg-success"> <i class="fa fa-calendar text-white" aria-hidden="true"></i> </div> <div class="media-body"> <h4 class="text-uppercase text-success mt-0 font-weight-bold">start date</h4> <time class="text-muted font-weight-bold"><?= date('d M, Y',strtotime($event->start_date)); ?> </time> </div> </div> <div class="media mb-3"> <div class="icon-rounded-circle-medium mr-3 bg-pink"> <i class="fa fa-calendar text-white" aria-hidden="true"></i> </div> <div class="media-body"> <h4 class="text-uppercase text-pink mt-0 font-weight-bold">end date</h4> <time class="text-muted font-weight-bold"><?= date('d M, Y',strtotime($event->end_date)); ?> </time> </div> </div> <div class="media mb-3"> <div class="icon-rounded-circle-medium mr-3 bg-danger"> <i class="fa fa-clock-o text-white" aria-hidden="true"></i> </div> <div class="media-body"> <h4 class="text-uppercase text-danger mt-0 font-weight-bold">event duration</h4> <time class="text-muted font-weight-bold"><?= $event->start_time.'-'.$event->end_time; ?></time> </div> </div> <div class="media mb-3"> <div class="icon-rounded-circle-medium mr-3 bg-purple"> <i class="fa fa-map-marker text-white" aria-hidden="true"></i> </div> <div class="media-body"> <h4 class="text-uppercase text-purple mt-0 font-weight-bold">event venue</h4> <p class="text-muted font-weight-bold mb-0"><?= $event->venue; ?></p> </div> </div> <div class="media mb-4"> <div class="icon-rounded-circle-medium mr-3 bg-info"> <i class="fa fa-phone text-white" aria-hidden="true"></i> </div> <div class="media-body"> <h4 class="text-uppercase text-info mt-0 font-weight-bold">contact</h4> <time class="text-muted font-weight-bold"><?= $event->school->contact_phone; ?></time> </div> </div> <!--<a class="btn btn-pink text-white text-uppercase w-100" href="javascript:void(0)" data-toggle="modal" data-target="#modal-enrolAccount">Register now</a>--> </div> </div> </div> </div> </div> </section> </div> <!-- element wrapper ends -->