Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Top naujenu dėjejai

Parašė tofy· 2008 Bir. 25 12:06:32
#1

taigi gal kas turi panele ar kanors kad kur nors rodytu kiek esi idejes naujienu ? ieškojau bet neradau...

Parašė Fanio· 2008 Bir. 25 12:06:26
#2

Vat tokios nėra, reikia pačiam bandyt daryt.

Parašė samsung123· 2008 Bir. 25 12:06:03
#3

Prašyk aš adminų :)

Redagavo samsung123· 2008 Bir. 25 12:06:03

Parašė Enzo· 2008 Bir. 25 12:06:05
#4

vo


openside('Top naujienų rašytojai');

   $result = dbquery("SELECT user_name, user_id, count(user_id) AS post_count
               FROM ".$db_prefix."news
               INNER JOIN ".$db_prefix."users
               ON news_name=user_id
               GROUP BY user_name
               ORDER BY post_count
               DESC LIMIT 0,5
            ");

   echo "<table width='100%' cellpadding='0' cellspacing='1' border='0'>";
      
   if (dbrows($result)!=0) {
      while ($data=dbarray($result)) {
         echo "<tr>
               <td class='small' align='left'><a href='".BASEDIR."profile.php?lookup=".$data['user_id']."'>
               ".$data['user_name']."</a></td>
               <td class='small2' align='right'>".$data['post_count']."</td>
            </tr>";
      }
   }
   echo "</table>";

closeside();




Redagavo Enzo· 2008 Bir. 25 12:06:28

Parašė tofy· 2008 Bir. 25 12:06:00
#5

ok ačiū