Ver Mensaje Individual
  #14 (permalink)  
Antiguo 21/01/2009, 10:51
rickhunter_sv
 
Fecha de Ingreso: noviembre-2008
Mensajes: 20
Antigüedad: 16 años, 4 meses
Puntos: 0
Respuesta: De donde sale este numero? no entiendo

Olvidé comentarles que ese codigo lo copié directamente del hosting control panes.

Perdon por la tardanza, pero aqui esta el codigo. Ojala me puedan aconsejar.
Graicias de antemano.

Saludos!

Código PHP:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <?PHP
$imagenes
= array("assets1/ist2_631946-hospital-corridor.jpg","assets1/ist2_996911-hospital-hall.jpg","assets1/ist2_2603226-networking.jpg",
                 
"assets1/ist2_2710718-electrical-system.jpg""assets1/ist2_4072032-hospital-bed-2.jpg","assets1/ist2_4108367-cold-blue-corridor.jpg",
                 
"assets1/ist2_4188965-hospital-floor.jpg","assets1/ist2_4222037-construction-site.jpg","assets1/ist2_5269389-dentist-s-room.jpg",
                 
"assets1/ist2_5440466-network-hub.jpg","assets1/ist2_5476384-examination-room.jpg","assets1/ist2_5521415-engineer-doing-electrical-measured.jpg",
                 
"assets1/ist2_5541391-fiber-connection.jpg","assets1/ist2_5576188-the-preventive-maintenance.jpg","assets1/ist2_5847079-welding-new-connection-on-ac-unit.jpg",
                 
"assets1/ist2_5876381-interior-of-a-stomatologic-cabinet.jpg","assets1/ist2_5876381-interior-of-a-stomatologic-cabinetWWWWWWWWWWW.jpg",
                 
"assets1/ist2_5879323-hospital-room.jpg","assets1/ist2_5880234-hospital-corridor-and-nurse.jpg","assets1/ist2_5916216-interior-of-the-modern-stomatologic-cabinet.jpg",
                 
"assets1/ist2_6329957-hospital-floor.jpg","assets1/ist2_6395710-examination-room.jpg","assets1/ist2_6473489-four-armchairs-in-a-hospital-floor.jpg","assets1/ist2_6519126-hospital-floor.jpg");
shuffle($imagenes);

$Nuimagenes count($imagenes) - ;
$Naleatorio rand(0$Nuimagenes); //Numero aleatorio para mostrar luego la posición del array aleatorio.
echo $Nuimagenes;


?>
<html>
<head>
<title>Home - Structura Contractors LLC :: Miami, Florida</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="Structura_Style.css" rel="stylesheet" type="text/css">
</head>

<body leftmargin="0" topmargin="0">
<table width="991" border="0" align="center" cellpadding="0" cellspacing="0" class="borderMain">
  <tr>
    <td width="1000"><table width="991" height="83" border="0" cellpadding="0" cellspacing="0" class="headerLine">
        <tr> 
          <td width="35">&nbsp;</td>
          <td width="148"><img src="assets/logo.jpg" width="127" height="42"></td>
          <td width="28">&nbsp;</td>
          <td width="780" valign="bottom"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="40%" valign="bottom" class="menu"> <a href="http://www.structuracontractors.com/index.php">&nbsp;&nbsp;&nbsp;&nbsp;Home</a> 
                  | <a href="http://www.structuracontractors.com/services.htm">Services</a> | 
                  <a href="http://www.structuracontractors.com/projects.htm">Projects </a> | <a href="http://www.structuracontractors.com/company.php#cntact">Contact</a> | <a href="http://www.structuracontractors.com">Login</a></td>
                <td width="60%"><div align="left"></div>
                  <div align="right">
                    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="underlina">
                      <tr>
                        <td>&nbsp;</td>
                      </tr>
                    </table>
                  </div>
                  </td>
              </tr>
              <tr valign="bottom"> 
                <td colspan="2"><font size="-6"> .</font></td>
              </tr>
            </table></td>
        </tr>
      </table>
      <table width="991" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <?PHP
                  
for($i=0;$i<2;$i++)
                     {
                     echo 
"<td align=center><img src=\""; echo $imagenes[$i]; echo "\"widht=800 height=281></td>";
                     }
                
?>
              </tr>
            </table>
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td width="44%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td>&nbsp;</td>
                    </tr>
                  </table>
                  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="singleRTborder">
                    <tr> 
                      <td width="5%" class="titles">&nbsp;</td>
                      <td width="92%" bgcolor="#ECF0F0" class="titles"><strong>About 
                        Us </strong></td>
                      <td width="3%" class="titles">&nbsp;</td>
                    </tr>
                  </table>
                  <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                       <td valign="top" class="body"> <p class="singleline"><strong><br>
                          Structura Contractors</strong></p>
                        <p>Structura Contractors LLC is a licensed and fully insured
                          General Contractor firm, established in Miami, Florida
                          in April, 2005. Our Primary focus and expertise includes,
                          but is not limited to Health Care, Dental and New Technology.<br>
                          <br>
                          <?PHP
                               
echo "<img src='";
                               echo 
$imagenes[$Naleatorio];
                               echo 
"' widht=300 height=154>";

                          
?>
                          <br>
                        </p>
                        </td>
                    </tr>
                  </table>
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td>&nbsp;</td>
                    </tr>
                  </table>
                  
                </td>
                <td width="56%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td>&nbsp;</td>
                    </tr>
                  </table>
                  <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td valign="top" class="bodyB"><p><br>
                          We have constructed new as well as renovated existing 
                          Facilities. Structura Contractors is a State wide licensed 
                          general contractor company.<br>
                          <br>
                          • Structura Contractors has the expertise to assure 
                          your project is handled professionally.<br>
                          • Our hands-on management philosophy allows us 
                          to work closely with our clients, maintaining them updated 
                          and involved through every step of the project process.<br>
                          • We work closely with owners, developers, architects 
                          and engineers<strong>.</strong></p>
                        <p>&nbsp; </p>
                        </td>
                    </tr>
                  </table>
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td>&nbsp;</td>
                    </tr>
                  </table>
                  
                </td>
              </tr>
            </table></td>
          <td valign="top" background="assets/drop_shadow.jpg"><table width="191" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="203"><img src="assets/banner2.jpg" width="191" height="262"></td>
              </tr>
            </table>
            <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td>&nbsp;</td>
                    </tr>
                  </table>
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td class="shoulder"><p><span class="shoulderTitle">Recent 
                          Projects</span><br>
                          <br>
                          • Dental Associates of Homestead. Homestead, FL.<br>
                          <br>
                          • Miami Beach Dental Center. Miami Beach, FL.<br>
                          <br>
                          • Dental Center of Hollywood. Hollywood, FL.<br>
                          <br>
                          • Jupiter Dental Group, Jupiter, FL. <span class="shoulderSubText"><br>
                          </span><span class="shoulderSubText"></span><br>
                          <span class="shoulderSubText"><br>
                          </span></p>
                        </td>
                    </tr>
                  </table>
                  
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
      <table width="991" border="0" cellpadding="0" cellspacing="0" class="border3">
        <tr> 
          <td class="foot"><div align="center">Copyright, <strong> <?php echo date(F)."/";
echo 
date("Y");
?></strong>, Structura Contractors 
              LLC</div></td>
        </tr>
      </table></td>
  </tr>
</table>
<div align="center"></div>
</body>
</html>

Última edición por rickhunter_sv; 21/01/2009 a las 10:54 Razón: comentario agregado