<?php include_once "vwHeader.php" ?>
<html>
<head>
<style>
table {
width:100%;
}
table , thead
{
background: #4682B4;
color:white;
}
table, th, td {
border: 1px solid white;
border-collapse: collapse;
}
th, td {
padding: 5px;
text-align: left;
}
td{
color:black;
}
table#t01 tr:nth-child(even) {
background-color: #eee;
}
table#t01 tr:nth-child(odd) {
background-color:#fff;
}
table#t01 th {
background-color: black;
color: white;
}
</style>
<script>
function duplicate()
{
var f1 = document.getElementById('field1');
var f2 = document.getElementById('field2');
f2.value = f1.value;
}
</script>
</head>
<body>
<div class="content-wrapper">
<section class="content-header">
<ol class="breadcrumb">
<li><a href="#">Unassign <i class="fa fa-times"></i></a></li>
</ol>
</section>
<br>
<?php include_once "vwLeadshead.php" ; ?>
<section class="content">
<div class="row">
<?php include_once "vwMenu.php" ; ?>
<div class="col-lg-9 col-xs-9">
<div class="box box-primary">
<div class="box-header">
Products
</div>
</div>
</div>
<?php
foreach ($records as $row)
{
?>
<div class="container-fluid">
<div class="row main-content">
<div class="col-xs-9 col-xs-9">
<div class="input-group">
<?php echo form_open('admin/products/search?id='.$row->l_id,['class'=>'form-horizontal panel','method'=>'post']); ?>
<div class="table-responsive">
<table id="example1" class="table table-bordered table-striped">
<tr>
<!-- <th><input class='check_all' type='checkbox' onclick="select_all()"/></th>-->
<thead>
<th>ID</th>
<th>Brand Name</th>
<th>Short Name</th>
<th>Long Description</th>
<th>Cost Price</th>
<th>Selling Price</th>
<th>Supplier</th>
<th>Inventory</th>
<th colspan="2">Action</th>
</thead>
</tr>
<tr>
<!--<td><input type='checkbox' class='case'/></td>-->
<td><span id='snum'>1.</span></td>
<td><input class="form-control autocomplete_txt" type='text' id='p_name_1' name='p_name[]'/></td>
<td><input class="form-control autocomplete_txt" type='text' id='p_short_name_1' name='p_short_name[]'/></td>
<td><input class="form-control autocomplete_txt" type='text' id='p_long_description_1' name='p_long_description[]'/></td>
<td><input class="form-control autocomplete_txt" type='text' id='p_costprice_1' name='p_costprice[]'/> </td>
<td><input class="form-control autocomplete_txt" type='text' id='p_sellingprice_1' name='p_sellingprice[]'/> </td>
<td><input class="form-control autocomplete_txt" type='text' id='p_supplier_1' name='p_supplier[]'/> </td>
<td><input class="form-control autocomplete_txt" type='text' id='p_inventory_1' name='p_inventory[]'/> </td>
<td><a href="">Edit</a> </td>
<td><a href="">Delete</a> </td>
</tr>
</table>
<button type="button" class='btn btn-success addmore'>+ Add More</button>
</div>
</form>
</div>
</div>
</div><!-- /container -->
<div class="clearfix"></div>
<?php
}
?>
</form>
</div>
</div>
</div>
<script>
$(document).ready(function() {
$('#loginForm').formValidation({
framework: 'bootstrap',
excluded: ':disabled',
icon: {
valid: 'glyphicon glyphicon-ok',
invalid: 'glyphicon glyphicon-remove',
validating: 'glyphicon glyphicon-refresh'
},
fields: {
username: {
validators: {
notEmpty: {
message: 'The username is required'
}
}
},
password: {
validators: {
notEmpty: {
message: 'The password is required'
}
}
}
}
});
});
</script>
</span>
</div>
</div>
</div>
</div>
</section>
</body>
</html>
<?php include_once "vwFooter.php" ?>