/JEF/sites/all/themes/unicauca_vice/unicauca_vice/print--pdf--node--informe-comisi-n-.tpl.php
PHP | 90 lines | 80 code | 7 blank | 3 comment | 1 complexity | 580a5390f5fc97538fe5eea96d607861 MD5 | raw file
Possible License(s): AGPL-3.0, AGPL-1.0, LGPL-2.1, LGPL-3.0, GPL-3.0, GPL-2.0
- <?php
- $node = $print['node'];
- function variables($nomCampo, $node){
- $arrFormApi = field_view_field('node', $node, $nomCampo);
- $arrFormApi['#label_display'] = 'hidden';
- return render($arrFormApi);
- //return ($arrFormApi);
- }
- ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $print['language']; ?>" xml:lang="<?php print $print['language']; ?>">
- <head>
- <?php print $print['head']; ?>
- <?php print $print['base_href']; ?>
- <title><?php //print $print['title']; ?></title>
- <?php print $print['scripts']; ?>
- <?php print $print['sendtoprinter']; ?>
- <?php print $print['robots_meta']; ?>
- <?php print $print['favicon']; ?>
- <?php print $print['css']; ?>
- </head>
- <body>
- <div><table border="1">
- <tr height="30%">
- <td width="30%" align="center"><?php print $print['logo']; ?> </td>
- <td width="70%" align="center" valign="middle">
- <tr>
- <td></td>
- </tr>
- <tr>
- <td></td>
- </tr>
- <tr>
- <td></td>
- </tr>
- <tr>
- <td><h3>Informe de Comisión</h3></td>
- </tr>
- <tr>
- <td></td>
- </tr>
- <tr>
- <td><h3></h3></td>
- </tr>
- <tr>
- <td></td>
- </tr>
- </td>
- </tr>
- <tr><td width="50%"> Código: MM-FO-4-FOR-25</td><td width="50%" align="center">Versión: 1</td></tr>
- </table>
- </div>
-
- <?php
- $informe = variables('field_informe',$node);
- echo "<pre>";
-
- //print $informe;
- //var_dump($informe );
- echo "</pre>";
- ?>
-
- <table><tr><td width="100 %"><?php print $informe ?></td></tr>
- <tr><td></td></tr>
- <tr><td></td></tr>
- <tr><td width="100%">____________________________________________</td></tr>
- <tr><td width="100%">Firma del Comisionado</td></tr>
- </table>
- <br/>
- <br/>
-
- <div>
- <?php if (!empty($print['message'])) {
- print '<div class="print-message">'. $print['message'] .'</div><p />';
- } ?>
- <div class="print-logo"><?php //print $print['logo']; ?></div>
- <div class="print-site_name"><?php //print $print['site_name']; ?></div>
- <p />
- <div class="print-breadcrumb"><?php print $print['breadcrumb']; ?></div>
- <hr class="print-hr" />
- <div class="print-footer"><?php print $print['footer_message']; ?></div>
- <hr class="print-hr" />
- <div class="print-source_url"><?php //print $print['source_url']; ?></div>
- <div class="print-links"><?php //print $print['pfp_links']; ?></div>
- <?php print $print['footer_scripts']; ?>
- </body>
- </html>