Muftah members onlyAfter Being Banned for Almost a Century, Turkey’s Kurds Are Clamoring to Learn Their Own Language
×
(function(d, s, id)
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
(document, 'script', 'facebook-jssdk'));
jQuery( document ).ready(function()
jQuery( "ul.main-nav li.cb-icon-search" ).after( '
);
Daniel Barry stands at the podium and lectures the class (Photo by Nadeen Shaker)
Muftah members onlyAfter Being Banned for Almost a Century, Turkey’s Kurds Are Clamoring to Learn Their Own Language
is valid membershipbool(false)
data condition: ($published_duration_difference
/* */ /* */ /* */
"data":["ID":40151,"post_author":"4","post_date":"2016-02-29 05:13:48","post_date_gmt":"2016-02-29 05:13:48","post_content":"Internal notes about the ad (Optional), doesn't show on pages","post_title":"MADEO Static","post_excerpt":"","post_status":"publish","comment_status":"open","ping_status":"closed","post_password":"","post_name":"madeo-static","to_ping":"","pinged":"","post_modified":"2017-05-16 08:06:59","post_modified_gmt":"2017-05-16 13:06:59","post_content_filtered":"","post_parent":0,"guid":"http://muftah.org/?post_type=adverts&p=40151","menu_order":0,"post_type":"adverts","post_mime_type":"","comment_count":"0","filter":"raw","ID":40154,"post_author":"4","post_date":"2016-02-29 08:10:55","post_date_gmt":"2016-02-29 08:10:55","post_content":"","post_title":"MADEO Animated","post_excerpt":"","post_status":"publish","comment_status":"open","ping_status":"closed","post_password":"","post_name":"madeo-animated","to_ping":"","pinged":"","post_modified":"2016-11-14 07:41:20","post_modified_gmt":"2016-11-14 12:41:20","post_content_filtered":"","post_parent":0,"guid":"http://muftah.org/?post_type=adverts&p=40154","menu_order":2,"post_type":"adverts","post_mime_type":"","comment_count":"0","filter":"raw"],"next_index":1
Read more like this in Muftah's Weekend Reads newsletter.
Advertisement
Advertise on Muftah.
var addthis_config = "data_track_addressbar":true;
jQuery(document).ready(function()
jQuery(".single .entry-content").each(function()
var child = jQuery(this).children(),
count = child.size(),
ad = jQuery("section.adverts").clone();
if(count > 2)
child.eq(2).after(ad);
console.log("test");
);
);
Galleria.configure(
debug : false, // debug is now off for deployment
imageCrop : true,
thumbCrop : true,
carousel : true,
thumbnails : true,
transition : 'fade',
transitionSpeed : 400,
thumbEventType : 'click',
autoplay : false,
clicknext : false,
showImagenav : false,
showCounter : false,
lightbox : false,
imagePan : false,
width : 750,
height : 460,
showInfo : true,
_toggleInfo : true
);
#galleria
height:460px;
.galleria-container
background:#FFFFFF;
.galleria-stage
left: 10px;
right: 10px;
top: 10px;
bottom: 60px;
.galleria-thumbnails-container
left:10px;
right:10px;
.galleria-thumbnails .galleria-image
border: 1px solid #000000;
height:40px;
width:60px;
.galleria-info-link
background-color: #000000;
.galleria-info-text
background-color: #000000;
.galleria-lightbox-shadow
background:#000000;
.galleria-lightbox-content
background-color:#FFFFFF;
left:10px;
right:10px;
top:10px;
bottom:10px;
.galleria-thumb-nav-right
background-color:#000000;
.galleria-thumb-nav-left
background-color:#000000;
.galleria-lightbox-image
left:0;
right:0;
bottom:30px;
top:0;
(function(s,u,m,o,j,v)j=u.createElement(m);v=u.getElementsByTagName(m)[0];j.async=1;j.src=o;j.dataset.sumoSiteId='a4c5c348c2ecc8de76bcb136a2688075595ae3f42d5a078a31413831fc68a05a';j.dataset.sumoPlatform='wordpress';v.parentNode.insertBefore(j,v))(window,document,'script','//load.sumo.com/');
var ajaxurl = "https://muftah.org/wp-admin/admin-ajax.php";
function sumo_add_woocommerce_coupon(code)
jQuery.post(ajaxurl,
action: 'sumo_add_woocommerce_coupon',
code: code,
);
function sumo_remove_woocommerce_coupon(code)
jQuery.post(ajaxurl,
action: 'sumo_remove_woocommerce_coupon',
code: code,
);
function sumo_get_woocommerce_cart_subtotal(callback)
jQuery.ajax(
method: 'POST',
url: ajaxurl,
dataType: 'html',
data:
action: 'sumo_get_woocommerce_cart_subtotal',
,
success: function(subtotal)
return callback(null, subtotal);
,
error: function(err)
return callback(err, 0);
);
(function ($) 'use strict';
var cbVote = $('#cb-vote'),
cbCriteriaAverage = $('.cb-criteria-score.cb-average-score'),
cbVoteCriteria = cbVote.find('.cb-criteria'),
cbVoteOverlay = cbVote.find('.cb-overlay');
if ($(cbVoteOverlay).length)
var cbExistingOverlaySpan = cbVoteOverlay.find('span'),
cbNotVoted = cbVote.not('.cb-voted').find('.cb-overlay'),
cbExistingOverlay = cbExistingOverlaySpan.css('width');
cbExistingOverlaySpan.addClass('cb-zero-trigger');
else
var cbVoteOverlay = cbVote.find('.cb-overlay-stars'),
cbNotVote = cbNotVoted = cbVote.not('.cb-voted').find('.cb-overlay-stars'),
cbExistingOverlaySpan = cbVoteOverlay.find('span'),
cbExistingOverlay = cbExistingOverlaySpan.css('width');
if (cbExistingOverlay !== '125px') cbExistingOverlaySpan.addClass('cb-zero-stars-trigger');
var cbExistingScore = $(cbCriteriaAverage).text(),
cbWidthDivider = ($(cbVote).width() / 100),
cbStarWidthDivider = $(cbVoteOverlay).width() / 100,
cbExistingVoteLine = $(cbVoteCriteria).html(),
cbVoteAmount = $(cbVote).find('.cb-criteria span').text();
if ( typeof cbExistingVoteLine !== 'undefined' )
var cbExistingVotedLine = cbExistingVoteLine.substr(0, cbExistingVoteLine.length-1) + ')';
if ( (cbVoteAmount) === '0' )
var cbVotedLineChanged = 'Reader Rating: (' + (parseInt(cbVoteAmount) + 1) + ' Vote)';
else
var cbVotedLineChanged = 'Reader Rating: (' + (parseInt(cbVoteAmount) + 1) + ' Votes)';
if (cbVote.hasClass('cb-voted'))
cbVote.find('.cb-criteria').html(cbExistingVotedLine);
cbNotVoted.on('mousemove click mouseleave mouseenter', function(e)
var cbParentOffset = $(this).parent().offset();
var cbStarOffset = $(this).offset();
if ( cbVote.hasClass('stars') )
if (Math.round(cbStarOffset.left) <= e.pageX)
var cbBaseX = Math.round( ( ( e.pageX - Math.round(cbStarOffset.left) ) / cbStarWidthDivider ) );
var cbFinalX = (Math.round(cbBaseX * 10 / 20) / 10).toFixed(1);
if ((cbFinalX = 0))
if ( cbExistingOverlaySpan.hasClass('cb-bar-ani-stars') )
cbExistingOverlaySpan.removeClass('cb-bar-ani-stars').css( 'width', (100 - (cbBaseX) +'%') );;
cbExistingOverlaySpan.css( 'width', (100 - (cbBaseX) +'%') );;
if (cbFinalX 5) var cbFinalX = 5;
else if ( cbVote.hasClass('percentage') )
var cbBaseX = Math.ceil((e.pageX - cbParentOffset.left) / cbWidthDivider),
cbFinalX = cbBaseX + '%';
cbCriteriaAverage.text(cbFinalX);
if ( cbExistingOverlaySpan.hasClass('cb-bar-ani') )
cbExistingOverlaySpan.removeClass('cb-bar-ani');
cbExistingOverlaySpan.css( 'width', (cbBaseX +'%') );
else if( cbVote.hasClass('points') )
var cbBaseX = Math.ceil((e.pageX - cbParentOffset.left) / cbWidthDivider)
var cbFinalX = (cbBaseX / 10).toFixed(1);
cbCriteriaAverage.text(cbFinalX);
if ( cbExistingOverlaySpan.hasClass('cb-bar-ani') )
cbExistingOverlaySpan.removeClass('cb-bar-ani');
cbExistingOverlaySpan.css( 'width', (cbBaseX +'%') );
if ( e.type == 'mouseenter' )
cbVoteCriteria.fadeOut(75, function ()
$(this).fadeIn(75).text('Your Rating');
);
if ( e.type == 'mouseleave' )
cbExistingOverlaySpan.animate( 'width': cbExistingOverlay, 300);
cbCriteriaAverage.text(cbExistingScore);
cbVoteCriteria.fadeOut(75, function ()
$(this).fadeIn(75).html(cbExistingVoteLine);
);
if ( e.type == 'click' )
if ( cbVote.hasClass('points') ) var cbFinalX = cbFinalX * 10;
if ( cbVote.hasClass('stars') ) var cbFinalX = cbFinalX * 20;
cbVoteCriteria.fadeOut(550, function () $(this).fadeIn(550).html(cbVotedLineChanged); );
var cbParentOffset = $(this).parent().offset(),
nonce = $('input#voting_nonce').val(),
cb_data_votes = action: 'cb_vote_counter', nonce: nonce, postid: '34388' ,
cb_data_score = action: 'cb_add_user_score', nonce: nonce, cbCurrentVotes: parseInt(cbVoteAmount), cbNewScore: cbFinalX, postid: '34388' ;
cbVoteOverlay.off('mousemove click mouseleave mouseenter');
$.post('https://muftah.org/wp-admin/admin-ajax.php', cb_data_votes, function(cb_votes)
if ( cb_votes !== '-1' )
var cb_checker = cookie.get('cb_user_rating');
if (!cb_checker)
var cb_rating_c = '34388';
else
var cb_rating_c = cb_checker + ',34388';
cookie.set('cb_user_rating', cb_rating_c, expires: 365, );
);
$.post('https://muftah.org/wp-admin/admin-ajax.php', cb_data_score, function(cb_score)
if ( ( cb_score !== '-1' ) && ( cb_score !=='null' ) )
var cbScoreOverlay = cb_score;
if ( cbVote.hasClass('points') )
cbCriteriaAverage.html( (cb_score / 10).toFixed(1) );
else if ( cbVote.hasClass('percentage') )
cbCriteriaAverage.html(cb_score + '%');
else
var cbScoreOverlay = 100 - cbScoreOverlay;
cbExistingOverlaySpan.css( 'width', cbScoreOverlay +'%' );
cbVote.addClass('cb-voted');
cbVoteOverlay.addClass('cb-tip-bot').attr('title', 'You have already voted');
cbVote.off('click');
);
return false;
);
)(jQuery);
window.ms_data = "ms_init":["frontend_register"];window.ms_ajax_login = "ajaxurl":"https://muftah.org/wp-admin/admin-ajax.php","loadingmessage":"Please wait...","errormessage":"Request failed, please try again.";
jQuery(document).ready(function()
if(jQuery(window).width() < 481)
catTitle();
jQuery(window).resize(function()
if(jQuery(window).width() < 481)
catTitle();
else
jQuery('.category .single-title-cell h1.entry-title').removeAttr("style");
);
function catTitle()
jQuery('.category .single-title-cell h1.entry-title').flowtype(
maximum : 481,
minFont : 24,
maxFont : 44
);
);
addthis.layers(
'theme' : 'transparent',
'share' :
'position' : 'right',
'numPreferredServices' : 4,
'services' : 'facebook,twitter,google_plusone_share,more'
);
var twt_url = window.location.pathname;
var twt_title = document.title.replace("» Muftah","");;
var addthis_share = addthis_share ||
addthis_share =
passthrough :
twitter:
via: "MuftahOrg",
text: twt_title + " "
jQuery( document ).ready( function()
console.log( "Featured is: https://muftah.org/wp-content/uploads/2015/06/Shaker-Kurdish-Language-Class-11.jpg" );
console.log( "Remote is: https://muftah.org/wp-content/uploads/2015/06/Shaker-Kurdish-Language-Class-11.jpg" );
jQuery( "section.entry-content img" ).each(function()); //each
);
try
(function()
// Select unicode values onclick.
function c(e)e.stopPropagation();if(document.body.createTextRange)var a=document.body.createTextRange();a.moveToElementText(this);a.select()else if(window.getSelection)var b=window.getSelection(),a=document.createRange();a.selectNodeContents(this);b.removeAllRanges();b.addRange(a)for(var b=Array.prototype.slice.call(document.getElementsByClassName("unicode")),l=Array.prototype.slice.call(document.getElementsByTagName("li")),a=Array.prototype.slice.call(document.getElementsByClassName("css")),b=b.concat(a),b=b.concat(l),a=b.length-1;0= 0; i--)
icons[i].setAttribute('style', 'font-weight:bold;')
;
else
addClass(off, 'off');
addClass(on, 'on');
for (var i = icons.length - 1; i >= 0; i--)
icons[i].setAttribute('style', '')
;
;
;
if (on && off)
for (var i = spans.length - 1; i >= 0; i--)
spans[i].addEventListener('click', toggleOn, false);
})();
// Toggle View Style
var grid = document.getElementsByClassName('toggle-grid')[0]
, list = document.getElementsByClassName('toggle-list')[0]
, body = document.body
grid.addEventListener('click', function(e)
e.preventDefault()
addClass(body, 'grid')
, false)
list.addEventListener('click', function(e)
e.preventDefault()
removeClass(body, 'grid')
, false)
// Grid view active
var tr = document.getElementsByTagName('tr')
document.addEventListener('click', hideDetails, false);
function hideDetails()
var placeholder = document.getElementById('placeholder');
if (placeholder)
placeholder.parentNode.removeChild(placeholder);
(function()
for (var i = tr.length - 1; i >= 0; i--)
tr[i].setAttribute('style','')
removeClass(tr[i], 'open')
;
)();
function showDetails(e)
var item = e.target.parentNode;
if (hasClass(body, 'grid') && !hasClass(item, 'open'))
e.stopPropagation()
hideDetails()
var left = item.offsetLeft
, top = item.offsetTop
item.setAttribute('style', 'top:'+top+'px;left:'+left+'px;')
addClass(item, 'open')
var placeholder = document.createElement('tr')
placeholder = item.parentNode.insertBefore(placeholder, item)
placeholder.id = 'placeholder'
;
(function()
for (var i = tr.length - 1; i >= 0; i--)
tr[i].addEventListener('click', showDetails, false)
;
)();
// Helpers
function hasClass(elem, classname)
var regexp = new RegExp('\b' + classname + '\b', 'g')
return elem.className.match(regexp)
function addClass(elem, classname)
if (hasClass(elem, classname)) return
elem.className = elem.className + ' ' + classname
elem.className = elem.className.replace(/^s+
function removeClass(elem, classname)
if (!hasClass(elem, classname)) return
elem.className = elem.className.replace(classname, '')
})();
} catch(err)
/*var _gaq = _gaq || ;
_gaq.push(['_setAccount','UA-9778262-2']);
_gaq.push(['_trackPageview'],['_trackPageLoadTime']);
(function()
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
)();*/
(function(i,s,o,g,r,a,m)function()).push(arguments),i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
)(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-9778262-2', 'auto');
ga('send', 'pageview');
jQuery('.adverts a[target=_adverts]').click(function(event)
var event_lbl = jQuery(this).attr('ad_lbl');
//_gaq.push(['_trackEvent', event_lbl, 'Ads Click']);
ga('send', 'event',
eventCategory: 'Ads Click',
eventAction: 'click',
eventLabel: event_lbl,
transport: 'beacon'
);
);
jQuery('#cb-nav-bar li.cb-icon-social a').click(function(event)
var event_lbl = jQuery(this).attr('evt_label');
ga('send', 'event',
eventCategory: 'Social media clicks',
eventAction: 'click',
eventLabel: event_lbl,
transport: 'beacon'
);
);
jQuery( document ).ready( function()
var singleCredit = jQuery( "div.cb-image-credit" );
var creditOffset = singleCredit.offset();
console.log( "offset is: " + creditOffset.top);
if( creditOffset.top > 541)
jQuery( "div.cb-image-credit" ).css("margin": "0");
);