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


PHP UserList::output_list方法代码示例

本文整理汇总了PHP中UserList::output_list方法的典型用法代码示例。如果您正苦于以下问题:PHP UserList::output_list方法的具体用法?PHP UserList::output_list怎么用?PHP UserList::output_list使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在UserList的用法示例。


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

示例1: isset

$sub = isset($_REQUEST['UDM_search_items']);
// Search user data.
if ($sub) {
    //Search form has been submitted, assemble SQL query
    $udm = $usersearch->readSearch($udm);
    $usersearch->runSearch($dbcon);
    $div_header_html = "<div class=\"tabpage\" id=\"tabpage_%s\">";
    //1st page shows search results
    if (count($usersearch->current_list) > 0) {
        $pagehead = "<h2>Results from " . $udm->name . "</h2>";
        $pagehead .= "<P><center>";
        #<table width='400'><tr><td>";
        $tabhead .= $usersearch->tab_navs();
        $tabhead .= sprintf($div_header_html, "Results");
        #print($usersearch->translateSearch(0, $udm);
        $results_page = $usersearch->output_list();
        $tabfoot = "</center></div>";
        $show_div_footer = TRUE;
        $formhead = sprintf($div_header_html, "Search Options");
    }
    $search_summary = '<div style ="background-color:E3E3E3; width:300px; min-height=50px; vertical-align:center; text-align:left; padding: 5px;">' . $usersearch->translateSearch($udm) . '</div><P>';
}
$modidselect = $dbcon->Execute("SELECT id from modules where publish=1 and userdatamodid=" . $udm->instance) or die($dbcon->ErrorMsg());
$modid = $modidselect->Fields("id");
/* Now Output the Form.

   Any necessary changes to the form should have been registered
   before now, including any error messages, notices, or
   complete form overhauls. This can happen either within the
   $usersearch object, or from print() or echo() statements.
	
开发者ID:radicaldesigns,项目名称:amp,代码行数:30,代码来源:modinput4_search.php


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