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


PHP get_links_list函数代码示例

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


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

示例1: _b_wp_links_show

 function _b_wp_links_show($option, $wp_num = "")
 {
     $block['wp_num'] = $wp_num;
     $block['divid'] = 'wpLink' . $wp_num;
     $block['style'] = block_style_get(false);
     $block['links'] = get_links_list('name', '', false);
     $_wpTpl =& new WordPresTpl('theme');
     $_wpTpl->assign('block', $block);
     $block['content'] = $_wpTpl->fetch('wp_links.html');
     return $block;
 }
开发者ID:BackupTheBerlios,项目名称:nobunobuxoops-svn,代码行数:11,代码来源:wp_links.php

示例2: widget_andreas01_links

function widget_andreas01_links()
{
    ?>
<h2>Links:</h2>
<ul class="menulist">
<?php 
    get_links_list();
    ?>
</ul>
<?php 
}
开发者ID:jeremylightsmith,项目名称:blog,代码行数:11,代码来源:functions.php

示例3: _b_wp_links_show

 function _b_wp_links_show($option, $wp_num = "")
 {
     ob_start();
     block_style_get();
     echo "<ul class='wpBlockList'>\n";
     get_links_list();
     echo "</ul>\n";
     $block['content'] = ob_get_contents();
     ob_end_clean();
     return $block;
 }
开发者ID:BackupTheBerlios,项目名称:nobunobuxoops-svn,代码行数:11,代码来源:wp_links.php

示例4: b_wp_links_show

function b_wp_links_show($option)
{
    $id = 1;
    require_once dirname(__FILE__) . '/../wp-blog-header.php';
    global $wpdb, $tablecomments, $tableposts;
    ob_flush();
    ob_start();
    get_links_list();
    $block['content'] = ob_get_contents();
    ob_end_clean();
    return $block;
}
开发者ID:BackupTheBerlios,项目名称:nobunobuxoops-svn,代码行数:12,代码来源:wp_links.php

示例5: b_wp_links_show

function b_wp_links_show($option)
{
    $id = 1;
    global $dateformat, $time_difference, $siteurl, $blogfilename;
    global $tablelinks, $tablelinkcategories;
    global $querystring_start, $querystring_equal, $querystring_separator, $month, $wpdb, $start_of_week;
    global $tableposts, $tablepost2cat, $tablecomments, $tablecategories;
    require_once dirname(__FILE__) . '/../wp-blog-header.php';
    ob_start();
    get_links_list();
    $block['content'] = ob_get_contents();
    ob_end_clean();
    return $block;
}
开发者ID:BackupTheBerlios,项目名称:nobunobuxoops-svn,代码行数:14,代码来源:wp_links.php

示例6: b_wp_links_show

 function b_wp_links_show($option, $wp_num = "")
 {
     global $wpdb;
     global $wp_id, $wp_inblock, $use_cache;
     $id = 1;
     $use_cache = 1;
     if ($wp_num == "") {
         $wp_id = $wp_num;
         $wp_inblock = 1;
         require dirname(__FILE__) . '/../wp-config.php';
         $wp_inblock = 0;
     }
     ob_start();
     get_links_list();
     $block['content'] = ob_get_contents();
     ob_end_clean();
     return $block;
 }
开发者ID:BackupTheBerlios,项目名称:nobunobuxoops-svn,代码行数:18,代码来源:wp_links.php

示例7: b_wp_links_show

 function b_wp_links_show($option, $wp_num = "")
 {
     global $wpdb;
     global $wp_id, $wp_inblock, $use_cache, $wp_mod, $wp_base;
     $id = 1;
     $use_cache = 1;
     if ($wp_num == "") {
         $wp_id = $wp_num;
         $wp_inblock = 1;
         require dirname(__FILE__) . '/../wp-config.php';
         $wp_inblock = 0;
     }
     ob_start();
     block_style_get($wp_num);
     echo "<ul class='wpBlockList'>\n";
     get_links_list();
     echo "</ul>\n";
     $block['content'] = ob_get_contents();
     ob_end_clean();
     return $block;
 }
开发者ID:BackupTheBerlios,项目名称:nobunobuxoops-svn,代码行数:21,代码来源:wp_links.php

示例8: get_header

<?php

/*
Template Name: Links
*/
?>

<?php 
get_header();
?>

<div id="content">

<h2>Links:</h2>
<ul>
<?php 
get_links_list();
?>
</ul>

</div>	

<?php 
get_footer();
开发者ID:jmckible,项目名称:uncorked,代码行数:24,代码来源:links.php

