Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Blank Page, Admin Link

Asked Modified Viewed 11,368 times
K
Kamillo
K
------------------------------
PHP-Fusion PL Crew | Spam Cop | My Site
  • Senior Member, joined since
  • Contributed 244 posts on the community forums.
  • Started 23 threads in the forums
asked
Senior Member

Hi, I removed your website from your profile because is violation of 1.3 CoC.
0 replies

32 posts

J
jayyki
J
jayyki 10
  • Junior Member, joined since
  • Contributed 17 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Junior Member

Thanks very much. Here you are:
<?php
/*------------------------------------------------------+
| PHPFusion Content Management System                  |
| Copyright (C) 2002 - 2011 Nick Jones                  |
| http://www.php-fusion.co.uk/                          |
+-------------------------------------------------------+
| This program is released as free software under the   |
| Affero GPL license. You can redistribute it and/or    |
| addonify it under the terms of this license which you |
| can read by viewing the included agpl.txt or online   |
| at www.gnu.org/licenses/agpl.html. Removal of this    |
| copyright header is strictly prohibited without       |
| written permission from the original author(s).       |
+------------------------------------------------------*/
/*------------------------------------------------------+
|     Theme red for PHPFusion v7                       |
+-------------------------------------------------------+
| Filename: theme.php                                   |
| author: lippke                                        |
| Homepage: http://www.zicy.dk/                         |
+-------------------------------------------------------+
| This theme is released under the terms and conditions |
| of the GNU Affero GPL v3.                             |
+------------------------------------------------------*/

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

define("THEME_BULLET", "<span class='bullet'>&middot;</span>");

require_once INCLUDES."theme_functions_include.php"; 

function render_page($license = false) {
   
   global $settings, $main_style, $locale;

   //Header
   echo "<table align='center' cellpadding='0' cellspacing='0' width='80%'>\n<tr>\n";
   echo "<td class='full-header'>\n".showbanners()."</td>\n";
   
  echo "</tr>\n</table>\n";
   
   echo "<table align='center' cellpadding='0' cellspacing='0' width='80%'>\n<tr>\n";
   echo "<td class='sub-header-center'></td>\n";
   echo "<td class='sub-header'>".showsublinks(" ".THEME_BULLET." ", "white")."</td>\n";
   echo "<td align='right' class='sub-header'>".showsubdate()."</td>\n";
  echo "<td class='sub-header-right'></td>\n";
   echo "</tr>\n</table>\n";
   
                 
 
   //Content
   echo "<table align='center' cellpadding='0' cellspacing='0' width='80%' class='$main_style'>\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";
   
   //Footer
   echo "<table align='center' cellpadding='0' cellspacing='0' width='80%'>\n<tr>\n";
   echo "<td align='left' class='sub-header-left'>
   <a title='delay=[0] fade=[on]' href='javascript:scroll(0,0);'>
   <img src='".THEME."images/up.gif' border='0' alt='Top' title='Top' />
   </a>
   </td>\n";
   echo "<td align='center' class='sub-header'>".showcounter()."</td>\n";
   echo "<td align='right' class='sub-header-right'>
   <a title='delay=[0] fade=[on]' href='javascript:scroll(0,0);'>
   <img src='".THEME."images/up.gif' border='0' alt='Top' title='Top' />
   </a>
   </td>\n";
   echo "</tr>\n</table>\n";
   echo "<table align='center' cellpadding='0' cellspacing='0' width='40%'>\n<tr>\n";
   echo "<td align='center' class='main-footer'>".stripslashes($settings['footer']);
   if (!$license) { echo "<br /><br />\n".showcopyright(); }
   echo "</td>\n";
   echo "</tr>\n</table>\n";
}
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;").newscat($info," &middot;").newsopts($info,"&middot;").itemoptions("N",$info['news_id']);
   echo "</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;").articlecat($info," &middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
   echo "</td>\n</tr>\n</table>\n";

}

function opentable($title) {

   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='capmain-left'></td>\n";
   echo "<td class='capmain'>".$title."</td>\n";
   echo "<td class='capmain-right'></td>\n";
   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
   echo "<td class='main-body'>\n";

}

