From ddfb36efa58b1c0d52c6503ad4cf581f5238b544 Mon Sep 17 00:00:00 2001 From: Gregory PLANCHAT Date: Fri, 29 Jul 2011 08:09:04 +0200 Subject: [PATCH] Added Research lab queue manager. Updated page display for shipyard, defenses and buildings. Moved legacy template files. Added install/migration.mysql to report changes to the database on testing environments. Signed-off-by: Gregory PLANCHAT --- admin/declare_list.php | 1 - ainfo.php | 1 - alliance.php | 4 +- annonce.php | 2 - banned.php | 2 - buddy.php | 5 +- buildings.php | 157 +++++++++-- changelog.php | 1 - contact.php | 2 - fleet.php | 2 - fleetback.php | 50 +--- floten2.php | 2 - imperium.php | 2 +- .../Empire/Block/Planet/Buildings/Item.php | 102 +++++++ .../Empire/Block/Planet/Shipyard/Item.php | 109 ++++++++ .../Legacies/Empire/Model/BuilderAbstract.php | 12 + .../core/Legacies/Empire/Model/Planet.php | 8 +- .../Legacies/Empire/Model/Planet/Builder.php | 33 +-- .../Model/Planet/Building/ResearchLab.php | 256 ++++++++++++++++++ .../Planet/Building/ResearchLab/Builder.php | 206 ++++++++++++++ .../Planet/Building/ResearchLab/Item.php | 6 + .../Planet/Building/Shipyard/Builder.php | 30 +- .../application/design/layouts/empire.php | 54 ++++ includes/application/design/layouts/page.php | 14 + .../scripts/deprecated}/add_declare.tpl | 2 +- .../deprecated/admin/activeplanet_body.tpl | 12 + .../scripts/deprecated}/admin/add_money.tpl | 14 +- .../scripts/deprecated/admin/add_moon.tpl | 17 ++ .../deprecated/admin/admin_panel_asw1.tpl | 32 +++ .../deprecated/admin/admin_panel_asw2.tpl | 9 + .../deprecated}/admin/admin_panel_frm1.tpl | 6 +- .../deprecated}/admin/admin_panel_frm2.tpl | 6 +- .../deprecated/admin/admin_panel_frm3.tpl | 22 ++ .../deprecated}/admin/admin_panel_frm4.tpl | 6 +- .../deprecated/admin/admin_panel_main.tpl | 16 ++ .../scripts/deprecated}/admin/banadni.tpl | 0 .../scripts/deprecated/admin/banned.tpl | 32 +++ .../scripts/deprecated/admin/changepass.tpl | 16 ++ .../scripts/deprecated/admin/chat_body.tpl | 14 + .../scripts/deprecated/admin/credit_body.tpl | 29 ++ .../deprecated}/admin/declarelist_body.tpl | 2 +- .../deprecated/admin/declarelist_rows.tpl | 9 + .../scripts/deprecated}/admin/deletuser.tpl | 2 +- .../scripts/deprecated/admin/errors_body.tpl | 14 + .../scripts/deprecated}/admin/exec_query.tpl | 6 +- .../scripts/deprecated/admin/fleet_body.tpl | 29 ++ .../scripts/deprecated/admin/fleet_rows.tpl | 13 + .../scripts/deprecated/admin/left_menu.tpl | 91 +++++++ .../scripts/deprecated/admin/md5enc.tpl | 19 ++ .../scripts/deprecated/admin/message_body.tpl | 8 + .../deprecated/admin/messagelist_body.tpl | 48 ++++ .../admin/messagelist_table_rows.tpl | 8 + .../deprecated}/admin/messall_body.tpl | 0 .../deprecated}/admin/moonlist_body.tpl | 2 +- .../scripts/deprecated/admin/multi_body.tpl | 15 + .../scripts/deprecated/admin/multi_rows.tpl | 4 + .../scripts/deprecated/admin/options_body.tpl | 135 +++++++++ .../deprecated/admin/overview_body.tpl | 35 +++ .../deprecated/admin/overview_rows.tpl | 15 + .../deprecated}/admin/planetlist_body.tpl | 2 +- .../scripts/deprecated/admin/reset_body.tpl | 16 ++ .../deprecated/admin/simple_header.tpl | 10 + .../scripts/deprecated}/admin/unbanned.tpl | 2 +- .../deprecated/admin/userlist_body.tpl | 24 ++ .../deprecated/admin/userlist_rows.tpl | 13 + .../deprecated/admin/variables_body.tpl | 2 + .../deprecated/admin/variables_rows.tpl | 6 + .../design/scripts/deprecated}/agreement.tpl | 0 .../scripts/deprecated/alliance_admin.tpl | 85 ++++++ .../deprecated/alliance_admin_laws.tpl | 70 +++++ .../deprecated/alliance_admin_laws_feet.tpl | 5 + .../deprecated}/alliance_admin_laws_head.tpl | 2 +- .../deprecated/alliance_admin_laws_row.tpl | 16 ++ .../alliance_admin_members_function.tpl | 3 + .../deprecated/alliance_admin_members_row.tpl | 12 + .../alliance_admin_members_row_edit.tpl | 8 + .../alliance_admin_members_table.tpl | 22 ++ .../deprecated/alliance_admin_rename.tpl | 15 + .../deprecated/alliance_admin_rename1.tpl | 15 + .../deprecated/alliance_admin_rename2.tpl | 15 + .../alliance_admin_request_form.tpl | 27 ++ .../deprecated/alliance_admin_request_row.tpl | 5 + .../alliance_admin_request_table.tpl | 18 ++ .../scripts/deprecated/alliance_ainfo.tpl | 25 ++ .../deprecated/alliance_apply_waitform.tpl | 15 + .../scripts/deprecated/alliance_applyform.tpl | 25 ++ .../scripts/deprecated/alliance_circular.tpl | 30 ++ .../deprecated/alliance_circular_form.tpl | 30 ++ .../deprecated/alliance_defaultmenu.tpl | 11 + .../scripts/deprecated/alliance_frontpage.tpl | 45 +++ .../scripts/deprecated/alliance_make.tpl | 21 ++ .../scripts/deprecated}/alliance_makeform.tpl | 0 .../deprecated/alliance_memberslist_row.tpl | 11 + .../deprecated/alliance_memberslist_table.tpl | 20 ++ .../deprecated/alliance_searchform.tpl | 10 + .../deprecated/alliance_searchresult_row.tpl | 6 + .../alliance_searchresult_table.tpl | 10 + .../design/scripts/deprecated/banned_body.tpl | 13 + .../scripts/deprecated/buildings_builds.tpl | 15 + .../buildings_builds_queue_script.tpl | 24 +- .../deprecated/buildings_builds_row.tpl | 15 + .../deprecated}/buildings_builds_script.tpl | 6 +- .../scripts/deprecated}/buildings_defense.tpl | 6 +- .../scripts/deprecated}/buildings_fleet.tpl | 6 +- .../deprecated}/buildings_research.tpl | 4 +- .../deprecated/buildings_research_row.tpl | 15 + .../deprecated}/buildings_research_script.tpl | 6 +- .../scripts/deprecated}/buildings_script.tpl | 2 +- .../scripts/deprecated/changelog_body.tpl | 13 + .../scripts/deprecated/changelog_table.tpl | 5 + .../design/scripts/deprecated}/chat_body.tpl | 10 +- .../scripts/deprecated/contact_body.tpl | 21 ++ .../scripts/deprecated/contact_body_rows.tpl | 5 + .../design/scripts/deprecated/credit_body.tpl | 22 ++ .../scripts/deprecated}/galaxy_body.tpl | 60 ++-- .../design/scripts/deprecated/galaxy_row.tpl | 11 + .../scripts/deprecated}/galaxy_row_action.tpl | 0 .../scripts/deprecated/galaxy_row_ally.tpl | 9 + .../scripts/deprecated/galaxy_row_debris.tpl | 13 + .../scripts/deprecated/galaxy_row_luna.tpl | 10 + .../scripts/deprecated/galaxy_row_planet.tpl | 10 + .../scripts/deprecated/galaxy_row_user.tpl | 10 + .../scripts/deprecated/gate_fleet_rows.tpl | 4 + .../scripts/deprecated/gate_fleet_table.tpl | 41 +++ .../scripts/deprecated}/imperium_row.tpl | 2 +- .../scripts/deprecated/imperium_row2.tpl | 4 + .../scripts/deprecated/imperium_table.tpl | 56 ++++ .../deprecated/info_buildings_defense.tpl | 30 ++ .../deprecated/info_buildings_destroy.tpl | 14 + .../deprecated/info_buildings_fleet.tpl | 39 +++ .../deprecated/info_buildings_general.tpl | 18 ++ .../deprecated/info_buildings_table.tpl | 29 ++ .../deprecated/info_officiers_general.tpl | 18 ++ .../scripts/deprecated}/install/ins_acc.tpl | 22 +- .../deprecated/install/ins_acc_done.tpl | 9 + .../scripts/deprecated/install/ins_body.tpl | 28 ++ .../scripts/deprecated}/install/ins_form.tpl | 18 +- .../deprecated/install/ins_form_done.tpl | 8 + .../deprecated/install/ins_goto_done.tpl | 9 + .../deprecated}/install/ins_goto_form.tpl | 18 +- .../deprecated/install/ins_goto_intro.tpl | 10 + .../scripts/deprecated/install/ins_intro.tpl | 11 + .../design/scripts/deprecated/left_menu.tpl | 97 +++++++ .../design/scripts/deprecated/login_body.tpl | 68 +++++ .../scripts/deprecated/lostpassword.tpl | 29 ++ .../scripts/deprecated/marchand_cristal.tpl | 47 ++++ .../deprecated}/marchand_deuterium.tpl | 26 +- .../scripts/deprecated/marchand_main.tpl | 18 ++ .../scripts/deprecated/marchand_metal.tpl | 48 ++++ .../scripts/deprecated/message_body.tpl | 8 + .../scripts/deprecated/messages_pm_form.tpl | 22 ++ .../deprecated}/messages_pm_form_bb.tpl | 16 +- .../design/scripts/deprecated}/multi.tpl | 4 +- .../design/scripts/deprecated/notes_body.tpl | 27 ++ .../scripts/deprecated/notes_body_entry.tpl | 12 + .../design/scripts/deprecated/notes_form.tpl | 36 +++ .../scripts/deprecated/officier_body.tpl | 9 + .../scripts/deprecated/officier_rows.tpl | 5 + .../scripts/deprecated/options_admadd.tpl | 6 + .../scripts/deprecated/options_body.tpl | 108 ++++++++ .../scripts/deprecated/options_body_vmode.tpl | 17 ++ .../scripts/deprecated}/overall_footer.tpl | 0 .../scripts/deprecated/overview_body.tpl | 60 ++++ .../deprecated/overview_deleteplanet.tpl | 16 ++ .../deprecated/overview_fleet_event.tpl | 10 + .../deprecated/overview_renameplanet.tpl | 25 ++ .../scripts/deprecated/phalanx_body.tpl | 9 + .../scripts/deprecated/records_body.tpl | 12 + .../deprecated/records_section_header.tpl | 5 + .../deprecated/records_section_rows.tpl | 5 + .../scripts/deprecated}/registry_form.tpl | 28 +- .../design/scripts/deprecated/resources.tpl | 104 +++++++ .../scripts/deprecated/resources_row.tpl | 12 + .../design/scripts/deprecated/rules_body.tpl | 120 ++++++++ .../scripts/deprecated/search_ally_row.tpl | 7 + .../scripts/deprecated/search_ally_table.tpl | 10 + .../design/scripts/deprecated/search_body.tpl | 25 ++ .../scripts/deprecated/search_user_row.tpl | 10 + .../scripts/deprecated/search_user_table.tpl | 12 + .../design/scripts/deprecated/serv_infos.tpl | 16 ++ .../scripts/deprecated}/simple_footer.tpl | 0 .../scripts/deprecated/simple_header.tpl | 10 + .../scripts/deprecated/stat_alliancetable.tpl | 9 + .../deprecated/stat_alliancetable_header.tpl | 9 + .../design/scripts/deprecated/stat_body.tpl | 31 +++ .../scripts/deprecated/stat_playertable.tpl | 8 + .../deprecated/stat_playertable_header.tpl | 8 + .../design/scripts/deprecated}/statjoueur.tpl | 2 +- .../scripts/deprecated}/techtree_body.tpl | 2 +- .../scripts/deprecated}/techtree_details.tpl | 6 +- .../scripts/deprecated/techtree_head.tpl | 4 + .../scripts/deprecated/techtree_row.tpl | 17 ++ .../design/scripts/deprecated}/teleport.tpl | 2 +- .../scripts/deprecated}/tradingscrapmetal.tpl | 18 +- .../deprecated}/tradingscrapmetal_n.tpl | 0 .../design/scripts/deprecated}/usr_banned.tpl | 0 .../design/scripts/deprecated}/usuw_body.tpl | 4 +- .../design/scripts/deprecated}/zglos.tpl | 0 .../scripts/empire/planet/buildings.phtml | 20 ++ .../empire/planet/buildings/item.phtml | 18 ++ .../empire/planet/buildings/queue.phtml | 1 + .../scripts/empire/planet/shipyard.phtml | 20 ++ .../scripts/empire/planet/shipyard/item.phtml | 20 ++ .../empire/planet/shipyard/queue.phtml | 1 + .../design/scripts/page/html/message.phtml | 4 + .../locale/en_US/Legacies_User.csv | 7 + .../locale/fr_FR/Legacies_User.csv | 13 +- includes/application/test/UpdatePlanet.php | 24 +- includes/deprecated.php | 67 ++++- includes/unlocalised.php | 39 +-- install/migration.mysql | 18 ++ overview.php | 10 +- .../OpenGame/admin/activeplanet_body.tpl | 12 - templates/OpenGame/admin/add_moon.tpl | 17 -- templates/OpenGame/admin/admin_panel_asw1.tpl | 32 --- templates/OpenGame/admin/admin_panel_asw2.tpl | 9 - templates/OpenGame/admin/admin_panel_frm3.tpl | 22 -- templates/OpenGame/admin/admin_panel_main.tpl | 16 -- templates/OpenGame/admin/banned.tpl | 32 --- templates/OpenGame/admin/changepass.tpl | 16 -- templates/OpenGame/admin/chat_body.tpl | 14 - templates/OpenGame/admin/credit_body.tpl | 29 -- templates/OpenGame/admin/declarelist_rows.tpl | 9 - templates/OpenGame/admin/errors_body.tpl | 14 - templates/OpenGame/admin/fleet_body.tpl | 29 -- templates/OpenGame/admin/fleet_rows.tpl | 13 - templates/OpenGame/admin/left_menu.tpl | 91 ------- templates/OpenGame/admin/md5enc.tpl | 19 -- templates/OpenGame/admin/message_body.tpl | 8 - templates/OpenGame/admin/messagelist_body.tpl | 48 ---- .../OpenGame/admin/messagelist_table_rows.tpl | 8 - templates/OpenGame/admin/multi_body.tpl | 15 - templates/OpenGame/admin/multi_rows.tpl | 4 - templates/OpenGame/admin/options_body.tpl | 135 --------- templates/OpenGame/admin/overview_body.tpl | 35 --- templates/OpenGame/admin/overview_rows.tpl | 15 - templates/OpenGame/admin/reset_body.tpl | 16 -- templates/OpenGame/admin/simple_header.tpl | 10 - templates/OpenGame/admin/userlist_body.tpl | 24 -- templates/OpenGame/admin/userlist_rows.tpl | 13 - templates/OpenGame/admin/variables_body.tpl | 2 - templates/OpenGame/admin/variables_rows.tpl | 6 - templates/OpenGame/alliance_admin.tpl | 85 ------ templates/OpenGame/alliance_admin_laws.tpl | 70 ----- .../OpenGame/alliance_admin_laws_feet.tpl | 5 - .../OpenGame/alliance_admin_laws_row.tpl | 16 -- .../alliance_admin_members_function.tpl | 3 - .../OpenGame/alliance_admin_members_row.tpl | 12 - .../alliance_admin_members_row_edit.tpl | 8 - .../OpenGame/alliance_admin_members_table.tpl | 22 -- templates/OpenGame/alliance_admin_rename.tpl | 15 - templates/OpenGame/alliance_admin_rename1.tpl | 15 - templates/OpenGame/alliance_admin_rename2.tpl | 15 - .../OpenGame/alliance_admin_request_form.tpl | 27 -- .../OpenGame/alliance_admin_request_row.tpl | 5 - .../OpenGame/alliance_admin_request_table.tpl | 18 -- templates/OpenGame/alliance_ainfo.tpl | 25 -- .../OpenGame/alliance_apply_waitform.tpl | 15 - templates/OpenGame/alliance_applyform.tpl | 25 -- templates/OpenGame/alliance_circular.tpl | 30 -- templates/OpenGame/alliance_circular_form.tpl | 30 -- templates/OpenGame/alliance_defaultmenu.tpl | 11 - templates/OpenGame/alliance_frontpage.tpl | 45 --- templates/OpenGame/alliance_make.tpl | 21 -- .../OpenGame/alliance_memberslist_row.tpl | 11 - .../OpenGame/alliance_memberslist_table.tpl | 20 -- templates/OpenGame/alliance_searchform.tpl | 10 - .../OpenGame/alliance_searchresult_row.tpl | 6 - .../OpenGame/alliance_searchresult_table.tpl | 10 - templates/OpenGame/banned_body.tpl | 13 - templates/OpenGame/buildings_builds.tpl | 15 - templates/OpenGame/buildings_builds_row.tpl | 15 - templates/OpenGame/buildings_research_row.tpl | 15 - templates/OpenGame/changelog_body.tpl | 13 - templates/OpenGame/changelog_table.tpl | 5 - templates/OpenGame/contact_body.tpl | 21 -- templates/OpenGame/contact_body_rows.tpl | 5 - templates/OpenGame/credit_body.tpl | 22 -- templates/OpenGame/galaxy_row.tpl | 11 - templates/OpenGame/galaxy_row_ally.tpl | 9 - templates/OpenGame/galaxy_row_debris.tpl | 13 - templates/OpenGame/galaxy_row_luna.tpl | 10 - templates/OpenGame/galaxy_row_planet.tpl | 10 - templates/OpenGame/galaxy_row_user.tpl | 10 - templates/OpenGame/gate_fleet_rows.tpl | 4 - templates/OpenGame/gate_fleet_table.tpl | 41 --- templates/OpenGame/imperium_row2.tpl | 4 - templates/OpenGame/imperium_table.tpl | 56 ---- templates/OpenGame/info_buildings_defense.tpl | 30 -- templates/OpenGame/info_buildings_destroy.tpl | 14 - templates/OpenGame/info_buildings_fleet.tpl | 39 --- templates/OpenGame/info_buildings_general.tpl | 18 -- templates/OpenGame/info_buildings_table.tpl | 29 -- templates/OpenGame/info_officiers_general.tpl | 18 -- templates/OpenGame/install/ins_acc_done.tpl | 9 - templates/OpenGame/install/ins_body.tpl | 28 -- templates/OpenGame/install/ins_form_done.tpl | 8 - templates/OpenGame/install/ins_goto_done.tpl | 9 - templates/OpenGame/install/ins_goto_intro.tpl | 10 - templates/OpenGame/install/ins_intro.tpl | 11 - templates/OpenGame/left_menu.tpl | 97 ------- templates/OpenGame/login_body.tpl | 68 ----- templates/OpenGame/lostpassword.tpl | 29 -- templates/OpenGame/marchand_cristal.tpl | 47 ---- templates/OpenGame/marchand_main.tpl | 18 -- templates/OpenGame/marchand_metal.tpl | 48 ---- templates/OpenGame/message_body.tpl | 8 - templates/OpenGame/messages_pm_form.tpl | 22 -- templates/OpenGame/notes_body.tpl | 27 -- templates/OpenGame/notes_body_entry.tpl | 12 - templates/OpenGame/notes_form.tpl | 36 --- templates/OpenGame/officier_body.tpl | 9 - templates/OpenGame/officier_rows.tpl | 5 - templates/OpenGame/options_admadd.tpl | 6 - templates/OpenGame/options_body.tpl | 108 -------- templates/OpenGame/options_body_vmode.tpl | 17 -- templates/OpenGame/overview_body.tpl | 60 ---- templates/OpenGame/overview_deleteplanet.tpl | 16 -- templates/OpenGame/overview_fleet_event.tpl | 10 - templates/OpenGame/overview_renameplanet.tpl | 25 -- templates/OpenGame/phalanx_body.tpl | 9 - templates/OpenGame/records_body.tpl | 12 - templates/OpenGame/records_section_header.tpl | 5 - templates/OpenGame/records_section_rows.tpl | 5 - templates/OpenGame/resources.tpl | 104 ------- templates/OpenGame/resources_row.tpl | 12 - templates/OpenGame/rules_body.tpl | 120 -------- templates/OpenGame/search_ally_row.tpl | 7 - templates/OpenGame/search_ally_table.tpl | 10 - templates/OpenGame/search_body.tpl | 25 -- templates/OpenGame/search_user_row.tpl | 10 - templates/OpenGame/search_user_table.tpl | 12 - templates/OpenGame/serv_infos.tpl | 16 -- templates/OpenGame/simple_header.tpl | 10 - templates/OpenGame/stat_alliancetable.tpl | 9 - .../OpenGame/stat_alliancetable_header.tpl | 9 - templates/OpenGame/stat_body.tpl | 31 --- templates/OpenGame/stat_playertable.tpl | 8 - .../OpenGame/stat_playertable_header.tpl | 8 - templates/OpenGame/techtree_head.tpl | 4 - templates/OpenGame/techtree_row.tpl | 17 -- 341 files changed, 4237 insertions(+), 3258 deletions(-) create mode 100644 includes/application/code/core/Legacies/Empire/Block/Planet/Buildings/Item.php create mode 100644 includes/application/code/core/Legacies/Empire/Block/Planet/Shipyard/Item.php create mode 100644 includes/application/code/core/Legacies/Empire/Model/Planet/Building/ResearchLab.php create mode 100644 includes/application/code/core/Legacies/Empire/Model/Planet/Building/ResearchLab/Builder.php create mode 100644 includes/application/code/core/Legacies/Empire/Model/Planet/Building/ResearchLab/Item.php rename {templates/OpenGame => includes/application/design/scripts/deprecated}/add_declare.tpl (87%) create mode 100644 includes/application/design/scripts/deprecated/admin/activeplanet_body.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/admin/add_money.tpl (51%) create mode 100644 includes/application/design/scripts/deprecated/admin/add_moon.tpl create mode 100644 includes/application/design/scripts/deprecated/admin/admin_panel_asw1.tpl create mode 100644 includes/application/design/scripts/deprecated/admin/admin_panel_asw2.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/admin/admin_panel_frm1.tpl (51%) rename {templates/OpenGame => includes/application/design/scripts/deprecated}/admin/admin_panel_frm2.tpl (51%) create mode 100644 includes/application/design/scripts/deprecated/admin/admin_panel_frm3.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/admin/admin_panel_frm4.tpl (51%) create mode 100644 includes/application/design/scripts/deprecated/admin/admin_panel_main.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/admin/banadni.tpl (100%) create mode 100644 includes/application/design/scripts/deprecated/admin/banned.tpl create mode 100644 includes/application/design/scripts/deprecated/admin/changepass.tpl create mode 100644 includes/application/design/scripts/deprecated/admin/chat_body.tpl create mode 100644 includes/application/design/scripts/deprecated/admin/credit_body.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/admin/declarelist_body.tpl (87%) create mode 100644 includes/application/design/scripts/deprecated/admin/declarelist_rows.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/admin/deletuser.tpl (59%) create mode 100644 includes/application/design/scripts/deprecated/admin/errors_body.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/admin/exec_query.tpl (50%) create mode 100644 includes/application/design/scripts/deprecated/admin/fleet_body.tpl create mode 100644 includes/application/design/scripts/deprecated/admin/fleet_rows.tpl create mode 100644 includes/application/design/scripts/deprecated/admin/left_menu.tpl create mode 100644 includes/application/design/scripts/deprecated/admin/md5enc.tpl create mode 100644 includes/application/design/scripts/deprecated/admin/message_body.tpl create mode 100644 includes/application/design/scripts/deprecated/admin/messagelist_body.tpl create mode 100644 includes/application/design/scripts/deprecated/admin/messagelist_table_rows.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/admin/messall_body.tpl (100%) rename {templates/OpenGame => includes/application/design/scripts/deprecated}/admin/moonlist_body.tpl (89%) create mode 100644 includes/application/design/scripts/deprecated/admin/multi_body.tpl create mode 100644 includes/application/design/scripts/deprecated/admin/multi_rows.tpl create mode 100644 includes/application/design/scripts/deprecated/admin/options_body.tpl create mode 100644 includes/application/design/scripts/deprecated/admin/overview_body.tpl create mode 100644 includes/application/design/scripts/deprecated/admin/overview_rows.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/admin/planetlist_body.tpl (87%) create mode 100644 includes/application/design/scripts/deprecated/admin/reset_body.tpl create mode 100644 includes/application/design/scripts/deprecated/admin/simple_header.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/admin/unbanned.tpl (88%) create mode 100644 includes/application/design/scripts/deprecated/admin/userlist_body.tpl create mode 100644 includes/application/design/scripts/deprecated/admin/userlist_rows.tpl create mode 100644 includes/application/design/scripts/deprecated/admin/variables_body.tpl create mode 100644 includes/application/design/scripts/deprecated/admin/variables_rows.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/agreement.tpl (100%) create mode 100644 includes/application/design/scripts/deprecated/alliance_admin.tpl create mode 100644 includes/application/design/scripts/deprecated/alliance_admin_laws.tpl create mode 100644 includes/application/design/scripts/deprecated/alliance_admin_laws_feet.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/alliance_admin_laws_head.tpl (88%) create mode 100644 includes/application/design/scripts/deprecated/alliance_admin_laws_row.tpl create mode 100644 includes/application/design/scripts/deprecated/alliance_admin_members_function.tpl create mode 100644 includes/application/design/scripts/deprecated/alliance_admin_members_row.tpl create mode 100644 includes/application/design/scripts/deprecated/alliance_admin_members_row_edit.tpl create mode 100644 includes/application/design/scripts/deprecated/alliance_admin_members_table.tpl create mode 100644 includes/application/design/scripts/deprecated/alliance_admin_rename.tpl create mode 100644 includes/application/design/scripts/deprecated/alliance_admin_rename1.tpl create mode 100644 includes/application/design/scripts/deprecated/alliance_admin_rename2.tpl create mode 100644 includes/application/design/scripts/deprecated/alliance_admin_request_form.tpl create mode 100644 includes/application/design/scripts/deprecated/alliance_admin_request_row.tpl create mode 100644 includes/application/design/scripts/deprecated/alliance_admin_request_table.tpl create mode 100644 includes/application/design/scripts/deprecated/alliance_ainfo.tpl create mode 100644 includes/application/design/scripts/deprecated/alliance_apply_waitform.tpl create mode 100644 includes/application/design/scripts/deprecated/alliance_applyform.tpl create mode 100644 includes/application/design/scripts/deprecated/alliance_circular.tpl create mode 100644 includes/application/design/scripts/deprecated/alliance_circular_form.tpl create mode 100644 includes/application/design/scripts/deprecated/alliance_defaultmenu.tpl create mode 100644 includes/application/design/scripts/deprecated/alliance_frontpage.tpl create mode 100644 includes/application/design/scripts/deprecated/alliance_make.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/alliance_makeform.tpl (100%) create mode 100644 includes/application/design/scripts/deprecated/alliance_memberslist_row.tpl create mode 100644 includes/application/design/scripts/deprecated/alliance_memberslist_table.tpl create mode 100644 includes/application/design/scripts/deprecated/alliance_searchform.tpl create mode 100644 includes/application/design/scripts/deprecated/alliance_searchresult_row.tpl create mode 100644 includes/application/design/scripts/deprecated/alliance_searchresult_table.tpl create mode 100644 includes/application/design/scripts/deprecated/banned_body.tpl create mode 100644 includes/application/design/scripts/deprecated/buildings_builds.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/buildings_builds_queue_script.tpl (73%) create mode 100644 includes/application/design/scripts/deprecated/buildings_builds_row.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/buildings_builds_script.tpl (53%) rename {templates/OpenGame => includes/application/design/scripts/deprecated}/buildings_defense.tpl (66%) rename {templates/OpenGame => includes/application/design/scripts/deprecated}/buildings_fleet.tpl (66%) rename {templates/OpenGame => includes/application/design/scripts/deprecated}/buildings_research.tpl (50%) create mode 100644 includes/application/design/scripts/deprecated/buildings_research_row.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/buildings_research_script.tpl (59%) rename {templates/OpenGame => includes/application/design/scripts/deprecated}/buildings_script.tpl (95%) create mode 100644 includes/application/design/scripts/deprecated/changelog_body.tpl create mode 100644 includes/application/design/scripts/deprecated/changelog_table.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/chat_body.tpl (60%) create mode 100644 includes/application/design/scripts/deprecated/contact_body.tpl create mode 100644 includes/application/design/scripts/deprecated/contact_body_rows.tpl create mode 100644 includes/application/design/scripts/deprecated/credit_body.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/galaxy_body.tpl (67%) create mode 100644 includes/application/design/scripts/deprecated/galaxy_row.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/galaxy_row_action.tpl (100%) create mode 100644 includes/application/design/scripts/deprecated/galaxy_row_ally.tpl create mode 100644 includes/application/design/scripts/deprecated/galaxy_row_debris.tpl create mode 100644 includes/application/design/scripts/deprecated/galaxy_row_luna.tpl create mode 100644 includes/application/design/scripts/deprecated/galaxy_row_planet.tpl create mode 100644 includes/application/design/scripts/deprecated/galaxy_row_user.tpl create mode 100644 includes/application/design/scripts/deprecated/gate_fleet_rows.tpl create mode 100644 includes/application/design/scripts/deprecated/gate_fleet_table.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/imperium_row.tpl (55%) create mode 100644 includes/application/design/scripts/deprecated/imperium_row2.tpl create mode 100644 includes/application/design/scripts/deprecated/imperium_table.tpl create mode 100644 includes/application/design/scripts/deprecated/info_buildings_defense.tpl create mode 100644 includes/application/design/scripts/deprecated/info_buildings_destroy.tpl create mode 100644 includes/application/design/scripts/deprecated/info_buildings_fleet.tpl create mode 100644 includes/application/design/scripts/deprecated/info_buildings_general.tpl create mode 100644 includes/application/design/scripts/deprecated/info_buildings_table.tpl create mode 100644 includes/application/design/scripts/deprecated/info_officiers_general.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/install/ins_acc.tpl (64%) create mode 100644 includes/application/design/scripts/deprecated/install/ins_acc_done.tpl create mode 100644 includes/application/design/scripts/deprecated/install/ins_body.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/install/ins_form.tpl (54%) create mode 100644 includes/application/design/scripts/deprecated/install/ins_form_done.tpl create mode 100644 includes/application/design/scripts/deprecated/install/ins_goto_done.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/install/ins_goto_form.tpl (54%) create mode 100644 includes/application/design/scripts/deprecated/install/ins_goto_intro.tpl create mode 100644 includes/application/design/scripts/deprecated/install/ins_intro.tpl create mode 100644 includes/application/design/scripts/deprecated/left_menu.tpl create mode 100644 includes/application/design/scripts/deprecated/login_body.tpl create mode 100644 includes/application/design/scripts/deprecated/lostpassword.tpl create mode 100644 includes/application/design/scripts/deprecated/marchand_cristal.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/marchand_deuterium.tpl (50%) create mode 100644 includes/application/design/scripts/deprecated/marchand_main.tpl create mode 100644 includes/application/design/scripts/deprecated/marchand_metal.tpl create mode 100644 includes/application/design/scripts/deprecated/message_body.tpl create mode 100644 includes/application/design/scripts/deprecated/messages_pm_form.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/messages_pm_form_bb.tpl (70%) rename {templates/OpenGame => includes/application/design/scripts/deprecated}/multi.tpl (69%) create mode 100644 includes/application/design/scripts/deprecated/notes_body.tpl create mode 100644 includes/application/design/scripts/deprecated/notes_body_entry.tpl create mode 100644 includes/application/design/scripts/deprecated/notes_form.tpl create mode 100644 includes/application/design/scripts/deprecated/officier_body.tpl create mode 100644 includes/application/design/scripts/deprecated/officier_rows.tpl create mode 100644 includes/application/design/scripts/deprecated/options_admadd.tpl create mode 100644 includes/application/design/scripts/deprecated/options_body.tpl create mode 100644 includes/application/design/scripts/deprecated/options_body_vmode.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/overall_footer.tpl (100%) create mode 100644 includes/application/design/scripts/deprecated/overview_body.tpl create mode 100644 includes/application/design/scripts/deprecated/overview_deleteplanet.tpl create mode 100644 includes/application/design/scripts/deprecated/overview_fleet_event.tpl create mode 100644 includes/application/design/scripts/deprecated/overview_renameplanet.tpl create mode 100644 includes/application/design/scripts/deprecated/phalanx_body.tpl create mode 100644 includes/application/design/scripts/deprecated/records_body.tpl create mode 100644 includes/application/design/scripts/deprecated/records_section_header.tpl create mode 100644 includes/application/design/scripts/deprecated/records_section_rows.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/registry_form.tpl (56%) create mode 100644 includes/application/design/scripts/deprecated/resources.tpl create mode 100644 includes/application/design/scripts/deprecated/resources_row.tpl create mode 100644 includes/application/design/scripts/deprecated/rules_body.tpl create mode 100644 includes/application/design/scripts/deprecated/search_ally_row.tpl create mode 100644 includes/application/design/scripts/deprecated/search_ally_table.tpl create mode 100644 includes/application/design/scripts/deprecated/search_body.tpl create mode 100644 includes/application/design/scripts/deprecated/search_user_row.tpl create mode 100644 includes/application/design/scripts/deprecated/search_user_table.tpl create mode 100644 includes/application/design/scripts/deprecated/serv_infos.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/simple_footer.tpl (100%) create mode 100644 includes/application/design/scripts/deprecated/simple_header.tpl create mode 100644 includes/application/design/scripts/deprecated/stat_alliancetable.tpl create mode 100644 includes/application/design/scripts/deprecated/stat_alliancetable_header.tpl create mode 100644 includes/application/design/scripts/deprecated/stat_body.tpl create mode 100644 includes/application/design/scripts/deprecated/stat_playertable.tpl create mode 100644 includes/application/design/scripts/deprecated/stat_playertable_header.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/statjoueur.tpl (69%) rename {templates/OpenGame => includes/application/design/scripts/deprecated}/techtree_body.tpl (53%) rename {templates/OpenGame => includes/application/design/scripts/deprecated}/techtree_details.tpl (67%) create mode 100644 includes/application/design/scripts/deprecated/techtree_head.tpl create mode 100644 includes/application/design/scripts/deprecated/techtree_row.tpl rename {templates/OpenGame => includes/application/design/scripts/deprecated}/teleport.tpl (89%) rename {templates/OpenGame => includes/application/design/scripts/deprecated}/tradingscrapmetal.tpl (54%) rename {templates/OpenGame => includes/application/design/scripts/deprecated}/tradingscrapmetal_n.tpl (100%) rename {templates/OpenGame => includes/application/design/scripts/deprecated}/usr_banned.tpl (100%) rename {templates/OpenGame => includes/application/design/scripts/deprecated}/usuw_body.tpl (76%) rename {templates/OpenGame => includes/application/design/scripts/deprecated}/zglos.tpl (100%) create mode 100644 includes/application/design/scripts/empire/planet/buildings.phtml create mode 100644 includes/application/design/scripts/empire/planet/buildings/item.phtml create mode 100644 includes/application/design/scripts/empire/planet/buildings/queue.phtml create mode 100644 includes/application/design/scripts/empire/planet/shipyard.phtml create mode 100644 includes/application/design/scripts/empire/planet/shipyard/item.phtml create mode 100644 includes/application/design/scripts/empire/planet/shipyard/queue.phtml create mode 100644 includes/application/design/scripts/page/html/message.phtml create mode 100644 includes/application/locale/en_US/Legacies_User.csv create mode 100644 install/migration.mysql delete mode 100644 templates/OpenGame/admin/activeplanet_body.tpl delete mode 100644 templates/OpenGame/admin/add_moon.tpl delete mode 100644 templates/OpenGame/admin/admin_panel_asw1.tpl delete mode 100644 templates/OpenGame/admin/admin_panel_asw2.tpl delete mode 100644 templates/OpenGame/admin/admin_panel_frm3.tpl delete mode 100644 templates/OpenGame/admin/admin_panel_main.tpl delete mode 100644 templates/OpenGame/admin/banned.tpl delete mode 100644 templates/OpenGame/admin/changepass.tpl delete mode 100644 templates/OpenGame/admin/chat_body.tpl delete mode 100644 templates/OpenGame/admin/credit_body.tpl delete mode 100644 templates/OpenGame/admin/declarelist_rows.tpl delete mode 100644 templates/OpenGame/admin/errors_body.tpl delete mode 100644 templates/OpenGame/admin/fleet_body.tpl delete mode 100644 templates/OpenGame/admin/fleet_rows.tpl delete mode 100644 templates/OpenGame/admin/left_menu.tpl delete mode 100644 templates/OpenGame/admin/md5enc.tpl delete mode 100644 templates/OpenGame/admin/message_body.tpl delete mode 100644 templates/OpenGame/admin/messagelist_body.tpl delete mode 100644 templates/OpenGame/admin/messagelist_table_rows.tpl delete mode 100644 templates/OpenGame/admin/multi_body.tpl delete mode 100644 templates/OpenGame/admin/multi_rows.tpl delete mode 100644 templates/OpenGame/admin/options_body.tpl delete mode 100644 templates/OpenGame/admin/overview_body.tpl delete mode 100644 templates/OpenGame/admin/overview_rows.tpl delete mode 100644 templates/OpenGame/admin/reset_body.tpl delete mode 100644 templates/OpenGame/admin/simple_header.tpl delete mode 100644 templates/OpenGame/admin/userlist_body.tpl delete mode 100644 templates/OpenGame/admin/userlist_rows.tpl delete mode 100644 templates/OpenGame/admin/variables_body.tpl delete mode 100644 templates/OpenGame/admin/variables_rows.tpl delete mode 100644 templates/OpenGame/alliance_admin.tpl delete mode 100644 templates/OpenGame/alliance_admin_laws.tpl delete mode 100644 templates/OpenGame/alliance_admin_laws_feet.tpl delete mode 100644 templates/OpenGame/alliance_admin_laws_row.tpl delete mode 100644 templates/OpenGame/alliance_admin_members_function.tpl delete mode 100644 templates/OpenGame/alliance_admin_members_row.tpl delete mode 100644 templates/OpenGame/alliance_admin_members_row_edit.tpl delete mode 100644 templates/OpenGame/alliance_admin_members_table.tpl delete mode 100644 templates/OpenGame/alliance_admin_rename.tpl delete mode 100644 templates/OpenGame/alliance_admin_rename1.tpl delete mode 100644 templates/OpenGame/alliance_admin_rename2.tpl delete mode 100644 templates/OpenGame/alliance_admin_request_form.tpl delete mode 100644 templates/OpenGame/alliance_admin_request_row.tpl delete mode 100644 templates/OpenGame/alliance_admin_request_table.tpl delete mode 100644 templates/OpenGame/alliance_ainfo.tpl delete mode 100644 templates/OpenGame/alliance_apply_waitform.tpl delete mode 100644 templates/OpenGame/alliance_applyform.tpl delete mode 100644 templates/OpenGame/alliance_circular.tpl delete mode 100644 templates/OpenGame/alliance_circular_form.tpl delete mode 100644 templates/OpenGame/alliance_defaultmenu.tpl delete mode 100644 templates/OpenGame/alliance_frontpage.tpl delete mode 100644 templates/OpenGame/alliance_make.tpl delete mode 100644 templates/OpenGame/alliance_memberslist_row.tpl delete mode 100644 templates/OpenGame/alliance_memberslist_table.tpl delete mode 100644 templates/OpenGame/alliance_searchform.tpl delete mode 100644 templates/OpenGame/alliance_searchresult_row.tpl delete mode 100644 templates/OpenGame/alliance_searchresult_table.tpl delete mode 100644 templates/OpenGame/banned_body.tpl delete mode 100644 templates/OpenGame/buildings_builds.tpl delete mode 100644 templates/OpenGame/buildings_builds_row.tpl delete mode 100644 templates/OpenGame/buildings_research_row.tpl delete mode 100644 templates/OpenGame/changelog_body.tpl delete mode 100644 templates/OpenGame/changelog_table.tpl delete mode 100644 templates/OpenGame/contact_body.tpl delete mode 100644 templates/OpenGame/contact_body_rows.tpl delete mode 100644 templates/OpenGame/credit_body.tpl delete mode 100644 templates/OpenGame/galaxy_row.tpl delete mode 100644 templates/OpenGame/galaxy_row_ally.tpl delete mode 100644 templates/OpenGame/galaxy_row_debris.tpl delete mode 100644 templates/OpenGame/galaxy_row_luna.tpl delete mode 100644 templates/OpenGame/galaxy_row_planet.tpl delete mode 100644 templates/OpenGame/galaxy_row_user.tpl delete mode 100644 templates/OpenGame/gate_fleet_rows.tpl delete mode 100644 templates/OpenGame/gate_fleet_table.tpl delete mode 100644 templates/OpenGame/imperium_row2.tpl delete mode 100644 templates/OpenGame/imperium_table.tpl delete mode 100644 templates/OpenGame/info_buildings_defense.tpl delete mode 100644 templates/OpenGame/info_buildings_destroy.tpl delete mode 100644 templates/OpenGame/info_buildings_fleet.tpl delete mode 100644 templates/OpenGame/info_buildings_general.tpl delete mode 100644 templates/OpenGame/info_buildings_table.tpl delete mode 100644 templates/OpenGame/info_officiers_general.tpl delete mode 100644 templates/OpenGame/install/ins_acc_done.tpl delete mode 100644 templates/OpenGame/install/ins_body.tpl delete mode 100644 templates/OpenGame/install/ins_form_done.tpl delete mode 100644 templates/OpenGame/install/ins_goto_done.tpl delete mode 100644 templates/OpenGame/install/ins_goto_intro.tpl delete mode 100644 templates/OpenGame/install/ins_intro.tpl delete mode 100644 templates/OpenGame/left_menu.tpl delete mode 100644 templates/OpenGame/login_body.tpl delete mode 100644 templates/OpenGame/lostpassword.tpl delete mode 100644 templates/OpenGame/marchand_cristal.tpl delete mode 100644 templates/OpenGame/marchand_main.tpl delete mode 100644 templates/OpenGame/marchand_metal.tpl delete mode 100644 templates/OpenGame/message_body.tpl delete mode 100644 templates/OpenGame/messages_pm_form.tpl delete mode 100644 templates/OpenGame/notes_body.tpl delete mode 100644 templates/OpenGame/notes_body_entry.tpl delete mode 100644 templates/OpenGame/notes_form.tpl delete mode 100644 templates/OpenGame/officier_body.tpl delete mode 100644 templates/OpenGame/officier_rows.tpl delete mode 100644 templates/OpenGame/options_admadd.tpl delete mode 100644 templates/OpenGame/options_body.tpl delete mode 100644 templates/OpenGame/options_body_vmode.tpl delete mode 100644 templates/OpenGame/overview_body.tpl delete mode 100644 templates/OpenGame/overview_deleteplanet.tpl delete mode 100644 templates/OpenGame/overview_fleet_event.tpl delete mode 100644 templates/OpenGame/overview_renameplanet.tpl delete mode 100644 templates/OpenGame/phalanx_body.tpl delete mode 100644 templates/OpenGame/records_body.tpl delete mode 100644 templates/OpenGame/records_section_header.tpl delete mode 100644 templates/OpenGame/records_section_rows.tpl delete mode 100644 templates/OpenGame/resources.tpl delete mode 100644 templates/OpenGame/resources_row.tpl delete mode 100644 templates/OpenGame/rules_body.tpl delete mode 100644 templates/OpenGame/search_ally_row.tpl delete mode 100644 templates/OpenGame/search_ally_table.tpl delete mode 100644 templates/OpenGame/search_body.tpl delete mode 100644 templates/OpenGame/search_user_row.tpl delete mode 100644 templates/OpenGame/search_user_table.tpl delete mode 100644 templates/OpenGame/serv_infos.tpl delete mode 100644 templates/OpenGame/simple_header.tpl delete mode 100644 templates/OpenGame/stat_alliancetable.tpl delete mode 100644 templates/OpenGame/stat_alliancetable_header.tpl delete mode 100644 templates/OpenGame/stat_body.tpl delete mode 100644 templates/OpenGame/stat_playertable.tpl delete mode 100644 templates/OpenGame/stat_playertable_header.tpl delete mode 100644 templates/OpenGame/techtree_head.tpl delete mode 100644 templates/OpenGame/techtree_row.tpl diff --git a/admin/declare_list.php b/admin/declare_list.php index 0927ccd..973f7df 100644 --- a/admin/declare_list.php +++ b/admin/declare_list.php @@ -80,5 +80,4 @@ require_once dirname(dirname(__FILE__)) .'/common.php'; message( $lang['sys_noalloaw'], $lang['sys_noaccess'] ); } -// Created by e-Zobar. All rights reversed (C) XNova Team 2008 ?> \ No newline at end of file diff --git a/ainfo.php b/ainfo.php index 3c70731..a1ae4f2 100644 --- a/ainfo.php +++ b/ainfo.php @@ -67,5 +67,4 @@ $page .=" - +
Informations sur l'alliance< display($page,"Information sur l'alliance [".$allyrow["ally_name"]."]",false); -// Created by Perberos. All rights reversed (C) 2006 ?> \ No newline at end of file diff --git a/alliance.php b/alliance.php index 688b354..1301154 100644 --- a/alliance.php +++ b/alliance.php @@ -774,8 +774,8 @@ elseif ($user['ally_id'] != 0 && $user['ally_request'] == 0) { // Con alianza if ($t == 2) { $lang['text'] = $ally['ally_text']; - $lang['Texts'] = "Interner Text"; - $lang['Show_of_request_text'] = "Internet Allianz Text"; + $lang['Texts'] = "Texte Interne"; + $lang['Show_of_request_text'] = "Texte Interne d'ALliance"; } else { $lang['text'] = $ally['ally_description']; } diff --git a/annonce.php b/annonce.php index 3587f3f..bfa6b9f 100644 --- a/annonce.php +++ b/annonce.php @@ -119,6 +119,4 @@ if ($action != 5) { display($page2); } -// Créer par Tom1991 Copyright 2008 -// Merci au site Spacon pour m'avoir donner l'inspiration ?> \ No newline at end of file diff --git a/banned.php b/banned.php index 7e2a414..147493b 100644 --- a/banned.php +++ b/banned.php @@ -59,6 +59,4 @@ else display(parsetemplate(gettemplate('banned_body'), $parse),'Banned',true); - -// Created by e-Zobar (XNova Team). All rights reversed (C) 2008 ?> \ No newline at end of file diff --git a/buddy.php b/buddy.php index 1a98371..bdadc98 100644 --- a/buddy.php +++ b/buddy.php @@ -169,8 +169,10 @@ while ( $b = mysql_fetch_array( $buddyrow ) ) { if ( $u["ally_id"] != 0 ) { // Alianza // $allyrow = doquery("SELECT id,ally_tag FROM {{table}} WHERE id=".$u["ally_id"],"alliance",true); // if($allyrow){ - $UserAlly .= "" . $u["ally_name"] . ""; + $UserAlly = "" . $u["ally_name"] . ""; // } + } else { + $UserAlly =""; } if ( isset( $a ) ) { @@ -226,5 +228,4 @@ $page .= " "; display ( $page, $lang['Buddy_list'], false ); -// Created by Perberos. All rights reversed (C) 2006 ?> diff --git a/buildings.php b/buildings.php index b352d06..6d08a70 100644 --- a/buildings.php +++ b/buildings.php @@ -36,32 +36,143 @@ includeLang('buildings'); $user = Legacies_Empire_Model_User::getSingleton(); $planet = $user->getCurrentPlanet(); +$mode = isset($_GET['mode']) ? $_GET['mode'] : null; -switch ($_GET['mode']) { - case 'fleet': - // -------------------------------------------------------------------------------------------------- - FleetBuildingPage($planet, $user); - break; +switch ($mode) { +case 'fleet': + if ($planet->getElement(Legacies_Empire::ID_BUILDING_SHIPYARD) === null) { + $layout = new Legacies_Core_Layout(); + $layout->load('message'); - case 'research': - // -------------------------------------------------------------------------------------------------- - ResearchBuildingPage($planet, $user, $IsWorking['OnWork'], $IsWorking['WorkOn'] ); - break; + $block = $layout->getBlock('message'); + $block['title'] = Legacies::__('Shipyard is required'); + $block['message'] = Legacies::__('In order to build ships you will need to build a shipyard building.'); - case 'defense': - // -------------------------------------------------------------------------------------------------- - DefensesBuildingPage($planet, $user); - break; + $layout->render(); + break; + } - default: - // -------------------------------------------------------------------------------------------------- - BatimentBuildingPage($planet, $user); - break; + /** @var Legacies_Empire_Model_Planet_Building_Shipyard $shipyard */ + $shipyard = $planet->getShipyard(); + if (isset($_POST['ship']) && is_array($_POST['ship'])) { + foreach ($_POST['ship'] as $shipId => $count) { + $shipId = intval($shipId); + $count = intval($count); + + $shipyard->appendQueue($shipId, $count); + } + $planet->save(); + } + + $types = Legacies_Empire_Model_Game_Types::getSingleton(); + $layout = new Legacies_Core_Layout(); + $layout->load('planet.shipyard'); + + /** @var Legacies_Core_Block_Concat $parentBlock */ + $parentBlock = $layout->getBlock('item-list.items'); + foreach ($types->getData(Legacies_Empire::TYPE_SHIP) as $shipId) { + if (!$shipyard->checkAvailability($shipId)) { + continue; + } + + $blockName = "ship({$shipId})"; + $block = $layout->createBlock('empire/planet.shipyard.item', $blockName); + $block->setTemplate('empire/planet/shipyard/item.phtml'); + $block->setPlanet($planet); + $block->setItemId($shipId); + + $parentBlock->setPartial($blockName, $block); + } + + echo $layout->render(); + break; + +case 'research': + // -------------------------------------------------------------------------------------------------- + ResearchBuildingPage($planet, $user, $IsWorking['OnWork'], $IsWorking['WorkOn'] ); + break; + +case 'defense': + if ($planet->getElement(Legacies_Empire::ID_BUILDING_SHIPYARD) === null) { + $layout = new Legacies_Core_Layout(); + $layout->load('message'); + + $block = $layout->getBlock('message'); + $block['title'] = Legacies::__('Shipyard is required'); + $block['title'] = Legacies::__('In order to build ships you will need to build a shipyard building.'); + + $layout->render(); + break; + } + + /** @var Legacies_Empire_Model_Planet_Building_Shipyard $shipyard */ + $shipyard = $planet->getShipyard(); + if (isset($_POST['defense']) && is_array($_POST['defense'])) { + foreach ($_POST['defense'] as $defenseId => $count) { + $defenseId = intval($defenseId); + $count = intval($count); + + $shipyard->appendQueue($defenseId, $count); + } + $planet->save(); + } + + $types = Legacies_Empire_Model_Game_Types::getSingleton(); + $layout = new Legacies_Core_Layout(); + $layout->load('planet.shipyard'); + + /** @var Legacies_Core_Block_Concat $parentBlock */ + $parentBlock = $layout->getBlock('item-list.items'); + foreach ($types->getData(Legacies_Empire::TYPE_DEFENSE) as $defenseId) { + if (!$shipyard->checkAvailability($defenseId)) { + continue; + } + + $blockName = "defense({$defenseId})"; + $block = $layout->createBlock('empire/planet.shipyard.item', $blockName); + $block->setTemplate('empire/planet/shipyard/item.phtml'); + $block->setPlanet($planet); + $block->setItemId($defenseId); + + $parentBlock->setPartial($blockName, $block); + } + + echo $layout->render(); + break; + +default: + if (isset($_GET['building']) && !empty($_GET['building'])) { + $buildingId = intval($_GET['building']); + + $planet->appendBuildingQueue($shipId, isset($_GET['destroy'])); + $planet->save(); + } + + $types = Legacies_Empire_Model_Game_Types::getSingleton(); + $layout = new Legacies_Core_Layout(); + $layout->load('planet.buildings'); + + /** @var Legacies_Core_Block_Concat $parentBlock */ + $parentBlock = $layout->getBlock('item-list.items'); + $type = Legacies_Empire::TYPE_BUILDING_PLANET; + if ($planet->isMoon()) { + $type = Legacies_Empire::TYPE_BUILDING_MOON; + } + foreach ($types->getData($type) as $buildingId) { + if (!$planet->checkAvailability($buildingId)) { + continue; + } + + $blockName = "building({$buildingId})"; + $block = $layout->createBlock('empire/planet.buildings.item', $blockName); + $block->setTemplate('empire/planet/buildings/item.phtml'); + $block->setPlanet($planet); + $block->setItemId($buildingId); + + $parentBlock->setPartial($blockName, $block); + } + + echo $layout->render(); + break; } -// ----------------------------------------------------------------------------------------------------------- -// History version -// 1.0 - Nettoyage modularisation -// 1.1 - Mise au point, mise en fonction pour lin�arisation du fonctionnement -// 1.2 - Liste de construction batiments -?> diff --git a/changelog.php b/changelog.php index 221d91e..fb99527 100644 --- a/changelog.php +++ b/changelog.php @@ -53,5 +53,4 @@ $page .= parsetemplate(gettemplate('changelog_body'), $parse); display($page,"Change Log"); -// Created by Perberos. All rights reversed (C) 2006 ?> \ No newline at end of file diff --git a/contact.php b/contact.php index 07a44ce..3f0ed16 100644 --- a/contact.php +++ b/contact.php @@ -55,7 +55,5 @@ require_once dirname(__FILE__) .'/common.php'; display($page, $lang['ctc_title'], false); // ----------------------------------------------------------------------------------------------------------- -// History version -// 1.0 - Mise au propre (Virer tout ce qui ne sert pas a une prise de contact en fait) ?> diff --git a/fleet.php b/fleet.php index 8708da2..795f54d 100644 --- a/fleet.php +++ b/fleet.php @@ -282,6 +282,4 @@ require_once dirname(__FILE__) .'/common.php'; display($page, $lang['fl_title']); -// Updated by Chlorel. 16 Jan 2008 (String extraction, bug corrections, code uniformisation -// Created by Perberos. All rights reversed (C) 2006 ?> diff --git a/fleetback.php b/fleetback.php index 89c7cf2..d8cc82e 100644 --- a/fleetback.php +++ b/fleetback.php @@ -1,32 +1,15 @@ - * All rights reserved. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - * - * --> NOTICE <-- - * This file is part of the core development branch, changing its contents will - * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. - * - */ +/* + +Galacticnova : An open-source web-based game ! +~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ + +License: AGPL +Author: Vincent Debarre +Website: http://project.galacticnova.vinilox.eu/ +Last revision: 13/07/11 + +*/ define('INSIDE' , true); define('INSTALL' , false); @@ -43,10 +26,10 @@ require_once dirname(__FILE__) .'/common.php'; $i = 0; if ($FleetRow['fleet_owner'] == $user['id']) { - if ($FleetRow['fleet_mess'] == 0) { + if ($FleetRow['fleet_mess'] == 0 || $FleetRow['fleet_mess'] == 2) { if ($FleetRow['fleet_end_stay'] != 0) { // Faut calculer le temps reel de retour - if ($FleetRow['fleet_start_time'] < time()) { + if ($FleetRow['fleet_start_time'] > time()) { // On a pas encore entamé le stationnement // Il faut calculer la parcelle de temps ecoulée depuis le lancement de la flotte $CurrentFlyingTime = time() - $FleetRow['start_time']; @@ -87,11 +70,4 @@ require_once dirname(__FILE__) .'/common.php'; message ("". $BoxMessage ."", $BoxTitle, "fleet.". PHPEXT, 2); // ----------------------------------------------------------------------------------------------------------- -// History version -// Updated by Chlorel. 22 Jan 2008 (String extraction, bug corrections, code uniformisation -// Created by DxPpLmOs. All rights reversed (C) 2007 -// Updated by -= MoF =- for Deutsches Ugamela Forum -// 06.12.2007 - 08:41 -// Open Source -// (c) by MoF ?> diff --git a/floten2.php b/floten2.php index e3461e6..a56178b 100644 --- a/floten2.php +++ b/floten2.php @@ -278,6 +278,4 @@ require_once dirname(__FILE__) .'/common.php'; display($page, $lang['fl_title']); -// Updated by Chlorel. 16 Jan 2008 (String extraction, bug corrections, code uniformisation) -// Created by Perberos. All rights reversed (C) 2006 ?> \ No newline at end of file diff --git a/imperium.php b/imperium.php index 0853672..d881e13 100644 --- a/imperium.php +++ b/imperium.php @@ -113,5 +113,5 @@ foreach ($reslist['defense'] as $a => $i) { $page .= parsetemplate(gettemplate('imperium_table'), $parse); display($page, $lang['Imperium'], false); -// Created by Perberos. All rights reserved (C) 2006 + ?> diff --git a/includes/application/code/core/Legacies/Empire/Block/Planet/Buildings/Item.php b/includes/application/code/core/Legacies/Empire/Block/Planet/Buildings/Item.php new file mode 100644 index 0000000..6f11595 --- /dev/null +++ b/includes/application/code/core/Legacies/Empire/Block/Planet/Buildings/Item.php @@ -0,0 +1,102 @@ +_planet = $planet; + + return $this; + } + + public function getPlanet() + { + return $this->_planet; + } + + public function setItemId($itemId) + { + $this->_itemId = $itemId; + + return $this; + } + + public function getItemId() + { + return $this->_itemId; + } + + public function getItemInfoUrl() + { + return $this->getUrl('infos.php', array('gid' => $this->getItemId())); + } + + public function getItemImageUrl() + { + return $this->getSkinUrl('graphics/gebaeude/' . $this->getItemId() . '.gif'); + } + + public function getName() + { + static $lang = null; + if ($lang === null) { + // FIXME: implement a cleaner way to get names + $lang = includeLang('tech'); + } + + if (isset($lang['tech']) && isset($lang['tech'][$this->getItemId()])) { + return $this->__($lang['tech'][$this->getItemId()]); + } + return ''; + } + + public function getDescription() + { + static $lang = null; + if ($lang === null) { + // FIXME: implement a cleaner way to get names + $lang = includeLang('tech'); + } + + if (isset($lang['res']) && isset($lang['res']['descriptions']) && isset($lang['res']['descriptions'][$this->getItemId()])) { + return $this->__($lang['res']['descriptions'][$this->getItemId()]); + } + return ''; + } + + public function getResourceName($resourceId) + { + static $lang = null; + if ($lang === null) { + // FIXME: implement a cleaner way to get names + $lang = includeLang('imperium'); + } + if ($resourceId == 'cristal') { + $resourceId = 'crystal'; + } + + if (isset($lang[$resourceId])) { + return $this->__($lang[$resourceId]); + } + return ''; + } + + public function getLevel() + { + return $this->_planet->getElement($this->getItemId()); + } + + public function getResourcesNeeded() + { + return $this->_planet->getResourcesNeeded($this->getItemId(), 1); + } + + public function getItemTime() + { + return $this->_planet->getBuildingTime($this->getItemId(), 1); + } +} \ No newline at end of file diff --git a/includes/application/code/core/Legacies/Empire/Block/Planet/Shipyard/Item.php b/includes/application/code/core/Legacies/Empire/Block/Planet/Shipyard/Item.php new file mode 100644 index 0000000..7197525 --- /dev/null +++ b/includes/application/code/core/Legacies/Empire/Block/Planet/Shipyard/Item.php @@ -0,0 +1,109 @@ +_planet = $planet; + $this->_shipyard = $this->_planet->getShipyard(); + + return $this; + } + + public function getPlanet() + { + return $this->_planet; + } + + public function setItemId($shipId) + { + $this->_itemId = $shipId; + + return $this; + } + + public function getItemId() + { + return $this->_itemId; + } + + public function getItemInfoUrl() + { + return $this->getUrl('infos.php', array('gid' => $this->getItemId())); + } + + public function getItemImageUrl() + { + return $this->getSkinUrl('graphics/gebaeude/' . $this->getItemId() . '.gif'); + } + + public function getName() + { + static $lang = null; + if ($lang === null) { + // FIXME: implement a cleaner way to get names + $lang = includeLang('tech'); + } + + if (isset($lang['tech']) && isset($lang['tech'][$this->getItemId()])) { + return $this->__($lang['tech'][$this->getItemId()]); + } + return ''; + } + + public function getDescription() + { + static $lang = null; + if ($lang === null) { + // FIXME: implement a cleaner way to get names + $lang = includeLang('tech'); + } + + if (isset($lang['res']) && isset($lang['res']['descriptions']) && isset($lang['res']['descriptions'][$this->getItemId()])) { + return $this->__($lang['res']['descriptions'][$this->getItemId()]); + } + return ''; + } + + public function getResourceName($resourceId) + { + static $lang = null; + if ($lang === null) { + // FIXME: implement a cleaner way to get names + $lang = includeLang('imperium'); + } + if ($resourceId == 'cristal') { + $resourceId = 'crystal'; + } + + if (isset($lang[$resourceId])) { + return $this->__($lang[$resourceId]); + } + return ''; + } + + public function getQty() + { + return $this->_planet->getElement($this->getItemId()); + } + + public function getResourcesNeeded() + { + return $this->_shipyard->getResourcesNeeded($this->getItemId(), 1); + } + + public function getBuildingTime() + { + return $this->_shipyard->getBuildingTime($this->getItemId(), 1); + } + + public function getMaximumBuildableElementsCount() + { + return $this->_shipyard->getMaximumBuildableElementsCount($this->getItemId()); + } +} \ No newline at end of file diff --git a/includes/application/code/core/Legacies/Empire/Model/BuilderAbstract.php b/includes/application/code/core/Legacies/Empire/Model/BuilderAbstract.php index ba7ab79..c94b79c 100644 --- a/includes/application/code/core/Legacies/Empire/Model/BuilderAbstract.php +++ b/includes/application/code/core/Legacies/Empire/Model/BuilderAbstract.php @@ -218,4 +218,16 @@ abstract class Legacies_Empire_Model_BuilderAbstract return $this; } + + protected function _calculateResourceRemainingAmounts($resourceNeeded) + { + $resourceAmounts = array(); + foreach ($resourcesNeeded as $resourceId => $resourceAmount) { + $resourceAmounts[$resourceId] = Math::sub($this->_currentPlanet[$resourceId], $resourceAmount); + if (Math::isNegative($resourceAmounts[$resourceId])) { + return false; + } + } + return $resourceAmounts; + } } \ No newline at end of file diff --git a/includes/application/code/core/Legacies/Empire/Model/Planet.php b/includes/application/code/core/Legacies/Empire/Model/Planet.php index 0f6c766..b479114 100644 --- a/includes/application/code/core/Legacies/Empire/Model/Planet.php +++ b/includes/application/code/core/Legacies/Empire/Model/Planet.php @@ -37,7 +37,7 @@ class Legacies_Empire_Model_Planet protected $_shipyard = null; /** - * @var Legacies_Empire_Model_Planet_Building_Laboratory + * @var Legacies_Empire_Model_Planet_Building_ResearchLab */ protected $_laboratory = null; @@ -393,15 +393,15 @@ class Legacies_Empire_Model_Planet return $this; } - public function getLaboratory() + public function getResearchLab() { if ($this->_laboratory === null) { - $this->_laboratory = new Legacies_Empire_Model_Planet_Building_Laboratory($this, $this->getUser()); + $this->_laboratory = new Legacies_Empire_Model_Planet_Building_ResearchLab($this, $this->getUser()); } return $this->_laboratory; } - public function setLaboratory(Legacies_Empire_Model_Planet_Building_Laboratory $laboratory) + public function setResearchLab(Legacies_Empire_Model_Planet_Building_ResearchLab $laboratory) { $this->_laboratory = $laboratory; diff --git a/includes/application/code/core/Legacies/Empire/Model/Planet/Builder.php b/includes/application/code/core/Legacies/Empire/Model/Planet/Builder.php index 8b24112..a870b27 100644 --- a/includes/application/code/core/Legacies/Empire/Model/Planet/Builder.php +++ b/includes/application/code/core/Legacies/Empire/Model/Planet/Builder.php @@ -45,6 +45,11 @@ class Legacies_Empire_Model_Planet_Builder return $this->checkAvailability($buildingId); } + public function getBuildingTime($buildingId, $level) + { + return 0; + } + public function getResourcesNeeded($buildingId, $level) { $prices = Legacies_Empire_Model_Game_Prices::getSingleton(); @@ -68,11 +73,6 @@ class Legacies_Empire_Model_Planet_Builder return $resourcesNeeded; } - public function getBuildingTime($buildingId, $level) - { - return 0; - } - /** * Update the contruction queue. * @@ -143,27 +143,18 @@ class Legacies_Empire_Model_Planet_Builder } $resourcesNeeded = $this->getResourcesNeeded($buildingId, $level); - - $amounts = array(); - foreach ($resourcesNeeded as $resourceId => $resourceCost) { - $amount[$resourceId] = Math::sub($this->_currentPlanet[$resourceId], $resourceCost); - - if (Math::isNegative($amount[$resourceId])) { - return $this; - } + $remainingAmounts = $this->_calculateResourceRemainingAmounts($resourcesNeeded); + if ($remainingAmounts === false) { + return $this; } $this->enqueue($buildingId, $level, $time); - - foreach ($resourcesNeeded as $resourceId => $resourceCost) { - if (!isset($resources[$resourceId]) || !Math::isPositive($resourceCost)) { - continue; - } - $this->_currentPlanet->setData($resourceId, $resourceId[$resourceId]); - } - $this->_currentPlanet->setData('b_building_id', $this->serialize()); + foreach ($remainingAmounts as $resourceId => $resourceAmount) { + $this->_currentPlanet[$resourceId] = $resourceAmount; + } + return $this; } diff --git a/includes/application/code/core/Legacies/Empire/Model/Planet/Building/ResearchLab.php b/includes/application/code/core/Legacies/Empire/Model/Planet/Building/ResearchLab.php new file mode 100644 index 0000000..0ea824d --- /dev/null +++ b/includes/application/code/core/Legacies/Empire/Model/Planet/Building/ResearchLab.php @@ -0,0 +1,256 @@ + + * All rights reserved. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * --> NOTICE <-- + * This file is part of the core development branch, changing its contents will + * make you unable to use the automatic updates manager. Please refer to the + * documentation for further information about customizing XNova. + * + */ + +/** + * Research lab building, manages researches queue on each planet + * + * @access public + * @category Empire + * @category Planet + * @package Legacies + * @subpackage Legacies_Empire + */ +class Legacies_Empire_Model_Planet_Building_ResearchLab + implements Legacies_Empire_Model_Planet_BuildingInterface +{ + private $_eventPrefix = 'planet.laboratory.'; + + /** + * Planet instance + * @var Legacies_Empire_Model_Planet + */ + protected $_currentPlanet = null; + + /** + * User instance + * @var Legacies_Empire_Model_User + */ + protected $_currentUser = null; + + /** + * construction queue + * @var array + */ + protected $_builder = null; + + /** + * Multiton instances + * @var array + */ + protected static $_instances = array(); + + /** + * Multiton factory. Retruns the planet's research lab instance or created it if + * it doesn't yet exist. + * + * @param Legacies_Empire_Model_Planet $currentPlanet + * @param Legacies_Empire_Model_User $currentUser + * @return Legacies_Empire_Model_Planet_Building_ResearchLab + */ + public static function factory($currentPlanet, $currentUser) + { + if ($currentPlanet->getId()) { + return null; + } + + if (!isset(self::$_instances[$currentPlanet->getId()])) { + self::$_instances[$currentPlanet->getId()] = new self($currentPlanet, $currentUser); + } + return self::$_instances[$currentPlanet->getId()]; + } + + /** + * Constructor. Used for specific usage, use the factory for standard usage. + * + * @see Legacies_Empire_Model_Planet_Building_ResearchLab::factory() + * + * @param Legacies_Empire_Model_Planet $currentPlanet + * @param Legacies_Empire_Model_User $currentUser + */ + public function __construct($currentPlanet, $currentUser) + { + $this->_currentPlanet = $currentPlanet; + $this->_currentUser = $currentUser; + + $this->_builder = new Legacies_Empire_Model_Planet_Building_ResearchLab_Builder($currentPlanet, $currentUser); + } + + /** + * @deprecated + * @return Legacies_Empire_Model_Planet_Building_ResearchLab + */ + public function save() + { + $this->_currentPlanet->save(); + return $this; + } + + /** + * Append items to build to the construction list + * + * @param int $researchId + * @param int|string $level + * @return Legacies_Empire_Model_Planet_Building_ResearchLab + */ + public function appendQueue($researchId, $destroy = false, $time = null) + { + if ($time === null) { + $time = Legacies::now(); + } + + if ($destroy === false) { + $level = $this->_currentUser->getElement($researchId) + 1; + } else { + $level = max($this->_currentUser->getElement($researchId) - 1, 0); + } + + // Dispatch event + Legacies::dispatchEvent($this->_eventPrefix . 'append-queue.before', array( + 'research_id' => $researchId, + 'level' => &$level, + 'time' => &$time, + 'laboratory' => $this, + 'planet' => $this->_currentPlanet, + 'user' => $this->_currentUser + )); + + $this->_builder->appendQueue($researchId, $level, $time); + + // Dispatch event + Legacies::dispatchEvent($this->_eventPrefix . 'append-queue.after', array( + 'research_id' => $researchId, + 'level' => $level, + 'time' => $time, + 'laboratory' => $this, + 'planet' => $this->_currentPlanet, + 'user' => $this->_currentUser + )); + + return $this; + } + + /** + * Update the contruction queue. + * + * @return Legacies_Empire_Model_Planet_Building_ResearchLab + */ + public function updateQueue($time = null) + { + if ($time === null) { + $time = Legacies::now(); + } + + // Dispatch event + Legacies::dispatchEvent($this->_eventPrefix . 'update-queue.before', array( + 'time' => &$time, + 'laboratory' => $this, + 'planet' => $this->_currentPlanet, + 'user' => $this->_currentUser + )); + + $this->_builder->updateQueue($time); + + // Dispatch event + Legacies::dispatchEvent($this->_eventPrefix . 'update-queue.after', array( + 'time' => $time, + 'laboratory' => $this, + 'planet' => $this->_currentPlanet, + 'user' => $this->_currentUser + )); + + return $this; + } + + /** + * Return the construction queue + * @see Legacies_Empire_Model_Planet_Building_ResearchLab_Builder + * + * @return array + */ + public function getBuilder() + { + return $this->_builder; + } + + /** + * Check if a ship or defense type is actually buildable on the current + * planet, depending on the technology and buildings requirements. + * + * @param int $resourceId + * @return bool + */ + public function checkAvailability($resourceId) + { + try { + // Dispatch event + Legacies::dispatchEvent($this->_eventPrefix . 'check-availability', array( + 'research_id' => $resourceId, + 'laboratory' => $this, + 'planet' => $this->_currentPlanet, + 'user' => $this->_currentUser + )); + } catch (Legacies_Core_Event_Break $e) { + return false; + } + + return $this->_builder->checkAvailability($resourceId); + } + + public function getResourcesNeeded($resourceId, $level) + { + return $this->_builder->getResourcesNeeded($resourceId, $level); + } + + public function getBuildingTime($resourceId, $level) + { + $this->_builder->getBuildingTime($resourceId, $level); + } + + public static function planetUpdateListener($eventData) + { + if (isset($eventData['planet'])) { + $planet = $eventData['planet']; + + if ($planet === null || !$planet instanceof Legacies_Empire_Model_Planet || !$planet->getId()) { + return; + } + + $time = null; + if (isset($eventData['time'])) { + $time = $eventData['time']; + } + + $shipyard = $planet->getResearchLab(); + if ($shipyard !== null) { + $shipyard->updateQueue(); + } + } + } +} \ No newline at end of file diff --git a/includes/application/code/core/Legacies/Empire/Model/Planet/Building/ResearchLab/Builder.php b/includes/application/code/core/Legacies/Empire/Model/Planet/Building/ResearchLab/Builder.php new file mode 100644 index 0000000..eff9d4a --- /dev/null +++ b/includes/application/code/core/Legacies/Empire/Model/Planet/Building/ResearchLab/Builder.php @@ -0,0 +1,206 @@ +_unserializeQueue($this->_currentUser->getData('b_laboratory_id')); + } + + /** + * @param int $buildingId + * @param int $level + * @param int $time + */ + public function _initItem() + { + $technologyId = func_get_arg(0); + $level = func_get_arg(1); + $time = func_get_arg(2); + + return new Legacies_Empire_Model_Planet_Building_ResearchLab_Item(array( + 'technology_id' => $technologyId, + 'level' => $level, + 'created_at' => $time, + 'updated_at' => $time + )); + } + + /** + * Check if a technology type is actually buildable on the current + * planet, depending on the technology and buildings requirements. + * + * @param int $technologyId + * @return bool + */ + public function checkAvailability($technologyId) + { + $types = Legacies_Empire_Model_Game_Types::getSingleton(); + + if (!$types->is($technologyId, Legacies_Empire::TYPE_RESEARCH)) { + return false; + } + + parent::checkAvailability($technologyId); + + return true; + } + + /** + * Returns the time needed to build $level of $technologyId + * + * @param int $technologyId + * @param int $level + */ + public function getBuildingTime($technologyId, $level) + { + $prices = Legacies_Empire_Model_Game_Prices::getSingleton(); + $types = Legacies_Empire_Model_Game_Types::getSingleton(); + $gameConfig = Legacies_Core_Model_Config::getSingleton(); + + Math::setPrecision(50); + + // FIXME: Resource dependency + $totalCost = Math::mul(Math::add($prices[$technologyId][Legacies_Empire::RESOURCE_METAL], $prices[$technologyId][Legacies_Empire::RESOURCE_CRISTAL]), $level); + $speedFactor = $gameConfig->getData('game_speed'); + + // FIXME: Building & Technology dependency + $extraLaboratoriesLevels = 0; + $researchNetworkLevel = $this->_currentUser->getElement(Legacies_Empire::ID_RESEARCH_INTERGALACTIC_RESEARCH_NETWORK); + if ($researchNetworkLevel > 0) { + $laboratoriesLevels = array(); + foreach ($this->_currentUser->getPlanetCollection() as $planet) { + if ($this->_currentPlanet->getId() == $planet->getId()) { + continue; + } + $level = $planet->getElement(Legacies_Empire::ID_BUILDING_RESEARCH_LAB); + if ($level > 0) { + $laboratoriesLevels[] = (int) $level; + } + } + sort($laboratoriesLevels, SORT_NUMERIC); + $extraLaboratoriesLevels = array_sum(array_slice(array_reverse($laboratoriesLevels), 0, $researchNetworkLevel)); + } + + $laboratorySpeedup = Math::div($totalCost, ($this->_currentPlanet->getElement(Legacies_Empire::ID_BUILDING_RESEARCH_LAB) + 1 + $extraLaboratoriesLevels)); + + Math::setPrecision(); + + $baseTime = ($totalCost / $speedFactor) * $laboratorySpeedup; + + return (int) Math::floor($baseTime * 3600); + } + + /** + * (non-PHPdoc) + * @see Legacies_Empire_Model_BuilderAbstract::getResourcesNeeded() + */ + public function getResourcesNeeded($technologyId, $level) + { + $prices = Legacies_Empire_Model_Game_Prices::getSingleton(); + $resources = Legacies_Empire_Model_Game_Resources::getSingleton(); + + if (!isset($prices[$technologyId])) { + return array(); + } + $resourcesNeeded = array(); + foreach ($resources as $resourceId => $resourceConfig) { + if (!isset($prices[$technologyId][$resourceId])) { + continue; + } + if (Math::isPositive($prices[$technologyId][$resourceId])) { + $firstLevelCost = $prices[$technologyId][$resourceId]; + $partialLevelCost = Math::mul($firstLevelCost, Math::pow($prices[$technologyId][Legacies_Empire::RESOURCE_MULTIPLIER], $level)); + $resourcesNeeded[$resourceId] = Math::sub($partialLevelCost, $firstLevelCost); + } + } + + return $resourcesNeeded; + } + + /** + * Update the contruction queue. + * + * @return Legacies_Empire_Model_Planet_Building_ResearchLab + */ + public function updateQueue($time) + { + $fields = Legacies_Empire_Model_Game_FieldsAlias::getSingleton(); + + $elapsedTime = $time - $this->_currentUser->getData('b_laboratory'); + + foreach ($this->getQueue() as $element) { + $technologyId = $element->getData('research_id'); + $level = $element->getData('level'); + $buildTime = $this->getBuildingTime($technologyId, $level); + + if ($elapsedTime >= $buildTime) { + $this->_currentUser[$fields[$technologyId]] = Math::add($this->_currentUser[$fields[$technologyId]], $level); + $elapsedTime -= $buildTime; + $this->dequeue($element); + continue; + } + + $timeRatio = $elapsedTime / $buildTime; + $itemsBuilt = Math::mul($timeRatio, $level); + + $element->setData('updated_at', $time); + $element->setData('level', Math::sub($level, $itemsBuilt)); + $this->_currentUser->setData($fields[$technologyId], Math::add($this->_currentUser->getData($fields[$technologyId]), $itemsBuilt)); + break; + } + + $this->_currentUser->setData('b_laboratory_id', $this->serialize()); + $this->_currentUser->setData('b_laboratory', $time); + + return $this; + } + + /** + * Append items to build to the construction list + * + * @param int $technologyId + * @param int|string $level + * @return Legacies_Empire_Model_Planet_Building_ResearchLab + */ + public function appendQueue($technologyId, $level, $time) + { + if ($this->_maxLength > 0 && $this->count() >= $this->_maxLength) { + return $this; + } + + if (!Math::isPositive($level)) { + return $this; + } + + $types = Legacies_Empire_Model_Game_Types::getSingleton(); + if (!$types->is($technologyId, Legacies_Empire::TYPE_RESEARCH)) { + return $this; + } + + if (!$this->checkAvailability($technologyId)) { + return $this; + } + + $resourcesNeeded = $this->getResourcesNeeded($technologyId, $level); + $remainingAmounts = $this->_calculateResourceRemainingAmounts($resourcesNeeded); + if ($remainingAmounts === false) { + return $this; + } + + $this->enqueue($technologyId, $level, $time); + $this->_currentUser->setData('b_laboratory_id', $this->serialize()); + + foreach ($remainingAmounts as $resourceId => $resourceAmount) { + $this->_currentPlanet[$resourceId] = $resourceAmount; + } + + return $this; + } +}; \ No newline at end of file diff --git a/includes/application/code/core/Legacies/Empire/Model/Planet/Building/ResearchLab/Item.php b/includes/application/code/core/Legacies/Empire/Model/Planet/Building/ResearchLab/Item.php new file mode 100644 index 0000000..eafe814 --- /dev/null +++ b/includes/application/code/core/Legacies/Empire/Model/Planet/Building/ResearchLab/Item.php @@ -0,0 +1,6 @@ +_unserializeQueue($this->_currentPlanet->getData('b_hangar_id')); @@ -250,13 +255,15 @@ class Legacies_Empire_Model_Planet_Building_Shipyard_Builder */ public function appendQueue($shipId, $qty, $time) { - $types = Legacies_Empire_Model_Game_Types::getSingleton(); - $resources = Legacies_Empire_Model_Game_Resources::getSingleton(); + if ($this->_maxLength > 0 && $this->count() >= $this->_maxLength) { + return $this; + } if (!Math::isPositive($qty)) { return $this; } + $types = Legacies_Empire_Model_Game_Types::getSingleton(); if (!$types->is($shipId, Legacies_Empire::TYPE_SHIP) && !$types->is($shipId, Legacies_Empire::TYPE_DEFENSE)) { return $this; } @@ -276,19 +283,18 @@ class Legacies_Empire_Model_Planet_Building_Shipyard_Builder } $resourcesNeeded = $this->getResourcesNeeded($shipId, $qty); - $buildTime = $this->getBuildingTime($shipId, $qty); - - $this->enqueue($shipId, $qty, $time); - - foreach ($resources as $resourceId => $resourceConfig) { - if (!isset($resourcesNeeded[$resourceId])) { - continue; - } - $this->_currentPlanet[$resourceId] = Math::sub($this->_currentPlanet[$resourceId], $resourcesNeeded[$resourceId]); + $remainingAmounts = $this->_calculateResourceRemainingAmounts($resourcesNeeded); + if ($remainingAmounts === false) { + return $this; } + $this->enqueue($shipId, $qty, $time); $this->_currentPlanet->setData('b_hangar_id', $this->serialize()); + foreach ($remainingAmounts as $resourceId => $resourceAmount) { + $this->_currentPlanet[$resourceId] = $resourceAmount; + } + return $this; } -}; \ No newline at end of file +} \ No newline at end of file diff --git a/includes/application/design/layouts/empire.php b/includes/application/design/layouts/empire.php index e7f8f71..5a99e97 100644 --- a/includes/application/design/layouts/empire.php +++ b/includes/application/design/layouts/empire.php @@ -42,5 +42,59 @@ ) ) ) + ), + + 'planet.buildings' => array( + 'update' => '1column', + 'reference' => array( + 'content' => array( + 'children' => array( + 'topnav' => array( + 'type' => 'empire/topnav', + 'template' => 'empire/topnav.phtml', + ), + 'queue' => array( + 'type' => 'core/template', + 'template' => 'empire/planet/buildings/queue.phtml' + ), + 'item-list' => array( + 'type' => 'core/template', + 'template' => 'empire/planet/buildings.phtml', + 'children' => array( + 'item-list.items' => array( + 'type' => 'core/concat' + ), + ) + ), + ) + ) + ) + ), + + 'planet.shipyard' => array( + 'update' => '1column', + 'reference' => array( + 'content' => array( + 'children' => array( + 'topnav' => array( + 'type' => 'empire/topnav', + 'template' => 'empire/topnav.phtml', + ), + 'item-list' => array( + 'type' => 'core/template', + 'template' => 'empire/planet/shipyard.phtml', + 'children' => array( + 'item-list.items' => array( + 'type' => 'core/concat' + ), + ) + ), + 'queue' => array( + 'type' => 'core/template', + 'template' => 'empire/planet/shipyard/queue.phtml' + ), + ) + ) + ) ) ); diff --git a/includes/application/design/layouts/page.php b/includes/application/design/layouts/page.php index 40349cc..0b42b02 100644 --- a/includes/application/design/layouts/page.php +++ b/includes/application/design/layouts/page.php @@ -117,4 +117,18 @@ ) ) ), + + 'message' => array( + 'update' => 'default', + 'reference' => array( + 'content' => array( + 'children' => array( + 'message' => array( + 'type' => 'core/template', + 'template' => 'page/html/message.phtml' + ), + ) + ) + ) + ) ); diff --git a/templates/OpenGame/add_declare.tpl b/includes/application/design/scripts/deprecated/add_declare.tpl similarity index 87% rename from templates/OpenGame/add_declare.tpl rename to includes/application/design/scripts/deprecated/add_declare.tpl index d69479e..cc69eb6 100644 --- a/templates/OpenGame/add_declare.tpl +++ b/includes/application/design/scripts/deprecated/add_declare.tpl @@ -20,7 +20,7 @@ Raison du multicompte
diff --git a/includes/application/design/scripts/deprecated/admin/activeplanet_body.tpl b/includes/application/design/scripts/deprecated/admin/activeplanet_body.tpl new file mode 100644 index 0000000..3611777 --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/activeplanet_body.tpl @@ -0,0 +1,12 @@ +

