$orta_alan = ot_get_option( 'orta-alan' );
if($orta_alan == "off"){?>
<script>
{
"@context": "http://schema.org",
"@type": "WebSite",
"name" : "",
"url": "",
"potentialAction": {
"@type": "SearchAction",
"target": "/?s={s}",
"query-input": {
"@type": "PropertyValueSpecification",
"valueRequired": true,
"valueMaxlength": 100,
"valueName": "s"
}
}
}
</script>
$etiket = ot_get_option( 'etiket' );
if($etiket == "on"){?>
$facebook = ot_get_option( 'facebook' );
if(empty($facebook)) {?>
$twitter = ot_get_option( 'twitter' );
if(empty($twitter)) {?>
$google_plus = ot_get_option( 'google-plus' );
if(empty($google_plus)) {?>
$youtube = ot_get_option( 'youtube' );
if(empty($youtube)) {?>
require(TEMPLATEPATH . "/inc/twitteroauth.php");
$consumer_key = ot_get_option("twitter-key");
$consumer_secret = ot_get_option("twitter-secret");
$access_token = ot_get_option("twitter-token");
$access_token_secret = ot_get_option("twitter-token-secret");
$twitter = new TwitterOAuth($consumer_key, $consumer_secret, $access_token, $access_token_secret);
$tweets = $twitter->get('https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name='.ot_get_option('twitter-kullanici').'&count=1');
?>
neresine ney ekleyeyim hocam şunu ekleyıp buraya yazabılır mısınız ? emre7