-
Notifications
You must be signed in to change notification settings - Fork 1
/
blog18.html
571 lines (527 loc) · 26.6 KB
/
blog18.html
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
<!DOCTYPE html>
<html lang="pt-br" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml" >
<head>
<title>eXcript</title>
<!-- Using the latest rendering mode for IE -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="google-site-verification" content="Vi7WdSsBR9oK2RjK_6E8OrtAfzA_mVlNrhlDjt7LXZ0" />
<!--<link href="https://plus.google.com/" rel="publisher"> -->
<link rel="canonical" href="http://excript.com">
<meta name="author" content="Claudio Rogerio Carvalho Filho" />
<!-- Open Graph tags -->
<meta property="og:site_name" content="eXcript" />
<meta property="og:type" content="website"/>
<meta property="og:title" content="eXcript"/>
<meta property="og:url" content="http://excript.com"/>
<meta name="og:description" content="" />
<meta property="og:image"
content="http://excript.com/images/logo-excript.png"/>
<link rel="stylesheet" href="http://excript.com/theme/css/asciidoctor-default.css" type="text/css"/>
<!-- Bootstrap -->
<link rel="stylesheet" href="http://excript.com/theme/css/bootstrap.min.css" type="text/css"/>
<link href="http://excript.com/theme/css/font-awesome.min.css" rel="stylesheet">
<link href="http://excript.com/theme/css/pygments/monokai.css" rel="stylesheet">
<link rel="stylesheet" href="http://excript.com/theme/css/style.css" type="text/css"/>
<link href="http://excript.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate"
title="eXcript ATOM Feed"/>
<link href="http://excript.com/feeds/all.rss.xml" type="application/rss+xml" rel="alternate"
title="eXcript RSS Feed"/>
</head>
<body>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="http://excript.com/" class="navbar-brand">
eXcript </a>
</div>
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav">
<li><a href="http://excript.com/tag/blog.html">blog</a></li>
<li><a href="http://excript.com/cursos.html">cursos</a></li>
<li><a href="http://excript.com/pages/about.html">quem somos</a></li>
<li><a href="http://doe.excript.com/">DOE</a></li>
<li><a href="http://excript.com/pages/contato.html">contato</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="http://excript.com/archives.html"><i class="fa fa-th-list"></i><span class="icon-label">Archives</span></a></li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
</div> <!-- /.navbar -->
<!-- Banner -->
<!-- End Banner -->
<div class="container container-content">
<div class="row">
<div class="col-sm-9">
<article>
<h2><a href="http://excript.com/php/lista-parametro-php-ii.html">Lista de Parâmetros em PHP II</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta aula daremos continuidade ao estudo de funções que são capazes de receber lista de parâmetros.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="lista-de-parametros-ii">
<h2>LISTA DE PARÂMETROS II</h2>
<p>Essa aula é a continuação da aula anterior, logo, <a class="reference external" href="http://excript.com/php/lista-parametro-php.html">o texto de apoio da aula anterior serve a esta também</a> .</p>
</div>
<div class="section" id="exemplo-feito-em-aula">
<h2>EXEMPLO FEITO EM AULA</h2>
<div class="highlight"><pre><span></span><span class="x">function somaTudo(){</span>
<span class="x"> $lista = func_get_args();</span>
<span class="x"> $qntd = func_num_args …</span></pre></div></div>
<a class="btn btn-default btn-xs" href="http://excript.com/php/lista-parametro-php-ii.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/php/parametros-default-php.html">Parâmetros default com PHP</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta aula estudaremos o conceito de parâmetros default, bem como seus beneficios e situações em que devemos utiliza-los.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="parametros-default">
<h2>PARÂMETROS DEFAULT</h2>
<p>Um recurso bastante importante é a definição de valores <tt class="docutils literal">default</tt> para os parâmetros. Assim, caso o usuário não defina um valor de um parâmetro, este já terá um valor por …</p></div>
<a class="btn btn-default btn-xs" href="http://excript.com/php/parametros-default-php.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/php/definindo-parametro-php.html">Definindo parâmetros em PHP</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta aula aprenderemos a definir parâmetro que devem ser passados pelas funções quando estas forem invocadas. Estudaremos as vantagens da passagens de valores por parâmetro ao invés da utilização de variáveis globais.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="definindo-parametros">
<h2>DEFININDO PARÂMETROS</h2>
<p>Podemos definir parâmetros numa função, para isso, basta adicionarmos o nome de cada parâmetro no cabeçalho …</p></div>
<a class="btn btn-default btn-xs" href="http://excript.com/php/definindo-parametro-php.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/php/introducao-as-funcoes-php.html">Introdução às Funções em PHP</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta aula iniciaremos o estudo das funções e métodos com a linguagem PHP. Estudaremos qual o conceito e definição de função, método e procedimento.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="definicao">
<h2>DEFINIÇÃO</h2>
<p>Para declararmos uma função utilizamos a palavra reservada <tt class="docutils literal">function</tt>.</p>
<p>A nomenclatura das funções segue as mesmas regras de nomenclatura das variáveis.</p>
<p>É uma boa prática …</p></div>
<a class="btn btn-default btn-xs" href="http://excript.com/php/introducao-as-funcoes-php.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/php/manipulação-arrays-php.html">Manipulação de Arrays em PHP</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta aula estudaremos as várias formas para a manipulação de Arrays bem comos as características e vantagens das diversas abordagens existentes.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="exemplo-feito-em-aula">
<h2>EXEMPLO FEITO EM AULA</h2>
<div class="highlight"><pre><span></span><span class="x">#VERIFICA SE A ESTRUTURA É UMA ARRAY</span>
<span class="x">echo "FUNÇÃO: is_array() - " . "\n";</span>
<span class="x">echo "Valor = [] - " . is_array( [] ) . "\n";</span>
<span class="x">echo "Valor = array() - " . is_array( array() ) . "\n";</span>
<span class="x">echo "Valor = [1,2 …</span></pre></div></div>
<a class="btn btn-default btn-xs" href="http://excript.com/php/manipulação-arrays-php.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/php/array-multidimensional-php.html">Arrays Multidimensionais em PHP</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta aula estudaremos as estruturas Arrays que possuem mais de uma dimensão.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="arrays-multidimensionais">
<h2>ARRAYS MULTIDIMENSIONAIS</h2>
<p>Array Multidimensional é uma estrutura que tem vinculado um outro Array. Podemos construir estruturas com quantas dimensões forem necessárias, porém, na maior parte das vezes trabalharemos com estruturas que tenham 2 dimensões, ou seja, estruturas que …</p></div>
<a class="btn btn-default btn-xs" href="http://excript.com/php/array-multidimensional-php.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/php/array-associativo-php.html">Arrays Associativos em PHP</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta aula estudaremos os Arrays Associativos, aprenderemos suas características e beneficios, bem como a ampla adoção desta estrutura pelas bibliotecas nativas do PHP.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="arrays-associativos">
<h2>ARRAYS ASSOCIATIVOS</h2>
<p>Arrays associativos são estruturas onde cada elemento é identificado por uma chave única, entao, é indiferente se estamos trabalhando com Arrays Indexados ou Arrays Multidimensionais …</p></div>
<a class="btn btn-default btn-xs" href="http://excript.com/php/array-associativo-php.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/php/foreach-alterando-valores.html">Estrutura <tt class="docutils literal">foreach</tt> - alterando valores internos</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta aula estudaremos como a instrução foreach funciona internamente e como podemos alterar os valores de uma estrutura utilizando essa instrução.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="alteracao-de-valores-e-a-estrutura-foreach">
<h2>ALTERAÇÃO DE VALORES E A ESTRUTURA FOREACH</h2>
<p>É recorrente a dúvida do porque não é possível alterar o valor dos elementos quando utilizamos o laço de repetição <tt class="docutils literal">foreach</tt>. Para …</p></div>
<a class="btn btn-default btn-xs" href="http://excript.com/php/foreach-alterando-valores.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/php/foreach-como-usar.html">O foreach em PHP - Como usar?</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta segunda aula sobre a estrutura de repetição foreach faremos um exemplo para aprofundar nosso estudo sobre a instrução foreach.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="estrutura-foreach-ii">
<h2>ESTRUTURA FOREACH II</h2>
<p>Estudamos como implementar a estrutura <tt class="docutils literal">foreach</tt> e aprendemos que para cada item contido no Array o bloco de código definido na estrutura <tt class="docutils literal">foreach</tt> será executado. Então, esse …</p></div>
<a class="btn btn-default btn-xs" href="http://excript.com/php/foreach-como-usar.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/php/foreach-php.html">Estrutura <tt class="docutils literal">foreach</tt> em PHP</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta aula estudaremos a estrutura de repetição foreach, ou seja, uma definição evoluida da instrução for. Aprenderemos quando e onde devemos utilizar e implementaremos um código onde estudaremos o seu uso na prática.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="iterando-arrays-estrutura-foreach">
<h2>ITERANDO ARRAYS - ESTRUTURA <cite>foreach</cite></h2>
<p>A estrutura de iteração <cite>foreach</cite> é uma instrução especializada na iteração de <cite>Arrays …</cite></p></div>
<a class="btn btn-default btn-xs" href="http://excript.com/php/foreach-php.html">more ...</a>
</div>
</article>
<hr/>
<ul class="pagination">
<li class="prev"><a href="http://excript.com/blog17.html">«</a>
</li>
<li class=""><a
href="http://excript.com/blog.html">1</a></li>
<li class=""><a
href="http://excript.com/blog2.html">2</a></li>
<li class=""><a
href="http://excript.com/blog3.html">3</a></li>
<li class=""><a
href="http://excript.com/blog4.html">4</a></li>
<li class=""><a
href="http://excript.com/blog5.html">5</a></li>
<li class=""><a
href="http://excript.com/blog6.html">6</a></li>
<li class=""><a
href="http://excript.com/blog7.html">7</a></li>
<li class=""><a
href="http://excript.com/blog8.html">8</a></li>
<li class=""><a
href="http://excript.com/blog9.html">9</a></li>
<li class=""><a
href="http://excript.com/blog10.html">10</a></li>
<li class=""><a
href="http://excript.com/blog11.html">11</a></li>
<li class=""><a
href="http://excript.com/blog12.html">12</a></li>
<li class=""><a
href="http://excript.com/blog13.html">13</a></li>
<li class=""><a
href="http://excript.com/blog14.html">14</a></li>
<li class=""><a
href="http://excript.com/blog15.html">15</a></li>
<li class=""><a
href="http://excript.com/blog16.html">16</a></li>
<li class=""><a
href="http://excript.com/blog17.html">17</a></li>
<li class="active"><a
href="http://excript.com/blog18.html">18</a></li>
<li class=""><a
href="http://excript.com/blog19.html">19</a></li>
<li class=""><a
href="http://excript.com/blog20.html">20</a></li>
<li class=""><a
href="http://excript.com/blog21.html">21</a></li>
<li class=""><a
href="http://excript.com/blog22.html">22</a></li>
<li class=""><a
href="http://excript.com/blog23.html">23</a></li>
<li class=""><a
href="http://excript.com/blog24.html">24</a></li>
<li class=""><a
href="http://excript.com/blog25.html">25</a></li>
<li class=""><a
href="http://excript.com/blog26.html">26</a></li>
<li class=""><a
href="http://excript.com/blog27.html">27</a></li>
<li class=""><a
href="http://excript.com/blog28.html">28</a></li>
<li class=""><a
href="http://excript.com/blog29.html">29</a></li>
<li class=""><a
href="http://excript.com/blog30.html">30</a></li>
<li class=""><a
href="http://excript.com/blog31.html">31</a></li>
<li class=""><a
href="http://excript.com/blog32.html">32</a></li>
<li class=""><a
href="http://excript.com/blog33.html">33</a></li>
<li class=""><a
href="http://excript.com/blog34.html">34</a></li>
<li class=""><a
href="http://excript.com/blog35.html">35</a></li>
<li class=""><a
href="http://excript.com/blog36.html">36</a></li>
<li class=""><a
href="http://excript.com/blog37.html">37</a></li>
<li class=""><a
href="http://excript.com/blog38.html">38</a></li>
<li class=""><a
href="http://excript.com/blog39.html">39</a></li>
<li class=""><a
href="http://excript.com/blog40.html">40</a></li>
<li class=""><a
href="http://excript.com/blog41.html">41</a></li>
<li class=""><a
href="http://excript.com/blog42.html">42</a></li>
<li class=""><a
href="http://excript.com/blog43.html">43</a></li>
<li class=""><a
href="http://excript.com/blog44.html">44</a></li>
<li class=""><a
href="http://excript.com/blog45.html">45</a></li>
<li class=""><a
href="http://excript.com/blog46.html">46</a></li>
<li class=""><a
href="http://excript.com/blog47.html">47</a></li>
<li class=""><a
href="http://excript.com/blog48.html">48</a></li>
<li class="next"><a
href="http://excript.com/blog19.html">»</a></li>
</ul>
</div>
<div class="col-sm-3" id="sidebar">
<aside>
<section class="well well-sm">
<ul class="list-group list-group-flush">
<li class="li-sidebar">
<div class="fb-page" data-href="https://www.facebook.com/excript/" data-width="200" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/excript/"><a href="https://www.facebook.com/excript/">eXcript</a></blockquote></div></div>
</li>
<li class="li-sidebar">
<script src="https://apis.google.com/js/platform.js"></script>
<script>
function onYtEvent(payload) {
if (payload.eventType == 'subscribe') {
// Add code to handle subscribe event.
} else if (payload.eventType == 'unsubscribe') {
// Add code to handle unsubscribe event.
}
if (window.console) { // for debugging only
window.console.log('YT event: ', payload);
}
}
</script>
<div class="g-ytsubscribe" data-channel="excriptvideo" data-layout="full" data-count="default" data-onytevent="onYtEvent"></div>
</li>
<li class="li-sidebar">
<!-- Posicione esta tag no cabeçalho ou imediatamente antes da tag de fechamento do corpo. -->
<script src="https://apis.google.com/js/platform.js" async defer>{lang: 'pt-BR'}
</script>
<!-- Posicione esta tag onde você deseja que o widget apareça. -->
<div class="g-page" data-width="200" data-href="//plus.google.com/u/0/102371115481264098253" data-rel="publisher"></div>
</li>
</ul>
</section>
</aside>
</div>
</div>
</div>
<footer>
<div class="container">
<div class="row">
<p class="site-info text-center">
</p><div class="container">
<div class="row">
<div class="col-md-6">
<h5>eXcript</h5>
<p>
A eXcript é um projeto de produção audiovisual de conteúdo técnico com foco no autodidatismo.
</p>
</div>
<div class="col-md-3">
<h5>CURSOS</h5>
<ul>
<li><a href="http://excript.com/curso-de-python.html">PYTHON</a></li>
<li><a href="http://excript.com/curso-de-java.html">JAVA</a></li>
<li><a href="http://excript.com/curso-php.html">PHP</a></li>
<li><a href="http://excript.com/curso-cpp.html">C++</a></li>
<li><a href="http://excript.com/curso-c.html">C</a></li>
<li><a href="http://excript.com/curso-de-android.html">ANDROID</a></li>
</ul>
</div>
<div class="col-md-3">
<h5>SOCIAL</h5>
<ul>
<li><a href="http://plus.google.com/+excriptvideo">GOOGLE+</a></li>
<li><a href="http://www.facebook.com/excript">FACEBOOK</a></li>
<li><a href="http://twitter.com/eXcriptBrasil">TWITTER</a></li>
</ul>
</div>
</div>
</div>
<p></p>
</div>
</div>
</footer>
<script src="http://excript.com/theme/js/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="http://excript.com/theme/js/bootstrap.min.js"></script>
<!-- Enable responsive features in IE8 with Respond.js (https://github.com/scottjehl/Respond) -->
<script src="http://excript.com/theme/js/respond.min.js"></script>
<!-- Disqus -->
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'excript'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var s = document.createElement('script');
s.async = true;
s.type = 'text/javascript';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
<!-- End Disqus Code -->
<!-- Google Analytics -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-72583776-1']);
_gaq.push(['_trackPageview']);
(function () {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
</script>
<!-- End Google Analytics Code -->
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.6&appId=1684671528414521";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
</body>
</html>