function closetable() {

   echo "</td>\n";
   echo "</tr>\n</table>\n";

}

function openside($title, $collapse = false, $state = "on") {

   global $panel_collapse; $panel_collapse = $collapse;
   
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='scapmain-left'></td>\n";
   echo "<td class='scapmain'>$title</td>\n";
   if ($collapse == true) {
      $boxname = str_replace(" ", "", $title);
      echo "<td class='scapmain' align='right'>".panelbutton($state, $boxname)."</td>\n";
   }
   echo "<td class='scapmain-right'></td>\n";
   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
   echo "<td class='side-body'>\n";   
   if ($collapse == true) { echo panelstate($state, $boxname); }

}

function closeside() {
   
   global $panel_collapse;

   if ($panel_collapse == true) { echo "</div>\n"; }   
   echo "</td>\n</tr>\n</table>\n";

}
?>
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

<?php
/*------------------------------------------------------+
| PHPFusion Content Management System                  |
| Copyright (C) 2002 - 2011 Nick Jones                  |
| http://www.php-fu...                           |
+-------------------------------------------------------+
| This program is released as free software under the   |
| Affero GPL license. You can redistribute it and/or    |
| addonify it under the terms of this license which you |
| can read by viewing the included agpl.txt or online   |
| at www.gnu.org/licen... Removal of this    |
| copyright header is strictly prohibited without       |
| written permission from the original author(s).       |
+------------------------------------------------------*/
/*------------------------------------------------------+
|     Theme red for PHPFusion v7                       |
+-------------------------------------------------------+
| Filename: theme.php                                   |
| author: lippke                                        |
| Homepage: http://www.zicy.dk/                          |
+-------------------------------------------------------+
| This theme is released under the terms and conditions |
| of the GNU Affero GPL v3.                             |
+------------------------------------------------------*/

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

define("THEME_BULLET", "<span class='bullet'>&middot;</span>");

require_once INCLUDES."theme_functions_include.php";

function render_page($license = false) {
   
   global $settings, $main_style, $locale;

   //Header
   echo "<table align='center' cellpadding='0' cellspacing='0' width='80%'>\n<tr>\n";
   echo "<td class='full-header'>\n".showbanners()."</td>\n";
   
  echo "</tr>\n</table>\n";
   
   echo "<table align='center' cellpadding='0' cellspacing='0' width='80%'>\n<tr>\n";
   echo "<td class='sub-header-center'></td>\n";
   echo "<td class='sub-header'>".showsublinks(" ".THEME_BULLET." ", "white")."</td>\n";
   echo "<td align='right' class='sub-header'>".showsubdate()."</td>\n";
  echo "<td class='sub-header-right'></td>\n";
   echo "</tr>\n</table>\n";
   
                 
 
   //Content
   echo "<table align='center' cellpadding='0' cellspacing='0' width='80%' class='$main_style'>\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";
   
   //Footer
   echo "<table align='center' cellpadding='0' cellspacing='0' width='80%'>\n<tr>\n";
   echo "<td align='left' class='sub-header-left'>
   <a title='delay=[0] fade=[on]' href='javascript:scroll(0,0);'>
   <img src='".THEME."images/up.gif' border='0' alt='Top' title='Top' />
   </a>
   </td>\n";
   echo "<td align='center' class='sub-header'>".showcounter()."</td>\n";
   echo "<td align='right' class='sub-header-right'>
   <a title='delay=[0] fade=[on]' href='javascript:scroll(0,0);'>
   <img src='".THEME."images/up.gif' border='0' alt='Top' title='Top' />
   </a>
   </td>\n";
   echo "</tr>\n</table>\n";
   echo "<table align='center' cellpadding='0' cellspacing='0' width='40%'>\n<tr>\n";
   echo "<td align='center' class='main-footer'>".stripslashes($settings['footer']);
   if (!$license) { echo "<br /><br />\n".showcopyright(); }
   echo (iADMIN ? " <a href='".ADMIN."index.php".$aidlink."'>Admin</a>" : "");
   echo "</td>\n";
   echo "</tr>\n</table>\n";
}
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;").newscat($info," &middot;").newsopts($info,"&middot;").itemoptions("N",$info['news_id']);
   echo "</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;").articlecat($info," &middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
   echo "</td>\n</tr>\n</table>\n";

}

