setOptions( array_merge( $config['login_data'], array( 'id' => $account_id ), array( 'pdr' => $start_date. '-'. $end_date ) ) ); /* Data klasörü */ $path = DATA_PATH . $account_id. '/'; /* Data */ if (file_exists(DATA_PATH) === false) { if (mkdir(DATA_PATH, 0755) === false) { die('Error Chmod 755 Data Path!'); } } /* Data */ if (file_exists($path) === false) { if (mkdir($path, 0755) === false) { die('Error Chmod 755 Data Path!'); } } /* istekler */ foreach (array('VisitorsOverviewReport') as $report) { /* rapor girisi */ $data = $analytics->getReport( array( 'rpt' => $report ) ); /* giriş devam */ if (empty($data) === true) { continue; } /* Rapor XML */ if (file_put_contents($path . $report. '.xml', $data) === false) { die('Error by file_put_contens operation!'); } } /* Rapor guncellendi */ echo sprintf( '
', $account_id ); } ?> Last 30 days"; echo $ziyaret_xml->Report['name']; echo "

"; echo $ziyaret_xml->Report->ItemSummary[0]->Item->SummaryValue; echo " "; echo $ziyaret_xml->Report->ItemSummary[0]->Message; echo "
"; echo $ziyaret_xml->Report->ItemSummary[1]->Item->SummaryValue; echo " "; echo $ziyaret_xml->Report->ItemSummary[1]->Message; echo "
"; echo $ziyaret_xml->Report->ItemSummary[2]->Item->SummaryValue; echo " "; echo $ziyaret_xml->Report->ItemSummary[2]->Message; echo "
"; echo $ziyaret_xml->Report->ItemSummary[3]->Item->SummaryValue; echo " "; echo $ziyaret_xml->Report->ItemSummary[3]->Message; echo "
"; echo $ziyaret_xml->Report->ItemSummary[4]->Item->SummaryValue; echo " "; echo $ziyaret_xml->Report->ItemSummary[4]->Message; echo "
"; echo $ziyaret_xml->Report->ItemSummary[5]->Item->SummaryValue; echo " "; echo $ziyaret_xml->Report->ItemSummary[5]->Message; echo "
"; echo $ziyaret_xml->Report->ItemSummary[6]->Item->SummaryValue; echo " "; echo $ziyaret_xml->Report->ItemSummary[6]->Message; echo "

"; } ?> publish; //publish, draft $toplam_kategori = wp_count_terms('category'); $toplam_etiket = wp_count_terms('post_tag'); $toplam_yorum = get_comment_count(); $toplam_yorum = $toplam_yorum['approved']; echo 'Blog stats :'; echo '
Now '; echo '' . $toplam_yazi . ' post, '; echo '' . $toplam_kategori . ' categories, '; echo '' . $toplam_etiket . ' tags, '; echo '' . $toplam_yorum . ' comments is approved. '; ?>