1
0
forked from qwerty/milfs

orden en banner

This commit is contained in:
humano 2020-04-18 16:17:43 -05:00
parent 4cfa6f9d6c
commit dffdf68607

View File

@ -2277,7 +2277,7 @@ function banner($id,$registros,$tipo){
$advertencia ="<div class='alert alert-danger'><h1>No tiene autorización para revisar este contenido</h1></div>"; $advertencia ="<div class='alert alert-danger'><h1>No tiene autorización para revisar este contenido</h1></div>";
return $advertencia; return $advertencia;
} }
if(isset($_REQUEST['random'])){ $order = "ORDER BY RAND()"; }ELSE{$order ="";} if(isset($_REQUEST['random'])){ $order = "ORDER BY RAND()"; }ELSE{$order ="ORDER BY form_datos.timestamp";}
/// PRIVACIDAD /// PRIVACIDAD
if($publico[0] =='1') {} if($publico[0] =='1') {}
$consulta_principal = "SELECT control,id,form_id , FROM_UNIXTIME(form_datos.timestamp) as fecha FROM form_datos WHERE form_id = '$id' GROUP BY form_datos.control $order "; $consulta_principal = "SELECT control,id,form_id , FROM_UNIXTIME(form_datos.timestamp) as fecha FROM form_datos WHERE form_id = '$id' GROUP BY form_datos.control $order ";