File: cal.php

Recommend this page to a friend!
  Classes of Vishv Sahdev  >  Panchang Calendar  >  cal.php  >  Download  
File: cal.php
Role: Auxiliary script
Content type: text/plain
Description: template file
Class: Panchang Calendar
Display the astrological Panchang calendar
Author: By
Last change:
Date: 3 years ago
Size: 735 bytes
 

Contents

Download
<div class="row">
<div class="col-md-12">
<h1 class="text-info text-center">Panchang Calendar <?= $month ?>, <?= $year ?></h1>
<div id="search_panel">
<?= $form ?>
</div>
</div>
</div>

<div class="row">
<div class="col-md-12">
<div class="row">
<? foreach($data as $k=>$v) : ?>
<div class="col-md-4 cal-card <?php echo ($day == $k) ? 'today':''; ?>">

<div class="row">
<div class="col-md-3">
<?= $v['day'] ?>

</div>
<div class="col-md-9">
<div class="imgTop"><img width="40px" height="40px" alt="moon Phase <?= $v['paksh'] ?>" src="./moon/<?= $v['img'] ?>.jpg"/></div>
<p class="text-right"><?= $v['tithi'] ?><br><?= $v['text'] ?></p>
</div>


</div>
</div>

<? endforeach; ?>
</div>
</div>
</div>


For more information send a message to info at phpclasses dot org.