-
Notifications
You must be signed in to change notification settings - Fork 1
/
parameter_type.php
executable file
·78 lines (76 loc) · 3.21 KB
/
parameter_type.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?php require_once "session.php";
require_once 'header.php';
require_once 'functions/parameter_typefunction.php';
$parametertypeFunction = new parametertypeFunction();
?>
<div class="container">
<div class="container align_center align_height">
<span class="sports">PARAMETER TYPE</span>
</div><!--end container-->
<div class="container">
<div class="col-xs-12 col-md-11">
<div class="col-md-4 hidden-xs"></div>
<div class="col-xs-12 col-md-7 align_margin">
<form id="parameter_type_form" name="parameter_type_form">
<div class="form-group">
<label for="sel1">Select Parameter Type</label>
<input type="text" class="form-control adjust_width classic" id="sel1" value='' name="parameter_type" data-validation-error-msg="Please Enter Parameter type" data-validation="required">
</div>
<div class="col-md-9 schedule_btn">
<input type="submit" class="btn btn-primary align_right parameter-submit clear add_parameter_act" value="Submit">
</div>
</form>
</div>
<div class="container table-position">
<table class="table state_table parameter_type_table">
<thead>
<tr class="row_color">
<th class="align_center">SLNO</th>
<th class="align_center">Parameter Type</th>
<th class="align_center">Action</th>
</tr>
</thead>
<tbody>
<?php
$query = $parametertypeFunction->parametertypeSelect();
$i=1;
while ($row = mysql_fetch_array($query)) {
?>
<tr class="align_center delete_color">
<input type="hidden" name="states_id" value="<?php echo $row['parametertype_id']; ?>">
<td class="t_pararmeter_id"><?php echo $i; ?></td>
<td class="t_pararmeter_name"><?php echo $row['parametertype_name']; ?></td>
<td>
<span class="edit_state" onclick="editfunction(<?php echo $row['parametertype_id'] ?>)">Edit</span>
<span class="delete_state" data-value="<?php echo $row['parametertype_id'] ?>">Delete</span>
</td>
</tr>
<?php $i++; } ?>
</tbody>
</table>
</div>
</div>
</div><!-- end container-->
</div><!-- end container-->
<div class="popup_fade cancel_btn"></div><!--popup_fade-->
<div class="container">
<div class="state_div">
<code class="close_btn cancel_btn"> </code>
<div class="edit_title">
<span class="del_txt">EDIT</span>
</div><!--edit_title-->
<div class="container state-content col-md-12">
<form id="edit_parameter_type" name="parameter_edit">
<div class="form-group">
<label for="sel1">Enter Parameter Type</label>
<input type="hidden" name="edit_parameter_id" />
<input type="text" class="form-control adjust_width_parameter classic" id="sel1" name="edit_parameter_type" data-validation-error-msg="Please Select the Type of the Parameter" data-validation="required">
</div>
<div class="col-md-12 schedule_btn">
<input type="submit" class="btn btn-primary align_right clear" value="Submit">
</div>
</form>
</div><!--tate-content-->
</div><!--state_div-->
</div><!--container-->
<?php require_once "footer.php" ?>