Наши скрипты > MobilePublisherPHP

$indexpage очень плохо работает!!!

<< < (3/3)

Larcass:
Я нашел в чем проблема...

AN:
поделитесь, в чем дело...

Larcass:
в index надо прописать, там где INDEXPAGE
дело в   $indexpage=postify



во чо:

//getting index page
if(strpos(" ".template(\'index\'), "\\$indexpage")){
        $query=$db->query("SELECT tid, fulltxt, allowhtml,bbcodeoff FROM $table_articles WHERE section=\'0\' AND alias=\'index\' ");
        if($article = $db->fetch_array($query) ){
                $articleid=$article[tid];
                $db->query("UPDATE $table_articles SET views=views+1 WHERE tid=\'$articleid\' ");
                $text=stripslashes($article[fulltxt]);
                $indexpage=postify($text, $article[allowhtml], $article[bbcodeoff], $articleid, $sname, $articlealias, &$pageslink);
        }
}

Навигация

[0] Главная страница сообщений

[*] Предыдущая страница

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 
Перейти к полной версии