Example #1
0
$user_total_lookuploaded = count($mc->retreive_specific_user_all_looks($lookOwnerMno));
$user_total_look_percentage = $li['tpercentage'];
$user_total_look_star = 0;
$user_total_look_views = $li['tlview'];
$user_total_look_drip = 0;
$user_total_look_share = array('overallsharetotal' => rand(100, 200), 'facebook' => rand(100, 200), 'twitter' => rand(100, 200), 'tumblr' => rand(10, 200), 'pinterest' => rand(100, 200), 'google+' => rand(100, 200), 'stumbleupon' => rand(100, 200), 'email' => rand(100, 200));
$mc->print_name_looktitle_look_desc_for_share($lookOwnerMno, $plno, $lookName, $lookAbout);
?>
 
													<table id='lbc_look_view_tc' border="0" cellpadding="0" cellspacing="0" > 
														<tr>  
															<td id='look_view_header' >   
																<div style="margin-top:-40px;border:1px solid none; " >
																	<?php 
$plno1 = $next_prev['next'];
$mc->print_look_details_look_owner_header(array('mno' => $mno, 'mno1' => $mno1, 'table_id' => $plno, 'table_id_1' => $plno1, 'inside_modals' => false, 'lookOwnerMno' => $lookOwnerMno, 'lookOwnerName' => $lookOwnerName, 'opercentage' => $user_total_look_percentage, 'date_' => $date_, 'user_total_rating' => $trating, 'user_total_followers' => $user_total_followers, 'user_total_following' => $user_total_following, 'user_total_lookuploaded' => $user_total_lookuploaded, 'link_edit' => "post-look-label?kooldi={$plno}&type=u"));
?>
 
																</div> 
															</td>
														<tr>  
															<td id='look_view_img_td' style=" height: 500px;  padding-bottom: 17px; ">   
																<center> 
																	<div id="load_look_picture_and_tags"  >
																		<?php 
// print_r($pltags);
// if (empty($pltags)) {
//  	 $db_Ttagged=0;
// }
// else {
//  	 $db_Ttagged=count($pltags);
    echo $modal['title'];
    ?>
																	</span>
																</div>  
															</td>
													</table> 
												</td> 
											<!-- look view -->
											<tr>  
												<td id='lbc_look_view' >   
													<table id='lbc_look_view_tc' border="0" cellpadding="0" cellspacing="0" > 
														<tr>  
															<td id='look_view_header' >   
																<div style="margin-top:-40px;border:1px solid none; " >
																	<?php 
    $mc->print_look_details_look_owner_header(array('table_name' => $modal['table_name'], 'mno' => $mno, 'mno1' => $modal['mno'], 'table_id' => $modal['current'], 'table_id_1' => $modal['next'], 'inside_modals' => false, 'lookOwnerMno' => $modal['mno'], 'lookOwnerName' => $modal['modalownername'], 'opercentage' => $modal['tpercentage'], 'date_' => $modal['date'], 'user_total_rating' => $modal['trating'], 'user_total_followers' => $user['tfollower'], 'user_total_following' => $user['following'], 'user_total_lookuploaded' => $user['tarticle'], 'link_edit' => "#"));
    ?>
 
																</div> 
															</td>
														<tr>  
															<td id='look_view_img_td' style="height:450px;  " >   
																<center> 
																	<div id="load_look_picture_and_tags"  >
																		<?php 
    if ($modal['type'] == 'image') {
        ?>
 
																		<?php 
        $article_modal_style = 'margin-top: -60px;width:889px';
        ?>