Server IP : 164.52.202.56 / Your IP : 216.73.216.231 Web Server : Apache System : Linux e2e-70-56.ssdcloudindia.net 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64 User : rubyaromatics ( 1052) PHP Version : 7.2.34 Directory (0755) : /home/rubyaromatics/public_html/controller/ |
[ Home ] | [ Terminal ] | [ Upload File ] |
---|
<?php require('function.php'); require('database.php'); $ob = new database(); login_check(); ?> <!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <meta charset="utf-8" /> <title>CCBELTS</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <meta content="" name="description" /> <meta content="" name="author" /> <link href="assets/plugins/pace/pace-theme-flash.css" rel="stylesheet" type="text/css" media="screen"/> <link href="assets/plugins/jquery-slider/css/jquery.sidr.light.css" rel="stylesheet" type="text/css" media="screen"/> <!-- BEGIN CORE CSS FRAMEWORK --> <link href="assets/plugins/boostrapv3/css/bootstrap.min.css" rel="stylesheet" type="text/css"/> <link href="assets/plugins/boostrapv3/css/bootstrap-theme.min.css" rel="stylesheet" type="text/css"/> <link href="assets/plugins/font-awesome/css/font-awesome.css" rel="stylesheet" type="text/css"/> <link href="assets/css/animate.min.css" rel="stylesheet" type="text/css"/> <!-- END CORE CSS FRAMEWORK --> <!-- BEGIN CSS TEMPLATE --> <link href="assets/css/style.css" rel="stylesheet" type="text/css"/> <link href="assets/css/responsive.css" rel="stylesheet" type="text/css"/> <link href="assets/css/print.css" rel="stylesheet" type="text/css"/> <link href="assets/css/custom-icon-set.css" rel="stylesheet" type="text/css"/> <!-- END CSS TEMPLATE --> </head> <!-- END HEAD --> <!-- BEGIN BODY --> <body class=""> <!-- BEGIN HEADER --> <!-- END HEADER --> <!-- BEGIN CONTAINER --> <div class="page-content"> <!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM--> <div id="portlet-config" class="modal hide"> <div class="modal-header"> <button data-dismiss="modal" class="close" type="button"></button> <h3>Widget Settings</h3> </div> <div class="modal-body"> Widget settings form goes here </div> </div> <div class="clearfix"></div> <div class="content"> <div class="row"> <div class="col-md-11"> <div class="grid simple"> <div class="grid-body no-border invoice-body"> <br> <div class="pull-left"> <img src="assets/img/ccb.png" data-src="assets/img/ccb.png" data-src-retina="assets/img/ccb.png" width="100" height="51" class="invoice-logo" alt=""> <?php $obj = new database(); $obj->query("SELECT * FROM product where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { $cat_id=$dish['cat_id']; $sub=$dish['sub_cat_id']; $usub=$dish['usub_cat_id']; $status=$dish['status']; $id=$dish['id']; $p_id=$dish['p_id']; } ?> <strong><br> Category:- <?php $obj = new database(); $obj->query("SELECT * FROM category where id='$cat_id'"); $a=0; foreach($obj->rows() as $dis) { $a++; ?> <strong><?php echo $dis['category']; ?></strong><?php }?>/ <?php $obj = new database(); $obj->query("SELECT * FROM sub_cat where id='$sub'"); $a=0; foreach($obj->rows() as $dis) { $a++; ?> <strong><?php echo $dis['sub_cat']; ?></strong><br><?php }?> </div> <div class="pull-right"> <h2><button onClick="goBack()">Go Back</button> <?php /*?></h2><a href="status.php?t=product&f=<?php echo $status; ?>&i=<?php echo $id;?>"> Approve </a><?php */?> </div> <div class="clearfix"></div> <br> <div class="row"> <div class="col-md-9"> <h4 class="semi-bold"> General Detail</h4><br> <br> <strong> Size:-</strong> <?php $obj = new database(); $obj->query("SELECT * FROM product_size where p_id='$_GET[p_id]'"); $a=0; foreach($obj->rows() as $dish2) { $unit=$dish2[unit_id]; ?> <?php $obj = new database(); $obj->query("SELECT * FROM unit where id='$unit'"); foreach($obj->rows() as $dish3) { $dish3['unit']; } ?> <?php echo $dish2['size']; }?> <br><br> <strong> Color:-</strong><?php $obj = new database(); $obj->query("SELECT * FROM product_size where p_id='$_GET[p_id]'"); $a=0; foreach($obj->rows() as $dish2) { $unit=$dish2[unit_id]; ?> <?php $obj = new database(); $obj->query("SELECT * FROM unit where id='$unit'"); foreach($obj->rows() as $dish3) { $dish3['unit']; } ?> <?php echo "<span style='height:10px; width:10px; margin:10px; border:2px solid black; background:$dish2[p_color] ;'> </span>"; }?></li><?php ?><br><br> <strong>Price:-</strong> <?php echo $dish2['p_price']; ?><br><br> <strong>Brand:-</strong> <?php echo $dish2['brand']; ?><br><br> </div> <div class="col-md-3"> <br> <h4 class="semi-bold">product Image</h4> <div style="width:400px; float:right;"> <ul><?php $obj = new database(); $obj->query("SELECT * FROM product_image where p_id='$_GET[p_id]'"); $a=0; foreach($obj->rows() as $dish3) { ?> <li style="float:left; display:inline; width:150px"> <img src="dr/thumb/<?php echo $dish3['p_image']; ?>" width="150" height="150"></li><?php }?></ul></div> </div> </div> <?php $t= $_GET['t']; if($t=="wcloth") { $obj = new database(); $obj->query("SELECT * FROM wcloth where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <tr> <tr> <td>Ideal For</td> <td class="text-right"><?php echo $dish['i_for']; ?></td> </tr> <tr> <td>Occasion</td> <td class="text-right"><?php echo $dish['ocas']; ?></td> </tr> <tr> <td>Sleeves</td> <td class="text-right"><?php echo $dish['sleeve']; ?></td> </tr> <tr> <td> Fabric</td> <td class="text-right"><?php echo $dish['fab']; ?></td> </tr> <tr> <td>Neck</td> <td class="text-right"><?php echo $dish['neck']; ?></td> </tr> <tr> <td>Type</td> <td class="text-right"><?php echo $dish['type']; ?></td> </tr> <tr> <td>Pattern</td> <td class="text-right"><?php echo $dish['pat']; ?></td> </tr> <tr> <td>Other</td> <td class="text-right"><?php echo $dish['other']; ?></td> </tr> </tbody> </table> <?php } } elseif($t=="shirt") { $obj = new database(); $obj->query("SELECT * FROM shirt where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <tr> <tr> <td>Ideal For</td> <td class="text-right"><?php echo $dish['i_for']; ?></td> </tr> <tr> <td>Occasion</td> <td class="text-right"><?php echo $dish['ocas']; ?></td> </tr> <tr> <td>Sleeves</td> <td class="text-right"><?php echo $dish['sleeve']; ?></td> </tr> <tr> <td> Fabric</td> <td class="text-right"><?php echo $dish['fab']; ?></td> </tr> <tr> <td>Neck</td> <td class="text-right"><?php echo $dish['neck']; ?></td> </tr> <tr> <td>Type</td> <td class="text-right"><?php echo $dish['type']; ?></td> </tr> <tr> <td>Pattern</td> <td class="text-right"><?php echo $dish['pat']; ?></td> </tr> <tr> <td>Other</td> <td class="text-right"><?php echo $dish['other']; ?></td> </tr> </tbody> </table> <?php } } elseif($t=="trouser") { $obj = new database(); $obj->query("SELECT * FROM trouser where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <tr> <tr> <td>Ideal For</td> <td class="text-right"><?php echo $dish['i_for']; ?></td> </tr> <tr> <td>Occasion</td> <td class="text-right"><?php echo $dish['ocas']; ?></td> </tr> <tr> <td> Fabric</td> <td class="text-right"><?php echo $dish['fab']; ?></td> </tr> <tr> <td>Type</td> <td class="text-right"><?php echo $dish['type']; ?></td> </tr> <tr> <td>Other</td> <td class="text-right"><?php echo $dish['other']; ?></td> </tr> </tbody> </table> <?php } } elseif($t=="foot_wear") { $obj = new database(); $obj->query("SELECT * FROM foot_wear where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <tr> <tr> <td>Ideal For</td> <td class="text-right"><?php echo $dish['i_for']; ?></td> </tr> <tr> <td>Occasion</td> <td class="text-right"><?php echo $dish['ocas']; ?></td> </tr> <tr> <td>weight</td> <td class="text-right"><?php echo $dish['weight']; ?></td> </tr> <tr> <td>Heal Heighj</td> <td class="text-right"><?php echo $dish['h_height']; ?></td> </tr> <tr> <td>Inner Material</td> <td class="text-right"><?php echo $dish['i_mat']; ?></td> </tr> <tr> <td>Outer Material</td> <td class="text-right"><?php echo $dish['o_mat']; ?></td> </tr> <tr> <td>Color</td> <td class="text-right"><?php echo $dish['color']; ?></td> </tr> <tr> </tbody> </table> <?php } } elseif($t=="watch") { $obj = new database(); $obj->query("SELECT * FROM watch where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <td>Watch Features</td> <td class="text-right"><?php echo $dish['w_feat']; ?></td> </tr> <tr> <td>Type</td> <td class="text-right"><?php echo $dish['type']; ?></td> </tr> <tr> <td>Style code</td> <td class="text-right"><?php echo $dish['s_code']; ?></td> </tr> <tr> <td>Ideal For </td> <td class="text-right"><?php echo $dish['i_for']; ?></td> </tr> <tr> <td>Dial Shape</td> <td class="text-right"><?php echo $dish['dial_s']; ?></td> </tr> <tr> <td>Strap Type</td> <td class="text-right"><?php echo $dish['strap_t']; ?></td> </tr> <tr> <td>Strap Color</td> <td class="text-right"><?php echo $dish['dial_c']; ?></td> </tr> <tr> <td>Case</td> <td class="text-right"><?php echo $dish['w_case']; ?></td> </tr> <tr> <td>Water Pesistant</td> <td class="text-right"><?php echo $dish['water']; ?></td> </tr> <tr> <td>Glass Type</td> <td class="text-right"><?php echo $dish['glass_t']; ?></td> </tr> <tr> <td>Other Body Feature</td> <td class="text-right"><?php echo $dish['o_feature']; ?></td> </tr> <tr> <td>Dial Color</td> <td class="text-right"><?php echo $dish['dial_c']; ?></td> </tr> <td>Strap Material</td> <td class="text-right"><?php echo $dish['strap_m']; ?></td> </tr> <tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="bag") { $obj = new database(); $obj->query("SELECT * FROM bag where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <td>Material</td> <td class="text-right"><?php echo $dish['material']; ?></td> </tr> <tr> <td>Style code</td> <td class="text-right"><?php echo $dish['s_code']; ?></td> </tr> <tr> <td>Ideal For </td> <td class="text-right"><?php echo $dish['i_for']; ?></td> </tr> <tr> <td>Occation</td> <td class="text-right"><?php echo $dish['occation']; ?></td> </tr> <tr> <td>Color</td> <td class="text-right"><?php echo $dish['color']; ?></td> </tr> <tr> <td>Height</td> <td class="text-right"><?php echo $dish['height']; ?></td> </tr> <tr> <td>Weight</td> <td class="text-right"><?php echo $dish['weight']; ?></td> </tr> <tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="b_care") { $obj = new database(); $obj->query("SELECT * FROM b_care where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <tr> <td>Coverage Area</td> <td class="text-right"><?php echo $dish['coverage']; ?></td> </tr> <tr> <td>Application Area</td> <td class="text-right"><?php echo $dish['a_area']; ?></td> </tr> <tr> <td>Texture</td> <td class="text-right"><?php echo $dish['texture']; ?></td> </tr> <tr> <td>Quantity</td> <td class="text-right"><?php echo $dish['quant']; ?></td> </tr> <tr> <td>Skin Type</td> <td class="text-right"><?php echo $dish['s_type']; ?></td> </tr> <tr> <td>shade</td> <td class="text-right"><?php echo $dish['shade']; ?></td> </tr> <tr> <td>Ideal For</td> <td class="text-right"><?php echo $dish['i_for']; ?></td> </tr> <tr> <td>Container Type</td> <td class="text-right"><?php echo $dish['c_type']; ?></td> </tr> <tr> <td>Long Lasting</td> <td class="text-right"><?php echo $dish['l_lasting']; ?></td> </tr> <tr> <td>Finish</td> <td class="text-right"><?php echo $dish['finish']; ?></td> </tr ><tr> <td>Water Proof</td> <td class="text-right"><?php echo $dish['w_proof']; ?></td> </tr ></tbody> </table> <?php } } elseif($t=="perfumes") { $obj = new database(); $obj->query("SELECT * FROM perfumes where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <tr> <td>Fragrance Classification</td> <td class="text-right"><?php echo $dish['f_classification']; ?></td> </tr> <tr> <td>Quantity</td> <td class="text-right"><?php echo $dish['quant']; ?></td> </tr> <tr> <td>Ideal For</td> <td class="text-right"><?php echo $dish['i_for']; ?></td> </tr> <tr> <td>Fragrance Faming</td> <td class="text-right"><?php echo $dish['faming']; ?></td> </tr> </tbody> </table> <?php } } elseif($t=="sunglass") { $obj = new database(); $obj->query("SELECT * FROM sunglass where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <td>Style</td> <td class="text-right"><?php echo $dish['style']; ?></td> </tr> <tr> <td>Code</td> <td class="text-right"><?php echo $dish['code']; ?></td> </tr> <tr> <td>Style code</td> <td class="text-right"><?php echo $dish['s_code']; ?></td> </tr> <tr> <td>Ideal For </td> <td class="text-right"><?php echo $dish['i_for']; ?></td> </tr> <tr> <td>Ussages</td> <td class="text-right"><?php echo $dish['s_use']; ?></td> </tr> <tr> <td>Size</td> <td class="text-right"><?php echo $dish['size']; ?></td> </tr> <tr> <td>Lens Polarization</td> <td class="text-right"><?php echo $dish['l_pol']; ?></td> </tr> <tr> <td>Leans Color</td> <td class="text-right"><?php echo $dish['l_color']; ?></td> </tr> <tr> <td>Frame Matarial</td> <td class="text-right"><?php echo $dish['f_mat']; ?></td> </tr> <tr> <td>Lens Matarial</td> <td class="text-right"><?php echo $dish['l_mat']; ?></td> </tr> <tr> <td>Lens Gradiant</td> <td class="text-right"><?php echo $dish['l_grad']; ?></td> </tr> <td>Frame Type</td> <td class="text-right"><?php echo $dish['f_type']; ?></td> </tr> <tr> <td>Lens Mirror And Finish</td> <td class="text-right"><?php echo $dish['l_mirror']; ?></td> </tr> <tr> <tr> <td>UV Protaction</td> <td class="text-right"><?php echo $dish['uv']; ?></td> </tr> <tr> <td>Frame Color</td> <td class="text-right"><?php echo $dish['f_color']; ?></td> </tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="aces") { $obj = new database(); $obj->query("SELECT * FROM aces where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <tr> <td>Belt Strip Width</td> <td class="text-right"><?php echo $dish['width']; ?></td> </tr> <tr> <td>Buckle Style</td> <td class="text-right"><?php echo $dish['b_style']; ?></td> </tr> <!-- <tr> <td>Brand</td> <td class="text-right"><?php //echo $dish['brand']; ?></td> </tr>--> <tr> <td>Type</td> <td class="text-right"><?php echo $dish['type']; ?></td> </tr> <!--<tr> <td>color</td> <td class="text-right"><?php //echo $dish['color']; ?></td> </tr>--> <tr> <td>Style</td> <td class="text-right"><?php echo $dish['style']; ?></td> </tr> <tr> <td>Fabaric/material</td> <td class="text-right"><?php echo $dish['mat']; ?></td> </tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="baby_care") { $obj = new database(); $obj->query("SELECT * FROM baby_care where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <td>Brand</td> <td class="text-right"><?php echo $dish['brand']; ?></td> </tr> <tr> <td>Material</td> <td class="text-right"><?php echo $dish['material']; ?></td> </tr> <tr> <td>Model Name</td> <td class="text-right"><?php echo $dish['m_name']; ?></td> </tr> <tr> <td>Size </td> <td class="text-right"><?php echo $dish['size']; ?></td> </tr> <tr> <td>Color</td> <td class="text-right"><?php echo $dish['color']; ?></td> </tr> <tr> <td>Height</td> <td class="text-right"><?php echo $dish['height']; ?></td> </tr> <tr> <td>Weight</td> <td class="text-right"><?php echo $dish['weight']; ?></td> </tr> <tr> <td>Length</td> <td class="text-right"><?php echo $dish['length']; ?></td> </tr> <tr> <td>Flodable</td> <td class="text-right"><?php echo $dish['flod']; ?></td> </tr> <tr> <td>Age Group</td> <td class="text-right"><?php echo $dish['a_group']; ?></td> </tr> <tr> <td>Type</td> <td class="text-right"><?php echo $dish['type']; ?></td> </tr> <td>Ideal For</td> <td class="text-right"><?php echo $dish['i_for']; ?></td> </tr> <tr> <td>Weight Supported</td> <td class="text-right"><?php echo $dish['w_s']; ?></td> </tr> <tr> <tr> <td>Wheel Bottom</td> <td class="text-right"><?php echo $dish['w_b']; ?></td> </tr> <tr> <td>Breakes</td> <td class="text-right"><?php echo $dish['brakes']; ?></td> </tr> <tr> <td>Ideal Usage</td> <td class="text-right"><?php echo $dish['i_u']; ?></td> </tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="toys") { $obj = new database(); $obj->query("SELECT * FROM toys where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <td>Recomended For</td> <td class="text-right"><?php echo $dish['r_for']; ?></td> </tr> <tr> <tr> <td>Recomended Age</td> <td class="text-right"><?php echo $dish['r_age']; ?></td> </tr> <tr> <td>Color</td> <td class="text-right"><?php echo $dish['color']; ?></td> </tr> <tr> <tr> <td>Material</td> <td class="text-right"><?php echo $dish['mat']; ?></td> </tr> <tr> <td>Dimension</td> <td class="text-right"><?php echo $dish['dimens']; ?></td> </tr> <tr> <td>Aditional Details</td> <td class="text-right"><?php echo $dish['a_details']; ?></td> </tr> <tr> <td>Weight</td> <td class="text-right"><?php echo $dish['weight']; ?></td> </tr> <tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="book") { $obj = new database(); $obj->query("SELECT * FROM book where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <tr> <td>Publisher</td> <td class="text-right"><?php echo $dish['publisr']; ?></td> </tr> <tr> <td>ISBN-10</td> <td class="text-right"><?php echo $dish['isbn_10']; ?></td> </tr> <tr> <td>Publish Year</td> <td class="text-right"><?php echo $dish['p_year']; ?></td> </tr> <tr> <td>ISBN-13</td> <td class="text-right"><?php echo $dish['isbn_13']; ?></td> </tr> <tr> <td>Binding</td> <td class="text-right"><?php echo $dish['bind']; ?></td> </tr> <tr> <td>Height</td> <td class="text-right"><?php echo $dish['height']; ?></td> </tr> <tr> <td>Weight</td> <td class="text-right"><?php echo $dish['weight']; ?></td> </tr> <tr> <td>width</td> <td class="text-right"><?php echo $dish['width']; ?></td> </tr> <tr> <td>Depth</td> <td class="text-right"><?php echo $dish['depth']; ?></td> </tr> <tr> <td>Auther By</td> <td class="text-right"><?php echo $dish['a_by']; ?></td> </tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="media") { $obj = new database(); $obj->query("SELECT * FROM media where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <tr> <td>Publisher</td> <td class="text-right"><?php echo $dish['publisr']; ?></td> </tr> <tr> <td>Format</td> <td class="text-right"><?php echo $dish['format']; ?></td> </tr> <tr> <td>Rating</td> <td class="text-right"><?php echo $dish['rating']; ?></td> </tr> <tr> <td>Genre</td> <td class="text-right"><?php echo $dish['gen']; ?></td> </tr> <tr> <td>Language</td> <td class="text-right"><?php echo $dish['lang']; ?></td> </tr> <tr> <td>Tittle</td> <td class="text-right"><?php echo $dish['tittle']; ?></td> </tr> <tr> <td>Total No Of Dis</td> <td class="text-right"><?php echo $dish['no_d']; ?></td> </tr> <tr> <td>Video Encoding</td> <td class="text-right"><?php echo $dish['v_enc']; ?></td> </tr> <tr> <td>Contribution</td> <td class="text-right"><?php echo $dish['cont']; ?></td> </tr> <tr> <td>Studio</td> <td class="text-right"><?php echo $dish['studio']; ?></td> </tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="game") { $obj = new database(); $obj->query("SELECT * FROM game where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <tr> <td>Publisher</td> <td class="text-right"><?php echo $dish['publisr']; ?></td> </tr> <tr> <td>Edition</td> <td class="text-right"><?php echo $dish['edition']; ?></td> </tr> <tr> <td>Type</td> <td class="text-right"><?php echo $dish['type']; ?></td> </tr> <tr> <td>Tittle Name</td> <td class="text-right"><?php echo $dish['t_name']; ?></td> </tr> <tr> <td>Genre</td> <td class="text-right"><?php echo $dish['genre']; ?></td> </tr> <tr> <td>Series</td> <td class="text-right"><?php echo $dish['series']; ?></td> </tr> <tr> <td>Game Mode</td> <td class="text-right"><?php echo $dish['g_mode']; ?></td> </tr> <tr> <td>Platform</td> <td class="text-right"><?php echo $dish['platf']; ?></td> </tr> <tr> <td>Rating</td> <td class="text-right"><?php echo $dish['rating']; ?></td> </tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="tv") { $obj = new database(); $obj->query("SELECT * FROM tv where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <tr> <td>Monitor Sensor</td> <td class="text-right"><?php echo $dish['m_sensor']; ?></td> </tr> <tr> <td>Display Size</td> <td class="text-right"><?php echo $dish['d_size']; ?></td> </tr> <tr> <td>Brand</td> <td class="text-right"><?php echo $dish['brand']; ?></td> </tr> <tr> <td>Smart TV</td> <td class="text-right"><?php echo $dish['s_tv']; ?></td> </tr> <tr> <td>USB</td> <td class="text-right"><?php echo $dish['usb']; ?></td> </tr> <tr> <td>HD Resolution</td> <td class="text-right"><?php echo $dish['resolu']; ?></td> </tr> <tr> <td>Tuch Screen</td> <td class="text-right"><?php echo $dish['t_screen']; ?></td> </tr> <tr> <td>Model Name</td> <td class="text-right"><?php echo $dish['m_name']; ?></td> </tr> <tr> <td>3D</td> <td class="text-right"><?php echo $dish['3d']; ?></td> </tr> <tr> <td>Wifi</td> <td class="text-right"><?php echo $dish['wifi']; ?></td> </tr> <tr> <td>Curve TV</td> <td class="text-right"><?php echo $dish['c_tv']; ?></td> </tr><tr> <td>Screen Type </td> <td class="text-right"><?php echo $dish['s_type']; ?></td> </tr><tr> <td>HDMI</td> <td class="text-right"><?php echo $dish['hdmi']; ?></td> </tr><tr> <td>Launch Year</td> <td class="text-right"><?php echo $dish['l_year']; ?></td> </tr><tr> <td>Speaker Output RMS</td> <td class="text-right"><?php echo $dish['rms']; ?></td> </tr><tr> <td>Sound Technology</td> <td class="text-right"><?php echo $dish['s_tech']; ?></td> </tr><tr> <td>Sound Mode</td> <td class="text-right"><?php echo $dish['s_mode']; ?></td> </tr><tr> <td>Dimension</td> <td class="text-right"><?php echo $dish['dimens']; ?></td> </tr><tr> <td>No OF Speaker</td> <td class="text-right"><?php echo $dish['n_speaker']; ?></td> </tr><tr> <td>Internet Access</td> <td class="text-right"><?php echo $dish['i_a']; ?></td> </tr> <tr> <td>Battery Type</td> <td class="text-right"><?php echo $dish['b_t']; ?></td> </tr> <tr> <td>Tuch Remote</td> <td class="text-right"><?php echo $dish['t_r']; ?></td> </tr> <tr> <td>RF Capable</td> <td class="text-right"><?php echo $dish['rf_c']; ?></td> </tr> <tr> <td>Power Consumption</td> <td class="text-right"><?php echo $dish['p_c']; ?></td> </tr> <tr> <td>Power Requirement</td> <td class="text-right"><?php echo $dish['p_r']; ?></td> </tr> <tr> <td>LED Display Type</td> <td class="text-right"><?php echo $dish['d_t']; ?></td> </tr> <tr> <td>Aspect Ratio</td> <td class="text-right"><?php echo $dish['a_r']; ?></td> </tr> <tr> <td>View Angle</td> <td class="text-right"><?php echo $dish['v_a']; ?></td> </tr> <tr> <td>Brightness</td> <td class="text-right"><?php echo $dish['bright']; ?></td> </tr> <tr> <td>Other Video Feature</td> <td class="text-right"><?php echo $dish['v_f']; ?></td> </tr> <tr> <td>Contrast Ratio</td> <td class="text-right"><?php echo $dish['c_r']; ?></td> </tr> <tr> <td>Analog TV Reception</td> <td class="text-right"><?php echo $dish['a_tv']; ?></td> </tr> <tr> <td>Refresh Rate</td> <td class="text-right"><?php echo $dish['r_r']; ?></td> </tr> <tr> <td>Other Conectvity Feature</td> <td class="text-right"><?php echo $dish['c_f']; ?></td> </tr> <tr> <td>RF Conectvity</td> <td class="text-right"><?php echo $dish['rf_conectvity']; ?></td> </tr> <tr> <td>USB Conectvity</td> <td class="text-right"><?php echo $dish['usb_c']; ?></td> </tr> <tr> <td>PC Audio Feature</td> <td class="text-right"><?php echo $dish['pc_audio']; ?></td> </tr> <tr> <td>Wireless Ready</td> <td class="text-right"><?php echo $dish['w_r']; ?></td> </tr> <tr> <td>3G Dongle Play and Play</td> <td class="text-right"><?php echo $dish['dongle']; ?></td> </tr><tr> <td>Ethernet(RJ45)</td> <td class="text-right"><?php echo $dish['ethernet']; ?></td> </tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="oven") { $obj = new database(); $obj->query("SELECT * FROM oven where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <tr> <td>Preheat</td> <td class="text-right"><?php echo $dish['p_heat']; ?></td> </tr> <tr> <td>Timer</td> <td class="text-right"><?php echo $dish['timer']; ?></td> </tr> <tr> <td>Brand</td> <td class="text-right"><?php echo $dish['brand']; ?></td> </tr> <tr> <td>Shade</td> <td class="text-right"><?php echo $dish['shade']; ?></td> </tr> <tr> <td>Type</td> <td class="text-right"><?php echo $dish['type']; ?></td> </tr> <tr> <td>Control Type</td> <td class="text-right"><?php echo $dish['c_type']; ?></td> </tr> <tr> <td>Capacity</td> <td class="text-right"><?php echo $dish['cap']; ?></td> </tr> <tr> <td>Color</td> <td class="text-right"><?php echo $dish['color']; ?></td> </tr> <tr> <td>Auto Cook Menu Available</td> <td class="text-right"><?php echo $dish['auto_m']; ?></td> </tr><tr> <td>Cooking Completion Indicater </td> <td class="text-right"><?php echo $dish['c_cap']; ?></td> </tr> <tr> <td>Maximum Cooking Timing</td> <td class="text-right"><?php echo $dish['m_time']; ?></td> </tr><tr> <td>Weight</td> <td class="text-right"><?php echo $dish['weight']; ?></td> </tr><tr> <td>Height</td> <td class="text-right"><?php echo $dish['height']; ?></td> </tr><tr> <td>Width</td> <td class="text-right"><?php echo $dish['width']; ?></td> </tr><tr> <td>Depth</td> <td class="text-right"><?php echo $dish['depth']; ?></td> </tr><tr> <td>Covered In Waranty</td> <td class="text-right"><?php echo $dish['c_war']; ?></td> </tr><tr> <td>Waranty Summary</td> <td class="text-right"><?php echo $dish['war_s']; ?></td> </tr><tr> <td>Power ooutput</td> <td class="text-right"><?php echo $dish['p_out']; ?></td> </tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="sport") { $obj = new database(); $obj->query("SELECT * FROM sport where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <td>Sport Type</td> <td class="text-right"><?php echo $dish['s_type']; ?></td> </tr> <tr> <tr> <td>Type</td> <td class="text-right"><?php echo $dish['type']; ?></td> </tr> <tr> <td>Ideal For</td> <td class="text-right"><?php echo $dish['i_for']; ?></td> </tr> <tr> <tr> <td>Material</td> <td class="text-right"><?php echo $dish['mat']; ?></td> </tr> <tr> <td>Color</td> <td class="text-right"><?php echo $dish['color']; ?></td> </tr> <tr> <td>Size</td> <td class="text-right"><?php echo $dish['size']; ?></td> </tr> <tr> <td>Weight</td> <td class="text-right"><?php echo $dish['weight']; ?></td> </tr> <tr> <td>Height</td> <td class="text-right"><?php echo $dish['height']; ?></td> </tr> <tr> <td>Width</td> <td class="text-right"><?php echo $dish['width']; ?></td> </tr> <tr> <td>Depth</td> <td class="text-right"><?php echo $dish['depth']; ?></td> </tr> <tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="w_machine") { $obj = new database(); $obj->query("SELECT * FROM w_machine where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <tr> <td>Memory Bacakup</td> <td class="text-right"><?php echo $dish['m_b']; ?></td> </tr> <tr> <td>Digital Display</td> <td class="text-right"><?php echo $dish['d_d']; ?></td> </tr> <tr> <td>Brand</td> <td class="text-right"><?php echo $dish['brand']; ?></td> </tr> <tr> <td>Shade</td> <td class="text-right"><?php echo $dish['shade']; ?></td> </tr> <tr> <td>Type</td> <td class="text-right"><?php echo $dish['type']; ?></td> </tr> <tr> <td>In Built Heater</td> <td class="text-right"><?php echo $dish['b_h']; ?></td> </tr> <tr> <td>Maximum Spin Speed</td> <td class="text-right"><?php echo $dish['m_speed']; ?></td> </tr> <tr> <td>Maximum Temrature</td> <td class="text-right"><?php echo $dish['m_temp']; ?></td> </tr> <tr> <td>Model Name</td> <td class="text-right"><?php echo $dish['m_name']; ?></td> </tr><tr> <td>Function Type</td> <td class="text-right"><?php echo $dish['f_type']; ?></td> </tr> <tr> <td>Technology Used</td> <td class="text-right"><?php echo $dish['t_used']; ?></td> </tr> <tr> <td>Dryer Type</td> <td class="text-right"><?php echo $dish['d_type']; ?></td> </tr> <tr> <td>Spin And Rise </td> <td class="text-right"><?php echo $dish['s_r']; ?></td> </tr> <tr> <td>Quick Wash</td> <td class="text-right"><?php echo $dish['q_w']; ?></td> </tr> <tr> <td>Spin Only</td> <td class="text-right"><?php echo $dish['s_only']; ?></td> </tr> <tr> <td>Door Dimension</td> <td class="text-right"><?php echo $dish['door_d']; ?></td> </tr> <tr> <td>Weight</td> <td class="text-right"><?php echo $dish['weight']; ?></td> </tr> <tr> <td>Height</td> <td class="text-right"><?php echo $dish['height']; ?></td> </tr><tr> <td>Width</td> <td class="text-right"><?php echo $dish['width']; ?></td> </tr><tr> <td>Depth</td> <td class="text-right"><?php echo $dish['depth']; ?></td> </tr><tr> <td>Covered In Waranty</td> <td class="text-right"><?php echo $dish['c_war']; ?></td> </tr><tr> <td>Waranty Summary</td> <td class="text-right"><?php echo $dish['war_s']; ?></td> </tr><tr> <td>Power ooutput</td> <td class="text-right"><?php echo $dish['p_r']; ?></td> </tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="stationery") { $obj = new database(); $obj->query("SELECT * FROM stationery where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <td>Model Name</td> <td class="text-right"><?php echo $dish['m_name']; ?></td> </tr> <tr> <td>Set Contents</td> <td class="text-right"><?php echo $dish['set_c']; ?></td> </tr> <tr> <td>Body Material</td> <td class="text-right"><?php echo $dish['b_material']; ?></td> </tr> <tr> <td>Nib Grade </td> <td class="text-right"><?php echo $dish['nib_g']; ?></td> </tr> <tr> <td>Collection</td> <td class="text-right"><?php echo $dish['collec']; ?></td> </tr> <tr> <td>Nib Finish</td> <td class="text-right"><?php echo $dish['nib_f']; ?></td> </tr> <tr> <td>Type</td> <td class="text-right"><?php echo $dish['type']; ?></td> </tr> <tr> <td>Cap Color</td> <td class="text-right"><?php echo $dish['cap_color']; ?></td> </tr> <tr> <td>Brand Name</td> <td class="text-right"><?php echo $dish['b_name']; ?></td> </tr> <td>Model No</td> <td class="text-right"><?php echo $dish['model_no']; ?></td> </tr> <tr> <td>Body Color</td> <td class="text-right"><?php echo $dish['b_color']; ?></td> </tr> <tr> <tr> <td>Packaging</td> <td class="text-right"><?php echo $dish['pack']; ?></td> </tr> <tr> <td>NO Of Compartment</td> <td class="text-right"><?php echo $dish['no_c']; ?></td> </tr> <tr> <td>Rulling</td> <td class="text-right"><?php echo $dish['rulling']; ?></td> </tr> <tr> <td>No of Page</td> <td class="text-right"><?php echo $dish['no_page']; ?></td> </tr> <tr> <td>Cover Type</td> <td class="text-right"><?php echo $dish['c_type']; ?></td> </tr> <tr> <td>Binding</td> <td class="text-right"><?php echo $dish['bind']; ?></td> </tr> <tr> <td>Size</td> <td class="text-right"><?php echo $dish['size']; ?></td> </tr> <tr> <td>Color</td> <td class="text-right"><?php echo $dish['color']; ?></td> </tr> <tr> <td>Length</td> <td class="text-right"><?php echo $dish['length']; ?></td> </tr> <tr> <td>Width</td> <td class="text-right"><?php echo $dish['width']; ?></td> </tr> <tr> <td>Compatible Papper Size</td> <td class="text-right"><?php echo $dish['c_pappersize']; ?></td> </tr> <tr> <td>Inbuilt Tabs</td> <td class="text-right"><?php echo $dish['i_tab']; ?></td> </tr> <tr> <td>Inner Packet</td> <td class="text-right"><?php echo $dish['i_p']; ?></td> </tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="kitchen") { $obj = new database(); $obj->query("SELECT * FROM kitchen where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <tr> <td>Brand</td> <td class="text-right"><?php echo $dish['brand']; ?></td> </tr> <tr> <td>Model Number</td> <td class="text-right"><?php echo $dish['m_no']; ?></td> </tr> <tr> <td>Serrated</td> <td class="text-right"><?php echo $dish['serr']; ?></td> </tr> <tr> <td>Type</td> <td class="text-right"><?php echo $dish['type']; ?></td> </tr> <tr> <td>Material</td> <td class="text-right"><?php echo $dish['mat']; ?></td> </tr> <tr> <td>Suitable For</td> <td class="text-right"><?php echo $dish['s_for']; ?></td> </tr> <tr> <td>Color</td> <td class="text-right"><?php echo $dish['color']; ?></td> </tr> <tr> <td>Weight</td> <td class="text-right"><?php echo $dish['weight']; ?></td> </tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="furniture") { $obj = new database(); $obj->query("SELECT * FROM furniture where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <tr> <td>Brand</td> <td class="text-right"><?php echo $dish['brand']; ?></td> </tr> <tr> <td>Delivery Condition</td> <td class="text-right"><?php echo $dish['d_con']; ?></td> </tr> <tr> <td>Storage Included</td> <td class="text-right"><?php echo $dish['s_inc']; ?></td> </tr> <tr> <td>Style</td> <td class="text-right"><?php echo $dish['style']; ?></td> </tr> <tr> <td>Furniture Size</td> <td class="text-right"><?php echo $dish['f_size']; ?></td> </tr> <tr> <td>Suitable For</td> <td class="text-right"><?php echo $dish['s_for']; ?></td> </tr> <tr> <td>Model No</td> <td class="text-right"><?php echo $dish['m_no']; ?></td> </tr> <tr> <td>Furniture Type</td> <td class="text-right"><?php echo $dish['f_type']; ?></td> </tr> <tr> <td>Finish Type</td> <td class="text-right"><?php echo $dish['finish_t']; ?></td> </tr> <tr> <td>Weight</td> <td class="text-right"><?php echo $dish['weight']; ?></td> </tr> <tr> <td>Height</td> <td class="text-right"><?php echo $dish['height']; ?></td> </tr> <tr> <td>Width</td> <td class="text-right"><?php echo $dish['width']; ?></td> </tr> <tr> <td>Depth</td> <td class="text-right"><?php echo $dish['depth']; ?></td> </tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="ward") { $obj = new database(); $obj->query("SELECT * FROM ward where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <tr> <td>Brand</td> <td class="text-right"><?php echo $dish['brand']; ?></td> </tr> <tr> <td>Cabinet Type</td> <td class="text-right"><?php echo $dish['c_type']; ?></td> </tr> <tr> <td>Flodable</td> <td class="text-right"><?php echo $dish['flod']; ?></td> </tr> <tr> <td>Suitable For</td> <td class="text-right"><?php echo $dish['s_for']; ?></td> </tr> <tr> <td>Model Number</td> <td class="text-right"><?php echo $dish['m_no']; ?></td> </tr> <tr> <td>No Of Shalves</td> <td class="text-right"><?php echo $dish['no_shelvs']; ?></td> </tr> <tr> <td>Finish Type</td> <td class="text-right"><?php echo $dish['f_type']; ?></td> </tr> <tr> <td>Covered In Warranty</td> <td class="text-right"><?php echo $dish['c_war']; ?></td> </tr> <tr> <td>Warranty Summary</td> <td class="text-right"><?php echo $dish['war_s']; ?></td> </tr> <tr> <td>Weight</td> <td class="text-right"><?php echo $dish['weight']; ?></td> </tr> <tr> <td>Height</td> <td class="text-right"><?php echo $dish['height']; ?></td> </tr> <tr> <td>Width</td> <td class="text-right"><?php echo $dish['width']; ?></td> </tr> <tr> <td>Depth</td> <td class="text-right"><?php echo $dish['depth']; ?></td> </tr> <tr> <td>Material</td> <td class="text-right"><?php echo $dish['mat']; ?></td> </tr> <tr> <td>Color</td> <td class="text-right"><?php echo $dish['color']; ?></td> </tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="inflat_furni") { $obj = new database(); $obj->query("SELECT * FROM inflat_furni where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <tr> <td>Brand</td> <td class="text-right"><?php echo $dish['brand']; ?></td> </tr> <tr> <td>Style</td> <td class="text-right"><?php echo $dish['style']; ?></td> </tr> <tr> <td>Seating Capacity</td> <td class="text-right"><?php echo $dish['s_cap']; ?></td> </tr> <tr> <td>Deflate Time</td> <td class="text-right"><?php echo $dish['d_time']; ?></td> </tr> <tr> <td>Maximum Load Capcity</td> <td class="text-right"><?php echo $dish['l_cap']; ?></td> </tr> <tr> <td>Suitable for</td> <td class="text-right"><?php echo $dish['s_for']; ?></td> </tr> <tr> <td>Model No</td> <td class="text-right"><?php echo $dish['m_no']; ?></td> </tr> <tr> <td>Footrest Include</td> <td class="text-right"><?php echo $dish['f_include']; ?></td> </tr> <tr> <td>Bush Include</td> <td class="text-right"><?php echo $dish['b_include']; ?></td> </tr> <tr> <td>Weight</td> <td class="text-right"><?php echo $dish['weight']; ?></td> </tr> <tr> <td>Height</td> <td class="text-right"><?php echo $dish['height']; ?></td> </tr> <tr> <td>Width</td> <td class="text-right"><?php echo $dish['width']; ?></td> </tr> <tr> <td>Depth</td> <td class="text-right"><?php echo $dish['depth']; ?></td> </tr> <tr> <td>Finish Type</td> <td class="text-right"><?php echo $dish['f_type']; ?></td> </tr> <tr> <td>Inflate Time</td> <td class="text-right"><?php echo $dish['i_time']; ?></td> </tr> <tr> <td>Material</td> <td class="text-right"><?php echo $dish['mat']; ?></td> </tr> <tr> <td>Shade</td> <td class="text-right"><?php echo $dish['shade']; ?></td> </tr> <tr> <td>Color</td> <td class="text-right"><?php echo $dish['color']; ?></td> </tr> <tr> <td>Covered In Waranty</td> <td class="text-right"><?php echo $dish['c_war']; ?></td> </tr> <tr> <td>Warranty Summary</td> <td class="text-right"><?php echo $dish['war_s']; ?></td> </tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="home_decore") { $obj = new database(); $obj->query("SELECT * FROM home_decore where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <tr> <td>Brand</td> <td class="text-right"><?php echo $dish['brand']; ?></td> </tr> <tr> <td>Suitable For</td> <td class="text-right"><?php echo $dish['s_for']; ?></td> </tr> <tr> <td>Model Number</td> <td class="text-right"><?php echo $dish['m_no']; ?></td> </tr> <tr> <td>Shade</td> <td class="text-right"><?php echo $dish['shade']; ?></td> </tr> <tr> <td>Material</td> <td class="text-right"><?php echo $dish['material']; ?></td> </tr> <tr> <td>Color</td> <td class="text-right"><?php echo $dish['color']; ?></td> </tr> <tr> <td>Dimension</td> <td class="text-right"><?php echo $dish['dimens']; ?></td> </tr> <tr> <td>Number Of Shelves</td> <td class="text-right"><?php echo $dish['no_s']; ?></td> </tr> <tr> <td>Size</td> <td class="text-right"><?php echo $dish['size']; ?></td> </tr> <tr> <td>Weight</td> <td class="text-right"><?php echo $dish['weight']; ?></td> </tr> <tr> <td>Height</td> <td class="text-right"><?php echo $dish['height']; ?></td> </tr> <tr> <td>Width</td> <td class="text-right"><?php echo $dish['width']; ?></td> </tr> <tr> <td>Depth</td> <td class="text-right"><?php echo $dish['depth']; ?></td> </tr> <tr> <td>Type</td> <td class="text-right"><?php echo $dish['type']; ?></td> </tr> <tr> <td>Theam</td> <td class="text-right"><?php echo $dish['theam']; ?></td> </tr> <tr> <td>Model Name</td> <td class="text-right"><?php echo $dish['m_name']; ?></td> </tr> <tr> <td>Painting Type</td> <td class="text-right"><?php echo $dish['p_type']; ?></td> </tr> <tr> <td>Painting Theame</td> <td class="text-right"><?php echo $dish['p_theame']; ?></td> </tr> <tr> <td>Frame Color</td> <td class="text-right"><?php echo $dish['f_color']; ?></td> </tr> <tr> <td>Wall Mount</td> <td class="text-right"><?php echo $dish['wall_m']; ?></td> </tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="dining") { $obj = new database(); $obj->query("SELECT * FROM dining where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <tr> <td>Brand</td> <td class="text-right"><?php echo $dish['brand']; ?></td> </tr> <tr> <td>Dinnerware Include</td> <td class="text-right"><?php echo $dish['d_inc']; ?></td> </tr> <tr> <td>Model Number</td> <td class="text-right"><?php echo $dish['m_no']; ?></td> </tr> <tr> <td>Shade</td> <td class="text-right"><?php echo $dish['shade']; ?></td> </tr> <tr> <td>Material</td> <td class="text-right"><?php echo $dish['material']; ?></td> </tr> <tr> <td>Model Name</td> <td class="text-right"><?php echo $dish['m_name']; ?></td> </tr> <tr> <td>Finish</td> <td class="text-right"><?php echo $dish['finish']; ?></td> </tr> <tr> <td>Design</td> <td class="text-right"><?php echo $dish['design']; ?></td> </tr> <tr> <td>Color</td> <td class="text-right"><?php echo $dish['color']; ?></td> </tr> <tr> <td>Weight</td> <td class="text-right"><?php echo $dish['weight']; ?></td> </tr> <tr> <td>Height</td> <td class="text-right"><?php echo $dish['height']; ?></td> </tr> <tr> <td>Capacity Width</td> <td class="text-right"><?php echo $dish['c_width']; ?></td> </tr> <tr> <td>Depth</td> <td class="text-right"><?php echo $dish['depth']; ?></td> </tr> <tr> <td>Diemeter</td> <td class="text-right"><?php echo $dish['diem']; ?></td> </tr> <tr> <td>Other Dimension</td> <td class="text-right"><?php echo $dish['o_dim']; ?></td> </tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="living") { $obj = new database(); $obj->query("SELECT * FROM living where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <tr> <td>Brand</td> <td class="text-right"><?php echo $dish['brand']; ?></td> </tr> <tr> <td>Collection</td> <td class="text-right"><?php echo $dish['col']; ?></td> </tr> <tr> <td>Closure</td> <td class="text-right"><?php echo $dish['clo']; ?></td> </tr> <tr> <td>Suitable For</td> <td class="text-right"><?php echo $dish['s_for']; ?></td> </tr> <tr> <td>Design Code</td> <td class="text-right"><?php echo $dish['d_code']; ?></td> </tr> <tr> <td>Material</td> <td class="text-right"><?php echo $dish['mat']; ?></td> </tr> <tr> <td>pattern</td> <td class="text-right"><?php echo $dish['pat']; ?></td> </tr> <tr> <td>Style Code</td> <td class="text-right"><?php echo $dish['s_code']; ?></td> </tr> <tr> <td>Height</td> <td class="text-right"><?php echo $dish['height']; ?></td> </tr> <tr> <td> Width</td> <td class="text-right"><?php echo $dish['width']; ?></td> </tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="light") { $obj = new database(); $obj->query("SELECT * FROM light where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <tr> <td>Brand</td> <td class="text-right"><?php echo $dish['brand']; ?></td> </tr> <tr> <td>Model Name</td> <td class="text-right"><?php echo $dish['m_name']; ?></td> </tr> <tr> <td>Model Number</td> <td class="text-right"><?php echo $dish['m_no']; ?></td> </tr> <tr> <td>Bulb Base</td> <td class="text-right"><?php echo $dish['b_b']; ?></td> </tr> <tr> <td>Material</td> <td class="text-right"><?php echo $dish['material']; ?></td> </tr> <tr> <td>Light Color</td> <td class="text-right"><?php echo $dish['l_color']; ?></td> </tr> <tr> <td>Bulb Type</td> <td class="text-right"><?php echo $dish['b_type']; ?></td> </tr> <tr> <td>Lumen Efficacy</td> <td class="text-right"><?php echo $dish['lumen_e']; ?></td> </tr> <tr> <td>Power Consumption</td> <td class="text-right"><?php echo $dish['p_c']; ?></td> </tr> <tr> <td>Warranty Summary</td> <td class="text-right"><?php echo $dish['w_s']; ?></td> </tr> <tr> <td>Warranty Service Type</td> <td class="text-right"><?php echo $dish['w_type']; ?></td> </tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="ac") { $obj = new database(); $obj->query("SELECT * FROM ac where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <tr> <td>Sleep Mode</td> <td class="text-right"><?php echo $dish['s_mode']; ?></td> </tr> <tr> <td>Auto Restart</td> <td class="text-right"><?php echo $dish['auto_r']; ?></td> </tr> <tr> <td>Brand</td> <td class="text-right"><?php echo $dish['brand']; ?></td> </tr> <tr> <td>Star Rating</td> <td class="text-right"><?php echo $dish['star_r']; ?></td> </tr> <tr> <td>Type</td> <td class="text-right"><?php echo $dish['type']; ?></td> </tr> <tr> <td>Dehumidification</td> <td class="text-right"><?php echo $dish['dehum']; ?></td> </tr> <tr> <td>Capacity In Tans</td> <td class="text-right"><?php echo $dish['cap_t']; ?></td> </tr> <tr> <td>Modal Name</td> <td class="text-right"><?php echo $dish['m_name']; ?></td> </tr> <tr> <td>Condensor Coil</td> <td class="text-right"><?php echo $dish['con_c']; ?></td> </tr> <tr> <td>Remote Control</td> <td class="text-right"><?php echo $dish['r_con']; ?></td> </tr> <tr> <td>Cooling Capacity</td> <td class="text-right"><?php echo $dish['cool_c']; ?></td> </tr> <tr> <td>Color</td> <td class="text-right"><?php echo $dish['color']; ?></td> </tr> <tr> <td>Compressor</td> <td class="text-right"><?php echo $dish['comp']; ?></td> </tr> <tr> <td>Dust Filter</td> <td class="text-right"><?php echo $dish['d_filter']; ?></td> </tr> <tr> <td>Anti Bactaria Filter</td> <td class="text-right"><?php echo $dish['a_filter']; ?></td> </tr> <tr> <td>Indoor W*H*D</td> <td class="text-right"><?php echo $dish['indoor_w']; ?></td> </tr> <tr> <td>Outdoor W*H*D</td> <td class="text-right"><?php echo $dish['outdoor_w']; ?></td> </tr> <tr> <td>Outdoor Unit Weight </td> <td class="text-right"><?php echo $dish['o_weight']; ?></td> </tr> <tr> <td>Indoor Unit Weight</td> <td class="text-right"><?php echo $dish['i_weight']; ?></td> </tr> <tr> <td>Power Requirnment</td> <td class="text-right"><?php echo $dish['power_r']; ?></td> </tr> <tr> <td>Power Consumption</td> <td class="text-right"><?php echo $dish['power_c']; ?></td> </tr> <tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="fridge") { $obj = new database(); $obj->query("SELECT * FROM fridge where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <tr> <td>Deodorizer</td> <td class="text-right"><?php echo $dish['deo']; ?></td> </tr> <tr> <td>Door Alarm</td> <td class="text-right"><?php echo $dish['d_alarm']; ?></td> </tr> <tr> <td>Water Dispensor</td> <td class="text-right"><?php echo $dish['w_dis']; ?></td> </tr> <tr> <td>Removable Gasket</td> <td class="text-right"><?php echo $dish['r_gas']; ?></td> </tr> <tr> <td>Removable Rack</td> <td class="text-right"><?php echo $dish['r_rack']; ?></td> </tr> <tr> <td>Door Lock</td> <td class="text-right"><?php echo $dish['d_lock']; ?></td> </tr> <tr> <td>Brand</td> <td class="text-right"><?php echo $dish['brand']; ?></td> </tr> <tr> <td>Star Rating</td> <td class="text-right"><?php echo $dish['star_r']; ?></td> </tr> <tr> <td>Type</td> <td class="text-right"><?php echo $dish['type']; ?></td> </tr> <tr> <td>Refrigarator Type</td> <td class="text-right"><?php echo $dish['r_type']; ?></td> </tr> <tr> <td>Shade</td> <td class="text-right"><?php echo $dish['shade']; ?></td> </tr> <tr> <td>Model Name</td> <td class="text-right"><?php echo $dish['m_name']; ?></td> </tr> <tr> <td>Defrosting Type</td> <td class="text-right"><?php echo $dish['d_type']; ?></td> </tr> <tr> <td>Capacity</td> <td class="text-right"><?php echo $dish['cap']; ?></td> </tr> <tr> <td>No Of Doors</td> <td class="text-right"><?php echo $dish['no_d']; ?></td> </tr> <tr> <td>Color</td> <td class="text-right"><?php echo $dish['color']; ?></td> </tr> <tr> <td>No OF Sshelves</td> <td class="text-right"><?php echo $dish['no_s']; ?></td> </tr> <tr> <td>Covered IN Waranty </td> <td class="text-right"><?php echo $dish['c_war']; ?></td> </tr> <tr> <td>Waranty Summary</td> <td class="text-right"><?php echo $dish['war_s']; ?></td> </tr> <tr> <td>Power Requirnment</td> <td class="text-right"><?php echo $dish['power_r']; ?></td> </tr> <tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="laptop") { $obj = new database(); $obj->query("SELECT * FROM laptop where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <tr> <td>Series</td> <td class="text-right"><?php echo $dish['ser']; ?></td> </tr> <tr> <td>Part Number</td> <td class="text-right"><?php echo $dish['p_no']; ?></td> </tr> <tr> <td>Life Style</td> <td class="text-right"><?php echo $dish['l_sty']; ?></td> </tr> <tr> <td>Color</td> <td class="text-right"><?php echo $dish['color']; ?></td> </tr> <tr> <td>Pointer Device</td> <td class="text-right"><?php echo $dish['p_device']; ?></td> </tr> <tr> <td>Web Camera</td> <td class="text-right"><?php echo $dish['web_c']; ?></td> </tr> <tr> <td>KeyBoard</td> <td class="text-right"><?php echo $dish['key_b']; ?></td> </tr> <tr> <td>Ethernet</td> <td class="text-right"><?php echo $dish['ether']; ?></td> </tr> <tr> <td>Bluetooth</td> <td class="text-right"><?php echo $dish['blue']; ?></td> </tr> <tr> <td>Wireless WAN</td> <td class="text-right"><?php echo $dish['w_wan']; ?></td> </tr> <tr> <td>Wireless LAN </td> <td class="text-right"><?php echo $dish['w_lan']; ?></td> </tr> <tr> <td>NFC</td> <td class="text-right"><?php echo $dish['nfc']; ?></td> </tr> <tr> <td>Mic In</td> <td class="text-right"><?php echo $dish['mic']; ?></td> </tr> <tr> <td>S_vedio</td> <td class="text-right"><?php echo $dish['s_ved']; ?></td> </tr> <tr> <td>Dock Port</td> <td class="text-right"><?php echo $dish['d_port']; ?></td> </tr> <tr> <td>VGA Port</td> <td class="text-right"><?php echo $dish['v_port']; ?></td> </tr> <tr> <td>HDMI Port</td> <td class="text-right"><?php echo $dish['h_port']; ?></td> </tr> <tr> <td>USB Port </td> <td class="text-right"><?php echo $dish['u_port']; ?></td> </tr> <tr> <td>Firewire Port</td> <td class="text-right"><?php echo $dish['f_port']; ?></td> </tr> <tr> <td>Multi Card Slot</td> <td class="text-right"><?php echo $dish['m_slot']; ?></td> </tr> <tr> <td>HDD Capacity </td> <td class="text-right"><?php echo $dish['h_cap']; ?></td> </tr> <tr> <td>Face Recognisation</td> <td class="text-right"><?php echo $dish['f_recog']; ?></td> </tr> <tr> <td>Security Chipt</td> <td class="text-right"><?php echo $dish['s_chip']; ?></td> </tr> <tr> <td>Finger Print Sensor</td> <td class="text-right"><?php echo $dish['f_sens']; ?></td> </tr> <tr> <td>Expendable Memory </td> <td class="text-right"><?php echo $dish['ex_my']; ?></td> </tr> <tr> <td>RAM Frequency</td> <td class="text-right"><?php echo $dish['ram_f']; ?></td> </tr> <tr> <td>System Memory</td> <td class="text-right"><?php echo $dish['s_my']; ?></td> </tr> <tr> <td>Memory Slots</td> <td class="text-right"><?php echo $dish['my_slot']; ?></td> </tr> <tr> <td>Optical Drive</td> <td class="text-right"><?php echo $dish['o_dri']; ?></td> </tr> <tr> <td>Read Write Speed</td> <td class="text-right"><?php echo $dish['rw_speed']; ?></td> </tr> <tr> <td>Weight</td> <td class="text-right"><?php echo $dish['weight']; ?></td> </tr> <tr> <td>Dimension</td> <td class="text-right"><?php echo $dish['dimens']; ?></td> </tr> <tr> <td>Dedicated Graphics Memory Capacity </td> <td class="text-right"><?php echo $dish['g_cap']; ?></td> </tr> <tr> <td>Dedicated Graphics Memory Capacity Type</td> <td class="text-right"><?php echo $dish['g_type']; ?></td> </tr><tr> <td>Graphic Processor</td> <td class="text-right"><?php echo $dish['grap_p']; ?></td> </tr> <tr> <td>Intarnal Misc</td> <td class="text-right"><?php echo $dish['i_misc']; ?></td> </tr> <tr> <td>Sound</td> <td class="text-right"><?php echo $dish['sound']; ?></td> </tr> <tr> <td>Speekers</td> <td class="text-right"><?php echo $dish['spe']; ?></td> </tr> <tr> <td>Audio Chips</td> <td class="text-right"><?php echo $dish['a_chip']; ?></td> </tr> <tr> <td>Operating System</td> <td class="text-right"><?php echo $dish['os']; ?></td> </tr> <tr> <td>System Architecture </td> <td class="text-right"><?php echo $dish['sys_a']; ?></td> </tr> <tr> <td>Operating System Architecture </td> <td class="text-right"><?php echo $dish['os_a']; ?></td> </tr> <tr> <td>Audio Chips</td> <td class="text-right"><?php echo $dish['a_chip']; ?></td> </tr> <tr> <td>Brand</td> <td class="text-right"><?php echo $dish['brand']; ?></td> </tr> <tr> <td>Chipst</td> <td class="text-right"><?php echo $dish['chip']; ?></td> </tr> <tr> <td>Cache</td> <td class="text-right"><?php echo $dish['cache']; ?></td> </tr> <tr> <td>Variant</td> <td class="text-right"><?php echo $dish['var']; ?></td> </tr> <tr> <td>Processor</td> <td class="text-right"><?php echo $dish['pro']; ?></td> </tr> <tr> <td>Clock Speed </td> <td class="text-right"><?php echo $dish['c_speed']; ?></td> </tr> <tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="mobile") { $obj = new database(); $obj->query("SELECT * FROM mobile where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <tr> <td>Mobile Color</td> <td class="text-right"><?php echo $dish['color']; ?></td> </tr> <tr> <td>Phone Type</td> <td class="text-right"><?php echo $dish['type']; ?></td> </tr> <tr> <td>Network Type</td> <td class="text-right"><?php echo $dish['n_type']; ?></td> </tr> <tr> <td>Operating Frequency</td> <td class="text-right"><?php echo $dish['os_frq']; ?></td> </tr> <tr> <td>Sim Type</td> <td class="text-right"><?php echo $dish['sim_type']; ?></td> </tr> <tr> <td>Processor</td> <td class="text-right"><?php echo $dish['proce']; ?></td> </tr> <tr> <td>Chipset</td> <td class="text-right"><?php echo $dish['chip']; ?></td> </tr> <tr> <td>Graphics</td> <td class="text-right"><?php echo $dish['grap']; ?></td> </tr> <tr> <td>Operating System</td> <td class="text-right"><?php echo $dish['os']; ?></td> </tr> <tr> <td>Operating Version</td> <td class="text-right"><?php echo $dish['os_v']; ?></td> </tr> <tr> <td>Sensor </td> <td class="text-right"><?php echo $dish['sensor']; ?></td> </tr> <tr> <td>Dimension</td> <td class="text-right"><?php echo $dish['dimens']; ?></td> </tr> <tr> <td>Weight</td> <td class="text-right"><?php echo $dish['weight']; ?></td> </tr> <tr> <td>Screen Size</td> <td class="text-right"><?php echo $dish['s_size']; ?></td> </tr> <tr> <td>Screen Type</td> <td class="text-right"><?php echo $dish['s_type']; ?></td> </tr> <tr> <td>Resolution</td> <td class="text-right"><?php echo $dish['resolu']; ?></td> </tr> <tr> <td>Primary Camera</td> <td class="text-right"><?php echo $dish['p_camera']; ?></td> </tr> <tr> <td>Secondary Camera </td> <td class="text-right"><?php echo $dish['s_camera']; ?></td> </tr> <tr> <td>Video Recording</td> <td class="text-right"><?php echo $dish['video_r']; ?></td> </tr> <tr> <td>Ram</td> <td class="text-right"><?php echo $dish['ram']; ?></td> </tr> <tr> <td>internal memory </td> <td class="text-right"><?php echo $dish['i_m']; ?></td> </tr> <tr> <td>expandable Memory</td> <td class="text-right"><?php echo $dish['ex_m']; ?></td> </tr> <tr> <td>Phone Book</td> <td class="text-right"><?php echo $dish['p_book']; ?></td> </tr> <tr> <td>Sms</td> <td class="text-right"><?php echo $dish['sms']; ?></td> </tr> <tr> <td>GPRS </td> <td class="text-right"><?php echo $dish['gprs']; ?></td> </tr> <tr> <td>EDGE </td> <td class="text-right"><?php echo $dish['edge']; ?></td> </tr> <tr> <td>3G</td> <td class="text-right"><?php echo $dish['3g']; ?></td> </tr> <tr> <td>4G</td> <td class="text-right"><?php echo $dish['4g']; ?></td> </tr> <tr> <td>WIFI</td> <td class="text-right"><?php echo $dish['wifi']; ?></td> </tr> <tr> <td>Bluetooth</td> <td class="text-right"><?php echo $dish['b_tooth']; ?></td> </tr> <tr> <td>USB</td> <td class="text-right"><?php echo $dish['usb']; ?></td> </tr> <tr> <td>Dimension</td> <td class="text-right"><?php echo $dish['dimens']; ?></td> </tr> <tr> <td>Navigation </td> <td class="text-right"><?php echo $dish['navi']; ?></td> </tr> <tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="camera") { $obj = new database(); $obj->query("SELECT * FROM camera where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <tr> <td>Brand</td> <td class="text-right"><?php echo $dish['brand']; ?></td> </tr> <tr> <td>Model</td> <td class="text-right"><?php echo $dish['model']; ?></td> </tr> <tr> <td>Model Name</td> <td class="text-right"><?php echo $dish['m_name']; ?></td> </tr> <tr> <td>item Weight</td> <td class="text-right"><?php echo $dish['i_weight']; ?></td> </tr> <tr> <td>Product Dimension</td> <td class="text-right"><?php echo $dish['p_dim']; ?></td> </tr> <tr> <td>Item Modal Number</td> <td class="text-right"><?php echo $dish['m_no']; ?></td> </tr> <tr> <td>Memory Storage Capacity </td> <td class="text-right"><?php echo $dish['memory']; ?></td> </tr> <tr> <td>Included Component </td> <td class="text-right"><?php echo $dish['com']; ?></td> </tr> <tr> <td>Screen Size</td> <td class="text-right"><?php echo $dish['s_size']; ?></td> </tr> <tr> <td>Display Type</td> <td class="text-right"><?php echo $dish['display_t']; ?></td> </tr> <tr> <td>Image Stabilization </td> <td class="text-right"><?php echo $dish['image_s']; ?></td> </tr> <tr> <td>Optical Zoom</td> <td class="text-right"><?php echo $dish['o_zoom']; ?></td> </tr> <tr> <td>Optical Sensor Resolution</td> <td class="text-right"><?php echo $dish['o_sensor']; ?></td> </tr> <tr> <td>Max Shutter Speed </td> <td class="text-right"><?php echo $dish['shutter']; ?></td> </tr> <tr> <td>Vedio Capture Resolution</td> <td class="text-right"><?php echo $dish['vedio_r']; ?></td> </tr> <tr> <td>Batteries Included</td> <td class="text-right"><?php echo $dish['battery']; ?></td> </tr> <tr> <td>View Finder Type</td> <td class="text-right"><?php echo $dish['finder_t']; ?></td> </tr> <tr> <td>Max Auto Focus </td> <td class="text-right"><?php echo $dish['auto_f']; ?></td> </tr> <tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="kettle") { $obj = new database(); $obj->query("SELECT * FROM kettle where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <tr> <td>Brand</td> <td class="text-right"><?php echo $dish['brand']; ?></td> </tr> <tr> <td>Model</td> <td class="text-right"><?php echo $dish['model']; ?></td> </tr> <tr> <td>Color</td> <td class="text-right"><?php echo $dish['color']; ?></td> </tr> <tr> <td>Power Consumption</td> <td class="text-right"><?php echo $dish['p_con']; ?></td> </tr> <tr> <td>Warranty Summary</td> <td class="text-right"><?php echo $dish['war_s']; ?></td> </tr> <tr> <td>Covered In Warranty</td> <td class="text-right"><?php echo $dish['c_war']; ?></td> </tr> <tr> <td>Power Indicater</td> <td class="text-right"><?php echo $dish['p_ind']; ?></td> </tr> <tr> <td>Dry Boil Protection</td> <td class="text-right"><?php echo $dish['d_pro']; ?></td> </tr> <tr> <td>Automatic Shut Off</td> <td class="text-right"><?php echo $dish['auto']; ?></td> </tr> <tr> <td>Heating Element</td> <td class="text-right"><?php echo $dish['h_ele']; ?></td> </tr> <tr> <td>Filter Type</td> <td class="text-right"><?php echo $dish['f_type']; ?></td> </tr> <tr> <td>Capacity</td> <td class="text-right"><?php echo $dish['cap']; ?></td> </tr> <tr> <td>Operating Mode</td> <td class="text-right"><?php echo $dish['op_m']; ?></td> </tr> <tr> <td>Additional Feature</td> <td class="text-right"><?php echo $dish['a_fea']; ?></td> </tr> <tr> <td>Anti Drip Value</td> <td class="text-right"><?php echo $dish['anti_v']; ?></td> </tr> <tr> <td>Hot Plate</td> <td class="text-right"><?php echo $dish['h_plate']; ?></td> </tr> <tr> <td>Water Level Indicater</td> <td class="text-right"><?php echo $dish['water']; ?></td> </tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="induction") { $obj = new database(); $obj->query("SELECT * FROM induction where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <td>Brand</td> <td class="text-right"><?php echo $dish['brand']; ?></td> </tr> <tr> <tr> <td>Model</td> <td class="text-right"><?php echo $dish['model']; ?></td> </tr> <tr> <td>Type</td> <td class="text-right"><?php echo $dish['type']; ?></td> </tr> <tr> <tr> <td>Model Name</td> <td class="text-right"><?php echo $dish['m_name']; ?></td> </tr> <tr> <td>Color</td> <td class="text-right"><?php echo $dish['color']; ?></td> </tr> <tr> <td>Warranty Summary</td> <td class="text-right"><?php echo $dish['w_s']; ?></td> </tr> <tr> <td>Covered In Warranty</td> <td class="text-right"><?php echo $dish['c_w']; ?></td> </tr> <tr> <td>Weight</td> <td class="text-right"><?php echo $dish['weight']; ?></td> </tr> <tr> <td>Height</td> <td class="text-right"><?php echo $dish['height']; ?></td> </tr> <tr> <td>Width</td> <td class="text-right"><?php echo $dish['width']; ?></td> </tr> <tr> <td>Depth</td> <td class="text-right"><?php echo $dish['depth']; ?></td> </tr> <tr> <td>Power Input</td> <td class="text-right"><?php echo $dish['p_i']; ?></td> </tr> <tr> <td>Power Consumption</td> <td class="text-right"><?php echo $dish['p_c']; ?></td> </tr> <tr> <td>Frequency</td> <td class="text-right"><?php echo $dish['freq']; ?></td> </tr> <tr> <td>Body Material</td> <td class="text-right"><?php echo $dish['b_material']; ?></td> </tr> <tr> <td>Control</td> <td class="text-right"><?php echo $dish['control']; ?></td> </tr> <tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="cooler") { $obj = new database(); $obj->query("SELECT * FROM cooler where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <td>Dult Filter</td> <td class="text-right"><?php echo $dish['d_filter']; ?></td> </tr> <tr> <td>Empty Tank Alarm</td> <td class="text-right"><?php echo $dish['t_alarm']; ?></td> </tr> <tr> <td>Air Delivery</td> <td class="text-right"><?php echo $dish['air_d']; ?></td> </tr> <tr> <td>Cooling Coverage Area </td> <td class="text-right"><?php echo $dish['c_area']; ?></td> </tr> <tr> <td>Brand</td> <td class="text-right"><?php echo $dish['brand']; ?></td> </tr> <tr> <td>Water Tank Capacity</td> <td class="text-right"><?php echo $dish['water_c']; ?></td> </tr> <tr> <td>No Of Speed</td> <td class="text-right"><?php echo $dish['n_speed']; ?></td> </tr> <tr> <td>Type</td> <td class="text-right"><?php echo $dish['type']; ?></td> </tr> <tr> <td>Model Name</td> <td class="text-right"><?php echo $dish['m_name']; ?></td> </tr> <td>Blover Fan</td> <td class="text-right"><?php echo $dish['b_fan']; ?></td> </tr> <tr> <td>Cooling Media</td> <td class="text-right"><?php echo $dish['c_media']; ?></td> </tr> <tr> <tr> <td>Remote Support</td> <td class="text-right"><?php echo $dish['r_support']; ?></td> </tr> <tr> <td>Power Requirement</td> <td class="text-right"><?php echo $dish['power_r']; ?></td> </tr> <tr> <td>Height</td> <td class="text-right"><?php echo $dish['height']; ?></td> </tr> <tr> <td>Weight</td> <td class="text-right"><?php echo $dish['weight']; ?></td> </tr> <tr> <td>Width</td> <td class="text-right"><?php echo $dish['width']; ?></td> </tr> <tr> <td>Depth</td> <td class="text-right"><?php echo $dish['depth']; ?></td> </tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="mixer") { $obj = new database(); $obj->query("SELECT * FROM mixer where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <tr> <td>No Of Jars</td> <td class="text-right"><?php echo $dish['no_j']; ?></td> </tr> <tr> <td>Function</td> <td class="text-right"><?php echo $dish['fun']; ?></td> </tr> <tr> <td>Brand</td> <td class="text-right"><?php echo $dish['brand']; ?></td> </tr> <tr> <td>Material</td> <td class="text-right"><?php echo $dish['material']; ?></td> </tr> <tr> <td>Model</td> <td class="text-right"><?php echo $dish['model']; ?></td> </tr> <tr> <td>Type</td> <td class="text-right"><?php echo $dish['type']; ?></td> </tr> <tr> <td>Model Name</td> <td class="text-right"><?php echo $dish['m_name']; ?></td> </tr> <tr> <td>Color</td> <td class="text-right"><?php echo $dish['color']; ?></td> </tr> <tr> <td>Power Input</td> <td class="text-right"><?php echo $dish['p_i']; ?></td> </tr> <tr> <td>Power Consumption</td> <td class="text-right"><?php echo $dish['p_c']; ?></td> </tr> <tr> <td>Warranty Summary</td> <td class="text-right"><?php echo $dish['w_s']; ?></td> </tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="fan") { $obj = new database(); $obj->query("SELECT * FROM fan where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <tr> <td>Brand</td> <td class="text-right"><?php echo $dish['brand']; ?></td> </tr> <tr> <td>Suitable For</td> <td class="text-right"><?php echo $dish['s_for']; ?></td> </tr> <tr> <td>Swing</td> <td class="text-right"><?php echo $dish['swing']; ?></td> </tr> <tr> <td>Moter Speed</td> <td class="text-right"><?php echo $dish['m_speed']; ?></td> </tr> <tr> <td>Airflow</td> <td class="text-right"><?php echo $dish['air']; ?></td> </tr> <tr> <td>Type</td> <td class="text-right"><?php echo $dish['type']; ?></td> </tr> <tr> <td>Shade</td> <td class="text-right"><?php echo $dish['shade']; ?></td> </tr> <tr> <td>Model Name</td> <td class="text-right"><?php echo $dish['m_name']; ?></td> </tr> <tr> <td>No Of Blades</td> <td class="text-right"><?php echo $dish['no_blades']; ?></td> </tr> <tr> <td>Color</td> <td class="text-right"><?php echo $dish['color']; ?></td> </tr> <tr> <td>Covered In Warranty</td> <td class="text-right"><?php echo $dish['c_war']; ?></td> </tr> <tr> <td>Warranty Summary</td> <td class="text-right"><?php echo $dish['war_s']; ?></td> </tr> <tr> <td>Weight</td> <td class="text-right"><?php echo $dish['weight']; ?></td> </tr> <tr> <td>Motor Diemetor</td> <td class="text-right"><?php echo $dish['motor_di']; ?></td> </tr> <tr> <td>Downrod Height</td> <td class="text-right"><?php echo $dish['height_d']; ?></td> </tr> <tr> <td>Stand Height</td> <td class="text-right"><?php echo $dish['height_s']; ?></td> </tr> <tr> <td>Power Requirement</td> <td class="text-right"><?php echo $dish['power_r']; ?></td> </tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="iron") { $obj = new database(); $obj->query("SELECT * FROM iron where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <tr> <td>Brand</td> <td class="text-right"><?php echo $dish['brand']; ?></td> </tr> <tr> <td>Self Clearing</td> <td class="text-right"><?php echo $dish['self_c']; ?></td> </tr> <tr> <td>Card Length</td> <td class="text-right"><?php echo $dish['c_length']; ?></td> </tr> <tr> <td>Swivel Cord</td> <td class="text-right"><?php echo $dish['s_wrd']; ?></td> </tr> <tr> <td>Model</td> <td class="text-right"><?php echo $dish['model']; ?></td> </tr> <tr> <td>Type</td> <td class="text-right"><?php echo $dish['type']; ?></td> </tr> <tr> <td>Color</td> <td class="text-right"><?php echo $dish['color']; ?></td> </tr> <tr> <td>Power Input</td> <td class="text-right"><?php echo $dish['power_i']; ?></td> </tr> <tr> <td>Frequency</td> <td class="text-right"><?php echo $dish['freq']; ?></td> </tr> <tr> <td>Weight</td> <td class="text-right"><?php echo $dish['weight']; ?></td> </tr> <tr> <td>Height</td> <td class="text-right"><?php echo $dish['height']; ?></td> </tr> <tr> <td>Width</td> <td class="text-right"><?php echo $dish['width']; ?></td> </tr> <tr> <td>Depth</td> <td class="text-right"><?php echo $dish['depth']; ?></td> </tr> <tr> <td>Warranty Summary</td> <td class="text-right"><?php echo $dish['war_s']; ?></td> </tr> <tr> <td>Covered In Warranty</td> <td class="text-right"><?php echo $dish['c_war']; ?></td> </tr> <tr> <td>Water Tank Capacity</td> <td class="text-right"><?php echo $dish['w_cap']; ?></td> </tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="comp_access") { $obj = new database(); $obj->query("SELECT * FROM comp_access where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <td>Softwarer</td> <td class="text-right"><?php echo $dish['soft']; ?></td> </tr> <tr> <tr> <td>Brand</td> <td class="text-right"><?php echo $dish['brand']; ?></td> </tr> <tr> <td>Cable Length</td> <td class="text-right"><?php echo $dish['c_length']; ?></td> </tr> <tr> <tr> <td>Model </td> <td class="text-right"><?php echo $dish['model']; ?></td> </tr> <tr> <td>Type</td> <td class="text-right"><?php echo $dish['type']; ?></td> </tr> <tr> <td>Part Number</td> <td class="text-right"><?php echo $dish['part_n']; ?></td> </tr> <tr> <td>Connectvity</td> <td class="text-right"><?php echo $dish['connect']; ?></td> </tr> <tr> <td>Os Support</td> <td class="text-right"><?php echo $dish['os_s']; ?></td> </tr> <tr> <td>Form Factor</td> <td class="text-right"><?php echo $dish['f_factor']; ?></td> </tr> <tr> <td>Transfer Speed</td> <td class="text-right"><?php echo $dish['t_speed']; ?></td> </tr> <tr> <td>Color</td> <td class="text-right"><?php echo $dish['color']; ?></td> </tr> <tr> <td>Feature</td> <td class="text-right"><?php echo $dish['pfeature_i']; ?></td> </tr> <tr> <td>In The Box</td> <td class="text-right"><?php echo $dish['i_box']; ?></td> </tr> <tr> <td>Weight</td> <td class="text-right"><?php echo $dish['weight']; ?></td> </tr> <tr> <td>Height</td> <td class="text-right"><?php echo $dish['height']; ?></td> </tr> <tr> <td>Width</td> <td class="text-right"><?php echo $dish['Width']; ?></td> </tr> <tr> <td>Depth</td> <td class="text-right"><?php echo $dish['depth']; ?></td> </tr> <tr> <td>Model Name</td> <td class="text-right"><?php echo $dish['m_name']; ?></td> </tr> <tr> <td>Capacity</td> <td class="text-right"><?php echo $dish['cap']; ?></td> </tr> <tr> <td>Variant</td> <td class="text-right"><?php echo $dish['var']; ?></td> </tr> <tr> <td>Size</td> <td class="text-right"><?php echo $dish['size']; ?></td> </tr> <tr> <td>Interface</td> <td class="text-right"><?php echo $dish['interface']; ?></td> </tr> <tr> <td>Case Material</td> <td class="text-right"><?php echo $dish['c_material']; ?></td> </tr> <tr> <td>Battery Life</td> <td class="text-right"><?php echo $dish['b_life']; ?></td> </tr> <tr> <td>Battery</td> <td class="text-right"><?php echo $dish['bat']; ?></td> </tr> <tr> <td>Warranty Summary</td> <td class="text-right"><?php echo $dish['war_s']; ?></td> </tr> <tr> <td>Service Type</td> <td class="text-right"><?php echo $dish['s_type']; ?></td> </tr> <tr> <td>Not Covered In Warranty</td> <td class="text-right"><?php echo $dish['n_war']; ?></td> </tr> <tr> <td>Technology</td> <td class="text-right"><?php echo $dish['tech']; ?></td> </tr> <tr> <td>Platform</td> <td class="text-right"><?php echo $dish['plat']; ?></td> </tr> <tr> <td>Resolution</td> <td class="text-right"><?php echo $dish['resolu']; ?></td> </tr> <tr> <td>Style Code</td> <td class="text-right"><?php echo $dish['s_code']; ?></td> </tr> <tr> <td>Compatible Laptop Size</td> <td class="text-right"><?php echo $dish['cl_size']; ?></td> </tr> <tr> <td>Color Code</td> <td class="text-right"><?php echo $dish['c_code']; ?></td> </tr> <tr> <td>Ideal For</td> <td class="text-right"><?php echo $dish['i_for']; ?></td> </tr> <tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } elseif($t=="mob_access") { $obj = new database(); $obj->query("SELECT * FROM mob_access where p_id='$_GET[p_id]'"); foreach($obj->rows() as $dish) { ?> <table class="table"> <thead> <tr> <th class="text-left">DESCRIPTION</th> <th style="width:140px" class="text-right">Value</th> </tr> </thead> <tbody> <tr> <td>Product Name</td> <td class="text-right"><?php $obj = new database(); $obj->query("SELECT * FROM product where p_id= '$dish[p_id]'"); foreach($obj->rows() as $dish2) { echo $dish2['p_name']; } ?></td> </tr> <tr> <td>Connector</td> <td class="text-right"><?php echo $dish['connect']; ?></td> </tr> <tr> <tr> <td>Brand</td> <td class="text-right"><?php echo $dish['brand']; ?></td> </tr> <tr> <td>Cable Length</td> <td class="text-right"><?php echo $dish['c_length']; ?></td> </tr> <tr> <tr> <td>Model Number</td> <td class="text-right"><?php echo $dish['m_no']; ?></td> </tr> <tr> <td>Battery Capacity</td> <td class="text-right"><?php echo $dish['b_cap']; ?></td> </tr> <tr> <td>Model Name</td> <td class="text-right"><?php echo $dish['m_name']; ?></td> </tr> <tr> <td>Power Source</td> <td class="text-right"><?php echo $dish['p_source']; ?></td> </tr> <tr> <td>Battery Type</td> <td class="text-right"><?php echo $dish['b_type']; ?></td> </tr> <tr> <td>Color</td> <td class="text-right"><?php echo $dish['color']; ?></td> </tr> <tr> <td>Weight</td> <td class="text-right"><?php echo $dish['weight']; ?></td> </tr> <tr> <td>Width</td> <td class="text-right"><?php echo $dish['width']; ?></td> </tr> <tr> <td>Type</td> <td class="text-right"><?php echo $dish['type']; ?></td> </tr> <tr> <td>Speed</td> <td class="text-right"><?php echo $dish['speed']; ?></td> </tr> <tr> <td>Covered In Warranty</td> <td class="text-right"><?php echo $dish['c_w']; ?></td> </tr> <tr> <td>Warranty Summary </td> <td class="text-right"><?php echo $dish['w_s']; ?></td> </tr> <tr> <td>Warranty Service Type</td> <td class="text-right"><?php echo $dish['w_t']; ?></td> </tr> <tr> <td>Not Covered In Warranty</td> <td class="text-right"><?php echo $dish['n_war']; ?></td> </tr> <tr> <td>Designed For</td> <td class="text-right"><?php echo $dish['d_for']; ?></td> </tr> <tr> <td>Card Class</td> <td class="text-right"><?php echo $dish['c_class']; ?></td> </tr> <tr> <td>Card Type</td> <td class="text-right"><?php echo $dish['c_type']; ?></td> </tr> <tr> <td>Model Id</td> <td class="text-right"><?php echo $dish['m_id']; ?></td> </tr> <tr> <td>Memory Size</td> <td class="text-right"><?php echo $dish['m_size']; ?></td> </tr> <tr> <td>Power Requirement</td> <td class="text-right"><?php echo $dish['p_r']; ?></td> </tr> <tr> <td>Storage Humidity</td> <td class="text-right"><?php echo $dish['s_h']; ?></td> </tr> <tr> <td>Feature</td> <td class="text-right"><?php echo $dish['feature']; ?></td> </tr> <tr> <td>Interface</td> <td class="text-right"><?php echo $dish['interface']; ?></td> </tr> <tr> <td>Part Number</td> <td class="text-right"><?php echo $dish['part_n']; ?></td> </tr> <tr> <td>Case Material</td> <td class="text-right"><?php echo $dish['c_material']; ?></td> </tr> <tr> <td>Os Support</td> <td class="text-right"><?php echo $dish['os_s']; ?></td> </tr> <tr> <td>Form Factor</td> <td class="text-right"><?php echo $dish['f_factor']; ?></td> </tr> <tr> <td>Headsed Design</td> <td class="text-right"><?php echo $dish['h_design']; ?></td> </tr> <tr> <td>Wired/Wireless</td> <td class="text-right"><?php echo $dish['wired']; ?></td> </tr> <tr> <td>Compatible Device</td> <td class="text-right"><?php echo $dish['c_device']; ?></td> </tr> <tr> <td>Type Of Headset</td> <td class="text-right"><?php echo $dish['type_h']; ?></td> </tr> <tr> <td>Music Control</td> <td class="text-right"><?php echo $dish['m_control']; ?></td> </tr> <tr> <td>Bluetooth</td> <td class="text-right"><?php echo $dish['b_tooth']; ?></td> </tr> <tr> <td>Microphone Type</td> <td class="text-right"><?php echo $dish['m_type']; ?></td> </tr> <tr> <td>USB Support</td> <td class="text-right"><?php echo $dish['usb_s']; ?></td> </tr> <tr> <td>Create Date</td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <td>Update Date</td> <td class="text-right"><?php echo $dish['u_date']; ?></td> </tr> <?php ?> </tbody> </table> <?php } } else { echo "2"; } ?> <br> </div> </div> </div> <div class="col-md-1"> <div class="invoice-button-action-set"> <p> <button class="btn btn-primary" type="button"><i class="fa fa-print"></i></button> </p> <p> <button class="btn " type="button"><i class="fa fa-cloud-download"></i></button> </p> </div> </div> </div> </div> </div> <!-- END CONTAINER --> <!-- BEGIN CHAT --> <!-- END CHAT --> <!-- END CONTAINER --> <!-- BEGIN CORE JS FRAMEWORK--> <script src="assets/plugins/jquery-1.8.3.min.js" type="text/javascript"></script> <script src="assets/plugins/jquery-ui/jquery-ui-1.10.1.custom.min.js" type="text/javascript"></script> <script src="assets/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script> <script src="assets/plugins/breakpoints.js" type="text/javascript"></script> <script src="assets/plugins/jquery-unveil/jquery.unveil.min.js" type="text/javascript"></script> <script src="assets/plugins/pace/pace.min.js" type="text/javascript"></script> <script src="assets/plugins/jquery-block-ui/jqueryblockui.js" type="text/javascript"></script> <!-- END CORE JS FRAMEWORK --> <!-- BEGIN PAGE LEVEL JS --> <script src="assets/plugins/jquery-slider/jquery.sidr.min.js" type="text/javascript"></script> <script src="assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script> <script src="assets/plugins/jquery-numberAnimate/jquery.animateNumbers.js" type="text/javascript"></script> <!-- END PAGE LEVEL PLUGINS --> <!-- BEGIN CORE TEMPLATE JS --> <script src="assets/js/core.js" type="text/javascript"></script> <script src="assets/js/chat.js" type="text/javascript"></script> <script src="assets/js/demo.js" type="text/javascript"></script> <!-- END CORE TEMPLATE JS --> <script> function goBack() { window.history.back(); } </script> </body> </html>