function opentable($title) {

   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='capmain-left'></td>\n";
   echo "<td class='capmain'>".$title."</td>\n";
   echo "<td class='capmain-right'></td>\n";
   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
   echo "<td class='main-body'>\n";

}

function closetable() {

   echo "</td>\n";
   echo "</tr>\n</table>\n";

}

function openside($title, $collapse = false, $state = "on") {

   global $panel_collapse; $panel_collapse = $collapse;
   
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='scapmain-left'></td>\n";
   echo "<td class='scapmain'>$title</td>\n";
   if ($collapse == true) {
      $boxname = str_replace(" ", "", $title);
      echo "<td class='scapmain' align='right'>".panelbutton($state, $boxname)."</td>\n";
   }
   echo "<td class='scapmain-right'></td>\n";
   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
   echo "<td class='side-body'>\n";   
   if ($collapse == true) { echo panelstate($state, $boxname); }

}

function closeside() {
   
   global $panel_collapse;

   if ($panel_collapse == true) { echo "</div>\n"; }   
   echo "</td>\n</tr>\n</table>\n";

}
?>
0 replies
J
jayyki
J
jayyki 10
  • Junior Member, joined since
  • Contributed 17 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Junior Member

The same err:
2imgs.com/2i/t/1dc585af7c.jpg
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

<?php
/*------------------------------------------------------+
| PHPFusion Content Management System                  |
| Copyright (C) 2002 - 2011 Nick Jones                  |
| http://www.php-fu...                            |
+-------------------------------------------------------+
| This program is released as free software under the   |
| Affero GPL license. You can redistribute it and/or    |
| addonify it under the terms of this license which you |
| can read by viewing the included agpl.txt or online   |
| at www.gnu.org/licen... Removal of this    |
| copyright header is strictly prohibited without       |
| written permission from the original author(s).       |
+------------------------------------------------------*/
/*------------------------------------------------------+
|     Theme red for PHPFusion v7                       |
+-------------------------------------------------------+
| Filename: theme.php                                   |
| author: lippke                                        |
| Homepage: http://www.zicy.dk/                           |
+-------------------------------------------------------+
| This theme is released under the terms and conditions |
| of the GNU Affero GPL v3.                             |
+------------------------------------------------------*/

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

define("THEME_BULLET", "<span class='bullet'>&middot;</span>");

require_once INCLUDES."theme_functions_include.php";

function render_page($license = false) {
   
   global $settings, $main_style, $locale;

   //Header
   echo "<table align='center' cellpadding='0' cellspacing='0' width='80%'>\n<tr>\n";
   echo "<td class='full-header'>\n".showbanners()."</td>\n";
   
  echo "</tr>\n</table>\n";
   
   echo "<table align='center' cellpadding='0' cellspacing='0' width='80%'>\n<tr>\n";
   echo "<td class='sub-header-center'></td>\n";
   echo "<td class='sub-header'>".showsublinks(" ".THEME_BULLET." ", "white")."</td>\n";
   echo "<td align='right' class='sub-header'>".showsubdate()."</td>\n";
  echo "<td class='sub-header-right'></td>\n";
   echo "</tr>\n</table>\n";
   
                 
 
   //Content
   echo "<table align='center' cellpadding='0' cellspacing='0' width='80%' class='$main_style'>\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";
   
   //Footer
   echo "<table align='center' cellpadding='0' cellspacing='0' width='80%'>\n<tr>\n";
   echo "<td align='left' class='sub-header-left'>
   <a title='delay=[0] fade=[on]' href='javascript:scroll(0,0);'>
   <img src='".THEME."images/up.gif' border='0' alt='Top' title='Top' />
   </a>
   </td>\n";
   echo "<td align='center' class='sub-header'>".showcounter()."</td>\n";
   echo "<td align='right' class='sub-header-right'>
   <a title='delay=[0] fade=[on]' href='javascript:scroll(0,0);'>
   <img src='".THEME."images/up.gif' border='0' alt='Top' title='Top' />
   </a>
   </td>\n";
   echo "</tr>\n</table>\n";
   echo "<table align='center' cellpadding='0' cellspacing='0' width='40%'>\n<tr>\n";
   echo "<td align='center' class='main-footer'>".stripslashes($settings['footer']);
   if (!$license) { echo "<br /><br />\n".showcopyright(); }
   //echo (iADMIN ? " <a href='".ADMIN."index.php".$aidlink."'>Admin</a>" : "");
   echo "</td>\n";
   echo "</tr>\n</table>\n";
}
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;").newscat($info," &middot;").newsopts($info,"&middot;").itemoptions("N",$info['news_id']);
   echo "</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;").articlecat($info," &middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
   echo "</td>\n</tr>\n</table>\n";

}

function opentable($title) {

   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='capmain-left'></td>\n";
   echo "<td class='capmain'>".$title."</td>\n";
   echo "<td class='capmain-right'></td>\n";
   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
   echo "<td class='main-body'>\n";

}

function closetable() {

   echo "</td>\n";
   echo "</tr>\n</table>\n";

}

function openside($title, $collapse = false, $state = "on") {

   global $panel_collapse; $panel_collapse = $collapse;
   
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='scapmain-left'></td>\n";
   echo "<td class='scapmain'>$title</td>\n";
   if ($collapse == true) {
      $boxname = str_replace(" ", "", $title);
      echo "<td class='scapmain' align='right'>".panelbutton($state, $boxname)."</td>\n";
   }
   echo "<td class='scapmain-right'></td>\n";
   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
   echo "<td class='side-body'>\n";   
   if ($collapse == true) { echo panelstate($state, $boxname); }

}

function closeside() {
   
   global $panel_collapse;

   if ($panel_collapse == true) { echo "</div>\n"; }   
   echo "</td>\n</tr>\n</table>\n";

}
?>
0 replies
J
jayyki
J
jayyki 10
  • Junior Member, joined since
  • Contributed 17 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Junior Member

It funy :-D Now, I can´t see nothing :-D
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Exactly and Error?
0 replies
J
jayyki
J
jayyki 10
  • Junior Member, joined since
  • Contributed 17 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Junior Member

No err and link :/ grrr..
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

<?php
/*------------------------------------------------------+
| PHPFusion Content Management System                  |
| Copyright (C) 2002 - 2011 Nick Jones                  |
| http://www.php-fu...                            |
+-------------------------------------------------------+
| This program is released as free software under the   |
| Affero GPL license. You can redistribute it and/or    |
| addonify it under the terms of this license which you |
| can read by viewing the included agpl.txt or online   |
| at www.gnu.org/licen... Removal of this    |
| copyright header is strictly prohibited without       |
| written permission from the original author(s).       |
+------------------------------------------------------*/
/*------------------------------------------------------+
|     Theme red for PHPFusion v7                       |
+-------------------------------------------------------+
| Filename: theme.php                                   |
| author: lippke                                        |
| Homepage: http://www.zicy.dk/                           |
+-------------------------------------------------------+
| This theme is released under the terms and conditions |
| of the GNU Affero GPL v3.                             |
+------------------------------------------------------*/

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

define("THEME_BULLET", "<span class='bullet'>&middot;</span>");

require_once INCLUDES."theme_functions_include.php";

