<?php /** * Created by PhpStorm. * User: Jesus * Date: 9/29/2015 * Time: 12:03 PM */ require("../../fs_folders/php_functions/function.php"); require("../../fs_folders/php_functions/Database/Database.php"); require("../../fs_folders/php_functions/Class/Look.php"); $db = new Database(); $db->connect(); $mno = 1013; $look = new Look($mno, $db); $plno = 222375; //echo "artno = " . $article->latestSharedArticle() . '<br>'; //echo $look->overAllRating($mno); echo "position = " . $look->position($plno, 'Bohemian', $mno) . "\n"; echo "total uploaded " . $look->totalUploaded('Bohemian', $mno) . "\n";
$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']; /** *This is used for the popup content at lookdetails-popup.php */ $_SESSION['posted_link'] = $article_link; $more = $mc->look_with_more($plno, $article_link); $tlc = $mc->get_total('plcno', 'posted_looks_comments', 'plno', $_SESSION['plno']); $_SESSION['table_name'] = 'postedlooks'; $modal['table_name'] = 'postedlooks'; $modal['table_id'] = $plno; $modal['mno'] = $mno1; $modal['kind'] = 'ARTICLE'; $modal['position'] = $look->position($plno, $plstyle, $modal['mno']); $modal['total'] = $look->totalUploaded($plstyle, $modal['mno']); $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 $modal['contentmssg'] = 'This Look is now on your favorite list.'; # this is for success message popup $modal['src_img_drip'] = "look-icon-drip.png"; $modal['src_img_favorite'] = "look-icon-favorite-detail-yellow.png"; $modal['src_img_share'] = "look-icon-share.png"; $modal['src_img_flag'] = "modal-flag-dot-white.png";