Ver Mensaje Individual
  #7 (permalink)  
Antiguo 12/04/2010, 15:44
etisdemian
 
Fecha de Ingreso: octubre-2009
Mensajes: 357
Antigüedad: 14 años, 6 meses
Puntos: 1
sera el cuteftp? (que ademas es lento)

podria instalar otro?, o crees que es exagerado?

sip , como dije este codigo al pasarlo por cuteftp hacia la web, lo sube con 0 bites.



Código PHP:
Ver original
  1. <?php
  2. include("header.php");
  3. ?>
  4.  
  5. <?php
  6. @mysql_pconnect("ddd","dd","dddddd");
  7. mysql_select_db("xccccvb");
  8.  
  9. ?>
  10.  
  11. <table style="text-align: left; width: 985px;" border="1"
  12. cellpadding="2" cellspacing="2" align="center">
  13.   <tbody>
  14.     <tr>
  15.       <td>
  16. <?php
  17. include ("index4.php");
  18. ?>
  19. <?php
  20. include ("letra.php");
  21. ?>
  22. <div id="todito">
  23. <?php
  24. include ("inmenu.php");
  25. ?>
  26. <div id="contenedor">
  27. <?php include("libros.php"); ?>
  28.    
  29.    <?php
  30.  
  31.   $resultado = mysql_query(")
  32.  
  33.     $row = mysql_fetch_array($resultado);
  34.    
  35.        ?>
  36.      
  37.    
  38. <div id="certe">
  39.     <br />
  40.         <table width="251" border="0">
  41.   <tr>
  42.        <th width="245" height="42" scope="col" style="font-size:10px"><fieldset><small>
  43.       <?php echo "<strong><a href='indetalle.php?id=".htmlspecialchars($row['in_id'])."'style='font-size:10px;color:#000000;'>".utf8_encode($row["in_titulo"])."</a><br>";?></small></fieldset></th>
  44.     </tr>
  45.     <tr>
  46.     <th width="245" height="10" scope="col" style="font-size:9px" align="center"><small>
  47.       <?php echo stripslashes($row["in_autor"]); ?> </small></th>
  48.       </tr>
  49.    </table>
  50.    <table width="119" height="141" border="0" align="center">
  51.    <tr>
  52.      <th width="70" height="85" scope="col">
  53.      
  54.     <img src ="http://localhost/<?php echo htmlspecialchars($row[0]);?>" width="104" height="125">      </th>
  55.       </tr></table>
  56.       <?php
  57. $cantidad = $row['in_venta_iva'];
  58. ?>
  59.        
  60.  
  61.   <table width="202" border="0" align="center">
  62.        <tr>
  63.       <th width="88" height="10" scope="col" style="font-size:9px" align="right">Precio:</th>
  64.       <th width="99" height="10" scope="col" style="font-size:9px" align="left"><?php echo number_format($cantidad,0); ?> </th>
  65.       </tr>
  66.       <tr>
  67.                  <?php                  
  68.  
  69. $marca= htmlspecialchars($row['marca']);
  70. if($marca == "-"){
  71. $tot = $cantidad - ($cantidad*10/100);
  72. $total = number_format($tot,0);
  73. ?>
  74.      
  75.           <th width="88" height="10" scope="col" style="font-size:9px" align="right">
  76.          
  77.  
  78.          
  79.           Internet:</th>
  80.       <th width="99" height="10" scope="col"  class="Estilo6" style="font-size:12px" align="left"><?php echo $total; ?>      </th>
  81.       <?php  }else { ?> <th width="1">&nbsp;</th>
  82.       <?php } ?>
  83.   </tr>
  84.   </table>
  85.  
  86.  
  87.  
  88.  
  89.   <table width="202" border="0" align="center">
  90. <tr>
  91. <th width="196"  height="10" scope="col">  
  92.    <?php
  93.  
  94.  if($marca == "P"){
  95. echo "<div class='Estilo6'>Liquidación</div>";
  96. }
  97.  if($marca == "L"){
  98. echo "<div class='Estilo6'>nose</div>";
  99. }
  100.  
  101. if($marca == "o"){
  102.  
  103. echo "<div class='Estilo6'>Oferta</div>";
  104. }
  105. ?></th>
  106. </tr>  
  107.     </table>
  108.      
  109.      
  110.        
  111.  <table border="0" align="center">
  112.     <tr>
  113.       <th height="10" scope="col" align="center">
  114.    
  115.    
  116.   <?php
  117. if(!$carro || !isset($carro[md5($row['in_id'])]['identificador']) || $carro[md5($row['in_id'])]['identificador']!=md5($row['in_id']))
  118.  
  119. {
  120.  
  121. ?>
  122.  
  123. <a href="agregacar.php?<?php echo SID ?>&id=<?php echo htmlspecialchars($row['in_id']); ?>" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image9','','_imagenes/comprar2.jpg',1)"><img src="_imagenes/comprar.jpg" alt="comprar" /></a><a href="agregacar.php?<?php echo SID ?>&id=<?php echo htmlspecialchars($row['in_id']); ?>"></a>
  124. <?php }else{?>
  125.  
  126.  
  127. <a href="borracar.php?<?php echo SID ?>&id=<?php echo htmlspecialchars($row['in_id']); ?>" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image11','','_imagenes/eliminar2.jpg',1)"><img src="_imagenes/eliminar.jpg" alt="eliminar" name="Image11" width="64" height="15" border="0" id="Image11" /></a></th>
  128. <?php } ?>
  129.  
  130.  
  131.  
  132. <th width="65" align="left"><a href="vercarrito.php?<?php echo SID ?>" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image10','','_imagenes/carrito2.jpg',1)"><img src="_imagenes/carrito1.jpg" alt="ver carrito" name="Image10" width="64" height="15" border="0" id="Image10" /></a></th>
  133.       </tr>
  134.         </table>
  135.   </div>
  136. <?php } ?>
  137. <br />
  138. </div>
  139.  
  140. <?php
  141. include ("inlateral.php");
  142. ?>
  143.  
  144. </div>
  145. <?php
  146. include ("footer.php");
  147. ?>
  148. </td></tr></tbody></table>


