?> <li class="entry"> <div class="title"> <a href="index.php?page=entries/<?php echo $session->id; ?> "> <?php echo $session->title; ?> </a> </div> <div class="date"> <?php echo toPersian($session->date); ?> </div> <div class="clear"></div> <div class="num"> <?php echo $session->subject; ?> </div> </li> <?php } ?> </ul>
<?php foreach ($entries as $entry) { ?> <item> <title><?php echo $entry->title; ?> </title> <description> <![CDATA[ <div dir="rtl"> <?php if ($entry->type == 'Session') { ?> تاریخ برگزاری جلسه: <?php echo toPersian($entry->date); ?> <br /> موضوع: <?php echo $entry->subject; ?> <br /> <?php } if (is_array($entry->body)) { //Nested xml elements become arrays. Echo them all. echo implode('<br />', $entry->body); } else { echo $entry->body; } ?>
?> <li class="entry"> <div class="title"> <a href="index.php?page=entries/<?php echo $item->id; ?> "> <?php echo $item->title; ?> </a> </div> <div class="date"> <?php echo toPersian($item->date); ?> </div> <div class="clear"></div> <div class="body"> <?php $body = $item->body; if (is_array($body)) { $body = implode('', $item->body); } echo implode(' ', array_slice(explode(' ', $body), 0, 20)) . '...'; ?> </div> </li>
</a> </div> <ul class="entries"> <?php $next = getNextSession(); foreach (getEntries(Null, 6) as $entry) { echo '<li class="entry">'; if ($entry == $next) { echo 'جلسه بعدی:'; } echo '<a href="' . $entry->url . '">'; echo $entry->title; echo '</a>'; if ($entry->date) { echo "<div class='date'>" . toPersian($entry->date) . "</div>"; } echo '</li>'; } ?> </ul> </div> <div class="clear"></div> <div class="dialog center" style="float: right;"> <div class="blue box" style="color: white;"> محل برگزاری جلسه ۲۱۹ </div> <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3237.6691861981526!2d51.400563399999996!3d35.758935!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0xfd6f8c0337ff5a92!2z2YXZiNiz2LPZhyDYotmF2YjYsti0INi52KfZhNuMINiu2KfYqtmF!5e0!3m2!1sen!2sus!4v1438550347190" width="546" height="295" frameborder="0" style="border:0;width: 100%;height: 100%;" allowfullscreen></iframe> <br />