示例#1
0
function categoryCreate($area)
{
    //Function continues below...
    ?>


		<link rel="stylesheet" media="screen" href="<?php 
    echo WEB_ROOT . "/module/category/dist/style.min.css";
    ?>
">

		
		<?php 
    echo categoryHTML($area);
    ?>


		<script src="<?php 
    echo WEB_ROOT . "/module/category/dist/script.min.js";
    ?>
"></script>


<?php 
    //...function continues from above.
}
示例#2
0
function filtersHTML()
{
    require_once SERVER_ROOT . '/module/category/module.php';
    ob_start();
    //Function continues...
    ?>

		
		<div class="filter-item-wrap form-group">
			<h4>Filter Item</h4>
			<?php 
    echo categoryHTML("filters");
    ?>
		</div>
		  

<?php 
    //...function continues.
    $html = ob_get_clean();
    return $html;
}