forked from hiltonbruce/Igreja
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3f8257e
commit e525a74
Showing
22 changed files
with
118 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file modified
0
.metadata/.plugins/com.dubture.indexing.core/resources/index/segments.gen
100644 → 100755
Empty file.
Empty file modified
0
.metadata/.plugins/com.dubture.indexing.core/resources/index/segments_1
100644 → 100755
Empty file.
Empty file modified
0
.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version
100644 → 100755
Empty file.
Empty file modified
0
.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version
100644 → 100755
Empty file.
Empty file.
Empty file modified
0
.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources
100644 → 100755
Empty file.
Empty file modified
0
.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs
100644 → 100755
Empty file.
Empty file modified
0
.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified
0
.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml
100644 → 100755
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<?php | ||
//Monta a tabela | ||
foreach ($tbodytab->tabelaLimp($congregcao->rol()) as $key => $valor){ | ||
$inclimp++; | ||
//Faz o trabalho de zebrar a tabela | ||
if ($inclimp%2=="0") { | ||
echo "<tr class='odd' >"; | ||
} else { | ||
echo '<tr>'; | ||
} | ||
list($colUnid,$colDescr,$colQuant1,$colQuant2,$colQuant3) = explode(",", $valor); | ||
|
||
/* | ||
* Extrai o 1º valor e atribui para a variável adequada a coluna | ||
*/ | ||
list($mesRef1,$valor1) = explode (' ',$colQuant1); | ||
if ($mesRef1==$mesref) { | ||
$valorAtual = $valor1; | ||
}elseif ($mesRef1==$periodo['1']) { | ||
$valorAnt1 = $valor1; | ||
}elseif ($mesRef1==$periodo['2']){ | ||
$valorAnt2 = $valor1; | ||
} | ||
|
||
/* | ||
* Extrai o 2º valor e atribui para a variável adequada a coluna | ||
*/ | ||
list($mesRef2,$valor2) = explode (' ',$colQuant2); | ||
if ($mesRef2==$periodo['1']) { | ||
$valorAnt1 = $valor2; | ||
}elseif ($mesRef2==$periodo['2']){ | ||
$valorAnt2 = $valor2; | ||
} | ||
|
||
/* | ||
* Extrai o 3º valor e atribui para a variável adequada a coluna | ||
*/ | ||
list($mesRef3,$valor3) = explode (' ',$colQuant3); | ||
if ($mesRef3==$periodo['2']){ | ||
$valorAnt2 = $valor3; | ||
} | ||
|
||
//echo $key.' - '.$valor;//Coluna Item | ||
printf("<td>%'03u</td>",$key); | ||
|
||
//Coluna Anterior1 | ||
printf("<td style='text-align: center;'>%s</td>",$valorAnt2); | ||
//Coluna Anterior2 | ||
printf("<td style='text-align: center;'>%s</td>",$valorAnt1); | ||
|
||
//Coluna Unidade | ||
printf("<td>%s</td>",$colUnid); | ||
|
||
//Coluna Discriminação | ||
echo '<td> '.$colDescr.' </td>';//Modificar qdo apliar para outros documentos | ||
|
||
//Coluna Atual | ||
printf("<td style='text-align: center;'>%s</td></tr>",$valorAtual); | ||
|
||
$valorAtual=''; $valorAnt1 =''; $valorAnt2 =''; | ||
|
||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.