Example #1
0
                    <div id="tiles" class="mh600">
                        <?php 
$startId = NULL;
$endId = NULL;
$gNumRecords = sizeof($postDBRows);
if ($gNumRecords > 0) {
    $startId = $postDBRows[0]['id'];
    $endId = $postDBRows[$gNumRecords - 1]['id'];
    foreach ($postDBRows as $postDBRow) {
        $html = \com\indigloo\sc\html\Post::getTile($postDBRow);
        echo $html;
    }
} else {
    $message = "No results found ";
    echo \com\indigloo\sc\html\Site::getNoResult($message);
}
?>

                    </div><!-- tiles -->
                    <hr>


                </div>
            </div>

            <div id="scroll-loading"> </div>

        </div>  <!-- container -->

        <?php 
Example #2
0
File: items.php Project: rjha/sc
<?php

$startId = NULL;
$endId = NULL;
$gNumRecords = sizeof($postDBRows);
$htmlItems = "";
if ($gNumRecords > 0) {
    $startId = $postDBRows[0]['id'];
    $endId = $postDBRows[$gNumRecords - 1]['id'];
    foreach ($postDBRows as $postDBRow) {
        $htmlItems .= \com\indigloo\sc\html\Post::getTile($postDBRow);
    }
} else {
    $message = "No items found!";
    $options = array("form" => "tile");
    $htmlItems = \com\indigloo\sc\html\Site::getNoResult($message, $options);
}
?>


<!DOCTYPE html>
<html>

    <head>
        <title> <?php 
echo $pageTitle;
?>
 </title>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="keywords" content="<?php 
Example #3
0
File: graph.php Project: rjha/sc
<?php

$gNumRecords = sizeof($graphDBRows);
$htmlGraph = "";
if ($gNumRecords > 0) {
    foreach ($graphDBRows as $graphDBRow) {
        $htmlGraph .= \com\indigloo\sc\html\SocialGraph::getPubWidget($graphDBRow);
    }
} else {
    $message = "No records found!";
    $htmlGraph = \com\indigloo\sc\html\Site::getNoResult($message);
}
?>


<!DOCTYPE html>
<html>

    <head>
        <title> <?php 
echo $pageTitle;
?>
 </title>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="keywords" content="<?php 
echo $metaKeywords;
?>
">
        <meta name="description" content="<?php 
echo $metaDescription;