Changeset 15495 for trunk/www/ru


Ignore:
Timestamp:
Dec 14, 2005, 12:45:22 AM (15 years ago)
Author:
yeled
Message:

really - this works. Too many cooks problem here. I was fixing it on sancho,
but jmpp and matt were backing things out and the cron job was just doing
what it was told.

Russian and Italian don't even use this function but I'm placing it there
anyway.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/ru/index.php

    r15479 r15495  
    33    include_once("$DOCUMENT_ROOT/ru/includes/common.inc");
    44    include_once("$DOCUMENT_ROOT/ru/includes/functions.inc");
     5    include_once("$DOCUMENT_ROOT/includes/db_portslisting.inc");
    56    print_header('DarwinPorts Home', 'utf-8');
    67  ?>
     
    89    <div id="content">
    910      <h2 class="hdr">Введение в проект DarwinPorts</h2>
     11<?
     12                $result = mysql_query("SELECT count(*) from darwinports.portfiles");
     13                if ($result) {
     14                        $row = mysql_fetch_array($result);
     15                        $count = $row[0];
     16                } else {
     17                        $count = 0;
     18                }
     19?>
    1020
    1121      <p>Главная задача проекта DarwinPorts - предоставить простой механизм
Note: See TracChangeset for help on using the changeset viewer.