Location: PHPKode > projects > phpMyPrepaid > phpmyprepaid/www/install/step5.php
<?
              aff_header("PhpMyPrepaid Setup Wizard", "User Interface Configuration", 6);
                if (isset($passwd_error) && $passwd_error)
                        print "<center><b><span class=\"stop\">$passwd_error</span></b></center><br>";
                ?>
                <table cellpadding="0" cellspacing="0" border="0" width="80%" class="StyleDottedHr" align="center">
          <tr>
            <th align="left">Component</th>
            <th style="text-align: right;">Status</th>
          </tr>
                  <tr>
            <td><b>Administrator login for PhpMyPrepaid</b></td>
            <td align="right"><input type="text" name="pralogin" value="<? if (isset($_SESSION["pralogin"])) print $_SESSION["pralogin"]; ?>"></td>
          </tr>
                  <tr>
            <td><b>Administrator password for PhpMyPrepaid</b></td>
  <td align="right"><input type="password" name="phpmyprepaidpassword" value="<? if (isset($_SESSION["phpmyprepaidpassword"])) print $_SESSION["phpmyprepaidpassword"]; ?>"></td>
          </tr>
                  <tr>
            <td><b>Confirm Password</b></td>
            <td align="right"><input type="password" name="phpmyprepaidpassword2" value="<? if (isset($_SESSION["phpmyprepaidpassword"])) print $_SESSION["phpmyprepaidpassword"]; ?>"></td>
          </tr>
                  <tr>
            <td><b>Administrator name for PhpMyPrepaid</b></td>
            <td align="right"><input type="text" name="prafirstname" value="<? if (isset($_SESSION["prafirstname"])) print $_SESSION["prafirstname"]; ?>"></td>
          </tr>
                  <tr>
            <td><b>Administrator surname for PhpMyPrepaid</b></td>
            <td align="right"><input type="text" name="pralastname" value="<? if (isset($_SESSION["pralastname"])) print $_SESSION["pralastname"]; ?>"></td>
          </tr>
                  <tr>
            <td><b>Administrator email for PhpMyPrepaid</b></td>
            <td align="right"><input type="text" name="praemail" value="<? if (isset($_SESSION["praemail"])) print $_SESSION["praemail"]; ?>"></td>
          </tr>
                  <tr>
            <td><b>Administrator language for PhpMyPrepaid. *Only english is supported by now.</b></td>
            <td align="right"><select name="pralang">
                                        <?
                                        $chemintotal = "../lang/";
                                        if ($handle  = opendir($chemintotal))   {
                                                while ($file = readdir($handle))
                                                        if      (!is_dir("$chemintotal/$file") && strcmp($file, "index.php")) {
                                                                $tab = split('\.', $file);
                                                                print "<option ";
                                                                if (isset($_SESSION["pralang"]) && !strcmp($_SESSION["pralang"], $tab[0]))
                                                                        print "selected";
                                                                print ">" . $tab[0] . "</option>";
                                                        }
                                                closedir($handle);
                                        }
                                                                    
                                     ?>
                                        </select>
                        </td>
          </tr>
                </table>
                <?
                aff_middle();
                $str = "<input class='button' type='submit' name='goto' value='Back' /><input class='button' type='submit' name='goto' value='Next' id='button_next' />";
                print $str;
                aff_footer();
?>
Return current item: phpMyPrepaid