<?php
require_once "maincore.php";
require_once THEMES."templates/header.php";
add_to_head("<link rel='stylesheet' href='your_home_styles.css'>");
opentable("place content and update styles for wanted variations");
echo "content";
closetable();
require_once THEMES."templates/footer.php";
function display_home($info) {
foreach($info as $db_id => $content) {
$colwidth = $content['colwidth'];
opentable($content['blockTitle']);
if ($colwidth) {
$classes = "col-xs-".$colwidth." col-sm-".$colwidth." col-md-".$colwidth." col-lg-".$colwidth." content";
echo "<div class='row'>";
foreach($content['data'] as $data) {
echo "<div class='".$classes." clearfix'>";
echo "<h3><a href='".$data['url']."'>".$data['title']."</a></h3>";
echo "<div class='small m-b-10'>".$data['meta']."</div>";
echo "<div class='overflow-hide'>".fusion_first_words($data['content'], 100)."</div>";
echo "</div>";
}
echo "</div>";
} else {
echo $content['norecord'];
}
closetable();
}
Category Forum
Modifications and Requests - 9Labels
None yet
Statistics
2 participants
Notifications
You are not receiving notifications from this thread.
Related Questions