Putting scorecards and fixtures on your own site
|
|
If your club has its own web site then it may be possible to show your team's results and fixtures on that site using the information supplied on this site; thus keeping your web site fully up-to-date without having to edit it directly. The information only shows that which is relevant to your team or club. The fixtures page is automatically updated to remove past fixtures and the scorecards are updated from the results submitted to this site. If you would like to add either, or both, of these facilties to your web site please just follow the instructions in the attached file. If you have any questions you can ask Island Webservices who designed this web site: http://www.islandwebservices.co.uk or 01983 721264. To show scorecards insert this code into your web page: <?php $content=file_get_contents("http://www.isleofwightcricketboard.co.uk/clubscorecards.php?team=St_Helens_Cricket_Club"); echo $content; ?> To show fixtures put this code in the page: <?php $content=file_get_contents("http://www.isleofwightcricketboard.co.uk/clubfixtures.php?team=St_Helens_Cricket_Club"); echo $content; ?> Your web page must be able to display PHP. You may be able to make this happen by saving the file as yourfilename.php although on some servers you may need to specifically enable PHP. Your server also needs to be able to accept content from other servers. You may need to request this from your hosting provider. You will need to change "St_Helens_Cricket_Club" to your own club name exactly as it appears on the clubs page: http://www.isleofwightcricketboard.co.uk/iwcricketclubs.php with the spaces replaced by underscores. Once you get it working you should add a style sheet or amend your existing one to contain something similar to the following: .btext font-family: arial, verdana, helvetica, sans; font-size: 12px; font-weight: normal; color: #606060 .btext a:link font-weight: normal; color: #26557a; text-decoration: none .btext a:visited font-weight: normal; color: #26557a; text-decoration: none .btext a:hover font-weight: normal; color: #9C4218; text-decoration: underline td#creamone background: #fdfdfe td#creamtwo background: #f8f8f9 btext is the class of the text that is used and creamone and creamtwo are the colours of the shaded grey table cells. Neither of which are cream.
Attachments:
instructions |
|