13 $ct[
'etc'][
'table'] =
'prodotti';
16 $ct[
'etc'][
'id_tipologia'] =
mysqlQuery(
$cf[
'mysql'][
'connection'],
'SELECT id, __label__ FROM tipologie_prodotti_view' );
19 $ct[
'etc'][
'id_udm'] =
mysqlQuery(
$cf[
'mysql'][
'connection'],
'SELECT id, __label__ FROM udm_view' );
22 $ct[
'etc'][
'id_produttore'] =
mysqlQuery(
$cf[
'mysql'][
'connection'],
'SELECT id, __label__ FROM anagrafica_view WHERE se_produttore = 1' );
25 $ct[
'etc'][
'id_fornitore'] =
mysqlQuery(
$cf[
'mysql'][
'connection'],
'SELECT id, __label__ FROM anagrafica_view WHERE se_fornitore = 1' );
28 $ct[
'etc'][
'id_marchio'] =
mysqlQuery(
$cf[
'mysql'][
'connection'],
'SELECT id, __label__ FROM marchi_view' );
31 $ct[
'etc'][
'id_categoria'] =
mysqlQuery(
$cf[
'mysql'][
'connection'],
'SELECT id, __label__ FROM categorie_prodotti_view' );
34 $ct[
'etc'][
'id_tipologia_pubblicazione'] =
mysqlQuery(
$cf[
'mysql'][
'connection'],
'SELECT id, __label__ FROM tipologie_pubblicazione_view' );
37 if( isset(
$_REQUEST[
$ct[
'etc'][
'table'] ][
'id'] ) && isset(
$cf[
'catalogo'][
'prodotti'][
$_REQUEST[ $ct[
'etc'][
'table'] ][
'id'] ] ) && isset(
$cf[
'catalogo'][
'prodotti'][
$_REQUEST[ $ct[
'etc'][
'table'] ][
'id'] ][
'path']) ) {
38 $ct[
'etc'][
'url'] =
$cf[
'catalogo'][
'prodotti'][
$_REQUEST[ $ct[
'etc'][
'table'] ][
'id'] ][
'path'][
$cf[
'localization'][
'language'][
'ietf'] ];
42 # $ct['etc']['id_genitore'] = mysqlQuery( $cf['mysql']['connection'], 'SELECT id, __label__ FROM ' . $ct['etc']['table'] . '_view WHERE ' . $ct['etc']['table'] . '_path_check( ' . $ct['etc']['table'] . '_view.id, ? ) = 0', array( array( 's' => $_REQUEST[ $ct['etc']['table'] ]['id'] ) ) );
$cf['ricerca']['template']
$_REQUEST['__view__'][ $ct['view']['id']]['__restrict__']['id_progetto']['EQ']