+

getData('adm_pl_title')?>

+ + + + + + + + + getData('online_list')?> +
getData('adm_pl_activ')?>
getData('adm_pl_name')?>getData('adm_pl_posit')?>getData('adm_pl_point')?>getData('adm_pl_since')?>
\ No newline at end of file diff --git a/templates/OpenGame/admin/add_money.tpl b/includes/application/design/scripts/deprecated/admin/add_money.tpl similarity index 51% rename from templates/OpenGame/admin/add_money.tpl rename to includes/application/design/scripts/deprecated/admin/add_money.tpl index 68a2fd8..b4a5b20 100644 --- a/templates/OpenGame/admin/add_money.tpl +++ b/includes/application/design/scripts/deprecated/admin/add_money.tpl @@ -1,25 +1,25 @@

-

{adm_am_ttle}

+

getData('adm_am_ttle')?>

- + - + - + - - - +
{adm_am_form}getData('adm_am_form')?>
{adm_am_plid}getData('adm_am_plid')?>
{Metal}getData('Metal')?>
{Crystal} + getData('Crystal')?>
{Deuterium} + getData('Deuterium')?>
diff --git a/includes/application/design/scripts/deprecated/admin/add_moon.tpl b/includes/application/design/scripts/deprecated/admin/add_moon.tpl new file mode 100644 index 0000000..9d7d07f --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/add_moon.tpl @@ -0,0 +1,17 @@ +

+

getData('addm_title')?>

+ + + + + + + + + + + + + +
getData('addm_addform')?>
getData('addm_playerid')?>
getData('addm_moonname')?>
+
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/admin/admin_panel_asw1.tpl b/includes/application/design/scripts/deprecated/admin/admin_panel_asw1.tpl new file mode 100644 index 0000000..4ee9497 --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/admin_panel_asw1.tpl @@ -0,0 +1,32 @@ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
getData('adm_panel_mnu')?>
getData('adm_frm1_id')?>getData('answer1')?>
getData('adm_frm1_name')?>getData('answer2')?>
getData('adm_frm1_ip')?>getData('answer3')?>
getData('adm_frm1_mail')?>getData('answer4')?>
getData('adm_frm1_acc')?>getData('answer5')?>
getData('adm_frm1_gen')?>getData('answer6')?>
getData('adm_frm1_main')?>getData('answer7')?>
getData('adm_frm1_gpos')?>getData('answer8')?>
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/admin/admin_panel_asw2.tpl b/includes/application/design/scripts/deprecated/admin/admin_panel_asw2.tpl new file mode 100644 index 0000000..19c4d09 --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/admin_panel_asw2.tpl @@ -0,0 +1,9 @@ +
+ + + + + +getData('adm_plyer_lst')?> + +
getData('adm_plyer_wip')?> getData('adm_this_ip')?>
\ No newline at end of file diff --git a/templates/OpenGame/admin/admin_panel_frm1.tpl b/includes/application/design/scripts/deprecated/admin/admin_panel_frm1.tpl similarity index 51% rename from templates/OpenGame/admin/admin_panel_frm1.tpl rename to includes/application/design/scripts/deprecated/admin/admin_panel_frm1.tpl index f7ea491..1df3696 100644 --- a/templates/OpenGame/admin/admin_panel_frm1.tpl +++ b/includes/application/design/scripts/deprecated/admin/admin_panel_frm1.tpl @@ -3,14 +3,14 @@ - + - + - + diff --git a/templates/OpenGame/admin/admin_panel_frm2.tpl b/includes/application/design/scripts/deprecated/admin/admin_panel_frm2.tpl similarity index 51% rename from templates/OpenGame/admin/admin_panel_frm2.tpl rename to includes/application/design/scripts/deprecated/admin/admin_panel_frm2.tpl index faa83a1..9b469a3 100644 --- a/templates/OpenGame/admin/admin_panel_frm2.tpl +++ b/includes/application/design/scripts/deprecated/admin/admin_panel_frm2.tpl @@ -3,14 +3,14 @@
{adm_search_pl}getData('adm_search_pl')?>
{adm_player_nm}getData('adm_player_nm')?>
- + - + - + diff --git a/includes/application/design/scripts/deprecated/admin/admin_panel_frm3.tpl b/includes/application/design/scripts/deprecated/admin/admin_panel_frm3.tpl new file mode 100644 index 0000000..4a8b32d --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/admin_panel_frm3.tpl @@ -0,0 +1,22 @@ +
+
+
{adm_search_ip}getData('adm_search_ip')?>
{adm_ip}getData('adm_ip')?>
+ + + + + + + + + + + + + + + + + +
getData('adm_mod_level')?>
getData('adm_player_nm')?>
+ \ No newline at end of file diff --git a/templates/OpenGame/admin/admin_panel_frm4.tpl b/includes/application/design/scripts/deprecated/admin/admin_panel_frm4.tpl similarity index 51% rename from templates/OpenGame/admin/admin_panel_frm4.tpl rename to includes/application/design/scripts/deprecated/admin/admin_panel_frm4.tpl index 74854d1..6c95e4f 100644 --- a/templates/OpenGame/admin/admin_panel_frm4.tpl +++ b/includes/application/design/scripts/deprecated/admin/admin_panel_frm4.tpl @@ -3,14 +3,14 @@ - + - + - + diff --git a/includes/application/design/scripts/deprecated/admin/admin_panel_main.tpl b/includes/application/design/scripts/deprecated/admin/admin_panel_main.tpl new file mode 100644 index 0000000..d3dee49 --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/admin_panel_main.tpl @@ -0,0 +1,16 @@ +

+

getData('adm_panel_mnu')?>

+
{adm_search_pl}getData('adm_search_pl')?>
{adm_player_nm}getData('adm_player_nm')?>
+ + + + + + + + + +
getData('adm_panel_ttl')?>
getData('adm_search_pl')?>getData('adm_search_ip')?>getData('adm_stat_play')?>getData('adm_mod_level')?>
+getData('adm_sub_form1')?> +getData('adm_sub_form2')?> +getData('adm_sub_form3')?> diff --git a/templates/OpenGame/admin/banadni.tpl b/includes/application/design/scripts/deprecated/admin/banadni.tpl similarity index 100% rename from templates/OpenGame/admin/banadni.tpl rename to includes/application/design/scripts/deprecated/admin/banadni.tpl diff --git a/includes/application/design/scripts/deprecated/admin/banned.tpl b/includes/application/design/scripts/deprecated/admin/banned.tpl new file mode 100644 index 0000000..750e6e5 --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/banned.tpl @@ -0,0 +1,32 @@ +

+

getData('adm_bn_ttle')?>

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
getData('adm_bn_plto')?>
getData('adm_bn_name')?>
getData('adm_bn_reas')?>
getData('adm_bn_time')?>
getData('adm_bn_days')?>
getData('adm_bn_hour')?>
getData('adm_bn_mins')?>
getData('adm_bn_secs')?>
+
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/admin/changepass.tpl b/includes/application/design/scripts/deprecated/admin/changepass.tpl new file mode 100644 index 0000000..5b94f8c --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/changepass.tpl @@ -0,0 +1,16 @@ +

+

getData('md5_title')?>

+
+ + + + + + + + + + + +
getData('md5_pswcyp')?>
getData('user_to_change')?>
getData('md5_psw')?>
+
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/admin/chat_body.tpl b/includes/application/design/scripts/deprecated/admin/chat_body.tpl new file mode 100644 index 0000000..bc85811 --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/chat_body.tpl @@ -0,0 +1,14 @@ +

+

getData('adm_ch_ttle')?>

+ + + + + + + + + + +getData('msg_list')?> +
getData('adm_ch_list')?> [vider]
getData('adm_ch_time')?>getData('adm_ch_play')?>getData('adm_ch_msg')?>getData('adm_ch_delet')?>
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/admin/credit_body.tpl b/includes/application/design/scripts/deprecated/admin/credit_body.tpl new file mode 100644 index 0000000..2aaded4 --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/credit_body.tpl @@ -0,0 +1,29 @@ +

+

getData('cred_ext')?>

+
+ + + + + + + + + + + + + + + + + + + + + + + +
getData('cred_info')?>
getData('cred_infotxt')?>
getData('cred_credit')?>
Raito
Chlorel
e-Zobar
Flousedid
+
getData('cred_creat')?> / getData('cred_prog')?>
getData('cred_master')?> getData('cred_prog')?>
getData('cred_design')?> / getData('cred_prog')?>
getData('cred_web')?> +
getData('cred_ext')?>
getData('cred_added')?> getData('ExtCopyFrame')?> type="checkbox" />
getData('cred_name')?>getData('cred_funct')?>
\ No newline at end of file diff --git a/templates/OpenGame/admin/declarelist_body.tpl b/includes/application/design/scripts/deprecated/admin/declarelist_body.tpl similarity index 87% rename from templates/OpenGame/admin/declarelist_body.tpl rename to includes/application/design/scripts/deprecated/admin/declarelist_body.tpl index 5412250..1a3338c 100644 --- a/templates/OpenGame/admin/declarelist_body.tpl +++ b/includes/application/design/scripts/deprecated/admin/declarelist_body.tpl @@ -13,6 +13,6 @@ Raison -{adm_ul_table} +getData('adm_ul_table')?> \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/admin/declarelist_rows.tpl b/includes/application/design/scripts/deprecated/admin/declarelist_rows.tpl new file mode 100644 index 0000000..7ec5c08 --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/declarelist_rows.tpl @@ -0,0 +1,9 @@ + + getData('adm_ul_data_id')?> + getData('adm_ul_data_name')?> + getData('adm_ul_data_mail')?> + getData('adm_ul_data_adip')?> + getData('adm_ul_data_detai')?> + getData('adm_ul_data_regd')?> + + \ No newline at end of file diff --git a/templates/OpenGame/admin/deletuser.tpl b/includes/application/design/scripts/deprecated/admin/deletuser.tpl similarity index 59% rename from templates/OpenGame/admin/deletuser.tpl rename to includes/application/design/scripts/deprecated/admin/deletuser.tpl index e4f3c4a..e954617 100644 --- a/templates/OpenGame/admin/deletuser.tpl +++ b/includes/application/design/scripts/deprecated/admin/deletuser.tpl @@ -1,6 +1,6 @@
- +
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/admin/errors_body.tpl b/includes/application/design/scripts/deprecated/admin/errors_body.tpl new file mode 100644 index 0000000..b2a1830 --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/errors_body.tpl @@ -0,0 +1,14 @@ +

+

getData('adm_er_ttle')?>

+ + + + + + + + + + +getData('errors_list')?> +
getData('adm_er_list')?> [getData('adm_er_clear')?>]
getData('adm_er_idmsg')?>getData('adm_er_type')?>getData('adm_er_time')?>getData('adm_er_delete')?>
\ No newline at end of file diff --git a/templates/OpenGame/admin/exec_query.tpl b/includes/application/design/scripts/deprecated/admin/exec_query.tpl similarity index 50% rename from templates/OpenGame/admin/exec_query.tpl rename to includes/application/design/scripts/deprecated/admin/exec_query.tpl index 496b625..eb767d4 100644 --- a/templates/OpenGame/admin/exec_query.tpl +++ b/includes/application/design/scripts/deprecated/admin/exec_query.tpl @@ -1,13 +1,13 @@

-

{Qry_title}

+

getData('Qry_title')?>

- - + +
{exec_check}getData('exec_check')?>
diff --git a/includes/application/design/scripts/deprecated/admin/fleet_body.tpl b/includes/application/design/scripts/deprecated/admin/fleet_body.tpl new file mode 100644 index 0000000..3368066 --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/fleet_body.tpl @@ -0,0 +1,29 @@ +
+

+

getData('flt_title')?>

