Display Tables, Fixtures and Results
Linking and embedding the LMS
![]() |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
The following lists the possibilities of utilising the LMS for displaying tables,fixtures and results.The list is not exclusive nor is it restricted to any number of a display type.
- Linking to your tables as separate pages.
- Embedding the tables as part of your own pages.
- Copy and pasting the tables.
Linking to Tables
Web Pages
Initially the web pages will open in this window so you must click back to return to this page, Latter examples will open a separate window and in these cases you must close these windows.
Open in this window
The simplest link is to provide the web address of your tables. The simplest address is
http://liga.4all2u.com/display.php?regname=admin&groupname=Bundesliga+1&why=1
This address consists of several parts (English Premier Version)
this is the standard display page
specifies the minimum number of parameters required to display your table.
identifies your user name, in this case my username as admin
identifies the group or division to display, in this case "Bundesliga 1" . Note all spaces must be replaced by + characters (html standard).
if this was 7= 1+2+4 where 1 means output table, 2 output results and 4 means output fixtures. So this specifies we are only interested in the league table. This is a very basic link not using any of the options that are available such as removing the home and away sections, adding a border to the table, alter the size of the table etc.
You can provide this as a stand alone address or set of addresses if you have more than 1 division.
Note: all addresses must appear on one line, some of the examples, below are spread over many lines, this is for appearance sake only.
Links in Web Pages
The links can be embedded inside your own web a pages. This requires you to embed the following html code, written all on one line, within your page
The link address is the same web page as above. The rest specifies that this is a hyperlink and will be displayed as Bundesliga Premier. or (English Premier Version)
Display in Separate Window
To open in a seperate window add ' target="view_window"' as shown below (there is a space before 'target')
The link address is the same web page as above. The rest specifies that this is a hyperlink and will be displayed as Bundesliga Premier. or (English Premier Version) . All the following examples open in seperate windows.
Add Fixtures and Results and Other Display Parameters
The output of tables,fixtures and results is controlled by a large number of options which can be set in the LMS system by the 'Display Options' page which defines the default set for any future displays. The options can be overriden by specifying parameters within the web page address. The following example overrides a few options.
This is encoded as the following link.
is the standard display address for your league table
identifies my username as admin
identifies the group or division to display, in this case "Bundesliga 1" . Note all spaces must be replaced by + characters (html standard).
the rest are for controlling output
is 1+2+4 where 1 means output table, 2 output results and 4 means output fixtures
&date1=2004-8-1&date2=2004-10-18 defines 2 dates which define when fixtures or results are required for
provides a border around the league table of size 4
, 4 pixels surround all cell entries.
, the whole table is 75% of the window.
Just change cellpadding=0
Display Bundesliga 1 table+results+fixtures between dates border size 4 cell padding 0 width 75
There are approximately 60 options that can be set this way.
The above table can be redisplayed
Display Bundesliga 1 table+results+fixtures between dates border size 4 cell padding 1 width 30 only total results use the German style for and against goals
(English Premier Version)
with the following encoding.
Technical aware can now alter parameters in the browsers "Address" window with their own values, to see the effects.
Embed Tables in Web Pages
If you can see the long thin table to the left then you have an Iframe enabled browser which allows you to show the tables as part of your own web pages as against links to external separate pages. This allows you to format your own pages and insert the tables where you prefer. This is achieved with the following html code.
The central section the parameter is a more complex example of the hyperlinks shown above to show a very reduced table. The new section is to embed this within an with a and specified in pixels
An alternative way is
Repeat Note: all http addresses must be contained on one line not spread over multiple lines as shown above.
Copy and Paste
There are no restriction on copying and pasting any sections within the LMS. The only requirement here is your own ability.
Use the following link to learn how to enter color codes
The following is a full list of these short cut options
