|
|
|
|
|
Eliott-Ness.org » external scripts
|
 |
Want a Eliott-Ness banner about you playing here?
Take a look here
Want a Eliott-Ness banner presenting your rank in ladders and leagues (updated daily)?
| | <img alt="Eliott-Ness Liveranking" width="468" height="60" src="http://www.eliott-ness.org/extern/?clan=clanid&ladder=ladderid&type=graphic"> |
| | <img alt="Eliott-Ness Liveranking" width="468" height="60" src="http://www.eliott-ness.org/extern/?clan=clanid&league=leagueid&type=graphic"> |
Don't know how this works? Let me help you:
To show single values, insert the following code at any place of your web site:
| | <script src="http://www.eliott-ness.org/extern/?clan=clanid&ladder=ladderid&type=x"> |
or
| | <script src="http://www.eliott-ness.org/extern/?clan=clanid&league=leagueid&type=x"> |
Where x is an integer from 1 to 6 with the following meaning:
1 - returns Rank
2 - returns Number of matches
3 - returns Number of won matches
4 - returns Number of lost matches
5 - returns Number of drawn matches
6 - returns Points
7 - returns Number of active Clans/Players in league/ladder
All these return -1 if the selected clan is not active in the specified ladder.
You php'ler out there may use this instead:
NOTE: make sure your hoster allow to include remote scripts
| | <?php
include 'http://www.Eliott-Ness.org/extern/?clan=clanid&ladder=ladderid&type=php';
?> |
If you're playing in a league, use the following:
| | <?php
include 'http://www.Eliott-Ness.org/extern/?clan=clanid&league=leagueid&type=php';
?> |
This will give you access to the following
Array $eliott
(
['rank'] => x (Rank)
['matches'] => x (Number of matches)
['wins'] => x (Number of won matches)
['loss'] => x (Number of lost matches)
['draws'] => x (Number of drawn matches)
['points'] => x (Points)
)
Want to print out all your played matches on your php-homepage?
| | <?php
include 'http://www.Eliott-Ness.org/extern/?clan=clanid&ladder=ladderid&type=phpmatches';
?> |
Or all upcoming ones?
| | <?php
include 'http://www.Eliott-Ness.org/extern/?clan=clanid&ladder=ladderid&type=phpupcoming';
?> |
All open challenges?
| | <?php
include 'http://www.Eliott-Ness.org/extern/?clan=clanid&ladder=ladderid&type=phpchallenges'
?> |
This will result in the multi-dimensonal
Array $eliott_matches
{
[counter]['id'] => x (Match-ID)
[counter]['timestamp'] => x (Unix-Timestamp containing Date and Time)
[counter]['opponent'] => 'xyz' (Name of the Opponent)
[counter]['defwin'] => x (1 if defwin, 0 if not)
[counter]['map1'] => 'xyz' (own map)
[counter]['map1_score'] => x (own wins on own map)
[counter]['map1_score_opp'] => x (opponent's wins on own map)
[counter]['map2'] => 'xyz' (opponent's map)
[counter]['map2_score'] => x (own wins on opponent's map)
[counter]['map2_score_opp'] => x (opponent's wins on opponent's map)
[counter]['result'] => 'xyz' ('won', 'lost' or 'draw')
[counter]['report_from_opp'] => 'xyz' (Report entered by the opponent)
[counter]['rating_from_opp'] => x (Number of Stars the opponent rated [0-5])
[counter]['points'] => x (The points you gained)
}
The following ladders are active in Eliott-Ness at the moment:
Running leagues are the following ones:
|
|
| |
| |
|
Battlefield 2 Shoutbox
|
You can not talk.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Last forumthreads
|
|
|
|
|
|
|
|