query($sql_1); $tot_rec = $q->num_rows(); if($tot_rec>0){ while($q->next_record()) { $display=""; $high_closeprice_text = ""; $exp_name_multi = $q->f('exp_name'); $exp_des = $q->f('exp_des'); $exp_img_path = $q->f('exp_img_path'); $call_date = $q->f('call_date'); $summary = $q->f('summary'); $mainstory = $q->f('mainstory'); $disclaimer = $q->f('disclaimer'); $rec_price = $q->f('rec_price'); $stock = $q->f('stock'); $scid = $q->f('scid'); $target = $q->f('target'); $ent_date = $q->f('ent_date'); if($target == "Buy" ){ if($target == "Buy") $image_name = "/images/buy.gif"; $high_closeprice = $q->f('high_closeprice'); if($high_closeprice>0) { $high_closeprice_text = "PEAK FROM RECO"; $changes_multi = $high_closeprice - $rec_price; $high_closeprice_chg = round((($changes_multi)/$rec_price)*100,2); if($high_closeprice_chg > 0) { $gainloss = " ".str_replace("-","",number_format($high_closeprice_chg,2))."%"; } else { $gainloss = " ".number_format($high_closeprice_chg,2)."%"; } } } else if($target == "Sell") { $high_closeprice = $q->f('low_closeprice'); if($high_closeprice>0){ $high_closeprice_text = "LOW FROM RECO"; $changes_multi = $rec_price - $high_closeprice; $high_closeprice_chg = round(($changes_multi/$rec_price)*100,2); if($high_closeprice_chg > 0) { $gainloss = " ".str_replace("-","",number_format($high_closeprice_chg,2))."%"; } else { $gainloss = " ".number_format($high_closeprice_chg,2)."%"; } } $image_name = "/images/sell.gif"; }else if($target == "Hold"){ $image_name = "/images/hold.png"; } else { $image_name = "/images/blank.gif"; } $msg_dat=substr($ent_date,0,10); $msg_yr=substr($ent_date,0,4); $curr_dat=date("Y-m-d"); $curr_yr=date("Y"); if($curr_dat != $ent_date) { $date_all = explode(" ",$ent_date); $time_xpld = explode(":",$date_all[1]); $date_xpld = explode("-",$date_all[0]); if($curr_yr==$msg_yr) { $filing_dt = date("g.i A M jS", mktime($time_xpld[0], $time_xpld[1], 0, $date_xpld[1], $date_xpld[2], $date_xpld[0])); } else { $filing_dt = date("g.i A M jS Y", mktime($time_xpld[0], $time_xpld[1], 0, $date_xpld[1], $date_xpld[2], $date_xpld[0])); } } else { $filing_dt = dateTimeDiff($ent_date)." ago"; } $current_closeprice = stock_price($scid,"BSE","lastprice",''); if($current_closeprice=="") { $current_closeprice = stock_price($scid,"NSE","lastprice"); } $current_chng = $rec_price - $current_closeprice; $chg = ($current_chng/$rec_price)*100; if(($target == "Buy" && $chg > 0) || ($target == "Sell" && $chg < 0)) { $result = " ".number_format($chg,2)."%"; } else { $result = " ".str_replace("-","",number_format($chg,2))."%"; } } }else{ //NO records } if($tot_rec>0){ $attchment_txt=''; $pdf_qu="select pdf_name from upload_pdfname where story_no='".$autono."' and flag='Multibaggers'"; $q->query($pdf_qu); while($q->next_record()) { $pdf_name = $q->f('pdf_name'); $attchment_txt=''.$pdf_name.''; } } if(strlen((string)$scid) > 0) { $scmas_details = explode("|",getstockscmas($scid)); $sc_comp = $scmas_details[2]; $sc_nseid = $scmas_details[8]; $sc_bseid = $scmas_details[7]; $sc_isinid = $scmas_details[9]; } ?> PowerYourTrade.com - Exclusive Trading Calls, Trading Tips, Stock Signs, Stocks to Watch

Multi Baggers

0){?>

BSE ID :      NSE ID :

RECOMMENDED PRICE

CURRENT PRICE

No records.