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


PHP rating::get_all_lead方法代码示例

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


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

示例1: rating

<?php

require_once 'config.php';
require_once 'class/rating.php';
require_once 'functions/functions.php';
$user_id = $_SESSION['userinfo']->id != '' ? $_SESSION['userinfo']->id : 0;
$renderObj = new rating();
$lead_list = $renderObj->get_all_lead($user_id);
if ($lead_list == 0) {
    header('Location: profile.php?chk=1');
}
$request_list = $renderObj->get_user_request_details($user_id, '0');
require_once 'header.php';
?>
<div id="error_container"><div class="error-red"><div class="close_alert_rateme"></div></div></div>
<div class="overlay" id="overlay_rateme"></div>
    <div class="mid-col-12">
        <div class="mid-col-4">
            <div class="mid-col-top relative">
                <div class="gallery-wrap">
                    <div class="gallery clearfix">
                        <?php 
$i = 0;
foreach ($lead_list as $user) {
    $profile_pic = $user['google_picture_link'] != '' ? $user['google_picture_link'] . "?sz=100" : "images/user.png";
    $i++;
    ?>
                          <div class="gallery__item" id="manager_<?php 
    echo $user['manager_id'];
    ?>
">
开发者ID:parakh-infobeans,项目名称:parakh,代码行数:31,代码来源:rate-me_old.php

示例2: rating

<?php

require_once 'config.php';
require_once 'class/rating.php';
$flag = 1;
$update_profile_info = new rating();
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
    //echo "<pre>";print_r($_POST);die;
    if (isset($_POST['current_user']['update'])) {
        $get_lead = $update_profile_info->get_all_lead($_POST["current_user"]['user_id'], $flag);
    }
    //echo "<pre>====";print_r($get_lead);die;
    $record = $update_profile_info->assigned_role($_POST, $get_lead);
    if ($record == true) {
        header('Location: user_list_page.php?chk=7');
    }
}
开发者ID:parakh-infobeans,项目名称:parakh,代码行数:17,代码来源:save_assigned_role.php

示例3: rating

<?php

require_once 'config.php';
require_once 'class/rating.php';
//echo "<pre>";print_r($_SESSION);exit;
$renderObj = new rating();
//$renderObj->sample_get_book_details_id(1);
$session_val = $renderObj->check_session();
if ($session_val == 1) {
    $record = $renderObj->edit_work($_GET["id"]);
    $record1 = $renderObj->get_all_lead($_SESSION['userinfo']->id);
    if ($record != 0) {
        $title = $record['title'] != '' ? $record['title'] : '';
        $description = $record['description'] != '' ? $record['description'] : '';
        //$mobile_number = ($record['mobile_number'] != '' ? $record['mobile_number'] : '');
    }
    require_once 'header.php';
    ?>
    <!-- Page Content -->
    <div class="container">

    
    
    <div class="container">
      <div class="row">
        <!-- <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6 col-xs-offset-0 col-sm-offset-0 col-md-offset-3 col-lg-offset-3 toppad" > -->
        
   <div class="col-xs-12 toppad" >
   
          <div class="panel panel-info">
            <div class="panel-heading">
开发者ID:parakh-infobeans,项目名称:parakh,代码行数:31,代码来源:edit_work.php

示例4: rating

<?php

require_once 'config.php';
require_once 'class/rating.php';
$flag = 1;
$role_flag = 2;
$renderObj = new rating();
$record = $renderObj->get_profile($_GET["id"]);
$all_user_list = $renderObj->get_user_list($_GET["id"]);
$all_roles = $renderObj->get_all_role_for_admin();
$get_lead = $renderObj->get_all_lead($_GET["id"], $flag, '');
if ($record != 0) {
    $name = $record['google_name'] != '' ? $record['google_name'] : 'NA';
    $current_user_id = $record['id'] != '' ? $record['id'] : 'NA';
    $email = $record['google_email'] != '' ? $record['google_email'] : 'NA';
    $mobile_number = $record['mobile_number'] != '' ? $record['mobile_number'] : 'NA';
}
//echo "<pre>";print_r($get_lead);print_r($all_roles);die;
require_once 'header.php';
?>

    <!-- Page Content -->
    
 <section>
    <div class="wrapper">
        <div class="mid-col-12">            
            <div class="profile-wrapper">
                <h2 class="edit-h2"><?php 
echo $set_page_title;
//$name;
?>
开发者ID:parakh-infobeans,项目名称:parakh,代码行数:31,代码来源:assigned_role.php


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