<?php require_once dirname(__FILE__) . "/../../html/" . $lang . "/headerInstancesServices.html"; ?> <div class="middle"> <div id="collection"> <h3><span><?php echo ACCESS_STATS; ?> </span></h3> <div class="content"> <TABLE border="0" cellpadding="0" cellspacing="2" width="760" align="center"> <TR> <TD colspan="2"> <h3><span style="font-weight:100;font-size: 70%; background:none;"> <?php $author = getAutors($article->getAuthorXML()); $pos = strrpos($author, ";"); $author[$pos] = " "; echo $author; echo '<i><b>'; echo getTitle($article->getTitle(), $lang) . ". "; echo '</b></i>'; echo utf8_encode($article->getSerial() . ', ' . $article->getYear() . ', vol.' . $article->getVolume()); echo utf8_encode(', n. ' . $article->getNumber() . ', ISSN ' . substr($article->getPID(), 1, 9) . '.<br/><br/>' . "\n"); ?> </span></h3> </TD> </TR> </TABLE> <!-- Formulário de opção de estatísticas por data --> <form action="articleRequestGraphicPage.php" name="form1" method="get" onSubmit="return valida_form();">
{ $article = $shelfList[$i]->getArticle(); echo '<li><b><a target="_blank" href="'.$article->getURL().'">'; /* pegando o título do artigo no Lang corrente, se não pega o titulo q tiver hehehe do arquivo functions.php */ echo getTitle($article->getTitle()); echo '</a></b><br />'."\n"; echo '<i>'; /* criando a lista de Autores do artigo do arquivo functions.php */ echo getAutors($article->getAuthorXML()); echo '</i><br />'; echo '<i>'.$article->getSerial(). ', '.$article->getYear().', vol:'.$article->getVolume(); echo ', n. '.$article->getNumber().', ISSN '.substr($article->getPID(),1,9).'</i><br/>'."\n"; echo '<a href="/services/removeArticleFromShelf.php?PID='.$article->getPID().'">'.REMOVE_FROM_SHELF."</a>\n"; if($shelfList[$i]->getAccessStat() == 1) { echo " <br><b><i>Esse artigo esta com os acessos monitorados</i></b> \n"; } if($shelfList[$i]->getCitedStat() == 1) {
echo("<h5>".ACCESS_STATS."</h5>"); echo "<ul>"; } for($i = 0; $i < $accessed_count; $i++) { $shelfAccessed = $accessed[$i]; $article = $shelfAccessed->getArticle(); $article_accessed_list = $article->getAccessStatistics(); echo '<li>'; echo '<a target="_blank" href="'.$article->getUrl().'/scielo.php?script=sci_arttext&pid='.$article->getPID().'&lng='.$lang.'&nrm=iso&tlng='.$lang.'" >'.getTitle($article->getTitle())."</a><br>\n"; echo getAutors($article->getAuthorXML())."<br>"; $total = 0; for($c = 0; $c < count($article_accessed_list); $c++){ $obj = $article_accessed_list[$c]; $total = $total + intval($obj->getCount()); } // echo '<a class="remove" href="/services/removeAccessAlert.php?pid='.$article->getPID().'">'.REMOVE_ALERT.'</a> | '; echo '<a class="remove" href="#" onclick="removeAccessAlert(\'/applications/scielo-org/services/removeAccessAlert.php?pid='.$article->getPID().'\')">'.REMOVE_ALERT.'</a> | '; $urlAccess = (strstr($article->getURL(),"http://"))?($article->getURL()):("http://".$article->getURL()); echo '<a onclick="javasctipt:window.open(\'\',\'mensagem\',\'toolbar=0,location=0,directories=0,status=0,scrollbars=1,menubar=1,resizable=0,width=800,height=480\');" target="mensagem" href="'.$urlAccess.'/applications/scielo-org/pages/services/articleRequestGraphicPage.php?pid='.$article->getPID().'&caller='.$urlAccess.'&lang='.$lang.'" >'.SEE_HISTORY.'</a>'; /* Retirado em 14/jun/2006 - ira a cessar os servicos on-the-fly, como no artigo, ao invez de acessar os dados do MySQL