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


PHP myclass::member_thumbnail_display方法代码示例

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


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

示例1: intval

    $variables['mno1'] = $variables['mno'] == $mno ? $variables['mno1'] : $variables['mno'];
    // get username chat mate
    $username = $mc->get_username_by_mno($variables['mno1']);
    // get from fs_comment table via table id and table name from fs_message
    $variables['comment_r'] = $mc->posted_modals_comment_Query(array('comment_query' => 'get-all-comment-by-tbn_and_tbid', 'table_name' => 'fs_message', 'table_id' => intval($variables['msgno']), 'orderby' => 'order by date desc', 'limit_start' => $limit_start, 'limit_end' => $limit_end));
    $variables['comment'] = $variables['comment_r'][0]['comment'];
    $variables['mno'] = intval($variables['comment_r'][0]['mno']);
    $variables['date'] = $variables['comment_r'][0]['date'];
    $fullname = $mc->get_full_name_by_id($variables['mno1']);
    // header title desc
    $mc->header_attribute("OOTD | Trends | Fashion Blogs | Beauty Tips | Fashion Inspiration | Fashion Sponge ", "Fashion Sponge is the easiest & fastest way to: Show your ootd, see the latest trends, discover fashionable people & blogs, get beauty & style tips & find fashion inspiration.", "OOTD | Trends | Fashion Blogs | Beauty Tips | Fashion Inspiration ");
    ?>
		<tr> 
			<td>  
				<?php 
    $mc->member_thumbnail_display($mc->ppic_thumbnail, $variables['mno1'], "{$mc->ppic_thumbnail}", null, '35px;');
    ?>
 
			</td> 
			<td onclick="chat( 'chat?u=<?php 
    echo "{$username}";
    ?>
' , 'open-new-chat' ) " style="cursor:pointer;" > 
				<!-- <a href="chat?u=<?php 
    echo "{$username}";
    ?>
" target="_blank">   -->
					<?php 
    echo "<b> {$fullname} :</b>  <br>  {$variables['comment']} <br> <b>  {$variables['date']} </b> ";
    ?>
				<!-- </a> -->
开发者ID:jesus143,项目名称:fs-dev,代码行数:31,代码来源:chat-list.php

