{ alert("No Rows Selected"); return false; } var arv = checkBoxArr.toString(); document.getElementById('selectcheck').value=arv; return confirm("Are You Sure ?"); } </script> <?php $user = new user(); $project_admin = new project_admin(); if ($_GET['wtdo'] == 'edit_bid' && $_POST != "") { $add = $project_admin->edit_bid($_POST, $_GET['bid_id']); } ?> <table align="left" width="100%" style="font-family:Arial, Helvetica, sans-serif; font-weight:bold; color:#FFFFFF; font-size:16px;"> <tr><td colspan="6" align="center" valign="middle"> <table align="center" > <tr> <td><img src="images/listmain.png" /></td> <td style="color:#003399; font-family:Arial, Helvetica, sans-serif; font-weight:bold; font-size:18px;" align="center" valign="middle"> Bids on <?php echo $project_admin->gettitle($_GET['id']); ?> </td> </tr>
<?php include "header.php"; require_once "../common/class/project_admin.class.php"; $project_admin = new project_admin(); if ($_GET['action'] == "delete" && $_GET['id'] == "") { $midarray = explode(",", $_POST['selectcheck']); foreach ($midarray as $w) { $project_admin->delete_bid($w); } echo "<script>alert('Bid Deleted ...'); window.location='bids_details.php';</script>"; } else { $project_admin->delete_bid($_GET['id']); echo "<script>alert('Bid Deleted ...'); window.location='bids_details.php';</script>"; } ?>
<?php include "header.php"; require_once "../common/class/user.class.php"; require_once "../common/class/project_admin.class.php"; $user = new user(); $project_admin = new project_admin(); $bid_details = $project_admin->get_bid_by_id($_GET['id']); ?> <script> function check_amount() { var transaction_type=document.getElementById('transaction_type').value; if(transaction_type=="credit") { document.getElementById('plus_amount').style.display="inline"; document.getElementById('minus_amount').style.display="none" } else { if(transaction_type=="debit") { document.getElementById('minus_amount').style.display="inline"; document.getElementById('plus_amount').style.display="none"; } } } </script> <table width="100%"> <tr align="center"> <td align="center" bgcolor="#66CCFF">Edit Bid on '<?php