document.write('');
var server = "content-submit.cricinfo.com";
/* Login Valdation */
//----------------------------------------------------------
// create cookie
//----------------------------------------------------------
function setCookie( name, value, expires, path, domain, secure ) {
var today = new Date();
today.setTime( today.getTime() );
if ( expires ) {
expires = expires * 1000 * 60 * 60 * 24;
}
var expires_date = new Date( today.getTime() + (expires) );
document.cookie = name+'='+escape( value ) +
( ( expires ) ? ';expires='+expires_date.toGMTString() : '' ) +
( ( path ) ? ';path=' + path : '' ) +
( ( domain ) ? ';domain=' + domain : '' ) +
( ( secure ) ? ';secure' : '' );
}
//----------------------------------------------------------
// check if cookie defined
//----------------------------------------------------------
function getCookie(name) {
var start = document.cookie.indexOf( name + "=" );
var len = start + name.length + 1;
if ( ( !start ) && ( name != document.cookie.substring( 0, name.length ) ) ) {
return null;
}
if ( start == -1 ) return null;
var end = document.cookie.indexOf( ';', len );
if ( end == -1 ) end = document.cookie.length;
return unescape( document.cookie.substring( len, end ) );
}
//------------------------------------------------------------
// Remove cookie
//------------------------------------------------------------
function removeCookie( name, path, domain) {
if ( getCookie( name ) )
document.cookie = name + '=' + ( ( path ) ? ';path=' + path : '') + ( ( domain ) ? ';domain=' + domain : '' ) + ';expires=Thu, 01-Jan-1970 00:00:01 GMT';
}
//------------------------------------------------------------
// Get the domain name
//------------------------------------------------------------
function getDomainname () {
var hostname = window.location.hostname.split('.');
if ( hostname.length >= 2 ) {
var len = hostname.length;
var domainname = '.' + hostname[len - 2] + '.' + hostname[len - 1];
} else {
var domainname = '.' + window.location.hostname;
}
return domainname;
}
//------------------------------------------------------------
// Logout
//------------------------------------------------------------
function logoutUser () {
var domainname = getDomainname();
removeCookie("un" , '/', domainname );
removeCookie("CI_Pub_data" , '/' , domainname);
$('#ciMemebermgmt').html(welcome_content);
}
//-------------------------------------------------------------
// Validate search filed
//-------------------------------------------------------------
function validateData() {
if ( txt_data == "") {
window.location.href = "/ci/content/site/search.html";
return false;
}
if ( txt_data == "Search Cricinfo") {
window.location.href = "/ci/content/site/search.html";
return false;
}
return true;
}
//----------------------------------------------------------
// Login validate
//----------------------------------------------------------
function ciLoginvalidate(){
if(document.ciloginfm.email.value=="") {
alert("Please enter your email id.");
document.ciloginfm.email.focus();
document.ciloginfm.email.select();
return false;
}
var emailexp = /^([a-zA-Z0-9])([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})([a-zA-Z0-9\-\.]+))\.([a-zA-Z]{2,6}[0-9]{1,6})(\]?)$/;
if (emailexp.test(document.ciloginfm.email.value.replace(/\s/g,""))== false) {
alert("Please enter your email id.");
window.document.ciloginfm.email.focus();
document.ciloginfm.email.select();
return false;
}
if(document.ciloginfm.password.value=="") {
alert("Please enter Password.");
document.ciloginfm.password.focus();
document.ciloginfm.password.select();
return false;
}
var un = document.ciloginfm.email.value;
var pass =document.ciloginfm.password.value;
var url = 'http://' + server + '/member_mgmt/content/submit/member_mgmt/login_validate.html?callback=?';
$.getJSON( url , { email: un, password: pass },
function(msg){
if ( msg.status == 1 ) {
hideTooltip('divLoginpopup');
var welcome_user = 'Welcome ' + msg.username + 'Edit Profile Sign Out ';
$('#ciMemebermgmt').html(welcome_user);
} else {
alert (msg.message);
return false;
}
});
return false;
}
var welcome_content = 'Welcome Guest Sign In Register';
var authcookie = getCookie("CI_Pub_data");
if ( authcookie != null ) {
var user_name = getCookie('un');
if ( user_name == null ) {
var domainname = getDomainname();
removeCookie("CI_Pub_data" , '/' , domainname);
document.write(welcome_content);
} else {
var login_content = 'Welcome ' + user_name + '';
document.write(login_content);
document.write('Edit Profile Sign Out');
}
} else {
document.write(welcome_content);
}
Welcome Guest
Sign In
Register
Hot Searches: Bilal Shafayat The Ashes 2009 More...
Sign In
x
Email
Password
Remember me
Forgot Password?
Series
Series
The Ashes
Sri Lanka v Pakistan
West Indies v Bangladesh
County Cricket
ICC Intercontinental Cup
More current and future series
Countries
Countries
Australia
South Africa
Ireland
Women's Cricket
Bangladesh
Sri Lanka
Kenya
ICC
England
West Indies
Netherlands
Beyond the Test World
India
Zimbabwe
Scotland
New Zealand
Afghanistan
USA
Pakistan
Canada
Other Countries
Live Scores
Live Scores
Live Scores Home
Desktop Scoreboard
3D Animation
Scores Widget
Mobile Scores
Fixtures
Fixtures
Fixtures Home
Live Coverage
Current and Future Tours
Results
Results
Recent Results
Current 2009 Season
2008-09 Season
Match and Series Archive
News
News
News Home
In Focus
RSS Index
The Surfer
News Widget
Features
Features
Magazine Home
Regulars
Ask Steven
All Today's Yesterdays
Cricinfo XI
Numbers Game
Print Run
Quote Unquote
Rewind to
The List
Highlights
50 Magic Moments
Movers and Shapers
Diaries
My Favourite Cricketer
Features
Profiles
Gleanings
Sanga's Favorites
Gongs
Talking Cricket
I Was There
The Long Room
Interviews
Tributes
Opinion
Sambit Bal
Andrew Miller
Ian Chappell
Fazeer Mohammed
Countyscape
Dileep Premachandran
Tony Cozier
Peter Roebuck
Peter English
Christian Ryan
Jason Gillespie
Osman Samiuddin
Jayaditya Gupta
Kumar Sangakkara
Gideon Haigh
Rob Steen
Matthew Hoggard
Telford Vice
Mukul Kesavan
Martin Williamson
Tim de Lisle
Guest Column
Reviews
Books
DVDs
Misc
The Short Stuff
Five Firsts
Golden Pairs
Hero's Hero
My Favourite Cricket Story
Photographic Memory
Snap Poll
What They Said About
All Time XI
Australia
Archives
Must Read Books
The Explainer
The Week That Was
2008 in review
2007 in review
Page 2
Photos
Photos
Photos Home
Galleries
Wallpapers
Screensavers
Photos Widget
Blogs
Blogs
Blogs Home
Inbox
Beyond the Test World
It Figures
The Buzz
Long Stop
The Confectionery Stall
Pak Spin
Different Strokes
Sarwan & Gayle Tour Diaries
From the Editor
The Surfer
Girls Aloud
Tour Diaries
Iain O'Brien
Statistics
Statistics
Statistics Home
Statsguru
2009 Records
All Records
Players
Grounds
Ask Steven
Numbers Game
The List
It Figures
Archive
Archive
Match and Series Archive
Players
Grounds
Records
Rankings / Ratings
Wisden Almanack
Cricketer Archive
WCM Archive
Audio
Audio
Cricinfo Talk Home
Bowl at Boycs
Bumble Logs In
Comments
Match Analysis
Spotlight
Switch Hit
The Round Table
The Tony Greig Show
Podcast
Video
Video
Cricinfo TV
Games
Games
Games Home
Fantasy
Slogout!
Quiz
Mobile
Mobile
Mobile Home
Mobicast
WAP
Snaptu
Pakistan / News
Pakistan home
News
Features
Photos
Fixtures
Results
Domestic Competitions
Domestic Competitions
Domestic Competitions home
Quaid-e-Azam Trophy
Twenty20 Women's Tournament
RBS Pentangular Cup
RBS Pentangular One Day Cup
Royal Bank of Scotland Cup
Royal Bank of Scotland Twenty-20 Cup (2008/09)
Royal Bank of Scotland Twenty-20 Cup (2009)
Domestic History
Players
Grounds
Records
$Launchpad.ShowButton({"userId": "47bb0191feb4e844", "widgetName": "Cricinfo Story", "useFacebookLink": "false", "bookmarkUrl": "http://www.cricinfo.com/pakistan/content/story/413726.html?cmp=viral", "source": "PutWidgetHere", "actionElement": "getButtontop", "menuWidth": 400, "menuHeight": 210, "customCSS": "http://www.cricinfo.com/navigation/cricinfo/viralshare.css", "servicesExclude": ["send"]});
Pakistan cricket
Hafeez dropped from 'A' team to tour Sri Lanka
Cricinfo staff
July 11, 2009
Text size: A A
Faisal Iqbal will lead Pakistan 'A' on their tour of Sri Lanka © AFP
Related Links-->
-->
Players/Officials: Faisal Iqbal Mohammad Hafeez
Teams: Pakistan
Faisal Iqbal will lead a 16-man Pakistan 'A' squad on a tour of Sri Lanka in August, interim chief selector Wasim Bari said on Friday. Iqbal is currently in Sri Lanka as part of the senior national team, as is opener Khurram Manzoor who was also named in the 'A' side.
Pakistan 'A' is currently touring Australia, and two players - captain Mohammad Hafeez and Azeem Ghumman - from that side have been left out for the matches against Sri Lanka 'A'. The tour of Australia ends on July 18, with two ODIs and a Twenty20 yet to played.
Khan Research Laboratories left-arm spinner Nayyer Abbas and Sui Northern Gas Pipelines Limited legspinner Yasir Shah are the two newcomers in the side to visit Sri Lanka, after failing to make the cut for the Australia trip.
In Sri Lanka, the 'A' team will play two four-day games and five ODIs from August 2 to August 28.
Squad: Khalid Latif, Umar Amin, Azhar Ali, Khurram Manzoor, Umar Akmal, Faisal Iqbal (capt), Fahad Iqbal, Sheharyar Ghani, Sarfraz Ahmed (wk), Mohammad Talha, Fahad Masood, Wahab Riaz, Abdul Rehman, Yasir Shah, Naved Arif, Nayyar Abbas.
0 comments:
Post a Comment