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 Details

squad["SquadType"]==1 && count($this->LocAdmin)>0){ ?>
UserDetails["UnionType"]!=11){?>
" name="data[FormDate]" id="datepick" type="text" placeholder="YYYY-mm-dd" class="form-control requiredField"/> When was the squad formed (date)
" name="data[SquadName]" id="SquadName" type="text" class="form-control requiredField"/> Please enter name of your squad
" name="data[ShortName]" id="ShortName" type="text" class="form-control requiredField"/> If you have a 'fantasy' name for you team enter it here.
" name="data[Abbreviation]" id="Abbreviation" type="text" class="form-control requiredField"/> Use a maximum of 4 characters
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))); ?>