Example #1
0
        <h4><a href="<?php 
        echo base_url() . $lang;
        ?>
/extension/<?php 
        echo $item["extension_id"];
        ?>
"><?php 
        echo str_replace($text_search, $text_replace, $item["name"]);
        ?>
</a></h4>
        <a href="<?php 
        echo base_url() . $lang;
        ?>
/extension/<?php 
        echo $item["extension_id"];
        ?>
"><?php 
        echo base_url() . $lang;
        ?>
/extension/<?php 
        echo $item["extension_id"];
        ?>
</a>
        <p><?php 
        echo str_replace($text_search, $text_replace, substr_string($item['description'], 0, 30));
        ?>
</p>
    </div>
    <?php 
    }
}
Example #2
0
?>
</copyright>
        <?php 
foreach ($extensions as $extension) {
    ?>
        <item>
            <title><?php 
    echo $extension["name"];
    ?>
</title>
            <link><?php 
    echo base_url() . $lang . "/extension/" . $extension["extension_id"];
    ?>
</link>
            <description><?php 
    echo substr_string(str_replace(array("&nbsp;", "&hellip;", "&zwnj;", "\n"), " ", strip_tags($extension["description"])), 0, 50);
    ?>
</description>
            <pubDate><?php 
    echo isset($extension["extensions.updated_date"]) && $extension["updated_date"] != 0 ? date("D, d M Y H:i:s O", $extension["updated_date"]) : date("D, d M Y H:i:s O", $extension["created_date"]);
    ?>
</pubDate>
            <guid><?php 
    echo base_url() . "extension/" . $extension["extension_id"];
    ?>
</guid>
        </item>
        <?php 
}
?>
    </channel>
        echo $item['name'];
        ?>
" style="width:100%;"/></a>
                    </div>
                    <div class="panel-body">
                        <h3><?php 
        echo $item['name'];
        ?>
</h3>
                        <div class="date-description"><?php 
        echo date("Y-m-d | l H:i", $item['created_date']);
        ?>
</div>
                        <hr>
                        <?php 
        echo substr_string($item['description']);
        ?>
                        <a href="<?php 
        echo base_url() . $lang;
        ?>
/extension/<?php 
        echo $item["extension_id"];
        ?>
" class="btn btn-link"><?php 
        echo _l("Read More", $this);
        ?>
</a>
                    </div>
                </article>
            </div>
            <?php 
Example #4
0
    <title><?php 
echo isset($settings["options"]["company"]) ? $settings["options"]["company"] : $settings["company"];
echo isset($title) ? " - " . $title : "";
?>
</title>
    <meta name="robots" content="index, follow" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0" />
    <meta name="keywords" content="<?php 
if (isset($keyword)) {
    echo $keyword;
}
?>
" />
    <meta name="description" content="<?php 
if (isset($description)) {
    echo substr_string(strip_tags($description), 0, 50);
}
?>
" />

    <link rel="sitemap" type="application/xml" title="Sitemap" href="<?php 
echo base_url() . $lang;
?>
/sitemap.xml" /> <!-- No www -->
    <link rel="shortcut icon" href="<?php 
echo base_url() . $settings["fav_icon"];
?>
">
    <!-- Bootstrap -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->