This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dosya: engine/modules/show.full.php | |
Bul : | |
-----------------8<----------------------- | |
if( $row['votes'] ) $tpl->set( '{poll}', $tpl->result['poll'] ); | |
-----------------8<----------------------- | |
Üstüne Ekle : | |
-----------------8<----------------------- | |
// Broken Links |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// İlave alan çoklu arama | |
} elseif ($do == 'xfsearch') { | |
if ($cstart) { | |
$cstart = $cstart - 1; | |
$cstart = $cstart * $config['news_number']; | |
} | |
$fields = array( | |
'year' => "Yıl", | |
'country' => "Ülke", | |
'rating' => "Değerlendirme", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dosya : engine/modules/functions.php | |
Bul : | |
----------------8<--------------------- | |
global $db, $is_logged, $member_id, $xf_inited, $cat_info, $config, $user_group, $category_id, $_TIME, $lang, $smartphone_detected, $dle_module, $allow_comments_ajax, $PHP_SELF, $news_date, $banners, $banner_in_news, $url_page, $user_query, $custom_news, $global_news_count; | |
----------------8<--------------------- | |
İle değiştir ( Yani arasına $_custom_xfield ekle ): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if( $config['allow_banner'] ) include_once ENGINE_DIR . '/modules/banners.php'; | |
if( $config['allow_banner'] AND count( $banners ) ) { | |
foreach ( $banners as $name => $value ) { | |
$tpl->result['content'] = str_replace( "{banner_" . $name . "}", $value, $tpl->result['content'] ); | |
if ( $value ) { | |
$tpl->result['content'] = str_replace ( "[banner_" . $name . "]", "", $tpl->result['content'] ); | |
$tpl->result['content'] = str_replace ( "[/banner_" . $name . "]", "", $tpl->result['content'] ); | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
} elseif( $config['files_count'] ) { | |
$replace_1[] = "<span class=\"attachment\">[{$size}] ({$lang['att_dcount']} {$row['dcount']}) <a href=\"{$config['http_home_url']}engine/download.php?id={$row['id']}{$area}\" >{$row['name']}</a></span>"; | |
$replace_2[] = "<span class=\"attachment\">[{$size}] ({$lang['att_dcount']} {$row['dcount']}) <a href=\"{$config['http_home_url']}engine/download.php?id={$row['id']}{$area}\" >\\1</a></span>"; | |
} else { | |
$replace_1[] = "<span class=\"attachment\">[{$size}] <a href=\"{$config['http_home_url']}engine/download.php?id={$row['id']}{$area}\" >{$row['name']}</a></span>"; | |
$replace_2[] = "<span class=\"attachment\">[{$size}] <a href=\"{$config['http_home_url']}engine/download.php?id={$row['id']}{$area}\" >\\1</a></span>"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
DLE MySQL Connect Example | |
Author: Mehmet Hanoğlu ( MaRZoCHi ) | |
*/ | |
define ( 'DATALIFEENGINE', true ); | |
define ( 'ROOT_DIR', dirname ( __FILE__ ) ); | |
define ( 'ENGINE_DIR', ROOT_DIR . '/engine' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.highslide-wrapper, .highslide-outline { | |
background: #FFFFFF; | |
} | |
.highslide-image { | |
border: 2px solid #FFFFFF; | |
} | |
.highslide-active-anchor { | |
visibility: hidden; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#mansetx { | |
float: left; | |
border: 1px #ccc solid; | |
} | |
#mansetx-selector ul { | |
float: left; | |
width: 100%; | |
height: 30px; | |
background: #f1f1f1; | |
margin:0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Custom Attachments v1.2 | |
if( strpos( $tpl->copy_template, "{attach " ) !== false ) { | |
preg_match( "#\{attach\s(.*?)\}#", $tpl->copy_template, $matches ); $param_str = $matches[1]; | |
$attach = array( "order" => "date", "by" => "DESC" ); | |
if( preg_match( "#xfield=['\"](.+?)['\"]#i", $param_str, $match ) ) { $attach['xfield'] = $db->safesql( $match[1] ); } | |
if( preg_match( "#story=['\"](.+?)['\"]#i", $param_str, $match ) ) { $attach['story'] = $db->safesql( $match[1] ); } | |
if( preg_match( "#ignore=['\"](.+?)['\"]#i", $param_str, $match ) ) { $attach['ignore'] = $db->safesql( $match[1] ); } | |
if( preg_match( "#template=['\"](.+?)['\"]#i", $param_str, $match ) ) { $attach['template'] = $db->safesql( $match[1] ); } | |
if( preg_match( "#order=['\"](.+?)['\"]#i", $param_str, $match ) ) { $attach['order'] = ( empty( $match[1] ) ) ? "date" : $db->safesql( $match[1] ); } | |
if( preg_match( "#by=['\"](.+?)['\"]#i", $param_str, $match ) ) { $attach['by'] = ( empty( $match[1] ) ) ? "DESC" : $db->safesql( $m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-license.org/ | |
*/ | |
.hljs { | |
display: block; | |
overflow-x: auto; | |
padding: 0.5em; |
OlderNewer