query($sql_1); $tot_rec = $q0->num_rows(); if($tot_rec>0){ while($q0->next_record()) { $exp_name = $q0->f('exp_name'); $exp_des = $q0->f('exp_des'); $exp_img_path = $q0->f('exp_img_path'); $call_date = $q0->f('call_date'); $ent_date = $q0->f('ent_date'); $summary=$q0->f('summary'); $mainstory=$q0->f('mainstory'); $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"; } } $pdflk=""; $sql_pdf="select * from upload_pdfname where story_no='$autono' order by ent_date desc"; $q0->query($sql_pdf); if($q0->next_record()) { $pdf_name=$q0->f('pdf_name'); $pdf_lk="https://poweryourtrade.moneycontrol.com/plus/upload_pdf_file/$pdf_name"; $pdflk="To read the full report click on the attachment......
Attachments :
$pdf_name"; } }else{ //no record } ?> PowerYourTrade.com - Exclusive Trading Calls, Trading Tips, Stock Signs, Stocks to Watch

Market Outlook

0){?>

,