<?php session_start(); ?>
<html>
<head>
<?php include('inc/head.php'); ?>
</head>
<body>
<div class="container">
<div class="header text-center">
<?php include("inc/header.php"); ?>
<nav class="navbar navbar-inverse" role="navigation">
<?php include("inc/menu.php"); ?>
</nav>
</div>
<div class="row">
<div class="col-lg-3">
<?php include("inc/sidebar.php"); ?>
</div>
<!-- </div>
<div class="row"> -->
<div class="col-lg-9">
<div class="bs-component">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Feedback</h3>
</div>
<div class="panel-body">
<h1>Feedback</h1>
<hr/>
<div class="col-lg-5">
<?php
if (isset($_SESSION['feed_error']['fcom']))
{
echo '<span class="alert alert-success">'.$_SESSION['feed_error']['fcom'].'</span>';
}
?>
<form action="feedback_pro.php" method="post">
<input type="text" name="unm" class="form-control" autofocus placeholder="Enter Your Name" />
<?php
if (isset($_SESSION['feed_error']['unm']))
{
echo '<span class="alert alert-danger">'.$_SESSION['feed_error']['unm'].'</span>';
}
?>
<br/>
<input type="email" name="email" class="form-control" autofocus placeholder="Enter Email-Id" />
<?php
if (isset($_SESSION['feed_error']['email']))
{
echo '<span class="alert alert-danger">'.$_SESSION['feed_error']['email'].'</span>';
}
if (isset($_SESSION['feed_error']['email2']))
{
echo '<span class="alert alert-danger">'.$_SESSION['feed_error']['email2'].'</span>';
}
?>
<br/>
<input type="text" name="mno" class="form-control" autofocus placeholder="Enter Mobile No" />
<?php
if (isset($_SESSION['feed_error']['mno']))
{
echo '<span class="alert alert-danger">'.$_SESSION['feed_error']['mno'].'</span>';
}
if (isset($_SESSION['feed_error']['mnolen']))
{
echo '<span class="alert alert-danger">'.$_SESSION['feed_error']['mnolen'].'</span>';
}unset($_SESSION['reg_error']);
?>
<br/>
<textarea name="sub" class="form-control" placeholder="Enter Your Subject"></textarea>
<?php
if (isset($_SESSION['feed_error']['sub']))
{
echo '<span class="alert alert-danger">'.$_SESSION['feed_error']['sub'].'</span>';
}
unset($_SESSION['feed_error']);
?>
<br/>
<input type="submit" value="Submit" class="btn btn-info" />
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
<html>
<head>
<?php include('inc/head.php'); ?>
</head>
<body>
<div class="container">
<div class="header text-center">
<?php include("inc/header.php"); ?>
<nav class="navbar navbar-inverse" role="navigation">
<?php include("inc/menu.php"); ?>
</nav>
</div>
<div class="row">
<div class="col-lg-3">
<?php include("inc/sidebar.php"); ?>
</div>
<!-- </div>
<div class="row"> -->
<div class="col-lg-9">
<div class="bs-component">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Feedback</h3>
</div>
<div class="panel-body">
<h1>Feedback</h1>
<hr/>
<div class="col-lg-5">
<?php
if (isset($_SESSION['feed_error']['fcom']))
{
echo '<span class="alert alert-success">'.$_SESSION['feed_error']['fcom'].'</span>';
}
?>
<form action="feedback_pro.php" method="post">
<input type="text" name="unm" class="form-control" autofocus placeholder="Enter Your Name" />
<?php
if (isset($_SESSION['feed_error']['unm']))
{
echo '<span class="alert alert-danger">'.$_SESSION['feed_error']['unm'].'</span>';
}
?>
<br/>
<input type="email" name="email" class="form-control" autofocus placeholder="Enter Email-Id" />
<?php
if (isset($_SESSION['feed_error']['email']))
{
echo '<span class="alert alert-danger">'.$_SESSION['feed_error']['email'].'</span>';
}
if (isset($_SESSION['feed_error']['email2']))
{
echo '<span class="alert alert-danger">'.$_SESSION['feed_error']['email2'].'</span>';
}
?>
<br/>
<input type="text" name="mno" class="form-control" autofocus placeholder="Enter Mobile No" />
<?php
if (isset($_SESSION['feed_error']['mno']))
{
echo '<span class="alert alert-danger">'.$_SESSION['feed_error']['mno'].'</span>';
}
if (isset($_SESSION['feed_error']['mnolen']))
{
echo '<span class="alert alert-danger">'.$_SESSION['feed_error']['mnolen'].'</span>';
}unset($_SESSION['reg_error']);
?>
<br/>
<textarea name="sub" class="form-control" placeholder="Enter Your Subject"></textarea>
<?php
if (isset($_SESSION['feed_error']['sub']))
{
echo '<span class="alert alert-danger">'.$_SESSION['feed_error']['sub'].'</span>';
}
unset($_SESSION['feed_error']);
?>
<br/>
<input type="submit" value="Submit" class="btn btn-info" />
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
No comments:
Post a Comment