Ver Mensaje Individual
  #7 (permalink)  
Antiguo 20/11/2012, 15:00
Avatar de andrespalacio
andrespalacio
 
Fecha de Ingreso: noviembre-2012
Ubicación: Panamá
Mensajes: 21
Antigüedad: 11 años, 5 meses
Puntos: 0
Respuesta: Consulta campo "parcial" sql con php

la parte de codigo que puse antes no tiene la parte importante, esta si:
Código PHP:
Ver original
  1. <tr>
  2.                     <td class="checkbox">
  3.                         <input type="checkbox" name="cid[]" value="<?php echo $row->id; ?>" />
  4.                     </td>
  5.                     <td class="type">
  6.                         <?php echo $this->application->getType($row->type)->name; ?>
  7.                     </td>
  8.                     <td class="pos-description">
  9.                         <span class="editlinktip hasTip" title="<?php echo JText::_('Edit Item');?>::<?php echo $row->name; ?>">
  10.                             <a href="<?php echo $this->app->link(array('controller' => $this->controller, 'task' => 'edit', 'cid[]' => $row->id));  ?>"><?php echo $row->name; ?></a>
  11.                         </span>
  12.                     <td class="icon"></td>
  13.                     <td class="name">
  14.                         <span class="editlinktip hasTip" title="<?php echo JText::_('Edit Item');?>::<?php echo $row->name; ?>">
  15.                             <a href="<?php echo $this->app->link(array('controller' => $this->controller, 'task' => 'edit', 'cid[]' => $row->id));  ?>"><?php echo $row->name; ?></a>
  16.                         </span>
  17.                     </td>
  18.                     <td class="published">
  19.                         <span class="editlinktip hasTip" title="<?php echo JText::_('Publish Information');?>::<?php echo $times; ?>">
  20.                             <a href="#" rel="task-<?php echo $row->state ? 'unpublish' : 'publish'; ?>">
  21.                                 <img src="<?php echo $this->app->path->url('assets:images/'.$img) ;?>" width="16" height="16" border="0" alt="<?php echo $alt; ?>" />
  22.                             </a>
  23.                         </span>
  24.                     </td>
  25.                     <td class="frontpage">
  26.                         <a href="#" rel="task-<?php echo 'toggleFrontpage'; ?>" title="<?php echo JText::_('Toggle frontpage state');?>">
  27.                             <img src="<?php echo $this->app->path->url('assets:images/'.$frontpage_img); ?>" width="16" height="16" border="0" alt="<?php echo $frontpage_alt; ?>" />
  28.                         </a>
  29.                     </td>
  30.                     <td class="searchable">
  31.                         <a href="#" rel="task-<?php echo $row->searchable ? 'makenonesearchable' : 'makesearchable'; ?>" title="<?php echo JText::_('Edit searchable state');?>">
  32.                             <img src="<?php echo $this->app->path->url('assets:images/'.$search_img); ?>" width="16" height="16" border="0" alt="<?php echo $search_alt; ?>" />
  33.                         </a>
  34.                     </td>
  35.                     <td class="comments">
  36.                         <a href="#" rel="task-<?php echo $comments_enabled ? 'disablecomments' : 'enablecomments'; ?>" title="<?php echo JText::_('Enable/Disable comments');?>">
  37.                             <img src="<?php echo $this->app->path->url('assets:images/'.$comments_img); ?>" width="16" height="16" border="0" alt="<?php echo $comments_alt; ?>" />
  38.                         </a>
  39.                     </td>
  40.                     <td class="priority">
  41.                         <span class="minus"></span>
  42.                         <input type="text" class="value" value="<?php echo $row->priority; ?>" size="5" name="priority[<?php echo $row->id; ?>]"/>
  43.                         <span class="plus"></span>
  44.                     </td>
  45.                     <td class="access">
  46.                         <span><?php echo JText::_($this->app->zoo->getGroup($row->access)->name); ?></span>
  47.                     </td>
  48.                     <td class="author">
  49.                         <?php echo $author; ?>
  50.                     </td>
  51.                     <td class="date">
  52.                         <?php echo $this->app->html->_('date', $row->created, JText::_('DATE_FORMAT_LC4'), $this->app->date->getOffset()); ?>
  53.                     </td>
  54.                     <td class="hits">
  55.                         <?php echo $row->hits ?>
  56.                     </td>
  57.                 </tr>