diff --git a/views/article.php b/views/article.php
index 3924516..411f6ae 100644
--- a/views/article.php
+++ b/views/article.php
@@ -36,14 +36,5 @@
-
-
-
 ?>)
-
Это интересно: = $randomPoint->name ?>
-
- = mb_substr($randomPoint->description, 0, 400, 'UTF-8') ?>…
- читать далее »
-
-
-
+ = self::renderPartial('randomPoint.php', array('randomPoint'=>$randomPoint), true)?>
diff --git a/views/error404.php b/views/error404.php
index e12d380..47c1cba 100644
--- a/views/error404.php
+++ b/views/error404.php
@@ -1,18 +1,9 @@
-
\ No newline at end of file
diff --git a/views/point.php b/views/point.php
index a77ba38..2cf622b 100644
--- a/views/point.php
+++ b/views/point.php
@@ -162,17 +162,7 @@ $index = 0;
-
-
-
-
 ?>)
-
Это интересно: = $randomPoint->name ?>
-
- = mb_substr($randomPoint->description, 0, 400, 'UTF-8') ?>…
- читать далее »
-
-
-
+ = self::renderPartial('randomPoint.php', array('randomPoint'=>$randomPoint), true)?>
diff --git a/views/pointsTemplate.php b/views/pointsTemplate.php
index 5fb0e97..78fe241 100644
--- a/views/pointsTemplate.php
+++ b/views/pointsTemplate.php
@@ -107,14 +107,5 @@ $oldIndex = $pagesCount+1;
-
-
-
 ?>)
-
Это интересно: = $randomPoint->name ?>
-
- = mb_substr($randomPoint->description, 0, 400, 'UTF-8') ?>…
- читать далее »
-
-
-
+ = self::renderPartial('randomPoint.php', array('randomPoint'=>$randomPoint), true)?>
diff --git a/views/randomPoint.php b/views/randomPoint.php
new file mode 100644
index 0000000..191570c
--- /dev/null
+++ b/views/randomPoint.php
@@ -0,0 +1,14 @@
+
+
+
+
+
 ?>)
+
Это интересно: = $randomPoint->name ?>
+
+ = mb_substr($randomPoint->description, 0, 400, 'UTF-8') ?>…
+ читать далее »
+
+
+
+
+
diff --git a/views/user/favorites.php b/views/user/favorites.php
index c5b4662..91066a1 100644
--- a/views/user/favorites.php
+++ b/views/user/favorites.php
@@ -27,14 +27,5 @@
-
-
-
 ?>)
-
Это интересно: = $randomPoint->name ?>
-
- = mb_substr($randomPoint->description, 0, 400, 'UTF-8') ?>…
- читать далее »
-
-
-
+ = self::renderPartial('randomPoint.php', array('randomPoint'=>$randomPoint), true)?>
diff --git a/views/user/index.php b/views/user/index.php
index 64620d8..a28163b 100644
--- a/views/user/index.php
+++ b/views/user/index.php
@@ -73,19 +73,6 @@ $statuses = array(
-
-
-
-
-
-
 ?>)
-
Это интересно: = $randomPoint->name ?>
-
- = mb_substr($randomPoint->description, 0, 400, 'UTF-8') ?>…
- читать далее »
-
-
-
-
-
+
+ = self::renderPartial('randomPoint.php', array('randomPoint'=>$randomPoint), true)?>
diff --git a/views/user/notifications.php b/views/user/notifications.php
index 4286137..06769a9 100644
--- a/views/user/notifications.php
+++ b/views/user/notifications.php
@@ -16,19 +16,6 @@
-
-
-
-
-
-
 ?>)
-
Это интересно: = $randomPoint->name ?>
-
- = mb_substr($randomPoint->description, 0, 400, 'UTF-8') ?>…
- читать далее »
-
-
-
-
-
+
+ = self::renderPartial('randomPoint.php', array('randomPoint'=>$randomPoint), true)?>