Archives FluxBB.fr

Les archives de FluxBB.fr

Vous n'êtes pas identifié(e).

#1 15-10-2006 20:27:37

Express
Membre

Main.tpl ?

Salut tous wink

J'ai une page index qui est comme ceci :
[c]<?php
if ($cache->processPage(3600)):
    pxTemplateInit('remove_numbers');
    pxGetLastResources();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php pxInfo('lang'); ?>">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php pxInfo('encoding'); ?>" />
<meta name="MSSmartTagsPreventParsing" content="TRUE" />
<title><?php pxInfo('name'); ?></title>
<?php include(dirname(__FILE__).'/inc/head-link.php'); ?>
<?php pxHeadLinks(); ?>
<meta name="description" content="<?php pxInfo('description'); ?>" />
<?php include(dirname(__FILE__).'/inc/head-meta.php'); ?>

</head>
<body class="category">

<div id="page">
    <div id="banner">
    <?php include(dirname(__FILE__).'/inc/easy-access.php'); ?>
       
        <h1 id="top"><a href="<?php pxInfo('url'); ?>" accesskey="1"><?php pxInfo('name'); ?></a></h1>
        <p class="description"><?php pxInfo('description'); ?></p>
    </div><!-- end banner -->
   

<div id="main">
<div id="mainfloat">

    <div id="content">
        <?php while (!$last->EOF()): ?>
            <div class="resource">
            <h2><a href="<?php pxLastResPath(); ?>" title="<?php pxLastResTitle('%s'); ?>"><?php pxLastResTitle('%s'); ?></a></h2>
            <p class="modified">The <a href="<?php pxLastResPath(); ?>" title="Publish Date of: <?php pxLastResTitle('%s'); ?>"><?php pxLastResDateModification('%Y-%m-%d</a> at %H:%M'); ?> by <a href="<?php pxLastResAuthorEmail('mailto:%s'); ?>" title="<?php pxLastResAuthor(); ?>, publisher of <?php pxLastResTitle('%s'); ?>"><?php pxLastResAuthor(); ?></a></p>

            <?php pxLastResDescription(); ?>
            </div><!-- end resource -->
        <?php
        $last->moveNext();
        endwhile;
        ?>

        <hr class="invisible" />
    </div><!-- end content -->



    <div id="menuleft">
        <div class="col-content">
        <h2>Categories</h2>

        <?php pxPrimaryCategories('<ul id="top-categories">%s</ul>'); ?>

        <h2>Links</h2>
        <?php pxLink::linkList(); ?>

        <h2>In short</h2>
        <ul>
            <?php while (!$res->EOF()): ?>
            <li><a href="<?php pxResPath(); ?>" title="<?php pxResTitle(); ?>"><?php pxResTitle(); ?></a></li>
            <?php
            $res->moveNext();
            endwhile; ?>
        </ul>
        </div><!-- col-content -->
    </div><!-- end menuleft -->

</div><!-- end mainfloat -->



    <div id="menuright">
        <div class="col-content">
            <?php include(dirname(__FILE__).'/inc/recent-news.php'); ?>
            <?php include(dirname(__FILE__).'/inc/rss-sitemap.php'); ?>
        </div><!-- col-content -->
    </div><!-- end menuright -->



</div><!-- end main -->

<?php include(dirname(__FILE__).'/inc/footer.php'); ?>
<?php
    $cache->endCache();
endif;
?>[/c]
Puis je inclure le code punBB la dedans ?
Ou dois je mettre le : <pun_head>

Hors ligne

#2 15-10-2006 20:53:48

vin100
Membre

Re : Main.tpl ?

huh

qu'elle est la différence entre une enclume ?

Hors ligne

#3 15-10-2006 22:04:44

Express
Membre

Re : Main.tpl ?

c'est bien ce que je pensais....donc je peux pas le mettre dans la div"content"... sad

Dernière modification par Express (15-10-2006 22:09:37)

Hors ligne

Pied de page des forums