<form method="post" class="content"> <div class="title"><?php echo $this->lng['install_progress']; ?> - <?php echo $this->lng['step_1']; ?></div> <div class="desc"><?php echo $this->lng['s1_desc1']; ?></div> <div class="desc"><?php echo $this->lng['s1_desc2']; ?></div> <div class="desc"><?php echo $this->lng['s1_desc3']; ?></div> <div class="table"> <div class="table-row"> <div class="table-cell"><?php echo $this->lng['type']; ?></div> <div class="table-cell"> <select name="type" id="inputType"> <option value="mysqli">MySQLi (<?php echo $this->lng['recommended']; ?>)</option> <option value="mysql" <?php echo @$_SESSION['f_backend']; ?>>MySQL</option> </select> </div> </div> <div class="table-row"> <div class="table-cell"><?php echo $this->lng['db_host']; ?></div> <div class="table-cell"> <input type="text" name="host" value="<?php echo @$_SESSION['f_host']; ?>" placeholder="<?php echo $this->lng['db_host']; ?>"> </div> </div> <div class="table-row"> <div class="table-cell"><?php echo $this->lng['db_port']; ?></div> <div class="table-cell"> <input type="text" name="port" value="<?php echo @$_SESSION['f_port']; ?>" placeholder="<?php echo $this->lng['db_port']; ?>"> </div> </div> <div class="table-row"> <div class="table-cell"><?php echo $this->lng['db_name']; ?></div> <div class="table-cell"> <input type="text" name="base" value="<?php echo @$_SESSION['f_base']; ?>" placeholder="<?php echo $this->lng['db_name']; ?>"> </div> </div> <div class="table-row"> <div class="table-cell"><?php echo $this->lng['db_user']; ?></div> <div class="table-cell"> <input type="text" name="user" value="<?php echo @$_SESSION['f_user']; ?>" placeholder="<?php echo $this->lng['db_user']; ?>"> </div> </div> <div class="table-row"> <div class="table-cell"><?php echo $this->lng['db_pass']; ?></div> <div class="table-cell"> <input type="password" value="<?php echo @$_SESSION['f_pass']; ?>" name="pass" placeholder="<?php echo $this->lng['db_pass']; ?>"> </div> </div> <div class="table-row"> <div class="table-cell"><a href="<?php echo URL_INSTALL; ?>" class="btn"><?php echo $this->lng['update']; ?></a></div> <div class="table-cell"> <a href="<?php echo URL_INSTALL; ?>?do=reinstall" class="btn"><?php echo $this->lng['reinstall']; ?></a> <button type="submit" class="btn"><?php echo $this->lng['next']; ?></button> </div> </div> </div> </form>