noalyss Version-9
Variables
profile.inc.php File Reference

Go to the source code of this file.

Variables

global $cn
 
if(isset($_POST['delete_profil'])) $dep =$http->post("dep","string","")
 
 $gDossier =Dossier::id()
 
global $http
 
for($i=0; $i< Database::num_row($ret); $i++) $js
 
 $menu =new Profile_sql($cn)
 
 $ord =(isset($_REQUEST['ord']))?$_REQUEST['ord']:'na'
 
 $order =$table->get_sql_order($ord)
 
 $profile_mobile =Mobile_Device_MTable::build(0,90)
 
 $ret =$menu->seek("where p_id > 0 ".$order)
 
 $table =new Sort_Table()
 
 $url =$_SERVER['REQUEST_URI']
 
if(isset($_POST['change_profile'])) if(isset( $_POST[ 'change_stock'])) if(isset($_POST['save_name'])) if(isset( $_POST[ 'clone'])) if(isset($_POST['delete_profil'])) if(isset( $_POST[ 'mod'])) if (isset( $_POST[ 'add_menu'])||isset( $_POST[ 'add_impress']))
 
 if (isset( $_POST[ 'p_id']) &&$_POST[ 'p_id'] !=-1)
 

Variable Documentation

◆ $cn

global $cn

Definition at line 24 of file profile.inc.php.

◆ $dep

if (isset( $_POST[ 'delete_profil'])) $dep =$http->post("dep","string","")

Definition at line 442 of file profile.inc.php.

◆ $gDossier

$gDossier =Dossier::id()

Definition at line 393 of file profile.inc.php.

◆ $http

global $http

Definition at line 24 of file profile.inc.php.

◆ $js

for ( $i=0;$i< Database::num_row( $ret);$i++) $js ( )
Initial value:
=sprintf('<a href="javascript:void(0)" class="button" onclick="get_profile_detail(\'%s\',\'%s\')">',
$gDossier, -1)
$gDossier

Definition at line 407 of file profile.inc.php.

◆ $menu

$menu =new Profile_sql($cn)

Definition at line 384 of file profile.inc.php.

◆ $ord

$ord =(isset($_REQUEST['ord']))?$_REQUEST['ord']:'na'

Definition at line 380 of file profile.inc.php.

◆ $order

$order =$table->get_sql_order($ord)

Definition at line 382 of file profile.inc.php.

◆ $profile_mobile

$profile_mobile =Mobile_Device_MTable::build(0,90)

Definition at line 414 of file profile.inc.php.

Referenced by Mobile_Device_MTable\build(), and Profile_Menu\mobile_device().

◆ $ret

$ret =$menu->seek("where p_id > 0 ".$order)

Definition at line 385 of file profile.inc.php.

◆ $table

$table =new Sort_Table()

Definition at line 368 of file profile.inc.php.

◆ $url

$url =$_SERVER['REQUEST_URI']

Definition at line 369 of file profile.inc.php.

◆ if [1/2]

if(isset( $_POST[ 'change_profile'])) if(isset($_POST['change_stock'])) if(isset( $_POST[ 'save_name'])) if(isset($_POST['clone'])) if(isset( $_POST[ 'delete_profil'])) if(isset($_POST['mod'])) if(isset($_POST['add_menu'])||isset($_POST['add_impress'])) ( isset( $_POST[ 'add_menu'])||isset( $_POST[ 'add_impress'])  )

Printing cannot be a menu and do not depend of anything

Printing cannot be a menu and do not depend of anything

Check for infinite loop

Check if we don't add a menu depending on itself

if me_code_dep == -1, it means it is null

Definition at line 271 of file profile.inc.php.

◆ if [2/2]

if(isset($_POST['p_id']) && $_POST['p_id'] !=-1) ( isset($_POST['p_id']) && $_POST !  [ 'p_id'] = -1)

Definition at line 421 of file profile.inc.php.