X

Create New Item

File Folder

X

Search Results

File "recensement_pseudo_copy_events.php"

Full path: /home/meharicl/www/recensement2/recensement_pseudo_copy_events.php
File size: 992 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Edit   Back

<?php
//BindEvents Method @1-E7D3132D
function BindEvents()
{
    global $lblMessage;
    $lblMessage->CCSEvents["BeforeShow"] = "lblMessage_BeforeShow";
}
//End BindEvents Method

//lblMessage_BeforeShow @3-757F2161
function lblMessage_BeforeShow(& $sender)
{
    $lblMessage_BeforeShow = true;
    $Component = & $sender;
    $Container = & CCGetParentContainer($sender);
    global $lblMessage; //Compatibility
//End lblMessage_BeforeShow

//Custom Code @4-2A29BDB7
// -------------------------
    // Write your own code here.
	$db = new clsDBcnxRecensement();

  	$SQL = "UPDATE rec_mehari SET mehari_pseudo_forum = '".CCGETParam("pseudo", "")."', mehari_pseudo_ok = 1 ";
	$SQL .= "WHERE id = ".CCGETParam("id", "");
	//echo "SQL : ".$SQL."<br>";

	$db->query($SQL);
	$db->close();
// -------------------------
//End Custom Code

//Close lblMessage_BeforeShow @3-40958ADB
    return $lblMessage_BeforeShow;
}
//End Close lblMessage_BeforeShow


?>