Nice free phpnuke template for pragmaMx

Begonnen von diabolo, 06 November 2007, 15:46:00

⏪ vorheriges - nächstes ⏩

0 Mitglieder und 1 Gast betrachten dieses Thema.

diabolo

Hi,

http://www.ethaidesign.com

This is free and lovely phpnuke template.

For using to PragmaMx:

Open file theme.php from the template

line 49
ads(0);
replace by:
//ads(0);

function themefooter() line 100
add $index for global
global $index, $foot1, $foot2, $foot3, $copyright, $totaltime;
and after
replace:
if (defined('INDEX_FILE')) {
by:
if ($index == 1) {


line 53>58
replace
while(list($topicid, $topics) = $db->sql_fetchrow($toplist)) {
$topicid = intval($topicid);
    if ($topicid==$topic) { $sel = "selected "; }
$topics_list .= "<option $sel value=\"$topicid\">$topics</option>\n";
$sel = "";
    }

by
while(list($topicid, $topics) = $db->sql_fetchrow($toplist)) {
$topicid = intval($topicid);
$sel = '';
$topic ='';
    if ($topicid==$topic) { $sel = "selected "; }
$topics_list .= "<option $sel value=\"$topicid\">$topics</option>\n";
}


fertig  ;)

siggi

#1
Yes, nice, but that template based on XHTML and not HTML4.01, which pragmaMx currently renders. It can lead to problems in the layout.
:)
Ja, schick. Nur das basiert auf XHTML und nicht auf HTML4.01, welches pragmaMx aktuell rendert. Es kann also zu Problemen im Layout führen.

Zitat<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http: //www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Wenn man an Gras zieht wächst es auch nicht schneller.