Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by deZender.Net
- * @ deZender (PHP5 Decoder for ionCube Encoder)
- *
- * @ Version : 1.1.5.0
- * @ Author : DeZender
- * @ Release on : 09.06.2012
- * @ Official site : http://DeZender.Net
- *
- **/
- function add_custom_taxonomies() {
- register_taxonomy( 'imdb', 'post', array( 'hierarchical' => false, 'labels' => array( 'name' => _x( 'IMDB', 'taxonomy general name' ), 'singular_name' => _x( 'IMDB Puanı', 'taxonomy singular name' ), 'search_items' => __( 'IMDB Puanı ara' ), 'all_items' => __( 'Tüm IMDB Puanları' ), 'edit_item' => __( 'IMDB Puanı düzenle' ), 'update_item' => __( 'IMDB Puanı güncelle' ), 'add_new_item' => __( 'Yeni IMDB Puanı ekle' ), 'new_item_name' => __( 'Yeni IMDB Puanı' ), 'menu_name' => __( 'IMDB Puanlary' ) ), 'rewrite' => array( 'slug' => 'imdb', 'with_front' => false, 'hierarchical' => false ) ) );
- register_taxonomy( 'oyuncu', 'post', array( 'hierarchical' => false, 'labels' => array( 'name' => _x( 'Oyuncu', 'taxonomy general name' ), 'singular_name' => _x( 'Oyuncu', 'taxonomy singular name' ), 'search_items' => __( 'Oyuncu ara' ), 'all_items' => __( 'Tüm oyuncular' ), 'edit_item' => __( 'Oyuncu düzenle' ), 'update_item' => __( 'Oyuncu güncelle' ), 'add_new_item' => __( 'Yeni oyuncu ekle' ), 'new_item_name' => __( 'Yeni oyuncu adı' ), 'menu_name' => __( 'Oyuncular' ) ), 'rewrite' => array( 'slug' => 'oyuncu', 'with_front' => false, 'hierarchical' => false ) ) );
- register_taxonomy( 'yapim', 'post', array( 'hierarchical' => false, 'labels' => array( 'name' => _x( 'Yapım Yılı', 'taxonomy general name' ), 'singular_name' => _x( 'Yapım Yılı', 'taxonomy singular name' ), 'search_items' => __( 'Yapım Yılı ara' ), 'all_items' => __( 'Tüm yıllar' ), 'edit_item' => __( 'Yapım Yılı düzenle' ), 'update_item' => __( 'Yapım Yılı güncelle' ), 'add_new_item' => __( 'Yeni Yapım Yılı ekle' ), 'new_item_name' => __( 'Yeni Yapım Yılı' ), 'menu_name' => __( 'Yapım Yılı' ) ), 'rewrite' => array( 'slug' => 'yapim', 'with_front' => false, 'hierarchical' => false ) ) );
- register_taxonomy( 'yonetmen', 'post', array( 'hierarchical' => false, 'labels' => array( 'name' => _x( 'Yönetmen', 'taxonomy general name' ), 'singular_name' => _x( 'Yönetmen', 'taxonomy singular name' ), 'search_items' => __( 'Yönetmen ara' ), 'all_items' => __( 'Tüm yönetmenler' ), 'edit_item' => __( 'Yönetmen düzenle' ), 'update_item' => __( 'Yönetmen güncelle' ), 'add_new_item' => __( 'Yeni yönetmen ekle' ), 'new_item_name' => __( 'Yeni yönetmen adı' ), 'menu_name' => __( 'Yönetmenler' ) ), 'rewrite' => array( 'slug' => 'yonetmen', 'with_front' => false, 'hierarchical' => false ) ) );
- register_taxonomy( 'senaryo', 'post', array( 'hierarchical' => false, 'labels' => array( 'name' => _x( 'Senaryo', 'taxonomy general name' ), 'singular_name' => _x( 'Senaryo', 'taxonomy singular name' ), 'search_items' => __( 'Senarist ara' ), 'all_items' => __( 'Tüm Senaristler' ), 'edit_item' => __( 'Senarist düzenle' ), 'update_item' => __( 'Senarist güncelle' ), 'add_new_item' => __( 'Yeni Senarist Ekle' ), 'new_item_name' => __( 'Yeni Senarist Adı' ), 'menu_name' => __( 'Senaristler' ) ), 'rewrite' => array( 'slug' => 'yonetmen', 'with_front' => false, 'hierarchical' => false ) ) );
- }
- function menurenk($items) {
- global $sonradanrenk;
- global $arkarenk;
- foreach ($items as ) {
- $item = &[0];
- $item->classes[] = $sonradanrenk . ' ' . $arkarenk;
- }
- return $items;
- }
- function manset() {
- global $arkarenk;
- global $mansetgetir;
- global $manset;
- global $res;
- global $turu;
- global $cozu;
- global $otomatik;
- if (( is_home( ) && !is_paged( ) )) {
- if ($manset == 1) {
- echo '<div style="margin:0px auto;">';
- $i = 12;
- WP_Query;
- new ( $mansetgetir );
- $post = ;
- while ($post->have_posts( )) {
- $post->the_post( );
- ++$i;
- if (( ( ( ( ( ( ( $i == 1 || $i == 4 ) || $i == 7 ) || $i == 10 ) || $i == 13 ) || $i == 16 ) || $i == 19 ) || $i == 22 )) {
- echo '<div class="sliderbox">';
- }
- if (( ( ( ( ( ( ( $i == 1 || $i == 6 ) || $i == 7 ) || $i == 12 ) || $i == 13 ) || $i == 18 ) || $i == 19 ) || $i == 24 )) {
- $width = 143;
- $height = 184;
- $class = 'buyuk';
- }
- else {
- $width = 75;
- $height = 97;
- $class = 'kucuk';
- }
- echo '
- <a href="';
- the_permalink( );
- echo '" title="';
- the_title( );
- echo '"><img src="';
- if ($otomatik == 'yes') {
- echo get_option( 'home' );
- echo '/wp-content/themes/FullHDFilmler.Net/boyut.php?src=';
- echo get_post_meta( get_the_ID( ), $res, true );
- echo '&w=';
- echo $width;
- echo '&h=';
- echo $height;
- echo '&a=c ';
- }
- else {
- echo get_post_meta( get_the_ID( ), $res, true );
- }
- echo '" width="';
- echo $width;
- echo '" height="';
- echo $height;
- echo '" alt="';
- the_title( );
- echo '" class="sliderresim';
- echo $class;
- echo '" /></a>
- ';
- if (( ( ( ( ( ( ( $i == 3 || $i == 6 ) || $i == 9 ) || $i == 12 ) || $i == 15 ) || $i == 18 ) || $i == 21 ) || $i == 24 )) {
- echo '</div>';
- continue;
- }
- }
- echo '</div>
- </div>
- <div id="content" style="margin-top:4px;" class="' . $arkarenk . ' oval3">';
- return null;
- }
- if ($manset == 2) {
- echo ' <div id="manset-ayesoft" class="jcarousel-container jcarousel-container-horizontal">
- <div style="overflow: hidden; position: relative;" class="jcarousel-clip jcarousel-clip-horizontal">
- <ul style="overflow: hidden; position: relative; top: 0px; margin: 0px; padding: 0px; left: 0px; width: 2292px;" class="jcarousel-list jcarousel-list-horizontal" id="mans">
- ';
- WP_Query;
- new ( $mansetgetir );
- $post = ;
- while ($post->have_posts( )) {
- $post->the_post( );
- echo '
- <li jcarouselindex="1" style="float: left; list-style: none outside none;" class="jcarousel-item jcarousel-item-horizontal jcarousel-item-1 jcarousel-item-1-horizontal">
- <div class="ayelist2">
- ';
- get_post_meta( get_the_ID( ), $turu, 'true' );
- $tur = ;
- if (!$tur) {
- get_option( 'turdefault' );
- $tur = ;
- }
- echo '<div class="ayelist2-tur ' . $tur . '"> </div>';
- echo '
- ';
- get_post_meta( get_the_ID( ), $res, true );
- $resim = ;
- if (!$resim) {
- get_option( 'resimdefault' );
- $resim = ;
- }
- echo ' <a href="';
- the_permalink( );
- echo '" title="';
- the_title( );
- echo ' izle"><img class="ayelist-resim" src="';
- if ($otomatik == 'yes') {
- echo get_option( 'home' );
- echo '/wp-content/themes/FullHDFilmler.Net/boyut.php?src=';
- echo get_post_meta( get_the_ID( ), $res, true );
- echo '&w=160&h=250&a=c ';
- }
- else {
- echo get_post_meta( get_the_ID( ), $res, true );
- }
- echo '" alt="';
- the_title( );
- echo '" width="160" height="250" /></a>
- <div class="spp ';
- echo $arkarenk;
- echo '">
- <a href="';
- the_permalink( );
- echo '" rel="bookmark" title="';
- the_title_attribute( );
- echo '">';
- echo get_the_title( );
- echo '</a>
- </div>
- <div class="ayelist2-alt">
- <div class="ayelist2-alt-izlenme">';
- if (function_exists( 'the_views' )) {
- the_views( );
- }
- echo '</div>
- ';
- get_post_meta( get_the_ID( ), $cozu, 'true' );
- $coz = ;
- if (!$coz) {
- get_option( 'cozdefault' );
- $coz = ;
- }
- echo '<div class="sagla p' . $coz . '"> </div>';
- echo '
- </div>
- </div>
- </li>
- ';
- }
- echo '
- </ul>
- </div>
- </div>
- </div>
- <div id="content" style="margin-top:4px;" class="';
- echo $arkarenk;
- echo ' oval3">
- ';
- }
- }
- }
- function gununfilmi() {
- global $res;
- global $renk;
- if (get_option( 'gununfilmigoster' ) == 'yes') {
- query_posts( 'showposts=1&cat=' . get_option( 'gununfilmikategori' ) );
- while (have_posts( )) {
- the_post( );
- echo '
- <div class="gununfilmi ';
- echo $renk;
- echo '">
- <img src="';
- bloginfo( 'template_url' );
- echo '/images/gununfilmi.png" alt="gunun filmi" class="gunfilm" width="90" height="253" />
- <a href="';
- the_permalink( );
- echo '" title="';
- the_title( );
- echo '"><img src="';
- if ($otomatik == 'yes') {
- echo get_option( 'home' );
- echo '/wp-content/themes/FullHDFilmler.Net/boyut.php?src=';
- echo get_post_meta( get_the_ID( ), $res, true );
- echo '&w=168&h=253&a=c ';
- }
- else {
- echo get_post_meta( get_the_ID( ), $res, true );
- }
- echo '" width="168" height="253" alt="';
- the_title( );
- echo '" class="guncover" /></a>
- </div>
- ';
- }
- }
- }
- function headtags() {
- global $manset;
- global $lazy;
- echo '
- <head profile="http://gmpg.org/xfn/11">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" href="';
- bloginfo( 'stylesheet_url' );
- echo '" type="text/css" media="screen" />
- <link rel="alternate" type="application/rss+xml" title="';
- bloginfo( 'name' );
- echo ' RSS Feed" href="';
- bloginfo( 'rss2_url' );
- echo '" />
- <link rel="pingback" href="';
- bloginfo( 'pingback_url' );
- echo '" />
- <title>';
- bloginfo( 'name' );
- echo ' ';
- if (is_single( )) {
- echo ' ';
- }
- echo ' ';
- wp_title( );
- echo '</title>
- ';
- echo '<s';
- echo 'cript type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script>
- ';
- echo '<s';
- echo 'cript type="text/javascript" src="';
- bloginfo( 'template_url' );
- echo '/js/ayesoft.js"></script>
- ';
- if ($lazy == 'yes') {
- echo '<script type="text/javascript" src="';
- bloginfo( 'template_url' );
- echo '/js/jquery.lazyload.js"></script>';
- }
- echo ' ';
- if (get_option( 'bgurl' )) {
- echo '<style>body { background:#000 url(\'' . get_option( 'bgurl' ) . '\') top center repeat;background-attachment:fixed; }</style>';
- }
- else {
- if (get_option( 'bgcl' )) {
- echo '<style>body { background:#' . get_option( 'bgcl' ) . '; }</style>';
- }
- }
- echo '
- ';
- wp_head( );
- echo ' ';
- if ($manset == 2) {
- echo ' ';
- echo '<s';
- echo 'cript type="text/javascript" src="';
- bloginfo( 'template_url' );
- echo '/js/jquery.jcarousel.min.js"></script>
- ';
- echo '<s';
- echo 'cript type="text/javascript">
- function mycarousel_initCallback(carousel)
- {
- carousel.buttonNext.hover(function() {
- carousel.stopAuto();
- }, function() {
- carousel.startAuto();
- });
- carousel.buttonPrev.hover(function() {
- carousel.stopAuto();
- }, function() {
- carousel.startAuto();
- });
- // Pause autoscrolling if the user moves with the cursor over the clip.
- carousel.clip.h';
- echo 'over(function() {
- carousel.stopAuto();
- }, function() {
- carousel.startAuto();
- });
- };
- jQuery(document).ready(function() {
- jQuery(\'#manset-ayesoft\').jcarousel({
- auto: 2,
- wrap: \'circular\',
- initCallback: mycarousel_initCallback
- });
- });
- </script>
- ';
- }
- echo get_option( 'head' );
- echo '
- ';
- }
- function yazi_yonlendir() {
- global $wpdb;
- $query = '' . 'SELECT ID FROM ' . $wpdb->posts . ' WHERE post_type = \'post\' AND post_password = \'\' AND post_status = \'publish\' ORDER BY RAND() LIMIT 1';
- if (isset( $_GET['random_cat_id'] )) {
- $random_cat_id = (int)$_GET['random_cat_id'];
- $query = '' . 'SELECT DISTINCT ID FROM ' . $wpdb->posts . ' AS p INNER JOIN ' . $wpdb->term_relationships . ' AS tr ON (p.ID = tr.object_id AND tr.term_taxonomy_id = ' . $random_cat_id . ') INNER JOIN ' . $wpdb->term_taxonomy . ' AS tt ON(tr.term_taxonomy_id = tt.term_taxonomy_id AND taxonomy = \'category\') WHERE post_type = \'post\' AND post_password = \'\' AND post_status = \'publish\' ORDER BY RAND() LIMIT 1';
- }
- if (isset( $_GET['random_post_type'] )) {
- preg_replace( '|[^a-z]|i', '', $_GET['random_post_type'] );
- $post_type = ;
- $query = '' . 'SELECT ID FROM ' . $wpdb->posts . ' WHERE post_type = \'' . $post_type . '\' AND post_password = \'\' AND post_status = \'publish\' ORDER BY RAND() LIMIT 1';
- }
- $wpdb->get_var( $query );
- $random_id = ;
- wp_redirect( get_permalink( $random_id ) );
- exit( );
- }
- function author() {
- global $authordata;
- get_the_author( );
- $nick = ;
- get_the_author_email( );
- $mail = ;
- $gravatar = 'http://www.gravatar.com/avatar.php?gravatar_id=' . md5( $mail );
- $div_id = 'a' . get_the_ID( );
- get_author_posts_url( $authordata->ID, $authordata->user_nicename );
- $author_posts_link = ;
- $hidden_div = '<span id="' . $div_id . '" class="mydiv" style="display:none;"><img src="' . $gravatar . '" alt="gravatar" /><span class="ae_close"><a href="javascript:;" onmousedown="toggleDiv(\'' . $div_id . '\');">Kapat</a></span><span class="ae_top"><b>Yazar: ' . get_the_author( ) . '</b></span>
- <span class="ae_body"><b>Adı</b>: ' . get_the_author_firstname( ) . ' ' . get_the_author_lastname( ) . '<br /><b>Email:</b> ' . get_the_author_email( ) . '<br /><b>Site:</b> <a href="' . get_the_author_url( ) . '">' . get_the_author_url( ) . '</a><br /></span><span class="ae_about"><b>Hakkında:</b> ' . get_the_author_description( ) . '</span><span class="ae_body"><a href="' . $author_posts_link . '">Tüm yazılarını göster</a> (' . get_the_author_posts( ) . ')</span></span>';
- echo '<a href="javascript:;" onmousedown="toggleDiv(\'' . $div_id . '\');">' . $nick . '</a>' . $hidden_div;
- }
- function ballon_setcontent($contenido_post) {
- preg_match_all( '/\[(.*?)\|(.*?)\]/', $contenido_post, $ToolTiposIDs );
- foreach ($ToolTiposIDs[0] as $tooltip) {
- $Instancia = ;
- strpos( $Instancia, '|' );
- $palillo = ;
- substr( $Instancia, 1, $palillo - 1 );
- $palabrasubrayada = ;
- $tooltip = ;
- substr( $tooltip, 0, strlen( $tooltip ) - 1 );
- $SpanToolTipo = '<span class="ballon" onmouseover="tooltip.show(' . '\'' . $tooltip . '\'' . ');" onmouseout="tooltip.hide();">' . $palabrasubrayada . '</span> ';
- str_replace( $Instancia, $SpanToolTipo, $contenido_post );
- $contenido_post = substr( $Instancia, $palillo + 1 );
- }
- return $contenido_post;
- }
- function wpbx_comment($comment, $args, $depth) {
- $GLOBALS['comment'] = $comment;
- get_comment_author_link( );
- $commenter = ;
- if (ereg( '<a[^>]* class=[^>]+>', $commenter )) {
- ereg_replace( '(<a[^>]* class=[\'"]?)', '\1url ', $commenter );
- $commenter = ;
- }
- else {
- ereg_replace( '(<a )/', '\1class="url "', $commenter );
- $commenter = ;
- }
- get_comment_author_email( );
- $avatar_email = ;
- get_bloginfo( 'template_directory' );
- $avatarURL = ;
- str_replace( 'class=\'avatar', 'class=\'avatar', get_avatar( $avatar_email, 40, $default = $avatarURL . '/images/avatar.jpg' ) );
- $avatar = ;
- echo ' <li ';
- comment_class( );
- echo ' id="comment-';
- comment_ID( );
- echo '">
- <div id="div-comment-';
- comment_ID( );
- echo '">
- <div class="comment-author vcard">
- ';
- echo $avatar . ' <span class="fn n">' . $commenter . '</span>';
- echo ' </div>
- <div class="comment-meta">
- ';
- printf( __( '%1$s' ), get_comment_date( ), get_comment_time( ), '#comment-' . get_comment_ID( ) );
- echo ' ';
- echo '<s';
- echo 'pan class="reply-link">
- ';
- echo '<s';
- echo 'pan class="meta-sep">|</span> ';
- comment_reply_link( array_merge( $args, array( 'add_below' => 'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) );
- echo ' </span> ';
- echo '<s';
- echo 'pan class="ratings"> ';
- if (function_exists( ckrating_display_karma )) {
- ckrating_display_karma( );
- }
- echo '</span>
- </div>
- ';
- if ($comment->comment_approved == '0') {
- _e( ' <span class=\'unapproved\'>Yorumunuz onay bekliyor.</span>
- ', 'wpbx' );
- }
- echo '
- <div class="comment-content">';
- comment_text( );
- echo '</div>
- </div>
- ';
- }
- function wpbx_comments($file) {
- if (!function_exists( 'wp_list_comments' )) {
- $file = TEMPLATEPATH . '/comments.old.php';
- }
- return $file;
- }
- function comment_add_microid($classes) {
- get_comment_author_email( );
- $c_email = ;
- get_comment_author_url( );
- $c_url = ;
- if (( !empty( $c_email ) && !empty( $c_url ) )) {
- $microid = 'microid-mailto+http:sha1:' . sha1( sha1( 'mailto:' . $c_email ) . sha1( $c_url ) );
- $classes[] = $microid;
- }
- return $classes;
- }
- function rel_nofollow($icerik) {
- return $icerik;
- }
- function cevir($string) {
- $eng = array( 'ş', 'ş', 'ğ', 'ğ', 'ı', 'İ', 'ç', 'Ç', 'ö', 'Ö', 'ü', 'Ü', '’', '‘ ' );
- $tr = array( 'ş', 'Ş', 'ğ', 'Ğ', 'ı', 'İ', 'ç', 'Ç', 'ö', 'Ö', 'ü', 'Ğ', '\'', '\'' );
- $string = str_replace( $eng, $tr, $string );
- return $string;
- }
- function istatistik() {
- global $wpdb;
- $args = array( 'orderby' => 'name', 'order' => 'ASC' );
- $categories = ;
- $cat_count = 11;
- foreach ($categories as ) {
- [0];
- $c = ;
- ++$cat_count;
- }
- wp_count_posts( );
- $count_posts = get_categories( $args );
- $count_posts->publish;
- $published = ;
- return 'Sitemizde <span style="font-weight:bold;">' . $cat_count . '</span> kategori\'de <span style="font-weight:bold;">' . $published . '</span> film ve <span style="font-weight:bold;">' . $wpdb->get_var( '' . 'SELECT COUNT(*) FROM ' . $wpdb->comments . ' WHERE comment_approved = \'1\'' ) . '</span> yorum bulunmaktadır.';
- }
- function wp_link_pages_titled($args = '') {
- global $renk;
- global $sonradanrenk;
- global $arkarenk;
- $defaults = array( 'before' => '<div class="nav_link">', 'after' => '</div>', 'link_before' => '<span class="page_number ' . $sonradanrenk . ' ' . $arkarenk . ' oval3">', 'link_before_none' => '<span class="page_number ' . $renk . ' oval3">', 'link_after' => '</span>', 'link_after_none' => '</span>', 'echo' => 1 );
- wp_parse_args( $args, $defaults );
- $r = ;
- extract( $r, EXTR_SKIP );
- global $page;
- global $numpages;
- global $multipage;
- global $more;
- global $pagenow;
- global $pages;
- $output = '';
- if ($multipage) {
- $before;
- $output .= ;
- $j = 11;
- $i = 12;
- while ($i < $numpages + 1) {
- $title = '';
- $link = 11;
- $pages[$i - 1];
- $part_content = ;
- strpos( $part_content, '<!--baslik:' );
- $has_part_title = ;
- if (0 === $has_part_title) {
- strpos( $part_content, '-->' );
- $end = ;
- trim( str_replace( '<!--baslik:', '', substr( $part_content, 0, $end ) ) );
- $title = ;
- }
- $output .= ' ';
- if (( $i != $page || ( !$more && $page == 1 ) )) {
- _wp_link_page( $i );
- $output .= ;
- $link = 12;
- }
- $title = (( isset( $title ) && 0 < strlen( $title ) ) ? $title : $i . '. Part');
- if ($link == 1) {
- $output .= $link_before . $title . $link_after;
- }
- else {
- $output .= $link_before_none . $title . $link_after_none;
- }
- if (( $i != $page || ( !$more && $page == 1 ) )) {
- $output .= '</a>';
- }
- $i = $i + 1;
- }
- $after;
- $output .= ;
- }
- echo $output;
- }
- function filmsecenekleri() {
- wp_enqueue_script( 'media-upload' );
- wp_enqueue_script( 'thickbox' );
- wp_enqueue_style( 'thickbox' );
- wp_register_script( 'fors-upload', '/wp-content/themes/FullHDFilmler.Net/js/upload.js', array( 'jquery' ) );
- wp_enqueue_script( 'fors-upload' );
- add_meta_box( 'post-meta-boxes', __( 'Film Bilgileri', 'ayesoft' ), 'kutu_getir', 'post', 'normal', 'high' );
- }
- function kutular() {
- global $turu;
- global $cozu;
- global $res;
- global $ackk;
- $meta_boxes = array( $ackk => array( 'name' => $ackk, 'title' => __( 'Açıklama:', 'ayesfot' ), 'type' => 'textarea' ), $res => array( 'name' => $res, 'title' => __( 'Resim:', 'ayesoft' ), 'type' => 'text', 'desc' => '' ), $turu => array( 'name' => $turu, 'title' => __( 'Dublaj:', 'ayesoft' ), 'type' => 'selecttur', 'options' => array( 'Türkçe Dublaj', 'Türkçe Altyazılı', 'Yerli Yapım', 'Fragman/Yakında' ), 'options2' => array( 'td', 'ta', 'yy', 'yk' ) ), $cozu => array( 'name' => $cozu, 'title' => __( 'Kalite:', 'ayesoft' ), 'type' => 'selecttur', 'options' => array( '240p', '360p', '480p', '720p [HD]', '1080p [FULL HD]' ), 'options2' => array( '240', '360', '480', '720', '1080' ) ) );
- return apply_filters( 'kutular', $meta_boxes );
- }
- function kutu_getir() {
- global $post;
- kutular( );
- $meta_boxes = ;
- echo ' <table class="form-table">
- ';
- foreach ($meta_boxes as ) {
- [0];
- $meta = ;
- get_post_meta( $post->ID, $meta['name'], true );
- $value = ;
- if ($meta['type'] == 'text') {
- kutu_input( $meta, $value );
- continue;
- }
- if ($meta['type'] == 'textarea') {
- kutu_textarea( $meta, $value );
- continue;
- }
- if ($meta['type'] == 'selecttur') {
- kutu_selecttur( $meta, $value );
- continue;
- }
- }
- echo ' </table>
- ';
- }
- function kutu_input($args = array( ), $value = false) {
- extract( $args );
- echo ' <tr>
- <th style="width:20%;">
- <label for="';
- echo $name;
- echo '">';
- echo $title;
- echo '</label><br />
- <img id="fors-logo-img" src="';
- echo wp_specialchars( $value, 1 );
- echo '" width="80">
- </th>
- <td>
- <input type="text" class="fors-upload" name="';
- echo $name;
- echo '" id="';
- echo $name;
- echo '" value="';
- echo wp_specialchars( $value, 1 );
- echo '" size="30" tabindex="30" style="width: 400px;margin-top:-3px;" />
- <input id="fors-upload-button" type="button" class="button" value="Resim Yükle" />
- <input type="hidden" name="';
- echo $name;
- echo '_noncename" id="';
- echo $name;
- echo '_noncename" value="';
- echo wp_create_nonce( plugin_basename( __FILE__ ) );
- echo '" />
- <br />
- <p class="description">';
- echo $desc;
- echo '</p>
- </td>
- </tr>
- ';
- }
- function kutu_selecttur($args = array( ), $value = false) {
- extract( $args );
- echo ' <tr>
- <th style="width:20%;">
- <label for="';
- echo $name;
- echo '">';
- echo $title;
- echo '</label>
- </th>
- <td>
- ';
- echo '<s';
- echo 'elect style="width:372px;" name="';
- echo $name;
- echo '" id="';
- echo $name;
- echo '">
- ';
- $i = 11;
- foreach ($options as ) {
- [0];
- $option = ;
- echo ' <option ';
- if (htmlentities( $value, ENT_QUOTES ) == $options2[$i]) {
- echo ' selected="selected"';
- }
- echo ' value="';
- echo $options2[$i];
- echo '">
- ';
- echo $option;
- echo ' </option>
- ';
- ++$i;
- }
- echo ' </select>
- <input type="hidden" name="';
- echo $name;
- echo '_noncename" id="';
- echo $name;
- echo '_noncename" value="';
- echo wp_create_nonce( plugin_basename( __FILE__ ) );
- echo '" />
- </td>
- </tr>
- ';
- }
- function kutu_textarea($args = array( ), $value = false) {
- extract( $args );
- echo ' <tr>
- <th style="width:20%;">
- <label for="';
- echo $name;
- echo '">';
- echo $title;
- echo '</label>
- </th>
- <td>
- <textarea name="';
- echo $name;
- echo '" id="';
- echo $name;
- echo '" cols="60" rows="4" tabindex="30" style="width: 97%;margin-top:-3px;">';
- echo wp_specialchars( $value, 1 );
- echo '</textarea>
- <input type="hidden" name="';
- echo $name;
- echo '_noncename" id="';
- echo $name;
- echo '_noncename" value="';
- echo wp_create_nonce( plugin_basename( __FILE__ ) );
- echo '" />
- <p class="description">';
- echo $desc;
- echo '</p>
- </td>
- </tr>
- ';
- }
- function secenekkaydet($post_id) {
- global $post;
- array_merge( kutular( ) );
- $meta_boxes = ;
- foreach ($meta_boxes as ) {
- [0];
- $meta_box = ;
- if (!wp_verify_nonce( $_POST[$meta_box['name'] . '_noncename'], plugin_basename( __FILE__ ) )) {
- return $post_id;
- }
- if (( 'post' == $_POST['post_type'] && !current_user_can( 'edit_post', $post_id ) )) {
- return $post_id;
- }
- stripslashes( $_POST[$meta_box['name']] );
- $data = ;
- if (get_post_meta( $post_id, $meta_box['name'] ) == '') {
- add_post_meta( $post_id, $meta_box['name'], $data, true );
- continue;
- }
- if ($data != get_post_meta( $post_id, $meta_box['name'], true )) {
- update_post_meta( $post_id, $meta_box['name'], $data );
- continue;
- }
- if ($data == '') {
- delete_post_meta( $post_id, $meta_box['name'], get_post_meta( $post_id, $meta_box['name'], true ) );
- continue;
- }
- }
- }
- if (file_exists( TEMPLATEPATH . '/lisans.php' )) {
- include_once( 'lisans.php' );
- }
- if (( $key && $key != 'AYESOFT-freelicanse' )) {
- str_replace( 'www.', '', $_SERVER['HTTP_HOST'] );
- $domain = ;
- sha1( $domain . 'Kırılmayan0313Lisans0515Sistemi0717İstiyoruz0919' . dechex( ord( $domain[3] ) ) );
- $domain = ;
- $domain = 'AYESOFT-' . md5( $domain ) . $keycont;
- if ($key == $domain) {
- $kontrol = 12;
- }
- }
- if ($kontrol != 2) {
- $y_url = 'http://www.fullfilmdiziizle.net/';
- @file_get_contents( @dirname( __FILE__ ) . '/footer.php' );
- $output = ;
- if (!is_admin( )) {
- $check = '<a href="http://www.fullfilmdiziizle.net" title="film izle">film izle</a>';
- if (!strpos( $output, $check )) {
- exit( '<script>window.location="' . $y_url . '";</script>' );
- }
- strrev( substr( $output, 0, strpos( $output, $check ) ) );
- $tmp = ;
- strpos( $tmp, '--!<' );
- $pos1 = ;
- strpos( $tmp, '>--' );
- $pos2 = ;
- if (( $pos1 < $pos2 || ( $pos1 && !$pos2 ) )) {
- exit( '<script>window.location="' . $y_url . '";</script>' );
- }
- if (( preg_match( '/\/\*/', $tmp ) || preg_match( '/\*\//', $tmp ) )) {
- exit( '<script>window.location="' . $y_url . '";</script>' );
- }
- }
- }
- if (file_exists( TEMPLATEPATH . '/adminpaneli.php' )) {
- include_once( 'adminpaneli.php' );
- }
- get_option( 'tur' );
- $turu = ;
- get_option( 'coz' );
- $cozu = ;
- get_option( 'resim' );
- $res = ;
- get_option( 'lazy' );
- $lazy = ;
- get_option( 'aciklama' );
- $ackk = ;
- $arkarenk = get_option( 'arkaplan' ) . get_option( 'arkaplansaydam' );
- $arkarenk2 = 'siyah80';
- $renk = get_option( '2renk' ) . get_option( '2renksaydam' );
- $sonradanrenk = 'sonradan' . get_option( '2renk' ) . get_option( '2renksaydam' );
- get_option( 'anasayfa' );
- $stil = ;
- get_option( 'gosterim' );
- $gosterim = ;
- $begenilengetir = 'post_type=post&r_sortby=highest_rated&r_orderby=desc';
- $izlenengetir = 'post_type=post&v_sortby=views&v_orderby=desc';
- $yorumlanangetir = 'post_type=post&orderby=comment_count&v_orderby=desc';
- $p240 = 'meta_key=' . $cozu . '&orderby=date&order=DESC&meta_value=240';
- $p360 = 'meta_key=' . $cozu . '&orderby=date&order=DESC&meta_value=360';
- $p480 = 'meta_key=' . $cozu . '&orderby=date&order=DESC&meta_value=480';
- $p720 = 'meta_key=' . $cozu . '&orderby=date&order=DESC&meta_value=720';
- $p1080 = 'meta_key=' . $cozu . '&orderby=date&order=DESC&meta_value=1080';
- $turkcedublaj = 'meta_key=' . $turu . '&orderby=date&order=DESC&meta_value=td';
- $turkcealtyazi = 'meta_key=' . $turu . '&orderby=date&order=DESC&meta_value=ta';
- $yerliyapim = 'meta_key=' . $turu . '&orderby=date&order=DESC&meta_value=yy';
- $fragman = 'meta_key=' . $turu . '&orderby=date&order=DESC&meta_value=yk';
- get_option( 'dublajgoster' );
- $dublajgoster = ;
- get_option( 'manset' );
- $manset = ;
- get_option( 'otomatikboyut' );
- $otomatik = ;
- get_option( 'mansettur' );
- $mansettur = ;
- get_option( 'mansetkategori' );
- $mansetkategori = ;
- if ($mansettur == 1) {
- $mansetgetir = $begenilengetir . '&showposts=21';
- }
- else {
- if ($mansettur == 2) {
- $mansetgetir = $izlenengetir . '&showposts=21';
- }
- else {
- if ($mansettur == 3) {
- $mansetgetir = $yorumlanangetir . '&showposts=21';
- }
- else {
- if ($mansettur == 4) {
- $mansetgetir = 'post_type=post&showposts=21';
- }
- else {
- if ($mansettur == 5) {
- $mansetgetir = 'post_type=post&cat=' . $mansetkategori . '&showposts=21';
- }
- else {
- if ($mansettur == 6) {
- $mansetgetir = 'post_type=post&showposts=21&orderby=rand';
- }
- else {
- if ($mansettur == 7) {
- $mansetgetir = 'post_type=post&cat=' . $mansetkategori . '&showposts=21&orderby=rand';
- }
- }
- }
- }
- }
- }
- }
- if ($stil == 1) {
- $genislik = 220;
- $yukseklik = 330;
- }
- else {
- if ($stil == 2) {
- $genislik = 170;
- $yukseklik = 260;
- }
- else {
- if ($stil == 3) {
- $genislik = 170;
- $yukseklik = 130;
- }
- }
- }
- add_action( 'init', 'add_custom_taxonomies', 0 );
- add_filter( 'wp_nav_menu_objects', 'menurenk' );
- if (isset( $_GET['rastgele'] )) {
- add_action( 'template_redirect', 'yazi_yonlendir' );
- }
- add_theme_support( 'nav-menus' );
- register_nav_menus( array( 'primary' => __( 'Ust Menu', 'twentyten' ) ) );
- add_filter( 'the_content', 'ballon_setcontent' );
- if (function_exists( 'register_sidebar' )) {
- register_sidebar( array( 'name' => 'Sidebar 1', 'before_widget' => '<div class="sidebar oval3 ' . $arkarenk . '">', 'after_widget' => '</div>', 'before_title' => '<div class="labels ' . $renk . ' oval3" style="padding-top:10px;">', 'after_title' => '</div>' ) );
- }
- add_action( 'admin_menu', 'filmsecenekleri' );
- add_action( 'save_post', 'secenekkaydet' );
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement