summaryrefslogtreecommitdiff
path: root/http/pkle2018.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-02-14 22:23:41 +0300
committeremkael <emkael@tlen.pl>2019-02-14 22:23:41 +0300
commita2ae2402856f6f1f4376b4f3cc45838ac72be950 (patch)
tree4ffedea261275e5abe16ad0f7cd080e1b8851cca /http/pkle2018.php
parent6629c7e53cbe43016451cdb191ef2b7581cff134 (diff)
Enabling custom players number for team tournaments
Diffstat (limited to 'http/pkle2018.php')
-rw-r--r--http/pkle2018.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/http/pkle2018.php b/http/pkle2018.php
index b4721ba..f59a29f 100644
--- a/http/pkle2018.php
+++ b/http/pkle2018.php
@@ -259,7 +259,7 @@ else*/if( $_SERVER['REQUEST_METHOD'] == 'POST' ){
endif;
$iuc = $_POST['iuc'];
if( $typ>2 ) $typ = 4;
- $izw = $typ*$iuc;
+ $izw = $_POST['izw'];
if( $izw > 99 ){
$dajp = 1;
}
@@ -369,7 +369,7 @@ function submitit(){
-->
</script>
</head>
-<body style="background-color: #F0F0F0; background-image: none">
+<body style="background-color: #F0F0F0; background-image: none" onload="document.getElementById('izw').readOnly = (document.forms['pkl']['typ'].value < 4)">
<form id="pkl" method="post" action="pkle2018.php">
<table border="0" cellspacing="0" cellpadding="0">
<tr>