var clientName = "Gracia 2.3"; var data = new Array(); //if (document.images) //{ // preload_image_object = new Image(); // // set image url // image_url = new Array(); // image_url[0] = "images/oren.jpg"; // image_url[1] = "images/schuttgart.jpg"; // // var i = 0; // for(i=0; i<=1; i++) // preload_image_object.src = image_url[i]; //} //data[6] = 'Server Stats:
BartzKain
Intel Core 2 Quad Q6600 Kentsfield 2.4GHz
8 Gigabytes DDR2 SDRAM
2x 300GB SAS Drives RAID 1
100 Mb/s connection located in Michigan, USA.
2 x Intel Core Quad Core Xeon 2.0GHz (8 Cores)
8 Gigabytes DDR2 SDRAM
2x 300GB SAS Drives RAID 1
100 Mb/s connection located in London, England.


Community Team:

Admin: Erb
Head GM: TheGooginator
GM: Sloth
GM: Requim
GM: Builder
Trainee: Scoli
Trainee: Flawless
Trainee: Cristian'; data[6] = 'Server Stats:
BartzKain
Intel Core 2 Quad Q6600 Kentsfield 2.4GHz
8 Gigabytes DDR2 SDRAM
2x 300GB SAS Drives RAID 1
100 Mb/s connection located in Michigan, USA.
2 x Intel Core Quad Core Xeon 2.0GHz (8 Cores)
8 Gigabytes DDR2 SDRAM
2x 300GB SAS Drives RAID 1
100 Mb/s connection located in London, England.


Community Team:

Admin: Erb
HGM: Builder
GM: Requiem
GM: TheGooginator
Trainee: Scoli
Trainee: Marlboro
Trainee: Cristian
'; data[10] = ''; var news = new Array(); data[7] = '

Bartz

Kain

