Beispiel #1
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 sort_words(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>
Beispiel #2
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, sort_words($item['description'], 0, 30));
        ?>
</p>
    </div>
    <?php 
    }
}
        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 sort_words($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 
Beispiel #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 sort_words(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"];
?>
">


    <link href="<?php