Keyword olmayan kullandığım sürüm: // index.php
$config['title'] = trim( !empty( $aData['sTitle'] ) ? $aData['sTitle'].' - '.$config['title'] : ( ( !isset( $config['display_homepage_name_title'] ) && $config['current_page_id'] == $config['start_page'] ) ? $config['title'] : strip_tags( $aData['sName'] ).' - '.$config['title'] ) );
$config['description'] = !empty( $aData['sDescriptionMeta'] ) ? $aData['sDescriptionMeta'] : ( isset( $config['dynamic_meta_description'] ) ? generateDynamicMetaDescription( $aData ) : $config['description'] );
$aData['sPagesTree'] = $oPage->getPagesTree( $aData['iPage'] );
$aThemes = throwThemeFiles( $aData['iTheme'] );
if( empty( $aData['sDescriptionFull'] ) && !empty( $aData['sDescriptionShort'] ) )
$aData['sDescriptionFull'] = $aData['sDescriptionShort'];
$aData['sDescriptionFull'] = changeYoutubeLinks( $aData['sDescriptionFull'] );// header.php
<title><?php echo $config['title']; ?></title>
<meta name="description" content="<?php echo $config['description']; ?>" />
<meta name="generator" content="Quick.Cms.Ext v<?php echo $config['version']; ?>" />
<?php
if( isset( $aData['iMetaRobots'] ) && $aData['iMetaRobots'] > 0 && isset( $config['meta_robots_options'][$aData['iMetaRobots']] ) ){?>
<meta name="robots" content="<?php echo $config['meta_robots_options'][$aData['iMetaRobots']][1]; ?>" /> Keyword olan eski sürüm , bu sürüm'de verileri sqlite db'den çekmiyor php dosyasından çekiyor: // index.php
$sKeywords = $config['keywords'];
$sDescription = $config['description'];
if( isset( $iContent ) && is_numeric( $iContent ) ){
$aData = $oPage->throwPage( $iContent );
if( isset( $aData ) ){
if( !empty( $aData['sUrl'] ) ){
header( 'Location: '.$aData['sUrl'] );
exit;
}
if( !empty( $aData['sMetaKeywords'] ) )
$sKeywords = $aData['sMetaKeywords'];
if( !empty( $aData['sMetaDescription'] ) )
$sDescription = $aData['sMetaDescription'];
else{
if( $config['dynamic_meta_description'] === true )
$sDescription = generateDynamicMetaDescription( $aData );
}
if( !empty( $aData['sTheme'] ) )
$sTheme = $aData['sTheme'];
else{
if( $config['inherit_from_parents'] === true && !empty( $aData['iPageParent'] ) && !empty( $oPage->aPages[$aData['iPageParent']]['sTheme'] ) ){
$sTheme = $oPage->aPages[$aData['iPageParent']]['sTheme'];
}
}
if( empty( $aData['sDescriptionFull'] ) && !empty( $aData['sDescriptionShort'] ) )
$aData['sDescriptionFull'] = $aData['sDescriptionShort'];
$aSocialLinks = $oPage->throwLinksToPage( $iContent );
$aData['sPagesTree'] = $oPage->throwPagesTree( $iContent );
$sTitle = trim( !empty( $aData['sNameTitle'] ) ? $aData['sNameTitle'] : strip_tags( $aData['sName'] ) );
if( !empty( $sTitle ) )
$sTitle .= ' - ';
if( isset( $aData['sDescriptionFull'] ) )
$aData['sDescriptionFull'] = changeTxt( $aData['sDescriptionFull'], 'nlNds' );
}// header.php
<title><?php echo $sTitle.$config['title']; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config['charset']; ?>" />
<meta name="Language" content="<?php echo $config['language']; ?>" />
<meta name="Description" content="<?php echo $sDescription; ?>" />
<meta name="Keywords" content="<?php echo $sKeywords; ?>" />
<meta name="Generator" content="Quick.Cms.Ext v<?php echo $config['version']; ?>" />