if($_GET['ver']=="" || $_GET['ver']=="apl_01"){
$result = mysqli_query($conexion,"select * from galeria where categoria='agroindustrias' order by posicion asc");
while ($datos = mysqli_fetch_array($result)) {
?>

}
}?>
if($_GET['ver']=="" || $_GET['ver']=="apl_02"){
$result = mysqli_query($conexion,"select * from galeria where categoria='construccion' order by posicion asc");
while ($datos = mysqli_fetch_array($result)) {
?>

}
}?>
if($_GET['ver']=="" || $_GET['ver']=="apl_03"){
$result = mysqli_query($conexion,"select * from galeria where categoria='industrial' order by posicion asc");
while ($datos = mysqli_fetch_array($result)) {
?>

}
}?>
if($_GET['ver']=="" || $_GET['ver']=="apl_04"){
$result = mysqli_query($conexion,"select * from galeria where categoria='mobiliario' order by posicion asc");
while ($datos = mysqli_fetch_array($result)) {
?>

}
}?>
if($_GET['ver']=="" || $_GET['ver']=="apl_05"){
$result = mysqli_query($conexion,"select * from galeria where categoria='puertos' order by posicion asc");
while ($datos = mysqli_fetch_array($result)) {
?>

}
}?>
if($_GET['ver']=="" || $_GET['ver']=="apl_06"){
$result = mysqli_query($conexion,"select * from galeria where categoria='residencial' order by posicion asc");
while ($datos = mysqli_fetch_array($result)) {
?>

}
}?>
if($_GET['ver']=="" || $_GET['ver']=="apl_07"){
$result = mysqli_query($conexion,"select * from galeria where categoria='telecomunicaciones' order by posicion asc",$conexion);
while ($datos = mysqli_fetch_array($result)) {
?>

}
}?>
if($_GET['ver']=="" || $_GET['ver']=="ser_01"){?>
$result = mysqli_query($conexion,"select * from galeria where categoria='galvanizacion_caliente' order by posicion asc");
while ($datos = mysqli_fetch_array($result)) {
?>

}
}?>
if($_GET['ver']=="" || $_GET['ver']=="ser_02"){
$result = mysqli_query($conexion,"select * from galeria where categoria='metalizado' order by posicion asc");
while ($datos = mysqli_fetch_array($result)) {
?>

}
}?>
if($_GET['ver']=="" || $_GET['ver']=="ser_03"){
$result = mysqli_query($conexion,"select * from galeria where categoria='limpieza_de_piezas' order by posicion asc");
while ($datos = mysqli_fetch_array($result)) {
?>

}
}?>
if($_GET['ver']=="" || $_GET['ver']=="ser_04"){?>
$result = mysqli_query($conexion,"select * from galeria where categoria='metalizado' order by posicion asc");
while ($datos = mysqli_fetch_array($result)) {
?>

}
}?>
if($_GET['ver']=="" || $_GET['ver']=="ser_05"){?>
$result = mysqli_query($conexion,"select * from galeria where categoria='plastificado' order by posicion asc");
while ($datos = mysqli_fetch_array($result)) {
?>

}
}?>
if($_GET['ver']=="" || $_GET['ver']=="videos"){?>
$result = mysqli_query($conexion,"select * from videos order by posicion asc");
while ($datos = mysqli_fetch_array($result)) {
?>

};?>
} ?>