| Linux server27.hostingraja.org 2.6.32-954.3.5.lve1.4.93.el6.x86_64 #1 SMP Wed Oct 4 17:04:29 UTC 2023 x86_64 Path : /home/udaipurk/public_html/websites/samaj/samaj/admin/ |
| Current File : /home/udaipurk/public_html/websites/samaj/samaj/admin/user.php_512016 |
<?php
include('../config.php');
if (isset($_POST['update'])) {
$un_id = $_POST['un_id'];
$count = $_POST['count'];
for ($i = 0; $i < $count; $i++) {
$u_id = $_POST['status'][$i];
$query_up = mysqli_query($link,"update member set status='Inactive' where u_id='$u_id'");
}
if ($query_up) {
header("location:user.php?un_id=$un_id&err=1");
} else {
header("location:user.php?un_id=$un_id&err=2");
}
}
if (isset($_POST['delete'])) {
$un_id = $_POST['un_id'];
$countd = $_POST['countd'];
for ($i = 0; $i < $countd; $i++) {
$u_id = $_POST['del'][$i];
$query_up = mysqli_query($link,"delete from member where u_id='$u_id'");
// print_r($query_up); die();
$query = mysqli_query($link,"delete from reg_member where user_id='$u_id'");
}
if ($query_up) {
header("location:user.php?un_id=$un_id&err=1");
} else {
header("location:user.php?un_id=$un_id&err=2");
}
}
if (isset($_POST['add_member'])) {
$un_id = $_POST['fid'];
$surname = $_POST['gotra'];
$name = $_POST['name'];
$relation = $_POST['relation'];
$age = $_POST['age'];
$education = $_POST['education'];
$p_address = $_POST['p_address'];
$c_address = $_POST['c_address'];
$mobile = $_POST['mobile'];
$relation_with = $_POST['relation_with'];
$date = date('Y/m/d');
$q_ins = mysqli_query($link,"insert into member (un_id,surname,name,relation,age,education,p_address,c_address,mobile,relation_with,r_date) values ('$un_id','$surname','$name','$relation','$age','$education','$p_address','$c_address','$mobile','$relation_with','$date')");
if ($q_ins) {
header("location:user.php?un_id=$un_id&err=1");
} else {
header("location:user.php?un_id=$un_id&err=2");
}
}
// <--Delete Query-->
if (isset($_GET['did'])) {
$did = $_GET['did'];
$un_id = $_GET['un_id'];
if ($did) {
$query = mysqli_query($link,"delete from reg_member where user_id='$did'");
$up_query = mysqli_query($link,"update member set r_status='' where u_id='$did'");
if ($query)
header("location:user.php?un_id=$un_id&err=5");
else
header("location:user.php?un_id=$un_id&err=6");
}
}
// <--End Code-->
include('header.php');
if (isset($_GET['err'])) {
$msg = $_GET['err'];
if ($msg == 1) {
?>
<div class="alert alert-success">
<h4>Success!</h4>
You successfully Updated.
</div>
<?php
}
if ($msg == 2) {
?>
<div class="alert alert-error">
<h4>Fail!</h4>
Not updated Successfully.
</div>
<?php
}
if ($msg == 3) {
?>
<div class="alert alert-success">
<h4>Success!</h4>
You successfully Registered Member.
</div>
<?php
}
if ($msg == 4) {
?>
<div class="alert alert-error">
<h4>Fail!</h4>
Not registered Successfully.
</div>
<?php
}
if ($msg == 5) {
?>
<div class="alert alert-success">
<h4>Success!</h4>
You removed Member successfully.
</div>
<?php
}
if ($msg == 6) {
?>
<div class="alert alert-error">
<h4>Fail!</h4>
Not removed Successfully.
</div>
<?php
}
}
$un_id = $_GET['un_id'];
?>
<script type="text/javascript" src="../js/jsapi.js">
</script>
<script type="text/javascript">
google.load("elements", "1", {
packages: "transliteration"
});
function onLoad() {
var options = {
sourceLanguage: 'en',
destinationLanguage: ['hi'],
shortcutKey: 'ctrl+g',
transliterationEnabled: true
};
var control = new google.elements.transliteration.TransliterationControl(options);
var ids = ["name", "relation"];
control.makeTransliteratable(ids);
control.showControl('translControl');
}
google.setOnLoadCallback(onLoad);
</script>
<script lang="javascript">
function c_count()
{
var count = $("input#ccount:checked").length;
document.getElementById("count").value = count;
}
function d_count()
{
var count = $("input#dcount:checked").length;
document.getElementById("countd").value = count;
}
function showdiv()
{
$("#add").toggle();
}
</script>
<?php
$i = 1;
$query = mysqli_query($link,"select u_id,un_id,surname,name,c_address,relation,p_address,mobile,education,status,r_status,(age + TIMESTAMPDIFF(YEAR,r_date,CURDATE())) as age1 from member where un_id='$un_id' order by u_id");
$t_mem = mysqli_num_rows($query);
if ($t_mem) {
?>
<section id="ccr-world-news">
<div class="head">
<div class="isw-list"></div>
<h1>Family Members </h1>
<h1 >Family No.(<?php echo $un_id; ?>)</h1>
<div class="clear"></div>
</div>
<div id="table_div" class="sc_table sc_table_style_regular" style="border: 0;
font-family: inherit;
font-size: 100%;
font-style: inherit;
font-weight: inherit;
margin: 0;
outline: 0;
padding: 0;
vertical-align: baseline;">
<table border="1" style=" border-collapse: collapse;
table-layout: fixed;
margin-bottom: 20px;width:100%" id="tablepaging" class="yui">
<tbody>
<!– Results table headers –>
<thead>
<th width="40" style=" padding: 9px 10px 9px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
-moz-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
font-size: 12px;
line-height: 15px;
font-weight: bold;
color: #404040;
border: 1px solid #e0e0e0;
background: #ffffff;
background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f7f7f7));
background: -webkit-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -moz-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -ms-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -o-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: linear-gradient(#ffffff 0%, #f7f7f7 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f7f7f7',GradientType=0 );">S.No.</th>
<th style=" padding: 9px 10px 9px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
-moz-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
font-size: 12px;
line-height: 15px;
font-weight: bold;
color: #404040;
background: #ffffff;
border: 1px solid #e0e0e0;
background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f7f7f7));
background: -webkit-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -moz-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -ms-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -o-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: linear-gradient(#ffffff 0%, #f7f7f7 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f7f7f7',GradientType=0 );">Name</th>
<th style=" padding: 9px 10px 9px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
-moz-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
font-size: 12px;
line-height: 15px;
font-weight: bold;
color: #404040;
border: 1px solid #e0e0e0;
background: #ffffff;
background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f7f7f7));
background: -webkit-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -moz-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -ms-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -o-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: linear-gradient(#ffffff 0%, #f7f7f7 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f7f7f7',GradientType=0 );">Relation</th>
<th width="45" style=" padding: 9px 10px 9px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
-moz-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
font-size: 12px;
line-height: 15px;
font-weight: bold;
border: 1px solid #e0e0e0;
color: #404040;
background: #ffffff;
background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f7f7f7));
background: -webkit-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -moz-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -ms-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -o-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: linear-gradient(#ffffff 0%, #f7f7f7 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f7f7f7',GradientType=0 );">Age</th>
<th style=" padding: 9px 10px 9px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
-moz-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
font-size: 12px;
line-height: 15px;
font-weight: bold;
border: 1px solid #e0e0e0;
color: #404040;
background: #ffffff;
background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f7f7f7));
background: -webkit-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -moz-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -ms-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -o-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: linear-gradient(#ffffff 0%, #f7f7f7 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f7f7f7',GradientType=0 );">Gotra</th> <th style=" padding: 9px 10px 9px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
-moz-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
font-size: 12px;
line-height: 15px;
font-weight: bold;
border: 1px solid #e0e0e0;
color: #404040;
background: #ffffff;
background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f7f7f7));
background: -webkit-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -moz-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -ms-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -o-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: linear-gradient(#ffffff 0%, #f7f7f7 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f7f7f7',GradientType=0 );">Education</th>
<th style=" padding: 9px 10px 9px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
-moz-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
font-size: 12px;
line-height: 15px;
font-weight: bold;
color: #404040;
border: 1px solid #e0e0e0;
background: #ffffff;
background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f7f7f7));
background: -webkit-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -moz-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -ms-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -o-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: linear-gradient(#ffffff 0%, #f7f7f7 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f7f7f7',GradientType=0 );">Permanent Address</th>
<th style=" padding: 9px 10px 9px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
-moz-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
font-size: 12px;
line-height: 15px;
font-weight: bold;
color: #404040;
border: 1px solid #e0e0e0;
background: #ffffff;
background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f7f7f7));
background: -webkit-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -moz-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -ms-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -o-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: linear-gradient(#ffffff 0%, #f7f7f7 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f7f7f7',GradientType=0 );">Current Address</th>
<th style=" padding: 9px 10px 9px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
-moz-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
font-size: 12px;
line-height: 15px;
font-weight: bold;
color: #404040;
border: 1px solid #e0e0e0;
background: #ffffff;
background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f7f7f7));
background: -webkit-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -moz-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -ms-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -o-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: linear-gradient(#ffffff 0%, #f7f7f7 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f7f7f7',GradientType=0 );">M.No.</th>
<th style=" padding: 9px 10px 9px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
-moz-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
font-size: 12px;
line-height: 15px;
font-weight: bold;
color: #404040;
border: 1px solid #e0e0e0;
background: #ffffff;
background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f7f7f7));
background: -webkit-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -moz-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -ms-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -o-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: linear-gradient(#ffffff 0%, #f7f7f7 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f7f7f7',GradientType=0 );">Edit Member </th>
<th style=" padding: 9px 10px 9px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
-moz-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
font-size: 12px;
line-height: 15px;
font-weight: bold;
color: #404040;
border: 1px solid #e0e0e0;
background: #ffffff;
background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f7f7f7));
background: -webkit-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -moz-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -ms-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -o-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: linear-gradient(#ffffff 0%, #f7f7f7 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f7f7f7',GradientType=0 );">Make Member </th>
<th style=" padding: 9px 10px 9px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
-moz-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
font-size: 12px;
line-height: 15px;
font-weight: bold;
color: #404040;
border: 1px solid #e0e0e0;
background: #ffffff;
background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f7f7f7));
background: -webkit-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -moz-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -ms-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -o-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: linear-gradient(#ffffff 0%, #f7f7f7 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f7f7f7',GradientType=0 );">Status (check if RIP)</th>
<th style=" padding: 9px 10px 9px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
-moz-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
font-size: 12px;
line-height: 15px;
font-weight: bold;
color: #404040;
border: 1px solid #e0e0e0;
background: #ffffff;
background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f7f7f7));
background: -webkit-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -moz-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -ms-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: -o-linear-gradient(#ffffff 0%, #f7f7f7 100%);
background: linear-gradient(#ffffff 0%, #f7f7f7 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f7f7f7',GradientType=0 );">Delete Member</th>
</thead>
<?php
while ($res = mysqli_fetch_array($query)) {
$uni = $res['u_id'];
$surname = $res['surname'];
$p_address = $res['p_address'];
$c_address = $res['c_address'];
?>
<form action="user.php" method="post" >
<tr >
<td style="border: 1px solid #e0e0e0; padding: 7px 10px 7px; background: #fff;overflow: hidden;font-size: 12px;color: #6b6b6b;"><?php echo $i; ?></td>
<td style="border: 1px solid #e0e0e0; padding: 7px 10px 7px;background: #fff;overflow: hidden;font-size: 12px;color: #6b6b6b;"><?php echo $res['name']; ?></td>
<td style="border: 1px solid #e0e0e0; padding: 7px 10px 7px;background: #fff;overflow: hidden;font-size: 12px;color: #6b6b6b;"><?php echo $res['relation']; ?></td>
<td style="border: 1px solid #e0e0e0; padding: 7px 10px 7px;background: #fff;overflow: hidden;font-size: 12px;color: #6b6b6b;"><?php echo $res['age1']; ?></td>
<td style="border: 1px solid #e0e0e0; padding: 7px 10px 7px;background: #fff;overflow: hidden;font-size: 12px;color: #6b6b6b;"><?php echo $res['surname']; ?></td>
<td style="border: 1px solid #e0e0e0; padding: 7px 10px 7px;background: #fff;overflow: hidden;font-size: 12px;color: #6b6b6b;"><?php echo $res['education']; ?></td>
<td style="border: 1px solid #e0e0e0; padding: 7px 10px 7px;background: #fff;overflow: hidden;font-size: 12px;color: #6b6b6b;"><?php echo $res['p_address']; ?></td>
<td style="border: 1px solid #e0e0e0; padding: 7px 10px 7px;background: #fff;overflow: hidden;font-size: 12px;color: #6b6b6b;"><?php echo $res['c_address']; ?></td>
<td style="border: 1px solid #e0e0e0; padding: 7px 10px 7px;background: #fff;overflow: hidden;font-size: 12px;color: #6b6b6b;"><?php echo $res['mobile']; ?></td>
<td style="border: 1px solid #e0e0e0; padding: 7px 10px 7px;background: #fff;overflow: hidden;font-size: 12px;color: #6b6b6b;"><a href="<?php echo "edit.php?cid=$uni&un_id=$un_id" ?>" >Edit</a></td>
<?php if ($res['r_status'] == 'yes') { ?>
<td style="border: 1px solid #e0e0e0; padding: 7px 10px 7px;background: #fff;overflow: hidden;font-size: 12px;color: #6b6b6b;"><a href="<?php echo "user.php?did=$uni&un_id=$un_id" ?>" class="confirm">Remove Member</a></td>
<?php
} else {
?>
<td style="border: 1px solid #e0e0e0; padding: 7px 10px 7px;background: #fff;overflow: hidden;font-size: 12px;color: #6b6b6b;"><a href="<?php echo "member.php?u_id=$uni" ?>" >Make Member</a></td>
<?php } ?>
<?php if ($res['status'] == 'Inactive') { ?>
<td style="border: 1px solid #e0e0e0; padding: 7px 10px 7px;background: #fff;overflow: hidden;font-size: 12px;color: #6b6b6b;"><img src="img/inactive.png" /> </td>
<?php
} else {
?>
<td style="border: 1px solid #e0e0e0; padding: 7px 10px 7px;background: #fff;overflow: hidden;font-size: 12px;color: #6b6b6b;"><input type="checkbox" value="<?php echo $res['u_id']; ?>" name="status[]" onchange="c_count()" id="ccount"/> </td>
<?php } ?>
<td style="border: 1px solid #e0e0e0; padding: 7px 10px 7px;background: #fff;overflow: hidden;font-size: 12px;color: #6b6b6b;"><input type="checkbox" value="<?php echo $res['u_id']; ?>" name="del[]" onchange="d_count()" id="dcount"/> </td>
</tr>
<?php
$i = $i + 1;
}
?>
</tbody>
</table>
<input type="hidden" value="0" name="count" id="count"/>
<input type="hidden" value="0" name="countd" id="countd"/>
<input type="hidden" value="<?php echo $un_id; ?>" name="un_id" />
<input class="btn btn-info confirm" value="Status Update" type="submit" name="update" id="user" />
<input class="btn btn-danger confirm" value="Delete Checked Member" type="submit" name="delete" id="user" />
<button class="btn" type="button" onclick="showdiv()" >Add New Member</button>
</form>
<form id="validation" action="user.php" method="POST" enctype="multipart/form-data">
<br>
<div class="row-fluid" id="add" hidden="true">
<div class="span9">
<div class="head">
<div class="isw-list"></div>
<h1>Student Registration</h1>
<div class="clear"></div>
</div>
<div class="block-fluid">
<?php
$muk_n = mysqli_query($link,"select name from member where un_id='$un_id' and relation='मुखिया'");
$m_name = mysqli_fetch_array($muk_n);
?>
<input type="hidden" name="fid" value="<?php echo $un_id; ?>" />
<input type="hidden" name="gotra" value="<?php echo $surname; ?>" />
<input type="hidden" name="p_address" value="<?php echo $p_address; ?>" />
<input type="hidden" name="c_address" value="<?php echo $c_address; ?>" />
<input type="hidden" name="relation_with" value="<?php echo $m_name['name']; ?>" />
<div class="row-form">
<div class="span1">Name</div>
<div class="span4">
<input type="text" id="name" name="name" value="" class='validate[required]' style="font-size:16px;height:30px">
</div>
<div class="span3">Relation with Head</div>
<div class="span4">
<input type="text" id="relation" name="relation" value="" class='validate[required]' style="font-size:16px;height:30px">
</div>
<div class="clear"></div>
</div>
<div class="row-form">
<div class="span1">Age</div>
<div class="span2">
<input type="text" id="age" name="age" value="" class='validate[required]' style="font-size:16px;height:30px">
</div>
<div class="span1">Education</div>
<div class="span3">
<input type="text" id="education" name="education" value="" style="font-size:16px;height:30px">
</div>
<div class="span2">Mobile No.</div>
<div class="span3">
<input type="text" id="mobile" name="mobile" value="" style="font-size:16px;height:30px">
</div>
<div class="clear"></div>
</div>
<div class="row-form">
<div class="span9">
<input value="Submit" type="submit" name="add_member" id="user" class="btn" />
</div>
<div class="clear"></div>
</div>
</div>
</div>
</form>
<script>
$(document).ready(function () {
$(".confirm").easyconfirm();
$("#alert").click(function () {
alert("You approved the action");
});
});
</script>
</article>
</div><!-- #content -->
</section>
<?php
} else {
echo "<DIV style='font-size:17px'>No Result Found!</DIV>";
}
?>
<?php include('footer.php'); ?>