예제 #1
0
																	</div>
																</td> 
														</table> 
													</td>
												<tr>  
													<td id='comment_header_line'> 
														 <div>
														 </div>
													</td> 
												<tr>  
													<td id='comment_content'>   
														<table border="0" cellpadding="0" cellspacing="0"  style="width:100%;">  
															<tr>  
																<td> 
																	<?php 
$np = $mc->generate_next_prev_numbers($tlc, 10);
?>
  
																	<ul id="look-comment-cotainer-ul" >
																		<li id="comment-top-next-prev" >  
																			<?php 
$mc->print_next_prev_numbers($np, $plno, null, 'loader-down');
?>
    
																		</li>
																		<li> 
																			<div style="margin-left:36px; border:1px solid none;" >
																				<ul id='comments_result' class='comments_result' style="border:1px solid none" >
																					<?php 
$mc->print_look_comment($mno, $plno, null, 'init', $mc->date_time, null, 1, 'order by plcno desc');
?>
예제 #2
0
									 				</td> 
									 				<td>
									 					<select>
									 						<option>all bloggers</option>
                                                            <option>plus size</option>
									 					</select>
									 				</td>   
									 		</table>
								 		</center>
								 	</div>
								</td>
				 			<tr>
								<td>    
									<?php 
$looks = select_v3('postedlooks', '*', "active = 1 limit 10");
$np = $mc->generate_next_prev_numbers(count($looks), 25);
?>
   
									<table border="0" cellpadding="0" cellspacing="0" style="margin-top:-10px;" >
 										<tr> 
											<td id="rate-next-prev-up" > 
												<?php 
$mc->print_next_prev_numbers($np, null, 'rate-look', 'loader-down');
?>
  
											</td>
										<tr> 
											<td> 
									 			<div id="rate-look-res" >
									 				<!-- rate-look-res -->
									 			</div> 
                                        <option value="order by plctdislike desc"> MOST NOT HELPFUL COMMENT</option>
                                    </select>  -->

                                        <?php 
$mc->print_look_comment_sorting_option($modal['table_name'], $modal['table_id']);
?>
 
                                </td>
                                <td class="hide">
                                    <div class="details-edit "><img id="comment-message" src="fs_folders/images/details/comment-icon.png" onmousemove=" mousein_change_button ( '#comment-message' , 'fs_folders/images/details/comment-icon-mouse.png' )" onmouseout="mouseout_change_button (  '#comment-message'  , 'fs_folders/images/details/comment-icon.png' ) "> </div>
                                </td> 
                        </tr></tbody></table>
                    </div>
                    <div class="bs-example " data-example-id="media-list" style="padding:0px; margin:0px; width: 740px; border:1px solid none; margin: 0 auto; padding-bottom: 40px;padding-top: 20px; ">
                        <?php 
$np = $mc->generate_next_prev_numbers($modal['comments_len'], 10);
?>
          
                        <ul id="look-comment-cotainer-ul" >
                            <li id="comment-top-next-prev" >  
                                <div style="margin-left: -39px;" > 
                                    <?php 
$mc->print_next_prev_numbers($np, null, 'detail', 'loader-down', array('table_name' => $modal['table_name'], 'table_id' => $modal['table_id']));
?>
                                </div>
                            </li>
                            
                        </ul>  
                        
                        <div style="clear:both"> </div>
예제 #4
0
$rate_status = $_GET['rate_status'];
$rate_limit = intval($_GET['rate_limit']);
$retrievedas = !empty($_GET['retrievedas']) ? $_GET['retrievedas'] : null;
echo " <span  style='color:black'> ";
switch ($retrievedas) {
    case 'rate-next-prev':
        //this is set that the user can't view his own modal uploaded because of mno<>$mno
        if ($rate_style == 'All Style') {
            $looks = select_v3('postedlooks', '*', "active = 1 and mno <> {$mno} ");
        } else {
            $looks = select_v3('postedlooks', '*', "active = 1 and  style = '{$rate_style}' and mno <> {$mno}");
        }
        $mylookrated = $mc->get_all_my_rated_looks_by_month($mno, $mc->date_dif['month_firstday']);
        $plnos = $mc->remove_rated_looks($looks, $mylookrated, $rate_status);
        $tres = count($plnos);
        $np = $mc->generate_next_prev_numbers(intval($tres), $rate_limit);
        echo "<nextprev1>";
        $mc->print_next_prev_numbers($np, null, 'rate-look', 'loader-down');
        echo "<nextprev1>";
        echo "<nextprev2>";
        $mc->print_next_prev_numbers($np, null, 'rate-look', 'loader-up');
        echo "<nextprev2>";
        echo "<span style='display:none' ><tres>{$tres}<tres></span>";
        break;
    default:
        // modals
        $start = $mc->get_loop_start($pagenum, $rate_limit);
        $end = $mc->get_loop_end($pagenum, $rate_limit);
        $counter = $mc->set_loop_counter(1);
        $orderby = $mc->get_rate_looks_order_by($rate_looks);
        $mylookrated = $mc->get_all_my_rated_looks_by_month($mno, $mc->date_dif['month_firstday']);