sin embargo este si resulta




Código PHP:
Ver original
  1. <?php include ("header.php");
  2. ?>
  3. <div id="sidebar2">
  4. <div align="right"><a href="ztodo.php"><a href="ztodo.php"><img src="_imagenes/home.png" alt="inicio" width="148" height="27" /></a></div>
  5. <br />
  6.   <div id="useful-links" class="box">
  7.              
  8. <br />
  9.                     <ul>
  10.                    
  11.                     <li><fieldset><a href="inempresa.php" style="font-size:10px"><strong>EMPRESA</strong><br /></a></fieldset>
  12.                     </li>
  13.                     <li><fieldset><a href="zservicios.php" style="font-size:10px"><strong>SERVICIOS</strong><br />
  14.                     </a></fieldset>                 </li>
  15.                    
  16.                         <li><fieldset><a href="inmapa.php" style="font-size:10px"><strong>COMO LLEGAR</strong></a></fieldset><br />
  17.                         </li>
  18.                         <li><fieldset><a href="incontacto.php" style="font-size:10px"><strong>CONTACTO</strong></a></fieldset><br />
  19.                 </li>
  20.  
  21.                        
  22.                         <li><fieldset><a href="zdespacho.php" style="font-size:10px"><strong>DESPACHO</strong></a></fieldset><br />
  23.             </li>
  24.                             <li><fieldset><a href="incatalogos.php" style="font-size:10px"><strong>CATALOGOS</strong></a></fieldset><br />
  25.             </li>
  26.                            <li><fieldset><a href="zformcotiza.php" style="font-size:10px"><strong>COTIZACION</strong></a></fieldset><br />                                 </li>
  27.                            
  28.                            <li><fieldset><a href="innovedades.php" class="error error" style="font-size:10px"><strong><span class="error">NOVEDADES</span></strong></a></fieldset><br />
  29.             </li>
  30.                            
  31.                            <li><fieldset><a href="ofertas.php" class="error error" style="font-size:10px"><strong><span class="error">OFERTAS</span></strong></a></fieldset><br />
  32.                       <li><fieldset><a href="ofertas.php" style="font-size:10px"><strong><span class="error">LIQUIDACIONES</span></strong></a><br /></fieldset>
  33.                    
  34.     <li><fieldset><a href="clasific.php" class="Estilo4"><strong><span style="color: #009779">AREAS</span></strong></a></fieldset>
  35.                                                                                            
  36.             </ul>
  37.             <br />
  38.   <a href="#" onClick="javascript:window.open('https://www.paypal.com/cgi-bin/webscr?cmd=xpt/popup/OLCWhatIsPayPal-outside','olcwhatispaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, width=400, height=350');"><img src="_imagenes/webpay copia.jpg" alt="wev" width="149" height="58" /></a>
  39.    
  40.  
  41.  
  42.     </div> 
  43.   </div>

Última edición por GatorV; 12/04/2010 a las 21:28