Version Notes
Its stable version for 1.7, 1.8 and 1.9.
Download this release
Release Info
Developer | Netsolutions |
Extension | Netsol_Seasons |
Version | 0.1.2 |
Comparing to | |
See all releases |
Code changes from version 0.1.1 to 0.1.2
- app/code/community/Netsol/Seasons/Block/Adminhtml/Paseason/Edit/Tab/Form.php +3 -3
- app/code/community/Netsol/Seasons/Block/Config/Backend/Downloadcsv.php +40 -0
- app/code/community/Netsol/Seasons/Helper/Data.php +25 -4
- app/code/community/Netsol/Seasons/Helper/Seasonapi.php +66 -2
- app/code/community/Netsol/Seasons/Model/Config/Backend/Csv.php +29 -0
- app/code/community/Netsol/Seasons/controllers/Adminhtml/PaseasonController.php +2 -3
- app/code/community/Netsol/Seasons/controllers/Adminhtml/System/ConfigController.php +45 -0
- app/code/community/Netsol/Seasons/etc/config.xml +1 -1
- app/code/community/Netsol/Seasons/etc/system.xml +25 -4
- app/code/community/Netsol/Seasons/sql/netsol_seasons_setup/mysql4-upgrade-0.1.1-0.1.2.php +3 -0
- app/etc/modules/Netsol_Seasons.xml +1 -1
- media/netsol/seasons/paseason/autmn-5.jpg +0 -0
- media/netsol/seasons/paseason/autumn_leaves_tea_cup_scarf.jpg +0 -0
- package.xml +4 -4
- readme-season.html +16 -3
- var/netsol/seasons/csv/downloads/IP2LOCATION-LITE-DB5-short.csv +199 -0
- var/netsol/seasons/csv/uploads/demo.txt +0 -0
app/code/community/Netsol/Seasons/Block/Adminhtml/Paseason/Edit/Tab/Form.php
CHANGED
@@ -39,13 +39,13 @@ class Netsol_Seasons_Block_Adminhtml_Paseason_Edit_Tab_Form extends Mage_Adminht
|
|
39 |
'required' => true,
|
40 |
));
|
41 |
|
42 |
-
|
43 |
$fieldset->addField('start_date', 'date', array(
|
44 |
'label' => Mage::helper('seasons')->__('Start Date'),
|
45 |
'title' => Mage::helper('seasons')->__('Start Date'),
|
46 |
'name' => 'start_date',
|
47 |
'image' => $this->getSkinUrl('images/grid-cal.gif'),
|
48 |
-
'format' => '
|
49 |
'required' => true,
|
50 |
));
|
51 |
$fieldset->addField('end_date', 'date', array(
|
@@ -53,7 +53,7 @@ class Netsol_Seasons_Block_Adminhtml_Paseason_Edit_Tab_Form extends Mage_Adminht
|
|
53 |
'title' => Mage::helper('seasons')->__('End Date'),
|
54 |
'name' => 'end_date',
|
55 |
'image' => $this->getSkinUrl('images/grid-cal.gif'),
|
56 |
-
'format' => '
|
57 |
'required' => true,
|
58 |
));
|
59 |
|
39 |
'required' => true,
|
40 |
));
|
41 |
|
42 |
+
$dateFormatIso = Mage::app()->getLocale()->getDateFormat(Mage_Core_Model_Locale::FORMAT_TYPE_SHORT);
|
43 |
$fieldset->addField('start_date', 'date', array(
|
44 |
'label' => Mage::helper('seasons')->__('Start Date'),
|
45 |
'title' => Mage::helper('seasons')->__('Start Date'),
|
46 |
'name' => 'start_date',
|
47 |
'image' => $this->getSkinUrl('images/grid-cal.gif'),
|
48 |
+
'format' => 'yyyy-MM-dd',
|
49 |
'required' => true,
|
50 |
));
|
51 |
$fieldset->addField('end_date', 'date', array(
|
53 |
'title' => Mage::helper('seasons')->__('End Date'),
|
54 |
'name' => 'end_date',
|
55 |
'image' => $this->getSkinUrl('images/grid-cal.gif'),
|
56 |
+
'format' => 'yyyy-MM-dd',
|
57 |
'required' => true,
|
58 |
));
|
59 |
|
app/code/community/Netsol/Seasons/Block/Config/Backend/Downloadcsv.php
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Netsol
|
16 |
+
* @package Netsol_Seasons
|
17 |
+
* @copyright Copyright (c) 2016 Netsolutions India (http://www.netsolutions.in)
|
18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
*/
|
20 |
+
class Netsol_Seasons_Block_Config_Backend_Downloadcsv extends Mage_Adminhtml_Block_System_Config_Form_Field
|
21 |
+
{
|
22 |
+
/**
|
23 |
+
* @description: button action to download
|
24 |
+
* sample csv to get latitude of user
|
25 |
+
*
|
26 |
+
* @return: $button html
|
27 |
+
* */
|
28 |
+
protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
|
29 |
+
{
|
30 |
+
|
31 |
+
$button = $this->getLayout()->createBlock('adminhtml/widget_button')
|
32 |
+
->setData(array(
|
33 |
+
'id' => 'seasons_csv',
|
34 |
+
'label' => $this->helper('adminhtml')->__('Download Sample Csv'),
|
35 |
+
'onclick' => 'setLocation(\''.Mage::helper('adminhtml')->getUrl('seasons/adminhtml_system_config/downloadcsvfile') . '\')',
|
36 |
+
));
|
37 |
+
|
38 |
+
return $button->toHtml();
|
39 |
+
}
|
40 |
+
}
|
app/code/community/Netsol/Seasons/Helper/Data.php
CHANGED
@@ -59,6 +59,12 @@ class Netsol_Seasons_Helper_Data extends Mage_Core_Helper_Abstract
|
|
59 |
*/
|
60 |
const XML_PATH_SEASON_SLIDER_ENABLED = 'pa_seasonssetting/pa_seasons/season_slider_enabled';
|
61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
/**
|
63 |
* enable/disable
|
64 |
*
|
@@ -101,12 +107,12 @@ class Netsol_Seasons_Helper_Data extends Mage_Core_Helper_Abstract
|
|
101 |
*/
|
102 |
protected $seasonSliderEnabled = null;
|
103 |
|
104 |
-
|
105 |
-
*
|
106 |
*
|
107 |
* @var number
|
108 |
*/
|
109 |
-
protected $
|
110 |
|
111 |
public function __construct()
|
112 |
{
|
@@ -116,6 +122,7 @@ class Netsol_Seasons_Helper_Data extends Mage_Core_Helper_Abstract
|
|
116 |
$this->heading = $this->_getHeading();
|
117 |
$this->seasonDefaultIpaddress = $this->_getDefaultIpaddress();
|
118 |
$this->seasonSliderEnabled = $this->_getSeasonSliderEnabled();
|
|
|
119 |
}
|
120 |
}
|
121 |
|
@@ -186,6 +193,17 @@ class Netsol_Seasons_Helper_Data extends Mage_Core_Helper_Abstract
|
|
186 |
return $this->seasonSliderEnabled;
|
187 |
}
|
188 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
/**
|
190 |
* @description retrieve options
|
191 |
*
|
@@ -222,7 +240,10 @@ class Netsol_Seasons_Helper_Data extends Mage_Core_Helper_Abstract
|
|
222 |
{
|
223 |
return Mage::getStoreConfig($xmlPath, Mage::app()->getStore()->getId());
|
224 |
}
|
225 |
-
|
|
|
|
|
|
|
226 |
|
227 |
}
|
228 |
|
59 |
*/
|
60 |
const XML_PATH_SEASON_SLIDER_ENABLED = 'pa_seasonssetting/pa_seasons/season_slider_enabled';
|
61 |
|
62 |
+
/**
|
63 |
+
* To get csv file path
|
64 |
+
* @var string
|
65 |
+
*/
|
66 |
+
const XML_PATH_FILE_CSV_PATH = 'pa_seasonssetting/pa_seasons/upload';
|
67 |
+
|
68 |
/**
|
69 |
* enable/disable
|
70 |
*
|
107 |
*/
|
108 |
protected $seasonSliderEnabled = null;
|
109 |
|
110 |
+
/**
|
111 |
+
* csv file path
|
112 |
*
|
113 |
* @var number
|
114 |
*/
|
115 |
+
protected $csvFilePath = null;
|
116 |
|
117 |
public function __construct()
|
118 |
{
|
122 |
$this->heading = $this->_getHeading();
|
123 |
$this->seasonDefaultIpaddress = $this->_getDefaultIpaddress();
|
124 |
$this->seasonSliderEnabled = $this->_getSeasonSliderEnabled();
|
125 |
+
$this->csvFilePath = $this->_getStoreFilecsvConfig();
|
126 |
}
|
127 |
}
|
128 |
|
193 |
return $this->seasonSliderEnabled;
|
194 |
}
|
195 |
|
196 |
+
/**
|
197 |
+
* @description: get csv file path
|
198 |
+
* @param no
|
199 |
+
* @return csv file path $filepath
|
200 |
+
*/
|
201 |
+
public function getStoreFilecsvConfig($uploadDownload)
|
202 |
+
{
|
203 |
+
$filepath = Mage::getBaseDir('base').'/var/netsol/seasons/csv/uploads/'.$this->csvFilePath;
|
204 |
+
return $filepath;
|
205 |
+
}
|
206 |
+
|
207 |
/**
|
208 |
* @description retrieve options
|
209 |
*
|
240 |
{
|
241 |
return Mage::getStoreConfig($xmlPath, Mage::app()->getStore()->getId());
|
242 |
}
|
243 |
+
protected function _getStoreFilecsvConfig()
|
244 |
+
{
|
245 |
+
return Mage::getStoreConfig(self::XML_PATH_FILE_CSV_PATH);
|
246 |
+
}
|
247 |
|
248 |
}
|
249 |
|
app/code/community/Netsol/Seasons/Helper/Seasonapi.php
CHANGED
@@ -20,6 +20,42 @@
|
|
20 |
class Netsol_Seasons_Helper_Seasonapi extends Netsol_Seasons_Helper_Data
|
21 |
{
|
22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
/**
|
24 |
* @description: Get Latitude of user fromits ip address
|
25 |
* using freegeoip api
|
@@ -44,11 +80,39 @@ class Netsol_Seasons_Helper_Seasonapi extends Netsol_Seasons_Helper_Data
|
|
44 |
$ip_data = str_replace('"', '"', $ip_data);
|
45 |
|
46 |
return $ip_data['geoplugin_latitude']; */
|
|
|
47 |
if ($ip_data_in) {
|
48 |
$location = json_decode($ip_data_in);
|
49 |
$latitude = $location->latitude;
|
50 |
$longitude = $location->longitude;
|
51 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
|
53 |
return $latitude;
|
54 |
}
|
@@ -69,6 +133,7 @@ class Netsol_Seasons_Helper_Seasonapi extends Netsol_Seasons_Helper_Data
|
|
69 |
public function getProductOfSeason($ip)
|
70 |
{
|
71 |
try {
|
|
|
72 |
$seasonProductIds = array();
|
73 |
$latitudeOfUser = $this->getLatAddress($ip);
|
74 |
$helper = Mage::helper('seasons/data');
|
@@ -119,8 +184,7 @@ class Netsol_Seasons_Helper_Seasonapi extends Netsol_Seasons_Helper_Data
|
|
119 |
}
|
120 |
|
121 |
|
122 |
-
}
|
123 |
-
elseif($latitudeOfUser < -23.5 && $latitudeOfUser > -90) {
|
124 |
|
125 |
$hemisphereOfUser = 'Southern';
|
126 |
$paSeasonModel->addFieldToFilter('hemisphere',array('eq'=>$hemisphereOfUser));
|
20 |
class Netsol_Seasons_Helper_Seasonapi extends Netsol_Seasons_Helper_Data
|
21 |
{
|
22 |
|
23 |
+
/**
|
24 |
+
* @description: Get Latitude of user from its ip address
|
25 |
+
* using IP2LOCATION-LITE-DB5.csv or file upload from admin
|
26 |
+
*
|
27 |
+
* @param $file,$chunk_size,$callback
|
28 |
+
* @return $latitude
|
29 |
+
* */
|
30 |
+
protected function file_get_contents_chunked($file,$chunk_size,$callback,$ipnumber)
|
31 |
+
{
|
32 |
+
try
|
33 |
+
{
|
34 |
+
$handle = fopen($file, "r");
|
35 |
+
$i = 0;
|
36 |
+
while (!feof($handle))
|
37 |
+
{
|
38 |
+
|
39 |
+
call_user_func_array($callback,array($data = fgetcsv($handle, ","),&$handle,$i));
|
40 |
+
|
41 |
+
if($ipnumber <= $data[1] && $ipnumber >= $data[0]) {
|
42 |
+
|
43 |
+
$latitude = $data[2];
|
44 |
+
}
|
45 |
+
$i++;
|
46 |
+
}
|
47 |
+
|
48 |
+
fclose($handle);
|
49 |
+
|
50 |
+
}
|
51 |
+
catch(Exception $e)
|
52 |
+
{
|
53 |
+
trigger_error("file_get_contents_chunked::" . $e->getMessage(),E_USER_NOTICE);
|
54 |
+
return false;
|
55 |
+
}
|
56 |
+
|
57 |
+
return $latitude;
|
58 |
+
}
|
59 |
/**
|
60 |
* @description: Get Latitude of user fromits ip address
|
61 |
* using freegeoip api
|
80 |
$ip_data = str_replace('"', '"', $ip_data);
|
81 |
|
82 |
return $ip_data['geoplugin_latitude']; */
|
83 |
+
|
84 |
if ($ip_data_in) {
|
85 |
$location = json_decode($ip_data_in);
|
86 |
$latitude = $location->latitude;
|
87 |
$longitude = $location->longitude;
|
88 |
}
|
89 |
+
/**
|
90 |
+
* Alternate method when seasonal api doesnot work
|
91 |
+
* DB csv file of ip address range with its
|
92 |
+
* corresponding latitude
|
93 |
+
* Reading this csv file and providing the latitude
|
94 |
+
* of user with its ip address
|
95 |
+
* */
|
96 |
+
if($latitude == '') {
|
97 |
+
|
98 |
+
list($a,$b,$c,$d)= explode('.', $ip);
|
99 |
+
|
100 |
+
$ipnumber = 16777216*$a + 65536*$b + 256*$c + $d;
|
101 |
+
$filepath = Mage::helper('seasons/data')->getStoreFilecsvConfig();
|
102 |
+
|
103 |
+
$latitude = $this->file_get_contents_chunked($filepath,4096,function($chunk,&$handle,$iteration) {
|
104 |
+
|
105 |
+
/* * Do what you will with the {&chunk} here
|
106 |
+
* {$handle} is passed in case you want to seek
|
107 |
+
** to different parts of the filefile_get_contents_chunked
|
108 |
+
* {$iteration} is the section fo the file that has been read so
|
109 |
+
* ($i * 4096) is your current offset within the file.
|
110 |
+
*/
|
111 |
+
|
112 |
+
},$ipnumber);
|
113 |
+
|
114 |
+
|
115 |
+
}
|
116 |
|
117 |
return $latitude;
|
118 |
}
|
133 |
public function getProductOfSeason($ip)
|
134 |
{
|
135 |
try {
|
136 |
+
|
137 |
$seasonProductIds = array();
|
138 |
$latitudeOfUser = $this->getLatAddress($ip);
|
139 |
$helper = Mage::helper('seasons/data');
|
184 |
}
|
185 |
|
186 |
|
187 |
+
}elseif($latitudeOfUser < -23.5 && $latitudeOfUser > -90) {
|
|
|
188 |
|
189 |
$hemisphereOfUser = 'Southern';
|
190 |
$paSeasonModel->addFieldToFilter('hemisphere',array('eq'=>$hemisphereOfUser));
|
app/code/community/Netsol/Seasons/Model/Config/Backend/Csv.php
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Netsol
|
16 |
+
* @package Netsol_Seasons
|
17 |
+
* @copyright Copyright (c) 2016 Netsolutions India (http://www.netsolutions.in)
|
18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
*/
|
20 |
+
class Netsol_Seasons_Model_Config_Backend_Csv extends Mage_Adminhtml_Model_System_Config_Backend_File
|
21 |
+
{
|
22 |
+
/**
|
23 |
+
* @description:Allowed file extension is only csv
|
24 |
+
* */
|
25 |
+
protected function _getAllowedExtensions()
|
26 |
+
{
|
27 |
+
return array('csv');
|
28 |
+
}
|
29 |
+
}
|
app/code/community/Netsol/Seasons/controllers/Adminhtml/PaseasonController.php
CHANGED
@@ -92,9 +92,8 @@ class Netsol_Seasons_Adminhtml_PaseasonController extends Mage_Adminhtml_Control
|
|
92 |
{
|
93 |
|
94 |
$post_data=$this->getRequest()->getPost();
|
95 |
-
$
|
96 |
-
$
|
97 |
-
$end_date = $year.'-'.$post_data['end_date'];
|
98 |
|
99 |
if ($post_data) {
|
100 |
|
92 |
{
|
93 |
|
94 |
$post_data=$this->getRequest()->getPost();
|
95 |
+
$start_date = $post_data['start_date'];
|
96 |
+
$end_date = $post_data['end_date'];
|
|
|
97 |
|
98 |
if ($post_data) {
|
99 |
|
app/code/community/Netsol/Seasons/controllers/Adminhtml/System/ConfigController.php
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Netsol
|
16 |
+
* @package Netsol_Seasons
|
17 |
+
* @copyright Copyright (c) 2016 Netsolutions India (http://www.netsolutions.in)
|
18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
*/
|
20 |
+
class Netsol_Seasons_Adminhtml_System_ConfigController extends Mage_Adminhtml_Controller_Action
|
21 |
+
{
|
22 |
+
/**
|
23 |
+
* @description: For download the sample csv
|
24 |
+
* for getting latitude
|
25 |
+
* from ip address
|
26 |
+
* */
|
27 |
+
public function downloadcsvFileAction()
|
28 |
+
{
|
29 |
+
$filename = 'IP2LOCATION-LITE-DB5-short.csv';
|
30 |
+
$filepath = Mage::getBaseDir('base').'/var/netsol/seasons/csv/downloads/'.$filename;
|
31 |
+
|
32 |
+
if ($filename) {
|
33 |
+
try {
|
34 |
+
$this->_prepareDownloadResponse($filename, array('type' => 'filename', 'value' => $filepath));
|
35 |
+
|
36 |
+
} catch (Exception $e) {
|
37 |
+
$this->_getSession()->addError($e->getMessage());
|
38 |
+
}
|
39 |
+
} else {
|
40 |
+
$this->_getSession()->addError($filepath . ' not found');
|
41 |
+
$this->_redirect('adminhtml/cache');
|
42 |
+
return;
|
43 |
+
}
|
44 |
+
}
|
45 |
+
}
|
app/code/community/Netsol/Seasons/etc/config.xml
CHANGED
@@ -22,7 +22,7 @@
|
|
22 |
<config>
|
23 |
<modules>
|
24 |
<Netsol_Seasons>
|
25 |
-
<version>0.1.
|
26 |
</Netsol_Seasons>
|
27 |
</modules>
|
28 |
<frontend>
|
22 |
<config>
|
23 |
<modules>
|
24 |
<Netsol_Seasons>
|
25 |
+
<version>0.1.2</version>
|
26 |
</Netsol_Seasons>
|
27 |
</modules>
|
28 |
<frontend>
|
app/code/community/Netsol/Seasons/etc/system.xml
CHANGED
@@ -88,15 +88,15 @@
|
|
88 |
<validate>required-entry validate-digits-range digits-range-1-20</validate>
|
89 |
</max_product_count>
|
90 |
|
91 |
-
|
92 |
<label>IP Address</label>
|
93 |
<frontend_type>text</frontend_type>
|
94 |
<sort_order>16</sort_order>
|
95 |
<show_in_default>1</show_in_default>
|
96 |
<show_in_website>1</show_in_website>
|
97 |
<show_in_store>1</show_in_store>
|
98 |
-
<comment>
|
99 |
-
</season_check_ip
|
100 |
|
101 |
<season_slider_enabled translate="label">
|
102 |
<label>Enable season slider </label>
|
@@ -108,7 +108,28 @@
|
|
108 |
<show_in_store>1</show_in_store>
|
109 |
<comment>Disable existing slider of theme and site to display season slider.</comment>
|
110 |
</season_slider_enabled>
|
111 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
</fields>
|
113 |
</pa_seasons>
|
114 |
</groups>
|
88 |
<validate>required-entry validate-digits-range digits-range-1-20</validate>
|
89 |
</max_product_count>
|
90 |
|
91 |
+
<season_check_ip translate="label">
|
92 |
<label>IP Address</label>
|
93 |
<frontend_type>text</frontend_type>
|
94 |
<sort_order>16</sort_order>
|
95 |
<show_in_default>1</show_in_default>
|
96 |
<show_in_website>1</show_in_website>
|
97 |
<show_in_store>1</show_in_store>
|
98 |
+
<comment>To test on localhost please add IP addresses which you want to check season , recommend product based on dummy ip address. Please empty the field on production.</comment>
|
99 |
+
</season_check_ip>
|
100 |
|
101 |
<season_slider_enabled translate="label">
|
102 |
<label>Enable season slider </label>
|
108 |
<show_in_store>1</show_in_store>
|
109 |
<comment>Disable existing slider of theme and site to display season slider.</comment>
|
110 |
</season_slider_enabled>
|
111 |
+
|
112 |
+
<download_csv translate="label">
|
113 |
+
<label>Download Sample Csv</label>
|
114 |
+
<frontend_type>button</frontend_type>
|
115 |
+
<frontend_model>seasons/config_backend_downloadcsv</frontend_model>
|
116 |
+
<sort_order>18</sort_order>
|
117 |
+
<show_in_default>1</show_in_default>
|
118 |
+
<show_in_website>1</show_in_website>
|
119 |
+
<show_in_store>1</show_in_store>
|
120 |
+
</download_csv>
|
121 |
+
|
122 |
+
<upload translate="label">
|
123 |
+
<label>Csv Upload </label>
|
124 |
+
<comment><![CDATA[This file gives you user ip address corresponding its latitude.]]></comment>
|
125 |
+
<frontend_type>file</frontend_type>
|
126 |
+
<backend_model>seasons/config_backend_csv</backend_model>
|
127 |
+
<upload_dir>var/netsol/seasons/csv/uploads</upload_dir>
|
128 |
+
<sort_order>19</sort_order>
|
129 |
+
<show_in_default>1</show_in_default>
|
130 |
+
<show_in_website>1</show_in_website>
|
131 |
+
<show_in_store>1</show_in_store>
|
132 |
+
</upload>
|
133 |
</fields>
|
134 |
</pa_seasons>
|
135 |
</groups>
|
app/code/community/Netsol/Seasons/sql/netsol_seasons_setup/mysql4-upgrade-0.1.1-0.1.2.php
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* No difference in database */
|
app/etc/modules/Netsol_Seasons.xml
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
<Netsol_Seasons>
|
5 |
<active>true</active>
|
6 |
<codePool>community</codePool>
|
7 |
-
<version>0.1.
|
8 |
<comment>Before disable/uninstall this module also delete attribute seasons otherwise the website will display error.</comment>
|
9 |
</Netsol_Seasons>
|
10 |
</modules>
|
4 |
<Netsol_Seasons>
|
5 |
<active>true</active>
|
6 |
<codePool>community</codePool>
|
7 |
+
<version>0.1.2</version>
|
8 |
<comment>Before disable/uninstall this module also delete attribute seasons otherwise the website will display error.</comment>
|
9 |
</Netsol_Seasons>
|
10 |
</modules>
|
media/netsol/seasons/paseason/autmn-5.jpg
ADDED
Binary file
|
media/netsol/seasons/paseason/autumn_leaves_tea_cup_scarf.jpg
ADDED
Binary file
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Netsol_Seasons</name>
|
4 |
-
<version>0.1.
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>This extension will recommend products to users on the basis of local seasons. You can assign multiple seasons to products.Will also help vendors to add banners and assign to different seasons.</description>
|
11 |
<notes>Its stable version for 1.7, 1.8 and 1.9.</notes>
|
12 |
<authors><author><name>Netsolutions</name><user>netsolutions</user><email>marketing@netsolutionsindia.com</email></author></authors>
|
13 |
-
<date>2016-10-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Netsol"><dir name="Seasons"><dir name="Block"><dir name="Adminhtml"><dir name="Paseason"><dir name="Edit"><file name="Form.php" hash="ccdf0fd2487bc5877b6daa71cfdd2131"/><dir name="Tab"><file name="Form.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>7.0.10</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Netsol_Seasons</name>
|
4 |
+
<version>0.1.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL</license>
|
7 |
<channel>community</channel>
|
10 |
<description>This extension will recommend products to users on the basis of local seasons. You can assign multiple seasons to products.Will also help vendors to add banners and assign to different seasons.</description>
|
11 |
<notes>Its stable version for 1.7, 1.8 and 1.9.</notes>
|
12 |
<authors><author><name>Netsolutions</name><user>netsolutions</user><email>marketing@netsolutionsindia.com</email></author></authors>
|
13 |
+
<date>2016-10-17</date>
|
14 |
+
<time>04:33:54</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Netsol"><dir name="Seasons"><dir name="Block"><dir name="Adminhtml"><dir name="Paseason"><dir name="Edit"><file name="Form.php" hash="ccdf0fd2487bc5877b6daa71cfdd2131"/><dir name="Tab"><file name="Form.php" hash="ada77a9bd0e594e728f1a8829436a2a3"/></dir><file name="Tabs.php" hash="9cd0626c4d37aa1de2566f375094a80a"/></dir><file name="Edit.php" hash="115d3063acc77bc0f152287a5c486bf2"/><file name="Grid.php" hash="f5bfa8304f08bce52ba992aa3ea48516"/></dir><file name="Paseason.php" hash="6bdb9094a250db135922abb7d2d6a5aa"/><dir name="Renderer"><file name="Customdate.php" hash="c8dd4e37c2e050e7a8cd6e88f86909ff"/><file name="Customseason.php" hash="0fa1f5425a448c3d6f6ea0967e7d786a"/><file name="Seasonbanner.php" hash="f66d2303cb133ade174e834a7f7a4894"/></dir><dir name="Seasonbanner"><dir name="Edit"><file name="Form.php" hash="3c881652be4250454274295bf7500012"/><dir name="Tab"><file name="Form.php" hash="3d64882e64abc39412f098ea4a4980df"/></dir><file name="Tabs.php" hash="fcd5b3e86ff76efebd61d54985a25492"/></dir><file name="Edit.php" hash="a8487a7d81071e7a9281afd573538bdb"/><file name="Grid.php" hash="356433d42bb4218fb10b91fc9febfed1"/></dir><file name="Seasonbanner.php" hash="a377f813b7112b3b9e02900b93d3ee5a"/></dir><dir name="Config"><dir name="Backend"><file name="Downloadcsv.php" hash="1af0555275365cfd10401193653844b6"/></dir></dir><file name="Paseasons.php" hash="e439e15c57506a4c1377745b789d5573"/></dir><dir name="Helper"><file name="Data.php" hash="84e429b2f5a7bb49da226979c196ba94"/><file name="Image.php" hash="3a1872661373593ec02a698558925782"/><file name="Seasonapi.php" hash="b0b27748775c9688822fe250875c32a8"/><file name="Seasonbanner.php" hash="90e8fde63607f40ff65a6ef90f3417c1"/></dir><dir name="Model"><dir name="Config"><dir name="Backend"><file name="Csv.php" hash="e5209b1955bf13df535acdec9ba468c0"/></dir><dir name="Source"><file name="Seasons.php" hash="804c8122f6ea20062c5ccc2557c8a33e"/></dir></dir><dir name="Mysql4"><dir name="Paseason"><file name="Collection.php" hash="e9aa70919cf54dac425cd99030e18352"/></dir><file name="Paseason.php" hash="2229f5bbca9c787d0fcb3fba8b939d78"/><dir name="Seasonbanner"><file name="Collection.php" hash="1acee89901bc1e2200bb32a0d7bd84bd"/></dir><file name="Seasonbanner.php" hash="69f30f5bbfe81c79d14d18fc3348320c"/></dir><file name="Observer.php" hash="14f50bf6f915653620d4ec2323afa727"/><file name="Paseason.php" hash="3b5c25ed76a019f735dc6cad28ad773d"/><file name="Seasonbanner.php" hash="2476de363f2976edaf9e9ec83da8a103"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="PaseasonController.php" hash="f3452f4791822d6838a823aa7b06524a"/><file name="SeasonbannerController.php" hash="24115214285fe864baa6af3e72617af6"/><dir name="System"><file name="ConfigController.php" hash="e1b68c25100ac11823aa4a332b1d1797"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="676c915245ef53bf5cca1814c7e1a956"/><file name="config.xml" hash="8db982fc36f62a8302b136a7c7299109"/><file name="system.xml" hash="187ad031b535ecedb466129bac85665e"/></dir><dir name="sql"><dir name="netsol_seasons_setup"><file name="mysql4-install-0.1.1.php" hash="3dade1b5d11a079210e9814cc1af9edd"/><file name="mysql4-upgrade-0.1.1-0.1.2.php" hash="ecdaefef485fc41cecc9de89fad97737"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Netsol_Seasons.xml" hash="a19003565f95fb6830e843f266412abd"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="seasons.xml" hash="744df42c9f7ead91af6fd244dbc3d349"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="seasons"><file name="paseasons.phtml" hash="5eac40908ff168d8eff704a209bc1826"/><dir name="seasonbanner"><file name="paseasonsbanner.phtml" hash="119831465ee7a635996fc6d490dbbdbb"/></dir></dir></dir><dir name="layout"><file name="seasons.xml" hash="ac5ff2b4be85c3817ed85612650c8da7"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="js"><dir name="netsol"><dir name="seasons"><file name="jquery-1.10.2.js" hash="91515770ce8c55de23b306444d8ea998"/><file name="jquery-1.10.2.min.js" hash="841dc30647f93349b7d8ef61deebe411"/><file name="noconflict.js" hash="10bdc1b7f2effa529e5baae786007688"/><file name="owl.carousel.js" hash="a5f96c62d75be144282ef6cc429a6259"/><file name="owl.carousel.min.js" hash="88d0fe722f04973e2888b58a63aa0570"/><file name="paseasons.js" hash="50b9a92c4d06d86566ee296cdc6d54ea"/></dir></dir></dir><dir name="images"><dir name="netsol"><dir name="seasons"><file name="AjaxLoader.gif" hash="5b8b06c052cac80413d62e5c45f9f37b"/><file name="bx_loader.gif" hash="931bdb6b50816b03206c66921760b246"/><file name="controls.png" hash="d9d25372f38c6b242b9b51d5841fe86e"/><file name="grabbing.png" hash="d817e1dba5bd5d891d0504bf1715807b"/><dir name="img"><file name="a22.png" hash="4a4e7b5fc9bc337d0436c6eeab1286ac"/><file name="b05.png" hash="b5b353c4ec92a0f8be543f33741618f3"/><file name="blue.jpg" hash="f48172605bacf3736db4476b54137b4a"/><file name="c-finger-pointing.png" hash="54d90d631606c320ead9b631730a72c8"/><file name="c-fruit.png" hash="6817b21a71d626081320cb3bd2625f39"/><file name="c-jssor-slider.png" hash="256bd222521e529157cb55f3ccaef0a6"/><file name="c-navigator-horizontal.png" hash="08ee3363e812af83f71708a8cb76d634"/><file name="c-navigator.png" hash="59e03e2b25f9817c262ee7add7e01301"/><file name="c-phone-horizontal.png" hash="0002c7fbd6277ab9c00a7927251175da"/><file name="c-phone.png" hash="7018caef08ed3b50e75bf7cd33467481"/><file name="c-slide-1.jpg" hash="c48e147fc0c4affa72d05df35382c593"/><file name="c-slide-3.jpg" hash="cf07d3b5125137b64ac4e0174b1db5d8"/><file name="c-text.png" hash="5daeebb2869a55bd6744f441f99de182"/><file name="loading.gif" hash="dd78ac008009bd821d2bf2da98108854"/><file name="purple.jpg" hash="7dc5337b4c96856215cdd7a9326a4b89"/><file name="red.jpg" hash="a44283532b405c76351deabba800d7df"/></dir><dir name="predictiveanalytics"><file name="B01_search.jpg" hash="d7b27678105915bd9c82a6aff61d035f"/><file name="B02_time.jpg" hash="97b83733baa7ea7dc781ca0a49f74115"/><file name="B03_season.jpg" hash="7cdf87b8052d08b164ed8b894b837b6a"/><file name="B_all_in_1.jpg" hash="9fc817160a4e5f94963e9d4a7794bdcc"/><file name="B_all_in_2.jpg" hash="9ce1f6f13a8ff2119c3608e835b698d1"/><file name="B_all_in_3.jpg" hash="7b59db1d6f81cc4ede6c9ba320831ed1"/><file name="oh.jpg" hash="611a7ef90da62455f82b5f677f36ed70"/><file name="orderhistory1.jpg" hash="c0d51a7e74a9c9efe65616ebb291b0ad"/><file name="screenshot-5.jpg" hash="80c0fefbd59a0a9cef7ae06f5f41c224"/><file name="screenshot-6.jpg" hash="54e6b0f986950344cd1168c7f44b0eeb"/><file name="searchistory.jpg" hash="2baca071f0f5b1fdb8d098f8d2913a00"/><file name="season.jpg" hash="c6f28cc53be21c377a1b65ea70cc6398"/><file name="season1.jpg" hash="d5c7b07689c78240c63558ad151f9327"/></dir></dir></dir></dir><dir name="css"><dir name="netsol"><dir name="seasons"><file name="owl.carousel.css" hash="0371b5a2d50e985b09b7d337edc0dc9f"/><file name="owl.theme.css" hash="f23cf727e4fcca9a5470658da5e755c9"/><file name="paseasons.css" hash="668b40a0db2f0262922b072452061649"/><file name="seasons.css" hash="31251e0afa46dedc0de538b3401278a1"/></dir></dir></dir></dir></dir></dir></target><target name="magemedia"><dir name="netsol"><dir name="seasons"><dir name="paseason"><file name="GENERIC_BANNER_-_Anita_Hayes_-_Colossal_Tropical_Chip_Cookie.jpg" hash="4bec19c260dd6cbec8d75b93d5efcd3c"/><file name="autmn-5.jpg" hash="081f427b3063068e6481b1e57d0bef17"/><file name="autumn_leaves_tea_cup_scarf.jpg" hash="2d9038674b5cd2e0d298351e543b8fd9"/><file name="fresh-coconut-water-fb.jpg" hash="110a0de002438727f9403bb2dd01c009"/></dir></dir></dir></target><target name="mage"><dir name="."><file name="Support-season.url" hash="cdae1f810d1b044a099d709f5ed4dba9"/><file name="readme-season.html" hash="2f5d153766d40609b9c1627cbaf3026a"/></dir><dir name="var"><dir name="netsol"><dir name="seasons"><dir name="csv"><dir name="downloads"><file name="IP2LOCATION-LITE-DB5-short.csv" hash="1aab4067a5c1f1edd65e55a9ff487745"/></dir><dir name="uploads"><file name="demo.txt" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>7.0.10</max></php></required></dependencies>
|
18 |
</package>
|
readme-season.html
CHANGED
@@ -29,7 +29,7 @@
|
|
29 |
|
30 |
|
31 |
<h2 id="description">Description</h2>
|
32 |
-
<p><strong>Version 1.
|
33 |
|
34 |
<p>The present day eCommerce customers are highly accustomed to features like product recommendations and personalization.
|
35 |
A website that hosts features that help them save their browsing efforts and time are the most desirable.<br/>
|
@@ -81,13 +81,17 @@
|
|
81 |
<h3>Enable embeded jquery</h3>
|
82 |
<p>If Jquery is already added on your wesbite then set this option as "No"</p>
|
83 |
|
|
|
|
|
|
|
|
|
84 |
<h3>Enable season slider</h3>
|
85 |
<p>You want to show banners on homepage as per the seasons. </p>
|
86 |
|
87 |
|
88 |
<h2 id="catalog">Catalog Settings</h2>
|
89 |
|
90 |
-
<h3>Setting
|
91 |
<p>Visit <strong>Catalog->Manage Products->Personalytics</strong> in the Magento admin panel to see how you can assign seasons to different products. You can assign multiple seasons to products </p>
|
92 |
<p><img src="skin/frontend/base/default/images/netsol/seasons/predictiveanalytics/season1.jpg" style="max-width:1400px; "/></p>
|
93 |
|
@@ -106,7 +110,16 @@
|
|
106 |
|
107 |
<h3>When I try to access your extension's configuration at System->Configuration->Personalytics Settings, I get a 404 error</h3>
|
108 |
<p>Logout & Login back into the Magento admin panel.</p>
|
109 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
</div>
|
111 |
|
112 |
<div id="footer">
|
29 |
|
30 |
|
31 |
<h2 id="description">Description</h2>
|
32 |
+
<p><strong>Version 0.1.2</strong></p>
|
33 |
|
34 |
<p>The present day eCommerce customers are highly accustomed to features like product recommendations and personalization.
|
35 |
A website that hosts features that help them save their browsing efforts and time are the most desirable.<br/>
|
81 |
<h3>Enable embeded jquery</h3>
|
82 |
<p>If Jquery is already added on your wesbite then set this option as "No"</p>
|
83 |
|
84 |
+
<h3>IP Address</h3>
|
85 |
+
<p>This field is completely for testing, if the extension is installed on local server in that case there might be the chances we will not get the IP and latitide of the user location. For this please add any dummy IP of some locations to check if seasons are working correctly.</p>
|
86 |
+
<p><strong>PLEASE KEEP THIS FIELD BLANK IF YOU ARE NOT CHECKING ON LOCALHOST. OTHERWISE ONLY THE SEASON OF ADDED IP WILL BE CONSIDERED EVERYTIME</strong></p>
|
87 |
+
|
88 |
<h3>Enable season slider</h3>
|
89 |
<p>You want to show banners on homepage as per the seasons. </p>
|
90 |
|
91 |
|
92 |
<h2 id="catalog">Catalog Settings</h2>
|
93 |
|
94 |
+
<h3>Setting seasons product wise</h3>
|
95 |
<p>Visit <strong>Catalog->Manage Products->Personalytics</strong> in the Magento admin panel to see how you can assign seasons to different products. You can assign multiple seasons to products </p>
|
96 |
<p><img src="skin/frontend/base/default/images/netsol/seasons/predictiveanalytics/season1.jpg" style="max-width:1400px; "/></p>
|
97 |
|
110 |
|
111 |
<h3>When I try to access your extension's configuration at System->Configuration->Personalytics Settings, I get a 404 error</h3>
|
112 |
<p>Logout & Login back into the Magento admin panel.</p>
|
113 |
+
<h3>When I try upload package or install package from magento connect manager >> File upload problem error</h3>
|
114 |
+
<p>Please increase php_value upload_max_filesize to 4MB and php_value post_max_size 4MB in .htaccess file.</p>
|
115 |
+
<h3>I am not able to see any seasonal products, instead of assigning from backend</h3>
|
116 |
+
<p>We have used http://freegeoip.net api to get the seasons from particular IP[called http://freegeoip.net/json/$ip, where $ip is the IP of user who is browsing the website]</p>
|
117 |
+
<p>There might be the chances that this API gives no response in that case we have given one CSV file in the location var/netsol/seasons/csv/downloads/</p>
|
118 |
+
<p>In that CSV please add the IP ranges and latitudes of your country/location, IP should be in decimal format, so that if API doesn't work then location will be read from CSV file. You can add the data from http://download.db-ip.com/free/dbip-city-2016-10.csv.gz</p>
|
119 |
+
|
120 |
+
<p>If you want any paid API to be integrated you can contact us at marketing@netsolutionsindia.com</p>
|
121 |
+
<h3>Note:If you are uploading csv please make sure that you have to download the sameple csv file and then make the changes in that file
|
122 |
+
only and then upload the same file. Please don't upload the new file</h3>
|
123 |
</div>
|
124 |
|
125 |
<div id="footer">
|
var/netsol/seasons/csv/downloads/IP2LOCATION-LITE-DB5-short.csv
ADDED
@@ -0,0 +1,199 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
16777216,16777471,-27.46794,153.02809
|
2 |
+
16777472,16778239,26.06139,119.30611
|
3 |
+
16778240,16778495,-37.814,144.96332
|
4 |
+
16778496,16779007,-33.86785,151.20732
|
5 |
+
16779008,16779263,-37.814,144.96332
|
6 |
+
16779264,16781311,23.11667,113.25
|
7 |
+
16781312,16785407,35.689506,139.6917
|
8 |
+
16785408,16793599,23.11667,113.25
|
9 |
+
16793600,16809983,34.38528,132.45528
|
10 |
+
16809984,16810239,18.07861,98.035
|
11 |
+
16810240,16810495,13.75,100.51667
|
12 |
+
16810496,16810751,15.78164,99.51864
|
13 |
+
16810752,16811007,17.05157,104.67709
|
14 |
+
16811008,16811263,13.51824,99.95469
|
15 |
+
16811264,16812031,13.41456,100.00264
|
16 |
+
17406720,17406975,2.0442,102.5689
|
17 |
+
17406976,17407231,3.10726,101.60671
|
18 |
+
17407232,17407487,3.033333,101.716667
|
19 |
+
17407488,17407743,3.239026,101.650869
|
20 |
+
17407744,17408255,3.1412,101.68653
|
21 |
+
17408256,17408511,6.13328,102.2386
|
22 |
+
17408512,17408767,3.4836,103.3996
|
23 |
+
17408768,17409023,3.1412,101.68653
|
24 |
+
17409024,17409279,3.4836,103.3996
|
25 |
+
17409280,17409535,5.3302,103.1408
|
26 |
+
17409536,17410047,3.8077,103.326
|
27 |
+
17410048,17410559,3.1412,101.68653
|
28 |
+
17410560,17410815,4.8823,101.9644
|
29 |
+
17410816,17411583,3.1412,101.68653
|
30 |
+
17411584,17411839,3.013086,101.613804
|
31 |
+
17411840,17412095,2.9225,101.655
|
32 |
+
17412096,17412351,5.41123,100.33543
|
33 |
+
17412352,17412607,3.03333,101.75
|
34 |
+
17412608,17412863,5.647,100.48772
|
35 |
+
17412864,17413119,1.53333,103.66667
|
36 |
+
17413120,17413375,2.81667,101.5
|
37 |
+
17413376,17413631,1.6,103.81667
|
38 |
+
17413632,17413887,1.444179,103.648716
|
39 |
+
17413888,17414143,3.19862,101.686864
|
40 |
+
17414144,17414399,1.6,103.81667
|
41 |
+
17414400,17414655,3.08507,101.53281
|
42 |
+
17414656,17414911,5.81717,100.47381
|
43 |
+
17414912,17415423,3.03333,101.45
|
44 |
+
17415424,17415679,3.08507,101.53281
|
45 |
+
17415680,17415935,3.1412,101.68653
|
46 |
+
17415936,17416191,5.3302,103.1408
|
47 |
+
17416192,17416447,3.1412,101.68653
|
48 |
+
17416448,17416959,5.9749,116.0724
|
49 |
+
17416960,17417215,3.1412,101.68653
|
50 |
+
17417216,17417471,3.16667,113.03333
|
51 |
+
17417472,17417727,3.1412,101.68653
|
52 |
+
17417728,17417983,5.9749,116.0724
|
53 |
+
17417984,17418239,1.55,110.33333
|
54 |
+
17418240,17418495,4.4148,114.0089
|
55 |
+
17418496,17418751,1.55,110.33333
|
56 |
+
17418752,17419007,3.08507,101.53281
|
57 |
+
17419008,17419263,3.1412,101.68653
|
58 |
+
17419264,17419519,3.03333,101.45
|
59 |
+
17419520,17419775,3.10726,101.60671
|
60 |
+
17419776,17420031,4.4148,114.0089
|
61 |
+
17420032,17420287,5.8402,118.1179
|
62 |
+
17420288,17420543,3.8077,103.326
|
63 |
+
17420544,17420799,2.205692,102.256136
|
64 |
+
17420800,17421055,2.8033,101.7972
|
65 |
+
17421056,17421311,3.1412,101.68653
|
66 |
+
17421312,17421567,2.3804,102.2089
|
67 |
+
17421568,17421823,1.6561,103.6032
|
68 |
+
17421824,17422335,3.1412,101.68653
|
69 |
+
17422336,17422591,2.65,101.7
|
70 |
+
17422592,17423871,3.1412,101.68653
|
71 |
+
17423872,17424127,5.9749,116.0724
|
72 |
+
17424128,17424383,1.55,110.33333
|
73 |
+
17424384,17424639,3.1412,101.68653
|
74 |
+
17424640,17425151,3.033333,101.716667
|
75 |
+
17425152,17430015,3.1412,101.68653
|
76 |
+
17430016,17430271,1.8278,103.3
|
77 |
+
17430272,17432575,3.1412,101.68653
|
78 |
+
17432576,17434623,23.11667,113.25
|
79 |
+
17434624,17435135,26.06139,119.30611
|
80 |
+
17435136,17435391,-27.46794,153.02809
|
81 |
+
18278144,18278399,18.61667,73.8
|
82 |
+
18278400,18278911,21.16667,72.83333
|
83 |
+
18278912,18279167,12.97623,77.60329
|
84 |
+
18279168,18279423,21.23333,81.63333
|
85 |
+
18279424,18279935,25.33333,83
|
86 |
+
18279936,18280191,19.01441,72.84794
|
87 |
+
18280192,18280447,25.33333,83
|
88 |
+
18280448,18281215,25.45,81.85
|
89 |
+
18281216,18281471,28.63576,77.22445
|
90 |
+
18281472,18281727,28.68333,77.06667
|
91 |
+
18281728,18281983,28.46667,77.03333
|
92 |
+
18281984,18282239,28.66667,77.21667
|
93 |
+
18282240,18282495,28.46667,77.03333
|
94 |
+
18282496,18282751,21.15,79.1
|
95 |
+
18282752,18283007,28.63576,77.22445
|
96 |
+
18283008,18283263,19.2,72.96667
|
97 |
+
18283264,18283519,28.98333,77.7
|
98 |
+
18283520,18284031,21.23333,81.63333
|
99 |
+
18284032,18284287,25.33333,83
|
100 |
+
18284288,18284543,21.23333,81.63333
|
101 |
+
18284544,18284799,28.98333,77.7
|
102 |
+
18284800,18285055,11,76.96667
|
103 |
+
18285056,18285311,17.88333,83.43333
|
104 |
+
18285312,18285567,12.97623,77.60329
|
105 |
+
18285568,18285823,18.6,73.91667
|
106 |
+
18285824,18286079,26.91667,75.81667
|
107 |
+
18286080,18286335,17.37528,78.47444
|
108 |
+
18286336,18286591,12.97623,77.60329
|
109 |
+
18286592,18287103,13.1075,77.60028
|
110 |
+
18287104,18287359,12.97623,77.60329
|
111 |
+
18287360,18287615,13.1075,77.60028
|
112 |
+
18287616,18287871,17.37528,78.47444
|
113 |
+
18287872,18288383,12.97623,77.60329
|
114 |
+
18288384,18288639,22.71792,75.8333
|
115 |
+
18288640,18288895,13.08784,80.27847
|
116 |
+
18288896,18289151,12.97611,80.18361
|
117 |
+
18289152,18289407,12.97139,80.24722
|
118 |
+
18289408,18289663,13.08784,80.27847
|
119 |
+
18289664,18289919,12.89972,80.16778
|
120 |
+
18289920,18290431,12.97139,80.24722
|
121 |
+
18290432,18290687,12.97611,80.18361
|
122 |
+
18290688,18290943,12.97623,77.60329
|
123 |
+
18290944,18291199,12.97139,80.24722
|
124 |
+
18291200,18291455,13.09833,80.16222
|
125 |
+
18291456,18291711,19.2,72.96667
|
126 |
+
1150229504,1150229759,39.76861,-94.84663
|
127 |
+
1150229760,1150230015,38.98223,-94.67079
|
128 |
+
1150230016,1150230271,35.96064,-83.92074
|
129 |
+
1150230272,1150230527,39.75895,-84.19161
|
130 |
+
1150230528,1150230783,37.98869,-84.47772
|
131 |
+
1150230784,1150231039,37.54557,-97.26893
|
132 |
+
1150231040,1150231295,34.22573,-77.94471
|
133 |
+
1150231296,1150231551,41.13394,-81.48456
|
134 |
+
1150231552,1150231807,33.66946,-117.82311
|
135 |
+
1150231808,1150232063,32.77657,-79.93092
|
136 |
+
1150232064,1150232319,35.080583,-83.081188
|
137 |
+
1150232320,1150232575,42.19454,-71.83563
|
138 |
+
1150232576,1150232831,35.96064,-83.92074
|
139 |
+
1150232832,1150233087,36.370092,-83.196031
|
140 |
+
1150233088,1150233343,26.0112,-80.14949
|
141 |
+
1150233344,1150233599,37.33939,-121.89496
|
142 |
+
1150233600,1150233855,39.99754,-85.74664
|
143 |
+
1150233856,1150234111,35.25064,-91.73625
|
144 |
+
1150234112,1150234367,35.22709,-80.84313
|
145 |
+
1150234368,1150234623,39.95559,-86.01387
|
146 |
+
1150234624,1150234879,35.22257,-97.43948
|
147 |
+
1150234880,1150235135,29.971942,-81.427897
|
148 |
+
1150235136,1150235647,35.22709,-80.84313
|
149 |
+
1150235648,1150235903,40.12617,-82.92907
|
150 |
+
1150235904,1150236159,34.22573,-77.94471
|
151 |
+
1150236160,1150236415,34.68344,-82.83737
|
152 |
+
1150236416,1150236671,34.93873,-82.22706
|
153 |
+
1150236672,1150236927,34.74648,-92.28959
|
154 |
+
1150236928,1150237183,34.86742,-82.312671
|
155 |
+
1150237184,1150237439,39.162,-84.45689
|
156 |
+
1150237440,1150237695,35.7721,-78.63861
|
157 |
+
1150237696,1150237951,38.51311,-90.43595
|
158 |
+
1150237952,1150238207,38.63222,-90.77833
|
159 |
+
1150238208,1150238719,38.62727,-90.19789
|
160 |
+
1150238720,1150238975,37.69224,-97.33754
|
161 |
+
1150238976,1150239231,39.36006,-84.30994
|
162 |
+
1150239232,1150239743,32.77657,-79.93092
|
163 |
+
1150239744,1150239999,39.11417,-94.62746
|
164 |
+
1150240000,1150240255,38.98223,-94.67079
|
165 |
+
1150240256,1150240511,38.61557,-95.26775
|
166 |
+
1150240512,1150240767,38.98223,-94.67079
|
167 |
+
1150240768,1150241023,36.0397,-114.98194
|
168 |
+
1150241024,1150241279,30.45075,-91.15455
|
169 |
+
1150241280,1150241535,30.33218,-81.65565
|
170 |
+
1150241536,1150241791,29.95465,-90.07507
|
171 |
+
1150241792,1150242047,36.16589,-86.78444
|
172 |
+
1150242048,1150242303,34.00071,-81.03481
|
173 |
+
1239949824,1239950079,29.48607,-95.508
|
174 |
+
1239950080,1239950335,29.61968,-95.63495
|
175 |
+
1239950336,1239950847,29.92712,-95.62672
|
176 |
+
1239950848,1239952639,29.76328,-95.36327
|
177 |
+
1239952640,1239952895,29.38384,-94.9027
|
178 |
+
1239952896,1239953151,29.76328,-95.36327
|
179 |
+
1239953152,1239953407,29.78967,-95.50355
|
180 |
+
1239953408,1239953919,29.771579,-95.701043
|
181 |
+
1239953920,1239954175,29.96911,-95.69717
|
182 |
+
1239954176,1239954431,29.771579,-95.701043
|
183 |
+
1239954432,1239955455,29.76328,-95.36327
|
184 |
+
1239955456,1239955967,39.94782,-74.91168
|
185 |
+
1239955968,1239956991,29.61968,-95.63495
|
186 |
+
1239956992,1239957247,29.76328,-95.36327
|
187 |
+
1239957248,1239957503,30.09716,-95.61605
|
188 |
+
1239957504,1239957759,29.76328,-95.36327
|
189 |
+
1239957760,1239958015,30.15799,-95.48938
|
190 |
+
1239958016,1239958271,29.99883,-95.1766
|
191 |
+
1239958272,1239958527,29.99883,-95.26216
|
192 |
+
1239958528,1239959039,29.69106,-95.2091
|
193 |
+
1239959040,1239959295,29.59412,-95.68078
|
194 |
+
1239959296,1239959551,29.61968,-95.63495
|
195 |
+
1239959552,1239959807,29.93244,-95.38021
|
196 |
+
1239959808,1239960063,29.30135,-94.7977
|
197 |
+
1239960064,1239960831,29.69106,-95.2091
|
198 |
+
1239960832,1239961087,29.76328,-95.36327
|
199 |
+
1239961088,1239961343,30.16022,-95.44438
|
var/netsol/seasons/csv/uploads/demo.txt
ADDED
File without changes
|