"Dowjonesnews.jpg","2"=>"cnbc_awz.gif","3"=>"thbussinessline.jpg","4"=>"associated_press.jpg"); $common_top=join(" ", file("http://127.0.0.1/eagritrader/home_menu.php?cid=1&userid=$userid&login=$login")); //$top5Inw=join(" ", file("http://127.0.0.1/eagritrader/top5inw3.php?cid=$cid&userid=$userid&login=$login&id=$itemid")); $top5issue_n_analysis = join(" ", file("http://127.0.0.1/eagritrader/common/issue_archives.php?type=ISS&userid=$userid&login=$login")); $top5world_press = join(" ", file("http://127.0.0.1/eagritrader/common/top5world_press.php?type=BSL&userid=$userid&login=$login")); $top5awaaz = join(" ", file("http://127.0.0.1/eagritrader_hindi/common/tp5awaaz3.php?userid=$userid&login=$login")); $common_footer=join(" ", file("http://127.0.0.1/eagritrader/common/footer.php")); $int_top=join(" ", file("http://127.0.0.1/eagritrader/common/int_5news.php?id=12&msgpg=10&page=1&pages=Iw&cid=".$cid."&varid=".$varid)); /**************traking hits Start********************/ $sql="select id from eagritrader_english_tracking_page where key_page='".$_SERVER['REQUEST_URI']."' and cid='".$cid."' and varid='".$varid."' and record_date='".date("Y-m-d",time())."'"; $q->query($sql); $q->next_record(); if($q->f("id")==""){ //inserting data for page count $sql="Insert into eagritrader_english_tracking_page values('','".$_SERVER['REQUEST_URI']."','".$cid."','".$varid."',1,'".date("Y-m-d",time())."','0')"; //echo $sql."
"; $q->query($sql); } else{ $sql="update eagritrader_english_tracking_page Set page_count=page_count+1, update_date='".date("Y-m-d H:i:s",time())."' where key_page='".$_SERVER['REQUEST_URI']."' and cid='".$cid."' and varid='".$varid."' and record_date='".date("Y-m-d",time())."'"; $q->query($sql); } /**************traking hits End********************/ $Vcomments=join(" ", file('http://127.0.0.1/eagritrader/common/news_comments.php?itemid='.$itemid.'&type='.$type.'&cid='.$cid.'&varid='.$varid)); $sql="select count(id) as count from news_comment where type='".$type."' and itemid='".$itemid."' and commodityid=".$cid." and active='Y'"; //echo $sql; $q->query($sql); $q->next_record(); $rec=$q->f("count"); /**************traking Page View********************/ $news_count = join(" ", file('http://127.0.0.1/eagritrader/news_track.php?itemid='.$itemid.'&type='.$type.'&cid='.$cid.'&varid='.$varid)); //$news_count = count_page_view($type,$itemid,$cid,$varid); if($news_count) { $news_count="Viewed: $news_count "; } /**************traking Page View********************/ /* $sql="select count from news_track where itemid=".$itemid." and type='".$type."'"; $q1->query($sql); $c=0; if($q1->next_record()) { $c=$q1->f("count"); $news_count=$c; $c=$c+1; $sql5="update news_track set count=".$c.",update_date=now() where itemid=".$itemid ." and type='".$type."'"; } else { $c=1; $sql5="insert into news_track(itemid,comid,varid,type,count,news_date,update_date) values(".$itemid.",".$cid.",'".$varid."','".$type."',".$c.",now(),now())"; } if(($_SERVER['REMOTE_ADDR']=="210.211.136.143") || ($_SERVER['REMOTE_ADDR']=="202.149.219.148")) { } else { $q1->query($sql5); } if($news_count) { $news_count="Viewed: $news_count"; } */ //$Comment_link="[ Share your comments ]"; if($rec>0){ //$Comment_link.="   [ view all comments ]"; } ###### Chat START ############ $Mysql="select Name, Details, Topic, Designation, CompanyName, Photo, SourceID, PostedDate from InterviewOfTheWeek where interviewid='".$id."'"; //echo $Mysql; //exit; $q->query($Mysql); while($q->next_record()){ $name=$q->f("Name"); if($key){ $name=eregi_replace("$key","$key",$name); } $detail=$q->f("Details"); if($key){ $detail=eregi_replace("$key","$key",$detail); } $topic=$q->f("Topic"); if($key){ $topic=eregi_replace("$key","$key",$topic); } $designation=$q->f("Designation"); if($key){ $designation=eregi_replace("$key","$key",$designation); } $sourceid = $q->f("SourceID"); if($key){ $sourceid=eregi_replace("$key","$key",$sourceid); } $companyname=$q->f("CompanyName"); if($key){ $companyname=eregi_replace("$key","$key",$companyname); } if($q->f("Photo")){ $display_photo="
f("Photo")." border=1>
"; } $posted_date=substr($q->f("PostedDate"),8,2)." ".date("M",strtotime($q->f("PostedDate")))." ".substr($q->f("PostedDate"),11,5); $date_time = $q->f("PostedDate"); } ########### CHAT END ######################## $top5comments=join(" ", file("http://127.0.0.1/eagritrader/common/top5comments.php?id=$id&type=IW&varid=$varid&cid=$cid")); ?> commoditiescontrol.com - Top Gainers in MCX, Top Losers in MCX, Expert Talk, Agri News, Weather News, World Press, Shipping News, Events, Plant Quotes, Arrivals, International Quotes, Domestic Quotes, FOREX, Veg Oils, Pulses, Cotton, Spices, Grains, Precious Metals, Metals, Energy, Pulses, Cotton, Spices, Grains, Precious Metals, Metals, Energy, Others, Soy Complex, Soy Complex, Others
"; echo ""; ?>
"; ?>
 Comments  Comments |  Comments Post Comment |  Email to Friend Email |  Print this Page Print |  Font Size A A A 
".$detail.""; ?>
Source:
"; } $sqlBack="select InterviewId as itemid, Topic as caption from InterviewOfTheWeek where InterviewId < ".$id." order by posteddate desc limit 1"; $q->query($sqlBack); if($q->next_record()){ $itemid3=$q->f("itemid"); $caption3=$q->f("caption"); $previous="";// onMouseover=\"EnterContent3('ToolTip','Previous news:','$caption3'); Activate();\" onMouseout=\"deActivate()\" } $sqlNext="select InterviewId as itemid, Topic as caption from InterviewOfTheWeek where InterviewId > ".$id." order by posteddate asc limit 1"; //echo $sql4; $q->query($sqlNext); if($q->next_record()){ $itemid3=$q->f("itemid"); $caption3=$q->f("caption"); $next="";// onMouseover=\"EnterContent3('ToolTip','Next news:','$caption3'); Activate();\" onMouseout=\"deActivate()\" } if($previous || $next) { echo "
"; } echo "
".$previous."  ".$next."     
Ads by Google
 
"; $rating=join(" ", file("http://www.commoditiescontrol.com/eagritrader/common/news_rating.php?type=" . $type . "&itemid=" . $itemid . "&comid=" . $cid . "&cid1=" . $cid . "&varietyid=" . $varid . "&varid=" . $varid . "&log=Y&userid=$userid")); $comments=join(" ", file("http://www.commoditiescontrol.com/eagritrader/common/news_comments.php?type=" . $type ."&cap=".urlencode($topic)."&itemid=" . $itemid . "&comid=" . $cid . "&cid1=" . $cid . "&varietyid=" . $varid . "&varid=" . $varid . "&log=Y&userid=$userid")); echo $rating; echo "
"; echo $comments; echo "