diff --git a/install/include/support.php b/install/include/support.php new file mode 100644 index 00000000..6cd1bab4 --- /dev/null +++ b/install/include/support.php @@ -0,0 +1,23 @@ + 12]) . "' WHERE username = 'Support'"); + } + + $gameinstall = 0; + header("Location: ../index.php?s=6"); + +?> \ No newline at end of file diff --git a/install/index.php b/install/index.php index ac5fafe2..bc76888f 100644 --- a/install/index.php +++ b/install/index.php @@ -74,7 +74,7 @@ function proceed() {
draw(); for($i = 0; $i < ($_GET['s']+1); $i++) { $bar->tick(); @@ -106,12 +106,15 @@ function proceed() { include("templates/field.tpl"); break; case 4: - include("templates/multihunter.tpl"); - break; + include("templates/multihunter.tpl"); + break; case 5: - include("templates/oasis.tpl"); + include("templates/support.tpl"); break; case 6: + include("templates/oasis.tpl"); + break; + case 7: include("templates/end.tpl"); break; } diff --git a/install/templates/menu.tpl b/install/templates/menu.tpl index cc2bf27e..74b1ca8e 100644 --- a/install/templates/menu.tpl +++ b/install/templates/menu.tpl @@ -19,25 +19,28 @@ switch($_GET['s']) { case 0: - echo "
  • Intro
  • Configuration
  • Database
  • Field
  • Multihunter
  • Oasis
  • End
  • "; + echo "
  • Intro
  • Configuration
  • Database
  • Field
  • Multihunter
  • Support
  • Oasis
  • End
  • "; break; case 1: - echo "
  • Intro
  • Configuration
  • Database
  • Field
  • Multihunter
  • Oasis
  • End
  • "; + echo "
  • Intro
  • Configuration
  • Database
  • Field
  • Multihunter
  • Support
  • Oasis
  • End
  • "; break; case 2: - echo "
  • Intro
  • Configuration
  • Database
  • Field
  • Multihunter
  • Oasis
  • End
  • "; + echo "
  • Intro
  • Configuration
  • Database
  • Field
  • Multihunter
  • Support
  • Oasis
  • End
  • "; break; case 3: - echo "
  • Intro
  • Configuration
  • Database
  • Field
  • Multihunter
  • Oasis
  • End
  • "; + echo "
  • Intro
  • Configuration
  • Database
  • Field
  • Multihunter
  • Support
  • Oasis
  • End
  • "; break; case 4: - echo "
  • Intro
  • Configuration
  • Database
  • Field
  • Multihunter
  • Oasis
  • End
  • "; + echo "
  • Intro
  • Configuration
  • Database
  • Field
  • Multihunter
  • Support
  • Oasis
  • End
  • "; break; case 5: - echo "
  • Intro
  • Configuration
  • Database
  • Field
  • Multihunter
  • Oasis
  • End
  • "; + echo "
  • Intro
  • Configuration
  • Database
  • Field
  • Multihunter
  • Support
  • Oasis
  • End
  • "; break; case 6: - echo "
  • Intro
  • Configuration
  • Database
  • Field
  • Multihunter
  • Oasis
  • End
  • "; + echo "
  • Intro
  • Configuration
  • Database
  • Field
  • Multihunter
  • Support
  • Oasis
  • End
  • "; + break; + case 7: + echo "
  • Intro
  • Configuration
  • Database
  • Field
  • Multihunter
  • Support
  • Oasis
  • End
  • "; break; } diff --git a/install/templates/multihunter.tpl b/install/templates/multihunter.tpl index 59e8a44b..2c294a4b 100644 --- a/install/templates/multihunter.tpl +++ b/install/templates/multihunter.tpl @@ -14,7 +14,6 @@ ## Source code: https://github.com/Shadowss/TravianZ ## ## ## ################################################################################# - rename("include/constant.php","../GameEngine/config.php"); ?> diff --git a/install/templates/support.tpl b/install/templates/support.tpl new file mode 100644 index 00000000..563af2e0 --- /dev/null +++ b/install/templates/support.tpl @@ -0,0 +1,37 @@ + + + + +
    + +

    + Create Support account + + + + +
    Name:
    Password:
    Note: Rember this password! You need it for the ACP
    +

    + +
    +
    +
    + +