Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: v7 - news.php (keleta panaikinimu)

Parašė bauwbas· 2008 Lap. 17 14:11:43
#3

Reikia theme.php. Kadangi prie phpf nedirbu, bet jei neklistu tai bus tokios eilutes:

function render_news($subject, $news, $info) {

   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='capmain-left'></td>\n";
   echo "<td class='capmain'>".$subject."</td>\n";
   echo "<td class='capmain-right'></td>\n";
   echo "</tr>\n</table>\n";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
   echo "<td class='main-body middle-border'>".$news."</td>\n";
   echo "</tr>\n<tr>\n";
   echo "<td align='center' class='news-footer middle-border'>\n";
   echo newsposter($info," &middot;").newsopts($info,"&middot;").itemoptions("N",$info['news_id']);
   echo "</td>\n";
   echo "</tr><tr>\n";
   echo "<td style='height:5px;background-color:#f6a504;'></td>\n";
   echo "</tr>\n</table>\n";

}

function render_article($subject, $article, $info) {
   
   echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
   echo "<td class='capmain-left'></td>\n";
   echo "<td class='capmain'>".$subject."</td>\n";
   echo "<td class='capmain-right'></td>\n";
   echo "</tr>\n</table>\n";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
   echo "<td class='main-body middle-border'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
   echo "</tr>\n<tr>\n";
   echo "<td align='center' class='news-footer'>\n";
   echo articleposter($info," &middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
   echo "</td>\n</tr>\n</table>\n";

}




Ir tau reiktu nutrinti kur yra articleposter($info," &middot;") ir pns... Tu zozdiu pasidaryk kopija theme.php parsiusk koki Dreamvieveri, nedirbk su notepad'u, o tada trink ir ziurek ar negauni error... Arba palauk kol ateis phpf masteriai ir pades ;]

Redagavo bauwbas· 2008 Lap. 17 14:11:02