-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocumentos.php
1437 lines (1090 loc) · 42.3 KB
/
documentos.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?php
//Carrega WP como FW
require_once("../wp-load.php");
$user = wp_get_current_user();
if(!is_user_logged_in()): // Impede acesso de pessoas não autorizadas
/*** REMEMBER THE PAGE TO RETURN TO ONCE LOGGED IN ***/
$_SESSION["return_to"] = $_SERVER['REQUEST_URI'];
/*** REDIRECT TO LOGIN PAGE ***/
header("location: /");
endif;
//Carrega os arquivos de funções
require "inc/function.php";
if(!isset($_GET['id']) OR !isset($_GET['modelo'])){
echo "<h1>Erro.</h1>";
}else{
$pedido = retornaPedido($_GET['id']);
//var_dump($pedido);
switch ($_GET['modelo']){
case 303: // Folha de Rosto Inexigibilidade
$file_name='folha_abertura_processo_inexigibilidade.doc';
header('Pragma: public');
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Content-Type: application/force-download');
header('Content-type: application/vnd.ms-word');
header('Content-Type: application/download');
header('Content-Disposition: attachment;filename='.$file_name);
header('Content-Transfer-Encoding: binary ');
?>
<html>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8">
<body>
<style type='text/css'>
.style_01 {
font-size: 16px;
}
.paragrafo{
text-indent:4em
}
p{
font-size: 18px;
}
.rodape{
text-align: center;
font-size: 12px;
padding: -10px;
}
</style>
<br /><br /><br />
<p class="style_01">À <br />
Encarregatura de Protocolo <br />
Sr. Encarregado(a)</p>
<br />
<br />
<br />
<p class="paragrafo">Solicitamos a abertura de processo administrativo com os seguintes dados:</p>
<br /><br />
<p>Interessado: <font color="#FF0000">(Nome do Setor Gerencia ou Encarregatura) - CR (do setor)</font></p>
<br />
<br />
<br />
<p>Assunto: Inexigibilidade - contratação da empresa <b><?php echo $pedido['nome_razaosocial'] ?> </b> para representar o(a) <font color="#FF0000">(artista/cia/banda/grupo/dupla)</font> <?php echo $pedido['titulo'] ?> para programação da Secretaria de Cultura.</p>
<br />
<br />
<br />
<p>Atenciosamente,</p>
<br />
<br />
<br />
<center>
<p>Santo André, <?php
setlocale(LC_TIME, 'pt_BR', 'pt_BR.utf-8', 'pt_BR.utf-8', 'portuguese');
date_default_timezone_set('America/Sao_Paulo');
echo strftime('%A, %d de %B de %Y', strtotime('today'));
?>. </center></p>
<br /><br />
<br /><br />
<p><center><?php echo $pedido['usuario']; ?><br />
<p>IF-______________</p>
</p></center>
<br /><br />
<br /><br />
<p class="rodape">Secretaria de Cultura<br />
Praça IV Centenário, 02 - Centro - Paço Municipal - Prédio da Biblioteca - Santo André - SP, CEP:09015-080 <br />
Telefone (11) 4433-0421</p>
<?php
break;
case 310: // Folha de Rosto Dispensa de Licitação
$file_name='folha_abertura_processo_dispensa.doc';
header('Pragma: public');
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Content-Type: application/force-download');
header('Content-type: application/vnd.ms-word');
header('Content-Type: application/download');
header('Content-Disposition: attachment;filename='.$file_name);
header('Content-Transfer-Encoding: binary ');
?>
<html>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8">
<body>
<style type='text/css'>
.style_01 {
font-size: 16px;
}
.paragrafo{
text-indent:4em
}
p{
font-size: 18px;
}
.rodape{
text-align: center;
font-size: 12px;
padding: -10px;
}
</style>
<br /><br /><br />
<p class="style_01">À <br />
Encarregatura de Protocolo <br />
Sr. Encarregado(a)</p>
<br />
<br />
<br />
<p class="paragrafo">Solicitamos a abertura de processo administrativo com os seguintes dados:</p>
<br /><br />
<p>Interessado: <font color="#FF0000">(Nome do Setor Gerencia ou Encarregatura) - CR (do setor)</font></p>
<br />
<br />
<br />
<br />
<p>Atenciosamente,</p>
<br />
<br />
<br />
<center>
<p>Santo André, <?php
setlocale(LC_TIME, 'pt_BR', 'pt_BR.utf-8', 'pt_BR.utf-8', 'portuguese');
date_default_timezone_set('America/Sao_Paulo');
echo strftime('%A, %d de %B de %Y', strtotime('today'));
?>. </center></p>
<br /><br />
<br /><br />
<p><center><?php echo $pedido['usuario']; ?><br />
<p>IF-______________</p>
</p></center>
<br /><br />
<br /><br />
<p class="rodape">Secretaria de Cultura<br />
Praça IV Centenário, 02 - Centro - Paço Municipal - Prédio da Biblioteca - Santo André - SP, CEP:09015-080 <br />
Telefone (11) 4433-0421</p>
<?php
break;
case 101: //Justificativa FIP
$file_name='justificativa_aniver_20.doc';
header('Pragma: public');
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Content-Type: application/force-download');
header('Content-type: application/vnd.ms-word');
header('Content-Type: application/download');
header('Content-Disposition: attachment;filename='.$file_name);
header('Content-Transfer-Encoding: binary ');
?>
<html>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8">
<body>
<style type='text/css'>
.style_01 {
font-size: 12px;
}
.style_02 {
font-size: 18px;
text-align: center;
}
.paragrafo{
text-indent:4em
}
p{
font-size: 18px;
}
.rodape{
text-align: center;
font-size: 12px;
padding: -10px;
}
</style>
<br />
<p class="style_02"><br />
Secretaria de Cultura <br />
Departamento de Planejamento e Projetos Especiais</p>
<br />
<br />
<p><center><strong>JUSTIFICATIVA</strong></center></p>
<br />
<p>Santo André, <?php echo exibeHoje(); ?>.
<p>Senhora Secretária:</p>
<br />
<p><justify>Trata-se de contratação da empresa <?php echo $pedido['nome'] ?>, representando o(a) <font color="#FF0000">(artista/cia/banda/grupo/dupla)</font> <?php echo $pedido['titulo'] ?>, em artes <font color="#FF0000">(inserir o nome artístico)</font>, para apresentação artística no(s) dia(s) 31/07/2021 e 01/08/2021 inserida na programação do 20° Festival de Inverno de Paranapiacaba – Edição Digital. Para isso o(a) <font color="#FF0000">(artista/cia/banda/grupo/dupla)</font> <?php echo $pedido['titulo'] ?> produzirá vídeo autoral inédito de <font color="#FF0000">(minutos)</font> no formato FULL HD, com medidas 1902x1080 PIXELS, de sua atividade artística.</p>
<p>O Festival de Inverno de Paranapiacaba se consagrou ao longo dos últimos anos com uma data extremamente importante no município mobilizando todo o governo municipal e contemplando um conjunto de programações diferenciadas. Em virtude da pandemia – Covid-19, a Secretaria de Cultura, especialmente, dedica grande parte de seus esforços à construção de uma grade de programação digital atendendo diversos gostos artísticos e que contemple este público com um momento de entretenimento e aprimoramento cultural.</p>
<p>Tal contratação justifica-se por tratar-se de um(a) <font color="#FF0000">(artista/cia/banda/grupo/dupla)</font> que desenvolve um trabalho de qualidade, e se enquadra na proposta da Secretaria, que visa realizar ações, proporcionando ao público o contato com diversos estilos culturais.</p>
<p>Ressaltamos que a referida contratação atende às necessidades públicas de acesso à cultura popular e à política governamental de difusão e fomento às diferentes manifestações culturais.</p>
<p>A Prefeitura pretende proporcionar à população o contato com os mais variados movimentos e correntes artísticas, não se limitando a determinada manifestação cultural ou artística.</p>
<p>Desta forma, pretende estimular a fruição e diversidade, a fim de que a população possa usufruir de estilos variados de cultura, lazer e entretenimento, o que proporciona o desenvolvimento humano pleno no que diz respeito à dignidade e à consciência humana e, ao mesmo tempo, aproxima o público das manifestações e linguagens.</p>
<p>Quando for Grupo/Banda/Cia:</p>
<p>Para essa apresentação o(a) <font color="#FF0000">(artista/cia/banda/grupo/dupla)</font> <?php echo $pedido['titulo'] ?> será formado por: <?php echo $pedido['ficha_tecnica'] ?>.</p>
<p>Breve release: <?php echo $pedido['release'] ?></p>
<p><font color="#FF0000">O(A) (artista/cia/banda/grupo/dupla)</font> <?php echo $pedido['titulo'] ?> atende às expectativas da Secretaria, neste momento.</p>
<p>Atesto que o(a) <font color="#FF0000">(artista/cia/banda/grupo/dupla)</font> <?php echo $pedido['titulo'] ?> é consagrado(a) pela crítica especializada e pela opinião pública. Não existem parâmetros nem tabelas que comprovem os valores solicitados pelos artistas, estando avaliado em consonância com a economicidade. Atesto ainda que é inviável a competição pela singularidade da atração. A futura contratação atingirá os fins e objetivos públicos.</justify></p>
<P></center></p>
<br /><br />
<br /><br />
<p><strong>Marco Moretto Neto</strong></p>
<p>Diretor do Departamento de Planejamento e Projetos Especiais</p>
<br /><br />
<br /><br />
<p>Ratifico:</p>
<br /><br />
<br /><br />
<p><strong>Simone Zárate</strong><br />
<p>Secretária de Cultura</p>
<?php
break;
case 563: // Folha de Rosto FIP
$file_name='folha_abertura_processo_aniver_20.doc';
header('Pragma: public');
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Content-Type: application/force-download');
header('Content-type: application/vnd.ms-word');
header('Content-Type: application/download');
header('Content-Disposition: attachment;filename='.$file_name);
header('Content-Transfer-Encoding: binary ');
?>
<html>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8">
<body>
<style type='text/css'>
.style_01 {
font-size: 16px;
}
.paragrafo{
text-indent:4em
}
p{
font-size: 18px;
}
.rodape{
text-align: center;
font-size: 12px;
padding: -10px;
}
</style>
<br /><br /><br />
<p class="style_01">À <br />
Encarregatura de Protocolo <br />
Sr. Encarregado(a)</p>
<br />
<br />
<br />
<p class="paragrafo">Solicitamos a abertura de processo administrativo com os seguintes dados:</p>
<br /><br />
<p>Interessado: (Nome do Setor Gerencia ou Encarregatura) - CR <?php echo $pedido['cr']; ?></p>
<br />
<br />
<br />
<p>Assunto: Inexigibilidade - contratação da empresa <b><?php echo $pedido['nome_razaosocial'] ?> </b> para
representar o(a) <?php echo $pedido['titulo'] ?> <!--<font color="#FF0000">(artista/cia/banda/grupo/dupla)</font>-->
para programação do Aniversário da Cidade 2020.
<br />
<br />
<br />
<p>Atenciosamente,</p>
<br />
<br />
<br />
<center>
<p>Santo André, <?php echo exibeHoje(); ?>.
</center></p>
<br /><br />
<br /><br />
<p><center>_______________________________________<br />
<p><center><?php echo $pedido['usuario']; ?><br />
IF-_______________________
</p></center>
<br /><br />
<br /><br />
<p class="rodape">Secretaria de Cultura<br />
Praça IV Centenário, S/N - Centro - Paço Municipal - Prédio da Biblioteca - Santo André - SP, CEP:09015-080<br />
Telefone 4433-0421</p>
<?php
break;
case 304: // OS
/*$file_name='folha_os.doc';
header('Pragma: public');
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Content-Type: application/force-download');
header('Content-type: application/vnd.ms-word');
header('Content-Type: application/download');
header('Content-Disposition: attachment;filename='.$file_name);
header('Content-Transfer-Encoding: binary ');*/
?>
<!-- CSS para impressão -->
<html>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8">
<body>
<style type='text/css'>
.style_01 {
font-size: 12px;
}
.paragrafo{
text-indent:4em
}
p{
font-size: 12px;
}
.rodape{
text-align: center;
font-size: 12px;
padding: -10px;
}
</style>
<table width="100%" border="1">
<tr>
<td rowspan="5" width="15%"><center><img src="images/logo.png" /></center></td>
</tr>
<tr>
<td colspan="3"><center><b>Prefeitura Municipal de Santo André</b></center></td>
</tr>
<tr>
<td colspan="3"><center><b>Solicitação de Serviços</b></center></td>
</tr>
<tr>
<td><center>Data da Emissão<br /><b><?php echo date("d/m/Y")?></b></center></td>
<td><center>CR Requisitante<br /><b><font color="#FF0000">INSIRA SEU CR AQUI</font></b></center></td>
</tr>
<tr>
<td colspan="3"><center><b>Nome da área requisitante: <font color="#FF0000">INSIRA O NOME DO SEU DEPARTAMENTO</font></b></center></td>
<tr/>
</table>
<table width="100%" border="1">
<tr>
<td colspan="4"><center><b>Dotação orçamentária</b></center></td>
</tr>
<tr>
<td>Cód. Dotação:<br /><b><?php echo resumoDotacao($pedido['cod_dotacao']); ?></b></td>
<td>Projeto:<br /><b><?php echo $pedido['projeto']; ?><b/></td>
<td>Ficha: <br /> <b><?php echo $pedido['ficha']; ?></b></td>
<td>Sub-elemento despesa: <br /><center>22</center></td>
</tr>
</tr>
<tr>
<td colspan="3">Cód. Vinculação de Despesa<br /><center>110.000</center></td>
<td>Fonte de Recursos: <br /><center> <?php echo $pedido['fonte']; ?></center></td>
</tr>
<tr>
<td colspan="3">Nome do Contato <br /><?php echo $pedido['usuario']; ?></td>
<td>Telefone Contato<br /><font color="#FF0000">(Insira seu telefone aqui)</font></td>
</tr>
<tr><td colspan="4">Conta corrente (cód.Reduzido)/DB<br /><center>252</center></td></tr>
<tr>
<td colspan="4">Data Período do evento: <br /><?php echo $pedido['periodo']; ?></td>
</tr>
<tr>
<td colspan="4">Local de aplicação do serviço ou evento:<br /><?php echo $pedido['local']; ?></td>
</tr>
<tr>
<td colspan="4">Especificação:</td>
</tr>
<tr>
<td colspan="4"> <p>Contratação da empresa <b><?php echo $pedido['nome_razaosocial'] ?></b>, representando a(s) apresentação(ões) do(s) seguinte(s) artista(s) <b><?php echo $pedido['integrantes'] ?></b> para realização de <?php echo $pedido['objeto']; ?> em <?php echo $pedido['local']; ?> no(s) dia(s) <?php echo $pedido['periodo']; ?> </b></p>
<p>Empresa: <?php echo $pedido['nome_razaosocial'] ?><br />
CNPJ: <?php echo $pedido['cpf_cnpj'] ?><br />
Endereço: <?php echo $pedido['end'] ?><br />
Email: <?php echo $pedido['email'];?> - Telefone: <?php echo $pedido['telefone'];?> <br />
<p>Valor total: R$<?php echo $pedido['valor'];?> (<?php echo $pedido['valor_extenso']; ?>)</p>
<p><b>Forma de pagamento:</b> <?php echo $pedido['forma_pagamento'];?> </p>
<p><?php echo $pedido['banco'];?> </p>
</td>
</tr>
<tr>
<td colspan="4"><center><b>Aprovação (assinatura sobre carimbo e data)</b></center></td>
</tr>
<tr>
<td colspan="2" width='33%' height="100px" style="vertical-align:top; text-align: center;">Responsável pela Área<br />C.R. Requisitante<br /><br /><br /><br /><br /></td>
<td width='33%' height="100px" style="vertical-align:top; text-align: center;">Diretor(a) da Área <br />C.R. Requisitante</td>
<td height="100px" style="vertical-align:top; text-align: center;">Secretário(a) da Área <br />C.R. Requisitante</td>
<tr>
<td colspan="4"><center><b>A Cargo da Área de Materiais</b></center></td>
</tr>
<tr>
<td colspan="2" width='33%' height="35px" style="vertical-align:top; text-align: center;">Código Serviço/Material<br /><br /></td>
<td width='33%' height="35px" style="vertical-align:top; text-align: center;">Almoxarifado</td>
<td height="35px" style="vertical-align:top; text-align: center;">Nº SC/OS(SICOM)</td>
<tr>
<td colspan="4"><center><b>1ª via - Processo 2ª via - Requisitante</b></center></td>
</tr>
<?php
break;
case 001: // OS
$file_name='teste.doc';
header('Pragma: public');
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Content-Type: application/force-download');
header('Content-type: application/vnd.ms-word');
header('Content-Type: application/download');
header('Content-Disposition: attachment;filename='.$file_name);
header('Content-Transfer-Encoding: binary ');
?>
<!-- CSS para impressão -->
<link rel="stylesheet" type="text/css" href="print.css" media="print" />
<table width="100%" border="1">
<tr>
<td rowspan="5" width="15%"><center><img src="images/logo.png" /></center></td>
</tr>
<tr>
<td colspan="2"><center><b>Prefeitura Municipal de Santo André</b></center></td>
</tr>
<tr>
<td colspan="2"><center><b>Solicitação de Serviços</b></center></td>
</tr>
<tr>
<td><center>Data da Emissão<br /><b><?php echo date("d/m/Y")?></b></center></td>
<td><center>CR Requisitante<br /></center><b><?php echo $pedido['cr']; ?></b></td>
</tr>
<tr>
<td colspan="3"><center><b>Nome da área requisitante: Secretaria de Cultura - <?php echo $pedido['periodo'] ?></b></center></td>
<tr/>
</table>
<table border="1">
<tr>
<td colspan="4"><center><b>Dotação orçamentária</b></center></td>
</tr>
<tr>
<td>Cód. Dotação:<br /><b><?php echo resumoDotacao($pedido['cod_dotacao']); ?></b></td>
<td>Projeto:<br /><b><?php echo $pedido['projeto']; ?><b/></td>
<td>Ficha: <br /> <b><?php echo $pedido['ficha']; ?></b></td>
<td>Sub-elemente Despesa: <br /><center>22</center></td>
</tr>
</tr>
<tr>
<td colspan="3">Cód. Vinculação de Despesa<br /><center>110.000</center></td>
<td>Fonte de Recursos: <br /><center> <?php echo $pedido['fonte']; ?></center></td>
</tr>
<tr>
<td colspan="3">Nome do Contato <br /><?php echo $pedido['usuario']; ?></td>
<td>Telefone Contato<br /><?php echo $pedido['telefone']; ?></td>
</tr>
<tr><td colspan="4">Conta corrente codReduzido/DB<br /><center>252</center></td></tr>
<tr>
<td colspan="4">Data Período do evento: <br /><?php echo $pedido['periodo']; ?></td>
</tr>
<tr>
<td colspan="4">Local de aplicação do serviço ou evento:<br /><?php echo $pedido['local']; ?></td>
</tr>
<tr>
<td colspan="4">Especificação (a maior quantidade necessária de informações para a correta contratação)</td>
</tr>
<tr>
<td colspan="4"> <p>Contratação de <?php echo $pedido['tipoPessoa']; ?> <b><?php echo $pedido['nome_razaosocial'] ?></b>, representando a(s) apresentação(ões) do(s) seguinte(s) artista(s) <b><?php echo $pedido['integrantes'] ?></b> para realização de <?php echo $pedido['objeto']; ?> em <?php echo $pedido['local']; ?> no(s) dia(s) <?php echo $pedido['periodo']; ?> </b></p>
<p>Empresa: <?php echo $pedido['nome_razaosocial'] ?><br />
CNPJ: <?php echo $pedido['cpf_cnpj'] ?><br />
Endereço: <?php echo $pedido['end'] ?><br />
Email: <?php echo $pedido['email'];?> <br />
<p>Valor total: R$<?php echo $pedido['valor'];?> (<?php echo $pedido['valor_extenso']; ?>)</p>
<p><b>Forma de pagamento:</b> <?php echo $pedido['forma_pagamento'];?> </p>
<p><?php echo $pedido['banco'];?> </p>
</td>
</tr>
<tr>
<td colspan="4"><center><b>Aprovação (assinatura sobre carimbo e data)</b></center></td>
</tr>
<tr>
<td colspan="2" width='33%' height="100px" style="vertical-align:top; text-align: center;">Responsável pela Área<br />C.R. Requisitante</td>
<td width='33%' height="100px" style="vertical-align:top; text-align: center;">Diretor(a) da Área<br />C.R. Requisitante</td>
<td height="100px" style="vertical-align:top; text-align: center;">Secretário(a) da Área <br />C.R. Requisitante</td>
<tr>
<td colspan="4"><center><b>A Cargo da Área de Materiais</b></center></td>
</tr>
<tr>
<td colspan="2" width='33%' height="35px" style="vertical-align:top; text-align: center;">Código Serviço/Material</td>
<td width='33%' height="35px" style="vertical-align:top; text-align: center;">Almoxarifado</td>
<td height="35px" style="vertical-align:top; text-align: center;">Nº SC/OS(SICOM)</td>
<tr>
<td colspan="4"><center><b>1ª via - Processo 2ª via - Requisitante</b></center></td>
</tr>
<tr>
</table>
<?php
break;
case 549: // OS para FIP
/*$file_name='folha_os_fip.doc';
header('Pragma: public');
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Content-Type: application/force-download');
header('Content-type: application/vnd.ms-word');
header('Content-Type: application/download');
header('Content-Disposition: attachment;filename='.$file_name);
header('Content-Transfer-Encoding: binary ');*/
?>
<html>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8">
<body>
<style type='text/css'>
.style_01 {
font-size: 12px;
}
.paragrafo{
text-indent:4em
}
p{
font-size: 12px;
}
.rodape{
text-align: center;
font-size: 12px;
padding: -10px;
}
</style>
<table width="100%" border="1">
<tr>
<td rowspan="5" width="12%"><center><img src="images/logo.png" /></center></td>
</tr>
<tr>
<td colspan="3"><center><b>Prefeitura Municipal de Santo André</b></center></td>
</tr>
<tr>
<td colspan="3"><center><b>Solicitação de Serviços</b></center></td>
</tr>
<tr>
<td><center>Data da Emissão<br /><b><?php echo date("d/m/Y")?></b></center></td>
<td><center>CR Requisitante<br /><b><?php echo $pedido['cr']; ?></b></center></td>
</tr>
<tr>
<td colspan="3"><center><b>Nome da área requisitante: Departamento de Planejamento e Projetos Especiais</b></center></td>
</tr>
</table>
<table width="100%" border="1">
<tr>
<td colspan="4"><center><b>Dotação orçamentária</b></center></td>
</tr>
<tr>
<td>Cód. Dotação:<br /><b><?php echo resumoDotacao($pedido['cod_dotacao']); ?></b></td>
<td>Projeto:<br /><b><?php echo $pedido['projeto']; ?></b></td>
<td>Ficha: <br /> <b><?php echo $pedido['ficha']; ?></b></td>
<td>Sub-elemento despesa: <br /><center>22</center></td>
</tr>
</tr>
<tr>
<td colspan="3">Cód. Vinculação de Despesa<br /><center>110.000</center></td>
<td>Fonte de Recursos: <br /><center> <?php echo $pedido['fonte']; ?></center></td>
</tr>
<tr>
<td colspan="3">Nome do Contato <br /><b><?php echo $pedido['usuario']; ?></b></td>
<td>Telefone Contato<br />(11) 4433-0785</td>
</tr>
<tr><td colspan="4">Conta corrente (cód.Reduzido)/DB<br /><center>252</center></td></tr>
<tr>
<td colspan="4">Data Período do evento: <br /><?php echo $pedido['periodo']; ?></td>
</tr>
<tr>
<td colspan="4">Local de aplicação do serviço ou evento:<br /><b> Evento online </b>
</td>
</tr>
<tr>
<td colspan="4"> <p>Contratação da empresa <b><?php echo $pedido['nome_razaosocial'] ?></b>, representando
<!--<font color="#FF0000">(artista/cia/banda/grupo/dupla)</font> --><?php echo $pedido['titulo'] ?> para
realização de apresentação artística, inserida na programação do 20º Festival de Inverno de Paranapiacaba - Edição Digital Santo André 2021.</p>
<p>Empresa: <?php echo $pedido['nome_razaosocial'] ?><br />
CNPJ: <?php echo $pedido['cpf_cnpj'] ?><br />
Endereço: <?php echo $pedido['end'] ?>
Telefone: <?php echo $pedido['telefone']; ?>
Email: <?php echo $pedido['email'];?> <br />
<p><strong>Valor total:</strong> R$<?php echo $pedido['valor'];?> (<?php echo $pedido['valor_extenso']; ?>)</p>
<p>
<b>Forma de pagamento:</b>
Forma de Pagamento: O pagamento será feito pela Prefeitura Municipal de Santo André, em parcela única,
desembolsada 30 dias após a execução do serviço, obedecendo o cronograma de pagamentos da Secretaria de
Finanças.
</p>
<p><?php echo $pedido['banco'];?> </p>
</td>
</tr>
<tr>
<td colspan="4"><center><b>Aprovação (assinatura sobre carimbo e data)</b></center></td>
</tr>
<tr>
<td colspan="2" width='33%' height="100px" style="vertical-align:top; text-align: center;">Responsável pela Área<br />C.R. Requisitante<br /><br /><br /></td>
<td width='33%' height="100px" style="vertical-align:top; text-align: center;">Diretor(a) da Área <br />C.R. Requisitante</td>
<td height="100px" style="vertical-align:top; text-align: center;">Secretário(a) da Área <br />C.R. Requisitante</td>
<tr>
<td colspan="4"><center><b>A Cargo da Área de Materiais</b></center></td>
</tr>
<tr>
<td colspan="2" width='33%' height="35px" style="vertical-align:top; text-align: center;">Código Serviço/Material<br /><br /></td>
<td width='33%' height="35px" style="vertical-align:top; text-align: center;">Almoxarifado</td>
<td height="35px" style="vertical-align:top; text-align: center;">Nº SC/OS(SICOM)</td>
</tr>
<tr>
<td colspan="4"><center><b>1ª via - Processo 2ª via - Requisitante</b></center></td>
</tr>
<?php
/*
echo '<pre>';
var_dump($pedido);
echo '</pre>';
echo '<pre>';
$metausuario = opcaoDados("usuario",1);
var_dump($metausuario);
echo '</pre>';
*/
?>
<?php
break;
case 305: //Justificativa
?>
<?php
break;
case 306: //CAPUT
$file_name='caput.doc';
header('Pragma: public');
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Content-Type: application/force-download');
header('Content-type: application/vnd.ms-word');
header('Content-Type: application/download');
header('Content-Disposition: attachment;filename='.$file_name);
header('Content-Transfer-Encoding: binary ');
?>
<html>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8">
<body>
<style type='text/css'>
.style_01 {
font-size: 16px;
}
.paragrafo{
text-indent:4em
}
p{
font-size: 18px;
}
.rodape{
text-align: center;
font-size: 12px;
padding: -10px;
}
.direita{
text-align: right;
}
</style>
<br /><br /><br />
<p class="direita">Número do Processo:<?php echo $pedido['nProcesso'] ?></p>
<p class="paragrafo">À <br />
Gerência de Compras e Licitações I <br />
Senhor(a) Gerente</p>
<br />
<p class="paragrafo">Com base nas informações e justificativas, retro que adoto, peço a continuidade da contratação nas bases da O.S. que o presente processo trata, com fulcro na Lei Federal n°8.666/93.</p>
<br />
<br />
<p>Santo André, <?php echo exibeHoje(); ?>.</p>
<br /><br />
<br /><br />
<br /><br />
<p><left>Nome do Diretor da área correspondente<br />
Cargo do Diretor da área correspondente
</p></left>
<br /><br />
<br /><br />
<p>De acordo,</p>
<p>Santo André, <?php echo exibeHoje(); ?>. </p>
<br /><br />
<br /><br />
<p>Simone Zárate<br />
Secretária de Cultura</p>
<br /><br />
<br /><br />
<br /><br />
<p class="rodape">Secretaria de Cultura<br />
Praça IV Centenário, 02 - Centro - Paço Municipal - Prédio da Biblioteca - Santo André - SP, CEP:09015-080 <br />
Telefone (11) 4433-0730 / (11) 4433-0421</p>
<?php
break;
case 561: //CAPUT FIP
$file_name='caput_aniver_20.doc';
header('Pragma: public');
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Content-Type: application/force-download');
header('Content-type: application/vnd.ms-word');
header('Content-Type: application/download');
header('Content-Disposition: attachment;filename='.$file_name);
header('Content-Transfer-Encoding: binary ');
?>
<html>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8">
<body>
<style type='text/css'>
.style_01 {
font-size: 16px;
}
.paragrafo{
text-indent:4em
}
p{
font-size: 18px;
}
.rodape{
text-align: center;
font-size: 12px;
padding: -10px;
}
.direita{
text-align: right;
}
</style>
<br /><br /><br />
<!--<p class="direita">Número do Processo:<?php //echo $pedido['nProcesso'] ?></p>-->
<p class="paragrafo">À <br />
Gerência de Compras e Licitações I <br />
Senhor(a) Gerente</p>
<br />
<p class="paragrafo">Com base nas informações e justificativas, retro que adoto, peço a continuidade da contratação nas bases da O.S. que o presente processo trata, com fulcro na Lei Federal n°8.666/93.</p>
<br />
<br />
<p>Santo André, <?php echo exibeHoje(); ?>.</p>
<br /><br />
<br /><br />
<br /><br />
<p><b>Marco Moretto Neto</b><br />
Diretor do Departamento de Planejamento e Projetos Especiais
</p></center>
<br /><br />
<br /><br />
<p>De acordo,</p>
<p>Santo André, <?php echo exibeHoje(); ?>. </p>
<br /><br />
<br /><br />
<br /><br />
<p><b>Simone Zárate</b><br />
Secretaria de Cultura</p>
<br /><br />
<br /><br />
<p class="rodape">Secretaria de Cultura<br />
Praça IV Centenário, S/N - Centro - Paço Municipal - Prédio da Biblioteca - Santo André - SP, CEP: 09015-080 <br />
Telefone (11) 4433-0730/ (11) 4433-0421</p>
<?php
break;
case 562: //Declaração de Responsabilidade FIP
$file_name='declaracao_responsabilidade_fip.doc';
header('Pragma: public');
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Content-Type: application/force-download');
header('Content-type: application/vnd.ms-word');
header('Content-Type: application/download');
header('Content-Disposition: attachment;filename='.$file_name);
header('Content-Transfer-Encoding: binary ');
?>
<html>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8">
<body>
<style type='text/css'>
.style_01 {