<td style="width: 80%; text-align: left;"> <?php $status = $catalog->getItemStatus(); echo $status[1] . ' eksemplar'; ?> </td> </tr> <tr class='fo_cat_title_cont'> <td style="width: 18%; text-align: left;"><label><?php echo __('Perpustakaan'); ?> </label></td> <td style="width: 2%; text-align:center;">:</td> <td style="width: 80%; text-align: left;"> <?php $c = new Criteria(); $c->add(VCatalogPerDeptPeer::CATALOG_ID, $catalog->getId()); $location = VCatalogPerDeptPeer::doSelectOne($c); echo $location->getDepartment() ? $location->getDepartment()->toString() : '-'; ?> </td> </tr> </table> </td> </tr> </tbody> </table> </td> </tr> </table>