Path: C:\
<!DOCTYPE html>
<html lang='pt-br'>
<head>
<meta charset='utf-8'/>
<meta http-equiv="pragma" content="no-cache">
<meta content='width=device-width, initial-scale=1, maximum-scale=1' name='viewport'>
<title>TransWar</title>
<link rel='icon' type='image/png' href='images/favicon.ico'>
<link href='css/bootstrap.min.css' rel='stylesheet'>
<link href='css/bootstrap-theme.min.css' rel='stylesheet'>
<link href='css/theme.css' rel='stylesheet'>
<link href='css/signin.css' rel='stylesheet'>
<script src='js/jquery.min.js'></script>
<script src='js/ie-emulation-modes-warning.js'></script>
</head>
<style >
table:nth-child(even) {
border: 1px solid #d4d4d4}
td:nth-child(even) {
border: 1px solid #d4d4d4}
tr:nth-child(even) {
border: 1px solid #d4d4d4}
td {
padding: 1px 30px;
}
</style>
<body>
<?php
session_start();
include_once("seguranca.php");
echo '<html><body>';
require_once __DIR__ . '/simplexlsx.class.php';
if ( $xlsx = SimpleXLSX::parse('Follow_Up.xlsx') ) {
echo '<table width="2000" cellpadding="3">';
echo '<tr>';
echo '<td align="left" width="40%"><img src="images/logoCosmed.png" /></td>';
echo '<td align="center" width="30%"><img src="images/logoHypera.png" /></td>';
echo '<td width="30%" align="right"><img src="images/logoBrainfarma.png" /></td>';
echo '</tr>';
echo '<tr>';
echo '<br>';
echo '</tr>';
echo '<tr>';
echo '<td colspan="3" align="center" ><h2>FOLLOW-UP:</h2></td>';
echo '</tr>';
echo '</table>';
echo '<table width="2600" border="1" cellpadding="3" style="border-collapse: collapse">';
list( $cols, ) = $xlsx->dimension();
foreach ( $xlsx->rows() as $k => $r ) {
if ($k < 7) continue; // pular as primeiras linhas
if ($k % 2 == 0) { $bg="#ffffff";} else {$bg="#d8d8d8";}
if ($k == 7) { $bg="#b3b3b3";}
echo '<tr bgcolor="'.$bg.'" >';
if ($k == 7) { for ( $i = 1; $i < $cols; $i ++ ) { echo '<td align="center"><font style="font-weight:bold";>' . ( ( isset( $r[ $i ] ) ) ? $r[ $i ] : ' ' ) . '</font></td>';}}
else {
for ( $i = 1; $i < $cols; $i ++ ) { echo '<td align="center">' . ( ( isset( $r[ $i ] ) ) ? $r[ $i ] : ' ' ) . '</td>';}
}
echo '</tr>';
}
echo '</table>';
} else {
echo SimpleXLSX::parse_error();
}
if (isset($_GET['link'])){
$link = $_GET['link'];
$pag[1] = "download.php";
if(file_exists($pag[$link])){
include $pag[$link];
}
}
echo '</body></html>';
?>
</body>
<script src='js/bootstrap.min.js'></script>
<script src='js/docs.min.js'></script>
</html>