1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 include xenforo in php page

Discussion in 'XenForo Questions and Support' started by tryolivier, Oct 7, 2015.

  1. tryolivier

    tryolivier Member

    hello,

    I need to include xenforo modules, tabs styles and others to :


    http://www.maxi-games.fr/les-grades.php

    I try with include but I don't know what include


    My php code :


    Code:
    <?php
    
    $titre_page = "Les grades";
    
    include("include/init.php");
    
    include("include/header.php");
    
    ?>
    
    < div class="contenant">
    
    < div id="all">
    
    < div id="content" class="cms">
    
    
    
    
    < style>
    
    #content.cms td { padding:5px; border:1px solid grey; text-align: center;}
    
    #content.cms tr:nth-child(even) { background-color:#FAFAFA;}
    
    #content.cms h1 {text-align: center;}
    
    #content.cms p {font-weight:bold; text-align: center;}
    
    #content.cms p.images {font-weight:normal; text-align: left;}
    
    #content.cms p.images img{border:1px solid grey; margin: 0px;}
    
    #content.cms p.images img:hover {border:1px solid black;}
    
    #content.cms table {width:100%;}
    
    #content.cms td img {height:16px; position: relative; top:-1px; vertical-align: middle;}
    
    #content.cms tr.titre td {font-weight:bold;}
    
    < /style>
    
    < br>
    
    < h1>Informations sur les grades</h1>
    
    < br>
    
    < p>Sur <?php echo $titre; ?> vous avez plusieurs grades.</p><br>
    
    < br>
    
    < br>
    
    < p class="MsoNormal" style="text-align: center;"
    
    align="center"><u><span
    
    style="font-size: 28pt; line-height: 107%; font-family: &quot;Arial&quot;,sans-serif;">LES
    
    GRADES<o:p></o:p></span></u></p>
    
    < br>
    
    < br>
    
    < p class="MsoNormal"><u><span
    
    style="font-size: 12pt; line-height: 107%; font-family: &quot;Arial&quot;,sans-serif;"><o:p><span
    
    style="text-decoration: none;"></span></o:p></span></u></p>
    
    ...
    
    < /table>
    
    < br>
    
    < /div>
    
    < /div>
    
    < /div>
    
    
    
    
    < ?php include("include/footer.php"); ?>



    I don't know how include xenforo modules please help me =)



    have a good day
     

Share This Page