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


PHP myclass::lookdetails_set_size_of_the_look方法代码示例

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


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

示例1:

$modal['category'] = $modal['modal'][0]['category'];
$modal['topic'] = $modal['modal'][0]['topic'];
$modal['source_url'] = $modal['modal'][0]['source_url'];
$modal['source_item'] = $modal['modal'][0]['source_item'];
$modal['extention'] = $modal['modal'][0]['extention'];
$modal['tshare'] = $modal['modal'][0]['tshare'];
$modal['tdrip'] = $modal['modal'][0]['tdrip'];
$modal['tfavorite'] = $modal['modal'][0]['tfavorite'];
$modal['tcomment'] = $modal['modal'][0]['tcomment'];
$modal['trating'] = $modal['modal'][0]['trating'];
$modal['tpercentage'] = $modal['modal'][0]['tpercentage'];
$modal['tview'] = $modal['modal'][0]['tview'];
$modal['active'] = $modal['modal'][0]['active'];
$modal['date'] = $modal['modal'][0]['date'];
$modal['pltvotes'] = $modal['modal'][0]['pltvotes'];
$modal['modal_style'] = $mc->lookdetails_set_size_of_the_look($modal['src'], $ri);
$modal['modalowner'] = $modal['modal'][0]['date'];
$modal['current'] = $table_id;
$modal['mno'] = $mc->get_modal_owner($table_name, $table_id);
$modal['modalownername'] = $mc->get_full_name_by_id($modal['mno']);
$modal['kind'] = 'ARTICLE';
$modal['position'] = 1;
$modal['total'] = 30;
$modal['view_footer_id'] = 'lf_div_container';
$modal['thumbsUp'] = 'look-white-thumb.png';
$modal['thumbsDown'] = 'look-white-down-thumb.png';
$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
开发者ID:jesus143,项目名称:fs-dev,代码行数:31,代码来源:articledetails-dev-clicked.php

示例2:

$trating = $li["trating"];
$style = $li["style"];
$pltratings = number_format($li["trating"]);
$webDesc = "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.";
$looks = $mc->retreive_specific_user_all_looks($lookOwnerMno, "order by plno desc ");
$next_prev = $mc->db_result_next_prev('postedlooks', $plno, $looks, 'all');
$total_looks = $mc->get_res_len($looks);
$total_show_looks = $mc->get_total_limit_show(intval($total_looks), 30);
$mem_info = $mc->get_user_info_by_id($mno1);
$tlooks = number_format($mem_info[0]['tlooks']);
$tratings = number_format($otrating);
/*number_format($mem_info[0]['tratings']); */
$tfollower = number_format($mem_info[0]['tfollower']);
$tfollowing = number_format($mem_info[0]['tfollowing']);
$tpercentage = number_format($mem_info[0]['tpercentage']);
$lookmodalsstyle = $mc->lookdetails_set_size_of_the_look($img, $ri);
// $mc->add_look_view( $plno );
$look_countingPos = $mc->get_modal_position_detail($plno, $looks, 'plno');
$article_link = $li['article_link'];
$more = $mc->look_with_more($plno, $article_link);
$tlc = $mc->get_total('plcno', 'posted_looks_comments', 'plno', $_SESSION['plno']);
$modal['table_name'] = 'postedlooks';
$modal['table_id'] = $plno;
$modal['mno'] = $mno1;
$modal['kind'] = 'ARTICLE';
$modal['position'] = 1;
$modal['total'] = 30;
$modal['view_footer_id'] = 'lf_div_container';
$modal['thumbsUp'] = 'look-white-thumb.png';
$modal['thumbsDown'] = 'look-white-down-thumb.png';
$modal['stat_rated'] = 'look not rated';
开发者ID:jesus143,项目名称:fs-dev,代码行数:31,代码来源:more-look.php

示例3:

 		switch ( $type ) {
 			case 'cropped': 
 				break; 
 			default:
 				#this is not being cropped  
 					$mc->resize_posted_look( $plno , $mc->look_folder );   
 				break;
 		} 
	}  
	// echo'LOOK ID '.$plno.'<BR>';
	 // print_r($pl_info['pltags']);
 	$h1 = 600;  # height of the look container
	$w1 = 889;  # width of the look container
	//$plno = '396';  
	$img              = "$mc->look_folder_lookdetails/$plno.jpg";
	$lookmodalssize = $mc->lookdetails_set_size_of_the_look( $img , $ri  ); 
	// $li               = $mc->posted_look_info($_GET['id']); 



	$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 "
	); 

echo " </div>";


	$method  = 'not edit'; 
?>
开发者ID:jesus143,项目名称:fs-dev,代码行数:31,代码来源:postalook.php


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