Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Goto page: 1 - 2 [+1]

Bottom
PnBooks Help
  • Posted: 10.01.2006, 02:44
     
    Cleverdick
    rank:
    Softmore Softmore
    registered:
     January 2006
    Status:
    offline
    last visit:
    20.11.07
    Posts:
    96
    Hi Guys,

    I urgently need this module to be indexed by the search engine spiders before I delete it and add the content manually.

    The simulator at http://www.searchengineworld.com/cgi-bin/sim_spider.cgi does not list any of the content in books, nor in my forums.. how can I get this to work? If I type www.postnuke.com into the simulator I get all the forum contents - but not on my site.

    Can anyone PLEASE help.

    My website is http://www.freebetguide.com
  • Posted: 11.01.2006, 01:26
     
    Cleverdick
    rank:
    Softmore Softmore
    registered:
     January 2006
    Status:
    offline
    last visit:
    20.11.07
    Posts:
    96
    Anyone? Also The icons on the books home
    are not showing - see http://www/freebetguide.com to see what I mean.

    --
    Visit http://freebets.freebetguide.com today!
  • Posted: 11.01.2006, 01:37
     
    Cleverdick
    rank:
    Softmore Softmore
    registered:
     January 2006
    Status:
    offline
    last visit:
    20.11.07
    Posts:
    96
    Ok, weird this... it works here: http://www.freebetguide.com/books.html but not on home page.

    I'm sue this is simple but i cant do it!!!

    --
    Visit http://freebets.freebetguide.com today!
  • Posted: 11.01.2006, 01:59
     
    ainigma32
    rank:
    Professional Professional
    registered:
     January 2004
    Status:
    offline
    last visit:
    22.03.06
    Posts:
    958
    Did you setup the books module as the default module?
  • Posted: 11.01.2006, 02:10
     
    Cleverdick
    rank:
    Softmore Softmore
    registered:
     January 2006
    Status:
    offline
    last visit:
    20.11.07
    Posts:
    96
    Yes, I think that has something to do with the problem

    --
    Visit http://freebets.freebetguide.com today!
  • Posted: 11.01.2006, 02:18
     
    ainigma32
    rank:
    Professional Professional
    registered:
     January 2004
    Status:
    offline
    last visit:
    22.03.06
    Posts:
    958
    And you're also using a Xanthia theme right? Well, maybe you should compare the master.htm and home.htm?

    HTH
  • Posted: 11.01.2006, 02:22
     
    Cleverdick
    rank:
    Softmore Softmore
    registered:
     January 2006
    Status:
    offline
    last visit:
    20.11.07
    Posts:
    96
    Looked all over, but will try again...

    --
    Visit http://freebets.freebetguide.com today!
  • Posted: 11.01.2006, 02:25
     
    Cleverdick
    rank:
    Softmore Softmore
    registered:
     January 2006
    Status:
    offline
    last visit:
    20.11.07
    Posts:
    96
    Ok:

    Master:

    Code

    <!DOCTYPE HTML public "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html lang="<!--[lang]-->">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=<!--[charset]-->">
    <meta name="DESCRIPTION" content="Free Bet Guide, Online Bookmakers Free Bets, Gaming Cash, Casino Bonuses & Online Poker Rooms. Free Forums, Bookmaker Reviews and Lots More. Register FREE Today!">
    <meta name="resource-type" content="document">
    <meta http-equiv="expires" content="0">
    <meta name="author" content="<!--[sitename]-->">
    <meta name="copyright" content="Copyright (c) 2004 by FreeBetGuide.com">
    <meta name="revisit-after" content="1 days">
    <meta name="distribution" content="Global">
    <meta name="generator" content="PostNuke <!--[pnml name="_PN_VERSION_NUM"]--> - http://www.dev-postnuke.com">
    <meta name="rating" content="General">
    <meta name="KEYWORDS" content="<!--[keywords]-->">
    <title><!--[title]--></title>
    <link rel="StyleSheet" href="<!--[$themepath]-->/style/styleNN.css" type="text/css">
    <link rel="icon" href="<!--[$imagepath]-->/icon.png" type="image/png">
    <link rel="shortcut icon" href="<!--[$imagepath]-->/favicon.ico">
    <style type="text/css">
    @import url("<!--[$themepath]-->/style/style.css");
    </style>
    <!--[additional_header]-->
    <!--[modulestylesheet]-->
    </head>

    <body bgcolor="<!--[$bgcolor]-->" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">

    <!-- CABECERA -->
    <!-- LOGO -->
    <table cellpadding="0" cellspacing="0" width="<!--[$pagewidth]-->" border="0" bgcolor="<!--[$bgcolor]-->">
    <tr>
        <td bgcolor="<!--[$background]-->" align="center"><a href="index.php"><!--[pnimg src="logo.gif" alt="Freebetguide.com"]--></a></td>
        <td style="width:474px;background-image:url('<!--[$imagepath]-->/BannerContentBG.png');" valign="top"><!--[pnbannerdisplay id="5"]-->
    </td>

    </tr>
    </table>

    <table cellpadding="0" cellspacing="0" width="<!--[$pagewidth]-->" border="0" align="center" bgcolor="<!--[$bgcolor]-->">
    <tr valign="middle" bgcolor="<!--[$bgcolor]-->">
        <td width="150" height="30" align="left" background="<!--[$imagepath]-->/Buttonleiste/leilinks_2.jpg" nowrap>
            <font class="content" color="#F5F5F5"><!--[bienvenido]--></font>
        </td>
        <td valign="top" width="19" height="30" background="<!--[$imagepath]-->/Buttonleiste/leilinks_3.jpg" nowrap></td>
        <td valign="top" width="13" height="30" background="<!--[$imagepath]-->/Buttonleiste/leiteiler_4.jpg" nowrap></td>
        <td valign="top" width="23" height="30" background="<!--[$imagepath]-->/Buttonleiste/lei.jpg" nowrap></td>
        <td valign="middle" align="center" height="30" background="<!--[$imagepath]-->/Buttonleiste/lei.jpg">        
            <A href="<!--[pnml name="_LINK1"]-->"><!--[pnimg src="home.png"]--></a>
            <A href="<!--[pnml name="_LINK2"]-->"><!--[pnimg src="download.gif"]--></a>
            <A href="<!--[pnml name="_LINK3"]-->"><!--[pnimg src="forum.gif"]--></a>
            <A href="<!--[pnml name="_LINK4"]-->"><!--[pnimg src="chat.gif"]--></a>
            <A href="<!--[pnml name="_LINK5"]-->"><!--[pnimg src="links.gif"]--></a>
        </td>
        <td align="left" valign="top" width="23" height="30" background="<!--[$imagepath]-->/Buttonleiste/lei.jpg"></td>
        <td align="left" valign="top" width="10" height="30" background="<!--[$imagepath]-->/Buttonleiste/lei.jpg"></td>
        <td align="left" valign="top" width="23" height="30"><img src="<!--[$imagepath]-->/Buttonleiste/taskright_1.jpg"></td>
        <td align="middle" width="140" height="30" background="<!--[$imagepath]-->/Buttonleiste/taskright_2.jpg">
            <font class="content"><!--[datetime]--></font>
        </td>
        <td bgcolor="#F5F5F5" background="<!--[$imagepath]-->/Buttonleiste/taskright_2.jpg" width="1" height="30"></td>
    </tr>
    </table>

    <table cellpadding="0" cellspacing="0" width="<!--[$pagewidth]-->" border="0" bgcolor="#E9E8EE">
    <tr>
        <td align="left" valign="top" width="185" height="14" bgcolor="#858DA5"><img src="<!--[$imagepath]-->/pixel.gif"></td>
        <td align="left" valign="top" width="17" height="14" background="<!--[$imagepath]-->/leiste/leiste_1.gif"><img src="<!--[$imagepath]-->/pixel.gif"></td>
        <td align="left" valign="top" height="15" bgcolor="<!--[$bgcolor]-->"><img src="<!--[$imagepath]-->/pixel.gif"></td>
        <td align="left" valign="top" width="14" height="14" bgcolor="<!--[$bgcolor]-->" <img src="<!--[$imagepath]-->/pixel.gif"></td>
        <td align="left" valign="top" width="185" height="14" bgcolor="<!--[$bgcolor]-->"><img src="<!--[$imagepath]-->/pixel.gif"></td>
    </tr>
    </table>
    <!-- BLOQUES DERECHO - CENTRAL - IZQUIERDO -->
    <table width="<!--[$pagewidth]-->" cellpadding="0" cellspacing="0" border="0" bgcolor="<!--[$bgcolor]-->" align="center">
    <tr valign="top">
        <td bgcolor="#858DA5"><img src="<!--[$imagepath]-->/pixel.gif" width="5" height="1" border="0" alt=""></td>
        <td valign="top" bgcolor="#858DA5" width="<!--[$lcolwidth]-->" background="<!--[$imagepath]-->/block_left/back.jpg">
            <!-- Left Block Start -->
            <!--[$leftblocks]-->
            <!--[theme]-->
            <!-- Left Block end -->
        </td>
        <td bgcolor="#858DA5"><img src="<!--[$imagepath]-->/pixel.gif" width="5" height="1" border="0" alt=""></td>
        <td bgcolor="#E9E8EE" background="<!--[$imagepath]-->/leiste/leiste_2.gif"><img src="<!--[$imagepath]-->/pixel.gif" width="17" height="1" border="0" alt=""></td>
        <td bgcolor="<!--[$bgcolor]-->"><img src="<!--[$imagepath]-->/pixel.gif" width="5" height="1" border="0" alt=""></td>      
        <td valign="top" align="middle" width="100%">
            <!-- Content Start -->         
            <!--[$maincontent]-->
            <!-- Content end -->
        </td>
        <td background="<!--[$imagepath]-->/block-right/side.gif"><img src="<!--[$imagepath]-->/pixel.gif" width="15" height="1" border="0" alt=""></td>
    </tr>
    </table>
    <!-- FIN DE BLOQUES -->

    <!-- PIE DE PAGINA -->
    <table cellpadding="0" cellspacing="0" width="<!--[$pagewidth]-->" border="0" bgcolor="<!--[$bgcolor]-->">
    <tr>
        <td align="left" valign="top" width="185" height="14" bgcolor="#858DA5" background="<!--[$imagepath]-->/leiste/leiste_8.gif"><img src="<!--[$imagepath]-->/pixel.gif"></td>
        <td align="left" valign="top" width="17\" height="14" background="<!--[$imagepath]-->/leiste/leiste_7.gif"><img src="<!--[$imagepath]-->/pixel.gif"></td>
        <td align="
    left" valign="top" height="15\" bgcolor="<!--[$bgcolor]-->" background="<!--[$imagepath]-->/leiste/leiste_8.gif"><img src="<!--[$imagepath]-->/pixel.gif"></td>
        <td align="
    left" valign="top" width="14\" height="14" bgcolor="<!--[$bgcolor]-->" background="<!--[$imagepath]-->/leiste/leiste_8.gif"><img src="<!--[$imagepath]-->/pixel.gif"></td>
        <td align="
    left" valign="top" width="185\" height="14" bgcolor="<!--[$bgcolor]-->" background="<!--[$imagepath]-->/leiste/leiste_8.gif"><img src="<!--[$imagepath]-->/pixel.gif"></td>
    </tr>
    </table>
           
    <div style="
    text-align:center;" class="pn-sub">
    <!--[footmsg]-->
    <br /><br />
    <!--[nocache]--><!--[pagerendertime]--><!--[/nocache]--><!--[typetoolv80]-->
    </div>

    </body>
    </html>


    Home:

    Code

    <!DOCTYPE HTML public "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html lang="<!--[lang]-->">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=<!--[charset]-->">
    <meta name="DESCRIPTION" content="Free Bet Guide, Online Bookmakers Free Bets, Gaming Cash, Casino Bonuses & Online Poker Rooms. Free Forums, Bookmaker Reviews and Lots More. Register FREE Today!">
    <meta name="ROBOTS" content="INDEX,FOLLOW">
    <meta name="resource-type" content="document">
    <meta http-equiv="expires" content="0">
    <meta name="author" content="FreeBetGuide.com">
    <meta name="copyright" content="Copyright (c) 2006 by FreeBetGuide.com">
    <meta name="revisit-after" content="1 days">
    <meta name="distribution" content="Global">
    <meta name="generator" content="PostNuke <!--[pnml name="_PN_VERSION_NUM"]--> - http://www.dev-postnuke.com">
    <meta name="rating" content="General">
    <meta name="KEYWORDS" content="<!--[keywords]-->">
    <title><!--[title]--></title>
    <link rel="StyleSheet" href="<!--[$themepath]-->/style/styleNN.css" type="text/css">
    <link rel="icon" href="<!--[$imagepath]-->/icon.png" type="image/png">
    <link rel="shortcut icon" href="<!--[$imagepath]-->/favicon.ico">
    <style type="text/css">
    @import url("<!--[$themepath]-->/style/style.css");
    </style>
    <!--[additional_header]-->
    <!--[modulestylesheet]-->
    </head>

    <body bgcolor="<!--[$bgcolor]-->" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">

    <!-- CABECERA -->
    <!-- LOGO -->
    <table cellpadding="0" cellspacing="0" width="<!--[$pagewidth]-->" border="0" bgcolor="<!--[$bgcolor]-->">
    <tr>
        <td bgcolor="<!--[$background]-->" align="center"><a href="index.php"><!--[pnimg src="logo.gif" alt="FreeBetGuide.com"]--></a></td>
        <td style="width:474px;background-image:url('<!--[$imagepath]-->/BannerContentBG.png');" valign="top"><!--[pnbannerdisplay id="5"]-->
    </td>


    </tr>
    </table>

    <table cellpadding="0" cellspacing="0" width="<!--[$pagewidth]-->" border="0" align="center" bgcolor="<!--[$bgcolor]-->">
    <tr valign="middle" bgcolor="<!--[$bgcolor]-->">
        <td width="150" height="30" align="left" background="<!--[$imagepath]-->/Buttonleiste/leilinks_2.jpg" nowrap><!--[bienvenido]--></td>
        <td valign="top" width="19" height="30" background="<!--[$imagepath]-->/Buttonleiste/leilinks_3.jpg" nowrap></td>
        <td valign="top" width="13" height="30" background="<!--[$imagepath]-->/Buttonleiste/leiteiler_4.jpg" nowrap></td>
        <td valign="top" width="23" height="30" background="<!--[$imagepath]-->/Buttonleiste/lei.jpg" nowrap></td>
        <td valign="middle" align="center" height="30" background="<!--[$imagepath]-->/Buttonleiste/lei.jpg">        
            <A href="<!--[pnml name="_LINK1"]-->"><!--[pnimg src="home.png"]--></a>
            <A href="<!--[pnml name="_LINK2"]-->"><!--[pnimg src="download.gif"]--></a>
            <A href="<!--[pnml name="_LINK3"]-->"><!--[pnimg src="forum.gif"]--></a>
            <A href="<!--[pnml name="_LINK4"]-->"><!--[pnimg src="chat.gif"]--></a>
            <A href="<!--[pnml name="_LINK5"]-->"><!--[pnimg src="links.gif"]--></a>
        </td>
        <td align="left" valign="top" width="23" height="30" background="<!--[$imagepath]-->/Buttonleiste/lei.jpg"></td>
        <td align="left" valign="top" width="10" height="30" background="<!--[$imagepath]-->/Buttonleiste/lei.jpg"></td>
        <td align="left" valign="top" width="23" height="30"><img src="<!--[$imagepath]-->/Buttonleiste/taskright_1.jpg"></td>
        <td align="middle" width="140" height="30" background="<!--[$imagepath]-->/Buttonleiste/taskright_2.jpg" class="pn-normal"><!--[datetime]--></td>
        <td bgcolor="#F5F5F5" background="<!--[$imagepath]-->/Buttonleiste/taskright_2.jpg" width="1" height="30"></td>
    </tr>
    </table>

    <table cellpadding="0" cellspacing="0" width="<!--[$pagewidth]-->" border="0" bgcolor="#E9E8EE">
    <tr>
        <td align="left" valign="top" width="185" height="14" bgcolor="#858DA5"><img src="<!--[$imagepath]-->/pixel.gif"></td>
        <td align="left" valign="top" width="17" height="14" background="<!--[$imagepath]-->/leiste/leiste_1.gif"><img src="<!--[$imagepath]-->/pixel.gif"></td>
        <td align="left" valign="top" height="15" bgcolor="<!--[$bgcolor]-->"><img src="<!--[$imagepath]-->/pixel.gif"></td>
        <td align="left" valign="top" width="14" height="14" bgcolor="<!--[$bgcolor]-->" <img src="<!--[$imagepath]-->/pixel.gif"></td>
        <td align="left" valign="top" width="185" height="14" bgcolor="<!--[$bgcolor]-->"><img src="<!--[$imagepath]-->/pixel.gif"></td>
    </tr>
    </table>
    <!-- BLOQUES DERECHO - CENTRAL - IZQUIERDO -->
    <table width="<!--[$pagewidth]-->" cellpadding="0" cellspacing="0" border="0" bgcolor="<!--[$bgcolor]-->" align="center">
    <tr valign="top">
        <td bgcolor="#858DA5"><img src="<!--[$imagepath]-->/pixel.gif" width="5" height="1" border="0" alt=""></td>
        <td valign="top" bgcolor="#858DA5" width="<!--[$lcolwidth]-->" background="<!--[$imagepath]-->/block_left/back.jpg">
            <!-- Left Block Start -->
            <!--[$leftblocks]-->
            <!--[theme]-->
            <!-- Left Block end -->
        </td>
        <td bgcolor="#858DA5"><img src="<!--[$imagepath]-->/pixel.gif" width="5" height="1" border="0" alt=""></td>
        <td bgcolor="#E9E8EE" background="<!--[$imagepath]-->/leiste/leiste_2.gif"><img src="<!--[$imagepath]-->/pixel.gif" width="17" height="1" border="0" alt=""></td>
        <td bgcolor="<!--[$bgcolor]-->"><img src="<!--[$imagepath]-->/pixel.gif" width="5" height="1" border="0" alt=""></td>      
        <td valign="top" align="middle" width="100%">
            <!-- Content Start -->         
            <!--[$centerblocks]-->         
            <!--[$maincontent]-->
            <!-- Content end -->
        </td>
        <td background="<!--[$imagepath]-->/block-right/side.gif"><img src="<!--[$imagepath]-->/pixel.gif" width="15" height="1" border="0" alt=""></td>
        <td valign="top" width="<!--[$rcolwidth]-->">
            <!-- Right Block Start -->
            <!--[$rightblocks]-->
            <!-- Right Block end -->
        </td>
    </tr>
    </table>
    <!-- FIN DE BLOQUES -->

    <!-- PIE DE PAGINA -->
    <table cellpadding="0" cellspacing="0" width="<!--[$pagewidth]-->" border="0" bgcolor="<!--[$bgcolor]-->">
    <tr>
        <td align="left" valign="top" width="185" height="14" bgcolor="#858DA5" background="<!--[$imagepath]-->/leiste/leiste_8.gif"><img src="<!--[$imagepath]-->/pixel.gif"></td>
        <td align="left" valign="top" width="17\" height="14" background="<!--[$imagepath]-->/leiste/leiste_7.gif"><img src="<!--[$imagepath]-->/pixel.gif"></td>
        <td align="
    left" valign="top" height="15\" bgcolor="<!--[$bgcolor]-->" background="<!--[$imagepath]-->/leiste/leiste_8.gif"><img src="<!--[$imagepath]-->/pixel.gif"></td>
        <td align="
    left" valign="top" width="14\" height="14" bgcolor="<!--[$bgcolor]-->" background="<!--[$imagepath]-->/leiste/leiste_8.gif"><img src="<!--[$imagepath]-->/pixel.gif"></td>
        <td align="
    left" valign="top" width="185\" height="14" bgcolor="<!--[$bgcolor]-->" background="<!--[$imagepath]-->/leiste/leiste_8.gif"><img src="<!--[$imagepath]-->/pixel.gif"></td>
    </tr>
    </table>
           
    <div style="
    text-align:center;" class="pn-sub">
    <!--[footmsg]-->
    <br /><br />
    <!--[nocache]--><!--[pagerendertime]--><!--[/nocache]--><!--[typetoolv80]-->
    </div>

    </body>
    </html>
  • Posted: 11.01.2006, 02:37
     
    Cleverdick
    rank:
    Softmore Softmore
    registered:
     January 2006
    Status:
    offline
    last visit:
    20.11.07
    Posts:
    96
    I'm not sure these are involved... I think it must have something to do with an incorrect image path somewhere.. maybe from within books module the code is "module/" and "images/" but from within the home page its "module" and "/images" so when I load books as home page, the two meet and I get module//images ??

    Shot in the dark - but sounds possible.

    books help forum is dead too :(

    --
    Visit http://freebets.freebetguide.com today!
  • Posted: 11.01.2006, 02:48
     
    ainigma32
    rank:
    Professional Professional
    registered:
     January 2004
    Status:
    offline
    last visit:
    22.03.06
    Posts:
    958
    Yeah the extra slash is preventing the images from showing. Don't know what's causing it though :?
  • Posted: 11.01.2006, 02:54
     
    Cleverdick
    rank:
    Softmore Softmore
    registered:
     January 2006
    Status:
    offline
    last visit:
    20.11.07
    Posts:
    96
    Spotted this in theme.php

    Code

    $thename = basename(dirname(__file__));
    $themepath = 'themes/'.$thename;
    $imagepath = $themepath.'/images';


    This would suggest the //

    tried:

    Code

    $thename = basename(dirname(__file__));
    $themepath = 'themes'.$thename;
    $imagepath = $themepath.'/images';


    and:

    Code

    $thename = basename(dirname(__file__));
    $themepath = 'themes/'.$thename;
    $imagepath = $themepath.'images';


    But neither work.

    Feel like i'm getting closer though!!!!
  • Posted: 11.01.2006, 03:45
     
    Cleverdick
    rank:
    Softmore Softmore
    registered:
     January 2006
    Status:
    offline
    last visit:
    20.11.07
    Posts:
    96
    Right... in bk navigation.php

    Code

    /**
     * index
     * Display the main books categories
     */

    function index($bkid, $highlight)
    {
        $dbconn =& pnDBGetConn(true);
        pnModDBInfoLoad('books');
        $pntable =& pnDBGetTables();
        $bookstable = $pntable['books_books'];
        $categoriestable = $pntable['books_categories'];
        $subcategoriestable = $pntable['books_subcategories'];

        $urlinsfunc=pnModGetVar('books','urlinsfunc');  
        $imagesdir=pnModGetVar('books','imagesdir');  
        $booksdir=pnModGetVar('books','booksdir');  
        $emptyimage=pnModGetVar('books','emptyimage');  
        $tablecolor=pnModGetVar('books','tablecolor');  
        $barcolor=pnModGetVar('books','barcolor');  
        $showsubcat=pnModGetVar('books','showsubcat');  
        $books_showed=pnModGetVar('books','books_showed');  
        $showlastbooks=pnModGetVar('books','showlastbooks');  

        include("header.php");
          //This routine may be called with a bkid from
      //admin.php to show a user's book view
        if (isset($bkid)) {
            menu(1);
            OpenTable();
            showbook($bkid, $highlight);
            if ($highlight=='') {
              $urlret = "modules.php?op=modload&amp;name=books&amp;file=index&amp;bkid=$bkid";
            } else {
              $urlret = "modules.php?op=modload&amp;name=books&amp;file=index&amp;bkid=$bkid&amp;highlight=$highlight";
            }
            echo pnModCallHooks('item', 'display', $bkid, $urlret);
            CloseTable();
            include 'footer.php';

        } else {
        $mainlink = 0;

        if (!pnSecAuthAction(0, 'books::', '::', ACCESS_READ)) {
            echo _BOOKSNOAUTH;
            include 'footer.php';
            exit;
        }

        $catcolumn = &$pntable['books_categories_column'];
        $result =& $dbconn->Execute("select $catcolumn[cid], $catcolumn[title], $catcolumn[cdescription]
                                  from $categoriestable
                                  ORDER BY $catcolumn[title]"
    );
        $numcats = $result->PO_RecordCount();
        if ($numcats == 0) {
            echo _NOCATEGORIES;
            include 'footer.php';
        } else {

            menu($mainlink);
            OpenTable();

            echo "<div style=\"text-align:center\"><span class=\"pn-title\">"._BOOKSMAINCAT."</span></div><br />";
            echo "<table width=\"100%\" border=\"0\" cellspacing=\"30\" cellpadding=\"0\" align=\"center\">
            <tr>
               <td valign=\"top\" width=\"50%\">"
    ;
            echo "<table border=\"0\" cellspacing=\"2\" cellpadding=\"0\" width=\"98%\" summary=\""._BOOKSMAINCAT."\">";

            $count = 0;
            while(list($cid, $title, $cdescription) = $result->fields)
            {
                $result->MoveNext();
                /* Hide this books category if have no access to it */
                if (!pnSecAuthAction(0, 'books::Category', "$title::$cid", ACCESS_READ)) {
                    continue;
                }
                if ($count