Skip to content

Instantly share code, notes, and snippets.

@gambtho
Created June 30, 2017 11:58
Show Gist options
  • Save gambtho/76c3682f4a7862e48525a15682efa966 to your computer and use it in GitHub Desktop.
Save gambtho/76c3682f4a7862e48525a15682efa966 to your computer and use it in GitHub Desktop.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
<!--
**********************************************************************
To save this html/data code, do the following steps:
1. Select all the text in this window (CTRL-A).
2. Copy the selected html/data code (CTRL-C).
3. Open a text editor such as Notepad.
4. Paste the html/data code into the editor (CTRL-V).
5. From inside the text editor, click File, Save As...
6. Change the "Save as type" to "All Files".
7. Enter a "File name" and end the file name with extension ".html".
8. Browse to where you want to save the file, then click "Save".
**********************************************************************
-->
<head>
<title>myDecks</title>
<base id="pokemon_base" href="http://pokegym.net/decklist/" />
<script language="javascript">
var obj_base = document.getElementById("pokemon_base");
var new_href = prompt ("Base location of deck list software: ", obj_base.href);
obj_base.href = new_href ? new_href : obj_base.href;
</script>
<p id="splash" style="position:absolute; top:20px; left:20px; font-size:20px;">loading...</p>
<script type="text/javascript" src="javascript/config.js"></script>
<script type="text/javascript" src="javascript/data.js"></script>
<script type="text/javascript" src="javascript/pokedex.js"></script>
<script type="text/javascript" src="javascript/autosuggest.js"></script>
<script type="text/javascript" src="javascript/core.js"></script>
<script type="text/javascript" src="javascript/vdb.js"></script>
</head>
<body style="font-family:verdana,arial,helvetica;">
<script language="javascript">
var my_decklists = [
{ // start decklist 1
"data":
{
"event":{
"name":"International Championship",
"img":"International.jpg"},
"fav_poke":{
"name":"Chespin",
"dex":"default_sugimori",
"img":"650.png"},
"player":{
"name":"Daniel Gamble",
"id":"2182277",
"dob":"05/31/2010",
"div":"Junior"}
},
"cards":
{
"deck_name":"MewTwo",
"pokemon":[
{"qty":"2", "name":"Shaymin EX", "info":"ROS-106", "card":"Shaymin EX ROS-106", "img":"ROS/106.jpg", "note":""},
{"qty":"3", "name":"M Mewtwo EX", "info":"BKT-160", "card":"M Mewtwo EX BKT-160", "img":"BKT/160.jpg", "note":""},
{"qty":"2", "name":"Garbodor", "info":"BKP-57", "card":"Garbodor BKP-57", "img":"BKP/057.jpg", "note":""},
{"qty":"1", "name":"Wobbuffet", "info":"GEN-RC11", "card":"Wobbuffet GEN-RC11", "img":"GEN/RC11.jpg", "note":""},
{"qty":"1", "name":"Espeon GX", "info":"SUM-61", "card":"Espeon GX SUM-61", "img":"SUM/061.jpg", "note":""},
{"qty":"1", "name":"Eevee", "info":"SUM-101", "card":"Eevee SUM-101", "img":"SUM/101.jpg", "note":""},
{"qty":"4", "name":"Mewtwo EX", "info":"BKT-164", "card":"Mewtwo EX BKT-164", "img":"BKT/164.jpg", "note":""},
{"qty":"2", "name":"Trubbish", "info":"BKP-56", "card":"Trubbish BKP-56", "img":"BKP/056.jpg", "note":""},
{"qty":"1", "name":"Hoopa EX", "info":"PR-XY71", "card":"Hoopa EX PR-XY71", "img":"PR/XY71.jpg", "note":""},
{"qty":"", "name":"", "info":"", "card":"", "img":"", "note":""},
{"qty":"", "name":"", "info":"", "card":"", "img":"", "note":""},
{"qty":"", "name":"", "info":"", "card":"", "img":"", "note":""}],
"trainer":[
{"qty":"3", "name":"Professor Sycamore", "info":"STS-114", "card":"Professor Sycamore STS-114", "img":"STS/114.jpg", "note":""},
{"qty":"3", "name":"Trainers' Mail", "info":"ROS-92", "card":"Trainers' Mail ROS-92", "img":"ROS/092.jpg", "note":""},
{"qty":"1", "name":"Parallel City", "info":"BKT-145", "card":"Parallel City BKT-145", "img":"BKT/145.jpg", "note":""},
{"qty":"1", "name":"Super Rod", "info":"DRV-20", "card":"Super Rod DRV-20", "img":"DRV/020.jpg", "note":""},
{"qty":"1", "name":"Shrine of Memories", "info":"PRC-139", "card":"Shrine of Memories PRC-139", "img":"PRC/139.jpg", "note":""},
{"qty":"3", "name":"Float Stone", "info":"BKT-137", "card":"Float Stone BKT-137", "img":"BKT/137.jpg", "note":""},
{"qty":"4", "name":"Ultra Ball", "info":"SUM-135", "card":"Ultra Ball SUM-135", "img":"SUM/135.jpg", "note":""},
{"qty":"4", "name":"VS Seeker", "info":"SV-140", "card":"VS Seeker SV-140", "img":"SV/140.jpg", "note":""},
{"qty":"2", "name":"Lysandre", "info":"FLF-104", "card":"Lysandre FLF-104", "img":"FLF/104.jpg", "note":""},
{"qty":"4", "name":"Mega Turbo", "info":"ROS-86", "card":"Mega Turbo ROS-86", "img":"ROS/086.jpg", "note":""},
{"qty":"4", "name":"Mewtwo Spirit Link", "info":"BKT-144", "card":"Mewtwo Spirit Link BKT-144", "img":"BKT/144.jpg", "note":""},
{"qty":"2", "name":"N", "info":"NVI-101", "card":"N NVI-101", "img":"NV/101.jpg", "note":""}],
"energy":[
{"qty":"4", "name":"Double Colorless Energy - Special", "info":"SUM-136", "card":"Double Colorless Energy - Special SUM-136", "img":"SUM/136.jpg", "note":""},
{"qty":"7", "name":"Psychic Energy - Basic", "info":"", "card":"Psychic Energy - Basic ", "img":"misc/psychic.jpg", "note":""},
{"qty":"", "name":"", "info":"", "card":"", "img":"", "note":""},
{"qty":"", "name":"", "info":"", "card":"", "img":"", "note":""},
{"qty":"", "name":"", "info":"", "card":"", "img":"", "note":""},
{"qty":"", "name":"", "info":"", "card":"", "img":"", "note":""}]
}
} // end decklist 1
];
create_multi_deck_entry (my_decklists);
var my_options = {
"suggestions":{
"min_num_chars":2,
"match_start_only":true,
"most_recent_only":false,
"show_card_images":true,
"show_set_images":true,
"include_basic_energy":false},
"text_view":{
"show_set_info":false},
"cards_view":{
"fan_cards":"fan_vertical_if",
"fan_size":10,
"fan_dir":-1},
"print_preview":{
"show_decklist_check":true,
"merge_duplicates":true,
"POP_style":true,
"show_set_legend":true,
"include_old_legend":false},
"fav_poke":{
"pokedex":"default_sugimori",
"my_pic_src":"",
"my_pic_name":""},
"other":{
"show_unowns":false,
"mouse_pet":"none",
"multi_page":true,
"max_num_lines":34}
}; //my_options
load_options (my_options);
document.getElementById('splash').style.display = 'none';
</script>
</body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment