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

Parašė Drevils· 2009 Rugs. 27 11:09:26
#1

Sveiki noreciau paklausti, kaip pranaikiti Powered by Php-fusion, nes lievai atrodo, as noriu parasyti: Varikliukas - PHp fusion

Parašė minimukas· 2009 Rugs. 27 11:09:08
#2

tau reikai theme.php redeguoti

Parašė Drevils· 2009 Rugs. 27 11:09:53
#3

Bet tokio uzraso ten nera....

Parašė Karolis· 2009 Rugs. 27 12:09:22
#4

Duok theme.php pažiūrėsim...

Parašė 7even· 2009 Rugs. 27 12:09:25
#5

Drevils, o tu zinojai, kad ju nuimt be leidimo negalima? dar ir bauda galesi susimoket uz tai :):p

Parašė Drevils· 2009 Rugs. 27 12:09:17
#6

As noriu parasyt varikliukas: Php-fusion, o nenuimt


<?

if (!defined("IN_FUSION")) { die("Access Denied"); }

define("THEME_WIDTH", "100%");
define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />");

require_once INCLUDES."theme_functions_include.php";

function render_page($license=false) {

   global $aidlink, $settings, $main_style, $locale, $userdata;

echo "<table align='center' width='100%' cellspacing='0' cellpadding='0'>
        <tr>
        <td class='lefter'><img width='45' src='".THEME."images/lefter.gif' height='1' alt='' /></td>
        <td  class='mbody' align='right'><table width='100%' cellspacing='0' cellpadding='0' border='0'><tr><td class='toplogo'><img src='".THEME."images/logo.jpg' alt='' /></td></tr></table>
        <table width='100%' cellspacing='0' cellpadding='0' border='0'>
        <tr>
        <td class='menuss'>\n";
$separator = " </td><td class='sep'></td><td class='menuss'> ";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
      if (dbrows($result) != 0) {
   echo "\n";
      $i = 0;
   while($data = dbarray($result)) {
      if (checkgroup($data['link_visibility'])) {
      if ($data['link_url']!="---") {
      if ($i != 0) { echo " $separator \n"; } else { echo "\n"; }
   $link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
      if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
   echo "<a href='".$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
   } else {
   echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
}
   }
$i++;
      }
   }
}
   echo ($i == 0 ? " " : "")."</td><td class='sep'></td><td width='30%' class='pustka'> </td>
   </td><td class='sep'></td>
        <td class='menus' align='right'>".ucwords(showdate($settings['subheaderdate'], time()))."</td>
        </tr>
        </table>\n";

echo "<table width='100%' cellspacing='0' cellpadding='0' align='center'>\n<tr>\n";

//Content
   echo "<table cellpadding='0' cellspacing='0' class='border' width='".THEME_WIDTH."' align='center'>\n<tr>\n";
   if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
   echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
   if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
   echo "</tr>\n</table>\n";
        echo "<td class='righter'><img width='45' src='".THEME."images/righter.gif' height='1' alt='' /></td>";

//footer
   echo "</tr>\n</table>\n";
   echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>
   <td class='lefter'><img width='45' src='".THEME."images/lefter.gif' height='1' alt='' /></td>";
   echo "<td class='footer' align='center'>".stripslashes($settings['footer'])."<br/>";
   echo showcopyright();
   echo "<br/><b>MTrx ir NmS</b> Tema: <b><a href='' target='_blank'></a> - <a target='_blank' href='http://mtrx-clmes'>NeuTrono ir WhoCare</a  <a target='_blank' href=''></a><br/><br/></b></td>";
        echo "<td class='righter'><img width='45' src='".THEME."images/righter.gif' height='1' alt='' /></td>
        </tr>
        </table>\n";

}

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

global $settings,$locale;


echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>
   <tr>
   <td class='tresc01'></td>
   <td colspan='3' class='tresc02'></td>
   <td class='tresc03'></td>
   </tr>
   <tr>
   <td class='tresc04'></td>
   <td colspan='3' class='tresc05' align='left'>$subject</td>
   <td class='tresc06'></td>
   </tr>
   <tr>
   <td class='tresc07'></td>
   <td colspan='3' class='tresc08'></td>
   <td class='tresc09'></td>
   </tr>
   <tr>
   <td class='tresc10'></td>
   <td colspan='3' class='tresc11' align='left'>$news<br/><br/>";
   echo newsposter($info," &middot;").newsopts($info,"&middot;").itemoptions("N",$info['news_id']);
   echo "<td class='tresc12'></td>
   </tr>
   <tr>
   <td class='tresc13'><img src='".THEME."images/tresc/tresc_13.gif' width='4' height='29' alt='' /></td>
   <td class='tresc14'><img src='".THEME."images/tresc/tresc_14.gif' width='22' height='29' alt='' /></td>
   <td class='tresc15' width='100%'></td>
   <td class='tresc16'><img src='".THEME."images/tresc/tresc_16.gif' width='22' height='29' alt='' /></td>
   <td class='tresc17'><img src='".THEME."images/tresc/tresc_17.gif' width='4' height='29' alt='' /></td>
   </tr>
</table>\n";

}

function render_article($subject, $article, $info) {

global $locale;

echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>
   <tr>
   <td class='tresc01'></td>
   <td colspan='3' class='tresc02'></td>
   <td class='tresc03'></td>
   </tr>
   <tr>
   <td class='tresc04'></td>
   <td colspan='3' class='tresc05' align='left'>$subject</td>
   <td class='tresc06'></td>
   </tr>
   <tr>
   <td class='tresc07'></td>
   <td colspan='3' class='tresc08'></td>
   <td class='tresc09'></td>
   </tr>
   <tr>
   <td class='tresc10'></td>
   <td colspan='3' class='tresc11' align='left'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
        <br/>
        <br/>";
   echo articleposter($info," &middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
   echo "<td class='tresc12'></td>
   </tr>
   <tr>
   <td class='tresc13'><img src='".THEME."images/tresc/tresc_13.gif' width='4' height='29' alt='' /></td>
   <td class='tresc14'><img src='".THEME."images/tresc/tresc_14.gif' width='22' height='29' alt='' /></td>
   <td class='tresc15' width='100%'></td>
   <td class='tresc16'><img src='".THEME."images/tresc/tresc_16.gif' width='22' height='29' alt='' /></td>
   <td class='tresc17'><img src='".THEME."images/tresc/tresc_17.gif' width='4' height='29' alt='' /></td>
   </tr>
</table>\n";

}

function opentable($title) {

echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>
   <tr>
   <td class='tresc01'></td>
   <td colspan='3' class='tresc02'></td>
   <td class='tresc03'></td>
   </tr>
   <tr>
   <td class='tresc04'></td>
   <td colspan='3' class='tresc05' align='left'>$title</td>
   <td class='tresc06'></td>
   </tr>
   <tr>
   <td class='tresc07'></td>
   <td colspan='3' class='tresc08'></td>
   <td class='tresc09'></td>
   </tr>
   <tr>
   <td class='tresc10'></td>
   <td colspan='3' class='tresc11' align='left'>\n";

}

function closetable() {

echo "</td>
   <td class='tresc12'></td>
   </tr>
   <tr>
   <td class='tresc13'><img src='".THEME."images/tresc/tresc_13.gif' width='4' height='29' alt='' /></td>
   <td class='tresc14'><img src='".THEME."images/tresc/tresc_14.gif' width='22' height='29' alt='' /></td>
   <td class='tresc15' width='100%'></td>
   <td class='tresc16'><img src='".THEME."images/tresc/tresc_16.gif' width='22' height='29' alt='' /></td>
   <td class='tresc17'><img src='".THEME."images/tresc/tresc_17.gif' width='4' height='29' alt='' /></td>
   </tr>
</table>\n";

}

function openside($title) {

global $p_data;

echo "<table border='0' cellpadding='0' cellspacing='0'>
   <tr>
   <td class='bok01'></td>
   <td colspan='2' class='bok02'></td>
   <td class='bok03'></td>
   </tr>
   <tr>
   <td class='bok04'></td>
   <td colspan='2' class='bok05' align='left'>$title</td>
   <td class='bok06'></td>
   </tr>
   <tr>
   <td class='bok07'></td>
   <td colspan='2' class='bok08'></td>
   <td class='bok09'></td>
   </tr>
   <tr>
   <td class='bok10'></td>
   <td colspan='2' class='bok11' align='left'>\n";

}

function closeside() {

global $p_data;

if ($p_data['panel_side'] == 1) {

  echo "</td>
   <td class='bok12'></td>
   </tr>
   <tr>
   <td class='bok13'></td>
   <td class='bok14'></td>
   <td class='bok15'></td>
   <td class='bok16'></td>
   </tr>
</table>"; }
       
else {

  echo "</td>
   <td class='bok12'></td>
   </tr>
   <tr>
   <td class='bok13'></td>
   <td class='bok17'></td>
   <td class='bok14'></td>
   <td class='bok16'></td>
   </tr>
</table>\n";
}
}
?>



Redagavo Žmogus· 2009 Rugs. 27 12:09:25

Parašė Žmogus· 2009 Rugs. 27 12:09:25
#7

<?

if (!defined("IN_FUSION")) { die("Access Denied"); }

define("THEME_WIDTH", "100%");
define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />");

require_once INCLUDES."theme_functions_include.php";

function render_page($license=false) {

   global $aidlink, $settings, $main_style, $locale, $userdata;

echo "<table align='center' width='100%' cellspacing='0' cellpadding='0'>
        <tr>
        <td class='lefter'><img width='45' src='".THEME."images/lefter.gif' height='1' alt='' /></td>
        <td  class='mbody' align='right'><table width='100%' cellspacing='0' cellpadding='0' border='0'><tr><td class='toplogo'><img src='".THEME."images/logo.jpg' alt='' /></td></tr></table>
        <table width='100%' cellspacing='0' cellpadding='0' border='0'>
        <tr>
        <td class='menuss'>\n";
$separator = " </td><td class='sep'></td><td class='menuss'> ";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
      if (dbrows($result) != 0) {
   echo "\n";
      $i = 0;
   while($data = dbarray($result)) {
      if (checkgroup($data['link_visibility'])) {
      if ($data['link_url']!="---") {
      if ($i != 0) { echo " $separator \n"; } else { echo "\n"; }
   $link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
      if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
   echo "<a href='".$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
   } else {
   echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
}
   }
$i++;
      }
   }
}
   echo ($i == 0 ? " " : "")."</td><td class='sep'></td><td width='30%' class='pustka'> </td>
   </td><td class='sep'></td>
        <td class='menus' align='right'>".ucwords(showdate($settings['subheaderdate'], time()))."</td>
        </tr>
        </table>\n";

echo "<table width='100%' cellspacing='0' cellpadding='0' align='center'>\n<tr>\n";

//Content
   echo "<table cellpadding='0' cellspacing='0' class='border' width='".THEME_WIDTH."' align='center'>\n<tr>\n";
   if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
   echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
   if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
   echo "</tr>\n</table>\n";
        echo "<td class='righter'><img width='45' src='".THEME."images/righter.gif' height='1' alt='' /></td>";

//footer
   echo "</tr>\n</table>\n";
   echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>
   <td class='lefter'><img width='45' src='".THEME."images/lefter.gif' height='1' alt='' /></td>";
   echo "<td class='footer' align='center'>".stripslashes($settings['footer'])."<br/>";
   echo "Varikliukas - PHP-Fusion";
   echo "<br/><b>MTrx ir NmS</b> Tema: <b><a href='' target='_blank'></a> - <a target='_blank' href='http://mtrx-clmes'>NeuTrono ir WhoCare</a  <a target='_blank' href=''></a><br/><br/></b></td>";
        echo "<td class='righter'><img width='45' src='".THEME."images/righter.gif' height='1' alt='' /></td>
        </tr>
        </table>\n";

}

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

global $settings,$locale;


echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>
   <tr>
   <td class='tresc01'></td>
   <td colspan='3' class='tresc02'></td>
   <td class='tresc03'></td>
   </tr>
   <tr>
   <td class='tresc04'></td>
   <td colspan='3' class='tresc05' align='left'>$subject</td>
   <td class='tresc06'></td>
   </tr>
   <tr>
   <td class='tresc07'></td>
   <td colspan='3' class='tresc08'></td>
   <td class='tresc09'></td>
   </tr>
   <tr>
   <td class='tresc10'></td>
   <td colspan='3' class='tresc11' align='left'>$news<br/><br/>";
   echo newsposter($info," &middot;").newsopts($info,"&middot;").itemoptions("N",$info['news_id']);
   echo "<td class='tresc12'></td>
   </tr>
   <tr>
   <td class='tresc13'><img src='".THEME."images/tresc/tresc_13.gif' width='4' height='29' alt='' /></td>
   <td class='tresc14'><img src='".THEME."images/tresc/tresc_14.gif' width='22' height='29' alt='' /></td>
   <td class='tresc15' width='100%'></td>
   <td class='tresc16'><img src='".THEME."images/tresc/tresc_16.gif' width='22' height='29' alt='' /></td>
   <td class='tresc17'><img src='".THEME."images/tresc/tresc_17.gif' width='4' height='29' alt='' /></td>
   </tr>
</table>\n";

}

function render_article($subject, $article, $info) {

global $locale;

echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>
   <tr>
   <td class='tresc01'></td>
   <td colspan='3' class='tresc02'></td>
   <td class='tresc03'></td>
   </tr>
   <tr>
   <td class='tresc04'></td>
   <td colspan='3' class='tresc05' align='left'>$subject</td>
   <td class='tresc06'></td>
   </tr>
   <tr>
   <td class='tresc07'></td>
   <td colspan='3' class='tresc08'></td>
   <td class='tresc09'></td>
   </tr>
   <tr>
   <td class='tresc10'></td>
   <td colspan='3' class='tresc11' align='left'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
        <br/>
        <br/>";
   echo articleposter($info," &middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
   echo "<td class='tresc12'></td>
   </tr>
   <tr>
   <td class='tresc13'><img src='".THEME."images/tresc/tresc_13.gif' width='4' height='29' alt='' /></td>
   <td class='tresc14'><img src='".THEME."images/tresc/tresc_14.gif' width='22' height='29' alt='' /></td>
   <td class='tresc15' width='100%'></td>
   <td class='tresc16'><img src='".THEME."images/tresc/tresc_16.gif' width='22' height='29' alt='' /></td>
   <td class='tresc17'><img src='".THEME."images/tresc/tresc_17.gif' width='4' height='29' alt='' /></td>
   </tr>
</table>\n";

}

function opentable($title) {

echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>
   <tr>
   <td class='tresc01'></td>
   <td colspan='3' class='tresc02'></td>
   <td class='tresc03'></td>
   </tr>
   <tr>
   <td class='tresc04'></td>
   <td colspan='3' class='tresc05' align='left'>$title</td>
   <td class='tresc06'></td>
   </tr>
   <tr>
   <td class='tresc07'></td>
   <td colspan='3' class='tresc08'></td>
   <td class='tresc09'></td>
   </tr>
   <tr>
   <td class='tresc10'></td>
   <td colspan='3' class='tresc11' align='left'>\n";

}

function closetable() {

echo "</td>
   <td class='tresc12'></td>
   </tr>
   <tr>
   <td class='tresc13'><img src='".THEME."images/tresc/tresc_13.gif' width='4' height='29' alt='' /></td>
   <td class='tresc14'><img src='".THEME."images/tresc/tresc_14.gif' width='22' height='29' alt='' /></td>
   <td class='tresc15' width='100%'></td>
   <td class='tresc16'><img src='".THEME."images/tresc/tresc_16.gif' width='22' height='29' alt='' /></td>
   <td class='tresc17'><img src='".THEME."images/tresc/tresc_17.gif' width='4' height='29' alt='' /></td>
   </tr>
</table>\n";

}

function openside($title) {

global $p_data;

echo "<table border='0' cellpadding='0' cellspacing='0'>
   <tr>
   <td class='bok01'></td>
   <td colspan='2' class='bok02'></td>
   <td class='bok03'></td>
   </tr>
   <tr>
   <td class='bok04'></td>
   <td colspan='2' class='bok05' align='left'>$title</td>
   <td class='bok06'></td>
   </tr>
   <tr>
   <td class='bok07'></td>
   <td colspan='2' class='bok08'></td>
   <td class='bok09'></td>
   </tr>
   <tr>
   <td class='bok10'></td>
   <td colspan='2' class='bok11' align='left'>\n";

}

function closeside() {

global $p_data;

if ($p_data['panel_side'] == 1) {

  echo "</td>
   <td class='bok12'></td>
   </tr>
   <tr>
   <td class='bok13'></td>
   <td class='bok14'></td>
   <td class='bok15'></td>
   <td class='bok16'></td>
   </tr>
</table>"; }
       
else {

  echo "</td>
   <td class='bok12'></td>
   </tr>
   <tr>
   <td class='bok13'></td>
   <td class='bok17'></td>
   <td class='bok14'></td>
   <td class='bok16'></td>
   </tr>
</table>\n";
}
}
?>





Parašė Kelmas· 2009 Rugs. 27 13:09:28
#8

Draudžiama keist PHP-Fusion 7 koki nors raide ar žodį (PHP-Fusion 6 tai leidžia, bet tik ne PHP-Fusion 7). :)

Parašė Pongis· 2009 Rugs. 27 13:09:35
#9

Drageli, rimtai? Naudokit tada visi v6! ;))