Exemplo n.º 1
0
/*                     Actions                                                */
/******************************************************************************/

if ($_GET["action"] == 'setstatut')
{
	// Close proposal
	$object->id = $_GET["id"];
	$object->cloture($user, $_GET["statut"], $note);

}

// Set project
if ($_POST['action'] == 'classin')
{
	$object->fetch($_GET["id"]);
	$object->setProject($_POST['projectid']);
}



/*
 * View
 */

$now=gmmktime();

llxHeader();

$html = new Form($db);
$htmlother = new FormOther($db);
$formfile = new FormFile($db);