:: **Zploit** v1.0 | Current Path: **/home/bbbncs7/amtechint.com/admin/**
:: Editing File: inquiries.php
<?php include "param.php"; include "func.php"; include "chk_login.php"; ?> <html> <head> <title><?=$web_title?></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link href="style.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="chk_frm.js"></script> <script language="JavaScript"> function edit_order(mid) { var url; url = 'edit_order.php?mid='+mid microsite_window=window.open(url,'microsite_window','toolbar=no,location=no,borders=no,directories=no,status=yes,menubar=no,scrollbars=Yes,top=150,left=200,resizable=no,width=522,height=450') microsite_window.focus(); } </script> </head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td height="21" align="center" valign="top"><?php include("top_cp.php"); ?></td> </tr> <tr> <td align="center" valign="top"><table width="990" height="100%" border="0" cellpadding="0" cellspacing="0" class="base"> <tr> <td height="2" colspan="2"><img src="imgs/cp/spacer.gif" width="8" height="8"></td> </tr> <tr> <td width="190" valign="top"><?php include("left_cp.php"); ?></td> <td width="800" valign="top"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="552" height="29" background="imgs/cp/menu_cat_bg.jpg" class="left_menu_head" style="padding:4px;"><a href="home.php" class="left_menu_head">Home</a> | Submitted Inquiries</td> <td width="248" align="right" background="imgs/cp/menu_cat_bg.jpg" class="left_menu_head" style="padding:4px;"> </td> </tr> <tr> <td colspan="2"><div id="CAT" style="display:block;"> <table width="800" border="0" cellpadding="4" cellspacing="0" class="base"> <tr> <td width="26" height="29" background="imgs/cp/menu_bg.jpg"><strong>#</strong></td> <td width="52" background="imgs/cp/menu_bg.jpg"><strong>Inq ID</strong></td> <td width="65" background="imgs/cp/menu_bg.jpg"><strong>Dated</strong></td> <td width="119" background="imgs/cp/menu_bg.jpg"><strong>Name</strong></td> <td width="130" background="imgs/cp/menu_bg.jpg"><strong>Phone</strong></td> <td width="165" background="imgs/cp/menu_bg.jpg"><strong>E-mail</strong></td> <td width="56" align="left" background="imgs/cp/menu_bg.jpg"><strong>P Type</strong></td> <td width="58" background="imgs/cp/menu_bg.jpg"><strong>S Type</strong></td> <td width="57" background="imgs/cp/menu_bg.jpg"> </td> </tr> <?php $QRY = qry_run("select * from tbl_inquiry order by mainid DESC"); if (num_rec($QRY) > 0) { $p = 1; while($rs = fetch_rec($QRY)) { ?> <tr bgcolor="#FFFFFF" onMouseOver="this.bgColor = '#F8FCFF'" onMouseOut ="this.bgColor = '#FFFFFF'"> <td height="29" style="border-style:solid;border-width:0px 0px 1px 0px;border-color:#DFEDF8;"> <?=$p?> .</td> <td height="29" style="border-style:solid;border-width:0px 0px 1px 0px;border-color:#DFEDF8;"> <a href="inquiry_detail.php?mid=<?=$rs['mainid']?>" class="base_link_red"><?=$rs['mainid']+1000?></a> </td> <td height="29" style="border-style:solid;border-width:0px 0px 1px 0px;border-color:#DFEDF8;"> <?=$rs['pdate']?> </td> <td height="29" style="border-style:solid;border-width:0px 0px 1px 0px;border-color:#DFEDF8;"> <?=$rs['fname']?> </td> <td height="29" style="border-style:solid;border-width:0px 0px 1px 0px;border-color:#DFEDF8;"> <?=$rs['phone']?> </td> <td height="29" style="border-style:solid;border-width:0px 0px 1px 0px;border-color:#DFEDF8;"> <?=$rs['email']?> </td> <td height="29" align="left" style="border-style:solid;border-width:0px 0px 1px 0px;border-color:#DFEDF8;"> <?=$rs['ptype']?> </td> <td height="29" align="left" style="border-style:solid;border-width:0px 0px 1px 0px;border-color:#DFEDF8;"> <?=$rs['stype']?> </td> <td height="29" align="right" style="border-style:solid;border-width:0px 0px 1px 0px;border-color:#DFEDF8;"><table width="50" border="0" cellpadding="0" cellspacing="0" class="base_2"> <tr align="center"> <td width="25"> </td> <td width="25"><a href="inquiry_process.php?mid=<?=$rs['mainid']?>&C_TYPE=DEL&LVL=1" title="Delete this Inquiry" onClick="return confirm('Are you sure you want to delete?')"><img src="imgs/ed_delete.gif" alt="Delete this Inquiry" width="18" height="18" border="0"></a></td> </tr> </table></td> </tr> <?php $p += 1; } } ?> </table> </div></td> </tr> </table></td> </tr> <tr> <td height="2" colspan="2"><img src="imgs/cp/spacer.gif" width="8" height="8"></td> </tr> </table></td> </tr> <tr> <td height="29" align="center" background="imgs/cp/btm_bg22.jpg"><?php include("btm_cp.php"); ?></td> </tr> </table> </body> </html>