forked from qwerty/tupali
correccion orden de areas
This commit is contained in:
parent
9052d0e2c1
commit
a42d288517
@ -7360,11 +7360,8 @@ $control = md5(rand(1,99999999).microtime());
|
|||||||
OR (form_contenido_campos.id_form = '$perfil' AND form_campos.campo_area ='0' )
|
OR (form_contenido_campos.id_form = '$perfil' AND form_campos.campo_area ='0' )
|
||||||
AND form_areas.estado = '1' GROUP BY form_areas.id ORDER BY form_areas.orden";
|
AND form_areas.estado = '1' GROUP BY form_areas.id ORDER BY form_areas.orden";
|
||||||
*/
|
*/
|
||||||
$consulta= "SELECT * FROM form_campos, `form_contenido_campos`
|
$consulta= "SELECT * , form_areas.orden FROM form_campos, `form_contenido_campos`, form_areas WHERE form_campos.campo_area = form_areas.id AND form_campos.id = form_contenido_campos.id_campo AND form_contenido_campos.id_form = '$perfil' GROUP BY form_campos.campo_area ORDER BY form_areas.orden
|
||||||
WHERE form_campos.id = form_contenido_campos.id_campo
|
|
||||||
AND form_contenido_campos.id_form = '$perfil'
|
|
||||||
|
|
||||||
GROUP BY form_campos.campo_area
|
|
||||||
";
|
";
|
||||||
|
|
||||||
$link=Conectarse();
|
$link=Conectarse();
|
||||||
@ -8336,7 +8333,7 @@ return $contenido;
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function formulario_embebido($id){
|
function formulario_embebido($id,$opciones){
|
||||||
$publico = remplacetas('form_id','id',"$id",'modificable',"") ;
|
$publico = remplacetas('form_id','id',"$id",'modificable',"") ;
|
||||||
$propietario = remplacetas('form_id','id',$id,'propietario',"") ;
|
$propietario = remplacetas('form_id','id',$id,'propietario',"") ;
|
||||||
$empresa = remplacetas('form_id','id',$id,'id_empresa',"") ;
|
$empresa = remplacetas('form_id','id',$id,'id_empresa',"") ;
|
||||||
|
Loading…
Reference in New Issue
Block a user