+ + + + + + + + + + + + + + + + + + +
getData('flt_id')?>getData('flt_fleet')?>getData('flt_mission')?>getData('flt_owner')?>getData('flt_planet')?>getData('flt_time_st')?>getData('flt_e_owner')?>getData('flt_planet')?>getData('flt_staying')?>getData('flt_time_en')?>getData('flt_action')?>
+ + + getData('flt_table')?> + +
+
+
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/admin/fleet_rows.tpl b/includes/application/design/scripts/deprecated/admin/fleet_rows.tpl new file mode 100644 index 0000000..65e0494 --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/fleet_rows.tpl @@ -0,0 +1,13 @@ + + getData('Id')?> + getData('Fleet')?> + getData('Mission')?> + getData('St_Owner')?> + getData('St_Posit')?> + getData('St_Time')?> + getData('En_Owner')?> + getData('En_Posit')?> + getData('Wa_Time')?> + getData('En_Time')?> + + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/admin/left_menu.tpl b/includes/application/design/scripts/deprecated/admin/left_menu.tpl new file mode 100644 index 0000000..6955190 --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/left_menu.tpl @@ -0,0 +1,91 @@ +
+ + +
+ +
+ +
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/admin/md5enc.tpl b/includes/application/design/scripts/deprecated/admin/md5enc.tpl new file mode 100644 index 0000000..053db16 --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/md5enc.tpl @@ -0,0 +1,19 @@ +

+

getData('md5_title')?>

+ + + + + + + + + + + + + + + +
getData('md5_pswcyp')?>
getData('md5_psw')?>
getData('md5_pswenc')?>
 
+
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/admin/message_body.tpl b/includes/application/design/scripts/deprecated/admin/message_body.tpl new file mode 100644 index 0000000..027d4e2 --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/message_body.tpl @@ -0,0 +1,8 @@ +

+ + + + + + +

getData('title')?>

getData('mes')?>
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/admin/messagelist_body.tpl b/includes/application/design/scripts/deprecated/admin/messagelist_body.tpl new file mode 100644 index 0000000..ab64802 --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/messagelist_body.tpl @@ -0,0 +1,48 @@ +getData('mlst_scpt')?> +

+

getData('mlst_title')?>

+
+ + + + + + + + + + + + + + + + + + + + + + +
getData('mlst_hdr_page')?>
+
+
 
getData('mlst_hdr_type')?>
+
+
 
getData('mlst_hdr_delfrom')?>
+ + + + + + + + + + getData('mlst_data_rows')?> +
getData('mlst_hdr_action')?>getData('mlst_hdr_id')?>getData('mlst_hdr_time')?>getData('mlst_hdr_from')?>getData('mlst_hdr_to')?>getData('mlst_hdr_text')?>
+
+
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/admin/messagelist_table_rows.tpl b/includes/application/design/scripts/deprecated/admin/messagelist_table_rows.tpl new file mode 100644 index 0000000..464d7a0 --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/messagelist_table_rows.tpl @@ -0,0 +1,8 @@ + + + getData('mlst_id')?> + getData('mlst_time')?> + getData('mlst_from')?> + getData('mlst_to')?> + getData('mlst_text')?> + \ No newline at end of file diff --git a/templates/OpenGame/admin/messall_body.tpl b/includes/application/design/scripts/deprecated/admin/messall_body.tpl similarity index 100% rename from templates/OpenGame/admin/messall_body.tpl rename to includes/application/design/scripts/deprecated/admin/messall_body.tpl diff --git a/templates/OpenGame/admin/moonlist_body.tpl b/includes/application/design/scripts/deprecated/admin/moonlist_body.tpl similarity index 89% rename from templates/OpenGame/admin/moonlist_body.tpl rename to includes/application/design/scripts/deprecated/admin/moonlist_body.tpl index 9c13d69..fa60c9b 100644 --- a/templates/OpenGame/admin/moonlist_body.tpl +++ b/includes/application/design/scripts/deprecated/admin/moonlist_body.tpl @@ -12,5 +12,5 @@ Système Planète -{moon} +getData('moon')?> \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/admin/multi_body.tpl b/includes/application/design/scripts/deprecated/admin/multi_body.tpl new file mode 100644 index 0000000..090ca75 --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/multi_body.tpl @@ -0,0 +1,15 @@ +

+

getData('adm_mt_title')?>

+ + + + + + + + +getData('adm_mt_table')?> + + + +
getData('adm_mt_list')?>
getData('adm_mt_player')?>getData('adm_mt_text')?>
getData('adm_mt_count')?> getData('adm_mt_multi')?>
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/admin/multi_rows.tpl b/includes/application/design/scripts/deprecated/admin/multi_rows.tpl new file mode 100644 index 0000000..d2a434c --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/multi_rows.tpl @@ -0,0 +1,4 @@ + + getData('player')?> + getData('text')?> + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/admin/options_body.tpl b/includes/application/design/scripts/deprecated/admin/options_body.tpl new file mode 100644 index 0000000..fb92f13 --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/options_body.tpl @@ -0,0 +1,135 @@ +

+

getData('adm_opt_title')?>

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
getData('adm_opt_game_settings')?>
getData('adm_opt_game_name')?>getData('game_name')?> type=text>
getData('adm_opt_menu_link_enable')?>
getData('adm_opt_menu_link_text')?>
getData('adm_opt_menu_link_url')?>
getData('adm_opt_game_gspeed')?>
getData('adm_opt_game_fspeed')?>
getData('stat_settings_desc')?>getData('stat_desc')?>getData('stat_units')?>
getData('adm_opt_game_pspeed')?>
getData('adm_opt_game_forum')?>
getData('adm_opt_game_online')?>
getData('closed')?> type="checkbox" />
getData('adm_opt_game_offreaso')?>
getData('messages_settings')?>
getData('bbcode_settings')?>
getData('multi_bot_settings')?>
getData('bot_active')?>
getData('bot_name_multi')?>
getData('bot_adress_multi')?>
getData('bot_ban_duration')?>
getData('adm_opt_plan_settings')?>
getData('adm_opt_plan_initial')?> cases
getData('adm_opt_plan_base_inc')?>getData('Metal')?> par heure
getData('adm_opt_plan_base_inc')?>getData('Crystal')?> par heure
getData('adm_opt_plan_base_inc')?>getData('Deuterium')?> par heure
getData('adm_opt_plan_base_inc')?>getData('Energy')?> par heure
getData('adm_opt_control_pages')?>
getData('enable_the_anounces')?>
getData('enable_the_marchand')?>
getData('enable_the_notes')?>
getData('adm_opt_game_oth_info')?>
getData('adm_opt_game_oth_bann')?>
getData('bannerframe')?> type="checkbox" />(getData('adm_opt_warning1')?>)
getData('adm_opt_game_oth_news')?>
getData('newsframe')?> type="checkbox" />
getData('adm_opt_game_oth_chat')?>getData('chatframe')?> type="checkbox" />
getData('adm_opt_game_oth_adds')?>getData('googlead')?> type="checkbox" />
getData('adm_opt_game_debugmod')?>getData('debug')?> type="checkbox" />
getData('banner')?>
<?php echo $this->getData('banner_source_post')?>
+
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/admin/overview_body.tpl b/includes/application/design/scripts/deprecated/admin/overview_body.tpl new file mode 100644 index 0000000..bcc3642 --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/overview_body.tpl @@ -0,0 +1,35 @@ +

+

getData('adm_ov_title')?>

+ + + + + + + +
getData('adm_ov_infos')?>
getData('adm_ov_yourv')?>: getData('adm_ov_data_yourv')?>getData('adm_ov_lastv')?>: getData('adm_ov_here')?>
+
+ + + + + + + + + + + + + + + + + + + + getData('adm_ov_data_table')?> + + + +
getData('adm_ov_onlin')?>
getData('adm_ul_id')?>getData('adm_ul_name')?>getData('adm_ul_adip')?>getData('adm_ov_ally')?>getData('adm_ov_point')?>getData('adm_ov_activ')?>getData('usr_email')?>getData('xp_raid')?>getData('xp_min')?>getData('lang_vacancy')?>getData('banned_lang')?>getData('usr_current_planet')?>getData('usr_current_page')?>
getData('adm_ov_count')?>: getData('adm_ov_data_count')?>
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/admin/overview_rows.tpl b/includes/application/design/scripts/deprecated/admin/overview_rows.tpl new file mode 100644 index 0000000..9fe70e9 --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/overview_rows.tpl @@ -0,0 +1,15 @@ + + <?php echo $this->getData('adm_ov_altpm')?> + getData('adm_ov_data_name')?> (getData('usr_s_id')?>) + [getData('adm_ov_data_adip')?>] + getData('adm_ov_data_ally')?> + getData('adm_ov_data_point')?> + getData('adm_ov_data_activ')?> + getData('usr_email')?> + getData('usr_xp_raid')?> + getData('usr_xp_min')?> + getData('state_vacancy')?> + getData('is_banned')?> + [getData('usr_planet_gal')?>:getData('usr_planet_sys')?>:getData('usr_planet_pos')?>] + getData('current_page')?> + \ No newline at end of file diff --git a/templates/OpenGame/admin/planetlist_body.tpl b/includes/application/design/scripts/deprecated/admin/planetlist_body.tpl similarity index 87% rename from templates/OpenGame/admin/planetlist_body.tpl rename to includes/application/design/scripts/deprecated/admin/planetlist_body.tpl index 0153391..1418ff0 100644 --- a/templates/OpenGame/admin/planetlist_body.tpl +++ b/includes/application/design/scripts/deprecated/admin/planetlist_body.tpl @@ -11,5 +11,5 @@ Système Planète -{planetes} +getData('planetes')?> \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/admin/reset_body.tpl b/includes/application/design/scripts/deprecated/admin/reset_body.tpl new file mode 100644 index 0000000..25e154f --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/reset_body.tpl @@ -0,0 +1,16 @@ +

+

getData('adm_rz_ttle')?>

+
+ + + + + + + + + + + +
getData('adm_rz_conf')?>
getData('adm_rz_text')?>
+
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/admin/simple_header.tpl b/includes/application/design/scripts/deprecated/admin/simple_header.tpl new file mode 100644 index 0000000..5bd4ade --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/simple_header.tpl @@ -0,0 +1,10 @@ + + +<?php echo $this->getData('title')?> + + + +getData('META_TAG')?> + + + diff --git a/templates/OpenGame/admin/unbanned.tpl b/includes/application/design/scripts/deprecated/admin/unbanned.tpl similarity index 88% rename from templates/OpenGame/admin/unbanned.tpl rename to includes/application/design/scripts/deprecated/admin/unbanned.tpl index 01d257f..22a4f43 100644 --- a/templates/OpenGame/admin/unbanned.tpl +++ b/includes/application/design/scripts/deprecated/admin/unbanned.tpl @@ -7,7 +7,7 @@ Joueur à débannir - {Name} + getData('Name')?> diff --git a/includes/application/design/scripts/deprecated/admin/userlist_body.tpl b/includes/application/design/scripts/deprecated/admin/userlist_body.tpl new file mode 100644 index 0000000..7261903 --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/userlist_body.tpl @@ -0,0 +1,24 @@ +

+

getData('adm_ul_title')?>

+ + + + + + + + + + + + + + + + + +getData('adm_ul_table')?> + + + +
getData('adm_ul_ttle2')?>
getData('adm_ul_id')?>getData('adm_ul_name')?>getData('adm_ul_mail')?>getData('adm_ul_data_ip_reg')?>getData('adm_ul_adip')?>getData('adm_ul_regd')?>getData('adm_ul_lconn')?>getData('adm_ul_bana')?>getData('adm_ul_detai')?>getData('adm_ul_actio')?>
getData('adm_ul_count')?>getData('adm_ul_playe')?>
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/admin/userlist_rows.tpl b/includes/application/design/scripts/deprecated/admin/userlist_rows.tpl new file mode 100644 index 0000000..5615768 --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/userlist_rows.tpl @@ -0,0 +1,13 @@ + + getData('adm_ul_data_id')?> + getData('adm_ul_data_name')?> + getData('adm_ul_data_mail')?> + getData('ip_adress_at_register')?> + getData('adm_ul_data_adip')?> + getData('adm_ul_data_regd')?> + getData('adm_ul_data_lconn')?> + getData('adm_ul_data_banna')?> + getData('adm_ul_data_detai')?> + getData('adm_ul_data_actio')?> + + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/admin/variables_body.tpl b/includes/application/design/scripts/deprecated/admin/variables_body.tpl new file mode 100644 index 0000000..cb4cf50 --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/variables_body.tpl @@ -0,0 +1,2 @@ + + getData('phpinfo')?> \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/admin/variables_rows.tpl b/includes/application/design/scripts/deprecated/admin/variables_rows.tpl new file mode 100644 index 0000000..4b09679 --- /dev/null +++ b/includes/application/design/scripts/deprecated/admin/variables_rows.tpl @@ -0,0 +1,6 @@ + + + getData('prot_serv')?> + getData('serv_protocol')?> + + \ No newline at end of file diff --git a/templates/OpenGame/agreement.tpl b/includes/application/design/scripts/deprecated/agreement.tpl similarity index 100% rename from templates/OpenGame/agreement.tpl rename to includes/application/design/scripts/deprecated/agreement.tpl diff --git a/includes/application/design/scripts/deprecated/alliance_admin.tpl b/includes/application/design/scripts/deprecated/alliance_admin.tpl new file mode 100644 index 0000000..f0bb5d4 --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_admin.tpl @@ -0,0 +1,85 @@ + +
+ + + + + + + + + + + + + + + + + + +
getData('Alliance_admin')?>
getData('Law_settings')?>
getData('Members_administrate')?>
getData('Change_the_ally_tag')?>
getData('Change_the_ally_name')?>
+
+
+ + + + + + + + + + + + + + + + + + +
getData('Texts')?>
getData('External_text')?>getData('Internal_text')?>
getData('Show_of_request_text')?> (0 / 5000 getData('characters')?>)
+getData('request_type')?> +
+ getData('t')?>> + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
getData('Options')?>
getData('Main_Page')?>
getData('Alliance_logo')?>
getData('Requests')?> + +
getData('Founder_name')?>
+
+ +getData('Disolve_alliance')?> +
+getData('Transfer_alliance')?> + diff --git a/includes/application/design/scripts/deprecated/alliance_admin_laws.tpl b/includes/application/design/scripts/deprecated/alliance_admin_laws.tpl new file mode 100644 index 0000000..2935d69 --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_admin_laws.tpl @@ -0,0 +1,70 @@ +
+ + +getData('list')?> + + +
getData('Configure_laws')?>
+ +
+ +
+ + + + + + + + + + + + +
getData('Range_make')?>
getData('Range_name')?>
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
getData('Law_leyends')?>
getData('Alliance_dissolve')?>
getData('Expel_users')?>
getData('See_the_requests')?>
getData('See_the_list_members')?>
getData('Check_the_requests')?>
getData('Alliance_admin')?>
getData('See_the_online_list_member')?>
getData('Make_a_circular_message')?>
getData('Left_hand_text')?>
getData('Return_to_overview')?>
+ \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/alliance_admin_laws_feet.tpl b/includes/application/design/scripts/deprecated/alliance_admin_laws_feet.tpl new file mode 100644 index 0000000..b89b567 --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_admin_laws_feet.tpl @@ -0,0 +1,5 @@ +
+ + + + \ No newline at end of file diff --git a/templates/OpenGame/alliance_admin_laws_head.tpl b/includes/application/design/scripts/deprecated/alliance_admin_laws_head.tpl similarity index 88% rename from templates/OpenGame/alliance_admin_laws_head.tpl rename to includes/application/design/scripts/deprecated/alliance_admin_laws_head.tpl index 3fe4e29..131303d 100644 --- a/templates/OpenGame/alliance_admin_laws_head.tpl +++ b/includes/application/design/scripts/deprecated/alliance_admin_laws_head.tpl @@ -2,7 +2,7 @@
- {Range_name} + getData('Range_name')?> diff --git a/includes/application/design/scripts/deprecated/alliance_admin_laws_row.tpl b/includes/application/design/scripts/deprecated/alliance_admin_laws_row.tpl new file mode 100644 index 0000000..014a5c6 --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_admin_laws_row.tpl @@ -0,0 +1,16 @@ +
+ + getData('delete')?> +  getData('r0')?>  + + getData('r1')?> + getData('r2')?> + getData('r3')?> + getData('r4')?> + getData('r5')?> + getData('r6')?> + getData('r7')?> + getData('r8')?> + getData('r9')?> + + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/alliance_admin_members_function.tpl b/includes/application/design/scripts/deprecated/alliance_admin_members_function.tpl new file mode 100644 index 0000000..2753aec --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_admin_members_function.tpl @@ -0,0 +1,3 @@ +
+  + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/alliance_admin_members_row.tpl b/includes/application/design/scripts/deprecated/alliance_admin_members_row.tpl new file mode 100644 index 0000000..ace4d65 --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_admin_members_row.tpl @@ -0,0 +1,12 @@ +
+ + getData('i')?> + getData('username')?> + <?php echo $this->getData('Write_a_message')?> + getData('ally_range')?> + getData('points')?> + getData('galaxy')?>:getData('system')?>:getData('planet')?> + getData('ally_register_time')?> + getData('onlinetime')?> + getData('functions')?>    + diff --git a/includes/application/design/scripts/deprecated/alliance_admin_members_row_edit.tpl b/includes/application/design/scripts/deprecated/alliance_admin_members_row_edit.tpl new file mode 100644 index 0000000..6488671 --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_admin_members_row_edit.tpl @@ -0,0 +1,8 @@ +
+ + + getData('Rank_for')?> + + + +
diff --git a/includes/application/design/scripts/deprecated/alliance_admin_members_table.tpl b/includes/application/design/scripts/deprecated/alliance_admin_members_table.tpl new file mode 100644 index 0000000..8f41700 --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_admin_members_table.tpl @@ -0,0 +1,22 @@ +
+ + + + + + + + + + + + + + + + getData('memberslist')?> + + + +
getData('Members_list')?> (getData('Ammount')?>: getData('memberzahl')?>)
getData('Number')?>getData('Name')?> getData('Position')?>getData('Points')?>getData('Coordinated')?>getData('Member_from')?>Duree d inactiviteFonction
getData('Return_to_overview')?>
+ diff --git a/includes/application/design/scripts/deprecated/alliance_admin_rename.tpl b/includes/application/design/scripts/deprecated/alliance_admin_rename.tpl new file mode 100644 index 0000000..b54edf3 --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_admin_rename.tpl @@ -0,0 +1,15 @@ +
+
+ + + + + + + + + + + +
getData('question')?>
getData('New_name')?>getData('name')?>>
getData('Return_to_overview')?>
+
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/alliance_admin_rename1.tpl b/includes/application/design/scripts/deprecated/alliance_admin_rename1.tpl new file mode 100644 index 0000000..ac41ab2 --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_admin_rename1.tpl @@ -0,0 +1,15 @@ +
+
+ + + + + + + + + + + +
getData('question')?>
Zmiana NazwygetData('name')?>>
getData('Return_to_overview')?>
+
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/alliance_admin_rename2.tpl b/includes/application/design/scripts/deprecated/alliance_admin_rename2.tpl new file mode 100644 index 0000000..dbf9e6a --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_admin_rename2.tpl @@ -0,0 +1,15 @@ +
+
+ + + + + + + + + + + +
getData('question')?>
Zmiana TagugetData('name')?>>
getData('Return_to_overview')?>
+
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/alliance_admin_request_form.tpl b/includes/application/design/scripts/deprecated/alliance_admin_request_form.tpl new file mode 100644 index 0000000..f774472 --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_admin_request_form.tpl @@ -0,0 +1,27 @@ +
+
+ + getData('Request_from')?> + + + getData('ally_request_text')?> + + + getData('Request_responde')?> + + +   + + + + getData('Motive_optional')?> 0 / 500 getData('characters')?> + + + +   + + + +   + +
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/alliance_admin_request_row.tpl b/includes/application/design/scripts/deprecated/alliance_admin_request_row.tpl new file mode 100644 index 0000000..017a54e --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_admin_request_row.tpl @@ -0,0 +1,5 @@ +
+ +
getData('username')?>
+
getData('time')?>
+ \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/alliance_admin_request_table.tpl b/includes/application/design/scripts/deprecated/alliance_admin_request_table.tpl new file mode 100644 index 0000000..42d559d --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_admin_request_table.tpl @@ -0,0 +1,18 @@ +
+ + + + + getData('request')?> + + + + + + + getData('list')?> + + + +
getData('Apply_ally_overview')?> [getData('ally_tag')?>]
getData('There_is_hanging_request')?>
getData('Candidate')?>
getData('Date_of_the_request')?>
+
getData('Back')?>
diff --git a/includes/application/design/scripts/deprecated/alliance_ainfo.tpl b/includes/application/design/scripts/deprecated/alliance_ainfo.tpl new file mode 100644 index 0000000..f392326 --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_ainfo.tpl @@ -0,0 +1,25 @@ +
+ + + + +getData('ally_image')?> + + + + + + + + + + + + +getData('ally_description')?> + +getData('ally_web')?> + +getData('bewerbung')?> +
getData('Alliance_information')?>
getData('Tag')?>getData('ally_tag')?>
getData('Name')?>getData('ally_name')?>
getData('Members')?>getData('ally_member_scount')?>
+ \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/alliance_apply_waitform.tpl b/includes/application/design/scripts/deprecated/alliance_apply_waitform.tpl new file mode 100644 index 0000000..be6abb8 --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_apply_waitform.tpl @@ -0,0 +1,15 @@ +
+
+ + + + + + + + + + + +
getData('your_apply')?>
getData('request_text')?>
+
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/alliance_applyform.tpl b/includes/application/design/scripts/deprecated/alliance_applyform.tpl new file mode 100644 index 0000000..93df14c --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_applyform.tpl @@ -0,0 +1,25 @@ +
+

getData('Send_Apply')?>

