Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/paktribune.com/httpdocs/services/ticker.php on line 5
// the array global_article is used to allow multiple categories var global_article = new Array() var global_article_counter = 0 var article = null var early_exit = 0 function news(url,headline_text,news, dateTemp) { this.url = url this.headline_text = headline_text this.news = news this.dateTemp = dateTemp } article = new Array( new news("http://paktribune.com/news/Imran-Khan-first-official-visit-to-Saudi-Arabia-281477.html","Imran Khan first official visit to Saudi Arabia ...","", "2018-09-19"), new news("http://paktribune.com/news/Budget-to-generate-revenue-of-Rs183-billion-in-a-year-Asad-Umer-281478.html","Budget to generate revenue of Rs183 billion in a year: Asad Umer ...","", "2018-09-19"), new news("http://paktribune.com/news/China-greatly-values-its-time-tested-relations-with-Pakistan-ISPR-281479.html","China greatly values its time-tested relations with Pakistan: ISPR ...","", "2018-09-19"), new news("http://paktribune.com/news/Commanders-with-265-militants-surrendered-in-Quetta-281480.html","Commanders with 265 militants surrendered in Quetta ...","", "2018-09-19"), new news("http://paktribune.com/news/Afghan-Bengladeshi-refugees-born-in-Pakistan-have-right-to-hold-citizenship-Imran-Khan-281471.html","Afghan-Bengladeshi refugees born in Pakistan have right to hold citizenship: Imran Khan ...","", "2018-09-18"), new news("http://paktribune.com/news/Asad-Umer-presented-mini-Budget-281472.html","Asad Umer presented mini Budget ...","", "2018-09-18") ); // load global_article array with articles from cluster if (article != null) { for (var article_counter = 0; article_counter < article.length; article_counter++) { global_article[global_article_counter] = article[article_counter] global_article[global_article_counter].url += "' TARGET='_blank" global_article_counter++ } } else { if (early_exit == 0) { document.writeln("
Please reload this page to view the headlines
") early_exit = 1 } } if (early_exit == 0) { //Variable var width = "185" var bgcolor = "#660033" var fgcolor = "#FFCCCC" var numberofarticles = article.length var item_spacing = "5" var cell_spacing = "0" var cell_padding = "1" var headingBgColor = "#FAEBD7" var headingFont = "Verdana, Arial,Helvetica, sans-serif" var headingFontSize = "2" var headingFgColor = "#000000" var newsFont = "Verdana, Arial,Helvetica, sans-serif" var newsFontSize = "-2" var newsFgColor = "#ffff00" var newsBgColor = "#336699" // Print out the table containing the headlines document.writeln("
") // document.writeln("") document.writeln("
") document.writeln("") // Start loop for articles for (var counter=0; counter < numberofarticles; counter++) { // Print out the headline document.writeln("") } else { document.writeln("") } document.writeln("") } // End of article loop document.writeln("") document.writeln("
Pakistan News
September 19, 2018
") document.writeln(" ") document.writeln("") document.writeln(""+global_article[counter].headline_text+"") // document.writeln("("+ global_article[counter].dateTemp + ") ") document.writeln("
"); // Print out the news if (global_article[counter].news.length > 0) { document.writeln("
") document.writeln(""+global_article[counter].news+"  ") document.writeln("
") document.writeln("
powered by PakTribune.com
"); }