Esempio n. 1
0
                <table>
					<tr>
						<td valign="top" id="bordep">
							<a href="' . $t['nick'] . '"><img src="misc/fotosperfil/' . $d['foto'] . '" width="50" height="50" style="border-radius:5px;"></a><div><center><br>' . verificadoCheck(getID($t['nick'])) . '</center></div>
						</td>
						<td valign="top" id="mtextnovedades"><a href=' . $t['nick'] . ' style="float:left;"><b>' . $t['nombre'] . '</b></a>';
        if ($n['adicionAnuncio'] == "") {
        } else {
            echo '<div class="spoiler"><input id="buttonvermas" style="float:right;" type="button" onclick="showSpoiler(this);" value="Ver imagen" /><div class="inner" style="display:none;">
										<div id="borderp"><a id="single_2" href="' . $n['adicionAnuncio'] . '"><img src="' . $n['adicionAnuncio'] . '" id="imagennovedades"></a></div>
											</div></div>';
        }
        echo '
							<br><div id="date"><b>[' . $n['fechaAnuncio'] . ']</b></div>
							<div id="publicacionnovedades">';
        echo mensionar($n['descripcionAnuncio']);
        echo '</div>
					
					
					<a href="@novedades-' . $g['nombreGremio'] . '">' . $g['nombreGremio'] . '</a>
					</td>
					</tr>
					</table>
					</div>
                <div id="bbottom"></div>';
    }
    echo '<center>';
    echo ' ' . $paging->fetchNavegacion();
    echo '</center>';
}
echo '</div>';
Esempio n. 2
0
	</head>	
	
	<div class="arriba">';
require_once '../Plugins/arriba.php';
echo '
		</div>

		<div class="turabox">
		
		<div id="tboxizq">
		
		<div id="content-header"><div id="header1"><div id="h1">Producto</div></div></div>
		
		<div id="texto1">';
if (isset($_GET['id'])) {
    $id = mysql_real_escape_string($_GET['id']);
    $gy = mysql_query("SELECT * FROM `Productos` WHERE `idProductos`='" . $id . "'") or die(mysql_error());
    $c = mysql_fetch_array($gy);
    echo "\t\n                <div id='divisor'><table>\n\t\t\t\t\n\t\t\t\t<td valign='top'><a id='single_2' href='misc/productos/" . $c['imagenProducto'] . "'><img src='misc/productos/" . $c['imagenProducto'] . "' id='fotoproductosuni'></a><b>Precio : " . $c['precioProducto'] . "</b></td>\n\t\t\t\t<td valign='top'><div id='mtext'><h8>" . $c['nombreProducto'] . "</h8>";
    echo "<div id='date'>El [" . $c['fechaProducto'] . "]</div></div>";
    echo '<div id="publicacionproductosuni">';
    echo mensionar($c['detallesProducto']);
    echo '</div>';
    echo '</td></table></div>';
}
echo '</div></div>';
require_once '../Plugins/publicidadVIP.php';
require_once '../Plugins/publicidadREG.php';
require_once '../Plugins/pie.php';
echo '</div>';
Esempio n. 3
0
                <div id="divisor">
				
                <table>
				
	            <td valign="top"><a href="' . $t['nick'] . '">
				
				<div id="bordep">
				
				</div></td></a>
				
			    <td valign="top">
				
				<div id="mtext"><b><h8>Mensaje de :' . $n['emisor'] . '</h8><br><h3>Asunto:' . $n['asunto'] . '</h3><h3>Correo:' . $n['correo'] . '</h3></b><div id="date">El ' . $n['fecha'] . '</div></div><br>
                
				<div id="publicacion"><h3>';
        echo mensionar($n['mensaje']);
        echo '</h3></div>';
        echo '</td></table> 
                </div>
                <div id="bbottom"></div>';
        $av = mysql_query("UPDATE `Mensajeria` SET `visto` = visto + 1 WHERE `idMensajeria`='" . $id . "'") or die(mysql_error());
    } else {
        $paging = new PHPPaging();
        $paging->agregarConsulta("SELECT * FROM `Mensajeria` WHERE `Destino_idEmpresa`='" . $_SESSION['id'] . "' AND `visto`='0' order by `idMensajeria` DESC");
        $paging->ejecutar();
        while ($n = $paging->fetchResultado()) {
            $gt = mysql_query("SELECT * FROM `Empresa` WHERE `idEmpresa`='" . $n['Destino_idEmpresa'] . "'") or die(mysql_error());
            $t = mysql_fetch_array($gt);
            echo '<div id="publicacion">
				
                <div id="divisor">
Esempio n. 4
0
        $d = mysql_fetch_array($diseno);
        $r = mysql_fetch_array($gc);
        echo "\t\n                <div id='divisor'><table>\n\t\t\t\t\n\t\t\t\t<td valign='top'><a href=\"" . $y['nick'] . "\"><img src='misc/fotosperfil/" . $d['foto'] . "' id='fotoanuncio'></a>";
        if (isset($_SESSION['id'])) {
            if ($_SESSION['nick'] == "{$nick}") {
                echo '<form method="POST" action="Admin/Funcion_borrar_servicios.php?id=' . $c['idServicios'] . '"><br><input id="buttonborrar" type="submit" name="borrar" value="Borrar"></form>';
            } else {
                if (isset($_SESSION['admin'])) {
                    echo '<form method="POST" action="Admin/Funcion_borrar_servicios.php?id=' . $c['idServicios'] . '"><br><input id="buttonborrar" type="submit" name="eliminar" value="Spam"></form>';
                }
            }
        }
        echo "</td>\n\t\t\t\t<td valign='top'><div id='mtext'><h8>" . $c['nombreServicio'] . "</h8>";
        echo "</div>";
        echo '<div id="publicacion">';
        echo mensionar($c['detallesServicio']);
        echo '
				</div>
				</td></table></div>
                <div id="bbottom"></div>';
    }
    echo '<center>';
    echo ' ' . $paging->fetchNavegacion();
    echo '</center>';
}
?>
<script type="text/javascript" src="css/js/jquery.form.js"></script>
<script>
$(document).ready(function()
{
    $('#Comentar').on('submit', function(e)