query($sql_1); while($q->next_record()) { $display=""; $high_closeprice_text = ""; $exp_name = $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($exp_img_path=='')$exp_img_path = $expimg_arr[$exp_name]; else $exp_img_path = 'https://images.moneycontrol.com/images/'.$exp_img_path; 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("-","",$high_closeprice_chg)."%"; } else { $gainloss = " ".$high_closeprice_chg."%"; } } } 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))."%"; } } $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) { if(!function_exists("Open_Connection")) { require_once( $_SERVER['DOCUMENT_ROOT']."/mccode/common/mysql_conn.php"); } $conn_read = Open_Connection("main_read"); $sql2="SELECT SC_COMP, SC_SUBSECTOR, SC_ISINID, SC_NSEID, SC_BSEID from scmas WHERE SC_ID='$scid'"; $rec = mysql_query($sql2, $conn_read); while($row = mysql_fetch_array($rec)) { $sc_comp = $row["SC_COMP"]; $sc_nseid = $row["SC_NSEID"]; $sc_bseid = $row["SC_BSEID"]; $sc_isinid = $row["SC_ISINID"]; } Close_Connection($conn_read); } ?> PowerYourTrade.com - Exclusive Trading Calls, Trading Tips, Stock Signs, Stocks to Watch

Multi Baggers

BSE ID :      NSE ID :

RECOMMENDED PRICE

CURRENT PRICE