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


PHP myclass::get_user_full_fs_info方法代码示例

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


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

示例1: intval

$nno = !empty($_GET['nno']) ? intval($_GET['nno']) : 0;
# UPDATE NOTIFICATION AS VIEWED
if ($nno != 0) {
    $response = $mc->posted_modals_notification_Query(array('nno' => $nno, 'notification_query' => 'set-notification-viewed'));
}
# get image src
$modal['src'] = $mc->image(array('table_name' => $modal['table_name'], 'table_id' => $modal['table_id'], 'type' => 'get-default-image-src', 'size' => 'detail'));
// echo " this is the src $modal[src] <br> ";
# initialized 2
$_SESSION['plno'] = $_GET['id'];
$li = $mc->posted_look_info($_GET['id']);
$_SESSION['plno'] = $_GET['id'];
$date_ = $li['date_'];
$lookOwnerMno = intval($li["lookOwnerMno"]);
$mno1 = intval($li["lookOwnerMno"]);
$memFsInfo = $mc->get_user_full_fs_info($mno1);
$opercentage = $memFsInfo['opercentage'];
$otrating = $memFsInfo['otrating'];
$user['username'] = $memFsInfo['username'];
$occupation = $memFsInfo['memInfo'][0]['occupation'];
$tlooks = $memFsInfo['memInfo'][0]['tlooks'];
$tfollower = $memFsInfo['memInfo'][0]['tfollower'];
// $_SESSION['details_user_mno'] = $mno;
//ARTICLE DATA
if ($_GET['id'] = helper::get_table_id($_GET['id'], $_SESSION['table_id'])) {
    if (!$_GET['id']) {
        $mc->go("/");
    }
    unset($_SESSION['table_id']);
}
$_SESSION['mno'] = $mc->get_cookie('mno', 136);
开发者ID:jesus143,项目名称:fs-dev,代码行数:31,代码来源:articledetails-dev-clicked.php

示例2: intval

$mc->get_visitor_info("", "lookdetails page lookid = {$plno} ", "home");
$nno = !empty($_GET['nno']) ? intval($_GET['nno']) : 0;
# UPDATE NOTIFICATION AS VIEWED
if ($nno != 0) {
    $response = $mc->posted_modals_notification_Query(array('nno' => $nno, 'notification_query' => 'set-notification-viewed'));
}
# get image src
$modal['src'] = $mc->image(array('table_name' => $modal['table_name'], 'table_id' => $modal['table_id'], 'type' => 'get-default-image-src', 'size' => 'detail'));
// echo " this is the src $modal[src] <br> ";
# initialized 2
$li = $mc->posted_look_info($_GET['id']);
$_SESSION['plno'] = $_GET['id'];
$date_ = $li['date_'];
$lookOwnerMno = intval($li["lookOwnerMno"]);
$mno1 = intval($li["lookOwnerMno"]);
$memFsInfo = $mc->get_user_full_fs_info($mno1);
$opercentage = $memFsInfo['opercentage'];
$otrating = $memFsInfo['otrating'];
$user['username'] = $memFsInfo['username'];
$user['profile_tab'] = 'looks';
$mno = $_SESSION["mno"];
$lookOwnerName = $li["lookOwnerName"];
$pltags = $li['pltags'];
$plstyle = $li['style'];
$Ttag = count($li['pltags']);
$lookName = $li["lookName"];
$lookAbout = $li["lookAbout"];
$pltvotes = $li["pltvotes"];
$trating = $li["trating"];
$style = $li["style"];
$pltratings = number_format($li["trating"]);
开发者ID:jesus143,项目名称:fs-dev,代码行数:31,代码来源:more-look.php

示例3:

 $modal['stat_rated'] = 'look not rated';
 $modal['stat_dripted'] = 'look not dripted';
 $modal['stat_favorited'] = 'look not favorited';
 $modal['headermssg'] = 'SUCCESSFULLY FAVORITED';
 # this is for success message popup
 $modal['contentmssg'] = 'This Look is now on your favorite list.';
 # this is for success message popup
 $modal['src_img_drip'] = "look-icon-drip.png";
 $modal['src_img_favorite'] = "look-icon-favorite.png";
 $modal['src_img_share'] = "look-icon-share.png";
 $modal['src_img_flag'] = "modal-flag-dot.png";
 //"modal-flag.png";
 $modal['src_img_main'] = "";
 // $modal['src_img_flag']        = "large-flag-red.png";
 #USER OWNER MODAL
 $user['user'] = $mc->get_user_full_fs_info($modal['mno']);
 $user['trating'] = $user['user']['otrating'];
 $user['tfollower'] = $user['user']['tfollowers'];
 $user['following'] = $user['user']['tfollowing'];
 $user['tlook'] = $user['user']['tlooks'];
 $user['tpercentage'] = $user['user']['opercentage'];
 $user['username'] = $user['user']['username'];
 $user['tarticle'] = $user['user']['tarticle'];
 $user['profile_tab'] = 'articles';
 // echo " username ".$user['username'] ;
 //   $next = $modal['nextprev']['next'];
 //     $prev = $modal['nextprev']['prev'];
 // $mc->print_name_looktitle_look_desc_for_share( $lookOwnerMno , $plno ,  $modal['title'] , $modal['description'] );
 // echo  'image src = '.$modal['src']." style modal image ". $modal['modal_style'].'<br>';
 // $mc->print_look_details_look_owner_header( $mno , $mno1 , $plno , $plno1  , false ,  $lookOwnerMno , $lookOwnerName , $opercentage , $date_ , $user_total_rating , $user_total_followers , $user_total_following , $user_total_lookuploaded );
 # set view and add
开发者ID:jesus143,项目名称:fs-dev,代码行数:31,代码来源:detail+-+new+version+but+not+done.php


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