PHP Classes

File: modules/pages/views/page.php

Recommend this page to a friend!
  Classes of Aby Dahana  >  Dwitri PHP Social Network Platform  >  modules/pages/views/page.php  >  Download  
File: modules/pages/views/page.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Dwitri PHP Social Network Platform
Create a community site like a social network
Author: By
Last change:
Date: 7 months ago
Size: 1,285 bytes
 

Contents

Class file image Download

    <?php foreach($page as $row): ?>

        <div class="jumbotron text-center">
            <div class="container">
                <div class="row">
                    <div class="col-md-10 col-md-offset-1 text-shadow">
                        <h2><?php echo $row['pageTitle']; ?></h2>
                        <p>
                            <?php echo $row['pageExcerpt']; ?>
</p>
                    </div>
                </div>
            </div>
        </div>
        <div class="container">
            <div class="row">
                <div class="col-md-10 col-md-offset-1">
                    <div class="row">
                        <div class="col-md-8 sticky">
                       
                            <?php echo special_parse($row['pageContent']); ?>

                            <br />
                            <p class="text-muted">
                                <i class="fa fa-clock-o"></i> <?php echo phrase('updated_on') . ' ' . date('d M Y, H:i', $row['timestamp']); ?>
</p>
                        </div>
                        <div class="col-md-4 hidden-xs hidden-sm sticky">
                            <div class="list-group">
                           
                                <?php foreach($navigations as $nav) { ?>

                                    <a href="<?php echo base_url('pages/' . $nav['pageSlug']); ?>" class="ajaxLoad list-group-item<?php if($row['pageSlug'] == $nav['pageSlug']) echo ' active'; ?>"><i class="fa fa-file-o"></i> &nbsp; <?php echo truncate($nav['pageTitle'], 22); ?></a>
                                   
                                <?php } ?>

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

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