本文整理汇总了PHP中pathang::snippet方法的典型用法代码示例。如果您正苦于以下问题:PHP pathang::snippet方法的具体用法?PHP pathang::snippet怎么用?PHP pathang::snippet使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类pathang
的用法示例。
在下文中一共展示了pathang::snippet方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
?>
"></script>
</head>
<body>
<!-- Main Container -->
<div class="header">
<div class="container-main pad-header">
<div class="bcol-100 logo"><?php
pathang::snippet('logo');
?>
</div>
<div class="bcol-100 menu">
<span class="menu-text">+ menu</span>
<?php
pathang::snippet('menu');
?>
</div>
<div class="clear"></div>
</div>
</div>
<div class="body">
<div class="container-main pad-20">
<div class="app"><?php
pathang::app();
?>
</div>
</div>
</div>
<div class="footer">
<div class="container-main pad-20">
示例2:
" from="<?php
echo $id;
?>
"></div>
<?php
if ($count == $i && $heading == 'Members') {
?>
<div class="loadmore-members" id="<?php
echo $id;
?>
"> Load more members </div>
<?php
}
?>
</div>
</div>
<?php
$show = pathang::GetInstance('pathang')->AD_BLOCK->VISIBLE;
if ($show) {
?>
<div >
<?php
pathang::getInstance('packet')->set('tmpl', '728');
pathang::snippet('ads');
?>
</div>
<?php
}
?>
</div>
示例3:
<!-- Main Container -->
<div class="header">
<div class="header-wrap container-main">
<div class="menu">
<span class="menu-text">+ menu</span>
<?php
pathang::snippet('menu');
?>
</div>
</div>
</div>
<div class="container-main pad-header">
<div class="bcol-100 logo"><?php
pathang::snippet('logo');
?>
</div>
<div class="clear"></div>
</div>
<div class="body">
<div class="container-main pad-20">
<div class="app"><?php
pathang::app();
?>
</div>
</div>
</div>
<div class="footer">
<div class="container-main pad-20">
示例4:
pathang::snippet('logo');
?>
</div>
<div class="bcol-75 menu">
<span class="menu-text">+ menu</span>
<?php
pathang::snippet('menu');
?>
</div>
<div class="clear"></div>
</div>
</div>
<div class="body">
<div class="container-main pad-20">
<div class="app bcol-30"><?php
pathang::snippet('sidemenu');
?>
</div>
<div class="app bcol-70"><?php
pathang::app();
?>
</div>
<div class="clear"></div>
</div>
</div>
<div class="feed-menu-container"></div>
<div class="footer">
<div class="container-main pad-20"><?php
pathang::Snippet('footer');
?>
</div>
示例5:
<body class="cloud">
<div class="box">
<div>Now the page is rendered in <b>super</b> theme </div>
</div>
<div class="container" >
<div class="logo">
<?php
pathang::snippet('logo');
?>
</div>
<div class="pad50 page">
<?php
pathang::app();
?>
</div>
</div>
<div class="container">
<div class="footer">
<?php
pathang::snippet('footer');
?>
</div>
</div>
</body>
</html>