示例9: array

    $smarty->assign('ur_here', $_LANG['list_link']);
    $smarty->assign('action_link', array('text' => $_LANG['add_link'], 'href' => 'friend_link.php?act=add'));
    $smarty->assign('full_page', 1);
    /* 获取友情链接数据 */
    $links_list = get_links_list();
    $smarty->assign('links_list', $links_list['list']);
    $smarty->assign('filter', $links_list['filter']);
    $smarty->assign('record_count', $links_list['record_count']);
    $smarty->assign('page_count', $links_list['page_count']);
    $sort_flag = sort_flag($links_list['filter']);
    $smarty->assign($sort_flag['tag'], $sort_flag['img']);
    assign_query_info();
    $smarty->display('link_list.htm');
} elseif ($_REQUEST['act'] == 'query') {
    /* 获取友情链接数据 */
    $links_list = get_links_list();
    $smarty->assign('links_list', $links_list['list']);
    $smarty->assign('filter', $links_list['filter']);
    $smarty->assign('record_count', $links_list['record_count']);
    $smarty->assign('page_count', $links_list['page_count']);
    $sort_flag = sort_flag($links_list['filter']);
    $smarty->assign($sort_flag['tag'], $sort_flag['img']);
    make_json_result($smarty->fetch('link_list.htm'), '', array('filter' => $links_list['filter'], 'page_count' => $links_list['page_count']));
} elseif ($_REQUEST['act'] == 'add') {
    admin_priv('friendlink');
    $smarty->assign('ur_here', $_LANG['add_link']);
    $smarty->assign('action_link', array('href' => 'friend_link.php?act=list', 'text' => $_LANG['list_link']));
    $smarty->assign('action', 'add');
    $smarty->assign('form_act', 'insert');
    assign_query_info();
    $smarty->display('link_info.htm');
开发者ID:muqidi,项目名称:PHP,代码行数:31,代码来源:friend_link.php

示例10: get_header

Template Name: Links
*/
get_header();
?>
<div id="main">

	<?php 
include TEMPLATEPATH . '/sidebar_left.php';
?>

  <div id="content">
		<div class="post">
      <h2 class="title"><a href="<?php 
the_permalink();
?>
" rel="bookmark"><?php 
the_title();
?>
</a></h2>
      <div class="entry">
        <ul>
          <?php 
get_links_list('name');
?>
        </ul>
      </div>
  </div>
</div>
<?php 
get_sidebar();
get_footer();
开发者ID:kjodle,项目名称:flora-relief,代码行数:31,代码来源:page-links.php

示例11: widget_links

function widget_links($args)
{
    // This ONLY works with li/h2 sidebars.
    get_links_list();
}
开发者ID:jbogota,项目名称:blog-king,代码行数:5,代码来源:orig_widgets.php

示例12: wp_list_pages

<!-- begin sidebar -->
<div id="menu">

<ul>
	<?php wp_list_pages(); ?>
	<?php get_links_list(); ?>
 <li id="categories"><?php _e('Categories:'); ?>
	<ul>
	<?php wp_list_cats(); ?>
	</ul>
 </li>
 <li id="search">
   <label for="s"><?php _e('Search:'); ?></label>	
   <form id="searchform" method="get" action="<?php bloginfo('home'); ?>">
	<div>
		<input type="text" name="s" id="s" size="15" /><br />
		<input type="submit" value="<?php _e('Search'); ?>" />
	</div>
	</form>
 </li>
 <li id="archives"><?php _e('Archives:'); ?>
 	<ul>
	 <?php wp_get_archives('type=monthly'); ?>
 	</ul>
 </li>
 <li id="meta"><?php _e('Meta:'); ?>
 	<ul>
		<?php wp_register(); ?>
		<li><?php wp_loginout(); ?></li>
		<li><a href="feed:<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
开发者ID:staylor,项目名称:develop.svn.wordpress.org,代码行数:30,代码来源:sidebar.php

示例13: wp_list_pages

    ?>
<input type="submit" name="submit" value="view"></input>
</form>
			</li>


				<?php 
    include TEMPLATEPATH . '/searchform.php';
    ?>
				
			<?php 
    wp_list_pages('title_li=<h2>' . __('Pages') . '</h2>');
    ?>

				<?php 
    get_links_list(_name);
    ?>
			

			<?php 
    if (function_exists('wp_theme_switcher')) {
        ?>
			<li><h2><?php 
        _e('Themes');
        ?>
</h2>
			<?php 
        wp_theme_switcher();
        ?>
			</li>
			<?php 
开发者ID:napaxton,项目名称:MoMaMoMo,代码行数:31,代码来源:sidebar.php

示例14: wp_widget_links

function wp_widget_links($args) {
	global $wp_db_version;
	extract($args, EXTR_SKIP);
	if ( $wp_db_version < 3582 ) {
		// This ONLY works with li/h2 sidebars.
		get_links_list();
	} else {
		wp_list_bookmarks(array(
			'title_before' => $before_title, 'title_after' => $after_title, 
			'category_before' => $before_widget, 'category_after' => $after_widget, 
			'show_images' => true, 'class' => 'linkcat widget'
		));
	}
}
开发者ID:staylor,项目名称:develop.svn.wordpress.org,代码行数:14,代码来源:widgets.php

示例15: mistylook_ShowLinks

function mistylook_ShowLinks()
{
    ?>
<li class="sidebox" id="sidelinks">
	<ul>
		<?php 
    if (function_exists('wp_list_bookmarks')) {
        wp_list_bookmarks();
    } else {
        get_links_list('name');
    }
    ?>
	</ul>
</li>
<?php 
}
开发者ID:natematias,项目名称:Mistylook-Hackage,代码行数:16,代码来源:functions.php


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