Пример #1
0
                $flag = getProtocol() . '//' . Util::get_default_admin_ip() . '/ossim/pixmaps/flags/' . $cou[0] . '.png';
                $flag1 = '../pixmaps/flags/' . $cou[0] . '.png';
            }
        }
        $porcent = round($val * 100 / $totalValue, 1);
        $bc = $c++ % 2 != 0 ? "class='par'" : "";
        /**/
        $htmlPdfReport->set('
                  <tr ' . $bc . '>
                    <td style="width:50mm;font-size:11px">' . ($flag != '' ? "<img src='{$flag}' border='0' align='absmiddle' style='width:4mm'>" : "") . ' ' . $cou[1] . '</td>
                    <td style="width:18mm;text-align:center;font-size:11px">' . $val . '</td>
                    <td style="width:12mm;text-align:center;font-size:11px">' . $porcent . '%</td>
                  </tr>
                ');
    }
    $db->close();
    $htmlPdfReport->set('
                </table>
            </td>
            <td valign="top" style="padding-top:10px; width:93mm;">
                <img src="' . $htmlPdfReport->newImage('/report/graphs/geographic_graph.php?shared=' . urlencode($shared_file), 'png') . '" border="0">
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center"><br><img src="' . $htmlPdfReport->newImage('/report/graphs/graph_geoloc.php?shared=' . urlencode($shared_file), 'png') . '" style="width:100%" border="0"></td>
        </tr>
    </table>
    <br/><br/>');
}
$geoloc->close();
Пример #2
0
    			<iframe src="../../asset_details/ajax/view_notes.php?id=<?php 
    echo $h_id;
    ?>
&type=host" marginwidth='0' marginheight='0'></iframe>
    		</div>
		<?php 
} else {
    ?>
    
    		<ul>
    			<li><a href="#tabs-1"><?php 
    echo _('Location');
    ?>
</a></li>
    		</ul>
    		
    		<div id="tabs-1">
    			 <div id="c_map"></div>
    		</div>    				
    		<?php 
}
?>
		
	</div>

</body>

</html>
<?php 
$gloc->close();
$db->close();