| [ Index ] |
|
Code source de e107 0.7.8 |
1 <?php 2 /* 3 + ----------------------------------------------------------------------------+ 4 | e107 website system 5 | 6 | Steve Dunstan 2001-2002 7 | http://e107.org 8 | jalist@e107.org 9 | 10 | Released under the terms and conditions of the 11 | GNU General Public License (http://gnu.org). 12 | 13 | $Source: /cvsroot/e107/e107_0.7/e107_plugins/content/e_meta.php,v $ 14 | $Revision: 1.1 $ 15 | $Date: 2006/11/06 10:43:35 $ 16 | $Author: lisa_ $ 17 +----------------------------------------------------------------------------+ 18 */ 19 if (!defined('e107_INIT')) { exit; } 20 21 echo "<script type='text/javascript' src='".e_FILE."popup.js'></script>\n"; 22 23 if(e_QUERY){ 24 $qs = explode(".", e_QUERY); 25 26 if(is_numeric($qs[0])){ 27 $from = array_shift($qs); 28 }else{ 29 $from = "0"; 30 } 31 } 32 if(isset($qs[0]) && $qs[0] == "content" && isset($qs[1]) && is_numeric($qs[1]) ){ 33 $add_meta_keywords = ''; 34 //meta keywords from content item 35 if($sql -> db_Select('pcontent', "content_meta", "content_id='".intval($qs[1])."'")){ 36 list($row['content_meta']) = $sql -> db_Fetch(); 37 $exmeta = $row['content_meta']; 38 if($exmeta != ""){ 39 $exmeta = str_replace(", ", ",", $exmeta); 40 $exmeta = str_replace(" ", ",", $exmeta); 41 $exmeta = str_replace(",", ", ", $exmeta); 42 $add_meta_keywords = $exmeta; 43 } 44 } 45 if($add_meta_keywords){ 46 define("META_MERGE", TRUE); 47 define("META_KEYWORDS", " ".$add_meta_keywords); 48 } 49 } 50 51 52 ?>
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 |