RankNameLevelPvP\'s
1.specialm8544,019
2.NoNaMe8543,211
3.Yoruia8537,330
4.Basara8433,386
5.Markela8430,548
6.kataramenos8230,390
7.NatBornKillah8329,273
8.SmackThat8228,823
9.Kwlotripidiaris8327,036
10.examples8424,885
11.pKtshu8324,268
12.Executor8324,268
13.PSARANTONIS8423,580
14.YY8422,785
15.Radiohead8322,780
16.Rey8222,360
17.Raphaela8322,303
18.Shion8221,576
19.K1TANA8321,456
20.KazukiSama8021,110
21.Slug8420,787
22.SilverStab8020,219
23.PavelNedved8319,873
24.FinalAeon8319,639
25.Poivre8119,357
RankNameLevelPvP\'s
1.Stromberg8524,414
2.nyla8323,949
3.BabyNaya8220,008
4.ORFailka8319,469
5.GhostBusterZ8319,029
6.HePHasT08416,012
7.gagyi8014,883
8.Eagle8114,560
9.Vanity8213,501
10.Guilt8113,069
11.xXDrakonaXx8212,726
12.infernaz8212,070
13.MoPKoBKa8311,981
14.Scaretactic8111,878
15.bboyseri28211,381
16.fishka8211,360
17.s4rge8111,252
18.Quelen8211,127
19.Minou8010,907
20.Atsoubalos8110,855
21.Danger8210,804
22.Alisa8210,607
23.Trin1ty8210,470
24.Unforgiven8210,025
25.Hater819,666
';news[0] = new Object(); news[0].subject = "03/04/10 - Banner Contest"; news[0].body = "I'm looking for a new banner to replace the old one from the main website (http://infinitel2.com/#1)! I want something elaborate, bright, crispy, fresh, not too blurry, no pre-designed images/effects, not too shinny, no edges and no background.

[u:1qmnb3sk][b:1qmnb3sk]Instructions:[/b:1qmnb3sk][/u:1qmnb3sk]
[list:1qmnb3sk]
- It has to say "InfiniteL2" in it.
- Only Lineage 2 Renders allowed (this excludes any other type).
- It should imply that it's a faction server (aka Red vs. Blue).
[/list:u:1qmnb3sk]

Any other ideas I might think of will be posted in this topic.

I'm hoping some of you blow my mind with some cool designs, feel free to send them to me through out PMs.

[u:1qmnb3sk][b:1qmnb3sk]Prizes:[/b:1qmnb3sk][/u:1qmnb3sk] Prizes haven't been discussed yet but they always depend on how many people participate on the contest and the quality of the work, also, they will most likely be given out after the server wipes!

Good luck to everyone and get to work!

Sincerly,
Builder.";news[1] = new Object(); news[1].subject = "02/26/10 - Updates"; news[1].body = "1. Reduced the activation chance on Evasion Counter (by an small amount).
2. Slightly reduced the effect duration on Song of Silence.";news[2] = new Object(); news[2].subject = "02/24/10 - Updates"; news[2].body = "1. Recoded COV so it now adds 20% of critical damage (instead of critical rate).
2. Wind Storm will now add some resistance to Crossbow attacks.";news[3] = new Object(); news[3].subject = "02/21/10 - Updates"; news[3].body = "1. Watch out for the new NPC in town called Ateret!
2. Added Gold Drakes to the donation list.
3. Added New Agathions to the NPC "Jack".";news[4] = new Object(); news[4].subject = "02/14/10 - Updates"; news[4].body = "Happy Valentines Day Everyone!

1. Fixed Force Burst.
2. Re-adjusted Deadly Roulette's land rate value.
3. Added some reuse delay to Spell Turning.
4. Added some reuse delay to Word of Fear.
5. Boosted Word of Fear's land rate.
6. Changed Summon Life Cubic to a static reuse delay of 1 minute (aprox).
7. Slightly boosted Fear (skill from Orcs).
8. Slightly nerfed Curse Fear's land rate value.
9. Fixed Gift of Queen taking up a buff slot on the summoner.
10. Fixed Gift of Seraphim taking up a buff slot on the summoner.
11. Fixed Blessing of Seraphim taking up a buff slot on the summoner.
12. Changed Summon Aqua Cubic to a static reuse delay of 1 minute (aprox).
13. Changed Mass Summon Aqua Cubic to a static reuse delay of 1 minute (aprox).
14. Slightly reduced the casting time on Inquisitor.
15. Slightly reduced the casting time on Switch Stance.
16. Slightly reduced Touch of Death's cooldown.";news[5] = new Object(); news[5].subject = "02/13/10 - Updates"; news[5].body = "1. Fixed Song of Windstorm.
2. Chant of protection will be removed once you join an event (this will only apply if its not a selfbuff).
3. Condition of Pa'agrio will be removed once you join an event (this will only apply if its not a selfbuff).
4. Added some reuse delay to Stunning Shot.
5. Song of Wind Storm now lasts 1 hour.
6. Fixed a glitch where certain people were able to get COV on their buff list (if I find anyone else abusing it and not reporting it will be permanently jailed).";news[6] = new Object(); news[6].subject = "02/11/10 - Updates"; news[6].body = "1. Slightly nerfed Seal of Winter's reuse delay and hit time.
2. Slightly lowered Seal of Disease's effect time.
3. Slightly boosted Touch of Death's land rate.";news[7] = new Object(); news[7].subject = "02/01/10 - Updates"; news[7].body = "1. Changed Pa'agrio's Emblem to last 1 hour.
2. Fixed Eye of Pa'agrio (made it retail like, now it over writes accuracy buffs but stacks with critical ones).
3. Slightly nerfed Chant of Protection.";news[8] = new Object(); news[8].subject = "01/14/10 - Updates"; news[8].body = "1. Slightly nerfed land rate on Fear.";news[9] = new Object(); news[9].subject = "01/12/10 - Updates"; news[9].body = "1. Entirely recoded Shadow Bind.
1. Entirely recoded Voice Bind.";data[1] = '

Welcome to InfiniteL2 Private Lineage 2 Server.We are running a HIGHLY modified L2J server that filled with tons of events that are CUSTOM coded, each event runs for 30 minutes with a 10 minute down time to raid/play in the minigames!



We currently offer two servers to choose from. Bartz is our faction server with Red and Blue factions. Kain is our Factionless server with the same idea but your faction is chosen every event based on balance.

Apply to be a GM!



Bartz:


There are 2 sides, one Red one Blue.
When you start out you will choose either Red or Blue.
All items up to B grade are free, A grade costs adena.
You earn Adena/Exp by PvPing the opposing faction.


Please read the updates and the forums for more information and join us to see how awesome this server truly is.

';adeninfo = '
Aden Castle
Controlled by: No Owner
Next Siege: Mar 23 1904 12:00 EST
'; dioninfo = '
Dion Castle
Controlled by: No Owner
Next Siege: Mar 23 1904 12:00 EST
'; giraninfo = '
Giran Castle
Controlled by: No Owner
Next Siege: Mar 10 1904 08:00 EST
'; gludioinfo = '
Gludio Castle
Controlled by: No Owner
Next Siege: Mar 23 1904 12:00 EST
'; goddardinfo = '
Goddard Castle
Controlled by: No Owner
Next Siege: Mar 10 2010 20:00 EST
'; innadrilinfo = '
Innadril Castle
Controlled by: No Owner
Next Siege: Mar 10 1904 08:00 EST
'; oreninfo = '
Oren Castle
Controlled by: No Owner
Next Siege: Mar 10 1904 08:00 EST
'; runeinfo = '
Rune Castle
Controlled by: No Owner
Next Siege: Mar 23 1904 12:00 EST
'; schuttgartinfo = '
Schuttgart Castle
Controlled by: No Owner
Next Siege: Mar 23 1904 12:00 EST
'; var mapNames = new Array(); mapNames[0] = new Array(); mapNames[0][0] = "The Underground Coliseum"; mapNames[0][1] = "The Railroad Station"; mapNames[0][2] = "The Tower of Insolence Floor 1"; mapNames[0][3] = "The Obelisk of Victory"; mapNames[0][4] = "The Garden of Eva"; mapNames[0][5] = "The Tower of Insolence Floor 13"; mapNames[0][6] = "The Beast Farm"; mapNames[0][7] = "Dion Castle Town"; mapNames[0][8] = "Dark Elven Village"; mapNames[1] = new Array(); mapNames[1][0] = "The Den of Evil"; mapNames[1][1] = "Abandoned Camp"; mapNames[1][2] = "Orc Barracks"; mapNames[2] = new Array(); mapNames[2][0] = "Execution Grounds"; mapNames[2][1] = "Death Pass"; mapNames[2][2] = "Ruins of Agony"; mapNames[2][3] = "The Orc Village"; mapNames[3] = new Array(); mapNames[3][0] = "Gludin Village"; mapNames[3][1] = "Ruins of Despair"; mapNames[3][2] = "The School of Dark Arts"; mapNames[3][3] = "The Cave of Trails"; mapNames[3][4] = "Aden Castle Town"; mapNames[3][5] = "Pagans Temple"; mapNames[3][6] = "Hellbound Village"; mapNames[3][7] = "Hellbound Quarry"; mapNames[4] = new Array(); mapNames[4][0] = "Noril's Cave"; mapNames[5] = new Array(); mapNames[5][0] = "Hellbound Tower"; mapNames[6] = new Array(); mapNames[6][0] = "Gludio Castle"; mapNames[6][1] = "Aden Castle"; mapNames[6][2] = "Rune Castle"; mapNames[7] = new Array(); mapNames[7][0] = "Fields of Massacre"; mapNames[7][1] = "The Mithril Mines"; mapNames[8] = new Array(); mapNames[8][0] = "Floran Village"; mapNames[8][1] = "Border Outpost"; mapNames[8][2] = "Giran Castle Town"; mapNames[8][3] = "Forbidden Gateway"; mapNames[9] = new Array(); mapNames[9][0] = "Gludin Village"; mapNames[9][1] = "Ruins of Despair"; mapNames[9][2] = "The School of Dark Arts"; mapNames[9][3] = "The Cave of Trails"; mapNames[9][4] = "Aden Castle Town"; mapNames[9][5] = "Pagans Temple"; mapNames[9][6] = "Hellbound Village"; mapNames[9][7] = "Hellbound Quarry"; mapNames[10] = new Array(); mapNames[10][0] = "The Underground Coliseum"; mapNames[10][1] = "The Railroad Station"; mapNames[10][2] = "The Tower of Insolence Floor 1"; mapNames[10][3] = "The Obelisk of Victory"; mapNames[10][4] = "The Garden of Eva"; mapNames[10][5] = "The Tower of Insolence Floor 13"; mapNames[10][6] = "The Beast Farm"; mapNames[10][7] = "Dion Castle Town"; mapNames[10][8] = "Dark Elven Village"; mapNames[11] = new Array(); mapNames[11][0] = "Town of Oren"; mapNames[11][1] = "Cruma Tower"; mapNames[12] = new Array(); mapNames[12][0] = "Fantasy Island"; var gameNameList = new Array("King Of The Hill", "Battlefield", "Capture The Flag", "Team Vs Team","Zombies","Elimination","Castle Battles", "Neutral CTF", "Bomb Squad", "Multi-Team TvT", "Multi-Team KOTH", "Multi-Team CTF", "Dodgeball"); var game_name_id = new Array(); var game_map = new Array(); var game_map_id = new Array(); var end_time = new Array(); var players = new Array(); players[0] = new Array(); players[0][0] = new Array(); players[0][1] = new Array(); players[0][2] = new Array(); players[0][3] = new Array(); players[1] = new Array(); players[1][0] = new Array(); players[1][1] = new Array(); players[1][2] = new Array(); players[1][3] = new Array(); var split = new Array(); var score = new Array(); score[0] = new Array(); score[1] = new Array(); game_name_id[0] = '2'; game_map[0] = ''; game_map_id[0] = '1'; end_time[0] = '1247825999'; players[0][0][0] = '28'; players[0][0][1] = '31'; players[0][1][0] = '0'; players[0][1][1] = '0'; split[0] = '0'; score[0][0] = '1'; score[0][1] = '1'; game_name_id[1] = '10'; game_map[1] = ''; game_map_id[1] = '4'; end_time[1] = '1247825934'; players[1][0][0] = '25'; players[1][0][1] = '23'; players[1][0][2] = '0'; players[1][0][3] = '0'; players[1][1][0] = '0'; players[1][1][1] = '0'; players[1][1][2] = '0'; players[1][1][3] = '0'; split[1] = '0'; score[1][0] = '1'; score[1][1] = '4'; score[1][2] = '1'; score[1][3] = '41'; game_name_id[0] = '6'; game_map[0] = ''; game_map_id[0] = '1'; end_time[0] = '1268250539'; players[0][0][0] = '22'; players[0][0][1] = '20'; players[0][1][0] = '0'; players[0][1][1] = '0'; split[0] = '0'; score[0][0] = '4'; score[0][1] = '4'; time = 1268249995; var loading = false; var pageId = -1; var RvBHTML = "
Item NameDescriptionCost
(In Coins of Luck)
100 Adena100 Adena.1
3000 Adena3000 Adena.20
8750 Adena8750 Adena.50
Name ChangeChange your character's name.10
Faction ChangeChange your character's faction.10
Gender ChangeChange your character's gender.10
Main Class ChangeChange your character's main class, keeps current level.100
Add Any SubclassAdd any subclass disreguarding race (EXCLUDES KAMAELS!).10
Donator StatusCoins of Luck/Month
Includes: No requirement to Vote and 25% more XP/SP.
30
10 Gold BarsUsed to buy hair accessories ingame.1
5 Potions of FireProphecy of Fire In a Bottle.1
5 Potions of WaterProphecy of Water In a Bottle.1
5 Potions of WindProphecy of Wind In a Bottle.1
5 Potions of EarthChant of Victory In a Bottle.1
5 Potions of DivineChant of Magnus In a Bottle.1
"; var SiegHTML = "
Item NameDescriptionCost
(In Coins of Luck)
S Grade WeaponAny S Grade Weapon75
S Grade Armor/Jewel SetsAny S Grade Armor/Jewel Set50
5 Potions of FireProphecy of Fire In a Bottle.1
5 Potions of FireProphecy of Fire In a Bottle.1
5 Potions of WaterProphecy of Water In a Bottle.1
5 Potions of WindProphecy of Wind In a Bottle.1
5 Potions of EarthChant of Victory In a Bottle.1
5 Potions of DivineChant of Magnus In a Bottle.1
"; function showCurrentPage() { //try{ // document.getElementById("vote1").onclick = function(){hide();} //}catch(e){alert(e);} var url = window.location.href.split('#'); //alert(url[1]); if(isNaN(url[1])) { showPage(1); } else { showPage(parseInt(url[1])); } } function showNews(id,id2) { switch(id) { case 1: var html = ""; document.getElementById("news").innerHTML = html; break; case 2: document.getElementById("contentTop").innerHTML = news[id2].subject; var text = news[id2].body; text = text.replace("\[img\:........\]", ""); document.getElementById("contentText").innerHTML = "

" + text + "

"; break; } } function refreshEventStatus() { document.getElementById("eventStatus").innerHTML = "

Event Status

"; loadPage(12); } function printEventStatus() { var text = "

Event Status

"; text += "Bartz:"; text += "Map: " + mapNames[game_name_id[0]][game_map_id[0]] + "
"; if(game_name_id[0] != 4 && game_name_id[0] != 5) text += "Score: " + score[0][0] + " - " + score[0][1] + "" + (game_name_id[0] > 8 && game_name_id[0] < 12 ? "- " + score[0][2] + " - " + score[0][3] + "" : "") + "
"; text += "Time Left: " + (((end_time[0]-time)/60) > 0 ? ((end_time[0]-time)/60) : 0).toFixed(2) + " Minutes
"; if(game_name_id[0] != 4 && game_name_id[0] != 5 && game_name_id[0] != 12) { if(split[0] == 1) { text += "Red Players Instance 1: " + players[0][0][0] + "
"; text += "Red Players Instance 2: " + players[0][1][0] + "
"; text += "Blue Players Instance 1: " + players[0][0][1] + "
"; text += "Blue Players Instance 2: " + players[0][1][1] + "
"; if(game_name_id[0] > 8 && game_name_id[0]) { text += "Green Players Instance 1: " + players[0][0][2] + "
"; text += "Green Players Instance 2: " + players[0][1][2] + "
"; text += "Orange Players Instance 1: " + players[0][0][3] + "
"; text += "Orange Players Instance 2: " + players[0][1][3] + "
"; } } else { text += "Red Players: " + players[0][0][0] + "
"; text += "Blue Players: " + players[0][0][1] + "
"; if(game_name_id[0] > 8 && game_name_id[0]) { text += "Green Players: " + players[0][0][2] + "
"; text += "Orange Players: " + players[0][0][3] + "
"; } } } text += "

"; text += "\">"; text += "
"; switch(game_name_id[0]) { case 4: case "4": text += "Zombies!"; break; case 5: case "5": text += "Elimination!"; break; case 12: case "12": text += "Dodgeball!"; break; default: text += "" + score[0][0] + " - " + score[0][1] + "" + (game_name_id[0] > 8 && game_name_id[0] < 12 ? "- " + score[0][2] + " - " + score[0][3] + "" : "") + ""; break; } text += "
"; /*text += "
Kain:"; text += "Map: " + mapNames[game_name_id[1]][game_map_id[1]] + "
"; if(game_name_id[1] != 4 && game_name_id[1] != 5) text += "Score: " + score[1][0] + " - " + score[1][1] + "" + (game_name_id[1] > 8 && game_name_id[1] < 12 ? "- " + score[1][2] + " - " + score[1][3] + "" : "") + "
"; text += "Time Left: " + (((end_time[1]-time)/60) > 0 ? ((end_time[1]-time)/60).toFixed(2) : 0) + " Minutes
"; if(game_name_id[1] != 4 && game_name_id[1] != 5 && game_name_id[1] != 12) { if(split[1] == 1) { text += "Red Players Instance 1: " + players[1][0][0] + "
"; text += "Red Players Instance 2: " + players[1][1][0] + "
"; text += "Blue Players Instance 1: " + players[1][0][1] + "
"; text += "Blue Players Instance 2: " + players[1][1][1] + "
"; if(game_name_id[1] > 8 && game_name_id[1]) { text += "Green Players Instance 1: " + players[1][0][2] + "
"; text += "Green Players Instance 2: " + players[1][1][2] + "
"; text += "Orange Players Instance 1: " + players[1][0][3] + "
"; text += "Orange Players Instance 2: " + players[1][1][3] + "
"; } } else { text += "Red Players: " + players[1][0][0] + "
"; text += "Blue Players: " + players[1][0][1] + "
"; if(game_name_id[1] > 8 && game_name_id[1]) { text += "Green Players: " + players[1][0][2] + "
"; text += "Orange Players: " + players[1][0][3] + "
"; } } } text += "

"; text += "\">"; text += "
"; switch(game_name_id[1]) { case 4: case "4": text += "Zombies!"; break; case 5: case "5": text += "Elimination!"; break; case 12: case "12": text += "Dodgeball!"; break; default: text += "" + score[1][0] + " - " + score[1][1] + "" + (game_name_id[1] > 8 && game_name_id[1] < 12 ? "- " + score[1][2] + " - " + score[1][3] + "" : "") + ""; break; } text += "
";*/ document.getElementById("eventStatus").innerHTML = text; addwarning(); } function showEvent(text, title) { document.getElementById("contentTop").innerHTML = title; document.getElementById("contentText").innerHTML = text; } function showPage(id) { if(id != 5) document.location = "#"+id; else { document.location = "http://infinitel2.com/forums"; return; } var html = ""; var title = ""; if((data[id]==undefined || data[id] == "") && !isStatic(id)) { loading = true; document.getElementById("contentTop").innerHTML = "Loading... Please wait."; document.getElementById('contentText').innerHTML = "
"; loadPage(id); } else { loading = false; PageId = id; switch(id) { //home case 1: html = data[1]; //html = "

Welcome to our Lineage 2 Private server. We are running a HIGHLY modified version of L2J for the MOST PvP action!
Red VS Blue is a Faction server full of custom PvP arena's and events! ALL games are CUSTOM coded, each event runs for 50 minutes with a 10 minute down time to raid/play in the minigames!
This server is so custom, just play to see how awesome it truely is!

"; title = "Home"; break; case 2: html = '

Register:
Username:
Email:
Password:
Confirm Password:

Change Password:
Username:
Old Password:
New Password:
Confirm Password:

'; title = "Account Manager"; break; case 3: html = "

How to connect:

Method 1:
1. Download a clean "+clientName+" client from the Downloads page.
2. Register an account on the Account Manager page.
3. Download the patch from the Downloads page.
4. Run InfiniteL2Patcher.exe inside the zip file
(If on vista, Run as Administrator)



5. Fillout all of the required fields.


6. And then Click Install.


Method 2:
1. Download a clean "+clientName+" client from the Downloads page.
2. Register an account on the Account Manager page.
3. Manually edit your hosts file.
Open C:\\WINDOWS\\system32\\drivers\\etc\\hosts in notepad
and add the lines
\"69.16.243.105 L2authd.lineage2.com\",
\"69.16.243.105 L2testauthd.lineage2.com\"
4. Rename L2.bin to L2.exe (In your system folder). Or download it Here and extract it to your system folder.
5. Download and extract the GameGuard Fix (wildcard.rar) and extract it to your system folder. (Optional but very helpful)
6. Run L2.exe




Hosts Example:

# Copyright (c) 1993-2006 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost
69.16.243.105 L2authd.lineage2.com
69.16.243.105 auth.lineage2.com.tw
69.16.243.105 auth.lineage2.jp
69.16.243.105 L2auth.Lineage2.in.th
69.16.243.105 L2auth.Lineage2.ph
69.16.243.105 L2testauthd.lineage2.com

"; title = "Connect"; break; case 4: html = "

Client Download:

The current client of linaege 2 we are running is "+clientName+". You need this version to connect to our servers.
Mirror 1
Mirror 2

Patch Download:
This will patch your hosts file to enable your computer to connect to our server.
Mirror 1

"; title = "Downloads"; break; case 5: document.location = "http://infinitel2.com/forums"; return; case 6: title = "Server Info"; html = data[6]; break; case 7: title = "Top 25"; html = data[7]; break; case 8: title = "Caste Status"; html = "
"+oreninfo+"
"; break; case 9: title = "Fully Automated Donations!"; html = data[9]; data[9] = ""; break; case 10: title = "Web Chat!"; html = data[id]; break; case 15: document.getElementById("news").innerHTML = "LMAO"; break; } document.getElementById("contentTop").innerHTML = title; document.getElementById("contentText").innerHTML = html+"

"; //if(id == 6) // addwarning(); } } function claim(id) { document.getElementById("contentTop").innerHTML = "Claim"; document.getElementById("contentText").innerHTML = data[10] = ''; } function submitForm(id) { switch(id) { case 1: if(document.getElementById('regPass1').value != document.getElementById('regPass2').value) { alert("The passwords you entered do not match."); return; } if(document.getElementById('regUserName').value.length == 0 || document.getElementById('regEmail').value.length == 0 || document.getElementById('regPass1').value.length == 0 || document.getElementById('regPass2').value.length == 0) { alert("Please fill out all the required fields."); return; } loadPage(10); document.getElementById("regSubmit").value = "Loading..."; document.getElementById("regSubmit").disabled = true; break; case 2: if(document.getElementById('cpPass2').value != document.getElementById('cpPass3').value) { alert("The passwords you entered do not match."); return; } if(document.getElementById('cpUserName').value.length == 0 || document.getElementById('cpPass1').value.length == 0 || document.getElementById('cpPass2').value.length == 0 || document.getElementById('cpPass3').value.length == 0) { alert("Please fill out all the required fields."); return; } loadPage(11); document.getElementById("cpSubmit").value = "Loading..."; document.getElementById("cpSubmit").disabled = true; break; } } function isStatic(id) { switch(id){ case 1: case 2: case 3: case 4: case 5: case 6: case 8: case 10: return true; default: return false; } } function getXmlHttp() { var xmlHttp; try { // Firefox, Opera 8.0+, Safari xmlHttp=new XMLHttpRequest(); } catch (e) { // Internet Explorer try { xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) { alert("Your browser does not support AJAX!"); return false; } } } return xmlHttp; } function hide() { var xmlHttp = getXmlHttp(); xmlHttp.onreadystatechange=function(){} xmlHttp.open("GET","hide.php",true); xmlHttp.send(null); } function loadPage(id) { var xmlHttp = getXmlHttp(); xmlHttp.onreadystatechange=function() { if(xmlHttp.readyState==4) { if(id == 12) { eval(xmlHttp.responseText); printEventStatus(); } else if(id == 10 || id == 11){ alert(xmlHttp.responseText); if(id == 10) { document.getElementById("regSubmit").value = "Register"; document.getElementById("regSubmit").disabled = false; } else { document.getElementById("cpSubmit").value = "Submit"; document.getElementById("cpSubmit").disabled = false; } } else { data[id] = xmlHttp.responseText; if(data[id] != undefined && data[id] != "" && loading == true){ showPage(id,true); }else if(data[id] == ""){ document.getElementById('contentText').innerHTML = "

Sorry an unexpected error has occurred.

Please refresh the page and try again!"; } } } } var params = ""; switch(id) { case 7: xmlHttp.open("GET","top.php",true); xmlHttp.send(null); break; case 9: xmlHttp.open("GET","donate.php",true); xmlHttp.send(null); break; case 10: params = "name="+document.getElementById('regUserName').value+"&email="+document.getElementById('regEmail').value+"&pass="+document.getElementById('regPass1').value+"&pass2="+document.getElementById('regPass2').value; xmlHttp.open("POST","register.php",true); xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); xmlHttp.setRequestHeader("Content-length", params.length); xmlHttp.setRequestHeader("Connection", "close"); xmlHttp.send(params); break; case 11: params = "name="+document.getElementById('cpUserName').value+"&pass="+document.getElementById('cpPass1').value+"&pass2="+document.getElementById('cpPass2').value+"&pass3="+document.getElementById('cpPass3').value; xmlHttp.open("POST","changepass.php",true); xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); xmlHttp.setRequestHeader("Content-length", params.length); xmlHttp.setRequestHeader("Connection", "close"); xmlHttp.send(params); break; case 12: xmlHttp.open("GET","cache/eventcache.php",true); xmlHttp.send(null); break; } } var imagePath = "http://noobzor.com/images/tooltiparrow.gif"; function addwarning(){ var thealinks = document.getElementsByTagName("span"); if (!thealinks) { return; } for(var x=0;x!=thealinks.length;x++){ if(thealinks[x].className == "addTolltip"){ thealinks[x].setAttribute("tooltiptext",thealinks[x].title); thealinks[x].removeAttribute("title"); thealinks[x].onmouseover=function gomouseover(){ddrivetip(this.getAttribute("tooltiptext"))}; thealinks[x].onmouseout=function gomouseout(){hideddrivetip();}; } } } var offsetfromcursorX=-10; var offsetfromcursorY=15; var offsetdivfrompointerX=13; var offsetdivfrompointerY=13; document.write('
'); document.write(''); var ie=document.all; var ns6=document.getElementById && !document.all; var enabletip=false; if (ie||ns6) { var tipobj=document.all? document.all["theToolTip"] : document.getElementById? document.getElementById("theToolTip") : ""; } var pointerobj=document.all? document.all["ToolTipPointer"] : document.getElementById? document.getElementById("ToolTipPointer") : ""; function ietruebody(){ return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body; } function ddrivetip(thetext, thename, thewidth, thecolor){ thewidth = 250; if (ns6||ie){ if (typeof thewidth!=="undefined") {tipobj.style.width=thewidth+"px";} if (typeof thecolor!=="undefined" && thecolor!=="") {tipobj.style.backgroundColor=thecolor;} if(thename != undefined) tipobj.innerHTML="
"+thename+"
"; else tipobj.innerHTML=thetext; enabletip=true; return false; } } function positiontip(e){ if (enabletip){ var nondefaultpos=false; var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft; var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop; var winwidth=ie&&!window.opera? ietruebody().clientWidth : window.innerWidth-20; var winheight=ie&&!window.opera? ietruebody().clientHeight : window.innerHeight-20; var rightedge=ie&&!window.opera? winwidth-event.clientX-offsetfromcursorX : winwidth-e.clientX-offsetfromcursorX; var bottomedge=ie&&!window.opera? winheight-event.clientY-offsetfromcursorY : winheight-e.clientY-offsetfromcursorY; var leftedge=(offsetfromcursorX<0)? offsetfromcursorX*(-1) : -1000; tipobj.style.left=curX+offsetfromcursorX-offsetdivfrompointerX+"px"; pointerobj.style.left=curX+offsetfromcursorX+"px"; tipobj.style.top=curY+offsetfromcursorY+offsetdivfrompointerY+"px"; pointerobj.style.top=curY+offsetfromcursorY+"px"; tipobj.style.visibility="visible"; if (!nondefaultpos) {pointerobj.style.visibility="visible";} else{ pointerobj.style.visibility="hidden";} } } function hideddrivetip(){ if (ns6||ie){ enabletip=false; tipobj.style.visibility="hidden"; pointerobj.style.visibility="hidden"; tipobj.style.left="-1000px"; tipobj.style.backgroundColor=''; tipobj.style.width=''; } } document.onmousemove=positiontip; /*********************************************** * Universal Countdown script- © Dynamic Drive (http://www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit http://www.dynamicdrive.com/ for this script and 100s more. ***********************************************/ function cdLocalTime(container, servermode, offsetMinutes, targetdate, debugmode){ if (!document.getElementById || !document.getElementById(container)) return this.container=document.getElementById(container) var servertimestring=(servermode=="server-php")? 'July 11, 2009 13:17:10' : (servermode=="server-ssi")? '' : '<%= Now() %>' this.localtime=this.serverdate=new Date(servertimestring) this.targetdate=new Date(targetdate) this.debugmode= 0 this.timesup=false this.localtime.setTime(this.serverdate.getTime()+offsetMinutes*60*1000) //add user offset to server time this.updateTime() } cdLocalTime.prototype.updateTime=function(){ var thisobj=this this.localtime.setSeconds(this.localtime.getSeconds()+1) setTimeout(function(){thisobj.updateTime()}, 1000) //update time every second } cdLocalTime.prototype.displaycountdown=function(baseunit, functionref){ this.baseunit=baseunit this.formatresults=functionref this.showresults() } cdLocalTime.prototype.showresults=function(){ var thisobj=this var debugstring=(this.debugmode)? "

Debug Mode on!
Current Local time: "+this.localtime.toLocaleString()+"
Verify this is the correct current local time, in other words, time zone of count down date.

Target Time: "+this.targetdate.toLocaleString()+"
Verify this is the date/time you wish to count down to (should be a future date).

" : "" var timediff=(this.targetdate-this.localtime)/1000 //difference btw target date and current date, in seconds if (timediff<0){ //if time is up this.timesup=true this.container.innerHTML=debugstring+this.formatresults() return } var oneMinute=60 //minute unit in seconds var oneHour=60*60 //hour unit in seconds var oneDay=60*60*24 //day unit in seconds var dayfield=Math.floor(timediff/oneDay) var hourfield=Math.floor((timediff-dayfield*oneDay)/oneHour) var minutefield=Math.floor((timediff-dayfield*oneDay-hourfield*oneHour)/oneMinute) var secondfield=Math.floor((timediff-dayfield*oneDay-hourfield*oneHour-minutefield*oneMinute)) if (this.baseunit=="hours"){ //if base unit is hours, set "hourfield" to be topmost level hourfield=dayfield*24+hourfield dayfield="n/a" } else if (this.baseunit=="minutes"){ //if base unit is minutes, set "minutefield" to be topmost level minutefield=dayfield*24*60+hourfield*60+minutefield dayfield=hourfield="n/a" } else if (this.baseunit=="seconds"){ //if base unit is seconds, set "secondfield" to be topmost level var secondfield=timediff dayfield=hourfield=minutefield="n/a" } try{ this.container.innerHTML=debugstring+this.formatresults(dayfield, hourfield, minutefield, secondfield) }catch(err){} setTimeout(function(){thisobj.showresults()}, 1000) //update results every second } /////CUSTOM FORMAT OUTPUT FUNCTIONS BELOW////////////////////////////// //Create your own custom format function to pass into cdLocalTime.displaycountdown() //Use arguments[0] to access "Days" left //Use arguments[1] to access "Hours" left //Use arguments[2] to access "Minutes" left //Use arguments[3] to access "Seconds" left //The values of these arguments may change depending on the "baseunit" parameter of cdLocalTime.displaycountdown() //For example, if "baseunit" is set to "hours", arguments[0] becomes meaningless and contains "n/a" //For example, if "baseunit" is set to "minutes", arguments[0] and arguments[1] become meaningless etc //1) Display countdown using plain text function formatresults(){ if (this.timesup==false){//if target date/time not yet met var displaystring=""+arguments[1]+" hours "+arguments[2]+" minutes "+arguments[3]+" seconds left until launch time" } else{ //else if target date/time met var displaystring="Launch time!" } return displaystring } //2) Display countdown with a stylish LCD look, and display an alert on target date/time function formatresults2(){ if (this.timesup==false){ //if target date/time not yet met var displaystring=""+arguments[0]+" days "+arguments[1]+" hours "+arguments[2]+" minutes "+arguments[3]+" seconds left until launch time" } else{ //else if target date/time met var displaystring="" //Don't display any text alert("Launch time!") //Instead, perform a custom alert } return displaystring } function rand(max) { return (Math.floor(Math.random()*max))+1; }