Ver Mensaje Individual
  #3 (permalink)  
Antiguo 05/03/2014, 13:36
Avatar de Landa11
Landa11
 
Fecha de Ingreso: febrero-2014
Ubicación: En algún lugar de mi oficina
Mensajes: 148
Antigüedad: 10 años, 3 meses
Puntos: 1
Exclamación Respuesta: No se poner imagenes

Código HTML:
Ver original
  1. [HIGHLIGHT="PHP"]<style type="text/css">
  2. #apDiv1 {
  3. position: absolute;
  4. left: 313px;
  5. top: 40px;
  6. width: 596px;
  7. height: 186px;
  8. z-index: 1;
  9. }
  10. <div id="apDiv1"><img src="/public_html/images/fondo7.jpeg" width="598" height="300" /></div>
  11. <h1>hola mundo</h1>


Código PHP:
Ver original
  1. <?php
  2. ?>
Código HTML:
Ver original
  1. <style type="text/css">
  2. #apDiv1 {
  3. position: absolute;
  4. left: 143px;
  5. top: 35px;
  6. width: 724px;
  7. height: 151px;
  8. z-index: 1;
  9. }
  10.  
  11. <p>&nbsp;</p>
  12. <p>&nbsp;</p>
  13. <p>&nbsp;</p>
  14. <p>&nbsp;</p>
  15. <p>&nbsp;</p>
  16. <p>&nbsp;</p>
  17. <p>&nbsp;</p>
  18. <p>&nbsp;</p>
  19. <p>&nbsp;</p>
  20. <p>M&aacute;s ejemplos en <a href="http://www.empresario.com.mx">Empresario.com.mx</a><br />
  21. Gracias por tus comentarios.<br />
  22. </p>
Código PHP:
Ver original
  1. <?php
  2. echo 'Bienvenido, ';
  3. if (isset($_SESSION['k_username'])) {
  4. echo '<b>'.$_SESSION['k_username'].'</b>.';
  5. echo '<p><a href="logout.php">Logout</a></p>';
  6. }else{
  7. echo '<p><a href="login.php">Login</a></p>
  8. <p><a href="registrar.php">Registrar</a></p>';
  9. }
  10. ?>
[/HIGHLIGHT]