Exemple #1
0
<?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">
    &nbsp;&nbsp;Bids on <?php 
echo $project_admin->gettitle($_GET['id']);
?>
</td>
    </tr>
    </table>
	</td></tr>

<tr><td colspan="6"><table width="100%"><tr><td>
<br />

<?php 
$result = $project_admin->get_bid_details($_GET['id']);
if (is_array($result)) {
    ?>

<form name="listbid" action="delete_bid.php?action=delete&type=<?php 
Exemple #2
0
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 
echo $project_admin->gettitle($bid_details['projectid']);
?>
'</td>
</tr>
</table>
<form name="frmeditbid" action="bids_details.php?wtdo=edit_bid&bid_id=<?php 
echo $_GET['id'];
?>
&id=<?php 
echo $_GET['pro_id'];
?>
" method="post" onSubmit="if(validateForm(this)) { if(check_amount()) return true; } else return false; ">
<table>
    
		
	<tr>