'$cdate'"; $result=mysql_db_query($DATABASE,$sql); if(mysql_error()) error("Unexpected Error".mysql_error()); if(mysql_num_rows($result)) $ct++; //getting the details from the memberservice table $sql="select * from memberservice where login='$login' and serviceid in(12,4) and paymentstatus='Paid' and expdate>'$cdate' and memberstatus='Approved'"; $result=mysql_db_query($DATABASE,$sql); if(mysql_error()) error("Unexpected Error".mysql_error()); if(mysql_num_rows($result)) $ct++; //means he has taken the pw or pref plan if($ct<=0) { header("location:index_free.php"); exit; } //this function gets the who is online $whosonline=get_whois_online($login); //this function gets the pricewatch table $table=get_pricewatch_table($login); //this function gets the list of reports in the dropdown on the leftbanner $pw_report_list=pw_report_dropdown(); //this function gets the reports link on the leftbannner $pw_report=get_pw_report(); //this function gets the stats link on the leftbannner $stats=get_stats_nonlogged(); $colorofpopupbg="#D7F4FF"; //////////varaible color of the leftbanner/////////////// $colorbgleft="#990000"; $colorbgrowleft="#FFF7E0"; // SEO $disp_header=get_pricewatch_header(); $disp_body=get_pricewatch_body(); $disp_header = "YnFx : PriceWatch - Global PriceTrends for ".$disp_header; // SEO // Murthy $color_arr=get_color($login); $pref_TEXTCOLOR=$color_arr[0]; $pref_BANDCOLOR=$color_arr[1]; $std_text_font=""; $today=date("Ymd", mktime()); if(!$period_from) $period_from="20010101000000"; if(!$period_to) $period_to=$today; ?> <? echo $disp_header; ?>
Market Intelligence
Download latest PriceWatch Report
$period_to) $error ="
  • Please select valid period."; if($period_from > $today) $error ="
  • Please select valid period."; //echo count($TPL_prod); if(count($TPL_prod)< 2) { $error .="
  • You need to select at least two products"; } else { $TPL_prod1=urlencode(serialize($TPL_prod)); } $period_fromr=$period_from; $period_tor=$period_to; $period_from=$period_from."000000"; $period_to=$period_to."000000"; switch($mag_factor) { case "1": $sel_actsize="SELECTED"; break; case "5": $sel_500="SELECTED"; break; case "4.5": $sel_450="SELECTED"; break; case "4": $sel_400="SELECTED"; break; case "3.5": $sel_350="SELECTED"; break; case "3": $sel_300="SELECTED"; break; case "2.5": $sel_250="SELECTED"; break; case "2": $sel_200="SELECTED"; break; case "1.5": $sel_150="SELECTED"; break; case "1": $sel_100="SELECTED"; break; case "0.5": $sel_50="SELECTED"; break; } switch($graph_type) { case "1": $sel_1="SELECTED"; break; case "2": $sel_2="SELECTED"; break; } } ?>
    Please click here for another set of colors for curves of graph

    Compare Product Prices
    Period
    From   To  
    Magnification (%) Graph Type
    Product