+ + + + + + + + + + + + + + + + + + +
getData('Write_to_alliance')?>
getData('Message')?> (getData('chars_count')?> / 6000 getData('characters')?>)
getData('Help')?>
+ + + + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/alliance_circular.tpl b/includes/application/design/scripts/deprecated/alliance_circular.tpl new file mode 100644 index 0000000..bbb6e1c --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_circular.tpl @@ -0,0 +1,30 @@ +
+
+ + + + + + + + + + + + + + + + + +
getData('Send_circular_mail')?>
getData('Destiny')?> + +
getData('Text_mail')?> (0 / 5000 getData('characters')?>) + +
getData('Back')?> + + +
+
diff --git a/includes/application/design/scripts/deprecated/alliance_circular_form.tpl b/includes/application/design/scripts/deprecated/alliance_circular_form.tpl new file mode 100644 index 0000000..3b4e233 --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_circular_form.tpl @@ -0,0 +1,30 @@ +
+
+ + + + + + + + + + + + + + + + + +
getData('Send_circular_mail')?>
getData('Destiny')?> + +
getData('Text_mail')?> (0 / 5000 getData('characters')?>) + +
getData('Back')?> + + +
+
diff --git a/includes/application/design/scripts/deprecated/alliance_defaultmenu.tpl b/includes/application/design/scripts/deprecated/alliance_defaultmenu.tpl new file mode 100644 index 0000000..27cae6a --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_defaultmenu.tpl @@ -0,0 +1,11 @@ +
+ + + + + + + + +
getData('alliance')?>
getData('make_alliance_owner')?>getData('search_alliance')?>
+
diff --git a/includes/application/design/scripts/deprecated/alliance_frontpage.tpl b/includes/application/design/scripts/deprecated/alliance_frontpage.tpl new file mode 100644 index 0000000..8ff9d34 --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_frontpage.tpl @@ -0,0 +1,45 @@ +
+ + + + + + getData('ally_image')?> + + + + + + + + + + + + + + + + + + + getData('requests')?> + + getData('send_circular_mail')?> + + + + + + + + + + + + + +
getData('your_alliance')?>
getData('Tag')?>getData('ally_tag')?>
getData('Name')?>getData('ally_name')?>
getData('Members')?>getData('ally_members')?>getData('members_list')?>
getData('Range')?>getData('range')?>getData('alliance_admin')?>
getData('ally_description')?>
getData('Main_Page')?>getData('ally_web')?>
getData('Inner_section')?> +
getData('ally_text')?>
+ + getData('ally_owner')?> diff --git a/includes/application/design/scripts/deprecated/alliance_make.tpl b/includes/application/design/scripts/deprecated/alliance_make.tpl new file mode 100644 index 0000000..567ecf9 --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_make.tpl @@ -0,0 +1,21 @@ +
+
+ + + + + + + + + + + + + + + + +
getData('make_alliance')?>
getData('alliance_tag')?> (3-8 getData('characters')?>)
getData('allyance_name')?> (max. 35 getData('characters')?>)
+ +
diff --git a/templates/OpenGame/alliance_makeform.tpl b/includes/application/design/scripts/deprecated/alliance_makeform.tpl similarity index 100% rename from templates/OpenGame/alliance_makeform.tpl rename to includes/application/design/scripts/deprecated/alliance_makeform.tpl diff --git a/includes/application/design/scripts/deprecated/alliance_memberslist_row.tpl b/includes/application/design/scripts/deprecated/alliance_memberslist_row.tpl new file mode 100644 index 0000000..ddaa8dc --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_memberslist_row.tpl @@ -0,0 +1,11 @@ +
+ + getData('i')?> + getData('username')?> + <?php echo $this->getData('Write_a_message')?> + getData('ally_range')?> + getData('points')?> + getData('galaxy')?>:getData('system')?>:getData('planet')?> + getData('ally_register_time')?> + getData('onlinetime')?>/font> + diff --git a/includes/application/design/scripts/deprecated/alliance_memberslist_table.tpl b/includes/application/design/scripts/deprecated/alliance_memberslist_table.tpl new file mode 100644 index 0000000..38980f1 --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_memberslist_table.tpl @@ -0,0 +1,20 @@ +
+ + + + + + + + + + + + + + + getData('list')?> + + + +
getData('Members_list')?> (getData('Ammount')?>: getData('i')?>)
getData('Number')?>getData('Name')?>getData('Position')?>getData('Points')?>getData('Coordinated')?>getData('Member_from')?>getData('Online')?>
getData('Return_to_overview')?>
diff --git a/includes/application/design/scripts/deprecated/alliance_searchform.tpl b/includes/application/design/scripts/deprecated/alliance_searchform.tpl new file mode 100644 index 0000000..34a41b3 --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_searchform.tpl @@ -0,0 +1,10 @@ +
+ + + + + + + + +
getData('search_alliance')?>
getData('Search')?>
diff --git a/includes/application/design/scripts/deprecated/alliance_searchresult_row.tpl b/includes/application/design/scripts/deprecated/alliance_searchresult_row.tpl new file mode 100644 index 0000000..b6746fd --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_searchresult_row.tpl @@ -0,0 +1,6 @@ +
+ +
getData('ally_tag')?>
+
getData('ally_name')?>
+
getData('ally_members')?>
+ diff --git a/includes/application/design/scripts/deprecated/alliance_searchresult_table.tpl b/includes/application/design/scripts/deprecated/alliance_searchresult_table.tpl new file mode 100644 index 0000000..af2fa98 --- /dev/null +++ b/includes/application/design/scripts/deprecated/alliance_searchresult_table.tpl @@ -0,0 +1,10 @@ +
+ + + + +getData('result')?> + + +
getData('searched_alliance_availables')?> +
diff --git a/includes/application/design/scripts/deprecated/banned_body.tpl b/includes/application/design/scripts/deprecated/banned_body.tpl new file mode 100644 index 0000000..5a0e9bd --- /dev/null +++ b/includes/application/design/scripts/deprecated/banned_body.tpl @@ -0,0 +1,13 @@ +
+ + + + + + + + + + +getData('banned')?> +
getData('ban_title')?>
getData('ban_name')?>getData('ban_reason')?>getData('ban_from')?>getData('ban_to')?>getData('ban_by')?>
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/buildings_builds.tpl b/includes/application/design/scripts/deprecated/buildings_builds.tpl new file mode 100644 index 0000000..d6085b8 --- /dev/null +++ b/includes/application/design/scripts/deprecated/buildings_builds.tpl @@ -0,0 +1,15 @@ +
+
+getData('BuildListScript')?> + + getData('BuildList')?> + + + + + getData('BuildingsList')?> +
getData('bld_usedcells')?> + getData('planet_field_current')?> / getData('planet_field_max')?> getData('bld_theyare')?> getData('field_libre')?> getData('bld_cellfree')?> +
+
+
\ No newline at end of file diff --git a/templates/OpenGame/buildings_builds_queue_script.tpl b/includes/application/design/scripts/deprecated/buildings_builds_queue_script.tpl similarity index 73% rename from templates/OpenGame/buildings_builds_queue_script.tpl rename to includes/application/design/scripts/deprecated/buildings_builds_queue_script.tpl index 0994db3..7d042ac 100644 --- a/templates/OpenGame/buildings_builds_queue_script.tpl +++ b/includes/application/design/scripts/deprecated/buildings_builds_queue_script.tpl @@ -1,22 +1,22 @@
\ No newline at end of file diff --git a/templates/OpenGame/buildings_defense.tpl b/includes/application/design/scripts/deprecated/buildings_defense.tpl similarity index 66% rename from templates/OpenGame/buildings_defense.tpl rename to includes/application/design/scripts/deprecated/buildings_defense.tpl index 26a875c..ee402c5 100644 --- a/templates/OpenGame/buildings_defense.tpl +++ b/includes/application/design/scripts/deprecated/buildings_defense.tpl @@ -5,9 +5,9 @@
- {buildlist} + getData('buildlist')?> - +
@@ -15,5 +15,5 @@ -{buildinglist} +getData('buildinglist')?> \ No newline at end of file diff --git a/templates/OpenGame/buildings_fleet.tpl b/includes/application/design/scripts/deprecated/buildings_fleet.tpl similarity index 66% rename from templates/OpenGame/buildings_fleet.tpl rename to includes/application/design/scripts/deprecated/buildings_fleet.tpl index 73b2098..0ab1b2f 100644 --- a/templates/OpenGame/buildings_fleet.tpl +++ b/includes/application/design/scripts/deprecated/buildings_fleet.tpl @@ -5,9 +5,9 @@
- {buildlist} + getData('buildlist')?> - +
@@ -15,5 +15,5 @@ -{buildinglist} +getData('buildinglist')?> \ No newline at end of file diff --git a/templates/OpenGame/buildings_research.tpl b/includes/application/design/scripts/deprecated/buildings_research.tpl similarity index 50% rename from templates/OpenGame/buildings_research.tpl rename to includes/application/design/scripts/deprecated/buildings_research.tpl index bdfe6e0..080cc49 100644 --- a/templates/OpenGame/buildings_research.tpl +++ b/includes/application/design/scripts/deprecated/buildings_research.tpl @@ -1,12 +1,12 @@
-{noresearch} +getData('noresearch')?>
diff --git a/includes/application/design/scripts/deprecated/buildings_research_row.tpl b/includes/application/design/scripts/deprecated/buildings_research_row.tpl new file mode 100644 index 0000000..a7247a3 --- /dev/null +++ b/includes/application/design/scripts/deprecated/buildings_research_row.tpl @@ -0,0 +1,15 @@ + + + + + \ No newline at end of file diff --git a/templates/OpenGame/buildings_research_script.tpl b/includes/application/design/scripts/deprecated/buildings_research_script.tpl similarity index 59% rename from templates/OpenGame/buildings_research_script.tpl rename to includes/application/design/scripts/deprecated/buildings_research_script.tpl index 4ca6f64..af1cb87 100644 --- a/templates/OpenGame/buildings_research_script.tpl +++ b/includes/application/design/scripts/deprecated/buildings_research_script.tpl @@ -4,18 +4,18 @@ v = new Date(); var brp = document.getElementById('brp'); function t(){ n = new Date(); - ss = {tech_time}; + ss = getData('tech_time')?>; s = ss - Math.round( (n.getTime() - v.getTime()) / 1000.); m = 0; h = 0; if ( s < 0 ) { - brp.innerHTML = '{ready}
{continue}'; + brp.innerHTML = 'getData('ready')?>
getData('tech_home')?>>getData('continue')?>'; } else { if ( s > 59 ) { m = Math.floor( s / 60 ); s = s - m * 60; } if ( m > 59 ) { h = Math.floor( m / 60 ); m = m - h * 60; } if ( s < 10 ) { s = "0" + s } if ( m < 10 ) { m = "0" + m } - brp.innerHTML = h + ':' + m + ':' + s + '
{cancel}
{tech_name}
'; + brp.innerHTML = h + ':' + m + ':' + s + '
getData('tech_id')?>>getData('cancel')?>
getData('tech_name')?>
'; } window.setTimeout("t();",999); } diff --git a/templates/OpenGame/buildings_script.tpl b/includes/application/design/scripts/deprecated/buildings_script.tpl similarity index 95% rename from templates/OpenGame/buildings_script.tpl rename to includes/application/design/scripts/deprecated/buildings_script.tpl index 4ec624e..9e251a6 100644 --- a/templates/OpenGame/buildings_script.tpl +++ b/includes/application/design/scripts/deprecated/buildings_script.tpl @@ -4,7 +4,7 @@ + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/info_buildings_defense.tpl b/includes/application/design/scripts/deprecated/info_buildings_defense.tpl new file mode 100644 index 0000000..3c279ea --- /dev/null +++ b/includes/application/design/scripts/deprecated/info_buildings_defense.tpl @@ -0,0 +1,30 @@ +
- {technolist} + getData('technolist')?>
+ + + + getData('tech_name')?> getData('tech_level')?>
getData('tech_descr')?>
+ getData('tech_price')?> + getData('search_time')?> + getData('tech_restp')?> +
+ getData('tech_link')?> +
+ + + + + + + + + + + + + + + + + + + +
getData('nfo_title_head')?> getData('element_typ')?>
getData('nfo_name')?>getData('name')?>
+ + + + + + + +
getData('description')?>

getData('rf_info_to')?>getData('rf_info_from')?>
+
getData('nfo_struct_pt')?>getData('hull_pt')?>
getData('nfo_shielf_pt')?>getData('shield_pt')?>
getData('nfo_attack_pt')?>getData('attack_pt')?>
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/info_buildings_destroy.tpl b/includes/application/design/scripts/deprecated/info_buildings_destroy.tpl new file mode 100644 index 0000000..2dd53dd --- /dev/null +++ b/includes/application/design/scripts/deprecated/info_buildings_destroy.tpl @@ -0,0 +1,14 @@ +
+ + + + + + + + + + +
+ getData('nfo_destroy')?>: getData('name')?> getData('nfo_level')?> getData('levelvalue')?> ? +
getData('nfo_needed')?> : getData('nfo_metal')?>:getData('metal')?> getData('nfo_crysta')?>:getData('crystal')?> getData('nfo_deuter')?>:getData('deuterium')?>

getData('nfo_dest_durati')?>: getData('destroytime')?>
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/info_buildings_fleet.tpl b/includes/application/design/scripts/deprecated/info_buildings_fleet.tpl new file mode 100644 index 0000000..3e87a40 --- /dev/null +++ b/includes/application/design/scripts/deprecated/info_buildings_fleet.tpl @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
getData('nfo_title_head')?> getData('element_typ')?>
getData('nfo_name')?>getData('name')?>
+ + + + + + + +
getData('description')?>

getData('rf_info_to')?>getData('rf_info_fr')?>
+
getData('nfo_struct_pt')?>getData('hull_pt')?>
getData('nfo_shielf_pt')?>getData('shield_pt')?>
getData('nfo_attack_pt')?>getData('attack_pt')?>
getData('nfo_capacity')?>getData('capacity_pt')?> getData('nfo_units')?>
getData('nfo_base_speed')?>getData('base_speed')?> getData('upd_speed')?>
getData('nfo_consumption')?>getData('base_conso')?> getData('upd_conso')?>
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/info_buildings_general.tpl b/includes/application/design/scripts/deprecated/info_buildings_general.tpl new file mode 100644 index 0000000..f796559 --- /dev/null +++ b/includes/application/design/scripts/deprecated/info_buildings_general.tpl @@ -0,0 +1,18 @@ + + + + + + + + +
getData('name')?>
+ + + + + + + +
getData('description')?>
+
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/info_buildings_table.tpl b/includes/application/design/scripts/deprecated/info_buildings_table.tpl new file mode 100644 index 0000000..0b399c2 --- /dev/null +++ b/includes/application/design/scripts/deprecated/info_buildings_table.tpl @@ -0,0 +1,29 @@ + + + + + + + + + + +
getData('name')?>
+ + + + + + + +
getData('description')?>
+
+
+ + + getData('table_head')?> + getData('table_data')?> + +
+
+
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/info_officiers_general.tpl b/includes/application/design/scripts/deprecated/info_officiers_general.tpl new file mode 100644 index 0000000..a64a839 --- /dev/null +++ b/includes/application/design/scripts/deprecated/info_officiers_general.tpl @@ -0,0 +1,18 @@ + + + + + + + + +
getData('name')?>
+ + + + + + + +
getData('description')?>
+
\ No newline at end of file diff --git a/templates/OpenGame/install/ins_acc.tpl b/includes/application/design/scripts/deprecated/install/ins_acc.tpl similarity index 64% rename from templates/OpenGame/install/ins_acc.tpl rename to includes/application/design/scripts/deprecated/install/ins_acc.tpl index 2f76380..990f8db 100644 --- a/templates/OpenGame/install/ins_acc.tpl +++ b/includes/application/design/scripts/deprecated/install/ins_acc.tpl @@ -1,38 +1,38 @@ -
{ins_tx_acc1}
-{ins_tx_acc2}

+
getData('ins_tx_acc1')?>
+getData('ins_tx_acc2')?>

- + - + - + - + - +
{ins_acc_user}:getData('ins_acc_user')?>:
{ins_acc_pass}:getData('ins_acc_pass')?>:
{ins_acc_email}:getData('ins_acc_email')?>:
{ins_acc_planet}:getData('ins_acc_planet')?>:
{ins_acc_sex}:getData('ins_acc_sex')?>:
@@ -40,5 +40,5 @@ - + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/install/ins_acc_done.tpl b/includes/application/design/scripts/deprecated/install/ins_acc_done.tpl new file mode 100644 index 0000000..2e14361 --- /dev/null +++ b/includes/application/design/scripts/deprecated/install/ins_acc_done.tpl @@ -0,0 +1,9 @@ + + +
getData('ins_tx_done2')?>
+getData('ins_tx_done3')?>

+ + + + + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/install/ins_body.tpl b/includes/application/design/scripts/deprecated/install/ins_body.tpl new file mode 100644 index 0000000..295e294 --- /dev/null +++ b/includes/application/design/scripts/deprecated/install/ins_body.tpl @@ -0,0 +1,28 @@ +

+ + + + + + + + +getData('ins_page')?> + +
getData('ins_appname')?>getData('ins_tx_sys')?>
getData('ins_tx_state')?> getData('ins_state')?>
+ + + + + + + + + + + + + + + +
getData('ins_mnu_intro')?>
getData('ins_mnu_inst')?>
getData('ins_mnu_goto')?>
getData('ins_mnu_upgr')?>
getData('ins_mnu_quit')?>
\ No newline at end of file diff --git a/templates/OpenGame/install/ins_form.tpl b/includes/application/design/scripts/deprecated/install/ins_form.tpl similarity index 54% rename from templates/OpenGame/install/ins_form.tpl rename to includes/application/design/scripts/deprecated/install/ins_form.tpl index a361ecc..9b3b364 100644 --- a/templates/OpenGame/install/ins_form.tpl +++ b/includes/application/design/scripts/deprecated/install/ins_form.tpl @@ -1,27 +1,27 @@ -
{ins_tx_inst1}
-{ins_tx_inst2}
-{ins_tx_inst3}

+
getData('ins_tx_inst1')?>
+getData('ins_tx_inst2')?>
+getData('ins_tx_inst3')?>

- + - + - + - + - +
{ins_form_server}:getData('ins_form_server')?>:
{ins_form_db}:getData('ins_form_db')?>:
{ins_form_prefix}:getData('ins_form_prefix')?>:
{ins_form_login}:getData('ins_form_login')?>:
{ins_form_pass}:getData('ins_form_pass')?>:
@@ -29,5 +29,5 @@ - + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/install/ins_form_done.tpl b/includes/application/design/scripts/deprecated/install/ins_form_done.tpl new file mode 100644 index 0000000..3d9426d --- /dev/null +++ b/includes/application/design/scripts/deprecated/install/ins_form_done.tpl @@ -0,0 +1,8 @@ + + +

getData('ins_tx_done1')?>

+ + + + + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/install/ins_goto_done.tpl b/includes/application/design/scripts/deprecated/install/ins_goto_done.tpl new file mode 100644 index 0000000..55d1b13 --- /dev/null +++ b/includes/application/design/scripts/deprecated/install/ins_goto_done.tpl @@ -0,0 +1,9 @@ + + +
getData('ins_tx_done4')?>
+getData('ins_tx_done3')?>

+ + + + + \ No newline at end of file diff --git a/templates/OpenGame/install/ins_goto_form.tpl b/includes/application/design/scripts/deprecated/install/ins_goto_form.tpl similarity index 54% rename from templates/OpenGame/install/ins_goto_form.tpl rename to includes/application/design/scripts/deprecated/install/ins_goto_form.tpl index 1300ad2..0539d11 100644 --- a/templates/OpenGame/install/ins_goto_form.tpl +++ b/includes/application/design/scripts/deprecated/install/ins_goto_form.tpl @@ -1,27 +1,27 @@ -
{ins_tx_inst1}
-{ins_tx_goto4}
-{ins_tx_goto5}

+
getData('ins_tx_inst1')?>
+getData('ins_tx_goto4')?>
+getData('ins_tx_goto5')?>

- + - + - + - + - +
{ins_form_server}:getData('ins_form_server')?>:
{ins_form_db}:getData('ins_form_db')?>:
{ins_form_prefix}:getData('ins_form_prefix')?>:
{ins_form_login}:getData('ins_form_login')?>:
{ins_form_pass}:getData('ins_form_pass')?>:
@@ -29,5 +29,5 @@ - + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/install/ins_goto_intro.tpl b/includes/application/design/scripts/deprecated/install/ins_goto_intro.tpl new file mode 100644 index 0000000..16c01e9 --- /dev/null +++ b/includes/application/design/scripts/deprecated/install/ins_goto_intro.tpl @@ -0,0 +1,10 @@ + + +
getData('ins_tx_goto1')?>
+getData('ins_tx_goto2')?>
+getData('ins_tx_goto3')?>

+ + + + + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/install/ins_intro.tpl b/includes/application/design/scripts/deprecated/install/ins_intro.tpl new file mode 100644 index 0000000..fe25771 --- /dev/null +++ b/includes/application/design/scripts/deprecated/install/ins_intro.tpl @@ -0,0 +1,11 @@ + + +
getData('ins_tx_welco')?>
+getData('ins_tx_intr1')?>
+getData('ins_tx_intr2')?>
+getData('ins_tx_intr3')?>

+ + + + + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/left_menu.tpl b/includes/application/design/scripts/deprecated/left_menu.tpl new file mode 100644 index 0000000..1a5a0be --- /dev/null +++ b/includes/application/design/scripts/deprecated/left_menu.tpl @@ -0,0 +1,97 @@ +
+ + +
+ +
+ +
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/login_body.tpl b/includes/application/design/scripts/deprecated/login_body.tpl new file mode 100644 index 0000000..9ecb0ea --- /dev/null +++ b/includes/application/design/scripts/deprecated/login_body.tpl @@ -0,0 +1,68 @@ +
+ +
+
+
+ + + + + + + + + + +
+ getData('User_name')?> + getData('Password')?> +
+ getData('Remember_me')?> +
+ getData('PasswordLost')?> +
+
+
+
+ +
+
getData('log_welcome')?> getData('servername')?>
+
+
+
+
getData('servername')?> getData('log_desc')?> getData('servername')?>. +
+
+
getData('log_toreg')?>
+
+
+
getData('log_online')?>: +getData('online_users')?> - getData('log_lastreg')?>: +getData('last_user')?> - getData('log_numbreg')?>: getData('users_amount')?> +
+
+
+
+
+
+
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/lostpassword.tpl b/includes/application/design/scripts/deprecated/lostpassword.tpl new file mode 100644 index 0000000..4795998 --- /dev/null +++ b/includes/application/design/scripts/deprecated/lostpassword.tpl @@ -0,0 +1,29 @@ +
+

+

getData('ResetPass')?>
getData('servername')?>

+
+ + + + + + + + + + + + + + + + + + + +
getData('PassForm')?>
getData('TextPass1')?> getData('servername')?> getData('TextPass2')?>
getData('pseudo')?>:
getData('email')?>:
Retour a l'accueil
+ + +
+ +
diff --git a/includes/application/design/scripts/deprecated/marchand_cristal.tpl b/includes/application/design/scripts/deprecated/marchand_cristal.tpl new file mode 100644 index 0000000..5b55047 --- /dev/null +++ b/includes/application/design/scripts/deprecated/marchand_cristal.tpl @@ -0,0 +1,47 @@ + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
getData('mod_ma_buton')?>
getData('mod_ma_cours')?>
getData('Crystal')?>getData('mod_ma_res')?>
getData('Metal')?>getData('mod_ma_res_a')?>
getData('Deuterium')?>getData('mod_ma_res_b')?>
+
\ No newline at end of file diff --git a/templates/OpenGame/marchand_deuterium.tpl b/includes/application/design/scripts/deprecated/marchand_deuterium.tpl similarity index 50% rename from templates/OpenGame/marchand_deuterium.tpl rename to includes/application/design/scripts/deprecated/marchand_deuterium.tpl index ca94f7c..5ae3c6c 100644 --- a/templates/OpenGame/marchand_deuterium.tpl +++ b/includes/application/design/scripts/deprecated/marchand_deuterium.tpl @@ -3,17 +3,17 @@ function calcul() { var Metal = document.forms['marchand'].elements['metal'].value; var Cristal = document.forms['marchand'].elements['cristal'].value; - Metal = Metal * {mod_ma_res_a}; - Cristal = Cristal * {mod_ma_res_b}; + Metal = Metal * getData('mod_ma_res_a')?>; + Cristal = Cristal * getData('mod_ma_res_b')?>; var Deuterium = Metal + Cristal; document.getElementById("deut").innerHTML=Deuterium; if (isNaN(document.forms['marchand'].elements['metal'].value)) { - document.getElementById("deut").innerHTML="{mod_ma_nbre}"; + document.getElementById("deut").innerHTML="getData('mod_ma_nbre')?>"; } if (isNaN(document.forms['marchand'].elements['cristal'].value)) { - document.getElementById("deut").innerHTML="{mod_ma_nbre}"; + document.getElementById("deut").innerHTML="getData('mod_ma_nbre')?>"; } } @@ -23,25 +23,25 @@ function calcul() { - + - + - + - + - + - + - + - + - +
{mod_ma_buton}getData('mod_ma_buton')?>
{mod_ma_cours}getData('mod_ma_cours')?>
{Deuterium}getData('Deuterium')?> {mod_ma_res}getData('mod_ma_res')?>
{Metal}getData('Metal')?> {mod_ma_res_a}getData('mod_ma_res_a')?>
{Crystal}getData('Crystal')?> {mod_ma_res_b}getData('mod_ma_res_b')?>
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/marchand_main.tpl b/includes/application/design/scripts/deprecated/marchand_main.tpl new file mode 100644 index 0000000..b33b657 --- /dev/null +++ b/includes/application/design/scripts/deprecated/marchand_main.tpl @@ -0,0 +1,18 @@ +
+ +
+ + + + + +
getData('mod_ma_title')?> +
getData('mod_ma_typer')?> +
+ getData('mod_ma_rates')?>

+
+
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/marchand_metal.tpl b/includes/application/design/scripts/deprecated/marchand_metal.tpl new file mode 100644 index 0000000..817b148 --- /dev/null +++ b/includes/application/design/scripts/deprecated/marchand_metal.tpl @@ -0,0 +1,48 @@ + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
getData('mod_ma_buton')?>
getData('mod_ma_cours')?>
getData('Metal')?>getData('mod_ma_res')?>
getData('Crystal')?>getData('mod_ma_res_a')?>
getData('Deuterium')?>getData('mod_ma_res_b')?>
+
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/message_body.tpl b/includes/application/design/scripts/deprecated/message_body.tpl new file mode 100644 index 0000000..71c23f5 --- /dev/null +++ b/includes/application/design/scripts/deprecated/message_body.tpl @@ -0,0 +1,8 @@ +

+ + + + + + +

getData('title')?>

getData('mes')?>
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/messages_pm_form.tpl b/includes/application/design/scripts/deprecated/messages_pm_form.tpl new file mode 100644 index 0000000..056dd29 --- /dev/null +++ b/includes/application/design/scripts/deprecated/messages_pm_form.tpl @@ -0,0 +1,22 @@ + +
+
+
+ + + + + + + + + + + + + + + +
getData('Send_message')?>
getData('Recipient')?>
getData('Subject')?>
getData('Message')?>(0 / 5000 getData('characters')?>)
+
+
\ No newline at end of file diff --git a/templates/OpenGame/messages_pm_form_bb.tpl b/includes/application/design/scripts/deprecated/messages_pm_form_bb.tpl similarity index 70% rename from templates/OpenGame/messages_pm_form_bb.tpl rename to includes/application/design/scripts/deprecated/messages_pm_form_bb.tpl index 01fa31b..cc77064 100644 --- a/templates/OpenGame/messages_pm_form_bb.tpl +++ b/includes/application/design/scripts/deprecated/messages_pm_form_bb.tpl @@ -2,19 +2,19 @@
-
+ - + - - + + - - + + - - + + diff --git a/templates/OpenGame/multi.tpl b/includes/application/design/scripts/deprecated/multi.tpl similarity index 69% rename from templates/OpenGame/multi.tpl rename to includes/application/design/scripts/deprecated/multi.tpl index 821b3f9..66764e1 100644 --- a/templates/OpenGame/multi.tpl +++ b/includes/application/design/scripts/deprecated/multi.tpl @@ -1,9 +1,9 @@
-

{Declaration}

+

getData('Declaration')?>

{Send_message}getData('Send_message')?>
{Recipient}getData('Recipient')?>
{Subject}getData('Subject')?>
{Message}(0 / 5000 {characters})getData('Message')?>(0 / 5000 getData('characters')?>)
- + + + + + + diff --git a/includes/application/design/scripts/deprecated/notes_form.tpl b/includes/application/design/scripts/deprecated/notes_form.tpl new file mode 100644 index 0000000..fa79464 --- /dev/null +++ b/includes/application/design/scripts/deprecated/notes_form.tpl @@ -0,0 +1,36 @@ + + + getData('inputs')?> +
{DeclarationText}getData('DeclarationText')?>
diff --git a/includes/application/design/scripts/deprecated/notes_body.tpl b/includes/application/design/scripts/deprecated/notes_body.tpl new file mode 100644 index 0000000..e38ab0e --- /dev/null +++ b/includes/application/design/scripts/deprecated/notes_body.tpl @@ -0,0 +1,27 @@ + +
+ + + + + + + + + + + + + + + + getData('BODY_LIST')?> + + + + +
getData('Notes')?>
getData('MakeNewNote')?>
getData('Date')?>getData('Subject')?>getData('Size')?>
+ + + + diff --git a/includes/application/design/scripts/deprecated/notes_body_entry.tpl b/includes/application/design/scripts/deprecated/notes_body_entry.tpl new file mode 100644 index 0000000..c507374 --- /dev/null +++ b/includes/application/design/scripts/deprecated/notes_body_entry.tpl @@ -0,0 +1,12 @@ + + +
getData('NOTE_TIME')?> + + getData('NOTE_TITLE')?> + + getData('NOTE_TEXT')?>
+ + + + + + + + + + + + + + + + + + + +
getData('TITLE')?>
getData('Priority')?> + +
getData('Subject')?> + +
getData('Note')?> (getData('cntChars')?> / 5000 getData('characters')?>) + +
getData('Back')?> + + +
+ diff --git a/includes/application/design/scripts/deprecated/officier_body.tpl b/includes/application/design/scripts/deprecated/officier_body.tpl new file mode 100644 index 0000000..e7498e9 --- /dev/null +++ b/includes/application/design/scripts/deprecated/officier_body.tpl @@ -0,0 +1,9 @@ +
+
+ + + + +getData('disp_off_tbl')?> +
getData('off_points')?> getData('alv_points')?>
+
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/officier_rows.tpl b/includes/application/design/scripts/deprecated/officier_rows.tpl new file mode 100644 index 0000000..af4fa81 --- /dev/null +++ b/includes/application/design/scripts/deprecated/officier_rows.tpl @@ -0,0 +1,5 @@ + + + getData('off_tx_lvl')?> getData('off_lvl')?>getData('off_desc')?> + getData('off_link')?> + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/options_admadd.tpl b/includes/application/design/scripts/deprecated/options_admadd.tpl new file mode 100644 index 0000000..ec8b3fe --- /dev/null +++ b/includes/application/design/scripts/deprecated/options_admadd.tpl @@ -0,0 +1,6 @@ + + getData('opt_adm_title')?> + + getData('opt_adm_planet_prot')?> + getData('adm_pl_prot_data')?> type="checkbox" /> + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/options_body.tpl b/includes/application/design/scripts/deprecated/options_body.tpl new file mode 100644 index 0000000..4e2a0c3 --- /dev/null +++ b/includes/application/design/scripts/deprecated/options_body.tpl @@ -0,0 +1,108 @@ +
+

+
+ + +getData('opt_adm_frame')?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
getData('userdata')?>
getData('username')?>
getData('lastpassword')?>
getData('newpassword')?>
getData('newpasswordagain')?>
getData('emaildir')?>
getData('permanentemaildir')?>getData('opt_mail2_data')?>
getData('general_settings')?>
getData('opt_lst_ord')?> + +
getData('opt_lst_cla')?> + +
getData('skins_example')?>
getData('Download')?>

+ +
getData('opt_chk_skin')?>getData('opt_sskin_data')?> type="checkbox">
getData('avatar_example')?>
getData('Search')?>
getData('untoggleip')?>getData('opt_noipc_data')?> type="checkbox" />
getData('galaxyvision_options')?>
getData('spy_cant')?>
getData('tooltip_time')?> getData('seconds')?>
getData('mess_ammount_max')?>
getData('show_ally_logo')?>getData('opt_allyl_data')?> type="checkbox" />
getData('shortcut')?>getData('show')?>
getData('spy')?>getData('user_settings_esp')?> type="checkbox" />
getData('write_a_messege')?>getData('user_settings_wri')?> type="checkbox" />
getData('add_to_buddylist')?>getData('user_settings_bud')?> type="checkbox" />
getData('attack_with_missile')?>getData('user_settings_mis')?> type="checkbox" />
getData('show_report')?>getData('user_settings_rep')?> type="checkbox" />
getData('delete_vacations')?>
getData('mode_vacations')?>getData('opt_modev_data')?> type="checkbox" />
getData('deleteaccount')?>getData('opt_delac_data')?> type="checkbox" />
+
+
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/options_body_vmode.tpl b/includes/application/design/scripts/deprecated/options_body_vmode.tpl new file mode 100644 index 0000000..29cf4ab --- /dev/null +++ b/includes/application/design/scripts/deprecated/options_body_vmode.tpl @@ -0,0 +1,17 @@ +
+

+ + + + + + + + + + + + +
getData('Vaccation_mode')?> getData('vacation_until')?>
getData('exit_vacations')?>
getData('opt_modev_exit')?>/>
+ +
diff --git a/templates/OpenGame/overall_footer.tpl b/includes/application/design/scripts/deprecated/overall_footer.tpl similarity index 100% rename from templates/OpenGame/overall_footer.tpl rename to includes/application/design/scripts/deprecated/overall_footer.tpl diff --git a/includes/application/design/scripts/deprecated/overview_body.tpl b/includes/application/design/scripts/deprecated/overview_body.tpl new file mode 100644 index 0000000..215bf37 --- /dev/null +++ b/includes/application/design/scripts/deprecated/overview_body.tpl @@ -0,0 +1,60 @@ + +
+ + + getData('Have_new_message')?> + getData('Have_new_level_mineur')?> + getData('Have_new_level_raid')?> + + + + + getData('NewsFrame')?> + + + getData('fleet_list')?> + + + + + + + + + + + + + + + + + + + + + getData('bannerframe')?> + getData('ExternalTchatFrame')?> +
getData('Planet')?> "getData('planet_name')?>" (getData('user_username')?>)
getData('Server_time')?>
getData('MembersOnline')?>getData('NumberMembersOnline')?>
getData('Events')?>
getData('moon_img')?>
getData('moon')?>

getData('building')?>
getData('anothers_planets')?>
getData('Diameter')?>getData('planet_diameter')?> km (getData('planet_field_current')?> / getData('planet_field_max')?> getData('fields')?>)
getData('Developed_fields')?>
getData('case_pourcentage')?>
getData('ov_off_level')?> + +
getData('ov_off_mines')?> : getData('lvl_minier')?>getData('ov_off_raids')?> : getData('lvl_raid')?>
getData('ov_off_expe')?> + +
getData('ov_off_mines')?> : getData('xpminier')?> / getData('lvl_up_minier')?>getData('ov_off_raids')?> : getData('xpraid')?> / getData('lvl_up_raid')?>
getData('Temperature')?>getData('ov_temp_from')?> getData('planet_temp_min')?>getData('ov_temp_unit')?> getData('ov_temp_to')?> getData('planet_temp_max')?>getData('ov_temp_unit')?>
getData('Position')?>[getData('galaxy_galaxy')?>:getData('galaxy_system')?>:getData('galaxy_planet')?>]
getData('ov_local_cdr')?>getData('Metal')?> : getData('metal_debris')?> / getData('Crystal')?> : getData('crystal_debris')?>getData('get_link')?>
getData('Points')?> + + + + + + + + +
getData('ov_pts_build')?> :getData('user_points')?>
getData('ov_pts_fleet')?> :getData('user_fleet')?>
getData('ov_pts_reche')?> :getData('player_points_tech')?>
getData('ov_pts_total')?> :getData('total_points')?>
(getData('Rank')?> getData('user_rank')?> getData('of')?> getData('max_users')?>)
getData('Raids')?> + + + + + +
getData('NumberOfRaids')?> :getData('raids')?>
getData('RaidsWin')?> :getData('raidswin')?>
getData('RaidsLoose')?> :getData('raidsloose')?>
+
+getData('ClickBanner')?> +
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/overview_deleteplanet.tpl b/includes/application/design/scripts/deprecated/overview_deleteplanet.tpl new file mode 100644 index 0000000..d4bce24 --- /dev/null +++ b/includes/application/design/scripts/deprecated/overview_deleteplanet.tpl @@ -0,0 +1,16 @@ +

getData('ov_rena_dele')?>

+
+ + + + + + + + + + +
getData('security_query')?>
getData('confirm_planet_delete')?> getData('galaxy_galaxy')?>:getData('galaxy_system')?>:getData('galaxy_planet')?> getData('confirmed_with_password')?>
getData('password')?>
+ + +
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/overview_fleet_event.tpl b/includes/application/design/scripts/deprecated/overview_fleet_event.tpl new file mode 100644 index 0000000..d8f6715 --- /dev/null +++ b/includes/application/design/scripts/deprecated/overview_fleet_event.tpl @@ -0,0 +1,10 @@ + + getData('fleet_javai')?> + +
-
+ getData('fleet_time')?> + + getData('fleet_descr')?> + + getData('fleet_javas')?> + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/overview_renameplanet.tpl b/includes/application/design/scripts/deprecated/overview_renameplanet.tpl new file mode 100644 index 0000000..968b4be --- /dev/null +++ b/includes/application/design/scripts/deprecated/overview_renameplanet.tpl @@ -0,0 +1,25 @@ +
+
+

getData('rename_and_abandon_planet')?>

+
+ + + + + + + + + + + + + + + + +
getData('your_planet')?>
getData('coords')?>getData('name')?>getData('functions')?>
getData('galaxy_galaxy')?>:getData('galaxy_system')?>:getData('galaxy_planet')?>getData('planet_name')?>
getData('namer')?>
+
+
+ + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/phalanx_body.tpl b/includes/application/design/scripts/deprecated/phalanx_body.tpl new file mode 100644 index 0000000..4906185 --- /dev/null +++ b/includes/application/design/scripts/deprecated/phalanx_body.tpl @@ -0,0 +1,9 @@ +getData('phl_er_deuter')?> + + + + + + +getData('phl_fleets_table')?> +
getData('phl_tbl_title')?> [getData('phl_pl_galaxy')?>:getData('phl_pl_system')?>:getData('phl_pl_place')?>] (getData('phl_pl_name')?>)
getData('phl_tbl_moves')?>
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/records_body.tpl b/includes/application/design/scripts/deprecated/records_body.tpl new file mode 100644 index 0000000..adde697 --- /dev/null +++ b/includes/application/design/scripts/deprecated/records_body.tpl @@ -0,0 +1,12 @@ +
+
+ + +getData('building')?> +getData('buildspe')?> +getData('research')?> +getData('fleet')?> +getData('defenses')?> + +
+
diff --git a/includes/application/design/scripts/deprecated/records_section_header.tpl b/includes/application/design/scripts/deprecated/records_section_header.tpl new file mode 100644 index 0000000..0b8aac4 --- /dev/null +++ b/includes/application/design/scripts/deprecated/records_section_header.tpl @@ -0,0 +1,5 @@ + + getData('section')?> + getData('player')?> + getData('level')?> + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/records_section_rows.tpl b/includes/application/design/scripts/deprecated/records_section_rows.tpl new file mode 100644 index 0000000..1385e74 --- /dev/null +++ b/includes/application/design/scripts/deprecated/records_section_rows.tpl @@ -0,0 +1,5 @@ + + getData('element')?> + getData('winner')?> + getData('count')?> + \ No newline at end of file diff --git a/templates/OpenGame/registry_form.tpl b/includes/application/design/scripts/deprecated/registry_form.tpl similarity index 56% rename from templates/OpenGame/registry_form.tpl rename to includes/application/design/scripts/deprecated/registry_form.tpl index 053f516..1333912 100644 --- a/templates/OpenGame/registry_form.tpl +++ b/includes/application/design/scripts/deprecated/registry_form.tpl @@ -1,51 +1,51 @@


-

{registry}
{servername}

+

getData('registry')?>
getData('servername')?>

- + - + - + - + - + - + -{code_secu} - +getData('code_secu')?> + - + getData('accept')?> +
{form}getData('form')?>
{GameName}getData('GameName')?>
{neededpass}getData('neededpass')?>
{E-Mail}getData('E-Mail')?>
{MainPlanet}getData('MainPlanet')?>
{Sex}getData('Sex')?>
{affiche}getData('affiche')?>
- {accept}
diff --git a/includes/application/design/scripts/deprecated/resources.tpl b/includes/application/design/scripts/deprecated/resources.tpl new file mode 100644 index 0000000..beb7130 --- /dev/null +++ b/includes/application/design/scripts/deprecated/resources.tpl @@ -0,0 +1,104 @@ +
+
+ + + + + + + + + + + + + + + + + +getData('resource_row')?> + + + + + + + + + + + + + + + +
getData('Production_of_resources_in_the_planet')?>
getData('Metal')?>getData('Crystal')?>getData('Deuterium')?>getData('Energy')?>
getData('Basic_income')?>getData('metal_basic_income')?>getData('crystal_basic_income')?>getData('deuterium_basic_income')?>getData('energy_basic_income')?>
getData('Stores_capacity')?>getData('metal_max')?>getData('crystal_max')?>getData('deuterium_max')?>-
Total:getData('metal_total')?>getData('crystal_total')?>getData('deuterium_total')?>getData('energy_total')?>
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
getData('Widespread_production')?>
 getData('Daily')?>getData('Weekly')?>getData('Monthly')?>
getData('Metal')?>getData('daily_metal')?>getData('weekly_metal')?>getData('monthly_metal')?>
getData('Crystal')?>getData('daily_crystal')?>getData('weekly_crystal')?>getData('monthly_crystal')?>
getData('Deuterium')?>getData('daily_deuterium')?>getData('weekly_deuterium')?>getData('monthly_deuterium')?>
+
+ + + + + + + + + + + + + + + + + + +
getData('Storage_state')?>
getData('Metal')?>getData('metal_storage')?> +
+
+   +
+
+
getData('Crystal')?>getData('crystal_storage')?> +
+
+   +
+
+
getData('Deuterium')?>getData('deuterium_storage')?> +
+
+   +
+
+
+
\ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/resources_row.tpl b/includes/application/design/scripts/deprecated/resources_row.tpl new file mode 100644 index 0000000..6c9ce84 --- /dev/null +++ b/includes/application/design/scripts/deprecated/resources_row.tpl @@ -0,0 +1,12 @@ + + getData('type')?> (getData('level')?> getData('level_type')?>) + getData('metal_type')?> + getData('crystal_type')?> + getData('deuterium_type')?> + getData('energy_type')?> + + + + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/rules_body.tpl b/includes/application/design/scripts/deprecated/rules_body.tpl new file mode 100644 index 0000000..4b3dac5 --- /dev/null +++ b/includes/application/design/scripts/deprecated/rules_body.tpl @@ -0,0 +1,120 @@ +

+ + + + + + + +
getData('rules')?> getData('servername')?>
getData('respectrules')?>
+

+ + + + + + + + +
getData('Account')?>
- getData('AccountText')?>
- getData('AccountText2')?>
+

+ + + + + + + + +
getData('MultiAccount')?>
- getData('MultiAccountText')?>
- getData('MultiAccountText2')?>
- getData('MultiAccountText3')?>
+

+ + + + + + + + +
getData('Sitting')?>
getData('SittingText')?>
- getData('SittingText2')?>
- getData('SittingText3')?>
- getData('SittingText4')?>
- getData('SittingText5')?>
- getData('SittingText6')?>
- getData('SittingText7')?>
- getData('SittingText8')?>
- getData('SittingText9')?>

getData('SittingText10')?>
- getData('SittingText11')?>
- getData('SittingText12')?>
- getData('SittingText13')?>
- getData('SittingText14')?>
- getData('SittingText15')?>
+

+ + + + + + + + +
getData('Trade')?>
getData('TradeText')?>
getData('TradeText2')?>
+

+ + + + + + + + +
getData('Bash')?>
- getData('BashText')?>
- getData('BashText2')?>

getData('exception')?>
- getData('BashExepText')?>
- getData('BashExepText2')?>
- getData('BashExepText3')?>
+

+ + + + + + + + +
getData('Push')?>
getData('PushText')?>
- getData('PushText2')?>
- getData('PushText3')?>
- getData('PushText4')?>
- getData('PushText5')?>

getData('exemple')?>
- getData('PushEx')?>
- getData('PushEx2')?>

getData('recyclage')?>
- getData('PushRec')?>

getData('mercenariat')?>
- getData('PushMer')?>
- getData('PushMer2')?>
+

+ + + + + + + + +
getData('Bugusing')?>
-getData('BugusingText')?>
- getData('BugusingText2')?>
- getData('BugusingText3')?>
- getData('BugusingText4')?>
+

+ + + + + + + + +
getData('MailIngame')?>
getData('MailIngameText')?>
+

+ + + + + + + + +
getData('OutXnova')?>
getData('OutText')?>
+

+ + + + + + + + +
getData('Spam')?>
getData('SpamText')?>
+ + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/search_ally_row.tpl b/includes/application/design/scripts/deprecated/search_ally_row.tpl new file mode 100644 index 0000000..3f0b723 --- /dev/null +++ b/includes/application/design/scripts/deprecated/search_ally_row.tpl @@ -0,0 +1,7 @@ + + + getData('ally_tag')?> + getData('ally_name')?> + getData('ally_members')?> + getData('ally_points')?> + diff --git a/includes/application/design/scripts/deprecated/search_ally_table.tpl b/includes/application/design/scripts/deprecated/search_ally_table.tpl new file mode 100644 index 0000000..d871802 --- /dev/null +++ b/includes/application/design/scripts/deprecated/search_ally_table.tpl @@ -0,0 +1,10 @@ + + + + + + + + +getData('result_list')?> +
getData('Tag')?>getData('Name')?>getData('Members')?>getData('Points')?>
diff --git a/includes/application/design/scripts/deprecated/search_body.tpl b/includes/application/design/scripts/deprecated/search_body.tpl new file mode 100644 index 0000000..9fc8efa --- /dev/null +++ b/includes/application/design/scripts/deprecated/search_body.tpl @@ -0,0 +1,25 @@ +
+
+ + + + + + + + +
getData('Search_in_all_game')?>
+ +    + +    + + +
+
+getData('search_results')?> diff --git a/includes/application/design/scripts/deprecated/search_user_row.tpl b/includes/application/design/scripts/deprecated/search_user_row.tpl new file mode 100644 index 0000000..13fbb2a --- /dev/null +++ b/includes/application/design/scripts/deprecated/search_user_row.tpl @@ -0,0 +1,10 @@ + + + getData('username')?> + <?php echo $this->getData('write_a_messege')?> <?php echo $this->getData('buddy_request')?> + getData('ally_name')?> + getData('planet_name')?> + getData('coordinated')?> + getData('position')?> + + diff --git a/includes/application/design/scripts/deprecated/search_user_table.tpl b/includes/application/design/scripts/deprecated/search_user_table.tpl new file mode 100644 index 0000000..ef20158 --- /dev/null +++ b/includes/application/design/scripts/deprecated/search_user_table.tpl @@ -0,0 +1,12 @@ + + + + + + + + + + +getData('result_list')?> +
getData('Name')?> getData('Alliance')?>getData('Planet')?>getData('Coordinated')?>getData('Position')?>
diff --git a/includes/application/design/scripts/deprecated/serv_infos.tpl b/includes/application/design/scripts/deprecated/serv_infos.tpl new file mode 100644 index 0000000..6e809d3 --- /dev/null +++ b/includes/application/design/scripts/deprecated/serv_infos.tpl @@ -0,0 +1,16 @@ + + getData('lm_ifo_game')?> + x getData('lm_tx_game')?> + + + getData('lm_ifo_fleet')?> + x getData('lm_tx_fleet')?> + + + getData('lm_ifo_serv')?> + x getData('lm_tx_serv')?> + + + getData('lm_ifo_queue')?> + getData('lm_tx_queue')?> + \ No newline at end of file diff --git a/templates/OpenGame/simple_footer.tpl b/includes/application/design/scripts/deprecated/simple_footer.tpl similarity index 100% rename from templates/OpenGame/simple_footer.tpl rename to includes/application/design/scripts/deprecated/simple_footer.tpl diff --git a/includes/application/design/scripts/deprecated/simple_header.tpl b/includes/application/design/scripts/deprecated/simple_header.tpl new file mode 100644 index 0000000..44aa374 --- /dev/null +++ b/includes/application/design/scripts/deprecated/simple_header.tpl @@ -0,0 +1,10 @@ + + +<?php echo $this->getData('title')?> + +getData('-style-')?> + +getData('-meta-')?> + + +getData('-body-')?> diff --git a/includes/application/design/scripts/deprecated/stat_alliancetable.tpl b/includes/application/design/scripts/deprecated/stat_alliancetable.tpl new file mode 100644 index 0000000..6f9d4ca --- /dev/null +++ b/includes/application/design/scripts/deprecated/stat_alliancetable.tpl @@ -0,0 +1,9 @@ + + getData('ally_rank')?> + getData('ally_rankplus')?> + getData('ally_name')?> + getData('ally_mes')?> + getData('ally_members')?> + getData('ally_points')?> + getData('ally_members_points')?> + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/stat_alliancetable_header.tpl b/includes/application/design/scripts/deprecated/stat_alliancetable_header.tpl new file mode 100644 index 0000000..b643f07 --- /dev/null +++ b/includes/application/design/scripts/deprecated/stat_alliancetable_header.tpl @@ -0,0 +1,9 @@ + + getData('Position')?> + getData('Difference')?> + getData('Alliance')?> +   + getData('Members')?> + getData('Points')?> + getData('PerMember')?> + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/stat_body.tpl b/includes/application/design/scripts/deprecated/stat_body.tpl new file mode 100644 index 0000000..2c24282 --- /dev/null +++ b/includes/application/design/scripts/deprecated/stat_body.tpl @@ -0,0 +1,31 @@ +
+
+
+ + + + + + +
getData('stat_title')?>: getData('stat_date')?>
+ + + + + + + + + + + +
 getData('stat_show')?>  getData('stat_by')?>  getData('stat_range')?>  
+
+
+ +getData('stat_header')?> +getData('stat_values')?> +
+
+ + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/stat_playertable.tpl b/includes/application/design/scripts/deprecated/stat_playertable.tpl new file mode 100644 index 0000000..bd5628f --- /dev/null +++ b/includes/application/design/scripts/deprecated/stat_playertable.tpl @@ -0,0 +1,8 @@ + + getData('player_rank')?> + getData('player_rankplus')?> + getData('player_name')?> + getData('player_mes')?> + getData('player_alliance')?> + getData('player_points')?> + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/stat_playertable_header.tpl b/includes/application/design/scripts/deprecated/stat_playertable_header.tpl new file mode 100644 index 0000000..1f4f0a1 --- /dev/null +++ b/includes/application/design/scripts/deprecated/stat_playertable_header.tpl @@ -0,0 +1,8 @@ + + getData('Position')?> + getData('Difference')?> + getData('Player')?> +   + getData('Alliance')?> + getData('Points')?> + \ No newline at end of file diff --git a/templates/OpenGame/statjoueur.tpl b/includes/application/design/scripts/deprecated/statjoueur.tpl similarity index 69% rename from templates/OpenGame/statjoueur.tpl rename to includes/application/design/scripts/deprecated/statjoueur.tpl index e076ab4..dca0705 100644 --- a/templates/OpenGame/statjoueur.tpl +++ b/includes/application/design/scripts/deprecated/statjoueur.tpl @@ -4,7 +4,7 @@
Statistique Personnel -{raid} +getData('raid')?> diff --git a/templates/OpenGame/techtree_body.tpl b/includes/application/design/scripts/deprecated/techtree_body.tpl similarity index 53% rename from templates/OpenGame/techtree_body.tpl rename to includes/application/design/scripts/deprecated/techtree_body.tpl index 0a313ab..3085753 100644 --- a/templates/OpenGame/techtree_body.tpl +++ b/includes/application/design/scripts/deprecated/techtree_body.tpl @@ -1,6 +1,6 @@
- {techtree_list} + getData('techtree_list')?>
\ No newline at end of file diff --git a/templates/OpenGame/techtree_details.tpl b/includes/application/design/scripts/deprecated/techtree_details.tpl similarity index 67% rename from templates/OpenGame/techtree_details.tpl rename to includes/application/design/scripts/deprecated/techtree_details.tpl index 7c08c32..948b518 100644 --- a/templates/OpenGame/techtree_details.tpl +++ b/includes/application/design/scripts/deprecated/techtree_details.tpl @@ -1,11 +1,11 @@
- + -{Liste} +getData('Liste')?>
{Name}getData('Name')?>
1
@@ -13,7 +13,7 @@ - {te_dt_tx_pre} '{te_dt_name}' + getData('te_dt_tx_pre')?> 'getData('te_dt_name')?>' diff --git a/includes/application/design/scripts/deprecated/techtree_head.tpl b/includes/application/design/scripts/deprecated/techtree_head.tpl new file mode 100644 index 0000000..33406fc --- /dev/null +++ b/includes/application/design/scripts/deprecated/techtree_head.tpl @@ -0,0 +1,4 @@ + + getData('tt_name')?> + getData('Requirements')?> + \ No newline at end of file diff --git a/includes/application/design/scripts/deprecated/techtree_row.tpl b/includes/application/design/scripts/deprecated/techtree_row.tpl new file mode 100644 index 0000000..df086b1 --- /dev/null +++ b/includes/application/design/scripts/deprecated/techtree_row.tpl @@ -0,0 +1,17 @@ + + + + + + + +
getData('tt_name')?>getData('tt_detail')?>
+ + + + + + +
getData('required_list')?>
+ + \ No newline at end of file diff --git a/templates/OpenGame/teleport.tpl b/includes/application/design/scripts/deprecated/teleport.tpl similarity index 89% rename from templates/OpenGame/teleport.tpl rename to includes/application/design/scripts/deprecated/teleport.tpl index 0698788..c444e54 100644 --- a/templates/OpenGame/teleport.tpl +++ b/includes/application/design/scripts/deprecated/teleport.tpl @@ -11,4 +11,4 @@ - - - {ships} \ No newline at end of file + getData('ships')?> \ No newline at end of file diff --git a/templates/OpenGame/tradingscrapmetal.tpl b/includes/application/design/scripts/deprecated/tradingscrapmetal.tpl similarity index 54% rename from templates/OpenGame/tradingscrapmetal.tpl rename to includes/application/design/scripts/deprecated/tradingscrapmetal.tpl index 6d1c9fc..47a7885 100644 --- a/templates/OpenGame/tradingscrapmetal.tpl +++ b/includes/application/design/scripts/deprecated/tradingscrapmetal.tpl @@ -3,8 +3,8 @@ function calc_resources() { - var regain_kristal = {crystal} * 1; - var max_number = {max_spy_probe}; + var regain_kristal = getData('crystal')?> * 1; + var max_number = getData('max_spy_probe')?>; var num = parseInt(document.getElementById('numscrap').value); if (num < 0){ @@ -25,23 +25,23 @@ function calc_resources()
- + - + - + + + / getData('max_spy_probe')?> - + - +
{Intergalactic_merchant}
getData('Intergalactic_merchant')?>

{Merchant_text_decript}

getData('Merchant_text_decript')?>

{How_much_want_exchange}getData('How_much_want_exchange')?> - - / {max_spy_probe}
{Merchant_give_you}getData('Merchant_give_you')?>
diff --git a/templates/OpenGame/tradingscrapmetal_n.tpl b/includes/application/design/scripts/deprecated/tradingscrapmetal_n.tpl similarity index 100% rename from templates/OpenGame/tradingscrapmetal_n.tpl rename to includes/application/design/scripts/deprecated/tradingscrapmetal_n.tpl diff --git a/templates/OpenGame/usr_banned.tpl b/includes/application/design/scripts/deprecated/usr_banned.tpl similarity index 100% rename from templates/OpenGame/usr_banned.tpl rename to includes/application/design/scripts/deprecated/usr_banned.tpl diff --git a/templates/OpenGame/usuw_body.tpl b/includes/application/design/scripts/deprecated/usuw_body.tpl similarity index 76% rename from templates/OpenGame/usuw_body.tpl rename to includes/application/design/scripts/deprecated/usuw_body.tpl index de67347..ead833c 100644 --- a/templates/OpenGame/usuw_body.tpl +++ b/includes/application/design/scripts/deprecated/usuw_body.tpl @@ -2,7 +2,7 @@

-
+ - + diff --git a/templates/OpenGame/zglos.tpl b/includes/application/design/scripts/deprecated/zglos.tpl similarity index 100% rename from templates/OpenGame/zglos.tpl rename to includes/application/design/scripts/deprecated/zglos.tpl diff --git a/includes/application/design/scripts/empire/planet/buildings.phtml b/includes/application/design/scripts/empire/planet/buildings.phtml new file mode 100644 index 0000000..c2f2df7 --- /dev/null +++ b/includes/application/design/scripts/empire/planet/buildings.phtml @@ -0,0 +1,20 @@ +
+

__('Buildings')?>

+ +
+ getPartial('item-list.items')->render()?> +
+ + + +
\ No newline at end of file diff --git a/includes/application/design/scripts/empire/planet/buildings/item.phtml b/includes/application/design/scripts/empire/planet/buildings/item.phtml new file mode 100644 index 0000000..d2f18e4 --- /dev/null +++ b/includes/application/design/scripts/empire/planet/buildings/item.phtml @@ -0,0 +1,18 @@ + +
+

escape($this->getName())?> (renderNumber($this->getLevel())?>)

+
+
+ +
+

getDescription()?>

+
    + getResourcesNeeded() as $resourceId => $resourceValue):?> +
  • getResourceName($resourceId)?>renderNumber($resourceValue)?>
  • + +
+
+ +
\ No newline at end of file diff --git a/includes/application/design/scripts/empire/planet/buildings/queue.phtml b/includes/application/design/scripts/empire/planet/buildings/queue.phtml new file mode 100644 index 0000000..b3d9bbc --- /dev/null +++ b/includes/application/design/scripts/empire/planet/buildings/queue.phtml @@ -0,0 +1 @@ + +

__('Shipyard')?>

+ +
+ getPartial('item-list.items')->render()?> +
+ + + + \ No newline at end of file diff --git a/includes/application/design/scripts/empire/planet/shipyard/item.phtml b/includes/application/design/scripts/empire/planet/shipyard/item.phtml new file mode 100644 index 0000000..3fbdd74 --- /dev/null +++ b/includes/application/design/scripts/empire/planet/shipyard/item.phtml @@ -0,0 +1,20 @@ + +
+

escape($this->getName())?> (renderNumber($this->getQty())?>)

+
+
+ +
+

getDescription()?>

+
    + getResourcesNeeded() as $resourceId => $resourceValue):?> +
  • getResourceName($resourceId)?>renderNumber($resourceValue)?>
  • + +
+
+ +
\ No newline at end of file diff --git a/includes/application/design/scripts/empire/planet/shipyard/queue.phtml b/includes/application/design/scripts/empire/planet/shipyard/queue.phtml new file mode 100644 index 0000000..b3d9bbc --- /dev/null +++ b/includes/application/design/scripts/empire/planet/shipyard/queue.phtml @@ -0,0 +1 @@ + +

escape($this->getData('title'))?>

+

escape($this->getData('message'))?>

+ \ No newline at end of file diff --git a/includes/application/locale/en_US/Legacies_User.csv b/includes/application/locale/en_US/Legacies_User.csv new file mode 100644 index 0000000..d3a214e --- /dev/null +++ b/includes/application/locale/en_US/Legacies_User.csv @@ -0,0 +1,7 @@ +"Your session has expired, please login.","Your session has expired, please login." +"Your username or credential is invalid, please check your input.","Your username or credential is invalid, please check your input." +"No such user.","No such user." +"You were banned, please contact admin for more information.","You were banned, please contact admin for more information." +"You have 1 unread message.","You have 1 unread message." +"You have %1$d unread messages.","You have %1$d unread messages." +"You have ""%1$d"" unread messages.","You have ""%1$d"" unread messages." \ No newline at end of file diff --git a/includes/application/locale/fr_FR/Legacies_User.csv b/includes/application/locale/fr_FR/Legacies_User.csv index 5543a04..4488a74 100644 --- a/includes/application/locale/fr_FR/Legacies_User.csv +++ b/includes/application/locale/fr_FR/Legacies_User.csv @@ -1,6 +1,7 @@ -"Your session has expired, please login.","Votre session a expiré, veuillez vous identifier de nouveau." -"Your username or credential is invalid, please check your input.","Your username or credential is invalid, please check your input." -"No such user.","No such user." -"You were banned, please contact admin for more information.","You were banned, please contact admin for more information." -"You have 1 unread message.","Vous avez un message non lu." -"You have %1$d unread messages.","Vous avez %1$d messages non lus." \ No newline at end of file +"Your session has expired, please login.","Votre session a expiré, veuillez vous reconnecter." +"Your username or credential is invalid, please check your input.","Votre nom d'utilisateur ou votre mot de passe n'est pas valide, veuillez vérifier votre saisie." +"No such user.","Cet utilisateur n'existe pas." +"You were banned, please contact admin for more information.","Vous ont été banni, veuillez contacter l'admin pour plus d'informations." +"You have 1 unread message.","Vous avez 1 message non lu." +"You have %1$d unread messages.","Vous avez %1$d messages non lus." +"You have ""%1$d"" unread messages.","Vous avez ""%1$d"" messages non lus." diff --git a/includes/application/test/UpdatePlanet.php b/includes/application/test/UpdatePlanet.php index 3e1815e..9cdec3f 100644 --- a/includes/application/test/UpdatePlanet.php +++ b/includes/application/test/UpdatePlanet.php @@ -9,6 +9,9 @@ if (!extension_loaded('xdebug')) { $user = new Legacies_Empire_Model_User(array( 'rpg_stockeur' => 0, + 'b_laboratory' => 0, + 'b_laboratory_id' => serialize(array()), + "spy_tech" => 12, "computer_tech" => 8, "military_tech" => 10, @@ -54,11 +57,11 @@ $data = array( 'updated_at' => 700 )*/)), - 'metal' => 100000, + 'metal' => 500000, 'metal_perhour' => 20, - 'cristal' => 100000, + 'cristal' => 500000, 'cristal_perhour' => 10, - 'deuterium' => 0, + 'deuterium' => 300000, 'deuterium_perhour' => 0, 'energy_max' => 0, 'energy_used' => 0, @@ -87,23 +90,28 @@ $data = array( $planet = new Legacies_Empire_Model_Planet($data); $planet->setUser($user); -var_dump(array('$planet->setUser($user)', array_diff($planet->getAllDatas(), $data))); +//var_dump(array('$planet->setUser($user)', array_diff($planet->getAllDatas(), $data))); $data = $planet->getAllDatas(); $planet->updateStorages(0); -var_dump(array('$planet->updateStorages(0)', array_diff($planet->getAllDatas(), $data))); +//var_dump(array('$planet->updateStorages(0)', array_diff($planet->getAllDatas(), $data))); $data = $planet->getAllDatas(); $planet->updateResourceProduction(0); -var_dump(array('$planet->updateResourceProduction(0)', array_diff($planet->getAllDatas(), $data))); +//var_dump(array('$planet->updateResourceProduction(0)', array_diff($planet->getAllDatas(), $data))); $data = $planet->getAllDatas(); $planet->getShipyard()->appendQueue(Legacies_Empire::ID_SHIP_LIGHT_FIGHTER, 10, 0); -var_dump(array('$planet->getShipyard()->appendQueue(Legacies_Empire::ID_SHIP_LIGHT_FIGHTER, 10, 0)', array_diff($planet->getAllDatas(), $data))); +//var_dump(array('$planet->getShipyard()->appendQueue(Legacies_Empire::ID_SHIP_LIGHT_FIGHTER, 10, 0)', array_diff($planet->getAllDatas(), $data))); $data = $planet->getAllDatas(); $planet->appendBuildingQueue(Legacies_Empire::ID_BUILDING_CRISTAL_MINE, false, 0); -var_dump(array('$planet->appendBuildingQueue(Legacies_Empire::ID_BUILDING_CRISTAL_MINE, false, 0)', array_diff($planet->getAllDatas(), $data))); +//var_dump(array('$planet->appendBuildingQueue(Legacies_Empire::ID_BUILDING_CRISTAL_MINE, false, 0)', array_diff($planet->getAllDatas(), $data))); +$data = $planet->getAllDatas(); + +$userData = $user->getAllDatas(); +$planet->getResearchLab()->appendQueue(Legacies_Empire::ID_RESEARCH_ENERGY_TECHNOLOGY, false, 0); +var_dump(array('$planet->getResearchLab()->appendQueue(Legacies_Empire::ID_RESEARCH_ENERGY_TECHNOLOGY, false, 0)', array_diff($planet->getAllDatas(), $data), array_diff($user->getAllDatas(), $userData))); $data = $planet->getAllDatas(); var_dump(array_diff($planet->getAllDatas(), $data)); diff --git a/includes/deprecated.php b/includes/deprecated.php index e53b5d7..5938144 100644 --- a/includes/deprecated.php +++ b/includes/deprecated.php @@ -207,7 +207,7 @@ function GetBuildingTime($currentUser, $currentPlanet, $buildingId) if ($types->is($buildingId, Legacies_Empire::TYPE_BUILDING)) { return $currentPlanet->getBuildingTime($buildingId, 1); } else if ($types->is($buildingId, Legacies_Empire::TYPE_RESEARCH)) { - return $currentPlanet->getLaboratory()->getBuildingTime($buildingId, 1); + return $currentPlanet->getResearchLab()->getBuildingTime($buildingId, 1); } else if ($types->is($buildingId, Legacies_Empire::TYPE_SHIP) || $types->is($buildingId, Legacies_Empire::TYPE_DEFENSE)) { return $currentPlanet->getShipyard()->getBuildingTime($buildingId, 1); } @@ -523,4 +523,69 @@ function display($page, $title = '', $topnav = true, $metatags = '', $AdminPage echo $layout->render(); exit(0); +} + +/** + * + * @deprecated + * @param string $template The page template + * @param array $array The view data + */ +function parsetemplate($template, $array) +{ + defined('DEPRECATION') || trigger_error(sprintf('%s is deprecated', __FUNCTION__), E_USER_DEPRECATED); + + static $baseUrl = null; + if ($baseUrl === null) { + $user = Legacies_Empire_Model_User::getSingleton(); + if ($user !== null && $user->getId() && ($baseUrl = $user->getSkinPath()) == '') { + $baseUrl = DEFAULT_SKINPATH; + } + } + $array['dpath'] = $baseUrl; + + $view = new Legacies_Core_View($array); + $view->setTemplate('deprecated/' .$template . '.tpl'); + + return $view->render(); +} + +/** + * + * @deprecated + * @param string $filename + * @return string + */ +function ReadFromFile($filename) +{ + defined('DEPRECATION') || trigger_error(sprintf('%s is deprecated', __FUNCTION__), E_USER_DEPRECATED); + + return file_get_contents($filename); +} + +/** + * + * @deprecated + * @param string $filename + * @param string $content + * @return void + */ +function saveToFile($filename, $content) +{ + defined('DEPRECATION') || trigger_error(sprintf('%s is deprecated', __FUNCTION__), E_USER_DEPRECATED); + + file_put_contents($filename, $content); +} + +/** + * + * @deprecated + * @param string $templateName + * @return string + */ +function getTemplate($templateName) +{ + defined('DEPRECATION') || trigger_error(sprintf('%s is deprecated', __FUNCTION__), E_USER_DEPRECATED); + + return $templateName; } \ No newline at end of file diff --git a/includes/unlocalised.php b/includes/unlocalised.php index 647d8c1..82244dd 100644 --- a/includes/unlocalised.php +++ b/includes/unlocalised.php @@ -193,39 +193,6 @@ function get_userdata () { return ''; } -// ---------------------------------------------------------------------------------------------------------------- -// -// Fonction de lecture / ecriture / exploitation de templates -// -function ReadFromFile($filename) { - $content = @file_get_contents ($filename); - return $content; -} - -function saveToFile($filename, $content) { - $content = file_put_contents($filename, $content); -} - -function parsetemplate($template, $array) -{ - static $baseUrl = null; - if ($baseUrl === null) { - $user = Legacies_Empire_Model_User::getSingleton(); - if ($user !== null && $user->getId() && ($baseUrl = $user->getSkinPath()) == '') { - $baseUrl = DEFAULT_SKINPATH; - } - } - $array['dpath'] = $baseUrl; - - return preg_replace('#\{([a-z0-9\-_]*?)\}#Ssie', 'isset($array["\1"]) ? $array["\1"] : "";', $template); -} - -function getTemplate($templateName) { - - $filename = TEMPLATE_DIR . '/' . TEMPLATE_NAME . "/{$templateName}.tpl"; - - return ReadFromFile($filename); -} /** * Gestion de la localisation des chaînes @@ -244,7 +211,7 @@ function includeLang($filename, $extension = 'mo') fclose($fp); require_once $filename; - return; + return $lang; } else if (($fp = @fopen($filename = sprintf($pathPattern, $user['lang'], 'csv'), 'r', false)) !== false) { while (!feof($fp)) { $line = fgetcsv($fp); @@ -253,12 +220,12 @@ function includeLang($filename, $extension = 'mo') } } fclose($fp); - return; + return $lang; } } require_once sprintf($pathPattern, DEFAULT_LANG, 'mo'); - return; + return $lang; } // ---------------------------------------------------------------------------------------------------------------- diff --git a/install/migration.mysql b/install/migration.mysql new file mode 100644 index 0000000..2802d08 --- /dev/null +++ b/install/migration.mysql @@ -0,0 +1,18 @@ +ALTER TABLE `game_planets` + CHANGE `metal` `metal` DECIMAL( 20, 0 ) NOT NULL DEFAULT '0.00000000', + CHANGE `metal_perhour` `metal_perhour` DECIMAL( 20, 0 ) NOT NULL DEFAULT '0', + CHANGE `metal_max` `metal_max` DECIMAL( 20, 0 ) NOT NULL DEFAULT '100000', + CHANGE `crystal` `cristal` DECIMAL( 20, 0 ) NOT NULL DEFAULT '0.00000000', + CHANGE `crystal_perhour` `cristal_perhour` DECIMAL( 20, 0 ) NOT NULL DEFAULT '0', + CHANGE `crystal_max` `cristal_max` DECIMAL( 20, 0 ) NOT NULL DEFAULT '100000', + CHANGE `deuterium` `deuterium` DECIMAL( 20, 0 ) NOT NULL DEFAULT '0.00000000', + CHANGE `deuterium_perhour` `deuterium_perhour` DECIMAL( 20, 0 ) NOT NULL DEFAULT '0', + CHANGE `deuterium_max` `deuterium_max` DECIMAL( 20, 0 ) NOT NULL DEFAULT '100000', + CHANGE `energy_used` `energy_used` DECIMAL( 20, 0 ) NOT NULL DEFAULT '0', + CHANGE `energy_max` `energy_max` DECIMAL( 20, 0 ) NOT NULL DEFAULT '0', + CHANGE `crystal_mine` `cristal_mine` INT( 11 ) NOT NULL DEFAULT '0', + CHANGE `crystal_store` `cristal_store` INT( 11 ) NOT NULL DEFAULT '0', + CHANGE `crystal_mine_porcent` `cristal_mine_porcent` INT( 11 ) NOT NULL DEFAULT '10'; + +ALTER TABLE `game_messages` + ADD `message_read_at` INT UNSIGNED NOT NULL AFTER `message_time`; \ No newline at end of file diff --git a/overview.php b/overview.php index ea2ba4a..e5c5c63 100644 --- a/overview.php +++ b/overview.php @@ -193,12 +193,10 @@ if (isset($_POST) && !empty($_POST)) { $messageCollection->where('message_owner=:user'); $messageCollection->where('message_read_at<=0'); - $newMessages = null; - if (($count = $messageCollection->getSize(array('user' => $user->getId()))) > 0) { - $newMessages = new Legacies_Core_View(); - $newMessages->setTemplate('empire/overview/messages.phtml'); - $newMessages['count'] = (int) $count; - } + $count = $messageCollection->getSize(array('user' => $user->getId())); + $newMessages = new Legacies_Core_View(); + $newMessages->setTemplate('empire/overview/messages.phtml'); + $newMessages['count'] = (int) $count; /** * Page display diff --git a/templates/OpenGame/admin/activeplanet_body.tpl b/templates/OpenGame/admin/activeplanet_body.tpl deleted file mode 100644 index 325cce6..0000000 --- a/templates/OpenGame/admin/activeplanet_body.tpl +++ /dev/null @@ -1,12 +0,0 @@ -

-

{adm_pl_title}

-
@@ -17,7 +17,7 @@ Po Wykonaniu Tych Czynno�ci Zostaniesz Przeniesiony Do Ustawie�.
Musisz J
getData('user_db_deaktjava')?> type="checkbox" />
- - - - - - - - {online_list} -
{adm_pl_activ}
{adm_pl_name}{adm_pl_posit}{adm_pl_point}{adm_pl_since}
\ No newline at end of file diff --git a/templates/OpenGame/admin/add_moon.tpl b/templates/OpenGame/admin/add_moon.tpl deleted file mode 100644 index f6d0d44..0000000 --- a/templates/OpenGame/admin/add_moon.tpl +++ /dev/null @@ -1,17 +0,0 @@ -

-

{addm_title}

-
- - - - - - - - - - - - -
{addm_addform}
{addm_playerid}
{addm_moonname}
-
\ No newline at end of file diff --git a/templates/OpenGame/admin/admin_panel_asw1.tpl b/templates/OpenGame/admin/admin_panel_asw1.tpl deleted file mode 100644 index d85a7a1..0000000 --- a/templates/OpenGame/admin/admin_panel_asw1.tpl +++ /dev/null @@ -1,32 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{adm_panel_mnu}
{adm_frm1_id}{answer1}
{adm_frm1_name}{answer2}
{adm_frm1_ip}{answer3}
{adm_frm1_mail}{answer4}
{adm_frm1_acc}{answer5}
{adm_frm1_gen}{answer6}
{adm_frm1_main}{answer7}
{adm_frm1_gpos}{answer8}
\ No newline at end of file diff --git a/templates/OpenGame/admin/admin_panel_asw2.tpl b/templates/OpenGame/admin/admin_panel_asw2.tpl deleted file mode 100644 index 81ffba3..0000000 --- a/templates/OpenGame/admin/admin_panel_asw2.tpl +++ /dev/null @@ -1,9 +0,0 @@ -
- - - - - -{adm_plyer_lst} - -
{adm_plyer_wip} {adm_this_ip}
\ No newline at end of file diff --git a/templates/OpenGame/admin/admin_panel_frm3.tpl b/templates/OpenGame/admin/admin_panel_frm3.tpl deleted file mode 100644 index 3be379d..0000000 --- a/templates/OpenGame/admin/admin_panel_frm3.tpl +++ /dev/null @@ -1,22 +0,0 @@ -
-
- - - - - - - - - - - - - - - - - - -
{adm_mod_level}
{adm_player_nm}
-
\ No newline at end of file diff --git a/templates/OpenGame/admin/admin_panel_main.tpl b/templates/OpenGame/admin/admin_panel_main.tpl deleted file mode 100644 index a7c40dd..0000000 --- a/templates/OpenGame/admin/admin_panel_main.tpl +++ /dev/null @@ -1,16 +0,0 @@ -

-

{adm_panel_mnu}

- - - - - - - - - - -
{adm_panel_ttl}
{adm_search_pl}{adm_search_ip}{adm_stat_play}{adm_mod_level}
-{adm_sub_form1} -{adm_sub_form2} -{adm_sub_form3} diff --git a/templates/OpenGame/admin/banned.tpl b/templates/OpenGame/admin/banned.tpl deleted file mode 100644 index 8d6fc4d..0000000 --- a/templates/OpenGame/admin/banned.tpl +++ /dev/null @@ -1,32 +0,0 @@ -

-

{adm_bn_ttle}

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
{adm_bn_plto}
{adm_bn_name}
{adm_bn_reas}
{adm_bn_time}
{adm_bn_days}
{adm_bn_hour}
{adm_bn_mins}
{adm_bn_secs}
-
\ No newline at end of file diff --git a/templates/OpenGame/admin/changepass.tpl b/templates/OpenGame/admin/changepass.tpl deleted file mode 100644 index e94cc63..0000000 --- a/templates/OpenGame/admin/changepass.tpl +++ /dev/null @@ -1,16 +0,0 @@ -

-

{md5_title}

-
- - - - - - - - - - - -
{md5_pswcyp}
{user_to_change}
{md5_psw}
-
\ No newline at end of file diff --git a/templates/OpenGame/admin/chat_body.tpl b/templates/OpenGame/admin/chat_body.tpl deleted file mode 100644 index ec4661d..0000000 --- a/templates/OpenGame/admin/chat_body.tpl +++ /dev/null @@ -1,14 +0,0 @@ -

-

{adm_ch_ttle}

- - - - - - - - - - -{msg_list} -
{adm_ch_list} [vider]
{adm_ch_time}{adm_ch_play}{adm_ch_msg}{adm_ch_delet}
\ No newline at end of file diff --git a/templates/OpenGame/admin/credit_body.tpl b/templates/OpenGame/admin/credit_body.tpl deleted file mode 100644 index 73feade..0000000 --- a/templates/OpenGame/admin/credit_body.tpl +++ /dev/null @@ -1,29 +0,0 @@ -

-

{cred_ext}

-
- - - - - - - - - - - - - - - - - - - - - - - -
{cred_info}
{cred_infotxt}
{cred_credit}
Raito
Chlorel
e-Zobar
Flousedid
-
{cred_creat} / {cred_prog}
{cred_master} {cred_prog}
{cred_design} / {cred_prog}
{cred_web} -
{cred_ext}
{cred_added}
{cred_name}{cred_funct}
\ No newline at end of file diff --git a/templates/OpenGame/admin/declarelist_rows.tpl b/templates/OpenGame/admin/declarelist_rows.tpl deleted file mode 100644 index 9d6320c..0000000 --- a/templates/OpenGame/admin/declarelist_rows.tpl +++ /dev/null @@ -1,9 +0,0 @@ - - {adm_ul_data_id} - {adm_ul_data_name} - {adm_ul_data_mail} - {adm_ul_data_adip} - {adm_ul_data_detai} - {adm_ul_data_regd} - - \ No newline at end of file diff --git a/templates/OpenGame/admin/errors_body.tpl b/templates/OpenGame/admin/errors_body.tpl deleted file mode 100644 index 8554e92..0000000 --- a/templates/OpenGame/admin/errors_body.tpl +++ /dev/null @@ -1,14 +0,0 @@ -

-

{adm_er_ttle}

- - - - - - - - - - -{errors_list} -
{adm_er_list} [{adm_er_clear}]
{adm_er_idmsg}{adm_er_type}{adm_er_time}{adm_er_delete}
\ No newline at end of file diff --git a/templates/OpenGame/admin/fleet_body.tpl b/templates/OpenGame/admin/fleet_body.tpl deleted file mode 100644 index 372e3b8..0000000 --- a/templates/OpenGame/admin/fleet_body.tpl +++ /dev/null @@ -1,29 +0,0 @@ -
-

-

{flt_title}

- - - - - - - - - - - - - - - - - - -
{flt_id}{flt_fleet}{flt_mission}{flt_owner}{flt_planet}{flt_time_st}{flt_e_owner}{flt_planet}{flt_staying}{flt_time_en}{flt_action}
- - - {flt_table} - -
-
-
\ No newline at end of file diff --git a/templates/OpenGame/admin/fleet_rows.tpl b/templates/OpenGame/admin/fleet_rows.tpl deleted file mode 100644 index 7f4b648..0000000 --- a/templates/OpenGame/admin/fleet_rows.tpl +++ /dev/null @@ -1,13 +0,0 @@ - - {Id} - {Fleet} - {Mission} - {St_Owner} - {St_Posit} - {St_Time} - {En_Owner} - {En_Posit} - {Wa_Time} - {En_Time} - - \ No newline at end of file diff --git a/templates/OpenGame/admin/left_menu.tpl b/templates/OpenGame/admin/left_menu.tpl deleted file mode 100644 index f7ef16b..0000000 --- a/templates/OpenGame/admin/left_menu.tpl +++ /dev/null @@ -1,91 +0,0 @@ -
- - -
- -
- -
\ No newline at end of file diff --git a/templates/OpenGame/admin/md5enc.tpl b/templates/OpenGame/admin/md5enc.tpl deleted file mode 100644 index a6cad75..0000000 --- a/templates/OpenGame/admin/md5enc.tpl +++ /dev/null @@ -1,19 +0,0 @@ -

-

{md5_title}

- - - - - - - - - - - - - - - -
{md5_pswcyp}
{md5_psw}
{md5_pswenc}
 
-
\ No newline at end of file diff --git a/templates/OpenGame/admin/message_body.tpl b/templates/OpenGame/admin/message_body.tpl deleted file mode 100644 index 9351e13..0000000 --- a/templates/OpenGame/admin/message_body.tpl +++ /dev/null @@ -1,8 +0,0 @@ -

- - - - - - -

{title}

{mes}
\ No newline at end of file diff --git a/templates/OpenGame/admin/messagelist_body.tpl b/templates/OpenGame/admin/messagelist_body.tpl deleted file mode 100644 index e7a1ab4..0000000 --- a/templates/OpenGame/admin/messagelist_body.tpl +++ /dev/null @@ -1,48 +0,0 @@ -{mlst_scpt} -

-

{mlst_title}

-
- - - - - - - - - - - - - - - - - - - - - - -
{mlst_hdr_page}
-
-
 
{mlst_hdr_type}
-
-
 
{mlst_hdr_delfrom}
- - - - - - - - - - {mlst_data_rows} -
{mlst_hdr_action}{mlst_hdr_id}{mlst_hdr_time}{mlst_hdr_from}{mlst_hdr_to}{mlst_hdr_text}
-
-
\ No newline at end of file diff --git a/templates/OpenGame/admin/messagelist_table_rows.tpl b/templates/OpenGame/admin/messagelist_table_rows.tpl deleted file mode 100644 index a2b48cd..0000000 --- a/templates/OpenGame/admin/messagelist_table_rows.tpl +++ /dev/null @@ -1,8 +0,0 @@ - - - {mlst_id} - {mlst_time} - {mlst_from} - {mlst_to} - {mlst_text} - \ No newline at end of file diff --git a/templates/OpenGame/admin/multi_body.tpl b/templates/OpenGame/admin/multi_body.tpl deleted file mode 100644 index 649ef87..0000000 --- a/templates/OpenGame/admin/multi_body.tpl +++ /dev/null @@ -1,15 +0,0 @@ -

-

{adm_mt_title}

- - - - - - - - -{adm_mt_table} - - - -
{adm_mt_list}
{adm_mt_player}{adm_mt_text}
{adm_mt_count} {adm_mt_multi}
\ No newline at end of file diff --git a/templates/OpenGame/admin/multi_rows.tpl b/templates/OpenGame/admin/multi_rows.tpl deleted file mode 100644 index 192490a..0000000 --- a/templates/OpenGame/admin/multi_rows.tpl +++ /dev/null @@ -1,4 +0,0 @@ - - {player} - {text} - \ No newline at end of file diff --git a/templates/OpenGame/admin/options_body.tpl b/templates/OpenGame/admin/options_body.tpl deleted file mode 100644 index 3cce159..0000000 --- a/templates/OpenGame/admin/options_body.tpl +++ /dev/null @@ -1,135 +0,0 @@ -

-

{adm_opt_title}

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{adm_opt_game_settings}
{adm_opt_game_name}
{adm_opt_menu_link_enable}
{adm_opt_menu_link_text}
{adm_opt_menu_link_url}
{adm_opt_game_gspeed}
{adm_opt_game_fspeed}
{stat_settings_desc}{stat_desc}{stat_units}
{adm_opt_game_pspeed}
{adm_opt_game_forum}
{adm_opt_game_online}
{adm_opt_game_offreaso}
{messages_settings}
{bbcode_settings}
{multi_bot_settings}
{bot_active}
{bot_name_multi}
{bot_adress_multi}
{bot_ban_duration}
{adm_opt_plan_settings}
{adm_opt_plan_initial} cases
{adm_opt_plan_base_inc}{Metal} par heure
{adm_opt_plan_base_inc}{Crystal} par heure
{adm_opt_plan_base_inc}{Deuterium} par heure
{adm_opt_plan_base_inc}{Energy} par heure
{adm_opt_control_pages}
{enable_the_anounces}
{enable_the_marchand}
{enable_the_notes}
{adm_opt_game_oth_info}
{adm_opt_game_oth_bann}
({adm_opt_warning1})
{adm_opt_game_oth_news}
{adm_opt_game_oth_chat}
{adm_opt_game_oth_adds}
{adm_opt_game_debugmod}
{banner}
{banner_source_post}
-
\ No newline at end of file diff --git a/templates/OpenGame/admin/overview_body.tpl b/templates/OpenGame/admin/overview_body.tpl deleted file mode 100644 index 16f5792..0000000 --- a/templates/OpenGame/admin/overview_body.tpl +++ /dev/null @@ -1,35 +0,0 @@ -

-

{adm_ov_title}

- - - - - - - -
{adm_ov_infos}
{adm_ov_yourv}: {adm_ov_data_yourv}{adm_ov_lastv}: {adm_ov_here}
-
- - - - - - - - - - - - - - - - - - - - {adm_ov_data_table} - - - -
{adm_ov_onlin}
{adm_ul_id}{adm_ul_name}{adm_ul_adip}{adm_ov_ally}{adm_ov_point}{adm_ov_activ}{usr_email}{xp_raid}{xp_min}{lang_vacancy}{banned_lang}{usr_current_planet}{usr_current_page}
{adm_ov_count}: {adm_ov_data_count}
\ No newline at end of file diff --git a/templates/OpenGame/admin/overview_rows.tpl b/templates/OpenGame/admin/overview_rows.tpl deleted file mode 100644 index 9820ac9..0000000 --- a/templates/OpenGame/admin/overview_rows.tpl +++ /dev/null @@ -1,15 +0,0 @@ - - {adm_ov_altpm} - {adm_ov_data_name} ({usr_s_id}) - [{adm_ov_data_adip}] - {adm_ov_data_ally} - {adm_ov_data_point} - {adm_ov_data_activ} - {usr_email} - {usr_xp_raid} - {usr_xp_min} - {state_vacancy} - {is_banned} - [{usr_planet_gal}:{usr_planet_sys}:{usr_planet_pos}] - {current_page} - \ No newline at end of file diff --git a/templates/OpenGame/admin/reset_body.tpl b/templates/OpenGame/admin/reset_body.tpl deleted file mode 100644 index 3aca90c..0000000 --- a/templates/OpenGame/admin/reset_body.tpl +++ /dev/null @@ -1,16 +0,0 @@ -

-

{adm_rz_ttle}

-
- - - - - - - - - - - -
{adm_rz_conf}
{adm_rz_text}
-
\ No newline at end of file diff --git a/templates/OpenGame/admin/simple_header.tpl b/templates/OpenGame/admin/simple_header.tpl deleted file mode 100644 index 07f55e6..0000000 --- a/templates/OpenGame/admin/simple_header.tpl +++ /dev/null @@ -1,10 +0,0 @@ - - -{title} - - - -{META_TAG} - - - diff --git a/templates/OpenGame/admin/userlist_body.tpl b/templates/OpenGame/admin/userlist_body.tpl deleted file mode 100644 index 9e8d0d1..0000000 --- a/templates/OpenGame/admin/userlist_body.tpl +++ /dev/null @@ -1,24 +0,0 @@ -

-

{adm_ul_title}

- - - - - - - - - - - - - - - - - -{adm_ul_table} - - - -
{adm_ul_ttle2}
{adm_ul_id}{adm_ul_name}{adm_ul_mail}{adm_ul_data_ip_reg}{adm_ul_adip}{adm_ul_regd}{adm_ul_lconn}{adm_ul_bana}{adm_ul_detai}{adm_ul_actio}
{adm_ul_count}{adm_ul_playe}
\ No newline at end of file diff --git a/templates/OpenGame/admin/userlist_rows.tpl b/templates/OpenGame/admin/userlist_rows.tpl deleted file mode 100644 index 2a1c262..0000000 --- a/templates/OpenGame/admin/userlist_rows.tpl +++ /dev/null @@ -1,13 +0,0 @@ - - {adm_ul_data_id} - {adm_ul_data_name} - {adm_ul_data_mail} - {ip_adress_at_register} - {adm_ul_data_adip} - {adm_ul_data_regd} - {adm_ul_data_lconn} - {adm_ul_data_banna} - {adm_ul_data_detai} - {adm_ul_data_actio} - - \ No newline at end of file diff --git a/templates/OpenGame/admin/variables_body.tpl b/templates/OpenGame/admin/variables_body.tpl deleted file mode 100644 index 510bdb4..0000000 --- a/templates/OpenGame/admin/variables_body.tpl +++ /dev/null @@ -1,2 +0,0 @@ - - {phpinfo} \ No newline at end of file diff --git a/templates/OpenGame/admin/variables_rows.tpl b/templates/OpenGame/admin/variables_rows.tpl deleted file mode 100644 index 63a2bdc..0000000 --- a/templates/OpenGame/admin/variables_rows.tpl +++ /dev/null @@ -1,6 +0,0 @@ - - - {prot_serv} - {serv_protocol} - - \ No newline at end of file diff --git a/templates/OpenGame/alliance_admin.tpl b/templates/OpenGame/alliance_admin.tpl deleted file mode 100644 index b23c991..0000000 --- a/templates/OpenGame/alliance_admin.tpl +++ /dev/null @@ -1,85 +0,0 @@ - -
- - - - - - - - - - - - - - - - - - -
{Alliance_admin}
{Law_settings}
{Members_administrate}
{Change_the_ally_tag}
{Change_the_ally_name}
-
-
- - - - - - - - - - - - - - - - - - -
{Texts}
{External_text}{Internal_text}
{Show_of_request_text} (0 / 5000 {characters})
-{request_type} -
- - -
-
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - -
{Options}
{Main_Page}
{Alliance_logo}
{Requests} - -
{Founder_name}
-
- -{Disolve_alliance} -
-{Transfer_alliance} - diff --git a/templates/OpenGame/alliance_admin_laws.tpl b/templates/OpenGame/alliance_admin_laws.tpl deleted file mode 100644 index a3295fd..0000000 --- a/templates/OpenGame/alliance_admin_laws.tpl +++ /dev/null @@ -1,70 +0,0 @@ -
- - -{list} - - -
{Configure_laws}
- -
- -
- - - - - - - - - - - - -
{Range_make}
{Range_name}
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{Law_leyends}
{Alliance_dissolve}
{Expel_users}
{See_the_requests}
{See_the_list_members}
{Check_the_requests}
{Alliance_admin}
{See_the_online_list_member}
{Make_a_circular_message}
{Left_hand_text}
{Return_to_overview}
- \ No newline at end of file diff --git a/templates/OpenGame/alliance_admin_laws_feet.tpl b/templates/OpenGame/alliance_admin_laws_feet.tpl deleted file mode 100644 index b7e5bc1..0000000 --- a/templates/OpenGame/alliance_admin_laws_feet.tpl +++ /dev/null @@ -1,5 +0,0 @@ -
- - - - \ No newline at end of file diff --git a/templates/OpenGame/alliance_admin_laws_row.tpl b/templates/OpenGame/alliance_admin_laws_row.tpl deleted file mode 100644 index 3391cc1..0000000 --- a/templates/OpenGame/alliance_admin_laws_row.tpl +++ /dev/null @@ -1,16 +0,0 @@ -
- - {delete} -  {r0}  - - {r1} - {r2} - {r3} - {r4} - {r5} - {r6} - {r7} - {r8} - {r9} - - \ No newline at end of file diff --git a/templates/OpenGame/alliance_admin_members_function.tpl b/templates/OpenGame/alliance_admin_members_function.tpl deleted file mode 100644 index 459d2aa..0000000 --- a/templates/OpenGame/alliance_admin_members_function.tpl +++ /dev/null @@ -1,3 +0,0 @@ -
-  - \ No newline at end of file diff --git a/templates/OpenGame/alliance_admin_members_row.tpl b/templates/OpenGame/alliance_admin_members_row.tpl deleted file mode 100644 index fe20182..0000000 --- a/templates/OpenGame/alliance_admin_members_row.tpl +++ /dev/null @@ -1,12 +0,0 @@ -
- - {i} - {username} - {Write_a_message} - {ally_range} - {points} - {galaxy}:{system}:{planet} - {ally_register_time} - {onlinetime} - {functions}    - diff --git a/templates/OpenGame/alliance_admin_members_row_edit.tpl b/templates/OpenGame/alliance_admin_members_row_edit.tpl deleted file mode 100644 index 3f9a1ae..0000000 --- a/templates/OpenGame/alliance_admin_members_row_edit.tpl +++ /dev/null @@ -1,8 +0,0 @@ -
-
- - {Rank_for} - - - -
diff --git a/templates/OpenGame/alliance_admin_members_table.tpl b/templates/OpenGame/alliance_admin_members_table.tpl deleted file mode 100644 index 5b83319..0000000 --- a/templates/OpenGame/alliance_admin_members_table.tpl +++ /dev/null @@ -1,22 +0,0 @@ -
- - - - - - - - - - - - - - - - {memberslist} - - - -
{Members_list} ({Ammount}: {memberzahl})
{Number}{Name} {Position}{Points}{Coordinated}{Member_from}Duree d inactiviteFonction
{Return_to_overview}
- diff --git a/templates/OpenGame/alliance_admin_rename.tpl b/templates/OpenGame/alliance_admin_rename.tpl deleted file mode 100644 index 4ac6cf8..0000000 --- a/templates/OpenGame/alliance_admin_rename.tpl +++ /dev/null @@ -1,15 +0,0 @@ -
-
- - - - - - - - - - - -
{question}
{New_name}
{Return_to_overview}
-
\ No newline at end of file diff --git a/templates/OpenGame/alliance_admin_rename1.tpl b/templates/OpenGame/alliance_admin_rename1.tpl deleted file mode 100644 index edc5f15..0000000 --- a/templates/OpenGame/alliance_admin_rename1.tpl +++ /dev/null @@ -1,15 +0,0 @@ -
-
- - - - - - - - - - - -
{question}
Zmiana Nazwy
{Return_to_overview}
-
\ No newline at end of file diff --git a/templates/OpenGame/alliance_admin_rename2.tpl b/templates/OpenGame/alliance_admin_rename2.tpl deleted file mode 100644 index 2b292ec..0000000 --- a/templates/OpenGame/alliance_admin_rename2.tpl +++ /dev/null @@ -1,15 +0,0 @@ -
-
- - - - - - - - - - - -
{question}
Zmiana Tagu
{Return_to_overview}
-
\ No newline at end of file diff --git a/templates/OpenGame/alliance_admin_request_form.tpl b/templates/OpenGame/alliance_admin_request_form.tpl deleted file mode 100644 index 43742e1..0000000 --- a/templates/OpenGame/alliance_admin_request_form.tpl +++ /dev/null @@ -1,27 +0,0 @@ -
-
- - {Request_from} - - - {ally_request_text} - - - {Request_responde} - - -   - - - - {Motive_optional} 0 / 500 {characters} - - - -   - - - -   - -
\ No newline at end of file diff --git a/templates/OpenGame/alliance_admin_request_row.tpl b/templates/OpenGame/alliance_admin_request_row.tpl deleted file mode 100644 index af70fac..0000000 --- a/templates/OpenGame/alliance_admin_request_row.tpl +++ /dev/null @@ -1,5 +0,0 @@ -
- -
{username}
-
{time}
- \ No newline at end of file diff --git a/templates/OpenGame/alliance_admin_request_table.tpl b/templates/OpenGame/alliance_admin_request_table.tpl deleted file mode 100644 index 633af08..0000000 --- a/templates/OpenGame/alliance_admin_request_table.tpl +++ /dev/null @@ -1,18 +0,0 @@ -
- - - - - {request} - - - - - - - {list} - - - -
{Apply_ally_overview} [{ally_tag}]
{There_is_hanging_request}
{Candidate}
{Date_of_the_request}
-
{Back}
diff --git a/templates/OpenGame/alliance_ainfo.tpl b/templates/OpenGame/alliance_ainfo.tpl deleted file mode 100644 index c130858..0000000 --- a/templates/OpenGame/alliance_ainfo.tpl +++ /dev/null @@ -1,25 +0,0 @@ -
- - - - -{ally_image} - - - - - - - - - - - - -{ally_description} - -{ally_web} - -{bewerbung} -
{Alliance_information}
{Tag}{ally_tag}
{Name}{ally_name}
{Members}{ally_member_scount}
- \ No newline at end of file diff --git a/templates/OpenGame/alliance_apply_waitform.tpl b/templates/OpenGame/alliance_apply_waitform.tpl deleted file mode 100644 index 28e54dd..0000000 --- a/templates/OpenGame/alliance_apply_waitform.tpl +++ /dev/null @@ -1,15 +0,0 @@ -
-
- - - - - - - - - - - -
{your_apply}
{request_text}
-
\ No newline at end of file diff --git a/templates/OpenGame/alliance_applyform.tpl b/templates/OpenGame/alliance_applyform.tpl deleted file mode 100644 index bfb8245..0000000 --- a/templates/OpenGame/alliance_applyform.tpl +++ /dev/null @@ -1,25 +0,0 @@ -
-

{Send_Apply}

- - - - - - - - - - - - - - - - - - -
{Write_to_alliance}
{Message} ({chars_count} / 6000 {characters})
{Help}
- - - - \ No newline at end of file diff --git a/templates/OpenGame/alliance_circular.tpl b/templates/OpenGame/alliance_circular.tpl deleted file mode 100644 index 459d14b..0000000 --- a/templates/OpenGame/alliance_circular.tpl +++ /dev/null @@ -1,30 +0,0 @@ -
-
- - - - - - - - - - - - - - - - - -
{Send_circular_mail}
{Destiny} - -
{Text_mail} (0 / 5000 {characters}) - -
{Back} - - -
-
diff --git a/templates/OpenGame/alliance_circular_form.tpl b/templates/OpenGame/alliance_circular_form.tpl deleted file mode 100644 index 92928a2..0000000 --- a/templates/OpenGame/alliance_circular_form.tpl +++ /dev/null @@ -1,30 +0,0 @@ -
-
- - - - - - - - - - - - - - - - - -
{Send_circular_mail}
{Destiny} - -
{Text_mail} (0 / 5000 {characters}) - -
{Back} - - -
-
diff --git a/templates/OpenGame/alliance_defaultmenu.tpl b/templates/OpenGame/alliance_defaultmenu.tpl deleted file mode 100644 index 0d90f64..0000000 --- a/templates/OpenGame/alliance_defaultmenu.tpl +++ /dev/null @@ -1,11 +0,0 @@ -
- - - - - - - - -
{alliance}
{make_alliance_owner}{search_alliance}
-
diff --git a/templates/OpenGame/alliance_frontpage.tpl b/templates/OpenGame/alliance_frontpage.tpl deleted file mode 100644 index 86b0535..0000000 --- a/templates/OpenGame/alliance_frontpage.tpl +++ /dev/null @@ -1,45 +0,0 @@ -
- - - - - - {ally_image} - - - - - - - - - - - - - - - - - - - {requests} - - {send_circular_mail} - - - - - - - - - - - - - -
{your_alliance}
{Tag}{ally_tag}
{Name}{ally_name}
{Members}{ally_members}{members_list}
{Range}{range}{alliance_admin}
{ally_description}
{Main_Page}{ally_web}
{Inner_section} -
{ally_text}
- - {ally_owner} diff --git a/templates/OpenGame/alliance_make.tpl b/templates/OpenGame/alliance_make.tpl deleted file mode 100644 index 8a15536..0000000 --- a/templates/OpenGame/alliance_make.tpl +++ /dev/null @@ -1,21 +0,0 @@ -
-
- - - - - - - - - - - - - - - - -
{make_alliance}
{alliance_tag} (3-8 {characters})
{allyance_name} (max. 35 {characters})
- -
diff --git a/templates/OpenGame/alliance_memberslist_row.tpl b/templates/OpenGame/alliance_memberslist_row.tpl deleted file mode 100644 index 4b9d671..0000000 --- a/templates/OpenGame/alliance_memberslist_row.tpl +++ /dev/null @@ -1,11 +0,0 @@ -
- - {i} - {username} - {Write_a_message} - {ally_range} - {points} - {galaxy}:{system}:{planet} - {ally_register_time} - - diff --git a/templates/OpenGame/alliance_memberslist_table.tpl b/templates/OpenGame/alliance_memberslist_table.tpl deleted file mode 100644 index 20ca590..0000000 --- a/templates/OpenGame/alliance_memberslist_table.tpl +++ /dev/null @@ -1,20 +0,0 @@ -
- - - - - - - - - - - - - - - {list} - - - -
{Members_list} ({Ammount}: {i})
{Number}{Name}{Position}{Points}{Coordinated}{Member_from}{Online}
{Return_to_overview}
diff --git a/templates/OpenGame/alliance_searchform.tpl b/templates/OpenGame/alliance_searchform.tpl deleted file mode 100644 index 6a35878..0000000 --- a/templates/OpenGame/alliance_searchform.tpl +++ /dev/null @@ -1,10 +0,0 @@ -
- - - - - - - - -
{search_alliance}
{Search}
diff --git a/templates/OpenGame/alliance_searchresult_row.tpl b/templates/OpenGame/alliance_searchresult_row.tpl deleted file mode 100644 index cc38a73..0000000 --- a/templates/OpenGame/alliance_searchresult_row.tpl +++ /dev/null @@ -1,6 +0,0 @@ -
- -
{ally_tag}
-
{ally_name}
-
{ally_members}
- diff --git a/templates/OpenGame/alliance_searchresult_table.tpl b/templates/OpenGame/alliance_searchresult_table.tpl deleted file mode 100644 index 977f004..0000000 --- a/templates/OpenGame/alliance_searchresult_table.tpl +++ /dev/null @@ -1,10 +0,0 @@ -
- - - - -{result} - - -
{searched_alliance_availables} -
diff --git a/templates/OpenGame/banned_body.tpl b/templates/OpenGame/banned_body.tpl deleted file mode 100644 index b6080bd..0000000 --- a/templates/OpenGame/banned_body.tpl +++ /dev/null @@ -1,13 +0,0 @@ -
- - - - - - - - - - -{banned} -
{ban_title}
{ban_name}{ban_reason}{ban_from}{ban_to}{ban_by}
\ No newline at end of file diff --git a/templates/OpenGame/buildings_builds.tpl b/templates/OpenGame/buildings_builds.tpl deleted file mode 100644 index c2e5379..0000000 --- a/templates/OpenGame/buildings_builds.tpl +++ /dev/null @@ -1,15 +0,0 @@ -
-
-{BuildListScript} - - {BuildList} - - - - - {BuildingsList} -
{bld_usedcells} - {planet_field_current} / {planet_field_max} {bld_theyare} {field_libre} {bld_cellfree} -
-
-
\ No newline at end of file diff --git a/templates/OpenGame/buildings_builds_row.tpl b/templates/OpenGame/buildings_builds_row.tpl deleted file mode 100644 index f68d2c3..0000000 --- a/templates/OpenGame/buildings_builds_row.tpl +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - {n}{nivel}
- {descriptions}
- {price} - {time} - {rest_price} - - {click} - \ No newline at end of file diff --git a/templates/OpenGame/buildings_research_row.tpl b/templates/OpenGame/buildings_research_row.tpl deleted file mode 100644 index 41ab767..0000000 --- a/templates/OpenGame/buildings_research_row.tpl +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - {tech_name} {tech_level}
{tech_descr}
- {tech_price} - {search_time} - {tech_restp} - - - {tech_link} - - \ No newline at end of file diff --git a/templates/OpenGame/changelog_body.tpl b/templates/OpenGame/changelog_body.tpl deleted file mode 100644 index 34f5548..0000000 --- a/templates/OpenGame/changelog_body.tpl +++ /dev/null @@ -1,13 +0,0 @@ - -
-
- - - - - - - {body} - -
{Version}{Description}
-
diff --git a/templates/OpenGame/changelog_table.tpl b/templates/OpenGame/changelog_table.tpl deleted file mode 100644 index 474d532..0000000 --- a/templates/OpenGame/changelog_table.tpl +++ /dev/null @@ -1,5 +0,0 @@ - - - {version_number} - {description} - diff --git a/templates/OpenGame/contact_body.tpl b/templates/OpenGame/contact_body.tpl deleted file mode 100644 index f945092..0000000 --- a/templates/OpenGame/contact_body.tpl +++ /dev/null @@ -1,21 +0,0 @@ -
-

- - - - - - - - - - - - {ctc_admin_list} - - - -
{ctc_title}
- {ctc_intro} -
{ctc_name}{ctc_rank}{ctc_mail}
-
\ No newline at end of file diff --git a/templates/OpenGame/contact_body_rows.tpl b/templates/OpenGame/contact_body_rows.tpl deleted file mode 100644 index f0b892e..0000000 --- a/templates/OpenGame/contact_body_rows.tpl +++ /dev/null @@ -1,5 +0,0 @@ - - {ctc_data_name} - {ctc_data_auth} - {ctc_data_mail} - \ No newline at end of file diff --git a/templates/OpenGame/credit_body.tpl b/templates/OpenGame/credit_body.tpl deleted file mode 100644 index 325f57b..0000000 --- a/templates/OpenGame/credit_body.tpl +++ /dev/null @@ -1,22 +0,0 @@ -

- - - - - - - - - - - - - - - - - -{ExtCopyFrame} -
{cred_link}
{cred_site}:
{cred_forum}:
www.xnova-ng.org
www.xnova-ng.org/forum
{cred_credit}
Raito
Chlorel
e-Zobar
Flousedid
-
{cred_creat} / {cred_prog}
{cred_master} {cred_prog}
{cred_design} / {cred_prog}
{cred_web} -
{cred_thx}
UGamela
Britania
{cred_based}
{cred_start}
\ No newline at end of file diff --git a/templates/OpenGame/galaxy_row.tpl b/templates/OpenGame/galaxy_row.tpl deleted file mode 100644 index c129a6d..0000000 --- a/templates/OpenGame/galaxy_row.tpl +++ /dev/null @@ -1,11 +0,0 @@ - - - - {row_planet} - {planet_name} - {luna_name) - {row_debris} - {row_user}> - {row_ally} - {row_action} - diff --git a/templates/OpenGame/galaxy_row_ally.tpl b/templates/OpenGame/galaxy_row_ally.tpl deleted file mode 100644 index ed2a69d..0000000 --- a/templates/OpenGame/galaxy_row_ally.tpl +++ /dev/null @@ -1,9 +0,0 @@ - - -{ally_tag} diff --git a/templates/OpenGame/galaxy_row_debris.tpl b/templates/OpenGame/galaxy_row_debris.tpl deleted file mode 100644 index 4dbe5c4..0000000 --- a/templates/OpenGame/galaxy_row_debris.tpl +++ /dev/null @@ -1,13 +0,0 @@ - - - -Escombros - \ No newline at end of file diff --git a/templates/OpenGame/galaxy_row_luna.tpl b/templates/OpenGame/galaxy_row_luna.tpl deleted file mode 100644 index 2265244..0000000 --- a/templates/OpenGame/galaxy_row_luna.tpl +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/templates/OpenGame/galaxy_row_planet.tpl b/templates/OpenGame/galaxy_row_planet.tpl deleted file mode 100644 index 2a2cbc3..0000000 --- a/templates/OpenGame/galaxy_row_planet.tpl +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/templates/OpenGame/galaxy_row_user.tpl b/templates/OpenGame/galaxy_row_user.tpl deleted file mode 100644 index fc3fbb1..0000000 --- a/templates/OpenGame/galaxy_row_user.tpl +++ /dev/null @@ -1,10 +0,0 @@ - - - {username} - \ No newline at end of file diff --git a/templates/OpenGame/gate_fleet_rows.tpl b/templates/OpenGame/gate_fleet_rows.tpl deleted file mode 100644 index 6397684..0000000 --- a/templates/OpenGame/gate_fleet_rows.tpl +++ /dev/null @@ -1,4 +0,0 @@ - - {fleet_name} ({fleet_max} {gate_ship_dispo}) - - \ No newline at end of file diff --git a/templates/OpenGame/gate_fleet_table.tpl b/templates/OpenGame/gate_fleet_table.tpl deleted file mode 100644 index 493f6ef..0000000 --- a/templates/OpenGame/gate_fleet_table.tpl +++ /dev/null @@ -1,41 +0,0 @@ -
-{gate_time_script} -
- - - - - - - - - - -
{gate_start_moon}{gate_start_link}
{gate_dest_moon} - -
- - - - - - - - -{gate_fleet_rows} - - - - -{gate_script_go} -
{gate_use_gate} : {gate_ship_sel}
- - - - - - -
{gate_wait_time}
-
\ No newline at end of file diff --git a/templates/OpenGame/imperium_row2.tpl b/templates/OpenGame/imperium_row2.tpl deleted file mode 100644 index 3af7f73..0000000 --- a/templates/OpenGame/imperium_row2.tpl +++ /dev/null @@ -1,4 +0,0 @@ - - - {text} - \ No newline at end of file diff --git a/templates/OpenGame/imperium_table.tpl b/templates/OpenGame/imperium_table.tpl deleted file mode 100644 index 6217fc5..0000000 --- a/templates/OpenGame/imperium_table.tpl +++ /dev/null @@ -1,56 +0,0 @@ -
-

- - - - - - - {file_images} - - - {file_names} - - - {file_coordinates} - - - {file_fields} - - - - - {file_metal} - - - {file_crystal} - - - {file_deuterium} - - - {file_energy} - - - - - {building_row} - - - - - {technology_row} - - - - - {fleet_row} - - - - - {defense_row} - -
{imperium_vision}
{name}
{coordinates}
{fields}
{resources}
{metal}
{crystal}
{deuterium}
{energy}
{buildings}
{investigation}
{ships}
{defense}
- -
\ No newline at end of file diff --git a/templates/OpenGame/info_buildings_defense.tpl b/templates/OpenGame/info_buildings_defense.tpl deleted file mode 100644 index e9f2956..0000000 --- a/templates/OpenGame/info_buildings_defense.tpl +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - -
{nfo_title_head} {element_typ}
{nfo_name}{name}
- - - - - - - -
{description}

{rf_info_to}{rf_info_from}
-
{nfo_struct_pt}{hull_pt}
{nfo_shielf_pt}{shield_pt}
{nfo_attack_pt}{attack_pt}
\ No newline at end of file diff --git a/templates/OpenGame/info_buildings_destroy.tpl b/templates/OpenGame/info_buildings_destroy.tpl deleted file mode 100644 index 57e993e..0000000 --- a/templates/OpenGame/info_buildings_destroy.tpl +++ /dev/null @@ -1,14 +0,0 @@ -
- - - - - - - - - - -
- {nfo_destroy}: {name} {nfo_level} {levelvalue} ? -
{nfo_needed} : {nfo_metal}:{metal} {nfo_crysta}:{crystal} {nfo_deuter}:{deuterium}

{nfo_dest_durati}: {destroytime}
\ No newline at end of file diff --git a/templates/OpenGame/info_buildings_fleet.tpl b/templates/OpenGame/info_buildings_fleet.tpl deleted file mode 100644 index be2264d..0000000 --- a/templates/OpenGame/info_buildings_fleet.tpl +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{nfo_title_head} {element_typ}
{nfo_name}{name}
- - - - - - - -
{description}

{rf_info_to}{rf_info_fr}
-
{nfo_struct_pt}{hull_pt}
{nfo_shielf_pt}{shield_pt}
{nfo_attack_pt}{attack_pt}
{nfo_capacity}{capacity_pt} {nfo_units}
{nfo_base_speed}{base_speed} {upd_speed}
{nfo_consumption}{base_conso} {upd_conso}
\ No newline at end of file diff --git a/templates/OpenGame/info_buildings_general.tpl b/templates/OpenGame/info_buildings_general.tpl deleted file mode 100644 index f1edbb2..0000000 --- a/templates/OpenGame/info_buildings_general.tpl +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - -
{name}
- - - - - - - -
{description}
-
\ No newline at end of file diff --git a/templates/OpenGame/info_buildings_table.tpl b/templates/OpenGame/info_buildings_table.tpl deleted file mode 100644 index f04f1b0..0000000 --- a/templates/OpenGame/info_buildings_table.tpl +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - -
{name}
- - - - - - - -
{description}
-
-
- - - {table_head} - {table_data} - -
-
-
\ No newline at end of file diff --git a/templates/OpenGame/info_officiers_general.tpl b/templates/OpenGame/info_officiers_general.tpl deleted file mode 100644 index df48134..0000000 --- a/templates/OpenGame/info_officiers_general.tpl +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - -
{name}
- - - - - - - -
{description}
-
\ No newline at end of file diff --git a/templates/OpenGame/install/ins_acc_done.tpl b/templates/OpenGame/install/ins_acc_done.tpl deleted file mode 100644 index 5132af7..0000000 --- a/templates/OpenGame/install/ins_acc_done.tpl +++ /dev/null @@ -1,9 +0,0 @@ - - -
{ins_tx_done2}
-{ins_tx_done3}

- - - - - \ No newline at end of file diff --git a/templates/OpenGame/install/ins_body.tpl b/templates/OpenGame/install/ins_body.tpl deleted file mode 100644 index 9638414..0000000 --- a/templates/OpenGame/install/ins_body.tpl +++ /dev/null @@ -1,28 +0,0 @@ -

- - - - - - - - -{ins_page} - -
{ins_appname}{ins_tx_sys}
{ins_tx_state} {ins_state}
- - - - - - - - - - - - - - - -
{ins_mnu_intro}
{ins_mnu_inst}
{ins_mnu_goto}
{ins_mnu_upgr}
{ins_mnu_quit}
\ No newline at end of file diff --git a/templates/OpenGame/install/ins_form_done.tpl b/templates/OpenGame/install/ins_form_done.tpl deleted file mode 100644 index fa366d7..0000000 --- a/templates/OpenGame/install/ins_form_done.tpl +++ /dev/null @@ -1,8 +0,0 @@ - - -

{ins_tx_done1}

- - - - - \ No newline at end of file diff --git a/templates/OpenGame/install/ins_goto_done.tpl b/templates/OpenGame/install/ins_goto_done.tpl deleted file mode 100644 index 8e4a617..0000000 --- a/templates/OpenGame/install/ins_goto_done.tpl +++ /dev/null @@ -1,9 +0,0 @@ - - -
{ins_tx_done4}
-{ins_tx_done3}

- - - - - \ No newline at end of file diff --git a/templates/OpenGame/install/ins_goto_intro.tpl b/templates/OpenGame/install/ins_goto_intro.tpl deleted file mode 100644 index 962d141..0000000 --- a/templates/OpenGame/install/ins_goto_intro.tpl +++ /dev/null @@ -1,10 +0,0 @@ - - -
{ins_tx_goto1}
-{ins_tx_goto2}
-{ins_tx_goto3}

- - - - - \ No newline at end of file diff --git a/templates/OpenGame/install/ins_intro.tpl b/templates/OpenGame/install/ins_intro.tpl deleted file mode 100644 index 221e8d5..0000000 --- a/templates/OpenGame/install/ins_intro.tpl +++ /dev/null @@ -1,11 +0,0 @@ - - -
{ins_tx_welco}
-{ins_tx_intr1}
-{ins_tx_intr2}
-{ins_tx_intr3}

- - - - - \ No newline at end of file diff --git a/templates/OpenGame/left_menu.tpl b/templates/OpenGame/left_menu.tpl deleted file mode 100644 index 6de0b3d..0000000 --- a/templates/OpenGame/left_menu.tpl +++ /dev/null @@ -1,97 +0,0 @@ -
- - -
- -
- -
\ No newline at end of file diff --git a/templates/OpenGame/login_body.tpl b/templates/OpenGame/login_body.tpl deleted file mode 100644 index 0c739ef..0000000 --- a/templates/OpenGame/login_body.tpl +++ /dev/null @@ -1,68 +0,0 @@ -
- -
-
-
- - - - - - - - - - -
- {User_name} - {Password} -
- {Remember_me} -
- {PasswordLost} -
-
-
-
- -
-
{log_welcome} {servername}
-
-
-
-
{servername} {log_desc} {servername}. -
-
-
{log_toreg}
-
-
-
{log_online}: -{online_users} - {log_lastreg}: -{last_user} - {log_numbreg}: {users_amount} -
-
-
-
-
-
-
\ No newline at end of file diff --git a/templates/OpenGame/lostpassword.tpl b/templates/OpenGame/lostpassword.tpl deleted file mode 100644 index d188f38..0000000 --- a/templates/OpenGame/lostpassword.tpl +++ /dev/null @@ -1,29 +0,0 @@ -
-

-

{ResetPass}
{servername}

-
- - - - - - - - - - - - - - - - - - - -
{PassForm}
{TextPass1} {servername} {TextPass2}
{pseudo}:
{email}:
Retour a l'accueil
- - -
- -
diff --git a/templates/OpenGame/marchand_cristal.tpl b/templates/OpenGame/marchand_cristal.tpl deleted file mode 100644 index c1bdbcf..0000000 --- a/templates/OpenGame/marchand_cristal.tpl +++ /dev/null @@ -1,47 +0,0 @@ - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - -
{mod_ma_buton}
{mod_ma_cours}
{Crystal}{mod_ma_res}
{Metal}{mod_ma_res_a}
{Deuterium}{mod_ma_res_b}
-
\ No newline at end of file diff --git a/templates/OpenGame/marchand_main.tpl b/templates/OpenGame/marchand_main.tpl deleted file mode 100644 index 869adf9..0000000 --- a/templates/OpenGame/marchand_main.tpl +++ /dev/null @@ -1,18 +0,0 @@ -
- -
- - - - - -
{mod_ma_title} -
{mod_ma_typer} -
- {mod_ma_rates}

-
-
\ No newline at end of file diff --git a/templates/OpenGame/marchand_metal.tpl b/templates/OpenGame/marchand_metal.tpl deleted file mode 100644 index dbec83f..0000000 --- a/templates/OpenGame/marchand_metal.tpl +++ /dev/null @@ -1,48 +0,0 @@ - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - -
{mod_ma_buton}
{mod_ma_cours}
{Metal}{mod_ma_res}
{Crystal}{mod_ma_res_a}
{Deuterium}{mod_ma_res_b}
-
\ No newline at end of file diff --git a/templates/OpenGame/message_body.tpl b/templates/OpenGame/message_body.tpl deleted file mode 100644 index a5ea0bf..0000000 --- a/templates/OpenGame/message_body.tpl +++ /dev/null @@ -1,8 +0,0 @@ -

- - - - - - -

{title}

{mes}
\ No newline at end of file diff --git a/templates/OpenGame/messages_pm_form.tpl b/templates/OpenGame/messages_pm_form.tpl deleted file mode 100644 index 065825a..0000000 --- a/templates/OpenGame/messages_pm_form.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -
-
-
- - - - - - - - - - - - - - - -
{Send_message}
{Recipient}
{Subject}
{Message}(0 / 5000 {characters})
-
-
\ No newline at end of file diff --git a/templates/OpenGame/notes_body.tpl b/templates/OpenGame/notes_body.tpl deleted file mode 100644 index d6cea53..0000000 --- a/templates/OpenGame/notes_body.tpl +++ /dev/null @@ -1,27 +0,0 @@ - -
-
- - - - - - - - - - - - - - - {BODY_LIST} - - - - -
{Notes}
{MakeNewNote}
{Date}{Subject}{Size}
-
-
- - diff --git a/templates/OpenGame/notes_body_entry.tpl b/templates/OpenGame/notes_body_entry.tpl deleted file mode 100644 index 275bcf0..0000000 --- a/templates/OpenGame/notes_body_entry.tpl +++ /dev/null @@ -1,12 +0,0 @@ - - - - - {NOTE_TIME} - - - {NOTE_TITLE} - - - {NOTE_TEXT} - diff --git a/templates/OpenGame/notes_form.tpl b/templates/OpenGame/notes_form.tpl deleted file mode 100644 index ea5ac18..0000000 --- a/templates/OpenGame/notes_form.tpl +++ /dev/null @@ -1,36 +0,0 @@ - -
- {inputs} - - - - - - - - - - - - - - - - - - - - -
{TITLE}
{Priority} - -
{Subject} - -
{Note} ({cntChars} / 5000 {characters}) - -
{Back} - - -
-
diff --git a/templates/OpenGame/officier_body.tpl b/templates/OpenGame/officier_body.tpl deleted file mode 100644 index 4d77645..0000000 --- a/templates/OpenGame/officier_body.tpl +++ /dev/null @@ -1,9 +0,0 @@ -
-
- - - - -{disp_off_tbl} -
{off_points} {alv_points}
-
\ No newline at end of file diff --git a/templates/OpenGame/officier_rows.tpl b/templates/OpenGame/officier_rows.tpl deleted file mode 100644 index 217e344..0000000 --- a/templates/OpenGame/officier_rows.tpl +++ /dev/null @@ -1,5 +0,0 @@ - - - {off_tx_lvl} {off_lvl}{off_desc} - {off_link} - \ No newline at end of file diff --git a/templates/OpenGame/options_admadd.tpl b/templates/OpenGame/options_admadd.tpl deleted file mode 100644 index 8a57fca..0000000 --- a/templates/OpenGame/options_admadd.tpl +++ /dev/null @@ -1,6 +0,0 @@ - - {opt_adm_title} - - {opt_adm_planet_prot} - - \ No newline at end of file diff --git a/templates/OpenGame/options_body.tpl b/templates/OpenGame/options_body.tpl deleted file mode 100644 index 2ef6766..0000000 --- a/templates/OpenGame/options_body.tpl +++ /dev/null @@ -1,108 +0,0 @@ -
-

-
- - -{opt_adm_frame} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{userdata}
{username}
{lastpassword}
{newpassword}
{newpasswordagain}
{emaildir}
{permanentemaildir}{opt_mail2_data}
{general_settings}
{opt_lst_ord} - -
{opt_lst_cla} - -
{skins_example}
{Download}

- -
{opt_chk_skin}
{avatar_example}
{Search}
{untoggleip}
{galaxyvision_options}
{spy_cant}
{tooltip_time} {seconds}
{mess_ammount_max}
{show_ally_logo}
{shortcut}{show}
{spy}
{write_a_messege}
{add_to_buddylist}
{attack_with_missile}
{show_report}
{delete_vacations}
{mode_vacations}
{deleteaccount}
-
-
\ No newline at end of file diff --git a/templates/OpenGame/options_body_vmode.tpl b/templates/OpenGame/options_body_vmode.tpl deleted file mode 100644 index 7025fc8..0000000 --- a/templates/OpenGame/options_body_vmode.tpl +++ /dev/null @@ -1,17 +0,0 @@ -
-

- - - - - - - - - - - - -
{Vaccation_mode} {vacation_until}
{exit_vacations}
- -
diff --git a/templates/OpenGame/overview_body.tpl b/templates/OpenGame/overview_body.tpl deleted file mode 100644 index a0ded62..0000000 --- a/templates/OpenGame/overview_body.tpl +++ /dev/null @@ -1,60 +0,0 @@ - -
- - - {Have_new_message} - {Have_new_level_mineur} - {Have_new_level_raid} - - - - - {NewsFrame} - - - {fleet_list} - - - - - - - - - - - - - - - - - - - - - {bannerframe} - {ExternalTchatFrame} -
{Planet} "{planet_name}" ({user_username})
{Server_time}
{MembersOnline}{NumberMembersOnline}
{Events}
{moon_img}
{moon}

{building}
{anothers_planets}
{Diameter}{planet_diameter} km ({planet_field_current} / {planet_field_max} {fields})
{Developed_fields}
{case_pourcentage}
{ov_off_level} - -
{ov_off_mines} : {lvl_minier}{ov_off_raids} : {lvl_raid}
{ov_off_expe} - -
{ov_off_mines} : {xpminier} / {lvl_up_minier}{ov_off_raids} : {xpraid} / {lvl_up_raid}
{Temperature}{ov_temp_from} {planet_temp_min}{ov_temp_unit} {ov_temp_to} {planet_temp_max}{ov_temp_unit}
{Position}[{galaxy_galaxy}:{galaxy_system}:{galaxy_planet}]
{ov_local_cdr}{Metal} : {metal_debris} / {Crystal} : {crystal_debris}{get_link}
{Points} - - - - - - - - -
{ov_pts_build} :{user_points}
{ov_pts_fleet} :{user_fleet}
{ov_pts_reche} :{player_points_tech}
{ov_pts_total} :{total_points}
({Rank} {user_rank} {of} {max_users})
{Raids} - - - - - -
{NumberOfRaids} :{raids}
{RaidsWin} :{raidswin}
{RaidsLoose} :{raidsloose}
-
-{ClickBanner} -
\ No newline at end of file diff --git a/templates/OpenGame/overview_deleteplanet.tpl b/templates/OpenGame/overview_deleteplanet.tpl deleted file mode 100644 index 911b140..0000000 --- a/templates/OpenGame/overview_deleteplanet.tpl +++ /dev/null @@ -1,16 +0,0 @@ -

{ov_rena_dele}

-
- - - - - - - - - - -
{security_query}
{confirm_planet_delete} {galaxy_galaxy}:{galaxy_system}:{galaxy_planet} {confirmed_with_password}
{password}
- - -
\ No newline at end of file diff --git a/templates/OpenGame/overview_fleet_event.tpl b/templates/OpenGame/overview_fleet_event.tpl deleted file mode 100644 index f453b61..0000000 --- a/templates/OpenGame/overview_fleet_event.tpl +++ /dev/null @@ -1,10 +0,0 @@ - - {fleet_javai} - -
-
- {fleet_time} - - {fleet_descr} - - {fleet_javas} - \ No newline at end of file diff --git a/templates/OpenGame/overview_renameplanet.tpl b/templates/OpenGame/overview_renameplanet.tpl deleted file mode 100644 index 2833867..0000000 --- a/templates/OpenGame/overview_renameplanet.tpl +++ /dev/null @@ -1,25 +0,0 @@ -
-
-

{rename_and_abandon_planet}

-
- - - - - - - - - - - - - - - - -
{your_planet}
{coords}{name}{functions}
{galaxy_galaxy}:{galaxy_system}:{galaxy_planet}{planet_name}
{namer}
-
-
- - \ No newline at end of file diff --git a/templates/OpenGame/phalanx_body.tpl b/templates/OpenGame/phalanx_body.tpl deleted file mode 100644 index 5f694d4..0000000 --- a/templates/OpenGame/phalanx_body.tpl +++ /dev/null @@ -1,9 +0,0 @@ -{phl_er_deuter} - - - - - - -{phl_fleets_table} -
{phl_tbl_title} [{phl_pl_galaxy}:{phl_pl_system}:{phl_pl_place}] ({phl_pl_name})
{phl_tbl_moves}
\ No newline at end of file diff --git a/templates/OpenGame/records_body.tpl b/templates/OpenGame/records_body.tpl deleted file mode 100644 index c0e6eb7..0000000 --- a/templates/OpenGame/records_body.tpl +++ /dev/null @@ -1,12 +0,0 @@ -
-
- - -{building} -{buildspe} -{research} -{fleet} -{defenses} - -
-
diff --git a/templates/OpenGame/records_section_header.tpl b/templates/OpenGame/records_section_header.tpl deleted file mode 100644 index 751f46d..0000000 --- a/templates/OpenGame/records_section_header.tpl +++ /dev/null @@ -1,5 +0,0 @@ - - {section} - {player} - {level} - \ No newline at end of file diff --git a/templates/OpenGame/records_section_rows.tpl b/templates/OpenGame/records_section_rows.tpl deleted file mode 100644 index 3fc6f8d..0000000 --- a/templates/OpenGame/records_section_rows.tpl +++ /dev/null @@ -1,5 +0,0 @@ - - {element} - {winner} - {count} - \ No newline at end of file diff --git a/templates/OpenGame/resources.tpl b/templates/OpenGame/resources.tpl deleted file mode 100644 index f2e91cf..0000000 --- a/templates/OpenGame/resources.tpl +++ /dev/null @@ -1,104 +0,0 @@ -
-
- - - - - - - - - - - - - - - - - -{resource_row} - - - - - - - - - - - - - - - -
{Production_of_resources_in_the_planet}
{Metal}{Crystal}{Deuterium}{Energy}
{Basic_income}{metal_basic_income}{crystal_basic_income}{deuterium_basic_income}{energy_basic_income}
{Stores_capacity}{metal_max}{crystal_max}{deuterium_max}-
Total:{metal_total}{crystal_total}{deuterium_total}{energy_total}
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
{Widespread_production}
 {Daily}{Weekly}{Monthly}
{Metal}{daily_metal}{weekly_metal}{monthly_metal}
{Crystal}{daily_crystal}{weekly_crystal}{monthly_crystal}
{Deuterium}{daily_deuterium}{weekly_deuterium}{monthly_deuterium}
-
- - - - - - - - - - - - - - - - - - -
{Storage_state}
{Metal}{metal_storage} -
-
-   -
-
-
{Crystal}{crystal_storage} -
-
-   -
-
-
{Deuterium}{deuterium_storage} -
-
-   -
-
-
-
\ No newline at end of file diff --git a/templates/OpenGame/resources_row.tpl b/templates/OpenGame/resources_row.tpl deleted file mode 100644 index 2f93042..0000000 --- a/templates/OpenGame/resources_row.tpl +++ /dev/null @@ -1,12 +0,0 @@ - - {type} ({level} {level_type}) - {metal_type} - {crystal_type} - {deuterium_type} - {energy_type} - - - - \ No newline at end of file diff --git a/templates/OpenGame/rules_body.tpl b/templates/OpenGame/rules_body.tpl deleted file mode 100644 index e2acb6b..0000000 --- a/templates/OpenGame/rules_body.tpl +++ /dev/null @@ -1,120 +0,0 @@ -

- - - - - - - -
{rules} {servername}
{respectrules}
-

- - - - - - - - -
{Account}
- {AccountText}
- {AccountText2}
-

- - - - - - - - -
{MultiAccount}
- {MultiAccountText}
- {MultiAccountText2}
- {MultiAccountText3}
-

- - - - - - - - -
{Sitting}
{SittingText}
- {SittingText2}
- {SittingText3}
- {SittingText4}
- {SittingText5}
- {SittingText6}
- {SittingText7}
- {SittingText8}
- {SittingText9}

{SittingText10}
- {SittingText11}
- {SittingText12}
- {SittingText13}
- {SittingText14}
- {SittingText15}
-

- - - - - - - - -
{Trade}
{TradeText}
{TradeText2}
-

- - - - - - - - -
{Bash}
- {BashText}
- {BashText2}

{exception}
- {BashExepText}
- {BashExepText2}
- {BashExepText3}
-

- - - - - - - - -
{Push}
{PushText}
- {PushText2}
- {PushText3}
- {PushText4}
- {PushText5}

{exemple}
- {PushEx}
- {PushEx2}

{recyclage}
- {PushRec}

{mercenariat}
- {PushMer}
- {PushMer2}
-

- - - - - - - - -
{Bugusing}
-{BugusingText}
- {BugusingText2}
- {BugusingText3}
- {BugusingText4}
-

- - - - - - - - -
{MailIngame}
{MailIngameText}
-

- - - - - - - - -
{OutXnova}
{OutText}
-

- - - - - - - - -
{Spam}
{SpamText}
- - \ No newline at end of file diff --git a/templates/OpenGame/search_ally_row.tpl b/templates/OpenGame/search_ally_row.tpl deleted file mode 100644 index 38bd946..0000000 --- a/templates/OpenGame/search_ally_row.tpl +++ /dev/null @@ -1,7 +0,0 @@ - - - {ally_tag} - {ally_name} - {ally_members} - {ally_points} - diff --git a/templates/OpenGame/search_ally_table.tpl b/templates/OpenGame/search_ally_table.tpl deleted file mode 100644 index a6f3244..0000000 --- a/templates/OpenGame/search_ally_table.tpl +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - -{result_list} -
{Tag}{Name}{Members}{Points}
diff --git a/templates/OpenGame/search_body.tpl b/templates/OpenGame/search_body.tpl deleted file mode 100644 index eb4b752..0000000 --- a/templates/OpenGame/search_body.tpl +++ /dev/null @@ -1,25 +0,0 @@ -
-
- - - - - - - - -
{Search_in_all_game}
- -    - -    - - -
-
-{search_results} diff --git a/templates/OpenGame/search_user_row.tpl b/templates/OpenGame/search_user_row.tpl deleted file mode 100644 index 5f3b586..0000000 --- a/templates/OpenGame/search_user_row.tpl +++ /dev/null @@ -1,10 +0,0 @@ - - - {username} - {write_a_messege} {buddy_request} - {ally_name} - {planet_name} - {coordinated} - {position} - - diff --git a/templates/OpenGame/search_user_table.tpl b/templates/OpenGame/search_user_table.tpl deleted file mode 100644 index 25a81f5..0000000 --- a/templates/OpenGame/search_user_table.tpl +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - -{result_list} -
{Name} {Alliance}{Planet}{Coordinated}{Position}
diff --git a/templates/OpenGame/serv_infos.tpl b/templates/OpenGame/serv_infos.tpl deleted file mode 100644 index 60c32a9..0000000 --- a/templates/OpenGame/serv_infos.tpl +++ /dev/null @@ -1,16 +0,0 @@ - - {lm_ifo_game} - x {lm_tx_game} - - - {lm_ifo_fleet} - x {lm_tx_fleet} - - - {lm_ifo_serv} - x {lm_tx_serv} - - - {lm_ifo_queue} - {lm_tx_queue} - \ No newline at end of file diff --git a/templates/OpenGame/simple_header.tpl b/templates/OpenGame/simple_header.tpl deleted file mode 100644 index 9b33ec9..0000000 --- a/templates/OpenGame/simple_header.tpl +++ /dev/null @@ -1,10 +0,0 @@ - - -{title} - -{-style-} - -{-meta-} - - -{-body-} diff --git a/templates/OpenGame/stat_alliancetable.tpl b/templates/OpenGame/stat_alliancetable.tpl deleted file mode 100644 index 6a082a5..0000000 --- a/templates/OpenGame/stat_alliancetable.tpl +++ /dev/null @@ -1,9 +0,0 @@ - - {ally_rank} - {ally_rankplus} - {ally_name} - {ally_mes} - {ally_members} - {ally_points} - {ally_members_points} - \ No newline at end of file diff --git a/templates/OpenGame/stat_alliancetable_header.tpl b/templates/OpenGame/stat_alliancetable_header.tpl deleted file mode 100644 index 83b3af8..0000000 --- a/templates/OpenGame/stat_alliancetable_header.tpl +++ /dev/null @@ -1,9 +0,0 @@ - - {Position} - {Difference} - {Alliance} -   - {Members} - {Points} - {PerMember} - \ No newline at end of file diff --git a/templates/OpenGame/stat_body.tpl b/templates/OpenGame/stat_body.tpl deleted file mode 100644 index 8b755ee..0000000 --- a/templates/OpenGame/stat_body.tpl +++ /dev/null @@ -1,31 +0,0 @@ -
-
-
- - - - - - -
{stat_title}: {stat_date}
- - - - - - - - - - - -
 {stat_show}  {stat_by}  {stat_range}  
-
-
- -{stat_header} -{stat_values} -
-
- - \ No newline at end of file diff --git a/templates/OpenGame/stat_playertable.tpl b/templates/OpenGame/stat_playertable.tpl deleted file mode 100644 index 5853414..0000000 --- a/templates/OpenGame/stat_playertable.tpl +++ /dev/null @@ -1,8 +0,0 @@ - - {player_rank} - {player_rankplus} - {player_name} - {player_mes} - {player_alliance} - {player_points} - \ No newline at end of file diff --git a/templates/OpenGame/stat_playertable_header.tpl b/templates/OpenGame/stat_playertable_header.tpl deleted file mode 100644 index 8171d4a..0000000 --- a/templates/OpenGame/stat_playertable_header.tpl +++ /dev/null @@ -1,8 +0,0 @@ - - {Position} - {Difference} - {Player} -   - {Alliance} - {Points} - \ No newline at end of file diff --git a/templates/OpenGame/techtree_head.tpl b/templates/OpenGame/techtree_head.tpl deleted file mode 100644 index a7ff570..0000000 --- a/templates/OpenGame/techtree_head.tpl +++ /dev/null @@ -1,4 +0,0 @@ - - {tt_name} - {Requirements} - \ No newline at end of file diff --git a/templates/OpenGame/techtree_row.tpl b/templates/OpenGame/techtree_row.tpl deleted file mode 100644 index 8286330..0000000 --- a/templates/OpenGame/techtree_row.tpl +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - -
{tt_name}{tt_detail}
- - - - - - -
{required_list}
- - \ No newline at end of file