0 ) { $thetitle1text = mysql_result($result,0,"title1text"); $thetitle1colour = mysql_result($result,0,"title1colour"); $thetitle1on = mysql_result($result,0,"title1on"); $thetitle2text = mysql_result($result,0,"title2text"); $thetitle2colour = mysql_result($result,0,"title2colour"); $thetitle2on = mysql_result($result,0,"title2on"); $thebannerimage = mysql_result($result,0,"bannerimage"); $thebannercolour = mysql_result($result,0,"bannercolour"); $thelinkcolour = mysql_result($result,0,"linkcolour"); $thepagecolour = mysql_result($result,0,"pagecolour"); $thetitle1align = mysql_result($result,0,"title1align"); $thetitle2align = mysql_result($result,0,"title2align"); $thepagealign = mysql_result($result,0,"pagealign"); $thebordercolour = mysql_result($result,0,"bordercolour"); $thereserves = mysql_result($result,0,"reserves"); $theyouth = mysql_result($result,0,"youth"); $theplayerdetails = mysql_result($result,0,"playerdetails"); $theplayerstats = mysql_result($result,0,"playerstats"); $theshowadverts = mysql_result($result,0,"showadverts"); $thebannerad = mysql_result($result,0,"bannerad"); $thesmallbannerad = mysql_result($result,0,"smallbannerad"); if ($thetitle1on == "on") { $title1on = "checked"; } if ($thetitle2on == "on") { $title2on = "checked"; } if ($thereserves == "on") { $reserves = "checked"; } if ($theyouth == "on") { $youth = "checked"; } if ($theplayerdetails == "on") { $playerdetails = "checked"; } if ($theplayerstats == "on") { $playerstats = "checked"; } if ($theshowadverts == "on") { $showadverts = "checked"; } } ?> A sample sports team website

Click one of the links above to edit the details in that particular section of the site.

Site Settings...

SettingCurrentEdit
Title 1
Title 1 Colour [select]
Title 1 Alignment
Show Title 1 value="on">

Title 2
Title 2 Colour [select]
Title 2 Alignment
Show Title 2 value="on">

Banner Image [select]
Banner Colour [select]

Link Colours [select]

Outer Page Colour [select]
Page Border Colour [select]
Page Alignment
Show Reserves value="on">
Show Youth value="on">
Show Player Details value="on">
Show Player Stats value="on">

Show Adverts value="on">
Banner Ad Code$thebannerad";?>
Small Banner Ad Code$thesmallbannerad";?>