当前位置: 首页>>代码示例>>PHP>>正文


PHP powered_by函数代码示例

本文整理汇总了PHP中powered_by函数的典型用法代码示例。如果您正苦于以下问题:PHP powered_by函数的具体用法?PHP powered_by怎么用?PHP powered_by使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了powered_by函数的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: item_prevnext_links

		<ul>
		<?php 
// ------------------- PREV/NEXT POST LINKS (SINGLE POST MODE) -------------------
item_prevnext_links(array('block_start' => '<li class="prevnext">', 'prev_start' => 'Previous Post:<br />', 'prev_end' => '<br /><br />', 'next_start' => 'Next Post:<br />', 'next_end' => '<br /><br />', 'block_end' => '</li>'));
?>
	<?php 
// ------------------------- "Sidebar" CONTAINER EMBEDDED HERE --------------------------
// Display container contents:
skin_container(NT_('Sidebar'), array('block_start' => '<li class="$wi_class$">', 'block_end' => '</li>', 'block_title_start' => '<h2>', 'block_title_end' => '</h2>', 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>', 'group_start' => '<ul>', 'group_end' => '</ul>', 'notes_start' => '<div class="notes">', 'notes_end' => '</div>'));
// ----------------------------- END OF "Sidebar" CONTAINER -----------------------------
?>
		</ul>

		<?php 
// Please help us promote b2evolution and leave this logo on your blog:
powered_by(array('block_start' => '<div class="powered_by">', 'block_end' => '</div>', 'img_url' => 'img/powered-by-b2evolution-138x39-895C46.gif', 'img_width' => 138, 'img_height' => 39));
?>
	</div>
</div> <!-- END RS DIV -->
</div> <!-- END CONTENT DIV -->

<!-- =================================== START OF FOOTER =================================== -->
<div class="pagefoot">
	<?php 
// Display container and contents:
skin_container(NT_("Footer"), array());
// Note: Double quotes have been used around "Footer" only for test purposes.
?>
	<p class="center">
		<?php 
// Display footer text (text can be edited in Blog Settings):
开发者ID:ldanielz,项目名称:uesp.blog,代码行数:31,代码来源:index.main.php

示例2: T_

$Blog->contact_link(array('before' => '', 'after' => ' &bull; ', 'text' => T_('Contact'), 'title' => T_('Send a message to the owner of this blog...')));
// Display a link to help page:
$Blog->help_link(array('before' => ' ', 'after' => ' ', 'text' => T_('Help')));
?>

			<?php 
// Display additional credits:
// If you can add your own credits without removing the defaults, you'll be very cool :))
// Please leave this at the bottom of the page to make sure your blog gets listed on b2evolution.net
credits(array('list_start' => '&bull;', 'list_end' => ' ', 'separator' => '&bull;', 'item_start' => ' ', 'item_end' => ' '));
?>
		</p>

		<?php 
// Please help us promote b2evolution and leave this logo on your blog:
powered_by(array('block_start' => '<div class="powered_by">', 'block_end' => '</div>', 'img_url' => '$rsc$img/powered-by-b2evolution-120t.gif', 'img_width' => 120, 'img_height' => 32));
?>
	</div><!-- .col -->
	
</footer><!-- .row -->


</div><!-- .container -->


<?php 
// ---------------------------- SITE FOOTER INCLUDED HERE ----------------------------
// If site footers are enabled, they will be included here:
siteskin_include('_site_body_footer.inc.php');
// ------------------------------- END OF SITE FOOTER --------------------------------
// ------------------------- HTML FOOTER INCLUDED HERE --------------------------
开发者ID:b2evolution,项目名称:bootstrap_forums_skin,代码行数:31,代码来源:help.main.php

示例3: defined

defined('_JEXEC') or die('Restricted access');
$advert_count = ($this->countModules('advert1') > 0) + ($this->countModules('advert2') > 0) + ($this->countModules('advert3') > 0) + ($this->countModules('advert4') > 0) + ($this->countModules('advert5') > 0);
$advert_width = $advert_count > 0 ? 'advert' . floor(99 / $advert_count) : '';
$user_count = ($this->countModules('user1') > 0) + ($this->countModules('user2') > 0) + ($this->countModules('user3') > 0);
$user_width = $user_count > 0 ? 'user' . floor(99 / $user_count) : '';
$user2_count = ($this->countModules('user4') > 0) + ($this->countModules('user5') > 0) + ($this->countModules('user6') > 0);
$user2_width = $user2_count > 0 ? 'user' . floor(99 / $user2_count) : '';
$user3_count = ($this->countModules('user7') > 0) + ($this->countModules('user8') > 0) + ($this->countModules('user9') > 0);
$user3_width = $user3_count > 0 ? 'user' . floor(99 / $user3_count) : '';
$footer_count = ($this->countModules('footer1') > 0) + ($this->countModules('footer2') > 0) + ($this->countModules('footer3') > 0) + ($this->countModules('footer4') > 0) + ($this->countModules('footer5') > 0);
$footer_width = $footer_count > 0 ? 'footer' . floor(99 / $footer_count) : '';
function powered_by()
{
}
powered_by();
function getColumns($left, $right)
{
    if ($left && !$right) {
        $selectcolumns = "-left-col";
    }
    if ($right && !$left) {
        $selectcolumns = "-right-col";
    }
    if ($left && $right) {
        $selectcolumns = "-left-right";
    }
    if (!$left && !$right) {
        $selectcolumns = "-no-col";
    }
    return $selectcolumns;
开发者ID:ashanrupasinghe,项目名称:dnp,代码行数:30,代码来源:index.php

示例4: skin_container

echo '<a href="' . $Blog->gen_blogurl() . '?tempskin=_rss2"><img alt="rss" src="images/rss.png" /></a>, ';
?>
</div>

	<ul>
	<?php 
// ------------------------- "Sidebar" CONTAINER EMBEDDED HERE --------------------------
// Display container contents:
skin_container(NT_('Sidebar'), array('block_start' => '<li class="$wi_class$">', 'block_end' => '</li>', 'block_title_start' => '<h2>', 'block_title_end' => '</h2>', 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>', 'group_start' => '<ul>', 'group_end' => '</ul>', 'notes_start' => '<div class="notes">', 'notes_end' => '</div>'));
// ----------------------------- END OF "Sidebar" CONTAINER -----------------------------
?>
	</ul>

	<?php 
// Please help us promote b2evolution and leave this logo on your blog:
powered_by(array('block_start' => '<div class="powered_by">', 'block_end' => '</div>', 'img_url' => 'images/b2evo-tilqi-logo-trans.png', 'img_width' => 150, 'img_height' => 58));
?>
    <div class="validators" align="center">
    <p>
    <a href="http://validator.w3.org/check?uri=referer"><img
        src="images/valid-xhtml10.png"
        alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a>
  </p>
  
  <p>
    <a href="http://jigsaw.w3.org/css-validator/check?uri=referer">
        <img style="border:0;width:88px;height:31px"
            src="images/vcss.gif"
            alt="Valid CSS!" />
    </a>
</p>
开发者ID:b2evolution,项目名称:extreme_sports_skin,代码行数:31,代码来源:_sidebar.inc.php

示例5: item_prevnext_links

		<ul>
		<?php 
// ------------------- PREV/NEXT POST LINKS (SINGLE POST MODE) -------------------
item_prevnext_links(array('block_start' => '<li class="prevnext">', 'prev_start' => 'Previous Post:<br />', 'prev_end' => '<br /><br />', 'next_start' => 'Next Post:<br />', 'next_end' => '<br /><br />', 'block_end' => '</li>'));
?>
	<?php 
// ------------------------- "Sidebar" CONTAINER EMBEDDED HERE --------------------------
// Display container contents:
skin_container(NT_('Sidebar'), array('block_start' => '<li class="$wi_class$">', 'block_end' => '</li>', 'block_title_start' => '<h2>', 'block_title_end' => '</h2>', 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>', 'group_start' => '<ul>', 'group_end' => '</ul>', 'notes_start' => '<div class="notes">', 'notes_end' => '</div>'));
// ----------------------------- END OF "Sidebar" CONTAINER -----------------------------
?>
		</ul>

		<?php 
// Please help us promote b2evolution and leave this logo on your blog:
powered_by(array('block_start' => '<div class="powered_by">', 'block_end' => '</div>', 'img_url' => '$rsc$img/b2evolution_button_classic.png', 'img_width' => 80, 'img_height' => 15));
?>
	<p class="validation">
		<a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10-blue" alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a>
	</p>
	</div>
</div> <!-- END RS DIV -->
</div> <!-- END CONTENT DIV -->

<!-- =================================== START OF FOOTER =================================== -->
<div class="pagefoot">
	<?php 
// Display container and contents:
skin_container(NT_("Footer"), array());
// Note: Double quotes have been used around "Footer" only for test purposes.
?>
开发者ID:b2evolution,项目名称:december_skin,代码行数:31,代码来源:index.main.php

示例6: layout_end

function layout_end()
{
    ?>
	<?php 
    powered_by();
    ?>
	</body>
	</html>
	<?php 
}
开发者ID:rubencamargogomez,项目名称:custom_properties,代码行数:10,代码来源:dbkiss.php

示例7: T_

$Blog->contact_link(array('before' => '', 'after' => ' &bull; ', 'text' => T_('Contact'), 'title' => T_('Send a message to the owner of this blog...')));
?>
 Design by&#58; <a href="http://www.cssdizayn.com/" title="Css dizayn">Emin &#214;zlem</a>&nbsp;(tilqicom)
		<?php 
// Display additional credits:
// If you can add your own credits without removing the defaults, you'll be very cool :))
// Please leave this at the bottom of the page to make sure your blog gets listed on b2evolution.net
credits(array('list_start' => ' &bull; ' . T_('Credits') . ': ', 'list_end' => ' ', 'separator' => '|', 'item_start' => ' ', 'item_end' => ' '));
?>
 b2eviant_skin 1.1 	</p>
        <br />
        
        <div class="shiny_bars">
        <ul>
        <li><a href="http://validator.w3.org/check?uri=referer"><img src="img/footer/vxhtml.gif" alt="validxhtml" title="Valid Xhtml" /></a></li>
        <li><a href="http://jigsaw.w3.org/css-validator/check?uri=referer"><img src="img/footer/vcss.gif" alt="validcss" title="Valid Css" /></a></li>
         <li><a href="http://validator.w3.org/feed/check?uri=referer"><img src="img/footer/vrss.gif" alt="validrss" title="Valid Feed" /></a></li>
         <li><?php 
powered_by(array('block_start' => '', 'block_end' => '', 'img_url' => '$rsc$img/b2evolution_button.png', 'img_width' => 80, 'img_height' => 15));
?>
  </li>       
                         <li><a href="<?php 
$Blog->disp('url');
?>
"><img src="img/footer/allbrowsers.gif" alt="crossbrowser" title="cross-browser" /></a></li>
                                                  <li><a href="#"><img src="img/footer/anyres.gif" alt="anyres" title="any resolution, fluid" /></a></li>
                </ul></div>

</div>
</div>
开发者ID:b2evolution,项目名称:b2eviant_skin,代码行数:30,代码来源:_body_footer.inc.php

示例8: die

 * For a quick explanation of b2evo 2.0 skins, please start here:
 * {@link http://manual.b2evolution.net/Skins_2.0}
 *
 * This is meant to be included in a page template.
 *
 * @package evoskins
 * @subpackage dediktation
 */
if (!defined('EVO_MAIN_INIT')) {
    die('Please, do not access this page directly.');
}
?>
<div id="sidebarwrapper">
<div id="sidebar">

	<ul>
	<?php 
// ------------------------- "Sidebar" CONTAINER EMBEDDED HERE --------------------------
// Display container contents:
skin_container(NT_('Sidebar'), array('block_start' => '<li class="$wi_class$">', 'block_end' => '</li>', 'block_title_start' => '<h2>', 'block_title_end' => '</h2>', 'list_start' => '<ul>', 'list_end' => '</ul>', 'item_start' => '<li>', 'item_end' => '</li>', 'group_start' => '<ul>', 'group_end' => '</ul>', 'notes_start' => '<div class="notes">', 'notes_end' => '</div>'));
// ----------------------------- END OF "Sidebar" CONTAINER -----------------------------
?>
	</ul>

	<?php 
// Please help us promote b2evolution and leave this logo on your blog:
powered_by(array('block_start' => '<div class="powered_by">', 'block_end' => '</div>', 'img_url' => 'img/b2.gif', 'img_width' => 150, 'img_height' => 58));
?>

</div>
</div>
开发者ID:b2evolution,项目名称:dediktation_skin,代码行数:31,代码来源:_sidebar.inc.php

示例9: die

 *
 * @license GNU GPL v2 - {@link http://b2evolution.net/about/gnu-gpl-license}
 *
 * @copyright (c)2003-2015 by Francois Planque - {@link http://fplanque.com/}
 *
 * @package htsrv
 */
if (!defined('EVO_MAIN_INIT')) {
    die('Please, do not access this page directly.');
}
?>
	</div>
</div>

<?php 
echo '<div class="form_footer_notes">' . sprintf(T_('Your IP address: %s'), $Hit->IP) . '<br />' . T_('You will have to accept cookies in order to log in.') . '</div>';
// Please help us promote b2evolution and leave this logo on your blog:
powered_by(array('block_start' => '<div class="center" style="margin:1em 1em .5ex">', 'block_end' => '</div>', 'img_url' => '$rsc$img/powered-by-b2evolution-120t.gif', 'img_width' => 120, 'img_height' => 32));
?>

<p class="footer"><?php 
echo $app_footer_text;
?>
</p>
<p class="footer"><?php 
echo $copyright_text;
?>
</p>

</body>
</html>
开发者ID:Ariflaw,项目名称:b2evolution,代码行数:31,代码来源:_html_footer.inc.php


注:本文中的powered_by函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。