} if ($modal['response'] == 'dislike') { $modal['thumbsDown'] = 'look-red-thumb-down.png'; } } # set points color $modal['response_drip'] = $mc->fs_drip_modals_Query(array('limit_start' => 0, 'limit_end' => 1, 'query_where' => "table_id = {$modal['table_id']} and mno = {$mno}", 'query_order' => 'dmno asc', 'query_drip' => 'get-all-user-dripped')); if (!empty($modal['response_drip'])) { // $modal['src_img_drip'] = "look-icon-drip-selected.png"; $modal['src_img_drip'] = "look-icon-drip.png"; } $modal['response_favorite'] = $mc->fs_favorite_modals_Query(array('limit_start' => 0, 'limit_end' => 1, 'query_where' => "table_id = {$modal['table_id']} and mno = {$mno}", 'query_order' => 'fmno asc', 'query_favorite' => 'get-all-user-favorite')); if (!empty($modal['response_favorite'])) { $modal['src_img_favorite'] = "look-icon-favorite-detail-yellow.png"; } $response = $mc->fs_flag(array('type' => 'select', 'limit_start' => 0, 'limit_end' => 1, 'where' => "table_id = {$plno} and table_name= 'postedlooks' and mno = {$mno} ")); if (!empty($response)) { $modal['src_img_flag'] = "large-flag-red.png"; } # set status of owner or not for the user not allow to rate , drip and favorite the modal if ($modal['mno'] == $mno) { $modal['stat_rated'] = 'modal owner'; $modal['stat_dripted'] = 'modal owner'; $modal['stat_favorited'] = 'modal owner'; } $keyword = modal::conver_cetegory_to_keyword($pltags); $title = page::set_url_for_modal_details($modal['table_id'], 'look', $style, $date_, $lookName); // set url of the page echo "</div>"; // echo " $keyword "; // $lookName = 'Mauricio (member) has 7 people who signed up using the referral link.There are currently1000 people on the waiting list who has no association to any member on the';
$modal['thumbsUp'] = 'look-red-thumbs.png'; } if ($modal['response'] == 'dislike') { $modal['thumbsDown'] = 'look-red-thumb-down.png'; } } #set points color $modal['response_drip'] = $mc->fs_drip_modals_Query(array('limit_start' => 0, 'limit_end' => 1, 'query_where' => "table_id = {$modal['table_id']} and mno = {$mno}", 'query_order' => 'dmno asc', 'query_drip' => 'get-all-user-dripped')); if (!empty($modal['response_drip'])) { $modal['src_img_drip'] = "look-icon-drip-selected.png"; } $modal['response_favorite'] = $mc->fs_favorite_modals_Query(array('limit_start' => 0, 'limit_end' => 1, 'query_where' => "table_id = {$modal['table_id']} and mno = {$mno}", 'query_order' => 'fmno asc', 'query_favorite' => 'get-all-user-favorite')); if (!empty($modal['response_favorite'])) { $modal['src_img_favorite'] = "look-icon-favorite-selected.png"; } $response = $mc->fs_flag(array('type' => 'select', 'limit_start' => 0, 'limit_end' => 1, 'where' => "table_id = {$modal['table_id']} and table_name= 'fs_postedarticles' and mno = {$mno} ")); if (!empty($response)) { $modal['src_img_flag'] = "large-flag-red.png"; } # set status of owner or not for the user not allow to rate , drip and favorite the modal if ($modal['mno'] == $mno) { $modal['stat_rated'] = 'modal owner'; $modal['stat_dripted'] = 'modal owner'; $modal['stat_favorited'] = 'modal owner'; } /* * set view more for the article link */ $more = $mc->look_with_more($modal['table_id'], $modal['source_url'], 'fs_postedarticles'); // set more.. page::set_url_for_modal_details($modal['table_id'], 'article', $modal['topic'], $modal['date'], $modal['title']);