Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: ERROR

Parašė Neriukas· 2008 Geg. 22 23:05:50
#1

openside('');

      echo "";

      $result = dbquery("SELECT * FROM ".DB_PREFIX."news WHERE ".groupaccess('news_visibility')." AND (news_start='0'||news_start<=".time().") AND (news_end='0'||news_end>=".time().") ORDER BY news_datestamp DESC LIMIT 0,10");

      while ($data = dbarray($result)) {

      $title = $data['news_subject'];

      $sh_title = $title;

      $n_id = $data['news_id'];

      $v_id = $data['news_reads'];

      $comments_n = dbcount("(comment_id)", "comments", "comment_type='N' AND comment_item_id=$n_id");

      $date = $data['news_datestamp'];

      $n_date = showdate("%d-%m-%Y", $date);

      echo " <img src='".THEME."images/bullet.gif'> $n_date | <a href='".THEME."news.php?readmore=$n_id'><b>$sh_title</b></a> [$v_id Peržiūrėta]<span class='side'></span><br><br>";

       

      }

      echo "<center><a href='".BASEDIR."news.php'>Visos Naujienos</a>";

      closeside();


gal zinot kdl kai spaudi ant naujienos  meta errora?




ramon: [code ][/ code] tags & smiley off..

Redagavo ramon· 2008 Geg. 22 23:05:03

Parašė Gugiss· 2008 Geg. 22 23:05:30
#2

koki errora? ir isjunk smailus