query($sql); while($q->next_record()) { $m_heading = $q->f("heading"); $m_dispheading = $q->f("heading"); $m_summary = $q->f("summary"); $m_category = $q->f("category"); $count_category = $q->f("category"); $ent_date = $q->f("ent_date"); $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!=$msg_dat) { $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 ="about ". dateTimeDiff($ent_date)." ago"; } $m_date = substr($ent_date,0,10); $m_time = substr($ent_date,10,6); $m_image = $row["HPIMG_PATH"]; if($row["byline"] <> "NULL") $m_source = $row["byline"]; else $m_source = ""; /*if($m_image <> "" && $m_image <> "NULL") { $msg_headingmain = $m_heading; $m_heading="
$m_heading
$m_summary
$m_date $m_time
"; } else { $msg_headingmain = $m_heading; $m_heading="
$m_heading
$m_summary
$m_date $m_time
"; }*/ if($sr_no == "") $sr_no = 0; if($sr_no > 0) { $prev_pg = (intval($sr_no)+1)-1; $contd_text = "Contd. from page : ". $prev_pg.""; } else $contd_text = ""; $sql_1 = "select * from NEWS_URLS where AUTONO='".$autono."' and SR_NO='".$sr_no."'"; $q1->query($sql_1); if($q1->next_record()) { $m_filename = $q1->f("FILE_NAME"); $m_path = $q1->f("PATH"); } if(strlen($m_path)>0) { $news = join("",file("http://127.0.0.1/" . $m_path)); $include_rhs = join(" ", file("http://127.0.0.1/news/rhs/index.php?category_num=$cat_found")); } /*$sql_2 = "select count(*) pages from $news_urls_table where AUTONO=" . $autono; $q1->query($sql_2); if($q1->next_record()) { $m_pages = $q1->f("pages"); if($m_pages > 1) { $m_pgstr = "Page : "; for($ctr=1; $ctr <= $m_pages; $ctr++) { if(($ctr-1) == $sr_no) $m_pgstr = $m_pgstr . " " . $ctr . " | "; else $m_pgstr = $m_pgstr . " " . $ctr . " | "; } } }*/ } ?> PowerYourTrade.com - Exclusive Trading Calls, Trading Tips, Stock Signs, Stocks to Watch

Missed investment opportunities can cost you dearly

Get critical & timely information on your Stocks on SMS, email and on our desktop application

Time - %H.%ihrs') as cdate, status, file_name cfilename, autono from chat_plus where rank in(1,3,5,7) order by rank "; $q10->query($sqlch); $q10->next_record(); $preface = $q10->f("preface"); $cceoname = $q10->f("celeb_name"); $cstatus = $q10->f("status"); $cdesi = $q10->f("celeb_desgn"); $corg = $q10->f("celeb_orgn"); $folderdate = $q10->f("folderdate"); $cceoname = ucwords($cceoname); if($cceoname != "" && $cdesi != "") $cdesi = "".$cceoname .", ". $cdesi; if($cceoname!="" && $cdesi=="") $cdesi = "".$cceoname.""; if(strlen($corg)!=1 && strlen($cdesi)!=0) { $corg=$corg; } $cdate = $q10->f("cdate"); $cfilename = $q10->f("cfilename"); $tmp = split (' ', $cceoname); $img = "https://images.moneycontrol.com/images/mcplus_plus/chat/".$tmp[0].".gif"; $imgpath = ""; if($cstatus=="live") { $chatgif=""; $ctrtime=""; $ctrname=$cceoname; $joinnow="
"; $currentchat=""; } else if($cstatus=="next") { $chatgif=""; $ctrtime=$cdate; $ctrname="".$cceoname.""; $joinnow=""; } else if($cstatus=="transcript") { $chatgif=""; $ctrtime=$cdate; $ctrname=$cceoname; $currentchat="
PreviousCurrent
"; $joinnow=""; } else if($cstatus=="upcoming") { $chatgif=""; $ctrname=$cceoname; $currentchat="
PreviousUpcoming
"; $joinnow=""; } ?>

Market Action

INDIAN INDICES

".$index_value[1].""; $lastprice = $row[2]; $change = $row[3]; $chan = str_replace('-','',$change); if($change > 0) $color = "gr_12"; elseif($change < 0) $color = "r_12"; else $color = "b_12"; echo ""; $ar++; } ?>
".$index_link."".$lastprice."".$change."

GLOBAL INDICES

BROKERAGE RECCOS
    'NULL' and related_scid is not NULL) and publish='Y'order by ent_date desc limit 0,5"; $result_rec = mysqli_query($main_read, $sql_rec); $cntt = 0; while($row_rec = mysqli_fetch_array($result_rec)) { $cntt++; $heading_rec = $row_rec['heading']; $autono_rec = $row_rec['autono']; echo "
  • ".$heading_rec."
  • "; } ?>

Read All

IPO NEWS