diff --git a/utils/1kaUtils/1ka_stats_surveys_export.php b/utils/1kaUtils/1ka_stats_surveys_export.php
new file mode 100644
index 000000000..20c8a90af
--- /dev/null
+++ b/utils/1kaUtils/1ka_stats_surveys_export.php
@@ -0,0 +1,99 @@
+'0'");
+if (!$sql) {
+ echo mysqli_error($GLOBALS['connect_db']);
+ die();
+}
+
+// Loop cez ankete
+while ($row = mysqli_fetch_array($sql)) {
+
+ // Stevilo odgovorov ankete
+ $response_count = 0;
+ $response_count_current_year = 0;
+ $response_count_prev_year = 0;
+
+ // Prestejemo stevilo anket
+ $sqlR = sisplet_query("SELECT count(id) AS response_count, YEAR(time_insert) AS year
+ FROM srv_user
+ WHERE ank_id='".$row['id']."' AND preview='0' AND deleted='0'
+ GROUP BY YEAR(time_insert)
+ ");
+ if (!$sqlR) {
+ echo mysqli_error($GLOBALS['connect_db']);
+ die();
+ }
+
+ // Loop cez prestete ankete po letih
+ while ($rowR = mysqli_fetch_array($sqlR)) {
+
+ $response_count += (int)$rowR['response_count'];
+
+ if($rowR['year'] == $current_year)
+ $response_count_current_year = (int)$rowR['response_count'];
+
+ if($rowR['year'] == $prev_year)
+ $response_count_prev_year = (int)$rowR['response_count'];
+ }
+
+
+ ob_start();
+
+ $line = array();
+
+ $line[0] = $row['id'];
+ $line[1] = iconv("UTF-8","Windows-1250//TRANSLIT", $row['naslov']);
+ $line[2] = $row['active'];
+ $line[3] = $row['insert_uid'];
+
+ $line[4] = $response_count;
+ $line[5] = $response_count_current_year;
+ $line[6] = $response_count_prev_year;
+
+ $data[] = $line;
+
+ /*echo implode($line, ';');
+ echo '
';*/
+
+ ob_end_flush();
+}
+
+
+header('Content-Type: application/excel;');
+header('Content-Disposition: attachment; filename="survey_statistics.csv"');
+
+$fp = fopen('php://output', 'w');
+foreach($data as $line) {
+ //fputcsv($fp, $line, ',');
+ fputcsv($fp, $line, ';');
+}
+fclose($fp);
+
+
diff --git a/utils/1kaUtils/1ka_stats_users_export.php b/utils/1kaUtils/1ka_stats_users_export.php
new file mode 100644
index 000000000..1a91c92ad
--- /dev/null
+++ b/utils/1kaUtils/1ka_stats_users_export.php
@@ -0,0 +1,113 @@
+';*/
+
+ ob_end_flush();
+}
+
+
+header('Content-Type: application/excel');
+header('Content-Disposition: attachment; filename="user_statistics.csv"');
+
+$fp = fopen('php://output', 'w');
+foreach($data as $line) {
+ //fputcsv($fp, $line, ',');
+ fputcsv($fp, $line, ';');
+}
+fclose($fp);
+
diff --git a/utils/1kaUtils/1ka_users_export.php b/utils/1kaUtils/1ka_users_export.php
deleted file mode 100644
index d2ebe9241..000000000
--- a/utils/1kaUtils/1ka_users_export.php
+++ /dev/null
@@ -1,66 +0,0 @@
-';
-
- ob_end_flush();
-
-}
-
-
-/*header('Content-Type: application/excel');
-header('Content-Disposition: attachment; filename="paradata_device_'.$year.'.csv"');
-
-$fp = fopen('php://output', 'w');
-foreach($data as $line) {
- //fputcsv($fp, $line, ',');
- fputcsv($fp, $line, ';');
-}
-fclose($fp);*/
-
-
-
-/*foreach($data as $line) {
- echo implode($line, ';');
- echo '
';
-}*/
-