"/> <input type="hidden" id="adminrfqid" name="adminrfqid" value="<?php echo $_GET['id']; ?> "/> <tr> <td class="fieldname">Reserved Price</td> <td class="fieldcontent"><?php echo $restest[0]['reservedprice']; ?> </td> </tr> <?php } else { $sqltest1 = "select a.id,a.title,a.description,a.materialrequired,a.detailmaterial,a.effectivefromdate, a.effectivetodate,a.reservedprice,b.vendorid from admin_rfq a,vendor_rfq b where a.id=" . $_GET['id'] . " and a.id=b.admin_rfqid and b.approve=1 and b.isvalid=1"; $restest1 = SelectQry($sqltest1); $cnt1 = count($restest1); if ($cnt1 > 0) { ?> <tr><td colspan="3" class="alertmsg" align="center">RFQ details posted by some other Vendor</td></tr> <tr> <td width="30%" class="fieldname">RFQ ID</td> <td class="fieldcontent"><?php echo $restest1[0]['id']; ?> </td> </tr> <tr> <td width="30%" class="fieldname">Title</td> <td class="fieldcontent"><?php echo $restest1[0]['title'];
<?php ob_start(); session_start(); include "includes/common.php"; if (isset($_GET['type']) && $_GET['type'] == 'check') { if ($_SESSION['security_code'] == $_GET["code"]) { print "1"; } else { print "2"; } } if (isset($_GET['type']) && $_GET['type'] == 'checkusr') { $name = trim($_GET['usrname']); $qry_check = "select v_usrname from vendor_main where v_username='******'"; $result = SelectQry($qry_check) or die(mysql_error()); $count = count($result); print $count; } ob_start(); session_start(); ?> <!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> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link href="css/style.css" rel="stylesheet" type="text/css" /> <title>:|ROCKON|:</title> </head> <body>
$chkapprove = $test[0]["approve"]; if ($chkapprove > 0) { echo "<td class='alertmsg1' onclick='callForm({$id},{$v_id})' >Approved</td>"; } else { $sqlcompleted = "select * from vendor_rfq where admin_rfqid=" . $id . " and approve=1"; $verify = SelectQry($sqlcompleted); $tot = count($verify); if ($tot > 0) { echo "<td class='alertmsg' onclick='callForm({$id},{$v_id})'>Closed</td>"; } else { echo "<td onclick='callForm({$id},{$v_id})' >Posted</td>"; } } } else { $sqlcompleted = "select * from vendor_rfq where admin_rfqid=" . $id . " and approve=1"; $verify = SelectQry($sqlcompleted); $tot = count($verify); if ($tot > 0) { echo "<td class='alertmsg' onclick='callForm({$id},{$v_id})'>Closed</td>"; } else { $currdate = date("Y-m-d"); if ($row['validdate'] < $currdate) { echo "<td class='alertmsg' onclick='callForm({$id},{$v_id})'>Expired</td>"; } else { echo "<td class='alertmsg' onclick='callForm({$id},{$v_id})'>Not Posted</td>"; } } } } ?> </tr>
<?php ob_start(); session_start(); require "includes/common.php"; include "includes/addedit.php"; $activationkey = mysql_escape_string($_GET["key"]); $res = Verification($activationkey); if ($res == 1) { $sql = "select * from vendor_main where activationkey='{$activationkey}'"; $res = SelectQry($sql); } ?> <!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> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>:Hawthorne | Verification:</title> <link href="css/style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="js/validate.js"></script> <link href="styles/style.css" rel="stylesheet" type="text/css" /> <style type="text/css"> <!-- body { background-repeat: repeat-y; } --> </style></head>
<td class="fieldname">Address2</td> <td><textarea name="paddress2" maxlength="100" id="paddress2" class="Textfield"></textarea></td> </tr> <tr> <td class="fieldname">City <span class="alertmsg">*</span></td> <td><input type="text" name="pcity" maxlength="50" id="pcity" onkeypress="return isAlphabetic(this,event);" class="Textfield" onblur="javascript:return chkentry('pcity');"/></td> </tr> <tr> <td class="fieldname">State</td> <td><input type="text" name="pstate" id="pstate" maxlength="25" class="Textfield" /></td> </tr> <tr > <td class="fieldname">Country <span class="alertmsg">*</span></td> <td><?php $country = "select countryid,countryname from mastercountry"; $rescountry = SelectQry($country); $count = count($rescountry); ?> <select name="pcountry" id="pcountry" maxlength="50" class="Textfield" onblur="javascript:return chkentry('pcountry');"> <option value="">Select</option> <?php if ($count > 0) { for ($i = 0; $i < $count; $i++) { echo "<option value='" . $rescountry[$i]['countryname'] . "'>" . $rescountry[$i]['countryname'] . "</option>"; } } ?> </select> </td> </tr> <tr> <td class="fieldname">Zip</td>
$test = SelectQry($testsql); $count1 = count($test); if ($count1 > 0) { if ($slno % 2 == 0) { echo "<tr class='altrows' onmouseover='mover(this);' onmouseout='mout1(this);' style='cursor:pointer'>"; } else { echo "<tr class='rows' onmouseover='mover(this);' onmouseout='mout(this);' style='cursor:pointer'>"; } echo "<td class='content' onclick='callForm({$id},{$v_id},{$pageno})' >" . $slno . "</td>"; echo "<td class='content' onclick='callForm({$id},{$v_id},{$pageno})' >" . $row['id'] . "</td>"; echo "<td class='content' onclick='callForm({$id},{$v_id},{$pageno})'>" . $row['title'] . "</td>"; echo "<td class='content' onclick='callForm({$id},{$v_id},{$pageno})' >" . $row['description'] . "</td>"; echo "<td class='content' onclick='callForm({$id},{$v_id})' >Posted</td>"; } else { $sql = "select * from vendor_rfq where admin_rfqid=" . $id . ""; $sqladmin = SelectQry($sql); $cnt = count($sqladmin); if ($cnt > 0) { if ($slno % 2 == 0) { echo "<tr class='altrows' onmouseover='mover(this);' onmouseout='mout1(this);'>"; } else { echo "<tr class='rows' onmouseover='mover(this);' onmouseout='mout(this);'>"; } echo "<td class='content'>" . $slno . "</td>"; echo "<td class='content'>" . $row['id'] . "</td>"; echo "<td class='content'>" . $row['title'] . "</td>"; echo "<td class='content'>" . $row['description'] . "</td>"; echo "<td class='alertmsg1'>Completed</td>"; } else { if ($slno % 2 == 0) { echo "<tr class='altrows' onmouseover='mover(this);' onmouseout='mout1(this);' style='cursor:pointer'>";