incorporer une nouvelle page dans toutes les langues - Page 2 incorporer une nouvelle page dans toutes les langues - Page 2
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

incorporer une nouvelle page dans toutes les langues

Started by nounours, March 06, 2007, 12:06:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nounours

oui tout à fait mais ne connaissant pas le php .... :)

pour ceux qui font du copier coller je donne le code exacte

Quote
<?php
define('IN_COPPERMINE', true);
require('include/init.inc.php');
GLOBAL $USER;
pageheader('Your page title goes here');
// your actual page content starts here
include ('lang_bio.php');
$langbio=$USER['lang'];

    starttable("100%", '', 1);

   echo "<tr><td class='tableb'>". $lang_biographie[$langbio].'</td></tr>';

    endtable();
// your actual page content ends here
pagefooter();
ob_end_flush();
?>