Problem posjete (XML parsing error)

Evo imam problem sa posjetama

ovaj mi error izbaci

XML Parsing Error: no element found
Location:
http://www.bih-network.com/profil-include-chart2.php

Line Number 1, Column 1:
^

Evo cijeli fajl

<?
include 'baza.php';
header('Content-Type: text/xml');
header("Pragma: no-cache");


$ids=explode("|",$id);
$id=$ids[0];
$drugiid=$ids[1];

if(!ctype_digit($id)){exit();}
if(!ctype_digit($drugiid)){exit();}

if($drugiid==0){
$m= date("m");
$d= date("d");
$y= date("Y"); 

$danasnjidatum="$y-$m-$d";


$lastmonth = mktime(0, 0, 0, date("m"), date("d")-1, date("Y"));

$d_istice=date('d',$lastmonth);
$m_istice=date('m',$lastmonth);
$y_istice=date('Y',$lastmonth);

$jucer="$y_istice-$m_istice-$d_istice";


?>
<chart>

	<axis_category size='10' color='000000' alpha='75' font='arial' bold='true' skip='0' orientation='diagonal_up' />
	<axis_ticks value_ticks='true' category_ticks='true' />

	<chart_border top_thickness='0' bottom_thickness='3' left_thickness='3' right_thickness='0' />
	<chart_data>
		<row>
			<null/>
<?
$gal=mysql_query("select distinct datum from posjete where koga='$id' order by datum asc",$db) or die (mysql_error());
while ($galba=mysql_fetch_array($gal)) {
$dat=explode("-",$galba['datum']);
?>
<string><? if($galba['datum']==$danasnjidatum){ echo "danas"; }elseif($galba['datum']==$jucer){ echo "jucer"; }else{ echo $dat[2].".".$dat[1].".".$dat[0]; }?></string>
<?
}
?>

		</row>
		<row>
			<string>Posjete</string>

<?
$yosa=0;
$gal=mysql_query("select distinct datum from posjete where koga='$id' order by datum asc",$db) or die (mysql_error());
while ($galba=mysql_fetch_array($gal)) {
$galbb2=mysql_query("select count(*) as neshta from posjete where koga='$id' and datum='".$galba['datum']."'");

$galbbba = mysql_fetch_array($galbb2) or die(mysql_error());
$galbb=$galbbba['neshta'];


if($galbb>$yosa){
$yosa=$galbb;
}
?>
<string><? echo $galbb; ?></string>
<?
}
?>
		</row>
	</chart_data>
		<axis_value alpha='90' orientation='horizontal' max='<? echo $yosa+20; ?>'/>

	<chart_grid_h thickness='1' color='000000' alpha='20' />
	<chart_grid_v thickness='1' color='000000' alpha='20' />
	<chart_rect x='-15' y='-20' width='425' height='230' positive_alpha='20' />
	<chart_pref rotation_x='20' rotation_y='40' />
	<chart_transition type='blink' delay='.5' duration='1' order='series' />
	<chart_type>parallel 3d column</chart_type>
	<license>LLUG4YM8MA54.2JQ0T35W342LVJMTGWK</license>
	<chart_value color='000000' background_color='ffff00' alpha='90' size='12' position='cursor' />

	<legend_label layout='horizontal' font='arial' bold='true' size='12' color='000000' alpha='50' />
	<legend_rect x='25' y='250' width='350' height='50' margin='20' fill_color='000000' fill_alpha='7' line_color='000000' line_alpha='0' line_thickness='0' />



	<series_color>
		<color>ff8844</color>
		<color>88ff00</color>
	</series_color>
	<series_gap bar_gap='50' set_gap='50' />

</chart>
<?
}else{
$m= date("m");
$d= date("d");
$y= date("Y"); 

$danasnjidatum="$y-$m-$d";


$lastmonth = mktime(0, 0, 0, date("m"), date("d")-1, date("Y"));

$d_istice=date('d',$lastmonth);
$m_istice=date('m',$lastmonth);
$y_istice=date('Y',$lastmonth);

$jucer="$y_istice-$m_istice-$d_istice";


?>
<chart>

	<axis_category size='10' color='000000' alpha='75' font='arial' bold='true' skip='0' orientation='diagonal_up' />
	<axis_ticks value_ticks='true' category_ticks='true' />

	<chart_border top_thickness='0' bottom_thickness='3' left_thickness='3' right_thickness='0' />
	<chart_data>
		<row>
			<null/>
<?
$gal=mysql_query("select distinct datum from posjete where koga='$id' order by datum asc",$db) or die (mysql_error());
while ($galba=mysql_fetch_array($gal)) {
$dat=explode("-",$galba['datum']);
?>
<string><? if($galba['datum']==$danasnjidatum){ echo "danas"; }elseif($galba['datum']==$jucer){ echo "jucer"; }else{ echo $dat[2].".".$dat[1].".".$dat[0]; }?></string>
<?
}
?>

		</row>
		<row>
			<string>Posjete od korisnika</string>

<?
$yosa=0;
$gal=mysql_query("select distinct datum from posjete where koga='$id' order by datum asc",$db) or die (mysql_error());
while ($galba=mysql_fetch_array($gal)) {




$galbb2=mysql_query("select count(*) as neshta from posjete where koga='$id' and datum='".$galba['datum']."'");

$galbbba = mysql_fetch_array($galbb2) or die(mysql_error());
$galbb=$galbbba['neshta'];

if($galbb>$yosa){
$yosa=$galbb;
}
?>
<string><? echo $galbb; ?></string>
<?
}
?>
		</row>
		<row>
			<string>Moje Posjete</string>

<?
$gal=mysql_query("select distinct datum from posjete where koga='$drugiid' order by datum asc",$db) or die (mysql_error());
while ($galba=mysql_fetch_array($gal)) {
$galbb=mysql_num_rows(mysql_query("select id_posjete from posjete where koga='$drugiid' and datum='".$galba['datum']."'"));
if($galbb>$yosa){
$yosa=$galbb;
}
?>
<string><? echo $galbb; ?></string>
<?
}
?>
		</row>
	</chart_data>
		<axis_value alpha='90' orientation='horizontal' max='<? echo $yosa+20; ?>'/>

	<chart_grid_h thickness='1' color='000000' alpha='20' />
	<chart_grid_v thickness='1' color='000000' alpha='20' />
	<chart_rect x='-15' y='-20' width='425' height='230' positive_alpha='20' />
	<chart_pref rotation_x='20' rotation_y='40' />
	<chart_transition type='blink' delay='.5' duration='1' order='series' />
	<chart_type>parallel 3d column</chart_type>
	<license>LLUG4YM8MA54.2JQ0T35W342LVJMTGWK</license>
	<chart_value color='000000' background_color='ffff00' alpha='90' size='12' position='cursor' />

	<legend_label layout='horizontal' font='arial' bold='true' size='12' color='000000' alpha='50' />
	<legend_rect x='25' y='250' width='350' height='50' margin='20' fill_color='000000' fill_alpha='7' line_color='000000' line_alpha='0' line_thickness='0' />



	<series_color>
		<color>ff8844</color>
		<color>88ff00</color>
	</series_color>
	<series_gap bar_gap='50' set_gap='50' />

</chart>


<?
}
?>

XML ti nije dobar, sudeci po greski …