<?php
// getSettings.php
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="../../favicon.ico">
<title>PHP Class And SQL Code Generator</title>
<!-- Bootstrap core CSS -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- Custom styles for this template -->
<link href="./css/navbar-fixed-top.css" rel="stylesheet">
</head>
<body>
<!-- Fixed navbar -->
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.php">PHP Generator</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="index.php">Back</a></li>
</ul>
</div>
</nav>
<div class="container" style='margin-top: 70px;'>
<div class="row">
<div class="col-md-12">
<form action="generateSettings.php" method="post">
<div class="form-group">
<label for="server">Server</label>
<input type="text" class="form-control" id="server" placeholder="localhost" name="server">
</div>
<div class="form-group">
<label for="database">Database</label>
<input type="text" class="form-control" id="database" placeholder="database name" name="database">
</div>
<div class="form-group">
<label for="user">DB User</label>
<input type="text" class="form-control" id="user" placeholder="user" name="user">
</div>
<div class="form-group">
<label for="password">DB Password</label>
<input type="text" class="form-control" id="password" placeholder="password" name="password">
</div>
<div class="form-group">
<button type="submit" class="btn btn-default" name="genereer">Generate settings file</button>
</div>
</form>
</div>
</div>
</div> <!-- /container -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</body>
</html>
|