Example #1
0
 echo "<tr class=\"{$myclass}\">";
 echo '<td>';
 if ($active) {
     echo "<b>{$wikilang_active}</b>";
 } else {
     echo "{$wikilang_closed}";
 }
 echo '</td>';
 echo '<td>';
 $title = bd_getTitle($subID);
 $url = bd_getUrl($subID);
 echo '<a href="' . $url . '">' . $title . '</a>';
 echo '</td>';
 echo '<td>';
 $langname = bd_getLangName($lang);
 $versionDESC = bd_getFVersion($subID, $fversion);
 $versionSize = bd_getFVersionSize($subID, $fversion);
 echo "{$wikilang_version} {$fversion} ({$versionDESC}, {$versionSize} Mbs), {$wikilang_language} {$langname}";
 echo '</td>';
 echo '<td>' . $counter . '</td>';
 echo '<td>';
 if (!$active) {
     echo bd_getUsername($moderator);
 } else {
     echo '&nbsp';
 }
 echo '</td>';
 echo '<td>';
 if (!$active) {
     echo $comment;
 } else {
Example #2
0
<?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 "{$wikilang_pages} ";
for ($c = 1; $c <= $numpaginas; $c++) {
    $mystart = ($c - 1) * $max;
    $newpage = floor($mystart / $max);
    $plus = $newpage + 1;
    $myfunc = "/mydownloads.php?page={$plus}";
Example #3
0
 } elseif ($mode == "movies") {
     $title = stripslashes($row['title']);
     $date = $row['end_date'];
     $info = bd_getLangName(bd_getOriginalLang($subID, 0));
 } elseif ($mode == "downloaded") {
     $title = stripslashes($row['title']);
     $date = $row['end_date'];
     $info = $row['downloads'] . ' ' . $wikilang_downloads;
 } elseif ($mode == "translated") {
     $title = bd_getTitle($row['subID']);
     $date = $row['date'];
     $info = bd_getLangName($row['lang_id']);
 } elseif ($mode == "versions") {
     $title = bd_getTitle($row['subID']);
     $date = $row['indate'];
     $info = bd_getFVersion($subID, $row['fversion']) . ', ' . bd_getFVersionSize($subID, $row['fversion']);
 } elseif ($mode == "news") {
     $title = stripslashes($row['text']);
     $date = $row['date'];
     $info = '';
 }
 echo '<tr>';
 echo '<td>';
 if ($mode != "news") {
     echo bd_getIcon($subID);
 }
 echo '</td>';
 echo "<td>";
 if ($mode != "news") {
     echo "<big><a href=\"" . bd_getUrl($subID) . "\">";
 }