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


PHP rating::pagination方法代码示例

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


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

示例1: rating

<?php

require_once 'config.php';
require_once 'class/rating.php';
$page_number = (int) (!isset($_GET['page']) ? 1 : $_GET['page']);
$renderObj = new rating();
//$renderObj->sample_get_book_details_id(1);
//$record = $renderObj->get_user_list();
$search_user = '';
if (!empty($_GET['search_user'])) {
    $search_user = $_GET["search_user"];
    $record = $renderObj->pagination("get_user_list_pagination", $page_number, $search_user);
} else {
    $record = $renderObj->pagination("get_user_list_pagination", $page_number);
}
//echo "<pre>";print_r($record);die;
require_once 'header.php';
?>

<!-- Page Content -->

<?php 
require_once "error.php";
?>

<div class="mid-col-12">

    <div class="profile-wrapper">


             <div class="profile-wrapper-report">
开发者ID:parakh-infobeans,项目名称:parakh,代码行数:31,代码来源:user_list_page.php

示例2: rating

<?php

require_once 'config.php';
require_once 'class/rating.php';
$search_request = new rating();
$page_number = (int) (!isset($_GET['page']) ? 1 : $_GET['page']);
$user_id = $_SESSION['userinfo']->id != '' ? $_SESSION['userinfo']->id : 0;
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
    //echo "<pre>";print_r($_POST);die;
    $record = $search_request->pagination("get_manager_work_list_paginate", $page_number, $user_id, $_POST);
}
开发者ID:parakh-infobeans,项目名称:parakh,代码行数:11,代码来源:search_request.php

示例3: rating

<?php

require_once 'config.php';
require_once 'class/rating.php';
$renderObj = new rating();
$page_number = (int) (!isset($_GET['page']) ? 1 : $_GET['page']);
//$renderObj->sample_get_book_details_id(1);
$user_id = $_SESSION['userinfo']->id != '' ? $_SESSION['userinfo']->id : 0;
//$record = $renderObj->get_manager_work_list($user_id);
$record = $renderObj->pagination("get_manager_work_list_paginate", $page_number, $user_id);
$team_member = $renderObj->get_all_member($user_id);
$renderObj->clear_unread_count();
/*if ($_SERVER['REQUEST_METHOD'] === 'POST') {
	$page_number = (int) (!isset($_GET['page']) ? 1 :$_GET['page']);
        $user_id = ($_SESSION['userinfo']->id != '' ? $_SESSION['userinfo']->id: 0);
	//echo "<pre>";print_r($_POST);die;
        $record = $renderObj->pagination("get_manager_work_list_paginate",$page_number,$user_id,$_POST);
              
    echo "<pre>";print_r($record);die("=====");
    }*/
//$status = $renderObj->get_status();
//echo "<pre>";print_r($team_member);die;
require_once 'header.php';
?>
    <!-- Page Content -->
    <div class="container">

    
    
    <div class="container">
      <div class="row">
开发者ID:parakh-infobeans,项目名称:parakh,代码行数:31,代码来源:manager_work_list_page.php


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