"
}%<html xmlns="http://www.w3.org/1999/xhtml" lang="pt-br"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-15" /> <meta name="author" content="CETAD Observa / Template design: G. Wolfgang" /> <title>%FORMFIELD{Título}% CETAD </title> <style type="text/css"> %INCLUDE{WebCSS}% %CSS% </style> <link rel="shortcut icon" href="%PUBURL%/%WEB%/WebCSS/favicon.ico" /> <script type="text/javascript" src="%PUBURL%/%WEB%/LayoutTemplate/jquery.js"></script> <!--[if lt IE 8]> <script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js" type="text/javascript"></script> <![endif]--> </head> <body> <script type="text/javascript"> /* Adds a class to "msie" to the body element if a Microsoft browser is * detected. This is needed to workaround several of their limitations. */ if ( navigator.appVersion.indexOf("MSIE") > -1 ) { document.body.className += " msie msie" + navigator.appVersion.replace(/^.*MSIE\s+([0-9]+).*$/, "$1"); } </script> <div class="page-container-1"> <!-- HEADER --> <!-- Sitename --> <div class="site-name"> <!-- <p class="title"><a href="WebHome">CETAD</a></p> --> <p class="title"><a href="WebHome"></a></p> <!-- <p class="subtitle"><a href="WebHome">Centro de Estudos e Terapia do Abuso de Drogas</a></p> --> <p class="subtitle"><a href="WebHome"></a></p> <a id="cetad" href="http://www.cetad.ufba.br"><span>CETAD</span></a> <a id="famed" href="http://www.fameb.ufba.br/"><span>Faculdade de Medicina</span></a> <a id="ufba" href="http://www.ufba.br"><span>UFBA</span></a> </div> <!-- Site slogan --> <div class="site-slogan-container"> <div class="site-slogan"> <h2>%HEADER_TXT1%</h2> <p>%HEADER_TXT2%</p> </div> </div> <!-- Header banner --> <div class="img-header"></div> <!-- Navigation Level 2 --> <div class="nav2"> %INCLUDE{WebMenuTop}% <script> $(".nav2 li").each(function(num,el){ el.onmouseover = function(){ this.className = "hover" } el.onmouseout = function(){ this.className = "" } }) </script> </div> <!-- Buffer after header --> <div class="buffer"></div> <!-- NAVIGATION --> <!-- Navigation Level 3 --> <div class="nav3"> <p class="sidebar-maintitle menutitle"> Menu </p> %INCLUDE{WebMenu}% <script> $(".nav3 li").each(function(num,el){ el.onmouseover = function(){ this.className = "hover" } el.onmouseout = function(){ this.className = "" } }) </script> <!-- Main title --> <p class="sidebar-maintitle"> Apoio </p> <!-- Textbox --> <div class="sidebar-txtbox-noshade" align="center"> <a href="http://www.sesi.fieb.org.br" target="_blank"><img src="%PUBURL%/%WEB%/LayoutTemplate/SESI_logo.jpg" border="0"/></a> <br /> <br/> <a href="http://www.saude.salvador.ba.gov.br" target="_blank"><img src="%PUBURL%/%WEB%/LayoutTemplate/PREFsalvador_logo.jpg" border="0"/></a> <br /> <br/> <a href="http://www.ba.gov.br" target="_blank"><img src="%PUBURL%/%WEB%/LayoutTemplate/GOV_logo_BA_pagcetad.jpg" border="0"/></a> <a href="http://www.saude.ba.gov.br" target="_blank"><img src="%PUBURL%/%WEB%/LayoutTemplate/GOV_logo_SESAB_pagcetad.jpg" border="0"/></a> <a href="http://www.sjcdh.ba.gov.br" target="_blank"><img src="%PUBURL%/%WEB%/LayoutTemplate/GOV_logo_SJCDH_pagcetad.jpg" border="0"/></a> <br /> <br/> <a href="http://www.senad.gov.br" target="_blank"><img src="%PUBURL%/%WEB%/LayoutTemplate/logo-senad.gif" border="0"/></a> <br /> <br/> <a href="http://www.saude.gov.br" target="_blank"><img src="%PUBURL%/%WEB%/LayoutTemplate/MSbrasil_logo.jpg" border="0"/></a> </div> </div> <!-- CONTENT --> <div class="content1" id="conteudo"> <!-- Page title --> %IF{"$'TOPIC'!='WebHome'" then="<h1 class='content1-pagetitle'>%FORMFIELD{Título}%</h1>"}% %FORMFIELD{"Autor" format="<div class='noticia-autor' align='right'> por <b>$value</b> em <span class='name-to-date-big name-%TOPIC%'></span></div>"}% <p/> %INCLUDE{"WebPreContent%FORMFIELD{"Tipo" alttext="Default"}%" warn="off"}% %TEXT% <p/> %FORMFIELD{"Fonte" format="<div class='noticia-fonte' align='right'> fonte: $value </div>"}% <div id="tags"> %IF{"$'TOPIC'!='WebHome'" then="------"}% %TAGME{ %IF{"$'TOPIC'='WebHome' or $'TOPIC'='WebTagSearch'" then=" tpaction=\"showalltags\" header=\"<h2 class='content1-pagetitle'>Tags</h2>\" format=\"<a href='%SCRIPTURL{view}%/%WEB%/WebTagSearch?tag=$tag' style='font-size:$size%'>$tag</a>\" web=\"%WEB%\" separator=\" \" minsize=\"94\" maxsize=\"200\" " else=" tpaction=\"%URLPARAM{tpaction}%\" web=\"%WEB%\" tag=\"%URLPARAM{tag}%\" " }% }% </div> </div> <!-- SIDEBAR --> <div class="sidebar"> <h2 class="sidebar-maintitle"> Destaques </h2> <div class="sidebar-txtbox-noshade"><p/> %INCLUDE{WebDestaques}% </div> <h2 class="sidebar-maintitle"> CETAD Observa </h2> <div class='observatorio'><b>Observatório Baiano Sobre Substâncias Psicoativas</b> <a href="http://www.cetadobserva.ufba.br" target="_blank"><img src="%PUBURL%/%WEB%/LayoutTemplate/OlhoObserva_chapado.jpg" border="0" style='center'></a> <br /> <br/> <br/> [[CetadObserva.WebHome][Acesse]]</div> <h2 class="sidebar-maintitle destaque"> Canal CETAD Observa </h2> <div class="sidebar-txtbox-noshade video-destaque"> <object width="160" height="140"><param name="movie" value="http://www.youtube.com/v/%YOUTUBE_VIDEO_ID%&hl=pt-br&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/%YOUTUBE_VIDEO_ID%&hl=pt-br&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="160" height="140"></embed></object> <div align="right"><a href="http://youtube.com/cetadobserva" target="_blank">ver mais...</a></div> </div> </div> <!-- FOOTER --> <div class="footer"> <p><b>© 2010 CETAD - Av. Pedro Lessa, 123 - CEP 40110-050 - Canela - Salvador - Ba</b></p> <p>Contato: (71) 3336-3322 | <a href="mailto:cetad@ufba.br">cetad@ufba.br</a> | [[WebHome][Página Inicial]]</p> </div> <!-- Busca Foswiki --> <form action="%SCRIPTURL{view}%/%WEB%/WebSearch" method="get" id="busca" class="clean"> <input name="search" size="15" value="Busca..." onfocus="this.form.className='focused'; if(this.value=='Busca...'){this.value=''}" onblur="this.form.className=''; if(/^\s*$/.test(this.value)){this.value='Busca...'; this.form.className='clean'}" /> <div>Pressione <strong>Enter</strong> para enviar a busca.</div> </form> </div> <div id="wiki-bts"> %IF{"context authenticated and '%TOPIC%' allows 'CHANGE'" then=" <a href='%EDITLINK%&nowysiwyg=1' id='btEdit' title='Editar este Tópico' accesskey='E'><b>E</b><span>ditar</span></a> <a href='%ATTACHLINK%' id='btAnexar' title='Anexar a este Tópico' accesskey='A'><b>A</b><span>nexar</span></a> <a href='%RDIFFLINK%' id='btVersao' title='Versões deste Tópico' accesskey='D'><b>V</b><span>ersões</span></a> <a href='%MORELINK%' id='btMais' title='Mais opções...' accesskey='M'><b>M</b><span>ais...</span></a> <a href='%LOGOUTLINK%' id='btLogout' title='Sair do <nop>%WIKITOOLNAME%' accesskey='S'><b>S</b><span>air</span></a> <p/> [[WebDestaques][Destaques]] [[WebPreferences][Configurações]] " else=" <a href='%VIEWAUTHLINK%' id='btLogar' title='Logar no <nop>%WIKITOOLNAME%' accesskey='L'><b>L</b><span>ogar</span></a> "}% </div> <script type="text/javascript"> mesP = [ "jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez" ]; mesG = [ "janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro" ]; function getDateArrFormClass( el ) { return el.className.replace(/^(.* )?name-[^\s]*([0-9]{4})([0-9]{2})([0-9]{2}).*$/, "$2-$3-$4").replace(/-0/g, "-").split("-"); } $(".name-to-date-small").each(function( i, el ){ var date = getDateArrFormClass( el ); el.innerHTML = date[2] +"/"+ mesP[date[1]-1] +"/"+ date[0]; }); $(".name-to-date-big").each(function( i, el ){ var date = getDateArrFormClass( el ); el.innerHTML = date[2] +" de "+ mesG[date[1]-1] +" de "+ date[0]; }); </script> </body> </html>%{}%