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


PHP do_vertical_tags函数代码示例

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


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

示例1: geo_init

// Ricardo Galli <gallir at uib dot es>.
// It's licensed under the AFFERO GENERAL PUBLIC LICENSE unless stated otherwise.
// You can get copies of the licenses here:
// 		http://www.affero.org/oagpl.html
// AFFERO GENERAL PUBLIC LICENSE is also included in the file called "COPYING".
include 'config.php';
include mnminclude . 'html1.php';
include mnminclude . 'geo.php';
geo_init('onLoad', false, 2);
array_push($globals['extra_js'], 'markermanager.js');
do_header(_('mapa de las últimas noticias') . ' | ' . _('menéame'));
do_tabs('main', 'map');
/*** SIDEBAR ****/
echo '<div id="sidebar">';
do_banner_right();
do_vertical_tags();
echo '</div>' . "\n";
/*** END SIDEBAR ***/
echo '<div id="newswrap">' . "\n";
echo '<div class="topheading"><h2>' . _('noticias de las últimas 24 horas') . '</h2></div>';
echo '<div style="margin:0 0 10px 20px; text-align:center">';
echo '<form action="" id="map-control" name="map-control">';
echo '<label>' . _('publicadas') . '&nbsp;<img src="' . $globals['base_static'] . 'img/geo/common/geo-published01.png" width="20" height="25" alt="' . _('publicadas') . '" title="' . _('publicadas') . '"/><input type="checkbox" checked="checked"  id="published" onclick="toggle(\'published\')" /></label>';
echo '&nbsp;&nbsp;&nbsp;';
echo '<label>' . _('pendientes') . '&nbsp;<img src="' . $globals['base_static'] . 'img/geo/common/geo-new01.png" width="20" height="25" alt="' . _('pendientes') . '" title="' . _('pendientes') . '"/><input type="checkbox" checked="checked"  id="queued" onclick="toggle(\'queued\')" /></label>';
echo '&nbsp;&nbsp;&nbsp;';
echo '<label>' . _('autores') . '&nbsp;<img src="' . $globals['base_static'] . 'img/geo/common/geo-user01.png" width="20" height="25" alt="' . _('autores') . '" title="' . _('autores') . '"/><input type="checkbox"  id="author" onclick="toggle(\'author\')" /></label>';
echo '</form>';
echo '</div>';
echo '<div id="map" style="width: 95%; height: 500px;margin:0 0 0 20px"></div></div>';
?>
开发者ID:brainsqueezer,项目名称:fffff,代码行数:31,代码来源:map.php

示例2: do_tags_comments

function do_tags_comments()
{
    global $globals;
    do_vertical_tags();
    do_best_comments();
}
开发者ID:brainsqueezer,项目名称:fffff,代码行数:6,代码来源:html1.php

示例3: do_mnu_categories_horizontal

	print_index_tabs(0); // No other view
	$from_where = "FROM links WHERE link_status='published' ";
}

do_mnu_categories_horizontal($_REQUEST['category']);

/*** SIDEBAR ****/
echo '<div id="sidebar">';
do_banner_right();
if ($globals['show_popular_published']) do_best_stories();
do_best_sites();
do_categories_cloud('published');
if ($page < 2) {
	do_best_comments();
}
do_vertical_tags('published');
do_banner_promotions();
echo '</div>' . "\n";
/*** END SIDEBAR ***/

echo '<div id="newswrap">'."\n";

if($cat) {
	$from_where .= " AND link_category=$cat ";
}
$order_by = " ORDER BY link_date DESC ";

$link = new Link;
$rows = $db->get_var("SELECT SQL_CACHE count(*) $from_where");

$links = $db->get_col("SELECT SQL_CACHE link_id $from_where $order_by LIMIT $offset,$page_size");
开发者ID:rasomu,项目名称:chuza,代码行数:31,代码来源:hoygan.php

示例4: do_header

}


do_header(_('noticias pendientes') . ' | ' . _('menéame'));
do_tabs("main","shakeit");
print_shakeit_tabs($tab);

do_mnu_categories_horizontal($_REQUEST['category']);

/*** SIDEBAR ****/
echo '<div id="sidebar">';
do_banner_right();
if ($globals['show_popular_queued']) do_best_queued();
//do_best_comments();
do_categories_cloud('queued', 24);
do_vertical_tags('queued');
echo '</div>' . "\n";
/*** END SIDEBAR ***/


echo '<div id="newswrap">'."\n";

$links = $db->get_col("SELECT SQL_CACHE link_id $from_where $order_by LIMIT $offset,$page_size");
if ($links) {
	foreach($links as $link_id) {
		$link = Link::from_db($link_id);
		if ($link->votes == 0 && $link->author != $current_user->user_id) continue;
		if ($offset < 1000) {
			$link->print_summary('full', 16);
		} else {
			$link->print_summary('full');
开发者ID:rasomu,项目名称:chuza,代码行数:31,代码来源:shakeit.php


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