<%--
Document : LetterHead
Created on : 22-Nov-2014, 17:24:43
Author : nitz
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="../../favicon.ico">
<title>Welcome to Jay Siyaram Printers</title>
<!-- Bootstrap core CSS -->
<link href="Bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="Bootstrap/css/awesome-bootstrap-checkbox.css" rel="stylesheet" type="text/css"/>
<!-- Custom styles for this template -->
<link href="Bootstrap/css/starter-template.css" rel="stylesheet" type="text/css"/>
<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<script src="../../assets/js/ie-emulation-modes-warning.js"></script>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<p class="text-center">
<h4 align="center">
<%
if ((session.getAttribute("name") == null) || (session.getAttribute("name") == "")) {
RequestDispatcher rd = request.getRequestDispatcher("login.jsp");
rd.forward(request, response);
%>
You are not logged in<br/>
<a href="login.jsp">Please Login</a>
<%} else {
%>
Welcome, <%=session.getAttribute("name")%>
<a href='Loggedout.jsp'>Log out.</a>
<%
}
%></h4></p>
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<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.jsp">Jay Siyaram Printers</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="index.jsp">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="ContactUs.jsp">Contact</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
<div class="container">
<hr class="featurette-divider">
<form name="f1" action="LetterHeadServlet" method="post" class="form-horizontal well span6" onsubmit="return validate()">
<h1> LetterHead Printing Details:</h1>
<hr class="featurette-divider">
<div class="form-group">
<label class="col-sm-2 control-label">Color</label>
<div class="col-sm-3">
<select class="form-control" id="sel1" name="drdColor">
<option>Single Color</option>
<option>Two Color</option>
<option>Multi Color</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Paper Material</label>
<div class="col-sm-3">
<div class="radio">
<input type="radio" name="radioMaterial" id="radio1" value="70" checked>
<label for="radio1">
70
</label> g/m<sup>2</sup>
</div>
<div class="radio">
<input type="radio" name="radioMaterial" id="radio2" value="85">
<label for="radio2">
85
</label> g/m<sup>2</sup>
</div>
<div class="radio">
<input type="radio" name="radioMaterial" id="radio3" value="100">
<label for="radio3">
100
</label> g/m<sup>2</sup>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Font size</label>
<div class="col-sm-5">
<input type="text" name="txtFontSize" class="form-control" class="span3" /><span id="sizeloc" ></span>
</div>
</div>
<div class="form-group"><br>
<label class="col-sm-2 control-label">Orientation </label>
<div class="col-sm-3">
<div class="radio">
<input type="radio" name="radioOrient" id="radio4" value="Horizontal" checked>
<label for="radio4">
Horizontal
</label>
</div>
<div class="radio">
<input type="radio" name="radioOrient" id="radio5" value="Vertical">
<label for="radio5">
Vertical
</label>
</div>
</div>
</div>
<div class="form-group"><br>
<label class="col-sm-2 control-label">Quantity</label>
<div class="col-sm-5">
<input type="text" name="txtQuantity" class="form-control" class="span3" /><span id="qtyloc" ></span>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Paper Format </label>
<div class="col-sm-3">
<div class="radio">
<input type="radio" name="radioPformat" id="radio6" value="A4" checked>
<label for="radio6">
A4 Format
</label>
</div>
<div class="radio">
<input type="radio" name="radioPformat" id="radio7" value="Legal">
<label for="radio7">
Legal Format
</label>
</div>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<input type="submit" name="btnSubmit" value="Submit" class="btn btn-success"/>
</div>
</div>
</form>
<hr class="featurette-divider">
<!-- FOOTER -->
<footer>
<p class="pull-right"><a href="#">Back to top</a></p>
<p>© 2014 4everHappy, Inc. · <a href="#">Privacy</a> · <a href="#">Terms</a></p>
</footer>
</div>
<!-- /.container -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="Bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
</body>
</html>
Document : LetterHead
Created on : 22-Nov-2014, 17:24:43
Author : nitz
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="../../favicon.ico">
<title>Welcome to Jay Siyaram Printers</title>
<!-- Bootstrap core CSS -->
<link href="Bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="Bootstrap/css/awesome-bootstrap-checkbox.css" rel="stylesheet" type="text/css"/>
<!-- Custom styles for this template -->
<link href="Bootstrap/css/starter-template.css" rel="stylesheet" type="text/css"/>
<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<script src="../../assets/js/ie-emulation-modes-warning.js"></script>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<p class="text-center">
<h4 align="center">
<%
if ((session.getAttribute("name") == null) || (session.getAttribute("name") == "")) {
RequestDispatcher rd = request.getRequestDispatcher("login.jsp");
rd.forward(request, response);
%>
You are not logged in<br/>
<a href="login.jsp">Please Login</a>
<%} else {
%>
Welcome, <%=session.getAttribute("name")%>
<a href='Loggedout.jsp'>Log out.</a>
<%
}
%></h4></p>
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<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.jsp">Jay Siyaram Printers</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="index.jsp">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="ContactUs.jsp">Contact</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
<div class="container">
<hr class="featurette-divider">
<form name="f1" action="LetterHeadServlet" method="post" class="form-horizontal well span6" onsubmit="return validate()">
<h1> LetterHead Printing Details:</h1>
<hr class="featurette-divider">
<div class="form-group">
<label class="col-sm-2 control-label">Color</label>
<div class="col-sm-3">
<select class="form-control" id="sel1" name="drdColor">
<option>Single Color</option>
<option>Two Color</option>
<option>Multi Color</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Paper Material</label>
<div class="col-sm-3">
<div class="radio">
<input type="radio" name="radioMaterial" id="radio1" value="70" checked>
<label for="radio1">
70
</label> g/m<sup>2</sup>
</div>
<div class="radio">
<input type="radio" name="radioMaterial" id="radio2" value="85">
<label for="radio2">
85
</label> g/m<sup>2</sup>
</div>
<div class="radio">
<input type="radio" name="radioMaterial" id="radio3" value="100">
<label for="radio3">
100
</label> g/m<sup>2</sup>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Font size</label>
<div class="col-sm-5">
<input type="text" name="txtFontSize" class="form-control" class="span3" /><span id="sizeloc" ></span>
</div>
</div>
<div class="form-group"><br>
<label class="col-sm-2 control-label">Orientation </label>
<div class="col-sm-3">
<div class="radio">
<input type="radio" name="radioOrient" id="radio4" value="Horizontal" checked>
<label for="radio4">
Horizontal
</label>
</div>
<div class="radio">
<input type="radio" name="radioOrient" id="radio5" value="Vertical">
<label for="radio5">
Vertical
</label>
</div>
</div>
</div>
<div class="form-group"><br>
<label class="col-sm-2 control-label">Quantity</label>
<div class="col-sm-5">
<input type="text" name="txtQuantity" class="form-control" class="span3" /><span id="qtyloc" ></span>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Paper Format </label>
<div class="col-sm-3">
<div class="radio">
<input type="radio" name="radioPformat" id="radio6" value="A4" checked>
<label for="radio6">
A4 Format
</label>
</div>
<div class="radio">
<input type="radio" name="radioPformat" id="radio7" value="Legal">
<label for="radio7">
Legal Format
</label>
</div>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<input type="submit" name="btnSubmit" value="Submit" class="btn btn-success"/>
</div>
</div>
</form>
<hr class="featurette-divider">
<!-- FOOTER -->
<footer>
<p class="pull-right"><a href="#">Back to top</a></p>
<p>© 2014 4everHappy, Inc. · <a href="#">Privacy</a> · <a href="#">Terms</a></p>
</footer>
</div>
<!-- /.container -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="Bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
</body>
</html>