示例2: intval

    $mno1 = intval($mc->get_mnobyusername($_GET['u']));
} else {
    $mno1 = intval($_GET['id']);
}
// get full name of the chat mate
$fullname1 = $mc->get_full_name_by_id($mno1);
// get  message id or msgno
$msgno = $mc->fs_message(array('type' => 'get-msgno', 'mno' => $mno, 'mno1' => $mno1));
// get latest 10 comments
$limit_start = 0;
$limit_end = 20;
$variable['message'] = $mc->posted_modals_comment_Query(array('comment_query' => 'get-all-comment-by-tbn_and_tbid', 'table_name' => 'fs_message', 'table_id' => intval($msgno), 'orderby' => 'order by date desc', 'limit_start' => $limit_start, 'limit_end' => $limit_end));
// initlaized len of the total messages
$variable['len'] = count($variable['message']);
// initialized the profile image for the real time comment  display owner
$thumbnail_src = $mc->member_thumbnail_display($mc->ppic_thumbnail, $mno, "{$mc->ppic_thumbnail}", null, '35px;');
// get current total message of the user
$new_total_message = $mc->posted_modals_comment_Query(array('table_name' => 'fs_message', 'table_id' => $msgno, 'mno1' => $mno1, 'comment_query' => 'get-total-comment-by-chatmate'));
// initialized name of the cockie
$sessionkeyword = "current_total_message_{$mno1}";
// assign total message to cockie
setcookie($sessionkeyword, 0, time() + 3600);
$fs_home_tab = basename($_SERVER["PHP_SELF"]);
$fs_home_tab = str_replace(".php", "", $fs_home_tab);
if ($fs_home_tab == "index") {
    $fs_home_tab = "latest";
}
$mc->get_visitor_info("", "home tab: {$fs_home_tab} ", "home");
if ($fs_home_tab == "index") {
    $clock_style = "display:none";
} else {
开发者ID:jesus143,项目名称:fs-dev,代码行数:31,代码来源:chat.php

示例3: reply_print

function reply_print($plcno, $plcr_no, $allow_reply, $isMainReply = null, $mno = null, $isReplyIndented = null, $userprofilepicpath = '../../../')
{
    $mc = new myclass();
    // echo "plcr_no = $plcr_no <br>";
    $c = 0;
    $mc->auto_detect_path();
    if ($isMainReply == 'YES') {
        $replies = selectV1('*', 'fs_plcm_reply', array('plcno' => $plcno, 'operand1' => 'and', 'mno' => $mno), 'order by plcr_no desc', 'limit 1');
    } else {
        $replies = selectV1('*', 'fs_plcm_reply', array('plcr_no' => $plcr_no));
    }
    // print_r($replies);
    $rplcr_no = $replies[$c]['plcr_no'];
    $plcrno = $rplcr_no;
    $rplcno = $replies[$c]['plcno'];
    $replied_no = $replies[$c]['replied_no'];
    $rmno = $replies[$c]['mno'];
    $rplcr_message = $replies[$c]['plcr_message'];
    $rclen = strlen($rplcr_message);
    $rplcr_date = $replies[$c]['plcr_date'];
    $rmem_info = $mc->user($rmno);
    $rdformat = $mc->split_date('', '', '', $rplcr_date);
    $rmy_rate_look = my_trate_for_look($rmno, $_SESSION['plno']);
    $ryou_liked = check_if_user_liked($plcrno, $_SESSION['mno']);
    $ryou_disliked = check_if_user_disliked($plcrno, $_SESSION['mno']);
    $likeDislike_style = 'height:13px;cursor: pointer;';
    // if ( $rclen< 224) {
    // echo "if comment len lessthan $rclen ";
    $style = 'height: auto; border: 1px solid none;';
    // $cpadding = 'border: 1px solid red; height:20px;';
    // }
    // else {
    // echo "else comment len greater than $rclen ";
    // $style = 'height: auto; border: 1px solid  none; width:500px';
    // }
    // echo " i like =  $ryou_liked  | i disliked  $ryou_disliked <br>";
    // $you_liked =replyYouLikeThis($rplcno,$rmno);
    // echo "rno = $rplcr_no ";
    $ovarating = $mc->user_profile_percentage($rmno);
    $member_avatar = $mc->ppic_thumbnail . "/" . $rmno . ".jpg";
    // echo " member avatar $member_avatar";
    ?>

 

							<table border=0   id='replied_comment_table_<?php 
    echo $plcrno;
    ?>
' class='rcomment_container' style='display:block'> 
								<td  > 
									<table border=0   id='img' class='img' > 
										<td>	
										<?php 
    $mc->member_thumbnail_display($mc->ppic_thumbnail, $rmno, "{$userprofilepicpath}" . $mc->ppic_thumbnail);
    ?>
											<!-- <img id='rprofile_pic_<?php 
    echo $cno;
    ?>
'  src=" <?php 
    echo "{$member_avatar}";
    ?>
" title="<?php 
    echo strtoupper($rmem_info['firstname'] . ' ' . $rmem_info['lastname']);
    ?>
"  onclick='look_comment_attr_clicked("<?php 
    echo "profile_" . $comment[$i][2];
    ?>
")' >  -->
										
										</td><tr>
										<td><span class='red_bold' id='percentage' title='<?php 
    echo $get_def_user_profile_percentage;
    ?>
' ><?php 
    echo "{$ovarating}% ";
    ?>
</span></td>
									</table>
									<div id='rcomment_body_container' class='rcomment_body_container'> 
										<div id='comment_header_container' > 
											<table  border=0   > 
												<td><span id='rfull_name_<?php 
    echo $rplcr_no;
    ?>
' class='blue_bold' title="<?php 
    echo strtoupper($rmem_info['firstname'] . ' ' . $rmem_info['lastname']);
    ?>
"  ><?php 
    echo strtoupper($rmem_info['firstname'] . ' ' . $rmem_info['lastname']);
    ?>
  </span> </td> <td></td><td></td>

												<td><span class='blue_bold' > ( </span> <span  id='gender' class='blue'  > <?php 
    echo strtoupper($rmem_info['sub_gen']);
    ?>
  RATED </span> 
													<span class='rating_view' >

														<?php 
    $rmy_rate_look = 1;
//.........这里部分代码省略.........
开发者ID:jesus143,项目名称:fs-dev,代码行数:101,代码来源:test_reply.php

示例4:

                </div>

                <!-- Header Profile -->
                <div style="display:block" class="details-page-header-1 padding-left padding-right "  >
                    <ul class="ul-container-cols-2" >
                        <li class="ul-container-cols-2-li-left  " >
                            <div class="profile-container-left padding-profile-top" >
                                <table border="0" cellpadding="0" cellspacing="0" style="margin: 0px auto; width: 100%" >
                                    <tr>
                                        <td>
                                            <div class="profile-container" >

                                                <!-- <img src="fs_folders/images/details/profile.jpg" class="profile" /> -->

                                                <?php 
$mc->member_thumbnail_display($mc->ppic_thumbnail, $lookOwnerMno, $mc->ppic_thumbnail, $lookOwnerName, '103px', '', '103px', 'border-radius:3px;');
?>
                                            </div>
                                        </td>
                                    <tr>
                                        <td>
                                            <div class="center padding-profile-top paddin-profile-content " >
                                                <a href="<?php 
echo $user1['username'];
?>
">
                                                    <span class="profile-name blue" >
                                                        <?php 
echo $lookOwnerName;
?>
                                                    </span>
开发者ID:jesus143,项目名称:fs-dev,代码行数:31,代码来源:lookdetails-dev.php

示例5:

                <!-- Header Profile -->
                <div style="display:block" class="details-page-header-1 padding-left padding-right "  > 
                    <ul class="ul-container-cols-2" >
                        <li class="ul-container-cols-2-li-left  " >
                            <div class="profile-container-left padding-profile-top" >
                                <table border="0" cellpadding="0" cellspacing="0" style="margin: 0px auto; width: 100%" >
                                    <tr>
                                        <td>
                                            <div class="profile-container" >


                                                          <?php 
//height: 103px; width: 103px;border:1px solid  #e2e2df; border-radius:3px;;
// height: 62px; width: 63px;border-radius:3px;border:1px solid  #e2e2df; ; margin-top: 20px;border-radius: 5px;
// member_thumbnail_display( $path , $mno , $checkpath=null , $title=null , $width='50px' , $type=null, $height = '50px', $style='' )
$mc->member_thumbnail_display($mc->ppic_thumbnail, $modal['mno'], $mc->ppic_thumbnail, $user1['fullName'], '103px', '', '103px', 'border-radius:3px;');
?>


                                                <!-- <img src="fs_folders/images/details/profile.jpg" class="profile" /> -->
                                            </div>
                                        </td>
                                    <tr>
                                        <td>
                                            <div class="center padding-profile-top paddin-profile-content " >
                                                <a href="<?php 
echo $user1['username'];
?>
">
                                                    <span class="profile-name blue" >  
                                                        <?php 
开发者ID:jesus143,项目名称:fs-dev,代码行数:31,代码来源:articledetails-dev.php

示例6: strtoupper

        }
        ?>
 
	<div  id='comment_list_<?php 
        echo $cno;
        ?>
'  class='main_container' > 
		<li>  
			<!-- new main comment  -->
				<table border=0 id='comment_container' class='comment_container'> 
					<tr>
					<td> 
						<table border=0 id='img' class='img' border=0 > 
							<td>
								<?php 
        $mc->member_thumbnail_display($mc->ppic_thumbnail, $mno1, '../../../' . $mc->ppic_thumbnail);
        ?>
								<!-- <img class='profile_pic' src="<?php 
        echo $member_avatar;
        ?>
" title="<?php 
        echo strtoupper($mem_info['firstname'] . ' ' . $mem_info['lastname']);
        ?>
"  onclick='look_comment_attr_clicked("<?php 
        echo "profile_" . $comment[$i][2];
        ?>
")' >  -->
								<!-- <img src="../images/members/133.jpg"> -->
							</td><tr>
							<td><span class='red_bold' id='percentage' title='<?php 
        echo $get_def_user_profile_percentage;
开发者ID:jesus143,项目名称:fs-dev,代码行数:31,代码来源:look-comments_display+old.php


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