<td><?php if ($clangState == $wikilang_completed && $clangID != $voriginalLang) { $query = "select count(*) from lasttranslated where subID={$myID} and fversion={$v} and lang_id={$clangID}"; $result = mysql_query($query); if (mysql_result($result, 0) == 0) { tn_check($myID, $fversion, $voriginalLang, $clangID); $clangState = bd_getLangState($myID, $clangID, $version); } } echo $clangState; ?> </td> <td> <?php if ($clangEdited > 0) { echo "{$wikilang_edited} " . obtenerFecha(bd_getLastTimeEdited($myID, $v, $clangID)); } ?> </td> </tr> <?php $query = "select count(*) from lasttranslated where subID={$myID} and fversion={$v} and lang_id={$clangID}"; $cresult = mysql_query($query); if (mysql_result($cresult, 0) > 0 && !bd_isMerged($myID, $fversion, $clangID)) { ?> <tr> <td>lel </td> <td><span class="newsDate"> <?php echo $wikilang_translated_by; ?>
<Column ss:Index="8" ss:AutoFitWidth="0" ss:Width="150"/> <Row> <Cell ss:MergeAcross="5" ss:StyleID="s24"><Data ss:Type="String">PAQUETERIA Y MENSAJERIA EN MOVIMIENTO</Data></Cell> </Row> <Row ss:Index="3"> <Cell ss:MergeAcross="2" ss:StyleID="s27"><ss:Data ss:Type="String" xmlns="http://www.w3.org/TR/REC-html40"><B>TITULO: </B><Font>RELACION COBRANZA</Font></ss:Data></Cell> </Row> <Row> <Cell ss:MergeAcross="2" ss:StyleID="s27"><Data ss:Type="String"><B>FOLIO: </B><Font>'.$_GET[folio].'</Font></ss:Data></Cell> <Cell ss:StyleID="s26"><Data ss:Type="String">FECHA Y HR. IMP.: </Data></Cell> <Cell ss:MergeAcross="1" ss:StyleID="s29"><Data ss:Type="String">'.date('d/m/Y h:i a').'</Data></Cell> <Cell ss:StyleID="s31"/> </Row> <Row> <Cell ss:MergeAcross="2" ss:StyleID="s27"><Data ss:Type="String"><B>FECHA: </B><Font>'.obtenerFecha($_GET[fecha]).'</Font></ss:Data></Cell> </Row> <Row> <Cell ss:StyleID="s28"/> <Cell ss:StyleID="s28"/> <Cell ss:StyleID="s28"/> </Row>'; $s = "SELECT CONCAT_WS(' ',nombre,apellidopaterno,apellidomaterno) AS cobrador FROM catalogoempleado WHERE id=".$_GET[cobrador]; $c = mysql_query($s,$l) or die($s); $co= mysql_fetch_object($c); $xls .='<Row> <Cell ss:MergeAcross="2" ss:StyleID="s27"><Data ss:Type="String"><B>COBRADOR: </B><Font>'.cambio_texto($co->cobrador).'</Font></ss:Data></Cell> </Row>
<table width="70%" border="1" align="center"> <tr> <td colspan="2" class="NewsTitle"> <?php echo $wikilang_site_news; ?> </td> </tr> <?php $query = "select * from news order by id DESC limit 3"; $result = mysql_query($query); while ($row = mysql_fetch_assoc($result)) { $date = obtenerFecha($row['date']); $text = stripslashes($row['text']); echo '<tr><td class="newsDate" width="20%">' . $date . '</td>'; echo '<td><img src="images/newspaper.png" /> ' . $text . '</td></tr>'; } ?> </table> </div> <div class="clear"></div> </div> <?php
<div id="comments-list"> <ol> <?php while ($row = mysql_fetch_assoc($result)) { ?> <li> <ul> <?php if (bd_userIsModerador() || $row['userID'] == $_SESSION['userID']) { echo '<li><strong>Moderate:</strong> <a href="javascript:delComment(\'' . $row['commentid'] . '\');">'; echo 'Delete</a></li>'; } echo "<li><strong>Author:</strong> <a href='/user/" . $row['userID'] . "'>" . $row['username'] . '</a></li>'; ?> <li><strong>Date:</strong> <?php echo obtenerFecha($row['date']); ?> </li> </ul> <p><?php echo stripslashes($row['comment']); ?> </p><div class="clear"></div></li> <?php } ?> </ol> </div>
<td><?php echo $ip; ?> </td> </tr> <tr> <td class="SectionTitle">Last request</td> <td><?php echo $navegate; ?> </td> </tr> <tr> <td class="SectionTitle">Last access</td> <td><?php echo $last . " (" . obtenerFecha($last) . ")"; ?> </td> </tr> <tr> <td class="SectionTitle"><?php echo $wikilang_hide_status; ?> </td> <td><input type="checkbox" name="hide" value="true" <?php if ($hide) { echo "checked"; } ?> /></td> </tr>
?> <div align="center" class="titulo"> <?php echo $wikilang_downloads . ' - ' . $username; ?> </div><div class="newsDate" align="center"> <?php echo $total . " {$wikilang_downloads}"; ?> </div> <br /> <table align="center" width="70%" border="0"> <?php while ($row = mysql_fetch_assoc($dresult)) { echo '<tr>'; echo '<td class="newsDate">' . obtenerFecha($row['cuando']) . '</td>'; echo '<td><img src="images/download.png" border="0" width="16" height="16" />'; echo ' <a href="updated/' . $row['lang'] . '/' . $row['subID'] . '/' . $row['fversion'] . '">' . $wikilang_download . '</a>'; echo '</td>'; echo '<td>' . bd_getIcon($row['subID']); echo '<a href="' . bd_getUrl($row['subID']) . '">' . bd_getTitle($row['subID']) . '</a> '; echo ' ' . $wikilang_version . ' ' . bd_getFVersion($row['subID'], $row['fversion']) . ', ' . bd_getFVersionSize($row['subID'], $row['fversion']) . ' MBs '; echo ' ' . $wikilang_language . ' ' . bd_getLangName($row['lang']) . ''; echo '</td>'; echo '</tr>'; } ?> </table> <?php $numpaginas = ceil($total / $max); $pagactual = floor($offset / $max);
echo '<td>'; if ($mode != "news") { echo bd_getIcon($subID); } echo '</td>'; echo "<td>"; if ($mode != "news") { echo "<big><a href=\"" . bd_getUrl($subID) . "\">"; } echo $title; if ($mode != "news") { echo '</a></big>'; } echo "</td>"; echo "<td><big>{$info}</big></td>"; echo "<td><big>" . obtenerFecha($date) . "</big></td>"; echo '</tr>'; } echo '<tr><td colspan=4></td></tr>'; echo '<tr>'; echo '<td>'; if ($page != 1) { $ant = $page - 1; echo '<img src="images/arrow_left.png" border="0" with="16" heigth="16" /> <a href="/log.php?mode=' . $mode . '&page=' . $ant . '&max=' . $max . '">'; echo '<b>' . $wikilang_prev_page . '</b></a>'; } echo '</td>'; echo '<td colspan="2"></td>'; echo '<td>'; if ($numresults > 0) { $next = $page + 1;