Easy-Design.Net forum




Aide générale [Réglé] Afficher les news sur mon index.php

tony Membre non connecté

EDN Motivé(e)

Rang

Avatar

Inscrit le : 30/11/2009 à 12h29

Messages: 345

Le 03/05/2010 à 16h26
Bonjour, j'aimerai savoir comment faire pour afficher les news sur ma page index.php avec la même mise en forme des news que ci on était sur la page news/news.php, voila mon index.php (au cas ou) :
Code PHP :
<?php
/*##################################################
 *                                index.php
 *                            -------------------
 *   begin                : August 23 2007
 *   copyright            : (C) 2007 CrowkaiT
 *   email                : [email protected]
 *
 *
###################################################
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 *
###################################################*/
 
define('PATH_TO_ROOT', '.');
include_once('./kernel/begin.php');
define('TITLE', 'montitre');
require_once('./kernel/header.php');
 
include_once('./cache/slide.php');
 
if(!empty($CONFIG_SLIDE['link']))
{
if(!file_exists('slide/slide.xml'))
{
$array = unserialize($CONFIG_SLIDE['link']);
gener_xml($array,true);
}
}
?>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width=" <?php echo $CONFIG_SLIDE['width'] ?> " height=" <?php echo $CONFIG_SLIDE['height'] ?> " id="dewslider4" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="./slide/dewslider.swf?xml=./slide/slide.xml" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="./slide/dewslider.swf?xml=./slide/slide.xml" quality="high" bgcolor="#ffffff" width=" <?php echo $CONFIG_SLIDE['width'] ?> " height=" <?php echo $CONFIG_SLIDE['height'] ?> " name="dewslider4" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
 
<?php
 
include_once('./kernel/footer.php');
?>


Merci beaucoup de votre aide Edité par tony Le 03/05/2010 à 16h28


Toutes l'équipe de easy-design.net sont des personnes très gentils et vraiment très forts :ok
Site web    
Swan Membre non connecté

Administrateur

Rang

Avatar

Inscrit le : 01/08/2009 à 22h53

Messages: 8431

Le 03/05/2010 à 17h36
:!: Sujet traité par Reidlos & KONA sur PHPBoost.

Désolée, CsN n'est pas la roue de secours de PBT. Je verrouille le sujet.


swan_signature

Site web    
Répondre
Sujet verrouillé, vous ne pouvez pas poster de message