function render_page($license = false) {
   
   global $settings, $main_style, $locale, $aidlink;

   //Header
   echo "<table align='center' cellpadding='0' cellspacing='0' width='80%'>\n<tr>\n";
   echo "<td class='full-header'>\n".showbanners()."</td>\n";
   
  echo "</tr>\n</table>\n";
   
   echo "<table align='center' cellpadding='0' cellspacing='0' width='80%'>\n<tr>\n";
   echo "<td class='sub-header-center'></td>\n";
   echo "<td class='sub-header'>".showsublinks(" ".THEME_BULLET." ", "white")."</td>\n";
   echo "<td align='right' class='sub-header'>".showsubdate()."</td>\n";
  echo "<td class='sub-header-right'></td>\n";
   echo "</tr>\n</table>\n";
   
                 
 
   //Content
   echo "<table align='center' cellpadding='0' cellspacing='0' width='80%' class='$main_style'>\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";
   
   //Footer
   echo "<table align='center' cellpadding='0' cellspacing='0' width='80%'>\n<tr>\n";
   echo "<td align='left' class='sub-header-left'>
   <a title='delay=[0] fade=[on]' href='javascript:scroll(0,0);'>
   <img src='".THEME."images/up.gif' border='0' alt='Top' title='Top' />
   </a>
   </td>\n";
   echo "<td align='center' class='sub-header'>".showcounter()."</td>\n";
   echo "<td align='right' class='sub-header-right'>
   <a title='delay=[0] fade=[on]' href='javascript:scroll(0,0);'>
   <img src='".THEME."images/up.gif' border='0' alt='Top' title='Top' />
   </a>
   </td>\n";
   echo "</tr>\n</table>\n";
   echo "<table align='center' cellpadding='0' cellspacing='0' width='40%'>\n<tr>\n";
   echo "<td align='center' class='main-footer'>".stripslashes($settings['footer']);
   if (!$license) { echo "<br /><br />\n".showcopyright(); }
   echo (iADMIN ? " <a href='".ADMIN."index.php".$aidlink."'>Admin</a>" : "");
   echo "</td>\n";
   echo "</tr>\n</table>\n";
}
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;").newscat($info," &middot;").newsopts($info,"&middot;").itemoptions("N",$info['news_id']);
   echo "</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;").articlecat($info," &middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
   echo "</td>\n</tr>\n</table>\n";

}

function opentable($title) {

   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='capmain-left'></td>\n";
   echo "<td class='capmain'>".$title."</td>\n";
   echo "<td class='capmain-right'></td>\n";
   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
   echo "<td class='main-body'>\n";

}

function closetable() {

   echo "</td>\n";
   echo "</tr>\n</table>\n";

}

function openside($title, $collapse = false, $state = "on") {

   global $panel_collapse; $panel_collapse = $collapse;
   
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='scapmain-left'></td>\n";
   echo "<td class='scapmain'>$title</td>\n";
   if ($collapse == true) {
      $boxname = str_replace(" ", "", $title);
      echo "<td class='scapmain' align='right'>".panelbutton($state, $boxname)."</td>\n";
   }
   echo "<td class='scapmain-right'></td>\n";
   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
   echo "<td class='side-body'>\n";   
   if ($collapse == true) { echo panelstate($state, $boxname); }

}

function closeside() {
   
   global $panel_collapse;

   if ($panel_collapse == true) { echo "</div>\n"; }   
   echo "</td>\n</tr>\n</table>\n";

}
?>
0 replies
J
jayyki
J
jayyki 10
  • Junior Member, joined since
  • Contributed 17 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Junior Member

Great works, now it works without errs! Thank yout, BIG thanks belongs to all!
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

No problem.
0 replies
J
jayyki
J
jayyki 10
  • Junior Member, joined since
  • Contributed 17 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Junior Member

I have the last question for you. If I want to get to code (ex. footer.php) ahref with img, how can I do it? I want to have clickable picture. How will look the code?
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

echo"<a href='http://www.yourlink.com' target='_blank'><img src='http://www.yourimage.com/images/myimage.jpg' alt='My Image' />";



If you want the link to open in the same window remove target='_blank'


If you do not want ugly borders to show in Internet Explorer add style='border: 0;' to your image link like....

<img src='http://www.yourimage.com/images/myimage.jpg' alt='My Image'  style='border: 0;'/>



Read more at w3schools....

<img> Tag:
http://www.w3schools.com/tags/tag_img.asp

<a> Tag:
http://www.w3schools.com/tags/tag_a.asp

Hope that helps you. :)
0 replies
J
jayyki
J
jayyki 10
  • Junior Member, joined since
  • Contributed 17 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Junior Member

Thanks. Okey, I will look there :) It works.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 32 posts
  • Votes 0 votes
  • Topic users 5 members

5 participants

F
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
C
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,841 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
K
K
------------------------------
PHP-Fusion PL Crew | Spam Cop | My Site
  • Senior Member, joined since
  • Contributed 244 posts on the community forums.
  • Started 23 threads in the forums
J
J
jayyki 10
  • Junior Member, joined since
  • Contributed 17 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet