</label> </div> <div class="softright"> <label> <input type="submit" name="Submit" value="Submit" /> </label> </div> </form> </dd> </dl> <div id="body"> <div class="inner"> <?php if ($iname != '') { $ccode = $obj->getcompany($iname); $company = $obj->companyname($ccode); $img = $obj->getimage($iname); $pri = $obj->getprice($iname); $dis = $obj->getdiscount($iname); $war = $obj->getwarranty($iname); $disp = $obj->getdispsize($iname); ?> <div class="leftbox"> <h3><?php echo $company; ?> <?php echo $iname; ?> </h3> <img src="uploaded_files/<?php
)</div> </div></td> </tr> <tr> <td width="251" height="31"><div align="center" class="style7">ITEM</div></td> <td width="76"><div align="center" class="style7">QUANTITY</div></td> <td width="72"><div align="center" class="style7">PRICE</div></td> <td colspan="2"><div align="center" class="style7">SUBTOTAL</div></td> </tr> <?php $res = $obj->getitems(); while ($arr = mysql_fetch_row($res)) { $price = $obj->getprice($arr[0]); $img = $obj->getimage($arr[0]); $company_id = $obj->getcompany($arr[0]); $company = $obj->companyname($company_id); ?> <tr> <td height="31"><img src="uploaded_files/<?php echo $img; ?> " width="93" height="95" alt="photo 1" class="left"><span class="style9"><?php echo $company . " " . $arr[0]; ?> </span></td> <form action="update.php" method="post" name="f1" target="f1"> <td><div align="center"> <input name="qty" type="text" size="2" maxlength="2" value="<?php echo $arr[1]; ?> " onchange="javascript:submit()"/>
$obj = new connect(); $mid = ''; $m_id = ''; if (isset($_POST['cat'])) { $mid = $_POST['cat']; } if (isset($_GET['cat'])) { $m_id = $_GET['cat']; } $mname = ''; if (isset($_GET['mname'])) { $mname = $_GET['mname']; } $price = $obj->getprice($mname); $company = $obj->getcompany($mname); $company_name = $obj->companyname($company); $img = $obj->getimage($mname); $count = $obj->getcount(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>E- Shop</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="css/style.css" rel="stylesheet" type="text/css" /> <script language="javascript" src="js/script.js"> </script> <style type="text/css"> <!-- .style2 {font-size: 18}