[ Index ] |
|
Code source de e107 0.7.8 |
1 <?php 2 3 if (!defined('e107_INIT')) { exit; } 4 5 @include_once(e_PLUGIN.'content/languages/'.e_LANGUAGE.'/lan_content_frontpage.php'); 6 @include_once(e_PLUGIN.'content/languages/English/lan_content_frontpage.php'); 7 8 $sql2 = new db; 9 if ($sql2 -> db_Select("pcontent", "content_id, content_heading", "LEFT(content_parent,1)='0'")) { 10 while ($row = $sql2 -> db_Fetch()) { 11 $front_page['content_'.$row['content_id']]['title'] = CONT_FP_1.': '.$row['content_heading']; 12 $front_page['content_'.$row['content_id']]['page'][] = array('page' => $PLUGINS_DIRECTORY.'content/content.php?recent.'.$row['content_id'], 'title' => $row['content_heading'].' '.CONT_FP_2); 13 if ($sql -> db_Select("pcontent", "content_id, content_heading", "content_parent = '".$row['content_id']."' ORDER BY content_heading")){ 14 while ($row2 = $sql -> db_Fetch()) { 15 $front_page['content_'.$row['content_id']]['page'][] = array('page' => $PLUGINS_DIRECTORY.'content/content.php?content.'.$row2['content_id'], 'title' => $row2['content_heading']); 16 } 17 } 18 } 19 } 20 21 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Apr 1 01:23:32 2007 | par Balluche grâce à PHPXref 0.7 |