Code:
/*
This is open source you may not sell this script or make any type of profit from it.
You may not claim this script as your own
You may edit it to your liking though.
You may not post on any other site.
Credits Geek4Ever,CEF
*/
<?php
header('Content-Type: image/png');
$Image = imagecreatetruecolor(265, 45);
$fName = 'ctl00_Main_lbl_charactername">';
$fTotalMatches = 'ctl00_Main_lbl_play_cnt">';
$fWins = 'ctl00_Main_lbl_win_cnt">';
$fLoses = 'ctl00_Main_lbl_lose_cnt">';
$fTotalKills = 'ctl00_Main_lbl_enemy_kill_cnt">';
$fDeaths = 'ctl00_Main_lbl_death_cnt">';
$fExp = 'ctl00_Main_lbl_exp">';
$fHeadshots = 'ctl00_Main_lbl_headshot_kill_cnt">';
$fTeamkills = 'ctl00_Main_lbl_friend_kill_cnt">';
$fDesertion = 'ctl00_Main_lbl_escape_cnt">';
$fRegisterDate = 'ctl00_Main_lbl_reg_date">';
$fLastPlayDate = 'ctl00_Main_lbl_last_play_date">';
$fLevel = 'images/RANKINGICON_BIG/Bigclass_';
$ID = $_GET["cfID"];
$Site = 'http://clan.z8games.com/charstat_cf.aspx?usn=' . $ID;
$Contents = file_get_contents($Site);
$tName = explode($fName,$Contents);
$tTotalMatches = explode($fTotalMatches,$Contents);
$tWins = explode($fWins,$Contents);
$tLoses = explode($fLoses,$Contents);
$tTotalKills = explode($fTotalKills,$Contents);
$tDeaths = explode($fDeaths,$Contents);
$tExp = explode($fExp,$Contents);
$tHeadshots = explode($fHeadshots,$Contents);
$tTeamkills = explode($fTeamkills,$Contents);
$tDesertion = explode($fDesertion,$Contents);
$tRegisterDate = explode($fRegisterDate,$Contents);
$tLastPlayDate = explode($fLastPlayDate,$Contents);
$tLevel = explode($fLevel,$Contents);
$dName = explode('</span>',$tName[1]);
$dTotalMatches = explode('</span>',$tTotalMatches[1]);
$dWins = explode('</span>',$tWins[1]);
$dLoses = explode('</span>',$tLoses[1]);
$dTotalKills = explode('</span>',$tTotalKills[1]);
$dDeaths = explode('</span>',$tDeaths[1]);
$dExp = explode('</span>',$tExp[1]);
$dHeadshots = explode('</span>',$tHeadshots[1]);
$dTeamkills = explode('</span>',$tTeamkills[1]);
$dDesertion = explode('</span>',$tDesertion[1]);
$dRegisterDate = explode('</span>',$tRegisterDate[1]);
$dLastPlayDate = explode('</span>',$tLastPlayDate[1]);
$dLevel = explode('.jpg',$tLevel[1]);
$White = imagecolorallocate($Image, 255, 255, 255);
$pFont = 'vagron.TTF';
$iconRank = "http://clan.z8games.com/images/rankingicon/class_" . $dLevel[0] . ".jpg";
$iRank = imagecreatefromjpeg($iconRank);
imagettftext($Image, 9,0, 15, 15, $White, $pFont, 'Name: ' . $dName[0] );
imagettftext($Image, 9,0, 15, 25, $White, $pFont, 'Matches: ' . $dTotalMatches[0] );
imagettftext($Image, 9,0, 15, 35, $White, $pFont, 'Wins: ' . $dWins[0] );
imagettftext($Image, 9,0, 125, 15, $White, $pFont, 'Loses: ' . $dLoses[0] );
imagettftext($Image, 9,0, 125, 25, $White, $pFont, 'Kills: ' . $dTotalKills[0] );
imagettftext($Image, 9,0, 125, 35, $White, $pFont, 'Deaths: ' . $dDeaths[0] );
imagecopy ($Image, $iRank, 230, 10,0 , 0, 23, 26);
imagepng($Image);
imagedestroy($Image);
imagedestroy($iRank);
?>