* @copyright 2007 * @package appl * @subpackage stream / ic50 */ //------------------------------------------------------------------------------ /** * Include stream class */ require_once 'modules/frameworks/stream/stream_class.php'; //============================================================================== /** * */ //============================================================================== function putFrame ($db, $link, $DOCrow, $PAGEresult, $CURRENTPAGErow, $innerTableWidth, $innerTableSpacing) { return ic50Class::run (); } //============================================================================== /** * */ //============================================================================== function putFooter () { return ic50Class::footer (); } //============================================================================== /** * @author ID-ALizes * @copyright 2005 * @package appl * @subpackage stream / creat-project */ //============================================================================== class ic50Class extends streamClass { /** * Application type. Only creatproject, but can be use for modify project */ var $applicationtype_ = ''; //============================================================================ /** * OVERLOAD of factory */ //============================================================================ static function factory ($args = null) { static $S_instance = null; if ($S_instance == null) { $S_instance = new ic50Class ($args); } return $S_instance; } //============================================================================ /** * OVERLOAD of run */ //============================================================================ static function run ($args = null) { //-------------------------------------------------------------------------- // Get object. $object = ic50Class::factory ($args); if (! $object->manageAuth ($loginForm)) { return $loginForm; } //-- js_register ('rowOut', "\n".'var sSavedColor1 = "";'. "\n".'var sSavedColor2 = "";'. "\n".'function rowOver (oRow, sCol) {'. "\n".' sSavedColor1 = oRow.cells[0].style.backgroundColor;'. "\n".' sSavedColor2 = oRow.cells[oRow.cells.length - 1].style.backgroundColor;'. "\n".' for (i = 0; i < oRow.cells.length; i++) {'. "\n".' oRow.cells[i].style.backgroundColor = sCol;'. "\n".' }'. "\n".'}'. "\n".'function rowOut (oRow) {'. "\n".' for (i = 0; i < 2; i++) {'. "\n".' oRow.cells[i].style.backgroundColor = sSavedColor1;'. "\n".' }'. "\n".' for (i = 2; i < oRow.cells.length; i++) {'. "\n".' oRow.cells[i].style.backgroundColor = sSavedColor2;'. "\n".' }'. "\n".'}' ); //-------------------------------------------------------------------------- // IsAdministrator ? if (($object->userID_ === '0') && (! $object->isAdministrator_)) { return "\n".''. "\n".' '.$object->label ('adm_not_admin', 'gsite').''. "\n".''; } //-------------------------------------------------------------------------- // Run stream management. return $object->load ('', 'modules/client/ic50'); } //============================================================================ /** * OVERLOAD : * This call parent and update access with manageAccess function * * @param texte return by bord effect * @return boolean */ //============================================================================ function manageAuth (&$outputText) { parent::manageAuth ($outputText); if (!empty ($outputText)) return false; return true; } //============================================================================ /** * Constructor */ //============================================================================ function ic50Class ($args = null) { //-------------------------------------------------------------------------- // Call parent constructor. parent::streamClass ($args); global $GS_ARGUMENTS, $GS_GLOBAL,$GS_PROJECT_ARGUMENTS; //-------------------------------------------------------------------------- // Arguments. if (empty ($args)) $args = $GS_ARGUMENTS; $prjArgs = $GS_PROJECT_ARGUMENTS; $this->args_ = array (); $this->action_ = 'admin'; $this->auth_ = true; $this->applicationType_ = (isset ($args['application_type']) ? $args['application_type'] : 'ic50'); switch ($this->applicationtype_) { case 'ic50' : default: $this->pattern_['admin'] = 'ic50.html'; } } //============================================================================ /** * OVERLOAD * Constructor of casevars_ array. */ //============================================================================ function buildCaseVars() { $this->addOneCaseVar ('is_administrator'); return true; } //============================================================================ /** * OVERLOAD * For each CaseVar declared in the buildCasVars function, we add a 'case' * test to return the value to init the casevar_. * Note : * The real assignation of the casevars_[$name]['value'] for each casevars_ * is done in the stream function initCaseVarsLoop (). */ //============================================================================ function initCaseVarsCallback(&$obj,$name) { $cmd = $this->request ('cmd', ''); switch ($name) { case 'is_administrator' : return ($this->isAdministrator_ ? '1' : '0'); default : if (! isset($this->casevars_[$name])) return ''; return isset($this->casevars_[$name]['value'])? $this->casevars_[$name]['value']:''; } } //============================================================================ /** * OVERLOAD . * * @param array $context current context * @param bolean $withLimit put first and max limit on URL */ //============================================================================ function filterArrayURL (&$context, $withSearch=true, $withLimit=true) { //-------------------------------------------------------------------------- // Get base arguments from parent $args = streamClass::filterArrayURL ($context, $withSearch, $withLimit); if ($withSearch) { //------------------------------------------------------------------------ //-- !! When you add one search var here add it in cansee_return_search_docs $search_project = stream_decodeID ($this, 'search_project'); if ( (!isset ($args['search_project'])) && (!empty ($search_project)) ) $args['search_project'] = $search_project; $search_element = stream_decodeID ($this, 'search_element'); if ( (!isset ($args['search_element'])) && (!empty ($search_element)) ) $args['search_element'] = $search_element; $search_element_etud = stream_decodeID ($this, 'search_element_etud'); if ( (!isset ($args['search_element_etud'])) && (!empty ($search_element_etud)) ) $args['search_element_etud'] = $search_element_etud; $search_gamme = stream_decodeID ($this, 'search_gamme'); if ( (!isset ($args['search_gamme'])) && (!empty ($search_gamme)) ) $args['search_gamme'] = $search_gamme; $search_24h = stream_decodeID ($this, 'search_24h'); if ( (!isset ($args['search_24h'])) && (!empty ($search_24h)) ) $args['search_24h'] = $search_24h; $search_modele = stream_decodeID ($this, 'search_modele'); if ( (!isset ($args['search_modele'])) && (!empty ($search_modele)) ) $args['search_modele'] = $search_modele; $search_cellul = stream_decodeID ($this, 'search_cellul'); if ( (!isset ($args['search_cellul'])) && (!empty ($search_cellul)) ) $args['search_cellul'] = $search_cellul; $search_effet = stream_decodeID ($this, 'search_effet'); if ( (!isset ($args['search_effet'])) && (!empty ($search_effet)) ) $args['search_effet'] = $search_effet; $search_ic50 = stream_decodeID ($this, 'search_ic50'); if ( (!isset ($args['search_ic50'])) && (!empty ($search_ic50)) ) $args['search_ic50'] = $search_ic50; $search_methode = stream_decodeID ($this, 'search_methode'); if ( (!isset ($args['search_methode'])) && (!empty ($search_methode)) ) $args['search_methode'] = $search_methode; $search_commentaire = stream_decodeID ($this, 'search_commentaire'); if ( (!isset ($args['search_commentaire'])) && (!empty ($search_commentaire)) ) $args['search_commentaire'] = $search_commentaire; } return $args; } } //------------------------------------------------------------------------------ // $Log: cva_sapetro.php,v $ // // //-- End of source ------------------------------------------------------------ ?>
[warning] Cannot modify header information - headers already sent by (output started at /sites/toxcea/html/modules/client/ic50/ic50.php:307)
/sites/toxcea/html/php/common.php:4143
[warning] Cannot modify header information - headers already sent by (output started at /sites/toxcea/html/modules/client/ic50/ic50.php:307)
/sites/toxcea/html/php/common.php:3442
[warning] Cannot modify header information - headers already sent by (output started at /sites/toxcea/html/modules/client/ic50/ic50.php:307)
/sites/toxcea/html/php/common.php:3443
[warning] Cannot modify header information - headers already sent by (output started at /sites/toxcea/html/modules/client/ic50/ic50.php:307)
/sites/toxcea/html/php/common.php:3444
[warning] Cannot modify header information - headers already sent by (output started at /sites/toxcea/html/modules/client/ic50/ic50.php:307)
/sites/toxcea/html/php/common.php:1470
IC-50
toxnuc3
toxnuc3






Application not found: ic50


Mentions légales | Site par ID-Alizés