% Gain'; $curr_link=' % Gain'; $reco_bg='class="ybx"'; $curr_bg='last'; } else { $sfiltr="perc_gain"; $reco_link=' % Gain'; $curr_link=' % Gain'; $reco_bg=''; $curr_bg='class="last ybx"'; } if(isset($int_id)) { /*if( $int_id=='all' || $int_id=='5') { $sql="select * from port_multi_stock order by $sfiltr desc limit 25"; $active="act"; } else*/ if( $int_id=='6' || $int_id=='all' || $int_id=='5') { $sql="select * from port_multi_stock where catid=3 order by $sfiltr DESC limit 25"; $active1="act"; } else if( $int_id=='1') { $sql="select * from port_multi_stock where catid=4 order by $sfiltr desc limit 25"; $active2="act"; } else if( $int_id=='2') { $sql="select * from port_multi_stock where catid=5 order by $sfiltr desc limit 25"; $active3="act"; } else if( $int_id=='3') { $sql="select * from port_multi_stock where catid=6 order by $sfiltr desc limit 25"; $active4="act"; } else if( $int_id=='4') { $sql="select * from port_multi_stock where catid=7 order by $sfiltr desc limit 25"; $active5="act"; } /*else if( $int_id=='5') { $sql="select * from port_multi_stock where catid=8 order by $sfiltr desc limit 25"; $active6="act"; }*/ } else { $sql="select * from port_multi_stock order by $sfiltr desc limit 25"; $active="act"; } //echo $sql."
"; $q22->query($sql); ?> Power Your Trade tries to bring together information and content that subscribers can use to improve their investment decisions
next_record()) { $exp_name=$q22->f('exp_name'); $call_date=$q22->f('call_date'); $stock=$q22->f('stock'); $rec_price=$q22->f('rec_price'); $perc_gain=$q22->f('perc_gain'); $overall_perc=$q22->f('overall_perc'); $story_id=$q22->f('story_id'); $scid=$q22->f('scid'); $sql1="select high_closeprice from pyt_multibaggers where autono='$story_id'"; $q2->query($sql1); if($q2->next_record()) { $high_closeprice = $q2->f('high_closeprice'); } $sql1="select currentcloseprice from livebse where sc_id='$scid'";; $q2->query($sql1); if($q2->next_record()) { $currentcloseprice = $q2->f('currentcloseprice'); } $ent_dateT=$call_date." 00:00:00"; $date_all = explode(" ",$ent_dateT); $time_xpld = explode(":",$date_all[1]); $date_xpld = explode("-",$date_all[0]); $time_text = date("M jS Y", mktime($time_xpld[0], $time_xpld[1], 0, $date_xpld[1], $date_xpld[2], $date_xpld[0])); $ctr++; $powercall_array[0][$ctr] = $stock; $powercall_array[1][$ctr] = $exp_name; $powercall_array[2][$ctr] = $time_text; $powercall_array[3][$ctr] = $rec_price; $powercall_array[4][$ctr] = $high_closeprice; $powercall_array[5][$ctr] = $overall_perc; $powercall_array[6][$ctr] = $currentcloseprice; $powercall_array[7][$ctr] = $perc_gain; $powercall_array[8][$ctr] = $story_id; }// while for($i=1; $i <= $ctr; $i++) { ?>
Stock Expert Reco Date Reco Price (Rs) Peak From Reco Current Price (Rs)