require_once "common.php";
include_once "functions.php";
include "../rcommon/functions.php";
require_once "config.php";
include_once "functions_cipi.php";
require_once "login_top_script.php";
include "../rcontrol/config.php";
/*ini_set("display_errors", "1");
error_reporting(E_ALL);*/
$day_type = date('l');
//echo "day_type".$day_type;
if ($day_type == "Monday") $price_tab = 1;
if ($day_type == "Tuesday") $price_tab = 2;
if ($day_type == "Wednesday") $price_tab = 3;
if ($day_type == "Thursday") $price_tab = 4;
if ($day_type == "Friday") $price_tab = 5;
if ($day_type == "Saturday") $price_tab = 1;
if ($day_type == "Sunday") $price_tab = 1;
$viscose_content = 'The "Viscose Chain Report: 2007" contains 90 pages packed with up-to-date statistics covering the value chain starting from viscose staple fibre and viscose filament yarn. The Report consists of tabulations and graphical presentation of trends, statistics of demand and supply in the viscose chain.... Read More';
$Polyester_Chain_content = 'This "Polyester Chain Report: 2014" packed with up-to-date "not easy to find" statistics and objective analysis of the trends and recent development of the polyester industry. It covers the entire polyester value chain beginning from feedstock like ethylene and paraxylene further to intermediate - PTA & MEG, and down to polyester fibre and filaments. The Report presents tabulation and graphical presentation of trends.... Read More';
$nylon_content = 'This "Nylon Chain Report: 2014" containing over 118 pages provides a comprehensive review of market trends, drivers, issues, and challenges. It is richly annotated with authoritative and unbiased objective description and hard-to-find statistical facts. The report also provides unequivocal views..... Read More';
$World_Fibre_content = 'The World Fibre - Trends in Demand and Supply - 2015 from YarnsandFibers is the tenth consecutive compendium covering the trends in global demand and supply of natural and manmade fibre/filament industries. The report covers all major fibre producing countries accounting for 85% of global production and consumption..... Read More';
//$Polyester_Chain_content = 'This "Polyester Chain Report: 2014" packed with up-to-date "not easy to find" statistics and objective analysis of the trends and recent development of the polyester industry. It covers the entire polyester value chain beginning from feedstock like ethylene and paraxylene further to intermediate - PTA & MEG, and down to polyester fibre and filaments. The Report presents tabulation and graphical presentation of trends.... Read More';
$status_ = "status ='a' or status='r'"; // r for paid news a for free
//changes done by Vandana on 6/01/2014 as nItin wants only three latest News.
$findMainNews = "Select nid from content_type_news group by nid order by nid desc LIMIT 3"; //where field_cont_category_value = 'Main News'
$findMainNewsresults = mysql_db_query(DB_NAME_DRUPAL, $findMainNews) or die(mysql_error() . __LINE__);
$findMainNewsrowcount = mysql_num_rows($findMainNewsresults);
$news="";
while ($findMainNews = mysql_fetch_assoc($findMainNewsresults)) {
$nid = $findMainNews['nid'];
$selectposting = "SELECT u.name, n.nid, n.vid, n.uid, n.title, n.body, teaser, n.timestamp
FROM node_revisions n, users u, node nd
WHERE u.uid = n.uid
AND n.nid = nd.nid
AND n.nid = '".$nid."'
AND nd.status = '1'
group by title";
$selectpostingexe = mysql_db_query(DB_NAME_DRUPAL, $selectposting) or die(mysql_error() . __LINE__);
$selectpostingrow = mysql_num_rows($selectpostingexe);
$row = mysql_fetch_assoc($selectpostingexe);
$nid = $row['nid'];
$vid = $row['vid'];
$uid = $row['uid'];
$title = $row['title'];
$body = $row['body'];
$writer=$row['name'];
$teaser = $row['teaser'];
$date = date("d M , Y", $row['timestamp']);
$bodyArray=explode(" ", substr($body,0,150));
array_pop($bodyArray);
$body=implode(" ",$bodyArray);
$finddate = "Select created from node where nid = '$nid'";
$finddateresults = mysql_db_query(DB_NAME_DRUPAL, $finddate) or die(mysql_error() . __LINE__);
$finddateresultsrow = mysql_num_rows($finddateresults);
$finddaterow = mysql_fetch_assoc($finddateresults);
$date = date("d M , Y", $finddaterow['created']);
$selectImagePathQuery="SELECT f.filepath from files f, content_field_news_image cf WHERE f.fid=cf.field_news_image_fid AND cf.nid='".$nid."'";
$selectImagePathExe=mysql_db_query(DB_NAME_DRUPAL,$selectImagePathQuery);
$imagePath=mysql_fetch_assoc($selectImagePathExe);
$src = "node/$nid";
$findlink = "Select dst from url_alias where src = '$src' and dst not like '%www%' and dst not like '%http%'";
//echo "findlink".$findlink;
$findlinkresults = mysql_db_query(DB_NAME_DRUPAL, $findlink) or die(mysql_error() . __LINE__);
$findlinkresultsrow = mysql_num_rows($findlinkresults);
$findlinkrow = mysql_fetch_assoc($findlinkresults);
$dst = $findlinkrow['dst'];
//echo $imagePath['filepath'];
if($imagePath['filepath']=="http://www.yarnsandfibers.com/news/" || $imagePath['filepath']=="" || $imagePath['filepath']==null){
$imagePath['filepath']="sites/default/files/imagefield_default_images/default_img_news.gif";
}
$news.='
YnFx is the world's premier and most trusted market intelligence platform, with a mission to provide companies in global textile and chemical markets a competitive edge by delivering authentic and timely pricing data and high-value market analysis. We are driven by the need to help our members improve their business process efficiency by providing insightful reports which assists in achieving informed decisions.
Why choose YnFx?
In vibrant and volatile textile market conditions, doing business has in many ways proved to be quite challenging. But these buy-sell challenges can be faced by taking well informed decisions. And therefore we, at YnFx, strive to revolutionize the market information mechanism with reliable textile prices and market trend reports services which would assist you in your business decision making process.
YnFx reports helps you in identifying whether your suppliers are selling you at the right price and/or ensures your pricing in the market is competitive. We provide valuable information on price and market trends, news, analysis and customized reports which empowers you to keep abreast of the latest in the industry.
YnFx Price Index - echo date('d M, Y',strtotime($max_field_date_value)); ?>
Product
Movement
include_once 'config.php';
include "opendb.php";
$cdate=mktime();
//fakhruddin: for paid and free in MI page
//$findMainNews = "Select nid from content_type_news where field_cont_category_value = 'Main News' order by nid desc LIMIT 3";
$findMainNews = "Select nid from content_type_news order by nid desc LIMIT 3";
$findMainNewsresults = mysql_db_query(DB_NAME_DRUPAL, $findMainNews) or die(mysql_error().__LINE__);
$findMainNewsrowcount = mysql_num_rows($findMainNewsresults);
while($findMainNews = mysql_fetch_assoc($findMainNewsresults))
{
$nid = $findMainNews['nid'];
$selectposting = "Select nid , vid, uid, title, body,teaser,timestamp from node_revisions where nid = '$nid' ";
$selectpostingexe = mysql_db_query(DB_NAME_DRUPAL, $selectposting) or die(mysql_error().__LINE__);
$selectpostingrow = mysql_num_rows($selectpostingexe);
$row = mysql_fetch_assoc($selectpostingexe);
$nid= $row['nid'];
$vid=$row['vid'];
$uid=$row['uid'];
$title=$row['title'];
$body=$row['body'];
$teaser=$row['teaser'];
$date=date("d M , Y",$row['timestamp']);
$finddate = "Select created from node where nid = '$nid'";
$finddateresults = mysql_db_query(DB_NAME_DRUPAL, $finddate) or die(mysql_error().__LINE__);
$finddateresultsrow = mysql_num_rows($finddateresults);
$finddaterow = mysql_fetch_assoc($finddateresults);
$date=date("d M , Y",$finddaterow['created']);
$src = "node/$nid";
$findlink = "Select dst from url_alias where src = '$src' and dst not like '%www%' and dst not like '%http%'";
//echo "findlink".$findlink;
$findlinkresults = mysql_db_query(DB_NAME_DRUPAL, $findlink) or die(mysql_error().__LINE__);
$findlinkresultsrow = mysql_num_rows($findlinkresults);
$findlinkrow = mysql_fetch_assoc($findlinkresults);
$dst= $findlinkrow['dst'];
$lhs_news .="