squad["SquadImage"]!="")
{
$pic = $this->squad["SquadImage"];
}
?>
partial('/others/profiles.phtml',array("squad"=>$this->squad));
echo $this->partial('/others/mynotification.phtml',array("UserDetails"=>$this->UserDetails));
echo $this->partial('/others/demographics.phtml',array("squad"=>$this->squad));
echo $this->partial('/others/wallpaper.phtml',array("squad"=>$this->squad));
?>
squad["Pool"]>0){ $Pool = $this->squad["Pool"]; }
$AgeDB = new Model_Age;
$Groups = $AgeDB->getAll();
$AllAges = json_encode($Groups->toArray());
$Tournament = array();
if(count($this->Tournament)>0){
$Tournament =$this->Tournament->toArray();
$i=0;
foreach($Tournament as $Tourn){
$Tournament[$i]["AgeGroup"]= json_decode($Tourn["AgeGroup"],true);
$i++;
}
}
$Tournament = str_replace("\\","",json_encode($Tournament));
//echo $Tournament = str_replace('{','',str_replace('}','',json_encode($Tournament)));
?>