Version Notes
If you have ideas for improvements or find bugs, please send them to Franck Charpentier at www.auguria.net, with Auguria LastReviews as part of the subject line.
Download this release
Release Info
Developer | Magento Core Team |
Extension | Auguria_Sponsorship |
Version | 1.0.5 |
Comparing to | |
See all releases |
Code changes from version 1.0.4 to 1.0.5
- app/code/community/Auguria/Sponsorship/Block/Customer/Account/PointsDetail.php +18 -6
- app/code/community/Auguria/Sponsorship/Helper/Data.php +1 -1
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/config.php +15 -17
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/openinviter.php +21 -40
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/_base.php +4 -5
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/aol.plg.php +57 -50
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/bigstring.plg.php +24 -23
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/canoe.plg.php +2 -2
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/cyworld.plg.php +2 -2
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/facebook.plg.php +43 -39
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/faces.plg.php +1 -1
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/fastmail.plg.php +12 -6
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/flickr.plg.php +5 -5
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/gawab.plg.php +3 -5
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/gmail.plg.php +2 -3
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/hi5.plg.php +3 -3
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/hotmail.plg.php +16 -36
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/linkedin.plg.php +27 -61
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/mail_ru.plg.php +3 -3
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/meinvz.plg.php +1 -1
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/multiply.plg.php +6 -6
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/myspace.plg.php +1 -1
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/netlog.plg.php +3 -2
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/plaxo.plg.php +79 -48
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/rambler.plg.php +5 -5
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/skyrock.plg.php +3 -3
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/tagged.plg.php +2 -2
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/twitter.plg.php +78 -48
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/xing.plg.php +24 -82
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/yahoo.plg.php +2 -2
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/yandex.plg.php +68 -34
- app/code/community/Auguria/Sponsorship/Model/Adminhtml/System/Config/Backend/Sponsorship/Openinviter.php +1 -1
- app/code/community/Auguria/Sponsorship/Model/Bookmarks.php +0 -21
- app/code/community/Auguria/Sponsorship/Model/Observer.php +7 -14
- app/code/community/Auguria/Sponsorship/Model/Openinviter.php +13 -0
- app/code/community/Auguria/Sponsorship/Model/SocialBookmarking/Bookmarks.php +0 -61
- app/code/community/Auguria/Sponsorship/Model/SocialBookmarking/Urls.php +23 -0
- app/code/community/Auguria/Sponsorship/controllers/FidelitypointsController.php +3 -2
- app/code/community/Auguria/Sponsorship/controllers/OpeninviterController.php +1 -1
- app/code/community/Auguria/Sponsorship/controllers/SponsorpointsController.php +3 -2
- app/code/community/Auguria/Sponsorship/etc/config.xml +2 -2
- app/design/frontend/default/default/template/sponsorship/customer/account/dashboard.phtml +10 -28
- app/design/frontend/default/default/template/sponsorship/customer/account/dashboard/fidelity_points.phtml +13 -7
- app/design/frontend/default/default/template/sponsorship/customer/account/dashboard/sponsor_points.phtml +18 -10
- app/design/frontend/default/default/template/sponsorship/customer/account/fidelitypointsdetail.phtml +6 -1
- app/design/frontend/default/default/template/sponsorship/customer/account/sponsorpointsdetail.phtml +16 -5
- app/design/frontend/default/default/template/sponsorship/customer/form/boost.phtml +1 -1
- app/design/frontend/default/default/template/sponsorship/customer/form/edit.phtml +12 -3
- app/design/frontend/default/default/template/sponsorship/customer/form/pointschange/pointschange_cash.phtml +18 -8
- app/design/frontend/default/default/template/sponsorship/customer/form/pointschange/pointschange_coupon.phtml +23 -9
- app/design/frontend/default/default/template/sponsorship/customer/form/register.phtml +154 -125
- app/design/frontend/default/default/template/sponsorship/customer/widget/name.phtml +61 -108
- app/design/frontend/default/default/template/sponsorship/customer/widget/virement.phtml +7 -8
- app/design/frontend/default/default/template/sponsorship/openinviter.phtml +7 -0
- app/design/frontend/default/default/template/sponsorship/sponsorship.phtml +1 -1
- app/locale/fr_FR/Auguria_Sponsorship.csv +32 -29
- package.xml +4 -4
app/code/community/Auguria/Sponsorship/Block/Customer/Account/PointsDetail.php
CHANGED
@@ -266,12 +266,6 @@ class Auguria_Sponsorship_Block_Customer_Account_PointsDetail extends Mage_Custo
|
|
266 |
|
267 |
public function getInvits()
|
268 |
{
|
269 |
-
/*
|
270 |
-
* select s.* from sponsorship s
|
271 |
-
where s.parent_id =1
|
272 |
-
and s.child_mail not in (select ce.email from customer_entity ce )
|
273 |
-
and s.datetime = (select max(sp.datetime) from sponsorship sp where sp.parent_id=1 and sp.child_mail = s.child_mail)
|
274 |
-
*/
|
275 |
$resource = Mage::getSingleton('core/resource');
|
276 |
$read = $resource->getConnection('core_read');
|
277 |
$select = $read->select()
|
@@ -283,4 +277,22 @@ class Auguria_Sponsorship_Block_Customer_Account_PointsDetail extends Mage_Custo
|
|
283 |
->where('s.datetime = ?', new Zend_Db_Expr('(select max(sp.datetime) from '.$resource->getTableName('sponsorship/sponsorship').' sp where sp.parent_id=s.parent_id and sp.child_mail = s.child_mail)'));
|
284 |
return $read->fetchAll($select);
|
285 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
286 |
}
|
266 |
|
267 |
public function getInvits()
|
268 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
269 |
$resource = Mage::getSingleton('core/resource');
|
270 |
$read = $resource->getConnection('core_read');
|
271 |
$select = $read->select()
|
277 |
->where('s.datetime = ?', new Zend_Db_Expr('(select max(sp.datetime) from '.$resource->getTableName('sponsorship/sponsorship').' sp where sp.parent_id=s.parent_id and sp.child_mail = s.child_mail)'));
|
278 |
return $read->fetchAll($select);
|
279 |
}
|
280 |
+
|
281 |
+
/**
|
282 |
+
*
|
283 |
+
* Check if customer navigator is ie8
|
284 |
+
* @return boolean
|
285 |
+
*/
|
286 |
+
public function isIe8()
|
287 |
+
{
|
288 |
+
$match=preg_match('/MSIE ([0-9]\.[0-9])/',$_SERVER['HTTP_USER_AGENT'],$reg);
|
289 |
+
if ($match!=0 && floatval($reg[1]) == 8)
|
290 |
+
{
|
291 |
+
return true;
|
292 |
+
}
|
293 |
+
else
|
294 |
+
{
|
295 |
+
return false;
|
296 |
+
}
|
297 |
+
}
|
298 |
}
|
app/code/community/Auguria/Sponsorship/Helper/Data.php
CHANGED
@@ -20,7 +20,7 @@ class Auguria_Sponsorship_Helper_Data extends Mage_Core_Helper_Abstract
|
|
20 |
|
21 |
public function haveOrder ()
|
22 |
{
|
23 |
-
$cId =
|
24 |
$commande = Mage::getModel("sales/order")
|
25 |
->getCollection()
|
26 |
->addAttributeToFilter('customer_id',$cId);
|
20 |
|
21 |
public function haveOrder ()
|
22 |
{
|
23 |
+
$cId = Mage::getSingleton('customer/session')->getCustomerId();
|
24 |
$commande = Mage::getModel("sales/order")
|
25 |
->getCollection()
|
26 |
->addAttributeToFilter('customer_id',$cId);
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/config.php
CHANGED
@@ -1,20 +1,18 @@
|
|
1 |
<?php
|
|
|
2 |
$openinviter_settings=array(
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
'message_body'=>"",
|
18 |
-
'message_subject'=>""
|
19 |
-
);
|
20 |
?>
|
1 |
<?php
|
2 |
+
|
3 |
$openinviter_settings=array(
|
4 |
+
"username"=>"",
|
5 |
+
"private_key"=>"",
|
6 |
+
"cookie_path"=>"/tmp",
|
7 |
+
"transport"=>"curl",
|
8 |
+
"local_debug"=>"on_error",
|
9 |
+
"remote_debug"=>"",
|
10 |
+
"hosted"=>"",
|
11 |
+
"proxies"=>array(),
|
12 |
+
"stats"=>"",
|
13 |
+
"plugins_cache_time"=>"1800",
|
14 |
+
"plugins_cache_file"=>"oi_plugins.php",
|
15 |
+
"update_files"=>true,
|
16 |
+
"stats_user"=>"",
|
17 |
+
"stats_password"=>"");
|
|
|
|
|
|
|
18 |
?>
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/openinviter.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
class openinviter
|
12 |
{
|
13 |
public $pluginTypes=array('email'=>'Email Providers','social'=>'Social Networks');
|
14 |
-
private $version='1.9.
|
15 |
private $configStructure=array(
|
16 |
'username'=>array('required'=>true,'default'=>''),
|
17 |
'private_key'=>array('required'=>true,'default'=>''),
|
@@ -104,7 +104,8 @@ class openinviter
|
|
104 |
private function statsOpenDB()
|
105 |
{
|
106 |
if (!$this->settings['stats']) return true;
|
107 |
-
if (
|
|
|
108 |
return false;
|
109 |
}
|
110 |
|
@@ -142,74 +143,54 @@ class openinviter
|
|
142 |
* @param string $plugin_name The name of the plugin being started
|
143 |
*/
|
144 |
public function startPlugin($plugin_name,$getPlugins=false)
|
145 |
-
{
|
146 |
-
if (!$getPlugins)
|
147 |
-
$this->currentPlugin=$this->availablePlugins[$plugin_name];
|
148 |
-
|
149 |
-
if (file_exists($this->basePath."/postinstall.php"))
|
150 |
{
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
elseif (!$this->
|
155 |
-
return false;
|
156 |
-
elseif (!$this->statsCheck())
|
157 |
-
return false;
|
158 |
elseif ($this->settings['hosted'])
|
159 |
-
{
|
160 |
-
if (!file_exists($this->basePath."/plugins/_hosted.plg.php"))
|
161 |
-
$this->internalError="Invalid service provider";
|
162 |
-
else
|
163 |
{
|
164 |
-
|
165 |
-
|
166 |
-
if ($getPlugins)
|
167 |
{
|
|
|
|
|
|
|
168 |
$this->servicesLink=new _hosted($plugin_name);
|
169 |
$this->servicesLink->settings=$this->settings;
|
170 |
$this->servicesLink->base_version=$this->version;
|
171 |
$this->servicesLink->base_path=$this->basePath;
|
172 |
-
|
173 |
else
|
174 |
-
|
175 |
$this->plugin=new _hosted($plugin_name);
|
176 |
$this->plugin->settings=$this->settings;
|
177 |
$this->plugin->base_version=$this->version;
|
178 |
$this->plugin->base_path=$this->basePath;
|
179 |
$this->plugin->hostedServices=$this->getPlugins();
|
|
|
180 |
}
|
181 |
}
|
182 |
-
}
|
183 |
elseif (file_exists($this->basePath."/plugins/{$plugin_name}.plg.php"))
|
184 |
-
{
|
185 |
-
$ok=true;
|
186 |
-
if (!class_exists($plugin_name))
|
187 |
{
|
188 |
-
|
189 |
-
}
|
190 |
$this->plugin=new $plugin_name();
|
191 |
$this->plugin->settings=$this->settings;
|
192 |
$this->plugin->base_version=$this->version;
|
193 |
$this->plugin->base_path=$this->basePath;
|
194 |
$this->currentPlugin=$this->availablePlugins[$plugin_name];
|
195 |
if (file_exists($this->basePath."/conf/{$plugin_name}.conf"))
|
196 |
-
|
197 |
include($this->basePath."/conf/{$plugin_name}.conf");
|
198 |
if (empty($enable)) $this->internalError="Invalid service provider";
|
199 |
if (!empty($messageDelay)) $this->plugin->messageDelay=$messageDelay; else $this->plugin->messageDelay=1;
|
200 |
-
if (!empty($maxMessages))
|
201 |
-
$this->plugin->maxMessages=$maxMessages;
|
202 |
-
else
|
203 |
-
$this->plugin->maxMessages=10;
|
204 |
}
|
205 |
}
|
206 |
-
else
|
207 |
-
{
|
208 |
-
$this->internalError="Invalid service provider";
|
209 |
-
return false;
|
210 |
-
}
|
211 |
return true;
|
212 |
-
|
213 |
|
214 |
/**
|
215 |
* Stop the internal plugin
|
11 |
class openinviter
|
12 |
{
|
13 |
public $pluginTypes=array('email'=>'Email Providers','social'=>'Social Networks');
|
14 |
+
private $version='1.9.4';
|
15 |
private $configStructure=array(
|
16 |
'username'=>array('required'=>true,'default'=>''),
|
17 |
'private_key'=>array('required'=>true,'default'=>''),
|
104 |
private function statsOpenDB()
|
105 |
{
|
106 |
if (!$this->settings['stats']) return true;
|
107 |
+
if (function_exists('sqlite_open'))
|
108 |
+
if ($this->statsDB=sqlite_open($this->basePath.'/openinviter_stats.sqlite',0666)) return true;
|
109 |
return false;
|
110 |
}
|
111 |
|
143 |
* @param string $plugin_name The name of the plugin being started
|
144 |
*/
|
145 |
public function startPlugin($plugin_name,$getPlugins=false)
|
|
|
|
|
|
|
|
|
|
|
146 |
{
|
147 |
+
if (!$getPlugins) $this->currentPlugin=$this->availablePlugins[$plugin_name];
|
148 |
+
if (file_exists($this->basePath."/postinstall.php")) { $this->internalError="You have to delete postinstall.php before using OpenInviter";return false; }
|
149 |
+
elseif (!$this->configOK) return false;
|
150 |
+
elseif (!$this->statsCheck()) return false;
|
|
|
|
|
|
|
151 |
elseif ($this->settings['hosted'])
|
|
|
|
|
|
|
|
|
152 |
{
|
153 |
+
if (!file_exists($this->basePath."/plugins/_hosted.plg.php")) $this->internalError="Invalid service provider";
|
154 |
+
else
|
|
|
155 |
{
|
156 |
+
if (!class_exists('_hosted')) require_once($this->basePath."/plugins/_hosted.plg.php");
|
157 |
+
if ($getPlugins)
|
158 |
+
{
|
159 |
$this->servicesLink=new _hosted($plugin_name);
|
160 |
$this->servicesLink->settings=$this->settings;
|
161 |
$this->servicesLink->base_version=$this->version;
|
162 |
$this->servicesLink->base_path=$this->basePath;
|
163 |
+
}
|
164 |
else
|
165 |
+
{
|
166 |
$this->plugin=new _hosted($plugin_name);
|
167 |
$this->plugin->settings=$this->settings;
|
168 |
$this->plugin->base_version=$this->version;
|
169 |
$this->plugin->base_path=$this->basePath;
|
170 |
$this->plugin->hostedServices=$this->getPlugins();
|
171 |
+
}
|
172 |
}
|
173 |
}
|
|
|
174 |
elseif (file_exists($this->basePath."/plugins/{$plugin_name}.plg.php"))
|
|
|
|
|
|
|
175 |
{
|
176 |
+
$ok=true;
|
177 |
+
if (!class_exists($plugin_name)) require_once($this->basePath."/plugins/{$plugin_name}.plg.php");
|
178 |
$this->plugin=new $plugin_name();
|
179 |
$this->plugin->settings=$this->settings;
|
180 |
$this->plugin->base_version=$this->version;
|
181 |
$this->plugin->base_path=$this->basePath;
|
182 |
$this->currentPlugin=$this->availablePlugins[$plugin_name];
|
183 |
if (file_exists($this->basePath."/conf/{$plugin_name}.conf"))
|
184 |
+
{
|
185 |
include($this->basePath."/conf/{$plugin_name}.conf");
|
186 |
if (empty($enable)) $this->internalError="Invalid service provider";
|
187 |
if (!empty($messageDelay)) $this->plugin->messageDelay=$messageDelay; else $this->plugin->messageDelay=1;
|
188 |
+
if (!empty($maxMessages)) $this->plugin->maxMessages=$maxMessages; else $this->plugin->maxMessages=10;
|
|
|
|
|
|
|
189 |
}
|
190 |
}
|
191 |
+
else { $this->internalError="Invalid service provider";return false; }
|
|
|
|
|
|
|
|
|
192 |
return true;
|
193 |
+
}
|
194 |
|
195 |
/**
|
196 |
* Stop the internal plugin
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/_base.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* the OpenInivter plugins
|
7 |
*
|
8 |
* @author OpenInviter
|
9 |
-
* @version 1.
|
10 |
*/
|
11 |
abstract class openinviter_base
|
12 |
{
|
@@ -417,12 +417,12 @@ abstract class openinviter_base
|
|
417 |
if ($header OR $follow) curl_setopt($this->curl, CURLOPT_HEADER, true);
|
418 |
else curl_setopt($this->curl, CURLOPT_HEADER, false);
|
419 |
curl_setopt($this->curl, CURLOPT_POSTFIELDS, $elements);
|
420 |
-
|
421 |
if ($follow)
|
422 |
{
|
423 |
$new_url=$this->followLocation($result,$url);
|
424 |
if ($new_url)
|
425 |
-
$result=$this->get($new_url,$
|
426 |
}
|
427 |
return $result;
|
428 |
}
|
@@ -479,8 +479,7 @@ abstract class openinviter_base
|
|
479 |
*/
|
480 |
public function stopPlugin($graceful=false)
|
481 |
{
|
482 |
-
if ($this->settings['transport']=='curl')
|
483 |
-
curl_close($this->curl);
|
484 |
if (!$graceful) $this->endSession();
|
485 |
}
|
486 |
|
6 |
* the OpenInivter plugins
|
7 |
*
|
8 |
* @author OpenInviter
|
9 |
+
* @version 1.7.6
|
10 |
*/
|
11 |
abstract class openinviter_base
|
12 |
{
|
417 |
if ($header OR $follow) curl_setopt($this->curl, CURLOPT_HEADER, true);
|
418 |
else curl_setopt($this->curl, CURLOPT_HEADER, false);
|
419 |
curl_setopt($this->curl, CURLOPT_POSTFIELDS, $elements);
|
420 |
+
$result=curl_exec($this->curl);
|
421 |
if ($follow)
|
422 |
{
|
423 |
$new_url=$this->followLocation($result,$url);
|
424 |
if ($new_url)
|
425 |
+
$result=$this->get($new_url,$follow,$header,$quiet,$url,$headers);
|
426 |
}
|
427 |
return $result;
|
428 |
}
|
479 |
*/
|
480 |
public function stopPlugin($graceful=false)
|
481 |
{
|
482 |
+
if ($this->settings['transport']=='curl') { if (isset($this->curl)) curl_close($this->curl); }
|
|
|
483 |
if (!$graceful) $this->endSession();
|
484 |
}
|
485 |
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/aol.plg.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'AOL',
|
4 |
-
'version'=>'1.5.
|
5 |
'description'=>"Get the contacts from an AOL account",
|
6 |
'base_version'=>'1.9.0',
|
7 |
'type'=>'email',
|
@@ -28,9 +28,9 @@ class aol extends openinviter_base
|
|
28 |
public $debug_array=array(
|
29 |
'initial_get'=>'pwderr',
|
30 |
'login_post'=>'loginForm',
|
31 |
-
'url_redirect'=>'var
|
32 |
'inbox'=>'aol.wsl.afExternalRunAtLoad = []',
|
33 |
-
'print_contacts'=>'
|
34 |
);
|
35 |
|
36 |
/**
|
@@ -65,7 +65,7 @@ class aol extends openinviter_base
|
|
65 |
}
|
66 |
|
67 |
$post_elements=$this->getHiddenElements($res);$post_elements['loginId']=$user;$post_elements['password']=$pass;
|
68 |
-
$res=$this->post("https://my.screenname.aol.com/_cqr/login/login.psp",$post_elements,true);
|
69 |
if ($this->checkResponse('login_post',$res))
|
70 |
$this->updateDebugBuffer('login_post',"https://my.screenname.aol.com/_cqr/login/login.psp",'POST',true,$post_elements);
|
71 |
else
|
@@ -78,7 +78,7 @@ class aol extends openinviter_base
|
|
78 |
|
79 |
|
80 |
$url_redirect=$this->getElementString($res,"'loginForm', 'false', '","')");
|
81 |
-
$res=$this->get($url_redirect
|
82 |
if ($this->checkResponse('url_redirect',$res))
|
83 |
$this->updateDebugBuffer('url_redirect',"{$url_redirect}",'GET');
|
84 |
else
|
@@ -87,12 +87,10 @@ class aol extends openinviter_base
|
|
87 |
$this->debugRequest();
|
88 |
$this->stopPlugin();
|
89 |
return false;
|
90 |
-
}
|
91 |
-
|
92 |
-
|
93 |
-
$
|
94 |
-
$url_redirect=str_replace("Suite.aspx","Lite/Today.aspx",$url_redirect);
|
95 |
-
$res=$this->get($url_redirect,true);
|
96 |
if ($this->checkResponse('inbox',$res))
|
97 |
$this->updateDebugBuffer('inbox',"{$url_redirect}",'GET');
|
98 |
else
|
@@ -125,52 +123,61 @@ class aol extends openinviter_base
|
|
125 |
$this->stopPlugin();
|
126 |
return false;
|
127 |
}
|
128 |
-
else
|
129 |
-
|
130 |
-
|
131 |
-
$
|
132 |
-
|
133 |
-
|
134 |
-
$url_temp=$this->getElementString($res,"command.','','","'");
|
135 |
-
$version=$this->getElementString($url_temp,'http://webmail.aol.com/','/');
|
136 |
-
$url_print=str_replace("');","",str_replace("PrintContacts.aspx","addresslist-print.aspx?command=all&sort=FirstLastNick&sortDir=Ascending&nameFormat=FirstLastNick&version={$version}:webmail.aol.com&user=",$url_temp));
|
137 |
-
$url_print.=$this->getElementString($res,"addresslist-print.aspx','","'");
|
138 |
-
|
139 |
-
|
140 |
-
$res=$this->get($url_print,true);
|
141 |
-
|
142 |
$contacts=array();
|
143 |
-
if ($this->checkResponse("print_contacts",$res))
|
144 |
-
{
|
145 |
-
$doc=new DOMDocument();libxml_use_internal_errors(true);if (!empty($res)) $doc->loadHTML($res);libxml_use_internal_errors(false);
|
146 |
-
$nodes=$doc->getElementsByTagName("span");$name=false;$flag_name=false;$flag_email=false;
|
147 |
-
$temp=array();
|
148 |
-
$descriptionArrayFlag=array('Screen Name:'=>'nickname','Email 1:'=>'email_1','Email 2:'=>'email_2','Mobile: '=>'phone_mobile','Home: '=>'phone_home','Work: '=>'phone_work','Pager: '=>'pager','Fax: '=>'fax_work','Family Names:'=>'last_name');
|
149 |
-
$xpath=new DOMXPath($doc);$query="//span";$data=$xpath->query($query);
|
150 |
-
foreach($data as $node)
|
151 |
-
{
|
152 |
-
if ($node->getAttribute("class")=="fullName") { $nameD=$node->nodeValue;$temp=array(); }
|
153 |
-
if (end($temp)!==false)
|
154 |
-
{
|
155 |
-
$key=key($temp);
|
156 |
-
if ($key=='Email 1:') $keyDescription=$node->nodeValue;
|
157 |
-
if (!empty($keyDescription))
|
158 |
-
{
|
159 |
-
if (empty($contacts[$keyDescription]['first_name'])) $contacts[$keyDescription]['full_name']=!empty($nameD)?$nameD:false;
|
160 |
-
$contacts[$keyDescription][$descriptionArrayFlag[$key]]=!empty($node->nodeValue)?$node->nodeValue:false; $temp[$key]=false;
|
161 |
-
}
|
162 |
-
}
|
163 |
-
if (isset($descriptionArrayFlag[$node->nodeValue])) $temp[$node->nodeValue]=true;
|
164 |
-
}
|
165 |
-
$this->updateDebugBuffer('print_contacts',"{$url_print}",'GET');
|
166 |
-
}
|
167 |
else
|
168 |
{
|
169 |
-
$this->updateDebugBuffer('print_contacts',"{$
|
170 |
$this->debugRequest();
|
171 |
$this->stopPlugin();
|
172 |
return false;
|
173 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
174 |
foreach ($contacts as $email=>$name) if (!$this->isEmail($email)) unset($contacts[$email]);
|
175 |
return $this->returnContacts($contacts);
|
176 |
}
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'AOL',
|
4 |
+
'version'=>'1.5.4',
|
5 |
'description'=>"Get the contacts from an AOL account",
|
6 |
'base_version'=>'1.9.0',
|
7 |
'type'=>'email',
|
28 |
public $debug_array=array(
|
29 |
'initial_get'=>'pwderr',
|
30 |
'login_post'=>'loginForm',
|
31 |
+
'url_redirect'=>'var gSuccessURL',
|
32 |
'inbox'=>'aol.wsl.afExternalRunAtLoad = []',
|
33 |
+
'print_contacts'=>'Email1'
|
34 |
);
|
35 |
|
36 |
/**
|
65 |
}
|
66 |
|
67 |
$post_elements=$this->getHiddenElements($res);$post_elements['loginId']=$user;$post_elements['password']=$pass;
|
68 |
+
$res=$this->post("https://my.screenname.aol.com/_cqr/login/login.psp",$post_elements,true);
|
69 |
if ($this->checkResponse('login_post',$res))
|
70 |
$this->updateDebugBuffer('login_post',"https://my.screenname.aol.com/_cqr/login/login.psp",'POST',true,$post_elements);
|
71 |
else
|
78 |
|
79 |
|
80 |
$url_redirect=$this->getElementString($res,"'loginForm', 'false', '","')");
|
81 |
+
$res=$this->get($url_redirect);
|
82 |
if ($this->checkResponse('url_redirect',$res))
|
83 |
$this->updateDebugBuffer('url_redirect',"{$url_redirect}",'GET');
|
84 |
else
|
87 |
$this->debugRequest();
|
88 |
$this->stopPlugin();
|
89 |
return false;
|
90 |
+
}
|
91 |
+
$url_redirect="http://mail.aol.com".$this->getElementString($res,'var gSuccessURL = "','"',$res);
|
92 |
+
$url_redirect=str_replace("Suite.aspx","Lite/Today.aspx",$url_redirect);
|
93 |
+
$res=$this->get($url_redirect,true);;
|
|
|
|
|
94 |
if ($this->checkResponse('inbox',$res))
|
95 |
$this->updateDebugBuffer('inbox',"{$url_redirect}",'GET');
|
96 |
else
|
123 |
$this->stopPlugin();
|
124 |
return false;
|
125 |
}
|
126 |
+
else $url=$this->login_ok;
|
127 |
+
$res=$this->get($url,true);
|
128 |
+
$url_temp=$this->getElementString($res,"command.','','","'");
|
129 |
+
$version=$this->getElementString($url_temp,'http://mail.aol.com/','/');
|
130 |
+
$urlEx="http://mail.aol.com/{$version}/aol-6/en-us/AB/ABExport.aspx?command=all&format=csv&user=".$this->getElementString($res,"addresslist-print.aspx','","'");
|
131 |
+
$res=$this->get($urlEx);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
132 |
$contacts=array();
|
133 |
+
if ($this->checkResponse("print_contacts",$res))
|
134 |
+
$this->updateDebugBuffer('print_contacts',"{$urlEx}",'GET');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
else
|
136 |
{
|
137 |
+
$this->updateDebugBuffer('print_contacts',"{$urlEx}",'GET',false);
|
138 |
$this->debugRequest();
|
139 |
$this->stopPlugin();
|
140 |
return false;
|
141 |
}
|
142 |
+
$contacts=array();
|
143 |
+
$temp=$this->parseCSV($res);
|
144 |
+
$contacts=array();
|
145 |
+
foreach ($temp as $values)
|
146 |
+
{
|
147 |
+
if (!empty($values[4]))
|
148 |
+
$contacts[$values[4]]=array('first_name'=>(!empty($values[0])?$values[0]:false),
|
149 |
+
'middle_name'=>(!empty($values[2])?$values[2]:false),
|
150 |
+
'last_name'=>(!empty($values[1])?$values[1]:false),
|
151 |
+
'nickname'=>false,
|
152 |
+
'email_1'=>(!empty($values[4])?$values[4]:false),
|
153 |
+
'email_2'=>false,
|
154 |
+
'email_3'=>false,
|
155 |
+
'organization'=>false,
|
156 |
+
'phone_mobile'=>(!empty($values[11])?$values[11]:false),
|
157 |
+
'phone_home'=>(!empty($values[9])?$values[9]:false),
|
158 |
+
'pager'=>false,
|
159 |
+
'address_home'=>false,
|
160 |
+
'address_city'=>(!empty($values[5])?$values[5]:false),
|
161 |
+
'address_state'=>(!empty($values[7])?$values[7]:false),
|
162 |
+
'address_country'=>(!empty($values[8])?$values[8]:false),
|
163 |
+
'postcode_home'=>(!empty($values[6])?$values[6]:false),
|
164 |
+
'company_work'=>(!empty($values[14])?$values[14]:false),
|
165 |
+
'address_work'=>false,
|
166 |
+
'address_work_city'=>(!empty($values[16])?$values[16]:false),
|
167 |
+
'address_work_country'=>(!empty($values[19])?$values[19]:false),
|
168 |
+
'address_work_state'=>(!empty($values[17])?$values[17]:false),
|
169 |
+
'address_work_postcode'=>(!empty($values[18])?$values[18]:false),
|
170 |
+
'fax_work'=>(!empty($values[21])?$values[21]:false),
|
171 |
+
'phone_work'=>(!empty($values[20])?$values[20]:false),
|
172 |
+
'website'=>(!empty($values[12])?$values[12]:false),
|
173 |
+
'isq_messenger'=>false,
|
174 |
+
'skype_essenger'=>false,
|
175 |
+
'yahoo_essenger'=>false,
|
176 |
+
'msn_messenger'=>false,
|
177 |
+
'aol_messenger'=>false,
|
178 |
+
'other_messenger'=>false,
|
179 |
+
);
|
180 |
+
}
|
181 |
foreach ($contacts as $email=>$name) if (!$this->isEmail($email)) unset($contacts[$email]);
|
182 |
return $this->returnContacts($contacts);
|
183 |
}
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/bigstring.plg.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Bigstring',
|
4 |
-
'version'=>'1.0.
|
5 |
'description'=>"Get the contacts from an Bigstring account",
|
6 |
-
'base_version'=>'1.
|
7 |
'type'=>'email',
|
8 |
'check_url'=>'http://www.bigstring.com/?old=1',
|
9 |
-
'requirement'=>'
|
10 |
-
'allowed_domains'=>
|
11 |
'imported_details'=>array('first_name','email_1'),
|
12 |
);
|
13 |
/**
|
@@ -25,9 +25,9 @@ class bigstring extends openinviter_base
|
|
25 |
public $internalError=false;
|
26 |
protected $timeout=30;
|
27 |
|
28 |
-
public $debug_array=array('initial_get'=>'
|
29 |
-
'login_post'=>'
|
30 |
-
'url_contacts'=>'
|
31 |
);
|
32 |
|
33 |
/**
|
@@ -48,20 +48,21 @@ class bigstring extends openinviter_base
|
|
48 |
$this->service_password=$pass;
|
49 |
if (!$this->init()) return false;
|
50 |
|
51 |
-
$res = $this->get("http://www.bigstring.com
|
52 |
if ($this->checkResponse("initial_get",$res))
|
53 |
-
$this->updateDebugBuffer('initial_get',"http://www.bigstring.com
|
54 |
else
|
55 |
{
|
56 |
-
$this->updateDebugBuffer('initial_get',"http://www.bigstring.com
|
57 |
$this->debugRequest();
|
58 |
$this->stopPlugin();
|
59 |
return false;
|
60 |
}
|
61 |
|
62 |
-
$form_action='http://www.bigstring.com/
|
63 |
-
$post_elements=array('
|
64 |
$res=$this->post($form_action,$post_elements,true);
|
|
|
65 |
if ($this->checkResponse("login_post",$res))
|
66 |
$this->updateDebugBuffer('login_post',$form_action,'POST',true,$post_elements);
|
67 |
else
|
@@ -72,9 +73,7 @@ class bigstring extends openinviter_base
|
|
72 |
return false;
|
73 |
}
|
74 |
|
75 |
-
|
76 |
-
|
77 |
-
$url_contacts="http://www.bigstring.com/email/addressbook/viewallcontacts.php?view=detailed";
|
78 |
$this->login_ok=$url_contacts;
|
79 |
return true;
|
80 |
}
|
@@ -95,23 +94,25 @@ class bigstring extends openinviter_base
|
|
95 |
$this->stopPlugin();
|
96 |
return false;
|
97 |
}
|
98 |
-
else $url=$this->login_ok;
|
99 |
-
$
|
|
|
100 |
if ($this->checkResponse("url_contacts",$res))
|
101 |
-
$this->updateDebugBuffer('url_contacts',$url,'
|
102 |
else
|
103 |
{
|
104 |
-
$this->updateDebugBuffer('url_contacts',$url,'
|
105 |
$this->debugRequest();
|
106 |
$this->stopPlugin();
|
107 |
return false;
|
108 |
}
|
109 |
|
110 |
$contacts=array();
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
|
|
115 |
return $this->returnContacts($contacts);
|
116 |
}
|
117 |
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Bigstring',
|
4 |
+
'version'=>'1.0.5',
|
5 |
'description'=>"Get the contacts from an Bigstring account",
|
6 |
+
'base_version'=>'1.8.0',
|
7 |
'type'=>'email',
|
8 |
'check_url'=>'http://www.bigstring.com/?old=1',
|
9 |
+
'requirement'=>'user',
|
10 |
+
'allowed_domains'=>false,
|
11 |
'imported_details'=>array('first_name','email_1'),
|
12 |
);
|
13 |
/**
|
25 |
public $internalError=false;
|
26 |
protected $timeout=30;
|
27 |
|
28 |
+
public $debug_array=array('initial_get'=>'user',
|
29 |
+
'login_post'=>'progress_upload_bar',
|
30 |
+
'url_contacts'=>'contacts'
|
31 |
);
|
32 |
|
33 |
/**
|
48 |
$this->service_password=$pass;
|
49 |
if (!$this->init()) return false;
|
50 |
|
51 |
+
$res = $this->get("http://www.bigstring.com");
|
52 |
if ($this->checkResponse("initial_get",$res))
|
53 |
+
$this->updateDebugBuffer('initial_get',"http://www.bigstring.com",'GET');
|
54 |
else
|
55 |
{
|
56 |
+
$this->updateDebugBuffer('initial_get',"http://www.bigstring.com",'GET',false);
|
57 |
$this->debugRequest();
|
58 |
$this->stopPlugin();
|
59 |
return false;
|
60 |
}
|
61 |
|
62 |
+
$form_action='http://www.bigstring.com/mail/index.php';
|
63 |
+
$post_elements=array('user'=>$user,'pass'=>$pass);
|
64 |
$res=$this->post($form_action,$post_elements,true);
|
65 |
+
$res=$this->get("http://www.bigstring.com/mail/mailbox.php",true);
|
66 |
if ($this->checkResponse("login_post",$res))
|
67 |
$this->updateDebugBuffer('login_post',$form_action,'POST',true,$post_elements);
|
68 |
else
|
73 |
return false;
|
74 |
}
|
75 |
|
76 |
+
$url_contacts="http://www.bigstring.com/mail/ajax/contacts/viewcontact.php";
|
|
|
|
|
77 |
$this->login_ok=$url_contacts;
|
78 |
return true;
|
79 |
}
|
94 |
$this->stopPlugin();
|
95 |
return false;
|
96 |
}
|
97 |
+
else $url=$this->login_ok;
|
98 |
+
$post_elements=array('user'=>$this->service_user."@bigstring.com",'pass'=>$this->service_password,"lang"=>"en");
|
99 |
+
$res=$this->post($url,$post_elements);
|
100 |
if ($this->checkResponse("url_contacts",$res))
|
101 |
+
$this->updateDebugBuffer('url_contacts',$url,'POST');
|
102 |
else
|
103 |
{
|
104 |
+
$this->updateDebugBuffer('url_contacts',$url,'POST',false);
|
105 |
$this->debugRequest();
|
106 |
$this->stopPlugin();
|
107 |
return false;
|
108 |
}
|
109 |
|
110 |
$contacts=array();
|
111 |
+
if (preg_match_all("#\(\'\'\,\'(.+)\'\,\'(.+)\'#U",$res,$matches))
|
112 |
+
{
|
113 |
+
foreach($matches[2] as $key=>$name)
|
114 |
+
if (!empty($matches[1][$key])) $contacts[$matches[1][$key]]=array('email_1'=>$matches[1][$key],'first_name'=>$name);
|
115 |
+
}
|
116 |
return $this->returnContacts($contacts);
|
117 |
}
|
118 |
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/canoe.plg.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Canoe',
|
4 |
-
'version'=>'1.0.
|
5 |
'description'=>"Get the contacts from a Canoe account",
|
6 |
'base_version'=>'1.6.5',
|
7 |
'type'=>'email',
|
@@ -120,7 +120,7 @@ class canoe extends openinviter_base
|
|
120 |
foreach ($temp as $values)
|
121 |
{
|
122 |
if (!empty($values[4]))
|
123 |
-
|
124 |
'middle_name'=>(!empty($values[2])?$values[2]:false),
|
125 |
'last_name'=>(!empty($values[1])?$values[1]:false),
|
126 |
'nickname'=>false,
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Canoe',
|
4 |
+
'version'=>'1.0.4',
|
5 |
'description'=>"Get the contacts from a Canoe account",
|
6 |
'base_version'=>'1.6.5',
|
7 |
'type'=>'email',
|
120 |
foreach ($temp as $values)
|
121 |
{
|
122 |
if (!empty($values[4]))
|
123 |
+
$contacts[$values[4]]=array('first_name'=>(!empty($values[0])?$values[0]:false),
|
124 |
'middle_name'=>(!empty($values[2])?$values[2]:false),
|
125 |
'last_name'=>(!empty($values[1])?$values[1]:false),
|
126 |
'nickname'=>false,
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/cyworld.plg.php
CHANGED
@@ -4,9 +4,9 @@
|
|
4 |
*/
|
5 |
$_pluginInfo=array(
|
6 |
'name'=>'Cyworld',
|
7 |
-
'version'=>'1.0.
|
8 |
'description'=>"Get the contacts from a Cyworld account",
|
9 |
-
'base_version'=>'1.
|
10 |
'type'=>'social',
|
11 |
'check_url'=>'http://us.cyworld.com/',
|
12 |
'requirement'=>'email',
|
4 |
*/
|
5 |
$_pluginInfo=array(
|
6 |
'name'=>'Cyworld',
|
7 |
+
'version'=>'1.0.7',
|
8 |
'description'=>"Get the contacts from a Cyworld account",
|
9 |
+
'base_version'=>'1.8.0',
|
10 |
'type'=>'social',
|
11 |
'check_url'=>'http://us.cyworld.com/',
|
12 |
'requirement'=>'email',
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/facebook.plg.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*/
|
5 |
$_pluginInfo=array(
|
6 |
'name'=>'Facebook',
|
7 |
-
'version'=>'1.2.
|
8 |
'description'=>"Get the contacts from a Facebook account",
|
9 |
'base_version'=>'1.8.0',
|
10 |
'type'=>'social',
|
@@ -31,7 +31,7 @@ class facebook extends openinviter_base
|
|
31 |
|
32 |
public $debug_array=array(
|
33 |
'initial_get'=>'pass',
|
34 |
-
'login_post'=>'
|
35 |
'get_user_id'=>'profile.php?id=',
|
36 |
'url_friends'=>'fb_dtsg:"',
|
37 |
'message_elements'=>'composer_id',
|
@@ -65,8 +65,7 @@ class facebook extends openinviter_base
|
|
65 |
$this->debugRequest();
|
66 |
$this->stopPlugin();
|
67 |
return false;
|
68 |
-
}
|
69 |
-
|
70 |
$form_action="https://login.facebook.com/login.php?login_attempt=1";
|
71 |
$post_elements=array('email'=>$user,
|
72 |
'pass'=>$pass,
|
@@ -88,7 +87,7 @@ class facebook extends openinviter_base
|
|
88 |
return false;
|
89 |
}
|
90 |
|
91 |
-
$res=$this->get('http://facebook.com/',true);
|
92 |
if ($this->checkResponse("get_user_id",$res))
|
93 |
$this->updateDebugBuffer('get_user_id',"http://facebook.com/",'GET');
|
94 |
else
|
@@ -97,8 +96,8 @@ class facebook extends openinviter_base
|
|
97 |
$this->debugRequest();
|
98 |
$this->stopPlugin();
|
99 |
return false;
|
100 |
-
}
|
101 |
-
$this->userId=$this->getElementString($res,"
|
102 |
if (empty($this->userId)) $this->login_ok=false;
|
103 |
else $this->login_ok="http://www.facebook.com/ajax/social_graph/fetch.php?__a=1";
|
104 |
return true;
|
@@ -113,7 +112,7 @@ class facebook extends openinviter_base
|
|
113 |
* @return mixed The array if contacts if importing was successful, FALSE otherwise.
|
114 |
*/
|
115 |
public function getMyContacts()
|
116 |
-
{
|
117 |
if (!$this->login_ok)
|
118 |
{
|
119 |
$this->debugRequest();
|
@@ -122,7 +121,12 @@ class facebook extends openinviter_base
|
|
122 |
}
|
123 |
else $url=$this->login_ok;
|
124 |
|
125 |
-
$res=$this->get("http://www.facebook.com/profile.php?id={$this->userId}
|
|
|
|
|
|
|
|
|
|
|
126 |
if ($this->checkResponse("url_friends",$res))
|
127 |
$this->updateDebugBuffer('url_friends',"http://www.facebook.com/profile.php?id={$this->userId}&ref=profile",'GET');
|
128 |
else
|
@@ -146,8 +150,7 @@ class facebook extends openinviter_base
|
|
146 |
'post_form_id_source'=>'AsyncReques',
|
147 |
);
|
148 |
$res=$this->post($form_action,$post_elements,true);
|
149 |
-
//!!!
|
150 |
-
|
151 |
$contacts=array();
|
152 |
while(preg_match_all("#\{\"id\"\:(.+)\,\"title\"\:\"(.+)\"#U",$res,$matches))
|
153 |
{
|
@@ -202,35 +205,36 @@ class facebook extends openinviter_base
|
|
202 |
$form_action="http://www.facebook.com/ajax/gigaboxx/endpoint/MessageComposerEndpoint.php?__a=1";
|
203 |
$post_elements=array();
|
204 |
foreach($contacts as $fbId=>$name)
|
205 |
-
{
|
206 |
-
$post_elements["ids_{$composerId}[$countMessages]"]=$fbId;
|
207 |
-
$post_elements["ids[$countMessages]"]=$fbId;
|
208 |
$countMessages++;
|
209 |
-
if ($countMessages>$this->maxMessages) break;
|
210 |
-
}
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
$this->
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
|
|
|
|
|
|
234 |
}
|
235 |
}
|
236 |
|
4 |
*/
|
5 |
$_pluginInfo=array(
|
6 |
'name'=>'Facebook',
|
7 |
+
'version'=>'1.2.7',
|
8 |
'description'=>"Get the contacts from a Facebook account",
|
9 |
'base_version'=>'1.8.0',
|
10 |
'type'=>'social',
|
31 |
|
32 |
public $debug_array=array(
|
33 |
'initial_get'=>'pass',
|
34 |
+
'login_post'=>'javascript',
|
35 |
'get_user_id'=>'profile.php?id=',
|
36 |
'url_friends'=>'fb_dtsg:"',
|
37 |
'message_elements'=>'composer_id',
|
65 |
$this->debugRequest();
|
66 |
$this->stopPlugin();
|
67 |
return false;
|
68 |
+
}
|
|
|
69 |
$form_action="https://login.facebook.com/login.php?login_attempt=1";
|
70 |
$post_elements=array('email'=>$user,
|
71 |
'pass'=>$pass,
|
87 |
return false;
|
88 |
}
|
89 |
|
90 |
+
$res=$this->get('http://facebook.com/',true);
|
91 |
if ($this->checkResponse("get_user_id",$res))
|
92 |
$this->updateDebugBuffer('get_user_id',"http://facebook.com/",'GET');
|
93 |
else
|
96 |
$this->debugRequest();
|
97 |
$this->stopPlugin();
|
98 |
return false;
|
99 |
+
}
|
100 |
+
$this->userId=$this->getElementString($res,"{user:",',');
|
101 |
if (empty($this->userId)) $this->login_ok=false;
|
102 |
else $this->login_ok="http://www.facebook.com/ajax/social_graph/fetch.php?__a=1";
|
103 |
return true;
|
112 |
* @return mixed The array if contacts if importing was successful, FALSE otherwise.
|
113 |
*/
|
114 |
public function getMyContacts()
|
115 |
+
{
|
116 |
if (!$this->login_ok)
|
117 |
{
|
118 |
$this->debugRequest();
|
121 |
}
|
122 |
else $url=$this->login_ok;
|
123 |
|
124 |
+
$res=$this->get("http://www.facebook.com/profile.php?id={$this->userId}",true);
|
125 |
+
if (strpos($res,'window.location.replace("')!==FALSE)
|
126 |
+
{
|
127 |
+
$url_redirect=stripslashes($this->getElementString($res,'window.location.replace("','"'));
|
128 |
+
if (!empty($url_redirect)) $res=$this->get($url_redirect,true);
|
129 |
+
}
|
130 |
if ($this->checkResponse("url_friends",$res))
|
131 |
$this->updateDebugBuffer('url_friends',"http://www.facebook.com/profile.php?id={$this->userId}&ref=profile",'GET');
|
132 |
else
|
150 |
'post_form_id_source'=>'AsyncReques',
|
151 |
);
|
152 |
$res=$this->post($form_action,$post_elements,true);
|
153 |
+
//!!!
|
|
|
154 |
$contacts=array();
|
155 |
while(preg_match_all("#\{\"id\"\:(.+)\,\"title\"\:\"(.+)\"#U",$res,$matches))
|
156 |
{
|
205 |
$form_action="http://www.facebook.com/ajax/gigaboxx/endpoint/MessageComposerEndpoint.php?__a=1";
|
206 |
$post_elements=array();
|
207 |
foreach($contacts as $fbId=>$name)
|
208 |
+
{
|
|
|
|
|
209 |
$countMessages++;
|
210 |
+
if ($countMessages>$this->maxMessages) break;
|
211 |
+
$post_elements=array("ids_{$composerId}[0]"=>$fbId,
|
212 |
+
"ids[0]"=>$fbId,
|
213 |
+
'subject'=>$message['subject'],
|
214 |
+
'status'=>$message['body'],
|
215 |
+
'action'=>'send_new',
|
216 |
+
'home_tab_id'=>1,
|
217 |
+
'profile_id'=>$userId,
|
218 |
+
'target_id'=>0,
|
219 |
+
'composer_id'=>$composerId,
|
220 |
+
'hey_kid_im_a_composer'=>'true',
|
221 |
+
'post_form_id'=>$postFormId,
|
222 |
+
'fb_dtsg'=>$fbDtsg,
|
223 |
+
'_log_action'=>'send_new',
|
224 |
+
'ajax_log'=>1,
|
225 |
+
'post_form_id_source'=>'AsyncRequest'
|
226 |
+
);
|
227 |
+
$res=$this->post($form_action,$post_elements);
|
228 |
+
if ($this->checkResponse("send_message",$res))
|
229 |
+
$this->updateDebugBuffer('send_message',"{$form_action}",'POST',true,$post_elements);
|
230 |
+
else
|
231 |
+
{
|
232 |
+
$this->updateDebugBuffer('send_message',"{$form_action}",'POST',false,$post_elements);
|
233 |
+
$this->debugRequest();
|
234 |
+
$this->stopPlugin();
|
235 |
+
return false;
|
236 |
+
}
|
237 |
+
sleep($this->messageDelay);
|
238 |
}
|
239 |
}
|
240 |
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/faces.plg.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*/
|
5 |
$_pluginInfo=array(
|
6 |
'name'=>'Faces',
|
7 |
-
'version'=>'1.0.
|
8 |
'description'=>"Get the contacts from a Faces account",
|
9 |
'base_version'=>'1.8.0',
|
10 |
'type'=>'social',
|
4 |
*/
|
5 |
$_pluginInfo=array(
|
6 |
'name'=>'Faces',
|
7 |
+
'version'=>'1.0.6',
|
8 |
'description'=>"Get the contacts from a Faces account",
|
9 |
'base_version'=>'1.8.0',
|
10 |
'type'=>'social',
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/fastmail.plg.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'FastMail',
|
4 |
-
'version'=>'1.0.
|
5 |
'description'=>"Get the contacts from a FastMail account",
|
6 |
'base_version'=>'1.6.3',
|
7 |
'type'=>'email',
|
@@ -142,11 +142,17 @@ class fastmail extends openinviter_base
|
|
142 |
return false;
|
143 |
}
|
144 |
else $url=$this->login_ok;
|
145 |
-
$res=$this->get($url,true);
|
146 |
-
|
147 |
$form_action=$this->getElementString($res,'action="','"');
|
148 |
-
$post_elements=$this->getHiddenElements($res)
|
149 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
150 |
if ($this->checkResponse('contacts_page',$res))
|
151 |
$this->updateDebugBuffer('contacts_page',"{$form_action}",'POST',true,$post_elements);
|
152 |
else
|
@@ -166,7 +172,7 @@ class fastmail extends openinviter_base
|
|
166 |
$post_elements['SAD-AL-DR']=0;
|
167 |
$post_elements['FUA-DownloadFormat']='OL';
|
168 |
$post_elements['FUA-Group']=0;
|
169 |
-
$post_elements['MSignal_UA-Download*']='';
|
170 |
$res=$this->post($form_action,$post_elements);
|
171 |
if ($this->checkResponse('contacts_file',$res))
|
172 |
$this->updateDebugBuffer('contacts_file',"{$form_action}",'POST',true,$post_elements);
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'FastMail',
|
4 |
+
'version'=>'1.0.9',
|
5 |
'description'=>"Get the contacts from a FastMail account",
|
6 |
'base_version'=>'1.6.3',
|
7 |
'type'=>'email',
|
142 |
return false;
|
143 |
}
|
144 |
else $url=$this->login_ok;
|
145 |
+
$res=$this->get($url,true);
|
|
|
146 |
$form_action=$this->getElementString($res,'action="','"');
|
147 |
+
$post_elements=$this->getHiddenElements($res);
|
148 |
+
$post_elements["_charset"]="UTF-8";
|
149 |
+
$post_elements['FAD-ST']=false;
|
150 |
+
$post_elements['FAD-AL-SortBy']='SNM';
|
151 |
+
$post_elements['nojs']=false;
|
152 |
+
$post_elements['MSignal_UA-*U-1']=false;
|
153 |
+
print_r($post_elements);
|
154 |
+
echo $res=$this->post($form_action,$post_elements,true);
|
155 |
+
exit;
|
156 |
if ($this->checkResponse('contacts_page',$res))
|
157 |
$this->updateDebugBuffer('contacts_page',"{$form_action}",'POST',true,$post_elements);
|
158 |
else
|
172 |
$post_elements['SAD-AL-DR']=0;
|
173 |
$post_elements['FUA-DownloadFormat']='OL';
|
174 |
$post_elements['FUA-Group']=0;
|
175 |
+
$post_elements['MSignal_UA-Download*']='';
|
176 |
$res=$this->post($form_action,$post_elements);
|
177 |
if ($this->checkResponse('contacts_file',$res))
|
178 |
$this->updateDebugBuffer('contacts_file',"{$form_action}",'POST',true,$post_elements);
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/flickr.plg.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*/
|
5 |
$_pluginInfo=array(
|
6 |
'name'=>'Flickr',
|
7 |
-
'version'=>'1.0.
|
8 |
'description'=>"Get the contacts from a Flickr account",
|
9 |
'base_version'=>'1.8.0',
|
10 |
'type'=>'social',
|
@@ -29,7 +29,7 @@ class flickr extends openinviter_base
|
|
29 |
protected $timeout=30;
|
30 |
|
31 |
public $debug_array=array(
|
32 |
-
'
|
33 |
'login_post'=>'window.location.replace(',
|
34 |
'redirect_cookie'=>'magic_cookie',
|
35 |
'frinds_page'=>'Who',
|
@@ -55,11 +55,11 @@ class flickr extends openinviter_base
|
|
55 |
if (!$this->init()) return false;
|
56 |
|
57 |
$res=$this->get("http://www.flickr.com/signin/",true);
|
58 |
-
if ($this->checkResponse("
|
59 |
-
$this->updateDebugBuffer('
|
60 |
else
|
61 |
{
|
62 |
-
$this->updateDebugBuffer('
|
63 |
$this->debugRequest();
|
64 |
$this->stopPlugin();
|
65 |
return false;
|
4 |
*/
|
5 |
$_pluginInfo=array(
|
6 |
'name'=>'Flickr',
|
7 |
+
'version'=>'1.0.8',
|
8 |
'description'=>"Get the contacts from a Flickr account",
|
9 |
'base_version'=>'1.8.0',
|
10 |
'type'=>'social',
|
29 |
protected $timeout=30;
|
30 |
|
31 |
public $debug_array=array(
|
32 |
+
'ini_get'=>'login.yahoo',
|
33 |
'login_post'=>'window.location.replace(',
|
34 |
'redirect_cookie'=>'magic_cookie',
|
35 |
'frinds_page'=>'Who',
|
55 |
if (!$this->init()) return false;
|
56 |
|
57 |
$res=$this->get("http://www.flickr.com/signin/",true);
|
58 |
+
if ($this->checkResponse("ini_get",$res))
|
59 |
+
$this->updateDebugBuffer('ini_get',"http://www.flickr.com/signin/",'GET');
|
60 |
else
|
61 |
{
|
62 |
+
$this->updateDebugBuffer('ini_get',"http://www.flickr.com/signin/",'GET',false);
|
63 |
$this->debugRequest();
|
64 |
$this->stopPlugin();
|
65 |
return false;
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/gawab.plg.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Gawab',
|
4 |
-
'version'=>'1.0.
|
5 |
'description'=>"Get the contacts from a Gawab account",
|
6 |
-
'base_version'=>'1.
|
7 |
'type'=>'email',
|
8 |
'check_url'=>'http://www.gawab.com/default.php',
|
9 |
'requirement'=>'email',
|
@@ -110,7 +110,6 @@ class gawab extends openinviter_base
|
|
110 |
return false;
|
111 |
}
|
112 |
|
113 |
-
|
114 |
$temp=$this->parseCSV($res);
|
115 |
$contacts=array();
|
116 |
foreach ($temp as $values)
|
@@ -150,8 +149,7 @@ class gawab extends openinviter_base
|
|
150 |
);
|
151 |
}
|
152 |
foreach ($contacts as $email=>$name) if (!$this->isEmail($email)) unset($contacts[$email]);
|
153 |
-
return $this->returnContacts($contacts);
|
154 |
-
|
155 |
}
|
156 |
|
157 |
/**
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Gawab',
|
4 |
+
'version'=>'1.0.5',
|
5 |
'description'=>"Get the contacts from a Gawab account",
|
6 |
+
'base_version'=>'1.8.0',
|
7 |
'type'=>'email',
|
8 |
'check_url'=>'http://www.gawab.com/default.php',
|
9 |
'requirement'=>'email',
|
110 |
return false;
|
111 |
}
|
112 |
|
|
|
113 |
$temp=$this->parseCSV($res);
|
114 |
$contacts=array();
|
115 |
foreach ($temp as $values)
|
149 |
);
|
150 |
}
|
151 |
foreach ($contacts as $email=>$name) if (!$this->isEmail($email)) unset($contacts[$email]);
|
152 |
+
return $this->returnContacts($contacts);
|
|
|
153 |
}
|
154 |
|
155 |
/**
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/gmail.plg.php
CHANGED
@@ -98,8 +98,7 @@ class gmail extends openinviter_base
|
|
98 |
}
|
99 |
|
100 |
$contacts=array();
|
101 |
-
$doc=new DOMDocument();
|
102 |
-
libxml_use_internal_errors(true);if (!empty($res)) $doc->loadHTML($res);libxml_use_internal_errors(false);
|
103 |
$xpath=new DOMXPath($doc);$query="//entry";$data=$xpath->query($query);
|
104 |
foreach ($data as $node)
|
105 |
{
|
@@ -110,7 +109,7 @@ class gmail extends openinviter_base
|
|
110 |
$domNodesName=$child->nodeName;
|
111 |
switch($domNodesName)
|
112 |
{
|
113 |
-
case 'title' : { $tempArray['first_name']
|
114 |
case 'organization': { $tempArray['organization']=$child->nodeValue; } break;
|
115 |
case 'email' :
|
116 |
{
|
98 |
}
|
99 |
|
100 |
$contacts=array();
|
101 |
+
$doc=new DOMDocument();libxml_use_internal_errors(true);if (!empty($res)) $doc->loadHTML($res);libxml_use_internal_errors(false);
|
|
|
102 |
$xpath=new DOMXPath($doc);$query="//entry";$data=$xpath->query($query);
|
103 |
foreach ($data as $node)
|
104 |
{
|
109 |
$domNodesName=$child->nodeName;
|
110 |
switch($domNodesName)
|
111 |
{
|
112 |
+
case 'title' : { $tempArray['first_name']=$child->nodeValue; } break;
|
113 |
case 'organization': { $tempArray['organization']=$child->nodeValue; } break;
|
114 |
case 'email' :
|
115 |
{
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/hi5.plg.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Hi5',
|
4 |
-
'version'=>'1.1.
|
5 |
'description'=>"Get the contacts from a Hi5 account",
|
6 |
'base_version'=>'1.6.7',
|
7 |
'type'=>'social',
|
@@ -26,7 +26,7 @@ class hi5 extends openinviter_base
|
|
26 |
protected $timeout=50;
|
27 |
|
28 |
public $debug_array=array(
|
29 |
-
'initial_get'=>'
|
30 |
'login_post'=>'friends',
|
31 |
'url_friends'=>'friend-name',
|
32 |
'url_message'=>'toIds',
|
@@ -51,7 +51,7 @@ class hi5 extends openinviter_base
|
|
51 |
$this->service_password=$pass;
|
52 |
if (!$this->init()) return false;
|
53 |
|
54 |
-
$res=$this->get("http://
|
55 |
if ($this->checkResponse("initial_get",$res))
|
56 |
$this->updateDebugBuffer('initial_get',"http://www.hi5.com/",'GET');
|
57 |
else
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Hi5',
|
4 |
+
'version'=>'1.1.7',
|
5 |
'description'=>"Get the contacts from a Hi5 account",
|
6 |
'base_version'=>'1.6.7',
|
7 |
'type'=>'social',
|
26 |
protected $timeout=50;
|
27 |
|
28 |
public $debug_array=array(
|
29 |
+
'initial_get'=>'setRequestId',
|
30 |
'login_post'=>'friends',
|
31 |
'url_friends'=>'friend-name',
|
32 |
'url_message'=>'toIds',
|
51 |
$this->service_password=$pass;
|
52 |
if (!$this->init()) return false;
|
53 |
|
54 |
+
$res=$this->get("http://hi5.com/friend/displayHomePage.do");
|
55 |
if ($this->checkResponse("initial_get",$res))
|
56 |
$this->updateDebugBuffer('initial_get',"http://www.hi5.com/",'GET');
|
57 |
else
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/hotmail.plg.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Live/Hotmail',
|
4 |
-
'version'=>'1.6.
|
5 |
'description'=>"Get the contacts from a Windows Live/Hotmail account",
|
6 |
-
'base_version'=>'1.
|
7 |
'type'=>'email',
|
8 |
'check_url'=>'http://login.live.com/login.srf?id=2',
|
9 |
'requirement'=>'email',
|
@@ -66,7 +66,7 @@ class hotmail extends openinviter_base
|
|
66 |
if (strlen($pass) > 16) $pass=substr($pass, 0, 16);
|
67 |
$post_action=$this->getElementString($res,'method="POST" target="_top" action="','"');
|
68 |
$post_elements=$this->getHiddenElements($res);$post_elements["LoginOptions"]=3;$post_elements["login"]=$user;$post_elements["passwd"]=$pass;
|
69 |
-
$res=$this->post($post_action,$post_elements,true);
|
70 |
if ($this->checkResponse("login_post",$res))
|
71 |
$this->updateDebugBuffer('login_post',"{$post_action}",'POST',true,$post_elements);
|
72 |
else
|
@@ -88,13 +88,10 @@ class hotmail extends openinviter_base
|
|
88 |
$this->stopPlugin();
|
89 |
return false;
|
90 |
}
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
$base_url="http://".$this->getElementString($url_redirect,'http://','mail/');
|
96 |
-
$res=$this->get($url_redirect,true);
|
97 |
-
}
|
98 |
|
99 |
if (strpos($res,'MessageAtLoginForm')!==false)
|
100 |
{
|
@@ -146,7 +143,7 @@ class hotmail extends openinviter_base
|
|
146 |
return false;
|
147 |
}
|
148 |
else $base_url=$this->login_ok;
|
149 |
-
$res=$this->get("{$base_url}mail/EditMessageLight.aspx?n=");
|
150 |
if ($this->checkResponse('url_sent_to',$res))
|
151 |
$this->updateDebugBuffer('url_sent_to',"{$base_url}mail/EditMessageLight.aspx?n=",'GET');
|
152 |
else
|
@@ -157,7 +154,7 @@ class hotmail extends openinviter_base
|
|
157 |
return false;
|
158 |
}
|
159 |
|
160 |
-
$urlContacts="{$base_url}mail/ContactList.aspx".$this->getElementString($res,'ContactList.aspx','"');
|
161 |
$res=$this->get($urlContacts);
|
162 |
if ($this->checkResponse('get_contacts',$res))
|
163 |
$this->updateDebugBuffer('get_contacts',"{$urlContacts}",'GET');
|
@@ -168,31 +165,14 @@ class hotmail extends openinviter_base
|
|
168 |
$this->stopPlugin();
|
169 |
return false;
|
170 |
}
|
171 |
-
|
172 |
-
$contacts=array();
|
173 |
-
|
174 |
-
foreach($bulkStringArray as $stringValue)
|
175 |
{
|
176 |
-
$
|
177 |
-
|
178 |
-
{
|
179 |
-
|
180 |
-
if (!empty($tempStringArray[2])) $name=html_entity_decode(urldecode(str_replace('\x', '%', $tempStringArray[2])),ENT_QUOTES, "UTF-8");
|
181 |
-
}
|
182 |
-
else
|
183 |
-
{
|
184 |
-
$emailsArray=array();$emailsArray=explode('\x26\x2364\x3b',$stringValue);
|
185 |
-
if (count($emailsArray)>0)
|
186 |
-
{
|
187 |
-
//get all emails
|
188 |
-
$bulkEmails=explode(',',$stringValue);
|
189 |
-
if (!empty($bulkEmails)) foreach($bulkEmails as $valueEmail)
|
190 |
-
{ $email=html_entity_decode(urldecode(str_replace('\x', '%', $valueEmail))); if(!empty($email)) { $contacts[$email]=array('first_name'=>(!empty($name)?$name:false),'email_1'=>$email);$email=false; } }
|
191 |
-
$name=false;
|
192 |
-
}
|
193 |
-
}
|
194 |
-
}
|
195 |
-
if (!empty($contacts[$this->service_user])) unset($contacts[$this->service_user]);
|
196 |
foreach ($contacts as $email=>$name) if (!$this->isEmail($email)) unset($contacts[$email]);
|
197 |
return $this->returnContacts($contacts);
|
198 |
}
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Live/Hotmail',
|
4 |
+
'version'=>'1.6.6',
|
5 |
'description'=>"Get the contacts from a Windows Live/Hotmail account",
|
6 |
+
'base_version'=>'1.8.0',
|
7 |
'type'=>'email',
|
8 |
'check_url'=>'http://login.live.com/login.srf?id=2',
|
9 |
'requirement'=>'email',
|
66 |
if (strlen($pass) > 16) $pass=substr($pass, 0, 16);
|
67 |
$post_action=$this->getElementString($res,'method="POST" target="_top" action="','"');
|
68 |
$post_elements=$this->getHiddenElements($res);$post_elements["LoginOptions"]=3;$post_elements["login"]=$user;$post_elements["passwd"]=$pass;
|
69 |
+
$res=$this->post($post_action,$post_elements,true);
|
70 |
if ($this->checkResponse("login_post",$res))
|
71 |
$this->updateDebugBuffer('login_post',"{$post_action}",'POST',true,$post_elements);
|
72 |
else
|
88 |
$this->stopPlugin();
|
89 |
return false;
|
90 |
}
|
91 |
+
|
92 |
+
$url_redirect=$this->getElementString($res,'rurl:"','"');
|
93 |
+
$base_url="http://".$this->getElementString($res,'burl:"','"');
|
94 |
+
$res=$this->get($url_redirect,true);
|
|
|
|
|
|
|
95 |
|
96 |
if (strpos($res,'MessageAtLoginForm')!==false)
|
97 |
{
|
143 |
return false;
|
144 |
}
|
145 |
else $base_url=$this->login_ok;
|
146 |
+
$res=$this->get("{$base_url}/mail/EditMessageLight.aspx?n=");
|
147 |
if ($this->checkResponse('url_sent_to',$res))
|
148 |
$this->updateDebugBuffer('url_sent_to',"{$base_url}mail/EditMessageLight.aspx?n=",'GET');
|
149 |
else
|
154 |
return false;
|
155 |
}
|
156 |
|
157 |
+
$urlContacts="{$base_url}/mail/ContactList.aspx".$this->getElementString($res,'ContactList.aspx','"');
|
158 |
$res=$this->get($urlContacts);
|
159 |
if ($this->checkResponse('get_contacts',$res))
|
160 |
$this->updateDebugBuffer('get_contacts',"{$urlContacts}",'GET');
|
165 |
$this->stopPlugin();
|
166 |
return false;
|
167 |
}
|
168 |
+
$res=html_entity_decode(urldecode(str_replace('\x', '%', $res)),ENT_QUOTES, "UTF-8");
|
169 |
+
$contacts=array();
|
170 |
+
if (preg_match_all("#\'\,\[\'(.+)\@(.+)\'#U",$res,$matches))
|
|
|
171 |
{
|
172 |
+
if (!empty($matches[1][0]) AND (!empty($matches[2][0]))) { unset($matches[1][0]); unset($matches[2][0]); }
|
173 |
+
foreach($matches[1] as $key=>$value)
|
174 |
+
if (!empty($matches[2][$key])) $contacts["{$value}@{$matches[2][$key]}"]=array("first_name"=>"","email_1"=>"{$value}@{$matches[2][$key]}");
|
175 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
176 |
foreach ($contacts as $email=>$name) if (!$this->isEmail($email)) unset($contacts[$email]);
|
177 |
return $this->returnContacts($contacts);
|
178 |
}
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/linkedin.plg.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'LinkedIn',
|
4 |
-
'version'=>'1.1.
|
5 |
'description'=>"Get the contacts from a LinkedIn account",
|
6 |
'base_version'=>'1.8.0',
|
7 |
'type'=>'email',
|
8 |
-
'check_url'=>'http://
|
9 |
'requirement'=>'email',
|
10 |
'allowed_domains'=>false,
|
11 |
);
|
@@ -25,10 +25,9 @@ class linkedin extends openinviter_base
|
|
25 |
protected $timeout=30;
|
26 |
|
27 |
public $debug_array=array(
|
28 |
-
'initial_get'=>'
|
29 |
-
'login_post'=>'
|
30 |
-
'
|
31 |
-
'get_friends'=>'emailAddress',
|
32 |
);
|
33 |
|
34 |
/**
|
@@ -49,24 +48,21 @@ class linkedin extends openinviter_base
|
|
49 |
$this->service_password=$pass;
|
50 |
if (!$this->init()) return false;
|
51 |
|
52 |
-
$res=$this->get("
|
53 |
if ($this->checkResponse("initial_get",$res))
|
54 |
-
$this->updateDebugBuffer('initial_get',"
|
55 |
else
|
56 |
{
|
57 |
-
$this->updateDebugBuffer('initial_get',"
|
58 |
$this->debugRequest();
|
59 |
$this->stopPlugin();
|
60 |
return false;
|
61 |
}
|
62 |
-
$form_action="https://
|
63 |
-
$post_elements=array('
|
64 |
-
'
|
65 |
-
'
|
66 |
-
|
67 |
-
'session_login'=>'',
|
68 |
-
'session_rikey'=>''
|
69 |
-
);
|
70 |
$res=$this->post($form_action,$post_elements,true);
|
71 |
if ($this->checkResponse("login_post",$res))
|
72 |
$this->updateDebugBuffer('login_post',"{$form_action}",'POST',true,$post_elements);
|
@@ -76,21 +72,8 @@ class linkedin extends openinviter_base
|
|
76 |
$this->debugRequest();
|
77 |
$this->stopPlugin();
|
78 |
return false;
|
79 |
-
}
|
80 |
-
|
81 |
-
$res=$this->get("http://www.linkedin.com/home",true);
|
82 |
-
if ($this->checkResponse("js_page",$res))
|
83 |
-
$this->updateDebugBuffer('js_page',"https://www.linkedin.com/secure/login?trk=hb_signin",'GET');
|
84 |
-
else
|
85 |
-
{
|
86 |
-
$this->updateDebugBuffer('js_page',"https://www.linkedin.com/secure/login?trk=hb_signin",'GET',false);
|
87 |
-
$this->debugRequest();
|
88 |
-
$this->stopPlugin();
|
89 |
-
return false;
|
90 |
-
}
|
91 |
-
$this->ajaxSes=$this->getElementString($res,'name="csrfToken" value="','"');
|
92 |
-
$url_friends="http://www.linkedin.com/dwr/exec/ConnectionsBrowserService.getMyConnections.dwr";
|
93 |
-
$this->login_ok=$url_friends;
|
94 |
return true;
|
95 |
}
|
96 |
|
@@ -110,42 +93,25 @@ class linkedin extends openinviter_base
|
|
110 |
$this->stopPlugin();
|
111 |
return false;
|
112 |
}
|
113 |
-
else $
|
114 |
-
$
|
115 |
-
'JSESSIONID'=>$this->ajaxSes,
|
116 |
-
'c0-scriptName'=>'ConnectionsBrowserService',
|
117 |
-
'c0-methodName'=>'getMyConnections',
|
118 |
-
'c0-param0'=>'string:0',
|
119 |
-
'c0-param1'=>'number:-1',
|
120 |
-
'c0-param2'=>'string:DONT_CARE',
|
121 |
-
'c0-param3'=>'number:10000',
|
122 |
-
'c0-param4'=>'boolean:false',
|
123 |
-
'c0-param5'=>'boolean:true',
|
124 |
-
'xml'=>'true',
|
125 |
-
);
|
126 |
-
$headers = array('Content-Type'=>'text/plain');
|
127 |
-
$res=$this->post($form_action,$post_elements,false,false,false,$headers);
|
128 |
if ($this->checkResponse("get_friends",$res))
|
129 |
-
$this->updateDebugBuffer('get_friends',"{$
|
130 |
else
|
131 |
{
|
132 |
-
$this->updateDebugBuffer('get_friends',"{$
|
133 |
$this->debugRequest();
|
134 |
$this->stopPlugin();
|
135 |
return false;
|
136 |
}
|
137 |
-
|
138 |
-
$
|
139 |
-
|
140 |
-
|
141 |
-
$
|
142 |
-
$
|
143 |
-
$dr = "/;s\\d+\\['([A-Z#])'\\]=s\\d+;/ims";
|
144 |
-
preg_match_all($cr, $res, $found, PREG_SET_ORDER);
|
145 |
-
foreach ($found as $val)
|
146 |
-
{ $tempHtml= $val[0];if (preg_match($er,$tempHtml,$foundEmails)) { $email=$foundEmails[1];if ($this->isEmail($email)) { $first_name=preg_match($fr,$tempHtml,$foundEmails) ? $foundEmails[1] : ''; $last_name=preg_match($lr,$tempHtml,$foundEmails) ? $foundEmails[1] : '';$last_name;$contacts[$email]=array('first_name'=>isset($first_name)?$first_name:false,'last_name'=>isset($last_name)?$last_name:false,'email_1'=>$email); } } }
|
147 |
foreach ($contacts as $email=>$name) if (!$this->isEmail($email)) unset($contacts[$email]);
|
148 |
-
return $
|
149 |
}
|
150 |
|
151 |
/**
|
@@ -160,7 +126,7 @@ class linkedin extends openinviter_base
|
|
160 |
public function logout()
|
161 |
{
|
162 |
if (!$this->checkSession()) return false;
|
163 |
-
$res=$this->get("
|
164 |
$this->debugRequest();
|
165 |
$this->resetDebugger();
|
166 |
$this->stopPlugin();
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'LinkedIn',
|
4 |
+
'version'=>'1.1.4',
|
5 |
'description'=>"Get the contacts from a LinkedIn account",
|
6 |
'base_version'=>'1.8.0',
|
7 |
'type'=>'email',
|
8 |
+
'check_url'=>'http://m.linkedin.com/session/new',
|
9 |
'requirement'=>'email',
|
10 |
'allowed_domains'=>false,
|
11 |
);
|
25 |
protected $timeout=30;
|
26 |
|
27 |
public $debug_array=array(
|
28 |
+
'initial_get'=>'login',
|
29 |
+
'login_post'=>'contacts',
|
30 |
+
'get_friends'=>'mailto',
|
|
|
31 |
);
|
32 |
|
33 |
/**
|
48 |
$this->service_password=$pass;
|
49 |
if (!$this->init()) return false;
|
50 |
|
51 |
+
$res=$this->get("http://m.linkedin.com/session/new");
|
52 |
if ($this->checkResponse("initial_get",$res))
|
53 |
+
$this->updateDebugBuffer('initial_get',"http://m.linkedin.com/session/new",'GET');
|
54 |
else
|
55 |
{
|
56 |
+
$this->updateDebugBuffer('initial_get',"http://m.linkedin.com/session/new",'GET',false);
|
57 |
$this->debugRequest();
|
58 |
$this->stopPlugin();
|
59 |
return false;
|
60 |
}
|
61 |
+
$form_action="https://m.linkedin.com/session";
|
62 |
+
$post_elements=array('login'=>$user,
|
63 |
+
'authenticity_token'=>$this->getElementString($res,'name="authenticity_token" type="hidden" value="','"'),
|
64 |
+
'password'=>$pass,
|
65 |
+
);
|
|
|
|
|
|
|
66 |
$res=$this->post($form_action,$post_elements,true);
|
67 |
if ($this->checkResponse("login_post",$res))
|
68 |
$this->updateDebugBuffer('login_post',"{$form_action}",'POST',true,$post_elements);
|
72 |
$this->debugRequest();
|
73 |
$this->stopPlugin();
|
74 |
return false;
|
75 |
+
}
|
76 |
+
$this->login_ok="https://m.linkedin.com/contacts";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
return true;
|
78 |
}
|
79 |
|
93 |
$this->stopPlugin();
|
94 |
return false;
|
95 |
}
|
96 |
+
else $url=$this->login_ok;
|
97 |
+
$res=$this->get($url,true);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
if ($this->checkResponse("get_friends",$res))
|
99 |
+
$this->updateDebugBuffer('get_friends',"{$url}",'GET');
|
100 |
else
|
101 |
{
|
102 |
+
$this->updateDebugBuffer('get_friends',"{$url}",'GET',false);
|
103 |
$this->debugRequest();
|
104 |
$this->stopPlugin();
|
105 |
return false;
|
106 |
}
|
107 |
+
|
108 |
+
$res=str_replace(PHP_EOL,"",$res);
|
109 |
+
preg_match_all("#mailto\:(.+)\"#U",$res,$emails);
|
110 |
+
preg_match_all("#252Fcontacts\"\>(.+)\<\/#U",$res,$names);
|
111 |
+
$contacts=array();
|
112 |
+
if (!empty($emails[1])) foreach($emails[1] as $key=>$email) if (!empty($names[1][$key])) $contacts[$email]=$names[1][$key];
|
|
|
|
|
|
|
|
|
113 |
foreach ($contacts as $email=>$name) if (!$this->isEmail($email)) unset($contacts[$email]);
|
114 |
+
return $contacts;
|
115 |
}
|
116 |
|
117 |
/**
|
126 |
public function logout()
|
127 |
{
|
128 |
if (!$this->checkSession()) return false;
|
129 |
+
$res=$this->get("http://m.linkedin.com/session/logout",true);
|
130 |
$this->debugRequest();
|
131 |
$this->resetDebugger();
|
132 |
$this->stopPlugin();
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/mail_ru.plg.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Mail.ru',
|
4 |
-
'version'=>'1.1.
|
5 |
'description'=>"Get the contacts from a Mail.ru account",
|
6 |
-
'base_version'=>'1.
|
7 |
'type'=>'email',
|
8 |
'check_url'=>'http://www.mail.ru',
|
9 |
'requirement'=>'email',
|
10 |
-
'allowed_domains'=>array('/(
|
11 |
'imported_details'=>array('first_name','middle_name','last_name','nickname','email_1','email_2','email_3','organization','phone_mobile','phone_home','phone_work','fax','pager','address_home','address_work','website','address_city','address_state','address_country','postcode_home','isq_messenger','skype_messenger','yahoo_messenger','msn_messenger','aol_messenger','other_messenger'),
|
12 |
);
|
13 |
/**
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Mail.ru',
|
4 |
+
'version'=>'1.1.5',
|
5 |
'description'=>"Get the contacts from a Mail.ru account",
|
6 |
+
'base_version'=>'1.8.0',
|
7 |
'type'=>'email',
|
8 |
'check_url'=>'http://www.mail.ru',
|
9 |
'requirement'=>'email',
|
10 |
+
'allowed_domains'=>array('/(list.ru)/i','/(inbox.ru)/i','/(bk.ru)/i','/(mail.ru)/i'),
|
11 |
'imported_details'=>array('first_name','middle_name','last_name','nickname','email_1','email_2','email_3','organization','phone_mobile','phone_home','phone_work','fax','pager','address_home','address_work','website','address_city','address_state','address_country','postcode_home','isq_messenger','skype_messenger','yahoo_messenger','msn_messenger','aol_messenger','other_messenger'),
|
12 |
);
|
13 |
/**
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/meinvz.plg.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*/
|
5 |
$_pluginInfo=array(
|
6 |
'name'=>'Meinvz',
|
7 |
-
'version'=>'1.0.
|
8 |
'description'=>"Get the contacts from a MeinVz account",
|
9 |
'base_version'=>'1.8.0',
|
10 |
'type'=>'social',
|
4 |
*/
|
5 |
$_pluginInfo=array(
|
6 |
'name'=>'Meinvz',
|
7 |
+
'version'=>'1.0.9',
|
8 |
'description'=>"Get the contacts from a MeinVz account",
|
9 |
'base_version'=>'1.8.0',
|
10 |
'type'=>'social',
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/multiply.plg.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*/
|
5 |
$_pluginInfo=array(
|
6 |
'name'=>'Multiply',
|
7 |
-
'version'=>'1.0.
|
8 |
'description'=>"Get the contacts from a Multiply account",
|
9 |
'base_version'=>'1.8.0',
|
10 |
'type'=>'social',
|
@@ -29,7 +29,7 @@ class multiply extends openinviter_base
|
|
29 |
protected $timeout=30;
|
30 |
|
31 |
public $debug_array=array(
|
32 |
-
'initial_get'=>'
|
33 |
'login_post'=>'logout',
|
34 |
'get_friends'=>'contactbox',
|
35 |
'url_send_message'=>'form::subject',
|
@@ -54,7 +54,7 @@ class multiply extends openinviter_base
|
|
54 |
$this->service_password=$pass;
|
55 |
if (!$this->init()) return false;
|
56 |
|
57 |
-
$res=$this->get("http://multiply.com/",true);
|
58 |
if ($this->checkResponse("initial_get",$res))
|
59 |
$this->updateDebugBuffer('initial_get',"http://www.multiply.com/en/",'GET');
|
60 |
else
|
@@ -66,8 +66,8 @@ class multiply extends openinviter_base
|
|
66 |
}
|
67 |
|
68 |
$form_action="http://multiply.com/user/signin";
|
69 |
-
$post_elements=$this->getHiddenElements($res);$post_elements['signin::
|
70 |
-
$res=$this->post($form_action,$post_elements,true);
|
71 |
if ($this->checkResponse("login_post",$res))
|
72 |
$this->updateDebugBuffer('login_post',"{$form_action}",'POST',true,$post_elements);
|
73 |
else
|
@@ -77,7 +77,7 @@ class multiply extends openinviter_base
|
|
77 |
$this->stopPlugin();
|
78 |
return false;
|
79 |
}
|
80 |
-
|
81 |
$url_contacts="http://{$user}.multiply.com/contacts";
|
82 |
$this->login_ok=$url_contacts;
|
83 |
return true;
|
4 |
*/
|
5 |
$_pluginInfo=array(
|
6 |
'name'=>'Multiply',
|
7 |
+
'version'=>'1.0.5',
|
8 |
'description'=>"Get the contacts from a Multiply account",
|
9 |
'base_version'=>'1.8.0',
|
10 |
'type'=>'social',
|
29 |
protected $timeout=30;
|
30 |
|
31 |
public $debug_array=array(
|
32 |
+
'initial_get'=>'splashcontainer',
|
33 |
'login_post'=>'logout',
|
34 |
'get_friends'=>'contactbox',
|
35 |
'url_send_message'=>'form::subject',
|
54 |
$this->service_password=$pass;
|
55 |
if (!$this->init()) return false;
|
56 |
|
57 |
+
$res=$this->get("http://multiply.com/",true);
|
58 |
if ($this->checkResponse("initial_get",$res))
|
59 |
$this->updateDebugBuffer('initial_get',"http://www.multiply.com/en/",'GET');
|
60 |
else
|
66 |
}
|
67 |
|
68 |
$form_action="http://multiply.com/user/signin";
|
69 |
+
$post_elements=$this->getHiddenElements($res);$post_elements['signin::signin_id']=$user;$post_elements['signin::password']=$pass;$post_elements['signin::remember']='on';$post_elements['omniture_submission']='submitted';
|
70 |
+
$res=$this->post($form_action,$post_elements,true);
|
71 |
if ($this->checkResponse("login_post",$res))
|
72 |
$this->updateDebugBuffer('login_post',"{$form_action}",'POST',true,$post_elements);
|
73 |
else
|
77 |
$this->stopPlugin();
|
78 |
return false;
|
79 |
}
|
80 |
+
|
81 |
$url_contacts="http://{$user}.multiply.com/contacts";
|
82 |
$this->login_ok=$url_contacts;
|
83 |
return true;
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/myspace.plg.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'MySpace',
|
4 |
-
'version'=>'1.1.
|
5 |
'description'=>"Get the contacts from a MySpace account",
|
6 |
'base_version'=>'1.8.0',
|
7 |
'type'=>'social',
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'MySpace',
|
4 |
+
'version'=>'1.1.1',
|
5 |
'description'=>"Get the contacts from a MySpace account",
|
6 |
'base_version'=>'1.8.0',
|
7 |
'type'=>'social',
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/netlog.plg.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'NetLog',
|
4 |
-
'version'=>'1.0.
|
5 |
'description'=>"Get the contacts from a NetLog account And Shout a message to your friends",
|
6 |
-
'base_version'=>'1.8.
|
7 |
'type'=>'social',
|
8 |
'check_url'=>'http://en.netlog.com/m/login',
|
9 |
'requirement'=>'email',
|
@@ -23,6 +23,7 @@ class netlog extends openinviter_base
|
|
23 |
private $login_ok=false;
|
24 |
public $showContacts=true;
|
25 |
protected $timeout=30;
|
|
|
26 |
|
27 |
public $debug_array=array(
|
28 |
'initial_get'=>'target',
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'NetLog',
|
4 |
+
'version'=>'1.0.7',
|
5 |
'description'=>"Get the contacts from a NetLog account And Shout a message to your friends",
|
6 |
+
'base_version'=>'1.8.3',
|
7 |
'type'=>'social',
|
8 |
'check_url'=>'http://en.netlog.com/m/login',
|
9 |
'requirement'=>'email',
|
23 |
private $login_ok=false;
|
24 |
public $showContacts=true;
|
25 |
protected $timeout=30;
|
26 |
+
protected $userAgent='Mozilla/4.1 (compatible; MSIE 5.0; Symbian OS; Nokia 3650;424) Opera 6.10 [en]';
|
27 |
|
28 |
public $debug_array=array(
|
29 |
'initial_get'=>'target',
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/plaxo.plg.php
CHANGED
@@ -1,13 +1,14 @@
|
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Plaxo',
|
4 |
-
'version'=>'1.0.
|
5 |
'description'=>"Get the contacts from a plaxo account",
|
6 |
-
'base_version'=>'1.
|
7 |
-
'type'=>'
|
8 |
'check_url'=>'http://m.plaxo.com',
|
9 |
'requirement'=>'email',
|
10 |
'allowed_domains'=>false,
|
|
|
11 |
);
|
12 |
/**
|
13 |
* plaxo.com Plugin
|
@@ -22,7 +23,10 @@ class plaxo extends openinviter_base
|
|
22 |
private $login_ok=false;
|
23 |
public $showContacts=true;
|
24 |
public $debug_array=array(
|
25 |
-
'
|
|
|
|
|
|
|
26 |
);
|
27 |
|
28 |
/**
|
@@ -42,20 +46,31 @@ class plaxo extends openinviter_base
|
|
42 |
$this->service_user=$user;
|
43 |
$this->service_password=$pass;
|
44 |
if (!$this->init()) return false;
|
45 |
-
$
|
46 |
-
$
|
47 |
-
|
48 |
-
$res = $this->post($postAction, $postElem, true);
|
49 |
-
if ($this->checkResponse("initial_check",$res))
|
50 |
-
$this->updateDebugBuffer('initial_check',$postAction,'POST');
|
51 |
else
|
52 |
{
|
53 |
-
$this->updateDebugBuffer('
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
$this->debugRequest();
|
55 |
$this->stopPlugin();
|
56 |
return false;
|
57 |
}
|
58 |
-
|
|
|
59 |
return true;
|
60 |
}
|
61 |
|
@@ -77,41 +92,57 @@ class plaxo extends openinviter_base
|
|
77 |
}
|
78 |
else
|
79 |
$url=$this->login_ok;
|
80 |
-
$
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
|
116 |
/**
|
117 |
* Terminate session
|
@@ -125,7 +156,7 @@ class plaxo extends openinviter_base
|
|
125 |
public function logout()
|
126 |
{
|
127 |
if (!$this->checkSession()) return false;
|
128 |
-
$res
|
129 |
$this->debugRequest();
|
130 |
$this->resetDebugger();
|
131 |
$this->stopPlugin();
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Plaxo',
|
4 |
+
'version'=>'1.0.9',
|
5 |
'description'=>"Get the contacts from a plaxo account",
|
6 |
+
'base_version'=>'1.8.0',
|
7 |
+
'type'=>'email',
|
8 |
'check_url'=>'http://m.plaxo.com',
|
9 |
'requirement'=>'email',
|
10 |
'allowed_domains'=>false,
|
11 |
+
'imported_details'=>array('first_name','middle_name','last_name','nickname','email_1','email_2','email_3','organization','phone_mobile','phone_home','phone_work','fax','pager','address_home','address_work','website','address_city','address_state','address_country','postcode_home','isq_messenger','skype_messenger','yahoo_messenger','msn_messenger','aol_messenger','other_messenger')
|
12 |
);
|
13 |
/**
|
14 |
* plaxo.com Plugin
|
23 |
private $login_ok=false;
|
24 |
public $showContacts=true;
|
25 |
public $debug_array=array(
|
26 |
+
'initial_get'=>'signin.email',
|
27 |
+
'login_post'=>'dojoBlankHtmlUrl',
|
28 |
+
'export_url'=>'paths.0.folder_id',
|
29 |
+
'contact_files'=>'Title',
|
30 |
);
|
31 |
|
32 |
/**
|
46 |
$this->service_user=$user;
|
47 |
$this->service_password=$pass;
|
48 |
if (!$this->init()) return false;
|
49 |
+
$res=$this->get("https://www.plaxo.com/signin",true);
|
50 |
+
if ($this->checkResponse("initial_get",$res))
|
51 |
+
$this->updateDebugBuffer('initial_get',"https://www.plaxo.com/signin",'GET');
|
|
|
|
|
|
|
52 |
else
|
53 |
{
|
54 |
+
$this->updateDebugBuffer('initial_get',"https://www.plaxo.com/signin",'GET',false);
|
55 |
+
$this->debugRequest();
|
56 |
+
$this->stopPlugin();
|
57 |
+
return false;
|
58 |
+
}
|
59 |
+
|
60 |
+
$form_action="https://www.plaxo.com/signin";
|
61 |
+
$post_elements=array("r"=>"https://www.plaxo.com","t"=>false,"originalEmail"=>false,"signin"=>true,"smi"=>0,"signin_method"=>"email","signin.email"=>$user,"signin.password"=>$pass,"signin.keeplive"=>1);
|
62 |
+
$res=$this->post($form_action, $post_elements, true);
|
63 |
+
if ($this->checkResponse("login_post",$res))
|
64 |
+
$this->updateDebugBuffer('login_post',"{$form_action}",'POST',true,$post_elements);
|
65 |
+
else
|
66 |
+
{
|
67 |
+
$this->updateDebugBuffer('login_post',"{$form_action}",'POST',false,$post_elements);
|
68 |
$this->debugRequest();
|
69 |
$this->stopPlugin();
|
70 |
return false;
|
71 |
}
|
72 |
+
|
73 |
+
$this->login_ok="http://www.plaxo.com/export?t=ab_contacts_export_all&memberImport=1";
|
74 |
return true;
|
75 |
}
|
76 |
|
92 |
}
|
93 |
else
|
94 |
$url=$this->login_ok;
|
95 |
+
$res=$this->get($url,true);
|
96 |
+
if ($this->checkResponse("export_url",$res))
|
97 |
+
$this->updateDebugBuffer('export_url',"{$url}",'GET');
|
98 |
+
else
|
99 |
+
{
|
100 |
+
$this->updateDebugBuffer('export_url',"{$url}",'GET',false);
|
101 |
+
$this->debugRequest();
|
102 |
+
$this->stopPlugin();
|
103 |
+
return false;
|
104 |
+
}
|
105 |
+
|
106 |
+
$form_action="http://www.plaxo.com/export/plaxo_ab_outlook.csv";
|
107 |
+
$post_elements=array("paths.0.folder_id"=>$this->getElementString($res,'name="paths.0.folder_id" value="','"'),"paths.0.checked"=>"on","NumPaths"=>1,"type"=>"O","do_submit"=>1,"x"=>51,"y"=>19);
|
108 |
+
$res=$this->post($form_action,$post_elements);
|
109 |
+
if ($this->checkResponse("contact_files",$res))
|
110 |
+
$this->updateDebugBuffer('contact_files',"{$form_action}",'POST',true,$post_elements);
|
111 |
+
else
|
112 |
+
{
|
113 |
+
$this->updateDebugBuffer('contact_files',"{$form_action}",'POST',false,$post_elements);
|
114 |
+
$this->debugRequest();
|
115 |
+
$this->stopPlugin();
|
116 |
+
return false;
|
117 |
+
}
|
118 |
+
|
119 |
+
$temp=$this->parseCSV($res);
|
120 |
+
$contacts=array();$descriptionArray=array();
|
121 |
+
foreach ($temp as $values)
|
122 |
+
{
|
123 |
+
$contacts[$values[5]]=array('first_name'=>(!empty($values[1])?$values[1]:false),
|
124 |
+
'middle_name'=>(!empty($values[2])?$values[2]:false),
|
125 |
+
'last_name'=>(!empty($values[3])?$values[3]:false),
|
126 |
+
'email_1'=>(!empty($values[5])?$values[5]:false),
|
127 |
+
'email_2'=>(!empty($values[6])?$values[6]:false),
|
128 |
+
'email_3'=>(!empty($values[7])?$values[7]:false),
|
129 |
+
'phone_mobile'=>(!empty($values[34])?$values[34]:false),
|
130 |
+
'phone_home'=>(!empty($values[35])?$values[35]:false),
|
131 |
+
'phone_work'=>(!empty($values[36])?$values[36]:false),
|
132 |
+
'fax'=>false,
|
133 |
+
'pager'=>false,
|
134 |
+
'address_home'=>false,
|
135 |
+
'address_work'=>false,
|
136 |
+
'website'=>false,
|
137 |
+
'address_city'=>false,
|
138 |
+
'address_state'=>false,
|
139 |
+
'address_country'=>false,
|
140 |
+
'postcode_home'=>false,
|
141 |
+
);
|
142 |
+
}
|
143 |
+
foreach ($contacts as $email=>$name) if (!$this->isEmail($email)) unset($contacts[$email]);
|
144 |
+
return $this->returnContacts($contacts);
|
145 |
+
}
|
146 |
|
147 |
/**
|
148 |
* Terminate session
|
156 |
public function logout()
|
157 |
{
|
158 |
if (!$this->checkSession()) return false;
|
159 |
+
$res=$this->get('http://www.plaxo.com/signout?r=%2Fsignin&lang=en', true);
|
160 |
$this->debugRequest();
|
161 |
$this->resetDebugger();
|
162 |
$this->stopPlugin();
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/rambler.plg.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Rambler',
|
4 |
-
'version'=>'1.1.
|
5 |
'description'=>"Get the contacts from a Rambler account",
|
6 |
-
'base_version'=>'1.
|
7 |
'type'=>'email',
|
8 |
'check_url'=>'http://www.rambler.ru',
|
9 |
'requirement'=>'email',
|
@@ -109,10 +109,10 @@ class rambler extends openinviter_base
|
|
109 |
return false;
|
110 |
}
|
111 |
$contacts=array();
|
112 |
-
$emailsArray=$this->getElementDOM($res,"//
|
113 |
-
$namesArray=$this->getElementDOM($res,"//
|
114 |
if (!empty($emailsArray))
|
115 |
-
foreach($emailsArray as $key=>$emailValue) $contacts[$emailValue]=array('first_name'=>(isset($namesArray[$key])
|
116 |
foreach ($contacts as $email=>$name) if (!$this->isEmail($email)) unset($contacts[$email]);
|
117 |
return $this->returnContacts($contacts);
|
118 |
}
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Rambler',
|
4 |
+
'version'=>'1.1.7',
|
5 |
'description'=>"Get the contacts from a Rambler account",
|
6 |
+
'base_version'=>'1.8.3',
|
7 |
'type'=>'email',
|
8 |
'check_url'=>'http://www.rambler.ru',
|
9 |
'requirement'=>'email',
|
109 |
return false;
|
110 |
}
|
111 |
$contacts=array();
|
112 |
+
$emailsArray=$this->getElementDOM($res,"//td[@class='mtbox-cell mtbox-email quiet']");
|
113 |
+
$namesArray=$this->getElementDOM($res,"//a[@class='mtbox-action mtbox-view']");
|
114 |
if (!empty($emailsArray))
|
115 |
+
foreach($emailsArray as $key=>$emailValue) $contacts[trim($emailValue)]=array('first_name'=>(isset($namesArray[$key])?trim($namesArray[$key]):false),'email_1'=>trim($emailValue));
|
116 |
foreach ($contacts as $email=>$name) if (!$this->isEmail($email)) unset($contacts[$email]);
|
117 |
return $this->returnContacts($contacts);
|
118 |
}
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/skyrock.plg.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*/
|
5 |
$_pluginInfo=array(
|
6 |
'name'=>'Skyrock',
|
7 |
-
'version'=>'1.0.
|
8 |
'description'=>"Get the contacts from a Skyrock account",
|
9 |
'base_version'=>'1.8.0',
|
10 |
'type'=>'social',
|
@@ -31,7 +31,7 @@ class skyrock extends openinviter_base
|
|
31 |
public $debug_array=array(
|
32 |
'initial_get'=>'need_login_form_login',
|
33 |
'login_post'=>'logout',
|
34 |
-
'url_friends'=>'
|
35 |
'url_send_message'=>'id_dest',
|
36 |
'send_message'=>'confirmation'
|
37 |
);
|
@@ -121,7 +121,7 @@ class skyrock extends openinviter_base
|
|
121 |
{
|
122 |
$page++;$message_array=array();
|
123 |
$names_array=$this->getElementDOM($res,"//ul[@class='friends_list']/li",'title');
|
124 |
-
$message_array=$this->getElementDOM($res,"//a[@class='
|
125 |
if (empty($message_array)) $hasFriends=false;
|
126 |
if (!empty($names_array)) foreach($names_array as $key=>$value) $contacts[$message_array[$key]]=$value;
|
127 |
$url_next="http://www.skyrock.com/m/friends/?order=1&page={$page}";
|
4 |
*/
|
5 |
$_pluginInfo=array(
|
6 |
'name'=>'Skyrock',
|
7 |
+
'version'=>'1.0.8',
|
8 |
'description'=>"Get the contacts from a Skyrock account",
|
9 |
'base_version'=>'1.8.0',
|
10 |
'type'=>'social',
|
31 |
public $debug_array=array(
|
32 |
'initial_get'=>'need_login_form_login',
|
33 |
'login_post'=>'logout',
|
34 |
+
'url_friends'=>'bouton edit',
|
35 |
'url_send_message'=>'id_dest',
|
36 |
'send_message'=>'confirmation'
|
37 |
);
|
121 |
{
|
122 |
$page++;$message_array=array();
|
123 |
$names_array=$this->getElementDOM($res,"//ul[@class='friends_list']/li",'title');
|
124 |
+
$message_array=$this->getElementDOM($res,"//a[@class='bouton edit']",'href');
|
125 |
if (empty($message_array)) $hasFriends=false;
|
126 |
if (!empty($names_array)) foreach($names_array as $key=>$value) $contacts[$message_array[$key]]=$value;
|
127 |
$url_next="http://www.skyrock.com/m/friends/?order=1&page={$page}";
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/tagged.plg.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Tagged',
|
4 |
-
'version'=>'1.0
|
5 |
'description'=>"Get the contacts from a Tagged.com account",
|
6 |
'base_version'=>'1.8.0',
|
7 |
'type'=>'social',
|
@@ -137,7 +137,7 @@ class tagged extends openinviter_base
|
|
137 |
foreach ($contacts as $id=>$username)
|
138 |
{
|
139 |
$countMessages++;
|
140 |
-
$form_action=
|
141 |
$post_elements=array('recipient_id'=>$id,
|
142 |
'subject'=>$message['subject'],
|
143 |
'mce_editor_0_fontSizeSelect'=>0,
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Tagged',
|
4 |
+
'version'=>'1.1.0',
|
5 |
'description'=>"Get the contacts from a Tagged.com account",
|
6 |
'base_version'=>'1.8.0',
|
7 |
'type'=>'social',
|
137 |
foreach ($contacts as $id=>$username)
|
138 |
{
|
139 |
$countMessages++;
|
140 |
+
$form_action="http://www.tagged.com/messages.html?action=compose&rid={$id}";
|
141 |
$post_elements=array('recipient_id'=>$id,
|
142 |
'subject'=>$message['subject'],
|
143 |
'mce_editor_0_fontSizeSelect'=>0,
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/twitter.plg.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Twitter',
|
4 |
-
'version'=>'1.
|
5 |
'description'=>"Get the contacts from a Twitter account",
|
6 |
'base_version'=>'1.8.0',
|
7 |
'type'=>'social',
|
@@ -18,18 +18,22 @@ $_pluginInfo=array(
|
|
18 |
* @author OpenInviter
|
19 |
* @version 1.0.3
|
20 |
*/
|
21 |
-
class twitter extends
|
22 |
{
|
23 |
private $login_ok=false;
|
24 |
public $showContacts=true;
|
|
|
25 |
public $internalError=false;
|
|
|
26 |
protected $timeout=30;
|
|
|
27 |
|
28 |
public $debug_array=array(
|
29 |
-
'
|
30 |
-
'
|
31 |
-
'
|
32 |
-
'
|
|
|
33 |
);
|
34 |
|
35 |
/**
|
@@ -49,17 +53,30 @@ class twitter extends openinviter_base
|
|
49 |
$this->service_user=$user;
|
50 |
$this->service_pass=$pass;
|
51 |
if (!$this->init()) return false;
|
52 |
-
$res=$this->get("
|
53 |
-
if ($this->checkResponse('
|
54 |
-
$this->updateDebugBuffer('
|
55 |
else
|
56 |
{
|
57 |
-
$this->updateDebugBuffer('
|
58 |
$this->debugRequest();
|
59 |
-
$this->stopPlugin();
|
60 |
-
return false;
|
61 |
}
|
62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
return true;
|
64 |
}
|
65 |
|
@@ -73,20 +90,41 @@ class twitter extends openinviter_base
|
|
73 |
*/
|
74 |
public function getMyContacts()
|
75 |
{
|
76 |
-
if (
|
77 |
-
{$auth=explode("/",file_get_contents($this->getLogoutPath()));$user=$auth[0];$pass=$auth[1];}
|
78 |
-
else return false;
|
79 |
-
$res=$this->get("http://{$user}:{$pass}@twitter.com/statuses/followers.xml",true);
|
80 |
-
if ($this->checkResponse('responce_ok_followers',$res))
|
81 |
-
$this->updateDebugBuffer('responce_ok_followers',"http://user:pass@twitter.com/statuses/followers.xml",'GET');
|
82 |
-
else
|
83 |
{
|
84 |
-
$this->updateDebugBuffer('responce_ok_followers',"http://user:pass@twitter.com/statuses/followers.xml",'GET',false);
|
85 |
$this->debugRequest();
|
86 |
$this->stopPlugin();
|
87 |
-
return false;
|
88 |
}
|
89 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
return $contacts;
|
91 |
}
|
92 |
|
@@ -103,35 +141,26 @@ class twitter extends openinviter_base
|
|
103 |
*/
|
104 |
public function sendMessage($session_id,$message,$contacts)
|
105 |
{
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
$post_elements=array('
|
110 |
-
$res=$this->post(
|
111 |
-
|
112 |
-
|
113 |
-
else
|
114 |
-
{
|
115 |
-
$this->updateDebugBuffer('responce_ok_status',"http://user:pass@twitter.com/statuses/update.xml",'POST',false,$post_elements);
|
116 |
-
$this->debugRequest();
|
117 |
-
$this->stopPlugin();
|
118 |
-
return false;
|
119 |
-
}
|
120 |
-
$countMessages=0;
|
121 |
-
foreach($contacts as $key=>$screen_name)
|
122 |
{
|
123 |
-
$countMessages
|
124 |
-
$post_elements=array('
|
125 |
-
$res=$this->post(
|
126 |
-
if ($this->checkResponse('
|
127 |
-
$this->updateDebugBuffer('
|
128 |
else
|
129 |
{
|
130 |
-
$this->updateDebugBuffer('
|
131 |
$this->debugRequest();
|
132 |
-
$this->stopPlugin();
|
133 |
-
return false;
|
134 |
-
}
|
135 |
sleep($this->messageDelay);
|
136 |
if ($countMessages>$this->maxMessages) {$this->debugRequest();$this->resetDebugger();$this->stopPlugin();break;}
|
137 |
}
|
@@ -150,6 +179,7 @@ class twitter extends openinviter_base
|
|
150 |
public function logout()
|
151 |
{
|
152 |
if (!$this->checkSession()) return false;
|
|
|
153 |
$this->debugRequest();
|
154 |
$this->resetDebugger();
|
155 |
$this->stopPlugin();
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Twitter',
|
4 |
+
'version'=>'1.1.1',
|
5 |
'description'=>"Get the contacts from a Twitter account",
|
6 |
'base_version'=>'1.8.0',
|
7 |
'type'=>'social',
|
18 |
* @author OpenInviter
|
19 |
* @version 1.0.3
|
20 |
*/
|
21 |
+
class twitter extends OpenInviter_Base
|
22 |
{
|
23 |
private $login_ok=false;
|
24 |
public $showContacts=true;
|
25 |
+
public $requirement='user';
|
26 |
public $internalError=false;
|
27 |
+
public $allowed_domains=false;
|
28 |
protected $timeout=30;
|
29 |
+
protected $maxUsers=100;
|
30 |
|
31 |
public $debug_array=array(
|
32 |
+
'initial_get'=>'username',
|
33 |
+
'login_post'=>'inbox',
|
34 |
+
'friends_url'=>'list-tweet',
|
35 |
+
'wall_message'=>'latest_text',
|
36 |
+
'send_message'=>'inbox'
|
37 |
);
|
38 |
|
39 |
/**
|
53 |
$this->service_user=$user;
|
54 |
$this->service_pass=$pass;
|
55 |
if (!$this->init()) return false;
|
56 |
+
$res=$this->get("https://mobile.twitter.com/session/new",true);
|
57 |
+
if ($this->checkResponse('initial_get',$res))
|
58 |
+
$this->updateDebugBuffer('initial_get',"https://mobile.twitter.com/session/new",'GET');
|
59 |
else
|
60 |
{
|
61 |
+
$this->updateDebugBuffer('initial_get',"https://mobile.twitter.com/session/new",'GET',false);
|
62 |
$this->debugRequest();
|
63 |
+
$this->stopPlugin();
|
64 |
+
return false;
|
65 |
}
|
66 |
+
|
67 |
+
$form_action="https://mobile.twitter.com/session";
|
68 |
+
$post_elements=array('authenticity_token'=>$this->getElementString($res,'name="authenticity_token" type="hidden" value="','"'),'username'=>$user,'password'=>$pass);
|
69 |
+
$res=$this->post($form_action,$post_elements,true);
|
70 |
+
if ($this->checkResponse('login_post',$res))
|
71 |
+
$this->updateDebugBuffer('login_post',"{$form_action}",'POST',true,$post_elements);
|
72 |
+
else
|
73 |
+
{
|
74 |
+
$this->updateDebugBuffer('login_post',"{$form_action}",'POST',false,$post_elements);
|
75 |
+
$this->debugRequest();
|
76 |
+
$this->stopPlugin();
|
77 |
+
return false;
|
78 |
+
}
|
79 |
+
$this->login_ok="http://mobile.twitter.com/{$user}/followers";
|
80 |
return true;
|
81 |
}
|
82 |
|
90 |
*/
|
91 |
public function getMyContacts()
|
92 |
{
|
93 |
+
if (!$this->login_ok)
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
{
|
|
|
95 |
$this->debugRequest();
|
96 |
$this->stopPlugin();
|
97 |
+
return false;
|
98 |
}
|
99 |
+
else $url=$this->login_ok;
|
100 |
+
$res=$this->get($url);
|
101 |
+
if ($this->checkResponse('friends_url',$res))
|
102 |
+
$this->updateDebugBuffer('friends_url',"{$url}",'GET');
|
103 |
+
else
|
104 |
+
{
|
105 |
+
$this->updateDebugBuffer('friends_url',"{$url}",'GET',false);
|
106 |
+
$this->debugRequest();
|
107 |
+
$this->stopPlugin();
|
108 |
+
return false;
|
109 |
+
}
|
110 |
+
$contacts=array();$countUsers=0;
|
111 |
+
do
|
112 |
+
{
|
113 |
+
$nextPage=false;
|
114 |
+
$doc=new DOMDocument();libxml_use_internal_errors(true);if (!empty($res)) $doc->loadHTML($res);libxml_use_internal_errors(false);
|
115 |
+
$xpath=new DOMXPath($doc);
|
116 |
+
$query="//a[@name]";$data=$xpath->query($query);
|
117 |
+
foreach ($data as $node)
|
118 |
+
{
|
119 |
+
$user=(string)$node->getAttribute("name");
|
120 |
+
if (!empty($user)) {$contacts[$countUsers]=$user; $countUsers++; }
|
121 |
+
}
|
122 |
+
$query="//div[@class='list-more']/a";$data=$xpath->query($query);
|
123 |
+
foreach($data as $node) { $nextPage=$node->getAttribute("href");break; }
|
124 |
+
if ($countUsers>$this->maxUsers) break;
|
125 |
+
if (!empty($nextPage)) $res=$this->get('http://mobile.twitter.com'.$nextPage);
|
126 |
+
}
|
127 |
+
while ($nextPage);
|
128 |
return $contacts;
|
129 |
}
|
130 |
|
141 |
*/
|
142 |
public function sendMessage($session_id,$message,$contacts)
|
143 |
{
|
144 |
+
$countMessages=0;$res=$this->get("http://mobile.twitter.com");$auth=$this->getElementString($res,'name="authenticity_token" type="hidden" value="','"');
|
145 |
+
|
146 |
+
$form_action="http://mobile.twitter.com";
|
147 |
+
$post_elements=array("authenticity_token"=>$auth,'tweet[text]'=>$message['body'],'tweet[in_reply_to_status_id]'=>false,'tweet[lat]'=>false,'tweet[long]'=>false,'tweet[place_id]'=>false,'tweet[display_coordinates]'=>false);
|
148 |
+
$res=$this->post($form_action,$post_elements,true);
|
149 |
+
|
150 |
+
foreach($contacts as $screen_name)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
{
|
152 |
+
$countMessages++;$form_action='http://mobile.twitter.com/inbox';
|
153 |
+
$post_elements=array('authenticity_token'=>$auth,'message[text]'=>$message['body'],'message[recipient_screen_name]'=>$screen_name,'return_to'=>false,);
|
154 |
+
$res=$this->post($form_action,$post_elements,true);
|
155 |
+
if ($this->checkResponse('send_message',$res))
|
156 |
+
$this->updateDebugBuffer('send_message',"{$form_action}",'POST',true,$post_elements);
|
157 |
else
|
158 |
{
|
159 |
+
$this->updateDebugBuffer('send_message',"{$form_action}",'POST',false,$post_elements);
|
160 |
$this->debugRequest();
|
161 |
+
$this->stopPlugin();
|
162 |
+
return false;
|
163 |
+
}
|
164 |
sleep($this->messageDelay);
|
165 |
if ($countMessages>$this->maxMessages) {$this->debugRequest();$this->resetDebugger();$this->stopPlugin();break;}
|
166 |
}
|
179 |
public function logout()
|
180 |
{
|
181 |
if (!$this->checkSession()) return false;
|
182 |
+
$this->get("http://twitter.com/logout");
|
183 |
$this->debugRequest();
|
184 |
$this->resetDebugger();
|
185 |
$this->stopPlugin();
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/xing.plg.php
CHANGED
@@ -1,13 +1,14 @@
|
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Xing',
|
4 |
-
'version'=>'1.0.
|
5 |
'description'=>"Get the contacts from a Xing account",
|
6 |
'base_version'=>'1.8.0',
|
7 |
-
'type'=>'
|
8 |
'check_url'=>'https://mobile.xing.com/',
|
9 |
'requirement'=>'email',
|
10 |
'allowed_domains'=>false,
|
|
|
11 |
);
|
12 |
/**
|
13 |
* Xing Plugin
|
@@ -26,12 +27,9 @@ class xing extends openinviter_base
|
|
26 |
protected $timeout=30;
|
27 |
|
28 |
public $debug_array=array(
|
29 |
-
'initial_get'=>'
|
30 |
-
'post_login'=>'
|
31 |
-
'get_friends'=>'
|
32 |
-
'get_url_send_message'=>'light_grey_bg',
|
33 |
-
'url_send_message'=>'private_message.send',
|
34 |
-
'send_message'=>'light_grey_bg'
|
35 |
);
|
36 |
|
37 |
/**
|
@@ -52,7 +50,7 @@ class xing extends openinviter_base
|
|
52 |
$this->service_password=$pass;
|
53 |
if (!$this->init()) return false;
|
54 |
|
55 |
-
$res=$this->get("https://
|
56 |
if ($this->checkResponse("initial_get",$res))
|
57 |
$this->updateDebugBuffer('initial_get',"https://mobile.xing.com/",'GET');
|
58 |
else
|
@@ -62,9 +60,9 @@ class xing extends openinviter_base
|
|
62 |
$this->stopPlugin();
|
63 |
return false;
|
64 |
}
|
65 |
-
$form_action="https://
|
66 |
$post_elements=array('op'=>'login',
|
67 |
-
'dest'=>'/
|
68 |
'login_user_name'=>$user,
|
69 |
'login_password'=>$pass,
|
70 |
'sv-remove-name'=>'Log in'
|
@@ -79,9 +77,8 @@ class xing extends openinviter_base
|
|
79 |
$this->stopPlugin();
|
80 |
return false;
|
81 |
}
|
82 |
-
|
83 |
-
$
|
84 |
-
$url_adressbook='https://mobile.xing.com'.$url_adressbook_array[3];
|
85 |
$this->login_ok=$url_adressbook;
|
86 |
return true;
|
87 |
}
|
@@ -114,76 +111,21 @@ class xing extends openinviter_base
|
|
114 |
$this->stopPlugin();
|
115 |
return false;
|
116 |
}
|
117 |
-
$
|
118 |
-
$
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
/**
|
125 |
-
* Send message to contacts
|
126 |
-
*
|
127 |
-
* Sends a message to the contacts using
|
128 |
-
* the service's inernal messaging system
|
129 |
-
*
|
130 |
-
* @param string $cookie_file The location of the cookies file for the current session
|
131 |
-
* @param string $message The message being sent to your contacts
|
132 |
-
* @param array $contacts An array of the contacts that will receive the message
|
133 |
-
* @return mixed FALSE on failure.
|
134 |
-
*/
|
135 |
-
public function sendMessage($session_id,$message,$contacts)
|
136 |
-
{
|
137 |
-
$countMessages=0;
|
138 |
-
foreach($contacts as $href=>$name)
|
139 |
-
{
|
140 |
-
$countMessages++;
|
141 |
-
$url_friend="https://mobile.xing.com{$href}";
|
142 |
-
$res=$this->get($url_friend,true);
|
143 |
-
if ($this->checkResponse("get_url_send_message",$res))
|
144 |
-
$this->updateDebugBuffer('get_url_send_message',$url_friend,'GET');
|
145 |
-
else
|
146 |
{
|
147 |
-
$this->
|
148 |
-
$this->
|
149 |
-
$
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
$xpath=new DOMXPath($doc);$query="//div[@class='light_grey_bg']";$data=$xpath->query($query);
|
154 |
-
foreach($data as $node) $url_send_message='https://mobile.xing.com/'.$node->nextSibling->getAttribute('href');
|
155 |
-
$res=$this->get($url_send_message,true);
|
156 |
-
if (strpos($res,'Only XING Premium')===false)
|
157 |
-
{
|
158 |
-
if ($this->checkResponse("url_send_message",$res))
|
159 |
-
$this->updateDebugBuffer('url_send_message',$url_send_message,'GET');
|
160 |
-
else
|
161 |
-
{
|
162 |
-
$this->updateDebugBuffer('url_send_message',$url_send_message,'GET',false);
|
163 |
-
$this->debugRequest();
|
164 |
-
$this->stopPlugin();
|
165 |
-
return false;
|
166 |
-
}
|
167 |
-
$form_action="https://mobile.xing.com/".$this->getElementString($res,'form action="/','"');
|
168 |
-
$post_elements=$this->getHiddenElements($res);$post_elements['subject']=$message['subject'];
|
169 |
-
$post_elements['body']=$message['body'];$post_elements['sv-set-op-to-private_message.send']='Send';
|
170 |
-
$res=$this->post($form_action,$post_elements,true);
|
171 |
-
if ($this->checkResponse("post_login",$res))
|
172 |
-
$this->updateDebugBuffer('send_message',$form_action,'POST',true,$post_elements);
|
173 |
-
else
|
174 |
-
{
|
175 |
-
$this->updateDebugBuffer('send_message',$form_action,'POST',false,$post_elements);
|
176 |
-
$this->debugRequest();
|
177 |
-
$this->stopPlugin();
|
178 |
-
return false;
|
179 |
-
}
|
180 |
-
}
|
181 |
-
else return true;
|
182 |
-
sleep($this->messageDelay);
|
183 |
-
if ($countMessages>$this->maxMessages) {$this->debugRequest();$this->resetDebugger();$this->stopPlugin();break;}
|
184 |
-
}
|
185 |
}
|
186 |
-
|
187 |
/**
|
188 |
* Terminate session
|
189 |
*
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Xing',
|
4 |
+
'version'=>'1.0.7',
|
5 |
'description'=>"Get the contacts from a Xing account",
|
6 |
'base_version'=>'1.8.0',
|
7 |
+
'type'=>'email',
|
8 |
'check_url'=>'https://mobile.xing.com/',
|
9 |
'requirement'=>'email',
|
10 |
'allowed_domains'=>false,
|
11 |
+
'imported_details'=>array('first_name','email_1'),
|
12 |
);
|
13 |
/**
|
14 |
* Xing Plugin
|
27 |
protected $timeout=30;
|
28 |
|
29 |
public $debug_array=array(
|
30 |
+
'initial_get'=>'login_user_name',
|
31 |
+
'post_login'=>'contact',
|
32 |
+
'get_friends'=>'user-name',
|
|
|
|
|
|
|
33 |
);
|
34 |
|
35 |
/**
|
50 |
$this->service_password=$pass;
|
51 |
if (!$this->init()) return false;
|
52 |
|
53 |
+
$res=$this->get("https://www.xing.com/");
|
54 |
if ($this->checkResponse("initial_get",$res))
|
55 |
$this->updateDebugBuffer('initial_get',"https://mobile.xing.com/",'GET');
|
56 |
else
|
60 |
$this->stopPlugin();
|
61 |
return false;
|
62 |
}
|
63 |
+
$form_action="https://www.xing.com/app/user";
|
64 |
$post_elements=array('op'=>'login',
|
65 |
+
'dest'=>'https://www.xing.com/',
|
66 |
'login_user_name'=>$user,
|
67 |
'login_password'=>$pass,
|
68 |
'sv-remove-name'=>'Log in'
|
77 |
$this->stopPlugin();
|
78 |
return false;
|
79 |
}
|
80 |
+
|
81 |
+
$url_adressbook='https://www.xing.com/app/contact';
|
|
|
82 |
$this->login_ok=$url_adressbook;
|
83 |
return true;
|
84 |
}
|
111 |
$this->stopPlugin();
|
112 |
return false;
|
113 |
}
|
114 |
+
$doc=new DOMDocument();libxml_use_internal_errors(true);if (!empty($res)) $doc->loadHTML($res);libxml_use_internal_errors(false);
|
115 |
+
$xpath=new DOMXPath($doc);
|
116 |
+
$query="//a[@class='user-name']";$data=$xpath->query($query);
|
117 |
+
foreach ($data as $node) $users[$node->getAttribute('href')]=$node->nodeValue;
|
118 |
+
if (!empty($users))
|
119 |
+
foreach($users as $profileLink=>$name)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
{
|
121 |
+
$res=$this->get('https://www.xing.com'.$profileLink,true);
|
122 |
+
$mails=$this->getElementDOM($res,"//a[@class='url']");
|
123 |
+
if (!empty($mails[0])) $contacts[$mails[0]]=array('email_1'=>$mails[0],'first_name'=>$name);
|
124 |
+
}
|
125 |
+
foreach ($contacts as $email=>$name) if (!$this->isEmail($email)) unset($contacts[$email]);
|
126 |
+
return $this->returnContacts($contacts);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
}
|
128 |
+
|
129 |
/**
|
130 |
* Terminate session
|
131 |
*
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/yahoo.plg.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Yahoo!',
|
4 |
-
'version'=>'1.5.
|
5 |
'description'=>"Get the contacts from a Yahoo! account",
|
6 |
'base_version'=>'1.8.0',
|
7 |
'type'=>'email',
|
@@ -24,7 +24,7 @@ class yahoo extends openinviter_base
|
|
24 |
public $showContacts=true;
|
25 |
protected $timeout=30;
|
26 |
public $debug_array=array(
|
27 |
-
'initial_get'=>'
|
28 |
'login_post'=>'window.location.replace',
|
29 |
'print_page'=>'field[allc]',
|
30 |
'contacts_file'=>'"'
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Yahoo!',
|
4 |
+
'version'=>'1.5.4',
|
5 |
'description'=>"Get the contacts from a Yahoo! account",
|
6 |
'base_version'=>'1.8.0',
|
7 |
'type'=>'email',
|
24 |
public $showContacts=true;
|
25 |
protected $timeout=30;
|
26 |
public $debug_array=array(
|
27 |
+
'initial_get'=>'util.Event.addListener',
|
28 |
'login_post'=>'window.location.replace',
|
29 |
'print_page'=>'field[allc]',
|
30 |
'contacts_file'=>'"'
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/plugins/yandex.plg.php
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Yandex',
|
4 |
-
'version'=>'1.1.
|
5 |
'description'=>"Get the contacts from a Yandex account",
|
6 |
-
'base_version'=>'1.
|
7 |
'type'=>'email',
|
8 |
'check_url'=>'http://yandex.ru',
|
9 |
-
'requirement'=>'
|
10 |
-
'allowed_domains'=>
|
11 |
-
'imported_details'=>array('first_name','email_1'),
|
12 |
);
|
13 |
/**
|
14 |
* Yandex Plugin
|
@@ -25,9 +25,8 @@ class yandex extends openinviter_base
|
|
25 |
public $showContacts=true;
|
26 |
protected $timeout=30;
|
27 |
public $debug_array=array(
|
28 |
-
'
|
29 |
-
'
|
30 |
-
'url_contacts'=>'abook_person?ids'
|
31 |
);
|
32 |
|
33 |
/**
|
@@ -41,19 +40,26 @@ class yandex extends openinviter_base
|
|
41 |
* @return bool TRUE if the current user was authenticated successfully, FALSE otherwise.
|
42 |
*/
|
43 |
public function login($user, $pass)
|
44 |
-
|
45 |
$this->resetDebugger();
|
46 |
$this->service='yandex';
|
47 |
$this->service_user=$user;
|
48 |
$this->service_password=$pass;
|
49 |
-
if (!$this->init()) return false;
|
50 |
-
$
|
51 |
-
$
|
52 |
-
$
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
return true;
|
58 |
}
|
59 |
|
@@ -74,31 +80,59 @@ class yandex extends openinviter_base
|
|
74 |
return false;
|
75 |
}
|
76 |
else $url = $this->login_ok;
|
77 |
-
$
|
78 |
-
|
79 |
-
|
|
|
|
|
|
|
80 |
else
|
81 |
{
|
82 |
-
$this->updateDebugBuffer('
|
83 |
$this->debugRequest();
|
84 |
$this->stopPlugin();
|
85 |
return false;
|
86 |
}
|
87 |
-
|
88 |
-
$
|
89 |
-
$doc=new DOMDocument();libxml_use_internal_errors(true);if (!empty($res)) $doc->loadHTML($res);libxml_use_internal_errors(false);
|
90 |
-
$xpath=new DOMXPath($doc);$query="//a";$data=$xpath->query($query);
|
91 |
-
foreach($data as $node)
|
92 |
{
|
93 |
-
if (
|
94 |
-
|
95 |
-
|
96 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
}
|
98 |
foreach ($contacts as $email=>$name) if (!$this->isEmail($email)) unset($contacts[$email]);
|
99 |
-
return $this->returnContacts($contacts);
|
100 |
-
|
101 |
-
}
|
102 |
|
103 |
/**
|
104 |
* Terminate session
|
@@ -112,7 +146,7 @@ class yandex extends openinviter_base
|
|
112 |
public function logout()
|
113 |
{
|
114 |
if (!$this->checkSession()) return false;
|
115 |
-
$res
|
116 |
$this->debugRequest();
|
117 |
$this->resetDebugger();
|
118 |
$this->stopPlugin();
|
1 |
<?php
|
2 |
$_pluginInfo=array(
|
3 |
'name'=>'Yandex',
|
4 |
+
'version'=>'1.1.2',
|
5 |
'description'=>"Get the contacts from a Yandex account",
|
6 |
+
'base_version'=>'1.8.0',
|
7 |
'type'=>'email',
|
8 |
'check_url'=>'http://yandex.ru',
|
9 |
+
'requirement'=>'user',
|
10 |
+
'allowed_domains'=>false,
|
11 |
+
'imported_details'=>array('first_name','middle_name','last_name','phone_home','email_1'),
|
12 |
);
|
13 |
/**
|
14 |
* Yandex Plugin
|
25 |
public $showContacts=true;
|
26 |
protected $timeout=30;
|
27 |
public $debug_array=array(
|
28 |
+
'login_post'=>'window.location.replace',
|
29 |
+
'contacts_file'=>'Name',
|
|
|
30 |
);
|
31 |
|
32 |
/**
|
40 |
* @return bool TRUE if the current user was authenticated successfully, FALSE otherwise.
|
41 |
*/
|
42 |
public function login($user, $pass)
|
43 |
+
{
|
44 |
$this->resetDebugger();
|
45 |
$this->service='yandex';
|
46 |
$this->service_user=$user;
|
47 |
$this->service_password=$pass;
|
48 |
+
if (!$this->init()) return false;
|
49 |
+
$form_action="https://passport.yandex.ru/passport?mode=auth&retpath=http://mail.yandex.ru";
|
50 |
+
$post_elements=array("login"=>$user,"passwd"=>$pass);
|
51 |
+
$res=$this->post($form_action, $post_elements,true);
|
52 |
+
if ($this->checkResponse("login_post",$res))
|
53 |
+
$this->updateDebugBuffer('login_post',"{$form_action}",'POST',true,$post_elements);
|
54 |
+
else
|
55 |
+
{
|
56 |
+
$this->updateDebugBuffer('login_post',"{$form_action}",'POST',false,$post_elements);
|
57 |
+
$this->debugRequest();
|
58 |
+
$this->stopPlugin();
|
59 |
+
return false;
|
60 |
+
}
|
61 |
+
$linkToAddressBook="http://mail.yandex.ru/neo/ajax/action_abook_export";
|
62 |
+
$this->login_ok=$linkToAddressBook;
|
63 |
return true;
|
64 |
}
|
65 |
|
80 |
return false;
|
81 |
}
|
82 |
else $url = $this->login_ok;
|
83 |
+
$contacts=array();
|
84 |
+
$post_elements=array("tp"=>1,"rus"=>0);
|
85 |
+
$res=$this->post($this->login_ok,$post_elements);
|
86 |
+
$temp=$this->parseCSV($res);
|
87 |
+
if ($this->checkResponse("contacts_file",$res))
|
88 |
+
$this->updateDebugBuffer('contacts_file',$this->login_ok,'POST',true,$post_elements);
|
89 |
else
|
90 |
{
|
91 |
+
$this->updateDebugBuffer('contacts_file',$this->login_ok,'POST',false,$post_elements);
|
92 |
$this->debugRequest();
|
93 |
$this->stopPlugin();
|
94 |
return false;
|
95 |
}
|
96 |
+
$contacts=array();
|
97 |
+
foreach ($temp as $values)
|
|
|
|
|
|
|
98 |
{
|
99 |
+
if (!empty($values[7]))
|
100 |
+
$contacts[$values[7]]=array('first_name'=>(!empty($values[0])?$values[0]:false),
|
101 |
+
'middle_name'=>(!empty($values[1])?$values[1]:false),
|
102 |
+
'last_name'=>(!empty($values[2])?$values[2]:false),
|
103 |
+
'nickname'=>false,
|
104 |
+
'email_1'=>(!empty($values[7])?$values[7]:false),
|
105 |
+
'email_2'=>false,
|
106 |
+
'email_3'=>false,
|
107 |
+
'organization'=>false,
|
108 |
+
'phone_mobile'=>(!empty($values[11])?$values[11]:false),
|
109 |
+
'phone_home'=>(!empty($values[9])?$values[9]:false),
|
110 |
+
'pager'=>false,
|
111 |
+
'address_home'=>false,
|
112 |
+
'address_city'=>(!empty($values[5])?$values[5]:false),
|
113 |
+
'address_state'=>(!empty($values[7])?$values[7]:false),
|
114 |
+
'address_country'=>(!empty($values[8])?$values[8]:false),
|
115 |
+
'postcode_home'=>(!empty($values[6])?$values[6]:false),
|
116 |
+
'company_work'=>(!empty($values[14])?$values[14]:false),
|
117 |
+
'address_work'=>false,
|
118 |
+
'address_work_city'=>(!empty($values[16])?$values[16]:false),
|
119 |
+
'address_work_country'=>(!empty($values[19])?$values[19]:false),
|
120 |
+
'address_work_state'=>(!empty($values[17])?$values[17]:false),
|
121 |
+
'address_work_postcode'=>(!empty($values[18])?$values[18]:false),
|
122 |
+
'fax_work'=>(!empty($values[21])?$values[21]:false),
|
123 |
+
'phone_work'=>(!empty($values[20])?$values[20]:false),
|
124 |
+
'website'=>(!empty($values[12])?$values[12]:false),
|
125 |
+
'isq_messenger'=>false,
|
126 |
+
'skype_essenger'=>false,
|
127 |
+
'yahoo_essenger'=>false,
|
128 |
+
'msn_messenger'=>false,
|
129 |
+
'aol_messenger'=>false,
|
130 |
+
'other_messenger'=>false,
|
131 |
+
);
|
132 |
}
|
133 |
foreach ($contacts as $email=>$name) if (!$this->isEmail($email)) unset($contacts[$email]);
|
134 |
+
return $this->returnContacts($contacts);
|
135 |
+
}
|
|
|
136 |
|
137 |
/**
|
138 |
* Terminate session
|
146 |
public function logout()
|
147 |
{
|
148 |
if (!$this->checkSession()) return false;
|
149 |
+
$res=$this->get(urldecode("http://passport.yandex.ru/passport?mode=logout"));
|
150 |
$this->debugRequest();
|
151 |
$this->resetDebugger();
|
152 |
$this->stopPlugin();
|
app/code/community/Auguria/Sponsorship/Model/Adminhtml/System/Config/Backend/Sponsorship/Openinviter.php
CHANGED
@@ -29,7 +29,7 @@ $openinviter_settings=array(
|
|
29 |
"stats"=>"",
|
30 |
"plugins_cache_time"=>"1800",
|
31 |
"plugins_cache_file"=>"oi_plugins.php",
|
32 |
-
"update_files"=>
|
33 |
"stats_user"=>"",
|
34 |
"stats_password"=>"");
|
35 |
?>';
|
29 |
"stats"=>"",
|
30 |
"plugins_cache_time"=>"1800",
|
31 |
"plugins_cache_file"=>"oi_plugins.php",
|
32 |
+
"update_files"=>true,
|
33 |
"stats_user"=>"",
|
34 |
"stats_password"=>"");
|
35 |
?>';
|
app/code/community/Auguria/Sponsorship/Model/Bookmarks.php
DELETED
@@ -1,21 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* @category Auguria
|
4 |
-
* @package Auguria_Sponsorship
|
5 |
-
* @author Auguria
|
6 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
7 |
-
*/
|
8 |
-
class Auguria_Sponsorship_Model_Bookmarks extends Magentix_SocialBookmarking_Model_Bookmarks
|
9 |
-
{
|
10 |
-
/* Return page URL */
|
11 |
-
private function getPUrl()
|
12 |
-
{
|
13 |
-
mage::log('rewrite ok');
|
14 |
-
$param = "";
|
15 |
-
if (Mage::getSingleton('customer/session')->getCustomerId())
|
16 |
-
$param = '?sponsor_id='.Mage::getSingleton('customer/session')->getCustomerId();
|
17 |
-
|
18 |
-
$id = Mage::getSingleton('customer/session')->getCustomerId();
|
19 |
-
return preg_replace(array('/\?___SID=U/'),array(''),Mage::helper('core/url')->getCurrentUrl().$param);
|
20 |
-
}
|
21 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Auguria/Sponsorship/Model/Observer.php
CHANGED
@@ -10,7 +10,6 @@ class Auguria_Sponsorship_Model_Observer
|
|
10 |
public function calcPoints($observer)
|
11 |
{
|
12 |
try {
|
13 |
-
mage::log("début debug-----------------------------------------------------------------------");
|
14 |
//récupération de la commande et des articles
|
15 |
$order = $observer->getInvoice()->getOrder();
|
16 |
$orderDate = $order->getUpdatedAt();
|
@@ -25,11 +24,11 @@ class Auguria_Sponsorship_Model_Observer
|
|
25 |
//definition du groupe du client
|
26 |
$gId = Mage::getModel('customer/customer')->load($cId)->getGroupId();
|
27 |
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
//variable de points
|
34 |
$tCatalogFidelityPoints=0;
|
35 |
$tCatalogSponsorPoints=0;
|
@@ -51,7 +50,6 @@ class Auguria_Sponsorship_Model_Observer
|
|
51 |
|
52 |
if ($moduleFidelity)
|
53 |
{
|
54 |
-
mage::log("module fidélité ok");
|
55 |
if ($item->getData('price') > 0) //vérification pour bundle : ne pas ajouter des points si le prix de l'article est 0 : idéalement, il faudrait revoir les règles de prix pour les articles packagés
|
56 |
{
|
57 |
//récupération et affectation des points catalog pour chaque article commandé
|
@@ -60,7 +58,7 @@ class Auguria_Sponsorship_Model_Observer
|
|
60 |
$catalogFidelityPoints = $catalogFidelityPoints*$qte;
|
61 |
|
62 |
//ajout des points aux items de commande
|
63 |
-
|
64 |
|
65 |
//calcul du total de points catalogue
|
66 |
$tCatalogFidelityPoints = $tCatalogFidelityPoints+$catalogFidelityPoints;
|
@@ -72,7 +70,6 @@ class Auguria_Sponsorship_Model_Observer
|
|
72 |
|
73 |
if ($moduleSponsor && $special_rate==null)
|
74 |
{
|
75 |
-
mage::log("module parrainage ok sans taux spé");
|
76 |
if ($item->getData('price') > 0) //vérification pour bundle : ne pas ajouter des points si le prix de l'article est 0 : idéalement, il faudrait revoir les règles de prix pour les articles packagés
|
77 |
{
|
78 |
//récupération et affectation des points catalog pour chaque article commandé
|
@@ -82,7 +79,7 @@ class Auguria_Sponsorship_Model_Observer
|
|
82 |
$catalogSponsorPoints = $catalogSponsorPoints*$qte;
|
83 |
|
84 |
//ajout des points aux items de commande
|
85 |
-
|
86 |
//calcul du total de points catalogue
|
87 |
$tCatalogSponsorPoints = $tCatalogSponsorPoints+$catalogSponsorPoints;
|
88 |
}
|
@@ -93,7 +90,6 @@ class Auguria_Sponsorship_Model_Observer
|
|
93 |
//si un taux spécial est défini pour le parrain direct
|
94 |
elseif ($moduleSponsor && $special_rate!=null)
|
95 |
{
|
96 |
-
mage::log("module parrainage ok avec taux spé");
|
97 |
//Redéfinition du taux à appliquer dans la commande
|
98 |
if ($item->getData('price') > 0) //vérification pour bundle : ne pas ajouter des points si le prix de l'article est 0 : idéalement, il faudrait revoir les règles de prix pour les articles packagés
|
99 |
{
|
@@ -127,9 +123,6 @@ class Auguria_Sponsorship_Model_Observer
|
|
127 |
elseif ($special_rate!=null && $moduleSponsor) {
|
128 |
$this->addSponsorSpecialPoints($cId,$orderDate,$orderId,$order->subtotal, $special_rate);
|
129 |
}
|
130 |
-
|
131 |
-
|
132 |
-
mage::log("fin debug-----------------------------------------------------------------------");
|
133 |
return $this;
|
134 |
}
|
135 |
catch (Exception $e) {
|
10 |
public function calcPoints($observer)
|
11 |
{
|
12 |
try {
|
|
|
13 |
//récupération de la commande et des articles
|
14 |
$order = $observer->getInvoice()->getOrder();
|
15 |
$orderDate = $order->getUpdatedAt();
|
24 |
//definition du groupe du client
|
25 |
$gId = Mage::getModel('customer/customer')->load($cId)->getGroupId();
|
26 |
|
27 |
+
//definition du sponsor de premier niveau
|
28 |
+
$sponsorId = $this->getSponsorId($cId);
|
29 |
+
$sponsor = Mage::getModel('customer/customer')->load($sponsorId);
|
30 |
+
$special_rate = $sponsor->getData('special_rate');
|
31 |
+
|
32 |
//variable de points
|
33 |
$tCatalogFidelityPoints=0;
|
34 |
$tCatalogSponsorPoints=0;
|
50 |
|
51 |
if ($moduleFidelity)
|
52 |
{
|
|
|
53 |
if ($item->getData('price') > 0) //vérification pour bundle : ne pas ajouter des points si le prix de l'article est 0 : idéalement, il faudrait revoir les règles de prix pour les articles packagés
|
54 |
{
|
55 |
//récupération et affectation des points catalog pour chaque article commandé
|
58 |
$catalogFidelityPoints = $catalogFidelityPoints*$qte;
|
59 |
|
60 |
//ajout des points aux items de commande
|
61 |
+
$data['catalog_fidelity_points'] = $catalogFidelityPoints;
|
62 |
|
63 |
//calcul du total de points catalogue
|
64 |
$tCatalogFidelityPoints = $tCatalogFidelityPoints+$catalogFidelityPoints;
|
70 |
|
71 |
if ($moduleSponsor && $special_rate==null)
|
72 |
{
|
|
|
73 |
if ($item->getData('price') > 0) //vérification pour bundle : ne pas ajouter des points si le prix de l'article est 0 : idéalement, il faudrait revoir les règles de prix pour les articles packagés
|
74 |
{
|
75 |
//récupération et affectation des points catalog pour chaque article commandé
|
79 |
$catalogSponsorPoints = $catalogSponsorPoints*$qte;
|
80 |
|
81 |
//ajout des points aux items de commande
|
82 |
+
$data['catalog_sponsor_points'] = $catalogSponsorPoints;
|
83 |
//calcul du total de points catalogue
|
84 |
$tCatalogSponsorPoints = $tCatalogSponsorPoints+$catalogSponsorPoints;
|
85 |
}
|
90 |
//si un taux spécial est défini pour le parrain direct
|
91 |
elseif ($moduleSponsor && $special_rate!=null)
|
92 |
{
|
|
|
93 |
//Redéfinition du taux à appliquer dans la commande
|
94 |
if ($item->getData('price') > 0) //vérification pour bundle : ne pas ajouter des points si le prix de l'article est 0 : idéalement, il faudrait revoir les règles de prix pour les articles packagés
|
95 |
{
|
123 |
elseif ($special_rate!=null && $moduleSponsor) {
|
124 |
$this->addSponsorSpecialPoints($cId,$orderDate,$orderId,$order->subtotal, $special_rate);
|
125 |
}
|
|
|
|
|
|
|
126 |
return $this;
|
127 |
}
|
128 |
catch (Exception $e) {
|
app/code/community/Auguria/Sponsorship/Model/Openinviter.php
CHANGED
@@ -55,6 +55,8 @@ class Auguria_Sponsorship_Model_Openinviter
|
|
55 |
$plugins = $this->getOpenIniviterPlugins();
|
56 |
$array = Array();
|
57 |
if (count($plugins))
|
|
|
|
|
58 |
foreach ($plugins as $type)
|
59 |
{
|
60 |
if (count($type))
|
@@ -66,6 +68,17 @@ class Auguria_Sponsorship_Model_Openinviter
|
|
66 |
$array[] = array('value'=>$code, 'label'=>Mage::helper('sponsorship')->__($name));
|
67 |
}
|
68 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
return $array;
|
70 |
}
|
71 |
}
|
55 |
$plugins = $this->getOpenIniviterPlugins();
|
56 |
$array = Array();
|
57 |
if (count($plugins))
|
58 |
+
{
|
59 |
+
/* With social networks
|
60 |
foreach ($plugins as $type)
|
61 |
{
|
62 |
if (count($type))
|
68 |
$array[] = array('value'=>$code, 'label'=>Mage::helper('sponsorship')->__($name));
|
69 |
}
|
70 |
}
|
71 |
+
*/
|
72 |
+
//Without social networks
|
73 |
+
if (isset($plugins['email']))
|
74 |
+
foreach ($plugins['email'] as $code=>$plugin)
|
75 |
+
{
|
76 |
+
$name = $code;
|
77 |
+
if (isset($plugin['name']))
|
78 |
+
$name = $plugin['name'];
|
79 |
+
$array[] = array('value'=>$code, 'label'=>Mage::helper('sponsorship')->__($name));
|
80 |
+
}
|
81 |
+
}
|
82 |
return $array;
|
83 |
}
|
84 |
}
|
app/code/community/Auguria/Sponsorship/Model/SocialBookmarking/Bookmarks.php
DELETED
@@ -1,61 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* @category Auguria
|
4 |
-
* @package Auguria_Sponsorship
|
5 |
-
* @author Auguria
|
6 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
7 |
-
*/
|
8 |
-
class Auguria_Sponsorship_Model_SocialBookmarking_Bookmarks extends Magentix_SocialBookmarking_Model_Bookmarks
|
9 |
-
{
|
10 |
-
public function _construct() {
|
11 |
-
Mage_Core_Model_Abstract::_construct();
|
12 |
-
$this->_init('socialbookmarking/bookmarks');
|
13 |
-
}
|
14 |
-
|
15 |
-
/* Return array with page informations : URL, bit.ly URL and Meta title */
|
16 |
-
public function getPageInfos() {
|
17 |
-
return array('url'=>$this->getPUrl(),'bitly'=>$this->getPBitly(),'title'=>$this->getPTitle());
|
18 |
-
}
|
19 |
-
|
20 |
-
/* Return page URL */
|
21 |
-
private function getPUrl()
|
22 |
-
{
|
23 |
-
$param = "";
|
24 |
-
if (Mage::getSingleton('customer/session')->getCustomerId())
|
25 |
-
$param = 'sponsor_id/'.Mage::getSingleton('customer/session')->getCustomerId().'/';
|
26 |
-
|
27 |
-
$id = Mage::getSingleton('customer/session')->getCustomerId();
|
28 |
-
return preg_replace(array('/\?___SID=U/'),array(''),Mage::getUrl('*/*/*', array('_current' => true, '_use_rewrite' => false)).$param);
|
29 |
-
}
|
30 |
-
|
31 |
-
/* Return page bit.ly URL */
|
32 |
-
private function getPBitly() {
|
33 |
-
|
34 |
-
$urls = Mage::getModel('socialbookmarking/urls')->getCollection()->addFieldToFilter('url',$this->getPUrl());
|
35 |
-
if(count($urls)) {
|
36 |
-
foreach($urls as $u) return $u->getBitly();
|
37 |
-
} else {
|
38 |
-
$config = Mage::getStoreConfig('socialbookmarking/bitly');
|
39 |
-
|
40 |
-
foreach($config as $c => $i) if(empty($i)) return $this->getPUrl();
|
41 |
-
|
42 |
-
$bitly = 'http://api.bit.ly/shorten?version='.$config['version'].'&longUrl='.urlencode($this->getPUrl()).'&login='.$config['login'].'&apiKey='.$config['key'];
|
43 |
-
if($response = @file_get_contents($bitly)) {
|
44 |
-
$json = json_decode($response,true);
|
45 |
-
if(isset($json['results']) && isset($json['results'][$this->getPUrl()]['shortUrl'])) {
|
46 |
-
|
47 |
-
$model = Mage::getModel('socialbookmarking/urls');
|
48 |
-
$model->setData('url',$this->getPUrl());
|
49 |
-
$model->setData('bitly',$json['results'][$this->getPUrl()]['shortUrl']);
|
50 |
-
$model->save();
|
51 |
-
|
52 |
-
return $json['results'][$this->getPUrl()]['shortUrl'];
|
53 |
-
} else {
|
54 |
-
return $this->getPUrl();
|
55 |
-
}
|
56 |
-
} else {
|
57 |
-
return $this->getPUrl();
|
58 |
-
}
|
59 |
-
}
|
60 |
-
}
|
61 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Auguria/Sponsorship/Model/SocialBookmarking/Urls.php
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @category Auguria
|
4 |
+
* @package Auguria_Sponsorship
|
5 |
+
* @author Auguria
|
6 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
7 |
+
*/
|
8 |
+
class Auguria_Sponsorship_Model_SocialBookmarking_Urls extends Magentix_SocialBookmarking_Model_Urls
|
9 |
+
{
|
10 |
+
public function getCurrentUrl()
|
11 |
+
{
|
12 |
+
$param = "";
|
13 |
+
if (Mage::getSingleton('customer/session')->getCustomerId())
|
14 |
+
{
|
15 |
+
$param = 'sponsor_id/'.Mage::getSingleton('customer/session')->getCustomerId().'/';
|
16 |
+
return Mage::getUrl('*/*/*', array('_current' => true, '_use_rewrite' => false)).$param;
|
17 |
+
}
|
18 |
+
else
|
19 |
+
{
|
20 |
+
return preg_replace('/\?___SID=U/','',Mage::helper('core/url')->getCurrentUrl());
|
21 |
+
}
|
22 |
+
}
|
23 |
+
}
|
app/code/community/Auguria/Sponsorship/controllers/FidelitypointsController.php
CHANGED
@@ -209,16 +209,17 @@ class Auguria_Sponsorship_FidelitypointsController extends Mage_Core_Controller_
|
|
209 |
"description" => $description,
|
210 |
"from_date" => $date,
|
211 |
"coupon_code" => $couponCode,
|
|
|
212 |
"uses_per_coupon" => 1,
|
213 |
//"uses_per_customer" => 1,
|
214 |
"customer_group_ids" => Array(0 => $customerGroupId),//get customer group
|
215 |
"is_active" => 1,
|
216 |
-
"conditions_serialized" => 'a:
|
217 |
"actions_serialized" => 'a:6:{s:4:"type";s:40:"salesrule/rule_condition_product_combine";s:9:"attribute";N;s:8:"operator";N;s:5:"value";s:1:"1";s:18:"is_value_processed";N;s:10:"aggregator";s:3:"all";}',
|
218 |
"stop_rules_processing" => 0,
|
219 |
"is_advanced" => 1,
|
220 |
"sort_order" => 0,
|
221 |
-
"simple_action" => "
|
222 |
"discount_amount" => $discountAmount,
|
223 |
"discount_qty" => 1.0000,
|
224 |
"discount_step" => 0,
|
209 |
"description" => $description,
|
210 |
"from_date" => $date,
|
211 |
"coupon_code" => $couponCode,
|
212 |
+
"coupon_type" => 2,
|
213 |
"uses_per_coupon" => 1,
|
214 |
//"uses_per_customer" => 1,
|
215 |
"customer_group_ids" => Array(0 => $customerGroupId),//get customer group
|
216 |
"is_active" => 1,
|
217 |
+
"conditions_serialized" => 'a:6:{s:4:"type";s:32:"salesrule/rule_condition_combine";s:9:"attribute";N;s:8:"operator";N;s:5:"value";s:1:"1";s:18:"is_value_processed";N;s:10:"aggregator";s:3:"all";}',
|
218 |
"actions_serialized" => 'a:6:{s:4:"type";s:40:"salesrule/rule_condition_product_combine";s:9:"attribute";N;s:8:"operator";N;s:5:"value";s:1:"1";s:18:"is_value_processed";N;s:10:"aggregator";s:3:"all";}',
|
219 |
"stop_rules_processing" => 0,
|
220 |
"is_advanced" => 1,
|
221 |
"sort_order" => 0,
|
222 |
+
"simple_action" => "cart_fixed",
|
223 |
"discount_amount" => $discountAmount,
|
224 |
"discount_qty" => 1.0000,
|
225 |
"discount_step" => 0,
|
app/code/community/Auguria/Sponsorship/controllers/OpeninviterController.php
CHANGED
@@ -33,7 +33,7 @@ class Auguria_Sponsorship_OpeninviterController extends Mage_Core_Controller_Fro
|
|
33 |
$inviter = Mage::getModel('sponsorship/openinviter');
|
34 |
$session = Mage::getSingleton('customer/session');
|
35 |
$old_form = Mage::getSingleton('customer/session')->getData('openinviter_form');
|
36 |
-
|
37 |
if (!isset($old_form))
|
38 |
$old_form = array();
|
39 |
|
33 |
$inviter = Mage::getModel('sponsorship/openinviter');
|
34 |
$session = Mage::getSingleton('customer/session');
|
35 |
$old_form = Mage::getSingleton('customer/session')->getData('openinviter_form');
|
36 |
+
|
37 |
if (!isset($old_form))
|
38 |
$old_form = array();
|
39 |
|
app/code/community/Auguria/Sponsorship/controllers/SponsorpointsController.php
CHANGED
@@ -209,16 +209,17 @@ class Auguria_Sponsorship_SponsorpointsController extends Mage_Core_Controller_F
|
|
209 |
"description" => $description,
|
210 |
"from_date" => $date,
|
211 |
"coupon_code" => $couponCode,
|
|
|
212 |
"uses_per_coupon" => 1,
|
213 |
//"uses_per_customer" => 1,
|
214 |
"customer_group_ids" => Array(0 => $customerGroupId),//get customer group
|
215 |
"is_active" => 1,
|
216 |
-
"conditions_serialized" => 'a:
|
217 |
"actions_serialized" => 'a:6:{s:4:"type";s:40:"salesrule/rule_condition_product_combine";s:9:"attribute";N;s:8:"operator";N;s:5:"value";s:1:"1";s:18:"is_value_processed";N;s:10:"aggregator";s:3:"all";}',
|
218 |
"stop_rules_processing" => 0,
|
219 |
"is_advanced" => 1,
|
220 |
"sort_order" => 0,
|
221 |
-
"simple_action" => "
|
222 |
"discount_amount" => $discountAmount,
|
223 |
"discount_qty" => 1.0000,
|
224 |
"discount_step" => 0,
|
209 |
"description" => $description,
|
210 |
"from_date" => $date,
|
211 |
"coupon_code" => $couponCode,
|
212 |
+
"coupon_type" => 2,
|
213 |
"uses_per_coupon" => 1,
|
214 |
//"uses_per_customer" => 1,
|
215 |
"customer_group_ids" => Array(0 => $customerGroupId),//get customer group
|
216 |
"is_active" => 1,
|
217 |
+
"conditions_serialized" => 'a:6:{s:4:"type";s:32:"salesrule/rule_condition_combine";s:9:"attribute";N;s:8:"operator";N;s:5:"value";s:1:"1";s:18:"is_value_processed";N;s:10:"aggregator";s:3:"all";}',
|
218 |
"actions_serialized" => 'a:6:{s:4:"type";s:40:"salesrule/rule_condition_product_combine";s:9:"attribute";N;s:8:"operator";N;s:5:"value";s:1:"1";s:18:"is_value_processed";N;s:10:"aggregator";s:3:"all";}',
|
219 |
"stop_rules_processing" => 0,
|
220 |
"is_advanced" => 1,
|
221 |
"sort_order" => 0,
|
222 |
+
"simple_action" => "cart_fixed",
|
223 |
"discount_amount" => $discountAmount,
|
224 |
"discount_qty" => 1.0000,
|
225 |
"discount_step" => 0,
|
app/code/community/Auguria/Sponsorship/etc/config.xml
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Auguria_Sponsorship>
|
13 |
-
<version>1.0.
|
14 |
</Auguria_Sponsorship>
|
15 |
</modules>
|
16 |
<frontend>
|
@@ -252,7 +252,7 @@
|
|
252 |
<!-- rewrite socialbookmarking url -->
|
253 |
<socialbookmarking>
|
254 |
<rewrite>
|
255 |
-
<
|
256 |
</rewrite>
|
257 |
</socialbookmarking>
|
258 |
</models>
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Auguria_Sponsorship>
|
13 |
+
<version>1.0.5</version>
|
14 |
</Auguria_Sponsorship>
|
15 |
</modules>
|
16 |
<frontend>
|
252 |
<!-- rewrite socialbookmarking url -->
|
253 |
<socialbookmarking>
|
254 |
<rewrite>
|
255 |
+
<urls>Auguria_Sponsorship_Model_SocialBookmarking_Urls</urls>
|
256 |
</rewrite>
|
257 |
</socialbookmarking>
|
258 |
</models>
|
app/design/frontend/default/default/template/sponsorship/customer/account/dashboard.phtml
CHANGED
@@ -16,38 +16,20 @@
|
|
16 |
<div class="box-account box-info">
|
17 |
<div class="box-head">
|
18 |
<h2><?php echo $this->__('Account Information') ?></h2>
|
19 |
-
</div>
|
20 |
<?php echo $this->getChildHtml('info') ?>
|
21 |
<?php echo $this->getChildHtml('address') ?>
|
22 |
</div>
|
23 |
<?php
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
echo $this->getChildHtml('sponsor_points');
|
34 |
-
?>
|
35 |
-
</div>
|
36 |
-
<?php
|
37 |
-
endif;
|
38 |
-
if ($fidelityEnabled):?>
|
39 |
-
<div class="box-account box-info">
|
40 |
-
<div class="box-head">
|
41 |
-
<h2><?php echo $this->__('Fidelity'); ?></h2>
|
42 |
-
<a href="<?php echo $this->getUrl('sponsorship/fidelitypoints') ?>"><?php echo $this->__('Details')?></a>
|
43 |
-
</div>
|
44 |
-
<?php
|
45 |
-
echo $this->getChildHtml('fidelity_points');
|
46 |
-
?>
|
47 |
-
</div>
|
48 |
-
<?php
|
49 |
-
endif;
|
50 |
-
?>
|
51 |
<?php echo $this->getChildHtml('info1') ?>
|
52 |
<?php echo $this->getChildHtml('info2') ?>
|
53 |
</div>
|
16 |
<div class="box-account box-info">
|
17 |
<div class="box-head">
|
18 |
<h2><?php echo $this->__('Account Information') ?></h2>
|
19 |
+
</div>
|
20 |
<?php echo $this->getChildHtml('info') ?>
|
21 |
<?php echo $this->getChildHtml('address') ?>
|
22 |
</div>
|
23 |
<?php
|
24 |
+
/**
|
25 |
+
* Start custom for Auguria_Sponsorship
|
26 |
+
*/
|
27 |
+
echo $this->getChildHtml('sponsor_points');
|
28 |
+
echo $this->getChildHtml('fidelity_points');
|
29 |
+
/**
|
30 |
+
* End custom for Auguria_Sponsorship
|
31 |
+
*/
|
32 |
+
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
<?php echo $this->getChildHtml('info1') ?>
|
34 |
<?php echo $this->getChildHtml('info2') ?>
|
35 |
</div>
|
app/design/frontend/default/default/template/sponsorship/customer/account/dashboard/fidelity_points.phtml
CHANGED
@@ -6,12 +6,18 @@
|
|
6 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
7 |
*/
|
8 |
-->
|
9 |
-
<?php
|
10 |
-
$customerId = $this->getUserId();
|
11 |
-
$customer = Mage::getModel('customer/customer')->load($customerId);
|
12 |
-
|
13 |
-
?>
|
14 |
<?php if (Mage::getStoreConfig('sponsorship/fidelity/fidelity_enabled')):?>
|
15 |
-
|
16 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
<?php endif;?>
|
6 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
7 |
*/
|
8 |
-->
|
|
|
|
|
|
|
|
|
|
|
9 |
<?php if (Mage::getStoreConfig('sponsorship/fidelity/fidelity_enabled')):?>
|
10 |
+
<div class="box-account box-fidelity">
|
11 |
+
<div class="box-head">
|
12 |
+
<h2><?php echo $this->__('Fidelity'); ?></h2>
|
13 |
+
<a href="<?php echo $this->getUrl('sponsorship/fidelitypoints') ?>"><?php echo $this->__('Details')?></a>
|
14 |
+
</div>
|
15 |
+
<?php
|
16 |
+
$customerId = $this->getUserId();
|
17 |
+
$customer = Mage::getModel('customer/customer')->load($customerId);
|
18 |
+
?>
|
19 |
+
<div class="col1-set">
|
20 |
+
<?php echo $this->__('Fidelity points:') ?> <?php echo floor($customer->getFidelityPoints()); ?>
|
21 |
+
</div>
|
22 |
+
</div>
|
23 |
<?php endif;?>
|
app/design/frontend/default/default/template/sponsorship/customer/account/dashboard/sponsor_points.phtml
CHANGED
@@ -6,18 +6,26 @@
|
|
6 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
7 |
*/
|
8 |
-->
|
9 |
-
<?php
|
|
|
10 |
$customerId = $this->getUserId();
|
11 |
$customer = Mage::getModel('customer/customer')->load($customerId);
|
12 |
$nbSponsor = $this->getNbParrainages ($customerId);
|
13 |
?>
|
14 |
-
|
15 |
-
|
16 |
-
<
|
17 |
-
<?php echo $this->
|
18 |
-
|
19 |
-
<
|
20 |
-
|
21 |
-
<
|
22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
<?php endif;?>
|
6 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
7 |
*/
|
8 |
-->
|
9 |
+
<?php
|
10 |
+
if (Mage::getStoreConfig('sponsorship/sponsor/sponsor_enabled')):
|
11 |
$customerId = $this->getUserId();
|
12 |
$customer = Mage::getModel('customer/customer')->load($customerId);
|
13 |
$nbSponsor = $this->getNbParrainages ($customerId);
|
14 |
?>
|
15 |
+
<div class="box-account box-sponsorship">
|
16 |
+
<div class="box-head">
|
17 |
+
<h2><?php echo $this->__('Sponsorship'); ?></h2>
|
18 |
+
<a href="<?php echo $this->getUrl('sponsorship/sponsorpoints') ?>"><?php echo $this->__('Details')?></a>
|
19 |
+
</div>
|
20 |
+
<div class="col1-set">
|
21 |
+
<?php echo $this->__('Sponsorship points:') ?> <?php echo floor($customer->getSponsorPoints()); ?>
|
22 |
+
<br/>
|
23 |
+
<?php echo $this->__('Active godsons:') ?> <?php echo $nbSponsor; ?>
|
24 |
+
<br/>
|
25 |
+
<a href="<?php echo $this->getUrl('sponsorship_info') ?>"><?php echo $this->__('Principles of Sponsorship')?></a>
|
26 |
+
<br/>
|
27 |
+
<a href="<?php echo $this->getUrl('sponsorship') ?>"><?php echo $this->__('Sponsor friends')?></a>
|
28 |
+
<br/>
|
29 |
+
</div>
|
30 |
+
</div>
|
31 |
<?php endif;?>
|
app/design/frontend/default/default/template/sponsorship/customer/account/fidelitypointsdetail.phtml
CHANGED
@@ -52,7 +52,7 @@ lastOrders = new Array(
|
|
52 |
echo $this->__('{"numero": "%s",',$_commande['increment_id']);
|
53 |
echo $this->__('"date": "%s",',$this->formatDate($_commande['created_at']));
|
54 |
echo $this->__('"montant": "%01.2f",',$_commande['grand_total']);
|
55 |
-
echo $this->__('"points": "%
|
56 |
if ($i != $nb)
|
57 |
{
|
58 |
echo ",
|
@@ -109,7 +109,12 @@ fidelityChange = new Array(
|
|
109 |
endforeach;
|
110 |
?>
|
111 |
);
|
|
|
|
|
|
|
112 |
new TableOrderer('fidelity-change-table',{data : fidelityChange, cols : fidelityChangeCols, filter:'bottom', paginate:'top', pageCount:5},<?php echo $this->__($msgs); ?>);
|
|
|
|
|
113 |
</script>
|
114 |
<?php endif; //fin de vérification qu'il y a eu des échanges fidélité ?>
|
115 |
<!--Liste des échanges réalisés-->
|
52 |
echo $this->__('{"numero": "%s",',$_commande['increment_id']);
|
53 |
echo $this->__('"date": "%s",',$this->formatDate($_commande['created_at']));
|
54 |
echo $this->__('"montant": "%01.2f",',$_commande['grand_total']);
|
55 |
+
echo $this->__('"points": "%01.4f"}',$this->getOrderFidelityPoints($_commande['entity_id']));
|
56 |
if ($i != $nb)
|
57 |
{
|
58 |
echo ",
|
109 |
endforeach;
|
110 |
?>
|
111 |
);
|
112 |
+
<?php if ($this->isIe8() == true): ?>
|
113 |
+
new TableOrderer('fidelity-change-table',{data : fidelityChange, cols : fidelityChangeCols},<?php echo $this->__($msgs); ?>);
|
114 |
+
<?php else: ?>
|
115 |
new TableOrderer('fidelity-change-table',{data : fidelityChange, cols : fidelityChangeCols, filter:'bottom', paginate:'top', pageCount:5},<?php echo $this->__($msgs); ?>);
|
116 |
+
<?php endif; ?>
|
117 |
+
|
118 |
</script>
|
119 |
<?php endif; //fin de vérification qu'il y a eu des échanges fidélité ?>
|
120 |
<!--Liste des échanges réalisés-->
|
app/design/frontend/default/default/template/sponsorship/customer/account/sponsorpointsdetail.phtml
CHANGED
@@ -79,7 +79,12 @@ invits = new Array(
|
|
79 |
endforeach;
|
80 |
?>
|
81 |
);
|
|
|
|
|
|
|
82 |
invitsTable = new TableOrderer('invit-table',{data : invits, cols : invitsCols, filter:'bottom', paginate:'top', pageCount:5, unsortedColumn:['relance']},<?php echo $this->__($msgs); ?>);
|
|
|
|
|
83 |
//]]>
|
84 |
</script>
|
85 |
<?php else : ?>
|
@@ -124,7 +129,7 @@ sponsorships = new Array(
|
|
124 |
echo $this->__('{"nom": "%s",',$_parrainage['name']);
|
125 |
echo $this->__('"sponsorship_date": "%s",',$this->formatDate($_parrainage['created_at']));
|
126 |
echo $this->__('"last_order_date": "%s",',$dateFDC);
|
127 |
-
echo $this->__('"points": "
|
128 |
echo $this->__('"sponsorship_count":"%s"}',$this->getNbParrainages ($_parrainage['entity_id']));
|
129 |
if ($i != $nb)
|
130 |
{
|
@@ -135,8 +140,11 @@ sponsorships = new Array(
|
|
135 |
endforeach;
|
136 |
?>
|
137 |
);
|
138 |
-
|
139 |
-
|
|
|
|
|
|
|
140 |
</script>
|
141 |
<br/>
|
142 |
<?php else: //si il n'a jamais parrainé déjà parrainé ?>
|
@@ -197,8 +205,11 @@ sponsorshipChanges = new Array(
|
|
197 |
endforeach;
|
198 |
?>
|
199 |
);
|
200 |
-
|
201 |
-
|
|
|
|
|
|
|
202 |
</script>
|
203 |
<?php endif; ?>
|
204 |
</div>
|
79 |
endforeach;
|
80 |
?>
|
81 |
);
|
82 |
+
<?php if ($this->isIe8() == true): ?>
|
83 |
+
invitsTable = new TableOrderer('invit-table',{data : invits, cols : invitsCols},<?php echo $this->__($msgs); ?>);
|
84 |
+
<?php else: ?>
|
85 |
invitsTable = new TableOrderer('invit-table',{data : invits, cols : invitsCols, filter:'bottom', paginate:'top', pageCount:5, unsortedColumn:['relance']},<?php echo $this->__($msgs); ?>);
|
86 |
+
<?php endif; ?>
|
87 |
+
|
88 |
//]]>
|
89 |
</script>
|
90 |
<?php else : ?>
|
129 |
echo $this->__('{"nom": "%s",',$_parrainage['name']);
|
130 |
echo $this->__('"sponsorship_date": "%s",',$this->formatDate($_parrainage['created_at']));
|
131 |
echo $this->__('"last_order_date": "%s",',$dateFDC);
|
132 |
+
echo $this->__('"points": "%.4f",',$this->getBranchPoints ($_parrainage['entity_id']));
|
133 |
echo $this->__('"sponsorship_count":"%s"}',$this->getNbParrainages ($_parrainage['entity_id']));
|
134 |
if ($i != $nb)
|
135 |
{
|
140 |
endforeach;
|
141 |
?>
|
142 |
);
|
143 |
+
<?php if ($this->isIe8() == true): ?>
|
144 |
+
sponsorshipsTable = new TableOrderer('sponsor-table',{data : sponsorships, cols : sponsorshipsCols},<?php echo $this->__($msgs); ?>);
|
145 |
+
<?php else: ?>
|
146 |
+
sponsorshipsTable = new TableOrderer('sponsor-table',{data : sponsorships, cols : sponsorshipsCols, filter:'bottom', paginate:'top', pageCount:5},<?php echo $this->__($msgs); ?>);
|
147 |
+
<?php endif; ?>
|
148 |
</script>
|
149 |
<br/>
|
150 |
<?php else: //si il n'a jamais parrainé déjà parrainé ?>
|
205 |
endforeach;
|
206 |
?>
|
207 |
);
|
208 |
+
<?php if ($this->isIe8() == true): ?>
|
209 |
+
new TableOrderer('sponsor-change-table',{data : sponsorshipChanges, cols : sponsorshipChangesCols},<?php echo $this->__($msgs); ?>);
|
210 |
+
<?php else: ?>
|
211 |
+
new TableOrderer('sponsor-change-table',{data : sponsorshipChanges, cols : sponsorshipChangesCols, filter:'bottom', paginate:'top', pageCount:5},<?php echo $this->__($msgs); ?>);
|
212 |
+
<?php endif; ?>
|
213 |
</script>
|
214 |
<?php endif; ?>
|
215 |
</div>
|
app/design/frontend/default/default/template/sponsorship/customer/form/boost.phtml
CHANGED
@@ -75,7 +75,7 @@
|
|
75 |
</div>
|
76 |
<div class="buttons-set">
|
77 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
78 |
-
<p class="back-link"><a href="<?php echo $this->getUrl('sponsorship/
|
79 |
<button class="button" type="submit"><span><?php echo $this->__('Send email') ?></span></button>
|
80 |
</div>
|
81 |
</form>
|
75 |
</div>
|
76 |
<div class="buttons-set">
|
77 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
78 |
+
<p class="back-link"><a href="<?php echo $this->getUrl('sponsorship/sponsorpoints') ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
79 |
<button class="button" type="submit"><span><?php echo $this->__('Send email') ?></span></button>
|
80 |
</div>
|
81 |
</form>
|
app/design/frontend/default/default/template/sponsorship/customer/form/edit.phtml
CHANGED
@@ -53,13 +53,22 @@
|
|
53 |
<?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
|
54 |
<?php if ($_gender->isEnabled()): ?>
|
55 |
<li><?php echo $_gender->setGender($this->getCustomer()->getGender())->toHtml() ?></li>
|
56 |
-
<?php endif ?>
|
57 |
<?php $_virement = $this->getLayout()->createBlock('sponsorship/customer_widget_virement') ?>
|
58 |
-
<?php
|
|
|
|
|
|
|
|
|
59 |
<li><?php echo $_virement->setIban($this->getCustomer()->getIban())
|
60 |
->setSiret($this->getCustomer()->getSiret())
|
61 |
->toHtml(); ?></li>
|
62 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
63 |
<li class="control">
|
64 |
<input type="checkbox" name="change_password" id="change_password" value="1" onclick="setPasswordForm(this.checked)" title="<?php echo $this->__('Change Password') ?>"<?php if($this->getCustomer()->getChangePassword()==1): ?> checked="checked"<?php endif; ?> class="checkbox" /><label for="change_password"><?php echo $this->__('Change Password') ?></label>
|
65 |
</li>
|
53 |
<?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
|
54 |
<?php if ($_gender->isEnabled()): ?>
|
55 |
<li><?php echo $_gender->setGender($this->getCustomer()->getGender())->toHtml() ?></li>
|
56 |
+
<?php endif ?>
|
57 |
<?php $_virement = $this->getLayout()->createBlock('sponsorship/customer_widget_virement') ?>
|
58 |
+
<?php
|
59 |
+
/**
|
60 |
+
* Start Auguria_Sponsorship custom to display IBAN & SIRET fields
|
61 |
+
*/
|
62 |
+
if ($_virement->isEnabled()): ?>
|
63 |
<li><?php echo $_virement->setIban($this->getCustomer()->getIban())
|
64 |
->setSiret($this->getCustomer()->getSiret())
|
65 |
->toHtml(); ?></li>
|
66 |
+
<?php
|
67 |
+
endif
|
68 |
+
/**
|
69 |
+
* End custom Auguria_Sponsorship custom
|
70 |
+
*/
|
71 |
+
?>
|
72 |
<li class="control">
|
73 |
<input type="checkbox" name="change_password" id="change_password" value="1" onclick="setPasswordForm(this.checked)" title="<?php echo $this->__('Change Password') ?>"<?php if($this->getCustomer()->getChangePassword()==1): ?> checked="checked"<?php endif; ?> class="checkbox" /><label for="change_password"><?php echo $this->__('Change Password') ?></label>
|
74 |
</li>
|
app/design/frontend/default/default/template/sponsorship/customer/form/pointschange/pointschange_cash.phtml
CHANGED
@@ -27,13 +27,13 @@
|
|
27 |
<li>
|
28 |
<div class="input-box">
|
29 |
<label for="points" class="required"><em>*</em><?php echo $this->__('Points to exchange:') ?></label><br/>
|
30 |
-
<input onChange="pointsToCash('points')" type="text" name="points" id="points" value="<?php echo $this->__('%d',$dPoints) ?>" title="<?php echo $this->__('Enter the points you want to convert.') ?>" class="required-entry input-text validate-
|
31 |
</div>
|
32 |
</li>
|
33 |
<li>
|
34 |
<div class="input-box">
|
35 |
<label for="cash" class="required"><em>*</em><?php echo $this->__('Cash :') ?></label><br/>
|
36 |
-
<input onChange="pointsToCash('cash')" type="text" name="cash" id="cash" value="" title="<?php echo $this->__('Enter the cash you want.') ?>" class="required-entry input-text validate-
|
37 |
</div>
|
38 |
</li>
|
39 |
</ul>
|
@@ -42,9 +42,23 @@
|
|
42 |
pointsToCash('points');
|
43 |
function pointsToCash(fieldId)
|
44 |
{
|
45 |
-
var points =
|
46 |
-
var cash =
|
47 |
var taux = <?php echo $PointsToCash ?>;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
if (fieldId == 'points')
|
49 |
{
|
50 |
var cashValue = points.value*taux;
|
@@ -58,8 +72,4 @@
|
|
58 |
cash.value = cashValue.toFixed(2);
|
59 |
}
|
60 |
}
|
61 |
-
|
62 |
-
function cashToPoint()
|
63 |
-
{
|
64 |
-
}
|
65 |
</script>
|
27 |
<li>
|
28 |
<div class="input-box">
|
29 |
<label for="points" class="required"><em>*</em><?php echo $this->__('Points to exchange:') ?></label><br/>
|
30 |
+
<input onChange="pointsToCash('points')" type="text" name="points" id="points" value="<?php echo $this->__('%d',$dPoints) ?>" title="<?php echo $this->__('Enter the points you want to convert.') ?>" class="required-entry input-text validate-number validate-greater-than-zero"/>
|
31 |
</div>
|
32 |
</li>
|
33 |
<li>
|
34 |
<div class="input-box">
|
35 |
<label for="cash" class="required"><em>*</em><?php echo $this->__('Cash :') ?></label><br/>
|
36 |
+
<input onChange="pointsToCash('cash')" type="text" name="cash" id="cash" value="" title="<?php echo $this->__('Enter the cash you want.') ?>" class="required-entry input-text validate-number validate-greater-than-zero"/>
|
37 |
</div>
|
38 |
</li>
|
39 |
</ul>
|
42 |
pointsToCash('points');
|
43 |
function pointsToCash(fieldId)
|
44 |
{
|
45 |
+
var points = $('points');
|
46 |
+
var cash = $('cash');
|
47 |
var taux = <?php echo $PointsToCash ?>;
|
48 |
+
|
49 |
+
if (!points.value.empty())
|
50 |
+
{
|
51 |
+
p = points.value.replace(",",".");
|
52 |
+
p = parseFloat(p);
|
53 |
+
points.value = p.toFixed(0);
|
54 |
+
}
|
55 |
+
if (!cash.value.empty())
|
56 |
+
{
|
57 |
+
c = cash.value.replace(",",".");
|
58 |
+
c = parseFloat(c);
|
59 |
+
cash.value = c.toFixed(2);
|
60 |
+
}
|
61 |
+
|
62 |
if (fieldId == 'points')
|
63 |
{
|
64 |
var cashValue = points.value*taux;
|
72 |
cash.value = cashValue.toFixed(2);
|
73 |
}
|
74 |
}
|
|
|
|
|
|
|
|
|
75 |
</script>
|
app/design/frontend/default/default/template/sponsorship/customer/form/pointschange/pointschange_coupon.phtml
CHANGED
@@ -24,13 +24,13 @@
|
|
24 |
<li>
|
25 |
<div class="input-box">
|
26 |
<label for="points" class="required"><em>*</em><?php echo $this->__('Points to exchange:') ?></label><br/>
|
27 |
-
<input onChange="pointsToCoupon('points')" type="text" name="points" id="points" value="<?php echo $this->__('%d',$dPoints) ?>" title="<?php echo $this->__('Enter the points you want to convert.') ?>" class="required-entry input-text validate-
|
28 |
</div>
|
29 |
</li>
|
30 |
<li>
|
31 |
<div class="input-box">
|
32 |
<label for="coupon" class="required"><em>*</em><?php echo $this->__('Vouchers:') ?></label><br/>
|
33 |
-
<input onChange="pointsToCoupon('coupon')" type="text" name="coupon" id="coupon" value="" title="<?php echo $this->__('Indiquez la valeur du bon de réduction que vous souhaitez obtenir.') ?>" class="required-entry input-text validate-
|
34 |
</div>
|
35 |
</li>
|
36 |
</ul>
|
@@ -39,21 +39,35 @@
|
|
39 |
pointsToCoupon('points');
|
40 |
function pointsToCoupon(fieldId)
|
41 |
{
|
42 |
-
var points =
|
43 |
-
var coupon =
|
44 |
var taux = <?php echo $PointsToCash ?>;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
if (fieldId == 'points')
|
46 |
{
|
47 |
var cashValue = points.value*taux;
|
48 |
-
|
49 |
}
|
50 |
else if (fieldId == 'coupon')
|
51 |
{
|
52 |
var pointsValue = coupon.value/taux;
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
}
|
57 |
}
|
58 |
-
|
59 |
</script>
|
24 |
<li>
|
25 |
<div class="input-box">
|
26 |
<label for="points" class="required"><em>*</em><?php echo $this->__('Points to exchange:') ?></label><br/>
|
27 |
+
<input onChange="pointsToCoupon('points')" type="text" name="points" id="points" value="<?php echo $this->__('%d',$dPoints) ?>" title="<?php echo $this->__('Enter the points you want to convert.') ?>" class="required-entry input-text validate-number validate-greater-than-zero"/>
|
28 |
</div>
|
29 |
</li>
|
30 |
<li>
|
31 |
<div class="input-box">
|
32 |
<label for="coupon" class="required"><em>*</em><?php echo $this->__('Vouchers:') ?></label><br/>
|
33 |
+
<input onChange="pointsToCoupon('coupon')" type="text" name="coupon" id="coupon" value="" title="<?php echo $this->__('Indiquez la valeur du bon de réduction que vous souhaitez obtenir.') ?>" class="required-entry input-text validate-number validate-greater-than-zero"/>
|
34 |
</div>
|
35 |
</li>
|
36 |
</ul>
|
39 |
pointsToCoupon('points');
|
40 |
function pointsToCoupon(fieldId)
|
41 |
{
|
42 |
+
var points = $('points');
|
43 |
+
var coupon = $('coupon');
|
44 |
var taux = <?php echo $PointsToCash ?>;
|
45 |
+
|
46 |
+
if (!points.value.empty())
|
47 |
+
{
|
48 |
+
p = points.value.replace(",",".");
|
49 |
+
p = parseFloat(p);
|
50 |
+
points.value = p.toFixed(0);
|
51 |
+
}
|
52 |
+
|
53 |
+
if (!coupon.value.empty())
|
54 |
+
{
|
55 |
+
c = coupon.value.replace(",",".");
|
56 |
+
c = parseFloat(c);
|
57 |
+
coupon.value = c.toFixed(2);
|
58 |
+
}
|
59 |
+
|
60 |
if (fieldId == 'points')
|
61 |
{
|
62 |
var cashValue = points.value*taux;
|
63 |
+
coupon.value = cashValue.toFixed(2);
|
64 |
}
|
65 |
else if (fieldId == 'coupon')
|
66 |
{
|
67 |
var pointsValue = coupon.value/taux;
|
68 |
+
points.value = pointsValue.round();
|
69 |
+
var couponValue = pointsValue.round()*taux;
|
70 |
+
coupon.value = couponValue.toFixed(2);
|
71 |
}
|
72 |
}
|
|
|
73 |
</script>
|
app/design/frontend/default/default/template/sponsorship/customer/form/register.phtml
CHANGED
@@ -36,25 +36,28 @@
|
|
36 |
* @see Mage_Customer_Block_Form_Register
|
37 |
*/
|
38 |
?>
|
39 |
-
<div class="
|
40 |
-
<
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
<
|
46 |
-
|
47 |
-
|
48 |
-
<
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
<
|
57 |
-
|
|
|
|
|
|
|
58 |
if ($this->htmlEscape($this->getFormData()->getEmail())=='')
|
59 |
{
|
60 |
echo $this->htmlEscape(Mage::getBlockSingleton('sponsorship/customer_widget_name')-> getInvit('email'));
|
@@ -63,112 +66,138 @@
|
|
63 |
{
|
64 |
echo $this->htmlEscape($this->getFormData()->getEmail());
|
65 |
}
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
<?php if($this->
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
<?php endif ?>
|
78 |
-
<?php $
|
79 |
-
<?php if ($
|
80 |
-
|
81 |
-
<?php endif ?>
|
82 |
-
<?php $
|
83 |
-
<?php if ($
|
84 |
-
|
85 |
-
<?php endif ?>
|
86 |
-
|
87 |
-
</fieldset>
|
88 |
-
<?php if($this->getShowAddressFields()): ?><br/>
|
89 |
-
<input type="hidden" name="create_address" value="1"/>
|
90 |
-
<fieldset class="group-select wide">
|
91 |
-
<div class="head-alt2">
|
92 |
-
<h4 class="title"><?php echo $this->__('Address Information') ?></h4>
|
93 |
-
</div>
|
94 |
-
<ul>
|
95 |
-
<li>
|
96 |
-
<div class="input-box">
|
97 |
-
<label for="company"><?php echo $this->__('Company') ?></label><br/>
|
98 |
-
<input type="text" name="company" id="company" value="<?php echo $this->htmlEscape($this->getFormData()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text"/>
|
99 |
-
</div>
|
100 |
-
<div class="input-box">
|
101 |
-
<label for="lastname"><?php echo $this->__('Telephone') ?> <span class="required">*</span></label><br/>
|
102 |
-
<input type="text" name="telephone" id="telephone" value="<?php echo $this->htmlEscape($this->getFormData()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="required-entry input-text"/>
|
103 |
-
</div>
|
104 |
-
</li>
|
105 |
-
<li>
|
106 |
-
<label for="street_1"><?php echo $this->__('Street Address') ?> <span class="required">*</span></label><br/>
|
107 |
-
<input type="text" name="street[]" value="<?php echo $this->htmlEscape($this->getFormData()->getStreet(1)) ?> " title="<?php echo $this->__('Street Address') ?>" id="street_1" class="required-entry input-text"/>
|
108 |
-
</li>
|
109 |
-
<?php for ($_i=2, $_n=$this->helper('customer/address')->getStreetLines(); $_i<=$_n; $_i++): ?>
|
110 |
-
<li>
|
111 |
-
<input type="text" name="street[]" value="<?php echo $this->htmlEscape($this->getFormData()->getStreet($_i)) ?> " title="<?php echo $this->__('Street Address '.$_i) ?>" id="street_<?php echo $_i?>" class="input-text"/>
|
112 |
-
</li>
|
113 |
-
<?php endfor ?>
|
114 |
-
<li>
|
115 |
-
<div class="input-box">
|
116 |
-
<label for="city"><?php echo $this->__('City') ?> <span class="required">*</span></label><br/>
|
117 |
-
<input type="text" name="city" value="<?php echo $this->htmlEscape($this->getFormData()->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="required-entry input-text" id="city"/>
|
118 |
-
</div>
|
119 |
-
<div class="input-box">
|
120 |
-
<label for="region_id"><?php echo $this->__('State/Province') ?> <span class="required">*</span></label><br/>
|
121 |
-
<select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none">
|
122 |
-
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
123 |
-
</select>
|
124 |
-
<script type="text/javascript">
|
125 |
-
$('region_id').setAttribute('defaultValue', "<?php echo $this->getFormData()->getRegionId() ?>");
|
126 |
-
</script>
|
127 |
-
<input type="text" id="region" name="region" value="<?php echo $this->htmlEscape($this->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text" style="display:none"/>
|
128 |
-
</div>
|
129 |
-
</li>
|
130 |
-
<li>
|
131 |
-
<div class="input-box">
|
132 |
-
<label for="zip"><?php echo $this->__('Zip/Postal Code') ?> <span class="required">*</span></label><br/>
|
133 |
-
<input type="text" name="postcode" value="<?php echo $this->htmlEscape($this->getFormData()->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="validate-zip-international required-entry input-text"/>
|
134 |
-
</div>
|
135 |
-
<div class="input-box">
|
136 |
-
<label for="country"><?php echo $this->__('Country') ?> <span class="required">*</span></label><br/>
|
137 |
-
<?php echo $this->getCountryHtmlSelect() ?>
|
138 |
-
</div>
|
139 |
-
</li>
|
140 |
-
</ul>
|
141 |
-
</fieldset>
|
142 |
-
<input type="hidden" name="default_billing" value="1"/>
|
143 |
-
<input type="hidden" name="default_shipping" value="1"/>
|
144 |
-
<?php endif; ?>
|
145 |
-
<fieldset class="group-select wide">
|
146 |
-
<br />
|
147 |
-
<div class="head-alt2">
|
148 |
-
<h4 class="title"><?php echo $this->__('Login Information') ?></h4>
|
149 |
</div>
|
150 |
-
<ul>
|
151 |
-
<li>
|
152 |
-
<div class="input-box">
|
153 |
-
<label for="password"><?php echo $this->__('Password') ?> <span class="required">*</span></label><br/>
|
154 |
-
<input type="password" name="password" id="password" title="<?php echo $this->__('Password') ?>" class="required-entry validate-password input-text"/>
|
155 |
-
</div>
|
156 |
-
<div class="input-box">
|
157 |
-
<label for="confirmation"><?php echo $this->__('Confirm Password') ?> <span class="required">*</span></label><br/>
|
158 |
-
<input type="password" name="confirmation" title="<?php echo $this->__('Confirm Password') ?>" id="confirmation" class="required-entry validate-cpassword input-text"/>
|
159 |
-
</div>
|
160 |
-
</li>
|
161 |
-
</ul>
|
162 |
-
</fieldset>
|
163 |
-
<div class="button-set">
|
164 |
-
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
165 |
-
<a href="<?php echo $this->getBackUrl() ?>" class="f-left">« <?php echo $this->__('Back') ?></a>
|
166 |
-
<p><input type="submit" value="S'inscrire" class="btnCreateAccount" alt="<?php echo $this->__('Submit') ?>"/></p>
|
167 |
-
</div>
|
168 |
-
</form>
|
169 |
-
<script type="text/javascript">
|
170 |
-
var dataForm = new VarienForm('form-validate', true);
|
171 |
<?php if($this->getShowAddressFields()): ?>
|
172 |
-
|
173 |
-
|
174 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
* @see Mage_Customer_Block_Form_Register
|
37 |
*/
|
38 |
?>
|
39 |
+
<div class="account-create">
|
40 |
+
<div class="page-title">
|
41 |
+
<h1><?php echo $this->__('Create an Account') ?></h1>
|
42 |
+
</div>
|
43 |
+
<?php echo $this->getChildHtml('form_fields_before')?>
|
44 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
45 |
+
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="form-validate">
|
46 |
+
<div class="fieldset">
|
47 |
+
<input type="hidden" name="success_url" value="<?php echo $this->getSuccessUrl() ?>" />
|
48 |
+
<input type="hidden" name="error_url" value="<?php echo $this->getErrorUrl() ?>" />
|
49 |
+
<h2 class="legend"><?php echo $this->__('Personal Information') ?></h2>
|
50 |
+
<ul class="form-list">
|
51 |
+
<li class="fields">
|
52 |
+
<?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getFormData())->toHtml() ?>
|
53 |
+
</li>
|
54 |
+
<li>
|
55 |
+
<label for="email_address" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
56 |
+
<div class="input-box">
|
57 |
+
<input type="text" name="email" id="email_address" value="<?php
|
58 |
+
/**
|
59 |
+
* Start custom Auguria_Sponsorhsip to display sponsorized email
|
60 |
+
*/
|
61 |
if ($this->htmlEscape($this->getFormData()->getEmail())=='')
|
62 |
{
|
63 |
echo $this->htmlEscape(Mage::getBlockSingleton('sponsorship/customer_widget_name')-> getInvit('email'));
|
66 |
{
|
67 |
echo $this->htmlEscape($this->getFormData()->getEmail());
|
68 |
}
|
69 |
+
/**
|
70 |
+
* End custom Auguria_Sponsorship
|
71 |
+
*/
|
72 |
+
?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" />
|
73 |
+
</div>
|
74 |
+
</li>
|
75 |
+
<?php if ($this->isNewsletterEnabled()): ?>
|
76 |
+
<li class="control">
|
77 |
+
<div class="input-box">
|
78 |
+
<input type="checkbox" name="is_subscribed" title="<?php echo $this->__('Sign Up for Newsletter') ?>" value="1" id="is_subscribed"<?php if($this->getFormData()->getIsSubscribed()): ?> checked="checked"<?php endif; ?> class="checkbox" />
|
79 |
+
</div>
|
80 |
+
<label for="is_subscribed"><?php echo $this->__('Sign Up for Newsletter') ?></label>
|
81 |
+
</li>
|
82 |
+
<?php endif ?>
|
83 |
+
<?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
|
84 |
+
<?php if ($_dob->isEnabled()): ?>
|
85 |
+
<li><?php echo $_dob->setDate($this->getFormData()->getDob())->toHtml() ?></li>
|
86 |
<?php endif ?>
|
87 |
+
<?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
|
88 |
+
<?php if ($_taxvat->isEnabled()): ?>
|
89 |
+
<li><?php echo $_taxvat->setTaxvat($this->getFormData()->getTaxvat())->toHtml() ?></li>
|
90 |
+
<?php endif ?>
|
91 |
+
<?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
|
92 |
+
<?php if ($_gender->isEnabled()): ?>
|
93 |
+
<li><?php echo $_gender->setGender($this->getFormData()->getGender())->toHtml() ?></li>
|
94 |
+
<?php endif ?>
|
95 |
+
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
<?php if($this->getShowAddressFields()): ?>
|
98 |
+
<div class="fieldset">
|
99 |
+
<input type="hidden" name="create_address" value="1" />
|
100 |
+
<h2 class="legend"><?php echo $this->__('Address Information') ?></h2>
|
101 |
+
<ul class="form-list">
|
102 |
+
<li class="fields">
|
103 |
+
<div class="field">
|
104 |
+
<label for="company"><?php echo $this->__('Company') ?></label>
|
105 |
+
<div class="input-box">
|
106 |
+
<input type="text" name="company" id="company" value="<?php echo $this->htmlEscape($this->getFormData()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text" />
|
107 |
+
</div>
|
108 |
+
</div>
|
109 |
+
<div class="field">
|
110 |
+
<label for="telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
111 |
+
<div class="input-box">
|
112 |
+
<input type="text" name="telephone" id="telephone" value="<?php echo $this->htmlEscape($this->getFormData()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text required-entry" />
|
113 |
+
</div>
|
114 |
+
</div>
|
115 |
+
</li>
|
116 |
+
<li class="wide">
|
117 |
+
<label for="street_1" class="required"><em>*</em><?php echo $this->__('Street Address') ?></label>
|
118 |
+
<div class="input-box">
|
119 |
+
<input type="text" name="street[]" value="<?php echo $this->htmlEscape($this->getFormData()->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text required-entry" />
|
120 |
+
</div>
|
121 |
+
</li>
|
122 |
+
<?php for ($_i=2, $_n=$this->helper('customer/address')->getStreetLines(); $_i<=$_n; $_i++): ?>
|
123 |
+
<li class="wide">
|
124 |
+
<div class="input-box">
|
125 |
+
<input type="text" name="street[]" value="<?php echo $this->htmlEscape($this->getFormData()->getStreet($_i)) ?>" title="<?php echo $this->__('Street Address %s', $_i) ?>" id="street_<?php echo $_i?>" class="input-text" />
|
126 |
+
</div>
|
127 |
+
</li>
|
128 |
+
<?php endfor ?>
|
129 |
+
<li class="fields">
|
130 |
+
<div class="field">
|
131 |
+
<label for="city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
132 |
+
<div class="input-box">
|
133 |
+
<input type="text" name="city" value="<?php echo $this->htmlEscape($this->getFormData()->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="input-text required-entry" id="city" />
|
134 |
+
</div>
|
135 |
+
</div>
|
136 |
+
<div class="field">
|
137 |
+
<label for="region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
138 |
+
<div class="input-box">
|
139 |
+
<select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
|
140 |
+
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
141 |
+
</select>
|
142 |
+
<script type="text/javascript">
|
143 |
+
//<![CDATA[
|
144 |
+
$('region_id').setAttribute('defaultValue', "<?php echo $this->getFormData()->getRegionId() ?>");
|
145 |
+
//]]>
|
146 |
+
</script>
|
147 |
+
<input type="text" id="region" name="region" value="<?php echo $this->htmlEscape($this->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text" style="display:none;" />
|
148 |
+
</div>
|
149 |
+
</div>
|
150 |
+
</li>
|
151 |
+
<li class="fields">
|
152 |
+
<div class="field">
|
153 |
+
<label for="zip" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
154 |
+
<div class="input-box">
|
155 |
+
<input type="text" name="postcode" value="<?php echo $this->htmlEscape($this->getFormData()->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="input-text validate-zip-international required-entry" />
|
156 |
+
</div>
|
157 |
+
</div>
|
158 |
+
<div class="field">
|
159 |
+
<label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
|
160 |
+
<div class="input-box">
|
161 |
+
<?php echo $this->getCountryHtmlSelect() ?>
|
162 |
+
</div>
|
163 |
+
</div>
|
164 |
+
</li>
|
165 |
+
</ul>
|
166 |
+
<input type="hidden" name="default_billing" value="1" />
|
167 |
+
<input type="hidden" name="default_shipping" value="1" />
|
168 |
+
</div>
|
169 |
+
<?php endif; ?>
|
170 |
+
<div class="fieldset">
|
171 |
+
<h2 class="legend"><?php echo $this->__('Login Information') ?></h2>
|
172 |
+
<ul class="form-list">
|
173 |
+
<li class="fields">
|
174 |
+
<div class="field">
|
175 |
+
<label for="password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
176 |
+
<div class="input-box">
|
177 |
+
<input type="password" name="password" id="password" title="<?php echo $this->__('Password') ?>" class="input-text required-entry validate-password" />
|
178 |
+
</div>
|
179 |
+
</div>
|
180 |
+
<div class="field">
|
181 |
+
<label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm Password') ?></label>
|
182 |
+
<div class="input-box">
|
183 |
+
<input type="password" name="confirmation" title="<?php echo $this->__('Confirm Password') ?>" id="confirmation" class="input-text required-entry validate-cpassword" />
|
184 |
+
</div>
|
185 |
+
</div>
|
186 |
+
</li>
|
187 |
+
</ul>
|
188 |
+
</div>
|
189 |
+
<div class="buttons-set">
|
190 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
191 |
+
<p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>" class="back-link"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
192 |
+
<button type="submit" title="<?php echo $this->__('Submit') ?>" class="button"><span><span><?php echo $this->__('Submit') ?></span></span></button>
|
193 |
+
</div>
|
194 |
+
</form>
|
195 |
+
<script type="text/javascript">
|
196 |
+
//<![CDATA[
|
197 |
+
var dataForm = new VarienForm('form-validate', true);
|
198 |
+
<?php if($this->getShowAddressFields()): ?>
|
199 |
+
new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'zip');
|
200 |
+
<?php endif; ?>
|
201 |
+
//]]>
|
202 |
+
</script>
|
203 |
+
</div>
|
app/design/frontend/default/default/template/sponsorship/customer/widget/name.phtml
CHANGED
@@ -18,10 +18,10 @@
|
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
*
|
21 |
-
* @category
|
22 |
-
* @package
|
23 |
-
* @copyright
|
24 |
-
* @license
|
25 |
*/
|
26 |
|
27 |
/**
|
@@ -43,50 +43,30 @@ For checkout/onepage/shipping.phtml:
|
|
43 |
->toHtml() ?>
|
44 |
*/
|
45 |
?>
|
46 |
-
|
47 |
<div class="<?php echo $this->getContainerClassName()?>">
|
48 |
<?php if ($this->showPrefix()): ?>
|
49 |
-
<div class="
|
50 |
-
<label for="<?php echo $this->getFieldId('prefix')?>">
|
51 |
-
|
52 |
-
<?php if ($this->
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
<?php echo $this->getFieldParams() ?> />
|
63 |
-
<?php else: ?>
|
64 |
-
<select
|
65 |
-
id="<?php echo $this->getFieldId('prefix')?>"
|
66 |
-
name="<?php echo $this->getFieldName('prefix')?>"
|
67 |
-
title="<?php echo $this->__('Prefix') ?>"
|
68 |
-
<?php if ($this->isPrefixRequired()):?>class="required-entry"<?php endif ?>
|
69 |
-
<?php echo $this->getFieldParams() ?> />
|
70 |
-
<?php foreach ($this->getPrefixOptions() as $_option): ?>
|
71 |
-
<option value="<?php echo $_option?>"
|
72 |
-
<?php if ($this->getObject()->getPrefix()==$_option):?>selected="selected"<?php endif ?>
|
73 |
-
><?php echo $this->__($_option)?></option>
|
74 |
-
<?php endforeach ?>
|
75 |
-
</select>
|
76 |
-
<?php endif ?>
|
77 |
</div>
|
78 |
-
<?php endif ?>
|
79 |
-
|
80 |
-
|
81 |
-
<
|
82 |
-
<?php echo $this->
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
<input type="text"
|
87 |
-
id="<?php echo $this->getFieldId('firstname')?>"
|
88 |
-
name="<?php echo $this->getFieldName('firstname')?>"
|
89 |
-
value="<?php
|
90 |
if ($this->htmlEscape($this->getObject()->getFirstname())=='')
|
91 |
{
|
92 |
echo $this->htmlEscape($this->getInvit('firstname'));
|
@@ -95,38 +75,27 @@ For checkout/onepage/shipping.phtml:
|
|
95 |
{
|
96 |
echo $this->htmlEscape($this->getObject()->getFirstname());
|
97 |
}
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
|
|
102 |
</div>
|
103 |
-
|
104 |
<?php if ($this->showMiddlename()): ?>
|
105 |
-
<div class="
|
106 |
-
<label for="<?php echo $this->getFieldId('middlename')?>">
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
<div class="input-box name-lastname">
|
121 |
-
<label for="<?php echo $this->getFieldId('lastname')?>">
|
122 |
-
<?php echo $this->__('Last Name') ?>
|
123 |
-
<span class="required">*</span>
|
124 |
-
</label>
|
125 |
-
<br />
|
126 |
-
<input type="text"
|
127 |
-
id="<?php echo $this->getFieldId('lastname')?>"
|
128 |
-
name="<?php echo $this->getFieldName('lastname')?>"
|
129 |
-
value="<?php
|
130 |
if ($this->htmlEscape($this->getObject()->getLastname())=='')
|
131 |
{
|
132 |
echo $this->htmlEscape($this->getInvit('lastname'));
|
@@ -135,42 +104,26 @@ For checkout/onepage/shipping.phtml:
|
|
135 |
{
|
136 |
echo $this->htmlEscape($this->getObject()->getLastname());
|
137 |
}
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
|
|
142 |
</div>
|
143 |
-
|
144 |
<?php if ($this->showSuffix()): ?>
|
145 |
-
<div class="
|
146 |
-
<label for="<?php echo $this->getFieldId('suffix')?>">
|
147 |
-
|
148 |
-
<?php if ($this->isSuffixRequired()):?><span class="required">*</span><?php endif ?>
|
149 |
-
</label>
|
150 |
-
<br />
|
151 |
<?php if ($this->getSuffixOptions()===false): ?>
|
152 |
-
|
153 |
-
id="<?php echo $this->getFieldId('suffix')?>"
|
154 |
-
name="<?php echo $this->getFieldName('suffix')?>"
|
155 |
-
value="<?php echo $this->htmlEscape($this->getObject()->getSuffix()) ?>"
|
156 |
-
title="<?php echo $this->__('Suffix') ?>"
|
157 |
-
class="<?php if ($this->isSuffixRequired()):?>required-entry<?php endif ?> input-text"
|
158 |
-
<?php echo $this->getFieldParams() ?> />
|
159 |
<?php else: ?>
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
<option value="<?php echo $_option?>"
|
168 |
-
<?php if ($this->getObject()->getSuffix()==$_option):?>selected="selected"<?php endif ?>
|
169 |
-
><?php echo $this->__($_option)?></option>
|
170 |
-
<?php endforeach ?>
|
171 |
-
</select>
|
172 |
-
<?php endif ?>
|
173 |
</div>
|
174 |
-
<?php endif ?>
|
175 |
-
|
176 |
</div>
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
27 |
/**
|
43 |
->toHtml() ?>
|
44 |
*/
|
45 |
?>
|
|
|
46 |
<div class="<?php echo $this->getContainerClassName()?>">
|
47 |
<?php if ($this->showPrefix()): ?>
|
48 |
+
<div class="field name-prefix">
|
49 |
+
<label for="<?php echo $this->getFieldId('prefix')?>"<?php if ($this->isPrefixRequired()) echo ' class="required"' ?>><?php if ($this->isPrefixRequired()) echo '<em>*</em>' ?><?php echo $this->__('Prefix') ?></label>
|
50 |
+
<div class="input-box">
|
51 |
+
<?php if ($this->getPrefixOptions()===false): ?>
|
52 |
+
<input type="text" id="<?php echo $this->getFieldId('prefix')?>" name="<?php echo $this->getFieldName('prefix')?>" value="<?php echo $this->htmlEscape($this->getObject()->getPrefix()) ?>" title="<?php echo $this->__('Prefix') ?>" class="input-text<?php if ($this->isPrefixRequired()):?> required-entry<?php endif; ?>" <?php echo $this->getFieldParams() ?> />
|
53 |
+
<?php else: ?>
|
54 |
+
<select id="<?php echo $this->getFieldId('prefix')?>" name="<?php echo $this->getFieldName('prefix')?>" title="<?php echo $this->__('Prefix') ?>"<?php if ($this->isPrefixRequired()):?> class="required-entry"<?php endif; ?> <?php echo $this->getFieldParams() ?>>
|
55 |
+
<?php foreach ($this->getPrefixOptions() as $_option): ?>
|
56 |
+
<option value="<?php echo $_option?>"<?php if ($this->getObject()->getPrefix()==$_option):?> selected="selected"<?php endif; ?>><?php echo $this->__($_option)?></option>
|
57 |
+
<?php endforeach ?>
|
58 |
+
</select>
|
59 |
+
<?php endif; ?>
|
60 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
</div>
|
62 |
+
<?php endif; ?>
|
63 |
+
<div class="field name-firstname">
|
64 |
+
<label for="<?php echo $this->getFieldId('firstname')?>" class="required"><em>*</em><?php echo $this->__('First Name') ?></label>
|
65 |
+
<div class="input-box">
|
66 |
+
<input type="text" id="<?php echo $this->getFieldId('firstname')?>" name="<?php echo $this->getFieldName('firstname')?>" value="<?php
|
67 |
+
/**
|
68 |
+
* Start custom Auguria_Sponsorhsip to display sponsorized firstname
|
69 |
+
*/
|
|
|
|
|
|
|
|
|
70 |
if ($this->htmlEscape($this->getObject()->getFirstname())=='')
|
71 |
{
|
72 |
echo $this->htmlEscape($this->getInvit('firstname'));
|
75 |
{
|
76 |
echo $this->htmlEscape($this->getObject()->getFirstname());
|
77 |
}
|
78 |
+
/**
|
79 |
+
* End custom Auguria_Sponsorship
|
80 |
+
*/
|
81 |
+
?>" title="<?php echo $this->__('First Name') ?>" class="input-text required-entry" <?php echo $this->getFieldParams() ?> />
|
82 |
+
</div>
|
83 |
</div>
|
|
|
84 |
<?php if ($this->showMiddlename()): ?>
|
85 |
+
<div class="field name-middlename">
|
86 |
+
<label for="<?php echo $this->getFieldId('middlename')?>"><?php echo $this->__('M.I.') ?></label>
|
87 |
+
<div class="input-box">
|
88 |
+
<input type="text" id="<?php echo $this->getFieldId('middlename')?>" name="<?php echo $this->getFieldName('middlename')?>" value="<?php echo $this->htmlEscape($this->getObject()->getMiddlename()) ?>" title="<?php echo $this->__('M.I.') ?>" class="input-text" <?php echo $this->getFieldParams() ?> />
|
89 |
+
</div>
|
90 |
+
</div>
|
91 |
+
<?php endif; ?>
|
92 |
+
<div class="field name-lastname">
|
93 |
+
<label for="<?php echo $this->getFieldId('lastname')?>" class="required"><em>*</em><?php echo $this->__('Last Name') ?></label>
|
94 |
+
<div class="input-box">
|
95 |
+
<input type="text" id="<?php echo $this->getFieldId('lastname')?>" name="<?php echo $this->getFieldName('lastname')?>" value="<?php
|
96 |
+
/**
|
97 |
+
* Start custom Auguria_Sponsorhsip to display sponsorized lastname
|
98 |
+
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
if ($this->htmlEscape($this->getObject()->getLastname())=='')
|
100 |
{
|
101 |
echo $this->htmlEscape($this->getInvit('lastname'));
|
104 |
{
|
105 |
echo $this->htmlEscape($this->getObject()->getLastname());
|
106 |
}
|
107 |
+
/**
|
108 |
+
* End custom Auguria_Sponsorship
|
109 |
+
*/
|
110 |
+
?>" title="<?php echo $this->__('Last Name') ?>" class="input-text required-entry" <?php echo $this->getFieldParams() ?> />
|
111 |
+
</div>
|
112 |
</div>
|
|
|
113 |
<?php if ($this->showSuffix()): ?>
|
114 |
+
<div class="field name-suffix">
|
115 |
+
<label for="<?php echo $this->getFieldId('suffix')?>"<?php if ($this->isSuffixRequired()) echo ' class="required"' ?>><?php if ($this->isSuffixRequired()) echo '<em>*</em>' ?><?php echo $this->__('Suffix') ?></label>
|
116 |
+
<div class="input-box">
|
|
|
|
|
|
|
117 |
<?php if ($this->getSuffixOptions()===false): ?>
|
118 |
+
<input type="text" id="<?php echo $this->getFieldId('suffix')?>" name="<?php echo $this->getFieldName('suffix')?>" value="<?php echo $this->htmlEscape($this->getObject()->getSuffix()) ?>" title="<?php echo $this->__('Suffix') ?>" class="input-text<?php if ($this->isSuffixRequired()):?> required-entry<?php endif; ?>" <?php echo $this->getFieldParams() ?> />
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
<?php else: ?>
|
120 |
+
<select id="<?php echo $this->getFieldId('suffix')?>" name="<?php echo $this->getFieldName('suffix')?>" title="<?php echo $this->__('Suffix') ?>"<?php if ($this->isSuffixRequired()):?> class="required-entry"<?php endif; ?> <?php echo $this->getFieldParams() ?>>
|
121 |
+
<?php foreach ($this->getSuffixOptions() as $_option): ?>
|
122 |
+
<option value="<?php echo $_option?>"<?php if ($this->getObject()->getSuffix()==$_option):?> selected="selected"<?php endif; ?>><?php echo $this->__($_option)?></option>
|
123 |
+
<?php endforeach ?>
|
124 |
+
</select>
|
125 |
+
<?php endif; ?>
|
126 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
</div>
|
128 |
+
<?php endif; ?>
|
|
|
129 |
</div>
|
app/design/frontend/default/default/template/sponsorship/customer/widget/virement.phtml
CHANGED
@@ -6,11 +6,11 @@
|
|
6 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
7 |
*/
|
8 |
-->
|
|
|
|
|
|
|
|
|
9 |
<div class="input-box" >
|
10 |
-
<label for="<?php echo $this->getFieldId('iban')?>">
|
11 |
-
<?php echo $this->__('IBAN') ?>
|
12 |
-
</label>
|
13 |
-
<br />
|
14 |
<input type="text"
|
15 |
id="<?php echo $this->getFieldId('iban')?>"
|
16 |
name="<?php echo $this->getFieldName('iban')?>"
|
@@ -18,11 +18,10 @@
|
|
18 |
class="input-text"
|
19 |
<?php echo $this->getFieldParams() ?> />
|
20 |
</div>
|
|
|
|
|
|
|
21 |
<div class="input-box" >
|
22 |
-
<label for="<?php echo $this->getFieldId('siret')?>">
|
23 |
-
<?php echo $this->__('Campany number') ?>
|
24 |
-
</label>
|
25 |
-
<br />
|
26 |
<input type="text"
|
27 |
id="<?php echo $this->getFieldId('siret')?>"
|
28 |
name="<?php echo $this->getFieldName('siret')?>"
|
6 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
7 |
*/
|
8 |
-->
|
9 |
+
|
10 |
+
<label for="<?php echo $this->getFieldId('iban')?>">
|
11 |
+
<?php echo $this->__('IBAN') ?>
|
12 |
+
</label>
|
13 |
<div class="input-box" >
|
|
|
|
|
|
|
|
|
14 |
<input type="text"
|
15 |
id="<?php echo $this->getFieldId('iban')?>"
|
16 |
name="<?php echo $this->getFieldName('iban')?>"
|
18 |
class="input-text"
|
19 |
<?php echo $this->getFieldParams() ?> />
|
20 |
</div>
|
21 |
+
<label for="<?php echo $this->getFieldId('siret')?>">
|
22 |
+
<?php echo $this->__('Campany number') ?>
|
23 |
+
</label>
|
24 |
<div class="input-box" >
|
|
|
|
|
|
|
|
|
25 |
<input type="text"
|
26 |
id="<?php echo $this->getFieldId('siret')?>"
|
27 |
name="<?php echo $this->getFieldName('siret')?>"
|
app/design/frontend/default/default/template/sponsorship/openinviter.phtml
CHANGED
@@ -41,6 +41,7 @@
|
|
41 |
<label for="provider_box" class="required"><em>*</em><?php echo $this->__('Address book provider:') ?></label><br/>
|
42 |
<select class='select required-entry' name='provider_box' id='provider_box'><option value=''><?php echo $this->__('Choose your provider'); ?></option>
|
43 |
<?php
|
|
|
44 |
foreach ($oi_services as $type=>$providers)
|
45 |
{
|
46 |
echo "<optgroup label='".$this->__($oi_types[$type])."'>";
|
@@ -48,6 +49,12 @@
|
|
48 |
echo "<option value='{$provider}'".($this->getOpenInviterProviderBox() == $provider ? 'selected' : '').">{$details['name']}</option>";
|
49 |
echo "</optgroup>";
|
50 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
?>
|
52 |
</select>
|
53 |
</div>
|
41 |
<label for="provider_box" class="required"><em>*</em><?php echo $this->__('Address book provider:') ?></label><br/>
|
42 |
<select class='select required-entry' name='provider_box' id='provider_box'><option value=''><?php echo $this->__('Choose your provider'); ?></option>
|
43 |
<?php
|
44 |
+
/* With social networking
|
45 |
foreach ($oi_services as $type=>$providers)
|
46 |
{
|
47 |
echo "<optgroup label='".$this->__($oi_types[$type])."'>";
|
49 |
echo "<option value='{$provider}'".($this->getOpenInviterProviderBox() == $provider ? 'selected' : '').">{$details['name']}</option>";
|
50 |
echo "</optgroup>";
|
51 |
}
|
52 |
+
*/
|
53 |
+
//Without socialnetworking
|
54 |
+
foreach ($oi_services['email'] as $provider=>$details)
|
55 |
+
{
|
56 |
+
echo "<option value='{$provider}'".($this->getOpenInviterProviderBox() == $provider ? 'selected' : '').">{$details['name']}</option>";
|
57 |
+
}
|
58 |
?>
|
59 |
</select>
|
60 |
</div>
|
app/design/frontend/default/default/template/sponsorship/sponsorship.phtml
CHANGED
@@ -28,7 +28,7 @@
|
|
28 |
var li_mail = Element.extend(document.createElement("LI"));
|
29 |
li_mail.addClassName('addElement');
|
30 |
|
31 |
-
li_mail.innerHTML = '<div class="left"><label for="recipient_firstname"><?php echo $this->__('First name:') ?><\/label><br /><div style="width:250px"><input name="recipient[firstname][]" type="text" class="input-text" id="recipient_firstname'+i+'" value="'+firstname+'" style="width:250px;" /><\/div><\/div>';
|
32 |
li_mail.innerHTML += '<div class="right"><label for="recipient_lastname" class="required"><em>*<\/em><?php echo $this->__('Last name:') ?><\/label><br /><div style="width:250px"><input name="recipient[lastname][]" value="'+lastname+'" type="text" class="input-text required-entry" id="recipient_lastname'+i+'" style="width:250px;" /><\/div><\/div>';
|
33 |
li_mail.innerHTML += '<div class="left"><label for="recipient_email" class="required"><em>*<\/em><?php echo $this->__('Email Address:') ?><\/label><br /><div style="width:250px"><input name="recipient[email][]" value="'+email+'" title="<?php echo $this->__('Email Address') ?>" id="recipient_email'+i+'" type="text" class="input-text required-entry validate-email" style="width:250px;" /><\/div><\/div>';
|
34 |
|
28 |
var li_mail = Element.extend(document.createElement("LI"));
|
29 |
li_mail.addClassName('addElement');
|
30 |
|
31 |
+
li_mail.innerHTML = '<div class="left"><label for="recipient_firstname" class="required"><em>*<\/em><?php echo $this->__('First name:') ?><\/label><br /><div style="width:250px"><input name="recipient[firstname][]" type="text" class="input-text required-entry" id="recipient_firstname'+i+'" value="'+firstname+'" style="width:250px;" /><\/div><\/div>';
|
32 |
li_mail.innerHTML += '<div class="right"><label for="recipient_lastname" class="required"><em>*<\/em><?php echo $this->__('Last name:') ?><\/label><br /><div style="width:250px"><input name="recipient[lastname][]" value="'+lastname+'" type="text" class="input-text required-entry" id="recipient_lastname'+i+'" style="width:250px;" /><\/div><\/div>';
|
33 |
li_mail.innerHTML += '<div class="left"><label for="recipient_email" class="required"><em>*<\/em><?php echo $this->__('Email Address:') ?><\/label><br /><div style="width:250px"><input name="recipient[email][]" value="'+email+'" title="<?php echo $this->__('Email Address') ?>" id="recipient_email'+i+'" type="text" class="input-text required-entry validate-email" style="width:250px;" /><\/div><\/div>';
|
34 |
|
app/locale/fr_FR/Auguria_Sponsorship.csv
CHANGED
@@ -7,14 +7,21 @@
|
|
7 |
"%s vouchers points exchange","%s échange de points en bon de réduction"
|
8 |
"<a href='%s'>%s</a>","<a href='%s'>%s</a>"
|
9 |
"A value is required.","Une valeur est requise."
|
|
|
10 |
"Active godsons:","Filleuls actifs :"
|
11 |
"Add a change","Ajouter un échange"
|
|
|
12 |
"Add a sponsorship","Ajouter un parrainage"
|
13 |
"Add an invitation","Ajouter une invitation"
|
|
|
|
|
|
|
14 |
"Allow to send invitations to customers who have never ordered","Autoriser l'envoie d'invitations aux clients n'ayant jamais commandé"
|
|
|
15 |
"An error occurred while saving your request.","Une erreur est survenue lors de l'enregistrement de votre demande."
|
16 |
"An error occurred while sending mail.","Une erreur est survenue lors de l'envoi du mail."
|
17 |
"An error occurred, the mail to %s could not be delivred.","Une erreur est survenue, le mail destiné à %s n'a pas pu être délivré."
|
|
|
18 |
"And it ends as follows:","Et il se terminera comme suit :"
|
19 |
"Are you sure to process mass action?","Êtes vous sure de vouloir procéder à une action de masse ?"
|
20 |
"But it could not be saved.","Mais il n'a pas pu être enregistré."
|
@@ -26,6 +33,8 @@
|
|
26 |
"Cash exchange enabled","Échange en cash activé"
|
27 |
"Change information","Information sur l'échange"
|
28 |
"Change your points into:","Changez vos points en :"
|
|
|
|
|
29 |
"Conversion rate of points in currency","Taux de conversion des points en monnaie"
|
30 |
"coupon","bon de réduction"
|
31 |
"Creation date","Date de création"
|
@@ -40,7 +49,10 @@
|
|
40 |
"Edit","Éditer"
|
41 |
"Edition of the change '%s'","Édition de l'échange '%s'"
|
42 |
"Edition of the invitation '%s'","Édition de l'invitation '%s'"
|
|
|
43 |
"Edition of the sponsorship '%s'","Édition du parrainage '%s'"
|
|
|
|
|
44 |
"emptyResults","Aucun résultat"
|
45 |
"Enter the cash you want.","Indiquez le cash que vous souhaitez obtenir."
|
46 |
"Enter the points you want to convert.","Indiquez les points que vous voulez convertir."
|
@@ -75,6 +87,8 @@
|
|
75 |
"Guest name","Nom invité"
|
76 |
"IBAN","IBAN"
|
77 |
"ID","ID"
|
|
|
|
|
78 |
"Inactivity time before removal of the sponsorship link (days)","Temps d'inactivité avant suppression du lien de parrainage (jours)"
|
79 |
"Invalid IBAN code ""%s""","Le code IBAN ""%s"" est invalide"
|
80 |
"Invitation detail","Détail de l'invitation"
|
@@ -88,6 +102,7 @@
|
|
88 |
"Last order date","Date dernière commande"
|
89 |
"Listing date","Date inscription"
|
90 |
"loading","chargement"
|
|
|
91 |
"Max invitations","Nombre max d'invitations"
|
92 |
"Maximum amount permitted without company number","Montant maximum autorisé sans SIRET"
|
93 |
"Maximum levels of sponsorship","Nombre maximum de niveaux de parrainage"
|
@@ -95,18 +110,26 @@
|
|
95 |
"Module","Module"
|
96 |
"Number of sponsorships","Nombre de parrainages"
|
97 |
"Once you will have points, you can change them into:","Lorsque vous aurez des points, vous pourrez les changer en :"
|
|
|
|
|
98 |
"paginationFirst","Première"
|
99 |
"paginationLast","Dernière"
|
100 |
"paginationNext","Suivante"
|
101 |
"paginationOf"," de "
|
102 |
"paginationPages","page(s)"
|
103 |
"paginationPrev","Précédente"
|
|
|
104 |
"Please check the form fields.","Veuillez vérifier les champs du formulaire."
|
|
|
105 |
"Please select changes","Merci de sélectionner des échanges"
|
106 |
"Points","Points"
|
107 |
"Points exchanges list","Liste des échanges de points"
|
108 |
"Points to exchange:","Points à échanger :"
|
109 |
"Principles of Sponsorship","Principes du parrainage"
|
|
|
|
|
|
|
|
|
110 |
"Ratio applied from level 2 to calculate the points of the sponsor (in percentage)","Ratio appliqué à partir du niveau 2, pour le calcul des points du parrain (en pourcentage)"
|
111 |
"Recall","Relancer"
|
112 |
"Recall %s %s","Relance de %s %s"
|
@@ -115,7 +138,13 @@
|
|
115 |
"Related ID","ID parent"
|
116 |
"Related mail","Email parent"
|
117 |
"Related name","Nom parent"
|
|
|
118 |
"searchLabel","Recherche"
|
|
|
|
|
|
|
|
|
|
|
119 |
"Solved","Réglé"
|
120 |
"Special Rate","Taux spécial"
|
121 |
"Sponsor","Parrain"
|
@@ -154,6 +183,7 @@
|
|
154 |
"Unable to find change to save","Impossible de trouver l'échange à enregistrer"
|
155 |
"Unable to find invitation to save","Impossible de trouver l'invitation à enregistrer"
|
156 |
"Unable to find sponsorship to save","Impossible de trouver le parrainage à enregistrer"
|
|
|
157 |
"Update status","Modifier le statut"
|
158 |
"Use of your fidelity points","Utilisation de vos points fidélité"
|
159 |
"Use of your sponsorship points","Utilisation de vos points parrainage"
|
@@ -167,6 +197,7 @@
|
|
167 |
"Winning","Points gagnés"
|
168 |
"You do not have active godson.","Vous n'avez pas de filleul actif."
|
169 |
"You do not have as many points.","Vous ne disposez pas d'autant de points."
|
|
|
170 |
"You have %d points.","Vous disposez de %d points."
|
171 |
"You must already have purchased to sponsor.","Vous devez déjà avoir commandé pour parrainer."
|
172 |
"You should visit this website. It offers interesting products.","Tu devrais aller sur ce site. Ils ont des produits intéressants."
|
@@ -174,6 +205,7 @@
|
|
174 |
"Your godsons","Vos filleuls"
|
175 |
"Your invitations","Vos invitations"
|
176 |
"Your lastest orders","Vos dernières commandes"
|
|
|
177 |
"Your mail has not been sent, please try again later.","Votre mail n'a pas pu être délivré, veuillez essayer plus tard."
|
178 |
"Your message","Votre message"
|
179 |
"Your message will be preceded by:","Votre message sera précédé de :"
|
@@ -181,32 +213,3 @@
|
|
181 |
"Your message:","Votre message :"
|
182 |
"Your points exchanges:","Vos échanges de points :"
|
183 |
"Your request has been submitted, you will soon receive an email confirmation.","Votre demande a bien été transmise, vous recevrez bientôt un mail de confirmation."
|
184 |
-
"You do not have yet send invit.","Vous n'avez pas encore envoyé d'invitation."
|
185 |
-
"Select recipients from your address book.","Sélectionnez les destinataires à partir de votre carnet d'adresses."
|
186 |
-
"Or add recipient manually.","Ou ajoutez vos destinataires manuellement."
|
187 |
-
"Select your provider and sign in:","Sélectionnez votre fournisseur et identifiez vous :"
|
188 |
-
"Your login:","Votre identifiant :"
|
189 |
-
"Address book provider:","Fournisseur de carnet d'adresse :"
|
190 |
-
"Import Contacts","Importer contacts"
|
191 |
-
"Login failed. Please check the email and password you have provided and try again later !","L'authentification a échouée. Merci de vérifier votre identifiant et votre mot de passe."
|
192 |
-
"Please enter the full email, not just the username","Merci d'indiquer votre email, et pas seulement votre nom d'utilisateur."
|
193 |
-
"Select recipients from your address book:","Sélectionnez les destinataires dans votre carnet d'adresses :"
|
194 |
-
"Import selected contacts","Importer les contacts sélectionnés"
|
195 |
-
"Check or uncheck all","Tout sélectionner ou tout de-sélectionner"
|
196 |
-
"Email missing !","Il manque l'email !"
|
197 |
-
"Password missing !","Il manque le mot de passe !"
|
198 |
-
"Provider missing !","Il manque le fournisseur !"
|
199 |
-
"Unable to get contacts !","Impossible de récupérer les contacts !"
|
200 |
-
"An exception occured !","Une exception s'est produite !"
|
201 |
-
"Allows customers to import addressbook/contacts from different email providers like Yahoo, Gmail, Hotmail, Live etc. using different CMS software like Drupal, Joomla etc. or forum software like PHPBB, SMF etc. Learn more on <a href='http://openinviter.com'>openinviter.com</a>","Permet aux clients d'importer leur carnet d'adresse depuis plusieurs fournisseurs comme Yahoo, Gmail, Hotmail, Live etc. Plus de sétails sur <a href='http://openinviter.com'>openinviter.com</a>"
|
202 |
-
"Activated","Activé"
|
203 |
-
"Choose your provider","Choisissez votre fournisseur"
|
204 |
-
"Email Providers","Fournisseurs de mails"
|
205 |
-
"Social Networks","Réseaux sociaux"
|
206 |
-
"Add recipients","Ajoutez les destinataires."
|
207 |
-
"Open inviter providers","Fournisseurs Open Inviter"
|
208 |
-
"Edition of the Open inviter provider '%s'","Edition du fournisseur Open inviter '%s'"
|
209 |
-
"Provider detail","Détail du fournisseur"
|
210 |
-
"Provider was successfully saved","Le fournisseur a bien été sauvegardé"
|
211 |
-
"Add a provider","Ajouter un fournisseur"
|
212 |
-
"Provider was successfully deleted","Le fournisseur a bien été effacé"
|
7 |
"%s vouchers points exchange","%s échange de points en bon de réduction"
|
8 |
"<a href='%s'>%s</a>","<a href='%s'>%s</a>"
|
9 |
"A value is required.","Une valeur est requise."
|
10 |
+
"Activated","Activé"
|
11 |
"Active godsons:","Filleuls actifs :"
|
12 |
"Add a change","Ajouter un échange"
|
13 |
+
"Add a provider","Ajouter un fournisseur"
|
14 |
"Add a sponsorship","Ajouter un parrainage"
|
15 |
"Add an invitation","Ajouter une invitation"
|
16 |
+
"Add recipients","Ajoutez les destinataires."
|
17 |
+
"Add recipients.","Ajoutez les destinataires."
|
18 |
+
"Address book provider:","Fournisseur de carnet d'adresse :"
|
19 |
"Allow to send invitations to customers who have never ordered","Autoriser l'envoie d'invitations aux clients n'ayant jamais commandé"
|
20 |
+
"Allows customers to import addressbook/contacts from different email providers like Yahoo, Gmail, Hotmail, Live etc. using different CMS software like Drupal, Joomla etc. or forum software like PHPBB, SMF etc. Learn more on <a href='http://openinviter.com'>openinviter.com</a>","Permet aux clients d'importer leur carnet d'adresse depuis plusieurs fournisseurs comme Yahoo, Gmail, Hotmail, Live etc. Plus de sétails sur <a href='http://openinviter.com'>openinviter.com</a>"
|
21 |
"An error occurred while saving your request.","Une erreur est survenue lors de l'enregistrement de votre demande."
|
22 |
"An error occurred while sending mail.","Une erreur est survenue lors de l'envoi du mail."
|
23 |
"An error occurred, the mail to %s could not be delivred.","Une erreur est survenue, le mail destiné à %s n'a pas pu être délivré."
|
24 |
+
"An exception occured !","Une exception s'est produite !"
|
25 |
"And it ends as follows:","Et il se terminera comme suit :"
|
26 |
"Are you sure to process mass action?","Êtes vous sure de vouloir procéder à une action de masse ?"
|
27 |
"But it could not be saved.","Mais il n'a pas pu être enregistré."
|
33 |
"Cash exchange enabled","Échange en cash activé"
|
34 |
"Change information","Information sur l'échange"
|
35 |
"Change your points into:","Changez vos points en :"
|
36 |
+
"Check or uncheck all","Tout sélectionner ou tout de-sélectionner"
|
37 |
+
"Choose your provider","Choisissez votre fournisseur"
|
38 |
"Conversion rate of points in currency","Taux de conversion des points en monnaie"
|
39 |
"coupon","bon de réduction"
|
40 |
"Creation date","Date de création"
|
49 |
"Edit","Éditer"
|
50 |
"Edition of the change '%s'","Édition de l'échange '%s'"
|
51 |
"Edition of the invitation '%s'","Édition de l'invitation '%s'"
|
52 |
+
"Edition of the Open inviter provider '%s'","Edition du fournisseur Open inviter '%s'"
|
53 |
"Edition of the sponsorship '%s'","Édition du parrainage '%s'"
|
54 |
+
"Email missing !","Il manque l'email !"
|
55 |
+
"Email Providers","Fournisseurs de mails"
|
56 |
"emptyResults","Aucun résultat"
|
57 |
"Enter the cash you want.","Indiquez le cash que vous souhaitez obtenir."
|
58 |
"Enter the points you want to convert.","Indiquez les points que vous voulez convertir."
|
87 |
"Guest name","Nom invité"
|
88 |
"IBAN","IBAN"
|
89 |
"ID","ID"
|
90 |
+
"Import Contacts","Importer contacts"
|
91 |
+
"Import selected contacts","Importer les contacts sélectionnés"
|
92 |
"Inactivity time before removal of the sponsorship link (days)","Temps d'inactivité avant suppression du lien de parrainage (jours)"
|
93 |
"Invalid IBAN code ""%s""","Le code IBAN ""%s"" est invalide"
|
94 |
"Invitation detail","Détail de l'invitation"
|
102 |
"Last order date","Date dernière commande"
|
103 |
"Listing date","Date inscription"
|
104 |
"loading","chargement"
|
105 |
+
"Login failed. Please check the email and password you have provided and try again later !","L'authentification a échouée. Merci de vérifier votre identifiant et votre mot de passe."
|
106 |
"Max invitations","Nombre max d'invitations"
|
107 |
"Maximum amount permitted without company number","Montant maximum autorisé sans SIRET"
|
108 |
"Maximum levels of sponsorship","Nombre maximum de niveaux de parrainage"
|
110 |
"Module","Module"
|
111 |
"Number of sponsorships","Nombre de parrainages"
|
112 |
"Once you will have points, you can change them into:","Lorsque vous aurez des points, vous pourrez les changer en :"
|
113 |
+
"Open inviter providers","Fournisseurs Open Inviter"
|
114 |
+
"Or add recipient manually.","Ou ajoutez vos destinataires manuellement."
|
115 |
"paginationFirst","Première"
|
116 |
"paginationLast","Dernière"
|
117 |
"paginationNext","Suivante"
|
118 |
"paginationOf"," de "
|
119 |
"paginationPages","page(s)"
|
120 |
"paginationPrev","Précédente"
|
121 |
+
"Password missing !","Il manque le mot de passe !"
|
122 |
"Please check the form fields.","Veuillez vérifier les champs du formulaire."
|
123 |
+
"Please enter the full email, not just the username","Merci d'indiquer votre email, et pas seulement votre nom d'utilisateur."
|
124 |
"Please select changes","Merci de sélectionner des échanges"
|
125 |
"Points","Points"
|
126 |
"Points exchanges list","Liste des échanges de points"
|
127 |
"Points to exchange:","Points à échanger :"
|
128 |
"Principles of Sponsorship","Principes du parrainage"
|
129 |
+
"Provider detail","Détail du fournisseur"
|
130 |
+
"Provider missing !","Il manque le fournisseur !"
|
131 |
+
"Provider was successfully deleted","Le fournisseur a bien été effacé"
|
132 |
+
"Provider was successfully saved","Le fournisseur a bien été sauvegardé"
|
133 |
"Ratio applied from level 2 to calculate the points of the sponsor (in percentage)","Ratio appliqué à partir du niveau 2, pour le calcul des points du parrain (en pourcentage)"
|
134 |
"Recall","Relancer"
|
135 |
"Recall %s %s","Relance de %s %s"
|
138 |
"Related ID","ID parent"
|
139 |
"Related mail","Email parent"
|
140 |
"Related name","Nom parent"
|
141 |
+
"Remove Recipient","Supprimer le destinataire"
|
142 |
"searchLabel","Recherche"
|
143 |
+
"Select recipients from your address book:","Sélectionnez les destinataires dans votre carnet d'adresses :"
|
144 |
+
"Select recipients from your address book.","Sélectionnez les destinataires à partir de votre carnet d'adresses."
|
145 |
+
"Select your provider and sign in:","Sélectionnez votre fournisseur et identifiez vous :"
|
146 |
+
"Send email","Envoyer l'email"
|
147 |
+
"Social Networks","Réseaux sociaux"
|
148 |
"Solved","Réglé"
|
149 |
"Special Rate","Taux spécial"
|
150 |
"Sponsor","Parrain"
|
183 |
"Unable to find change to save","Impossible de trouver l'échange à enregistrer"
|
184 |
"Unable to find invitation to save","Impossible de trouver l'invitation à enregistrer"
|
185 |
"Unable to find sponsorship to save","Impossible de trouver le parrainage à enregistrer"
|
186 |
+
"Unable to get contacts !","Impossible de récupérer les contacts !"
|
187 |
"Update status","Modifier le statut"
|
188 |
"Use of your fidelity points","Utilisation de vos points fidélité"
|
189 |
"Use of your sponsorship points","Utilisation de vos points parrainage"
|
197 |
"Winning","Points gagnés"
|
198 |
"You do not have active godson.","Vous n'avez pas de filleul actif."
|
199 |
"You do not have as many points.","Vous ne disposez pas d'autant de points."
|
200 |
+
"You do not have yet send invit.","Vous n'avez pas encore envoyé d'invitation."
|
201 |
"You have %d points.","Vous disposez de %d points."
|
202 |
"You must already have purchased to sponsor.","Vous devez déjà avoir commandé pour parrainer."
|
203 |
"You should visit this website. It offers interesting products.","Tu devrais aller sur ce site. Ils ont des produits intéressants."
|
205 |
"Your godsons","Vos filleuls"
|
206 |
"Your invitations","Vos invitations"
|
207 |
"Your lastest orders","Vos dernières commandes"
|
208 |
+
"Your login:","Votre identifiant :"
|
209 |
"Your mail has not been sent, please try again later.","Votre mail n'a pas pu être délivré, veuillez essayer plus tard."
|
210 |
"Your message","Votre message"
|
211 |
"Your message will be preceded by:","Votre message sera précédé de :"
|
213 |
"Your message:","Votre message :"
|
214 |
"Your points exchanges:","Vos échanges de points :"
|
215 |
"Your request has been submitted, you will soon receive an email confirmation.","Votre demande a bien été transmise, vous recevrez bientôt un mail de confirmation."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Auguria_Sponsorship</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL 3.0</license>
|
7 |
<channel>community</channel>
|
@@ -26,9 +26,9 @@ Once installed, you must:
|
|
26 |
- If you enable automatic sponsorship recall, activate magento cron</description>
|
27 |
<notes>If you have ideas for improvements or find bugs, please send them to Franck Charpentier at www.auguria.net, with Auguria LastReviews as part of the subject line.</notes>
|
28 |
<authors><author><name>Auguria</name><user>auto-converted</user><email>magento@auguria.net</email></author></authors>
|
29 |
-
<date>2010-
|
30 |
-
<time>
|
31 |
-
<contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="sponsorship.xml" hash="934da279981ddb250e116b956a262c0c"/></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="sponsorship.xml" hash="8d7ead600805bdd2cc66a0e67a26dcf4"/></dir><dir name="template"><dir name="sponsorship"><dir name="customer"><dir name="account"><dir name="dashboard"><file name="fidelity_points.phtml" hash="41131e636284b1a2dcdbc79be86c6768"/><file name="sponsor_points.phtml" hash="a510e2612ffc9730644e21924603e190"/></dir><file name="dashboard.phtml" hash="b3c531f03302819338ebd9739b144d5f"/><file name="fidelitypointsdetail.phtml" hash="ac569b80b7dfda7412a265e88e51d403"/><file name="sponsorpointsdetail.phtml" hash="0a45d3ef02a05607ea46dedb631359c6"/></dir><dir name="form"><dir name="pointschange"><file name="pointschange_cash.phtml" hash="d181ffed79eec08a0a65e78e3aa731f8"/><file name="pointschange_coupon.phtml" hash="88870799ae481ba3a62209042aa4344d"/><file name="pointschange_gift.phtml" hash="29a244c931252894b98e1a9bf1c40fc4"/></dir><file name="boost.phtml" hash="c81f986b3a40771f9652a5b9f264ba20"/><file name="edit.phtml" hash="4a55e415cf16a47c584bcbbba570d8a5"/><file name="pointschange.phtml" hash="98fced0f1ac113b79e14521fea151afc"/><file name="register.phtml" hash="52b5e45974ecf7898851b2983c496297"/></dir><dir name="widget"><file name="name.phtml" hash="167d0c09817b6a786e017e54c7117a76"/><file name="virement.phtml" hash="275ebb5903affe9462a1307cec452053"/></dir></dir><file name="openinviter.phtml" hash="184d0b3a71e0204cd02645bedc1c51e8"/><file name="openinviterimport.phtml" hash="8e468750660c4b2556f4f1e1b50bfafb"/><file name="sponsorship.phtml" hash="739958126e9bf04dbaf772ab3dde0d54"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Auguria_Sponsorship.xml" hash="2ace21d88c17b2636514543e866169eb"/></dir></dir></dir><dir name="js"><dir name="tableorderer"><file name="table_orderer.js" hash="f23c21e5031d7218f83c9117cf7442eb"/></dir></dir></target><target name="magecommunity"><dir name="Auguria"><dir name="Sponsorship"><dir name="Block"><dir name="Adminhtml"><dir name="Change"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="cd94427577e45107683ea305a557f9d8"/></dir><file name="Form.php" hash="ae7412b583874b8fffc05cc3897f1a2b"/><file name="Tabs.php" hash="14027188a77ed427a54211d61471c962"/></dir><file name="Edit.php" hash="5c266273137c23f763d39d93f5ef82b4"/><file name="Grid.php" hash="9962a69732ae93157eb99ff663608203"/></dir><dir name="Link"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="98a2a13987cb165ee5233dcef0927daa"/></dir><file name="Form.php" hash="e6e087ae96b24d4edbe9e1f578e7a55a"/><file name="Tabs.php" hash="7d67a25094cf51ced551a8b3e21155c1"/></dir><file name="Edit.php" hash="bb82a0a9cd963648d7e6e34c616a0122"/><file name="Grid.php" hash="a141a2ecd313131a3282885b7781268c"/></dir><dir name="Openinviter"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="195714b736feb365b208346ab8323385"/></dir><file name="Form.php" hash="b4bdc64549563f0117f65c66f97d0fb8"/><file name="Tabs.php" hash="41a6ef79001601dacba231c9eefd4749"/></dir><file name="Edit.php" hash="2297909cf7059abd6b15080abe9dc586"/><file name="Grid.php" hash="d7c4af65017cbcb83831af451b1488ce"/></dir><dir name="Sponsorship"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="686b9a9a14d57e0f2e7edcf3d4e0416a"/></dir><file name="Form.php" hash="a3a2352db1c72663af0caa289287a9d2"/><file name="Tabs.php" hash="257863f6b317e37110dacc86b783565b"/></dir><file name="Edit.php" hash="40ea8077f12545878ddc0cd0ad2f8cad"/><file name="Grid.php" hash="83a98d5005f4b89dfa275ddea3355c16"/></dir><dir name="Widget"><dir name="Grid"><file name="Renderer.php" hash="35c8a336e1a0e2dcc8d48b558cee9253"/></dir></dir><file name="Change.php" hash="bec41dc1406063e264b15c9755cf3a5c"/><file name="Link.php" hash="922a5716b419d7becb0150cae3bda3de"/><file name="Openinviter.php" hash="291020a06d499b7b12e37e53e1963a08"/><file name="Sponsorship.php" hash="634e37981a47519ba1063be166fc511f"/></dir><dir name="Customer"><dir name="Account"><file name="PointsDetail.php" hash="365a9fc8dfc660fcef3dbbe0a131d289"/></dir><dir name="Form"><file name="Boost.php" hash="33cd49ab1ceed2816feb1d45b1c7a69b"/><file name="PointsChange.php" hash="92a71fe4f081b6c3b85cc645419fac04"/></dir><dir name="Widget"><file name="Name.php" hash="3c82b2d67f219ae56ac37526f72268fe"/><file name="Virement.php" hash="ba25badce7295811fe5deeafa284c114"/></dir></dir><dir name="Promo"><dir name="Catalog"><dir name="Edit"><dir name="Tab"><file name="Actions.php" hash="f5926196fd291cb45c13b5a8e1c018b6"/></dir></dir></dir><dir name="Quote"><dir name="Edit"><dir name="Tab"><file name="Actions.php" hash="4ff4de9b5e4d5200111d602625f91362"/></dir></dir></dir></dir><file name="Openinviter.php" hash="3051e44a791ccab457a37cef01357bd5"/><file name="Sponsorship.php" hash="40c257095b22fe117401af276b1f4bd7"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ChangeController.php" hash="73c1db83413cdf077562f8fb8d4bd8ec"/><file name="LinkController.php" hash="8f6c0efd94f22c15ffd2dd0f287a0e5e"/><file name="OpeninviterController.php" hash="82c2500286cb627c56d8655b79380d77"/><file name="SponsorshipController.php" hash="fff66a866f773ed8f6d3708c9e0d644f"/></dir><dir name="Customer"><file name="AccountController.php" hash="2986c03548b6ff85c2ba016dea953598"/></dir><file name="BoostController.php" hash="c23cca5dfd34c8975f785e7973aa4d79"/><file name="FidelitypointsController.php" hash="7911af35af4a33da338f6d9db0f6b224"/><file name="IndexController.php" hash="e394a4d3f448e40f5461c16c80acefbf"/><file name="OpeninviterController.php" hash="af603cc580fd7f6ea6507a43696b4edb"/><file name="SponsorController.php" hash="b81147d898f8903d5167ab0eed14a8ed"/><file name="SponsorpointsController.php" hash="71a221400c548c44d73a4715078ec51a"/></dir><dir name="etc"><file name="config.xml" hash="7d68a1700db09ce6df509bdca2e8b89a"/><file name="system.xml" hash="169c05a57f8aa8019435e9b425e0d5aa"/></dir><dir name="Helper"><file name="Data.php" hash="10e2e7c3408665a07464cd6c20bf1550"/><file name="Mail.php" hash="9dde8399b8afb7e45347c1b7bc667c3a"/></dir><dir name="Lib"><dir name="OpenInviter"><dir name="conf"><file name="abv.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="aol.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="apropo.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="atlas.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="aussiemail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="azet.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="badoo.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="bebo.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="bigstring.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="bookcrossing.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="bordermail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="brazencareerist.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="canoe.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="care2.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="clevergo.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="cyworld.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="doramail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="eons.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="evite.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="facebook.conf" hash="12cfb187449596c39774c4ac193295cc"/><file name="faces.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="famiva.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="fastmail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="fdcareer.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="flickr.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="flingr.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="flixster.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="fm5.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="freemail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="friendfeed.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="friendster.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="gawab.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="gmail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="gmx_net.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="graffiti.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="hi5.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="hotmail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="hushmail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="hyves.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="inbox.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="india.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="indiatimes.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="inet.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="interia.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="katamail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="kids.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="kincafe.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="konnects.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="koolro.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="lastfm.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="libero.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="linkedin.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="livejournal.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="lovento.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="lycos.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="mail2world.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="mail_com.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="mail_in.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="mail_ru.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="meinvz.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="meta.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="mevio.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="motortopia.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="msn.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="multiply.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="mycatspace.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="mydogspace.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="mynet.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="myspace.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="netaddress.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="netlog.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="ning.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="nz11.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="o2.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="operamail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="orkut.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="perfspot.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="plaxo.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="plazes.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="plurk.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="pochta.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="popstarmail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="rambler.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="rediff.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="sapo.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="skyrock.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="tagged.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="techemail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="terra.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="twitter.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="uk2.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="vimeo.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="virgilio.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="vkontakte.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="walla.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="web_de.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="wpl.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="xanga.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="xing.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="xuqa.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="yahoo.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="yandex.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="youtube.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="zapak.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="_hosted.conf" hash="1d09309103e660729b492433acda9822"/></dir><dir name="images"><file name="ers.gif" hash="cccdfd4ed0795b767d2a01f531781c10"/><file name="oks.gif" hash="6b4b170c9f10a0fa4b25307dd8f47e5b"/></dir><dir name="plugins"><file name="abv.plg.php" hash="1685755eae909c468055b9b36c915822"/><file name="aol.plg.php" hash="71a7666b0a145aae1ac5413ff789973d"/><file name="apropo.plg.php" hash="4426f976c1953383cf9d1f892aa9576e"/><file name="atlas.plg.php" hash="0b8e4237970ae54ff20187f5e861f972"/><file name="aussiemail.plg.php" hash="d40188b33455b3fd2e88cbde25f61709"/><file name="azet.plg.php" hash="e4a7c19450ca1ad84783a06ae3b1d61f"/><file name="badoo.plg.php" hash="b1d4863a173a80fc9d77331f1e60f2df"/><file name="bebo.plg.php" hash="2d7db898c660380ee74963667bec6bae"/><file name="bigstring.plg.php" hash="bb2f4d7d968bf43b4a9fad9ff52fd2ad"/><file name="bookcrossing.plg.php" hash="212a53a3a95659c56e15d6848549e25e"/><file name="bordermail.plg.php" hash="30190fa3da58d63ddd7e30e6ab0190dc"/><file name="brazencareerist.plg.php" hash="c68f39b6d7a07550abd63ed044ad85c2"/><file name="canoe.plg.php" hash="8b3ff7aefeb8d18a7199f6458ef89a16"/><file name="care2.plg.php" hash="c066e81973194cca90036c37c7740937"/><file name="clevergo.plg.php" hash="9bd12fea0eb7f60043bcdca9116cb1bc"/><file name="cyworld.plg.php" hash="1c960c9bb19897621dd4c26666dd5ae6"/><file name="doramail.plg.php" hash="81037085958f90a05111ad030c5a72f8"/><file name="eons.plg.php" hash="35009d6e25ae5584c554808b50145a19"/><file name="evite.plg.php" hash="d6c8acf7c24c2848eccedb269928d6eb"/><file name="facebook.plg.php" hash="179983b943c1b96aa9421776eaecf991"/><file name="faces.plg.php" hash="f71786a835cf05eeec142b85df5a6baa"/><file name="famiva.plg.php" hash="eee1c0a9a6d645baf014245ca2e9c3e9"/><file name="fastmail.plg.php" hash="e90fc58235f2300042d7171bbeb8c8e3"/><file name="fdcareer.plg.php" hash="aad3d525fe09269de056f8ec03e43104"/><file name="flickr.plg.php" hash="217a5e6b3393253da0c32d256f52fe20"/><file name="flingr.plg.php" hash="c2b415851babadb8048609874b411979"/><file name="flixster.plg.php" hash="773fad1c2c1775fcb74fb33f51d1fa24"/><file name="fm5.plg.php" hash="0576df91534edaab3d6b333d1968781a"/><file name="freemail.plg.php" hash="142951e9c20ce4447f44c6db7e5cc2e8"/><file name="friendfeed.plg.php" hash="399c987766110735fdd301979997fe48"/><file name="friendster.plg.php" hash="8b3402876a73bf91a84d3a6d8dbb1951"/><file name="gawab.plg.php" hash="db1174c45ad0c35cce642a0dc1a825a1"/><file name="gmail.plg.php" hash="a4a288e002543c4e167a8ff4540b3ee0"/><file name="gmx_net.plg.php" hash="218b73370a1367455aeee09695bc4e2a"/><file name="graffiti.plg.php" hash="36f6a6f03fceb9b0e008c1a281a17eb2"/><file name="hi5.plg.php" hash="6fbabcad8d4c16eeb7374bbc27b8c979"/><file name="hotmail.plg.php" hash="3dece5995f04e557641c3ea0cea91cd9"/><file name="hushmail.plg.php" hash="d3f9f339ac03c8aa2426f7a2fe4f2606"/><file name="hyves.plg.php" hash="4dca8f35b17070c42bd16fd86352baf3"/><file name="inbox.plg.php" hash="34066ac6458b6506921e11dde302e3c2"/><file name="india.plg.php" hash="cdd4e86f5b21122b2ebf898eb78b0311"/><file name="indiatimes.plg.php" hash="bbbda190c92579f469f0b4712ba9806f"/><file name="inet.plg.php" hash="6bc3da45b492ba41012b25e501c05273"/><file name="interia.plg.php" hash="3fb3cb41913d12228f162ac32539a848"/><file name="katamail.plg.php" hash="2c2c85f1cab23f236295e5340da10511"/><file name="kids.plg.php" hash="5fae2d825799b0793e2b131162ec8e07"/><file name="kincafe.plg.php" hash="39f0d662293f3db3bd9b0bb9e57b8e27"/><file name="konnects.plg.php" hash="0fd4bc3f8361fb7e5f04d277b4f7f121"/><file name="koolro.plg.php" hash="ebc1936657a99eb8b96ee178d9b7e15c"/><file name="lastfm.plg.php" hash="a293d4bde8a36b1868ddc432e1f201e6"/><file name="libero.plg.php" hash="29cbf372f39d77fd0b62d0777ded4317"/><file name="linkedin.plg.php" hash="12d71c803adf655dd865d9dd91fb1066"/><file name="livejournal.plg.php" hash="c9c4bd30963d28eee5038841a7d7c788"/><file name="lovento.plg.php" hash="e26c7fe712efdd69fe3788b02ebf514b"/><file name="lycos.plg.php" hash="41a133d41ef4627b353b0f33149629c0"/><file name="mail2world.plg.php" hash="5737b208425e9d03988303d1c20baac6"/><file name="mail_com.plg.php" hash="5d2c20c61d5ba58c4e4c4fc6e162cb20"/><file name="mail_in.plg.php" hash="bf443e42022a368819bcbb788baaa095"/><file name="mail_ru.plg.php" hash="a911e588bc6e8b790dad186ba2221d0c"/><file name="meinvz.plg.php" hash="bdfc89d072c231e39d7e3dccf12b1a22"/><file name="meta.plg.php" hash="17bd2e282a8509a14c2d440ea02d8961"/><file name="mevio.plg.php" hash="d175cd50dc07d749e7118a3a3b836800"/><file name="motortopia.plg.php" hash="507c050bb6e0cc73884c427d4745c7a0"/><file name="msn.plg.php" hash="2a205b0556aa7b8908dca3b15017db4f"/><file name="multiply.plg.php" hash="e4a780350ba171c890a84999a6389206"/><file name="mycatspace.plg.php" hash="1282b9619ddfcba5d924c0e31ea74cc7"/><file name="mydogspace.plg.php" hash="be44672096adbe4e2532d0a9df027b5f"/><file name="mynet.plg.php" hash="a2a38a688707957e216d3868c8b1741e"/><file name="myspace.plg.php" hash="7b84d123a8be4cc8b0c11b8fd01a0e6e"/><file name="netaddress.plg.php" hash="8e2ccf82123f831b2616c8d3a80f579f"/><file name="netlog.plg.php" hash="dfb64b43a3954bfa5d01d34d2cba4d80"/><file name="ning.plg.php" hash="e59cb73b203a22978ead363c49e48d3d"/><file name="nz11.plg.php" hash="b94995c177198c061b628ddc82d4c7fc"/><file name="o2.plg.php" hash="8e44c5027c493fff7be428ff034f0466"/><file name="operamail.plg.php" hash="5e3a90f0be46b03bcde54eebd76371c9"/><file name="orkut.plg.php" hash="1a291548a82889b36f976bd091260aa5"/><file name="perfspot.plg.php" hash="9d4a9b33f8cf809e5c73bfc517af53db"/><file name="plaxo.plg.php" hash="203f949a4e22b737de2003eb4d3c8af3"/><file name="plazes.plg.php" hash="f6d71432926c126d7f165e6c83a16854"/><file name="plurk.plg.php" hash="e780f5cdd31029cc1b153a1c5b14a965"/><file name="pochta.plg.php" hash="b5732832c05bf982a5950fa32ee4d62a"/><file name="popstarmail.plg.php" hash="a36517a17fa2a461ab890861a4c452fd"/><file name="rambler.plg.php" hash="2a72cbe3e0c12ca123f00f2d113ba02e"/><file name="rediff.plg.php" hash="5679b17973310ecf1ba8b097d3acffaa"/><file name="sapo.plg.php" hash="2bd76d540c454da5f014eba59074e835"/><file name="skyrock.plg.php" hash="4d7497a380a839f28611a21ddea55a89"/><file name="tagged.plg.php" hash="d3ade2b837b7550a09d26d3bc1bd9823"/><file name="techemail.plg.php" hash="9894baf3c22e835dbcf62796327d9f99"/><file name="terra.plg.php" hash="094ae4ab8e63dd0f075a860c9aba2094"/><file name="twitter.plg.php" hash="13482b4ca74e66965a9e9233745b6316"/><file name="uk2.plg.php" hash="ca5238d090e6a65709302a149caf5ffb"/><file name="vimeo.plg.php" hash="de5ab46f0cc5919b242c5b200f0ef724"/><file name="virgilio.plg.php" hash="38df3729142bd2b40792b7a1793446b7"/><file name="vkontakte.plg.php" hash="7db9b7a03e8f4ee2d2d7f5192ec18912"/><file name="walla.plg.php" hash="5340dda0d54849d2e313ab97015db215"/><file name="web_de.plg.php" hash="d3ed9a0c556f08bc5c67f978c7be4727"/><file name="wpl.plg.php" hash="b151407c39c360f49ffb9ca9fd73b32b"/><file name="xanga.plg.php" hash="89b5c2c3db98e735e4d1f19fb1c81786"/><file name="xing.plg.php" hash="2ff8238e6c1e4a08fbe3759d6e627ee8"/><file name="xuqa.plg.php" hash="1219e94f6ef0919025b2c93741e55fbd"/><file name="yahoo.plg.php" hash="50ed7830c0eada02daa7094ca26da87b"/><file name="yandex.plg.php" hash="922e9adc2a936bd6e83aaf331bb7c0b7"/><file name="youtube.plg.php" hash="fc05c436e6c2dd1c6c8fa336e7e893c5"/><file name="zapak.plg.php" hash="2274bd725d3bda8df0ae9d45d3ce1470"/><file name="_base.php" hash="5f7ba1cda90618b60ec44d9ea21afaa1"/><file name="_hosted.plg.php" hash="69514e56e1833df16884b6762bc620ce"/></dir><file name="autoupdate.php" hash="df781d645e37271f23432bb82b3360a2"/><file name="config.php" hash="214c7c6c115e1c8a21b9db03bfb9f64f"/><file name="LICENSE.txt" hash="277c3d400c7488e54746141297a952cb"/><file name="notifier.php" hash="88e3be687de995aae52a8ce248c49bce"/><file name="openinviter.php" hash="3f4ec8433193611284fd5fe2e91a3898"/><file name="POLICY.txt" hash="6262372bc84e172c7fd89d9ac61f9794"/><file name="stats.php" hash="5af8362ab3e9f89f5e8560b2623f767a"/></dir><file name="Html2Text.php" hash="4bd5cf3bd59121ffa9d15b9a60a56ca4"/></dir><dir name="Model"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Sponsorship"><file name="Entier.php" hash="cb45db31cab4b797103d686e03404d6d"/><file name="Float.php" hash="35b76ecdc9065ae9aef1acdee66ab57c"/><file name="Openinviter.php" hash="56bfee472079b2e70d87eb5242fa3d64"/></dir></dir></dir></dir></dir><dir name="Core"><dir name="Email"><file name="Template.php" hash="5ad7985013fff5f28cd76bbec0a71c22"/></dir></dir><dir name="Customer"><file name="Customer.php" hash="1ee0fbe7c2ce96fac9f7dfc97e179a9e"/></dir><dir name="Mysql4"><dir name="CatalogFidelityPoint"><file name="Collection.php" hash="b151b96d8370ea1fe9e309559fb04573"/></dir><dir name="CatalogSponsorPoint"><file name="Collection.php" hash="a56b2950a04ae446dcf82ad4bdfadb07"/></dir><dir name="Change"><file name="Collection.php" hash="99a67418cc7b573f285c04a5d7f6020d"/></dir><dir name="FidelityLog"><file name="Collection.php" hash="7230b303a336da8167709168410c0531"/></dir><dir name="Sponsorlog"><file name="Collection.php" hash="8efa2fb23ec7a6ad2373395ff4739f1e"/></dir><dir name="Sponsorship"><file name="Collection.php" hash="bea288d9bdc6faee88795895eb5bd6ee"/></dir><dir name="Sponsorshipopeninviter"><file name="Collection.php" hash="02d068c627dcfde82019855510d33c1f"/></dir><file name="CatalogFidelityPoint.php" hash="ab4402569102622be8264d135768afbc"/><file name="CatalogSponsorPoint.php" hash="f34d98e76da49afe1e2049dcb3c73626"/><file name="Change.php" hash="fcc6ad58aae6b4051fa997c03b5b5756"/><file name="Fidelitylog.php" hash="47a37a5374c82d3428a6bcc301316ce8"/><file name="Rule.php" hash="2ee2d8879d6ac0be3432e1e5334d77cf"/><file name="Sponsorlog.php" hash="97bde1eef9156b5a20f5f2f92a6fee03"/><file name="Sponsorship.php" hash="2c6d63261112e53a9c442ea3568e2e32"/><file name="Sponsorshipopeninviter.php" hash="ad84d61baa3a105b6f9ff469ca4ba08a"/></dir><dir name="SocialBookmarking"><file name="Bookmarks.php" hash="a8d62f82406b08d3ba8d0e1874f0c717"/></dir><file name="AutoBoost.php" hash="5b2527368d08cade3495819a823ff8f7"/><file name="Bookmarks.php" hash="e4ec03129d8fa6aa30aa259a0ee302ce"/><file name="Change.php" hash="c4e3f0cd6077fab4ebc7e078d031fc3d"/><file name="Changestatut.php" hash="21106c8021072b8f8cf8419fec0ad0a9"/><file name="Fidelitylog.php" hash="1644dc508b0a1c4d06397a48509f652c"/><file name="Observer.php" hash="0c09c9c685ad6285fa7f8c642506e782"/><file name="Openinviter.php" hash="ccaf66522f8b8d7f17590bf2e5ec6d8f"/><file name="Sponsorlog.php" hash="834b0e8e29eff5061abb18621a22ddb5"/><file name="Sponsorship.php" hash="acd91d3c6a6dbe801e7dde41a8d2fb06"/><file name="Sponsorshipopeninviter.php" hash="9b2af360ba8b4c6b233697d2bf8b8798"/><file name="Status.php" hash="ad5779cf7a0887635315b74827780063"/><file name="Validator.php" hash="87d39a07bff5133894f8334f9f5fe967"/></dir><dir name="sql"><dir name="sponsorship_setup"><file name="mysql4-install-0.1.0.php" hash="cde2a97370601a046bcc559e22a7cdb8"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="99c4e9b7ab6d3aab2477195310482242"/><file name="mysql4-upgrade-0.1.1-0.1.2.php" hash="08dc31268dcb35b68abbc4c179f7ed03"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="9966b88c1e297dd4cae297859e4034a0"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="0d55e5801c8e4031aeece7787ffc94c1"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="6de811c47e0031c134a8343e230ca451"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="d6f43e969bf07f5859b1f251540c358d"/><file name="mysql4-upgrade-0.1.6-0.1.7.php" hash="5289d74fa889d0046a19d9714df5572b"/><file name="mysql4-upgrade-0.1.7-0.1.8.php" hash="89acdec2f7785fc2e6e82ff6265e439a"/><file name="mysql4-upgrade-0.1.8-0.1.9.php" hash="02158b6524f5d24c8e9d07022da2aa27"/><file name="mysql4-upgrade-0.1.10-0.1.11.php" hash="b29284b6cf0df556810ed3bdb47fd7dc"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="d6bd4428ca5918e44603d7dbcff23e74"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><file name="sponsorship_coupon.html" hash="0ca5d0c23070e0a6a9f9822ad9612678"/><file name="sponsorship_invitation.html" hash="30fe91c3b83ee223f6bffb3dd779dd26"/></dir></dir></dir><dir name="fr_FR"><dir name="template"><dir name="email"><file name="sponsorship_coupon.html" hash="bbd873e171d6a9ca5f46e04314c39624"/><file name="sponsorship_invitation.html" hash="30fe91c3b83ee223f6bffb3dd779dd26"/></dir></dir><file name="Auguria_Sponsorship.csv" hash="986d23517fec3b5431639f2ae65d380e"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><file name="tableorderer.css" hash="30454132306ff6ac4dcf190aa922b7cc"/></dir><dir name="images"><dir name="tableorderer"><file name="asc.gif" hash="a54846803de3cc786eec3d69f9ac2d38"/><file name="bg.gif" hash="c01ad2e7c59d1a20a433cb873c21bd88"/><file name="bkg_toolbar.gif" hash="fb7ed019476eaa1643af922b59ede4fb"/><file name="desc.gif" hash="f8a1940c9cf44ab8870319169f3a14ff"/></dir></dir></dir></dir></dir></target><target name="magemedia"><dir name="sponsorship"><dir name="openinviter"><file name="logo_auguria.png" hash="cdbd00ab6efa0ff8e3ce6eaaa07c53ce"/></dir></dir></target></contents>
|
32 |
<compatible/>
|
33 |
<dependencies/>
|
34 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Auguria_Sponsorship</name>
|
4 |
+
<version>1.0.5</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL 3.0</license>
|
7 |
<channel>community</channel>
|
26 |
- If you enable automatic sponsorship recall, activate magento cron</description>
|
27 |
<notes>If you have ideas for improvements or find bugs, please send them to Franck Charpentier at www.auguria.net, with Auguria LastReviews as part of the subject line.</notes>
|
28 |
<authors><author><name>Auguria</name><user>auto-converted</user><email>magento@auguria.net</email></author></authors>
|
29 |
+
<date>2010-11-09</date>
|
30 |
+
<time>13:17:29</time>
|
31 |
+
<contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="sponsorship.xml" hash="934da279981ddb250e116b956a262c0c"/></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="sponsorship.xml" hash="8d7ead600805bdd2cc66a0e67a26dcf4"/></dir><dir name="template"><dir name="sponsorship"><dir name="customer"><dir name="account"><dir name="dashboard"><file name="fidelity_points.phtml" hash="afbada11c6c7819daa7a74c0ef186a1b"/><file name="sponsor_points.phtml" hash="a19f3594bfe1b4491bc8f906e08f86bf"/></dir><file name="dashboard.phtml" hash="a42e17c3f2458fdeb19a59c97e88a464"/><file name="fidelitypointsdetail.phtml" hash="e7447e77dbe3aba646fcd153a22c9f83"/><file name="sponsorpointsdetail.phtml" hash="b8bcdc11047f4ea8d0fb7ccee594fc93"/></dir><dir name="form"><dir name="pointschange"><file name="pointschange_cash.phtml" hash="58adf546a6e8aa93b340a2d1aab50e73"/><file name="pointschange_coupon.phtml" hash="0190f17418f5f5b3ffa128e09ffa375e"/><file name="pointschange_gift.phtml" hash="29a244c931252894b98e1a9bf1c40fc4"/></dir><file name="boost.phtml" hash="cf19f616a64094c4ac23a635f83a67d7"/><file name="edit.phtml" hash="5f92457016a32b6277256b0bb19065b9"/><file name="pointschange.phtml" hash="98fced0f1ac113b79e14521fea151afc"/><file name="register.phtml" hash="167d982e147db4195895a5419dd64329"/></dir><dir name="widget"><file name="name.phtml" hash="bfb8c2e90a4e5af55a6479cc122d67b1"/><file name="virement.phtml" hash="74b9c05d0242aa06b6cc35a9abc23751"/></dir></dir><file name="openinviter.phtml" hash="b239707ebefe243d1b072a59f25b0a0b"/><file name="openinviterimport.phtml" hash="8e468750660c4b2556f4f1e1b50bfafb"/><file name="sponsorship.phtml" hash="a39616946d2f49fa0e5b55a74415628f"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Auguria_Sponsorship.xml" hash="2ace21d88c17b2636514543e866169eb"/></dir></dir></dir><dir name="js"><dir name="tableorderer"><file name="table_orderer.js" hash="f23c21e5031d7218f83c9117cf7442eb"/></dir></dir></target><target name="magecommunity"><dir name="Auguria"><dir name="Sponsorship"><dir name="Block"><dir name="Adminhtml"><dir name="Change"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="cd94427577e45107683ea305a557f9d8"/></dir><file name="Form.php" hash="ae7412b583874b8fffc05cc3897f1a2b"/><file name="Tabs.php" hash="14027188a77ed427a54211d61471c962"/></dir><file name="Edit.php" hash="5c266273137c23f763d39d93f5ef82b4"/><file name="Grid.php" hash="9962a69732ae93157eb99ff663608203"/></dir><dir name="Link"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="98a2a13987cb165ee5233dcef0927daa"/></dir><file name="Form.php" hash="e6e087ae96b24d4edbe9e1f578e7a55a"/><file name="Tabs.php" hash="7d67a25094cf51ced551a8b3e21155c1"/></dir><file name="Edit.php" hash="bb82a0a9cd963648d7e6e34c616a0122"/><file name="Grid.php" hash="a141a2ecd313131a3282885b7781268c"/></dir><dir name="Openinviter"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="195714b736feb365b208346ab8323385"/></dir><file name="Form.php" hash="b4bdc64549563f0117f65c66f97d0fb8"/><file name="Tabs.php" hash="41a6ef79001601dacba231c9eefd4749"/></dir><file name="Edit.php" hash="2297909cf7059abd6b15080abe9dc586"/><file name="Grid.php" hash="d7c4af65017cbcb83831af451b1488ce"/></dir><dir name="Sponsorship"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="686b9a9a14d57e0f2e7edcf3d4e0416a"/></dir><file name="Form.php" hash="a3a2352db1c72663af0caa289287a9d2"/><file name="Tabs.php" hash="257863f6b317e37110dacc86b783565b"/></dir><file name="Edit.php" hash="40ea8077f12545878ddc0cd0ad2f8cad"/><file name="Grid.php" hash="83a98d5005f4b89dfa275ddea3355c16"/></dir><dir name="Widget"><dir name="Grid"><file name="Renderer.php" hash="35c8a336e1a0e2dcc8d48b558cee9253"/></dir></dir><file name="Change.php" hash="bec41dc1406063e264b15c9755cf3a5c"/><file name="Link.php" hash="922a5716b419d7becb0150cae3bda3de"/><file name="Openinviter.php" hash="291020a06d499b7b12e37e53e1963a08"/><file name="Sponsorship.php" hash="634e37981a47519ba1063be166fc511f"/></dir><dir name="Customer"><dir name="Account"><file name="PointsDetail.php" hash="503340b9989332914a34314b75f05dd7"/></dir><dir name="Form"><file name="Boost.php" hash="33cd49ab1ceed2816feb1d45b1c7a69b"/><file name="PointsChange.php" hash="92a71fe4f081b6c3b85cc645419fac04"/></dir><dir name="Widget"><file name="Name.php" hash="3c82b2d67f219ae56ac37526f72268fe"/><file name="Virement.php" hash="ba25badce7295811fe5deeafa284c114"/></dir></dir><dir name="Promo"><dir name="Catalog"><dir name="Edit"><dir name="Tab"><file name="Actions.php" hash="f5926196fd291cb45c13b5a8e1c018b6"/></dir></dir></dir><dir name="Quote"><dir name="Edit"><dir name="Tab"><file name="Actions.php" hash="4ff4de9b5e4d5200111d602625f91362"/></dir></dir></dir></dir><file name="Openinviter.php" hash="3051e44a791ccab457a37cef01357bd5"/><file name="Sponsorship.php" hash="40c257095b22fe117401af276b1f4bd7"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ChangeController.php" hash="73c1db83413cdf077562f8fb8d4bd8ec"/><file name="LinkController.php" hash="8f6c0efd94f22c15ffd2dd0f287a0e5e"/><file name="OpeninviterController.php" hash="82c2500286cb627c56d8655b79380d77"/><file name="SponsorshipController.php" hash="fff66a866f773ed8f6d3708c9e0d644f"/></dir><dir name="Customer"><file name="AccountController.php" hash="2986c03548b6ff85c2ba016dea953598"/></dir><file name="BoostController.php" hash="c23cca5dfd34c8975f785e7973aa4d79"/><file name="FidelitypointsController.php" hash="2da584308b4c6b36978acc1b3674a43b"/><file name="IndexController.php" hash="e394a4d3f448e40f5461c16c80acefbf"/><file name="OpeninviterController.php" hash="f7268aa63f3248a4c1c4a61b26990d87"/><file name="SponsorController.php" hash="b81147d898f8903d5167ab0eed14a8ed"/><file name="SponsorpointsController.php" hash="a75460b9177c6d7dc602bad6431f1dde"/></dir><dir name="etc"><file name="config.xml" hash="73c6f8f98b0989879bdd00c85c349d4f"/><file name="system.xml" hash="169c05a57f8aa8019435e9b425e0d5aa"/></dir><dir name="Helper"><file name="Data.php" hash="57de49f9860042fd9c9f8b85b6884b8a"/><file name="Mail.php" hash="9dde8399b8afb7e45347c1b7bc667c3a"/></dir><dir name="Lib"><dir name="OpenInviter"><dir name="conf"><file name="abv.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="aol.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="apropo.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="atlas.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="aussiemail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="azet.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="badoo.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="bebo.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="bigstring.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="bookcrossing.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="bordermail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="brazencareerist.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="canoe.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="care2.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="clevergo.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="cyworld.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="doramail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="eons.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="evite.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="facebook.conf" hash="12cfb187449596c39774c4ac193295cc"/><file name="faces.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="famiva.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="fastmail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="fdcareer.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="flickr.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="flingr.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="flixster.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="fm5.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="freemail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="friendfeed.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="friendster.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="gawab.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="gmail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="gmx_net.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="graffiti.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="hi5.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="hotmail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="hushmail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="hyves.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="inbox.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="india.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="indiatimes.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="inet.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="interia.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="katamail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="kids.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="kincafe.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="konnects.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="koolro.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="lastfm.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="libero.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="linkedin.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="livejournal.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="lovento.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="lycos.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="mail2world.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="mail_com.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="mail_in.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="mail_ru.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="meinvz.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="meta.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="mevio.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="motortopia.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="msn.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="multiply.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="mycatspace.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="mydogspace.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="mynet.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="myspace.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="netaddress.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="netlog.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="ning.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="nz11.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="o2.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="operamail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="orkut.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="perfspot.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="plaxo.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="plazes.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="plurk.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="pochta.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="popstarmail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="rambler.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="rediff.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="sapo.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="skyrock.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="tagged.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="techemail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="terra.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="twitter.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="uk2.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="vimeo.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="virgilio.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="vkontakte.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="walla.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="web_de.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="wpl.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="xanga.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="xing.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="xuqa.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="yahoo.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="yandex.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="youtube.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="zapak.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="_hosted.conf" hash="1d09309103e660729b492433acda9822"/></dir><dir name="images"><file name="ers.gif" hash="cccdfd4ed0795b767d2a01f531781c10"/><file name="oks.gif" hash="6b4b170c9f10a0fa4b25307dd8f47e5b"/></dir><dir name="plugins"><file name="abv.plg.php" hash="1685755eae909c468055b9b36c915822"/><file name="aol.plg.php" hash="dd3522033c2cafeb62fd0beed5949bcf"/><file name="apropo.plg.php" hash="4426f976c1953383cf9d1f892aa9576e"/><file name="atlas.plg.php" hash="0b8e4237970ae54ff20187f5e861f972"/><file name="aussiemail.plg.php" hash="d40188b33455b3fd2e88cbde25f61709"/><file name="azet.plg.php" hash="e4a7c19450ca1ad84783a06ae3b1d61f"/><file name="badoo.plg.php" hash="b1d4863a173a80fc9d77331f1e60f2df"/><file name="bebo.plg.php" hash="2d7db898c660380ee74963667bec6bae"/><file name="bigstring.plg.php" hash="7de7a5516a8f0c71580970d8da4121eb"/><file name="bookcrossing.plg.php" hash="212a53a3a95659c56e15d6848549e25e"/><file name="bordermail.plg.php" hash="30190fa3da58d63ddd7e30e6ab0190dc"/><file name="brazencareerist.plg.php" hash="c68f39b6d7a07550abd63ed044ad85c2"/><file name="canoe.plg.php" hash="7737d89b163689cb793f0f37f6028efb"/><file name="care2.plg.php" hash="c066e81973194cca90036c37c7740937"/><file name="clevergo.plg.php" hash="9bd12fea0eb7f60043bcdca9116cb1bc"/><file name="cyworld.plg.php" hash="588dfdddcc2bc9ab2ff26c4616e0a42c"/><file name="doramail.plg.php" hash="81037085958f90a05111ad030c5a72f8"/><file name="eons.plg.php" hash="35009d6e25ae5584c554808b50145a19"/><file name="evite.plg.php" hash="d6c8acf7c24c2848eccedb269928d6eb"/><file name="facebook.plg.php" hash="6a1cfdc0dfc76b3dc3781aa2327ee833"/><file name="faces.plg.php" hash="d0affdf4e73ff6134acfaae5fda29323"/><file name="famiva.plg.php" hash="eee1c0a9a6d645baf014245ca2e9c3e9"/><file name="fastmail.plg.php" hash="da86fea25210ed40258ae2a107dcfe8f"/><file name="fdcareer.plg.php" hash="aad3d525fe09269de056f8ec03e43104"/><file name="flickr.plg.php" hash="055d1e64f116113379e3192b23dc84fc"/><file name="flingr.plg.php" hash="c2b415851babadb8048609874b411979"/><file name="flixster.plg.php" hash="773fad1c2c1775fcb74fb33f51d1fa24"/><file name="fm5.plg.php" hash="0576df91534edaab3d6b333d1968781a"/><file name="freemail.plg.php" hash="142951e9c20ce4447f44c6db7e5cc2e8"/><file name="friendfeed.plg.php" hash="399c987766110735fdd301979997fe48"/><file name="friendster.plg.php" hash="8b3402876a73bf91a84d3a6d8dbb1951"/><file name="gawab.plg.php" hash="c4cb42d893a99b370d9597f20da5c01e"/><file name="gmail.plg.php" hash="83d92f7f75e048210aec2fdecdbd67e0"/><file name="gmx_net.plg.php" hash="218b73370a1367455aeee09695bc4e2a"/><file name="graffiti.plg.php" hash="36f6a6f03fceb9b0e008c1a281a17eb2"/><file name="hi5.plg.php" hash="ba133ae4e865c10f6ce3ddc738751374"/><file name="hotmail.plg.php" hash="ef3241a0a43020412162d8f6dd9dd206"/><file name="hushmail.plg.php" hash="d3f9f339ac03c8aa2426f7a2fe4f2606"/><file name="hyves.plg.php" hash="4dca8f35b17070c42bd16fd86352baf3"/><file name="inbox.plg.php" hash="34066ac6458b6506921e11dde302e3c2"/><file name="india.plg.php" hash="cdd4e86f5b21122b2ebf898eb78b0311"/><file name="indiatimes.plg.php" hash="bbbda190c92579f469f0b4712ba9806f"/><file name="inet.plg.php" hash="6bc3da45b492ba41012b25e501c05273"/><file name="interia.plg.php" hash="3fb3cb41913d12228f162ac32539a848"/><file name="katamail.plg.php" hash="2c2c85f1cab23f236295e5340da10511"/><file name="kids.plg.php" hash="5fae2d825799b0793e2b131162ec8e07"/><file name="kincafe.plg.php" hash="39f0d662293f3db3bd9b0bb9e57b8e27"/><file name="konnects.plg.php" hash="0fd4bc3f8361fb7e5f04d277b4f7f121"/><file name="koolro.plg.php" hash="ebc1936657a99eb8b96ee178d9b7e15c"/><file name="lastfm.plg.php" hash="a293d4bde8a36b1868ddc432e1f201e6"/><file name="libero.plg.php" hash="29cbf372f39d77fd0b62d0777ded4317"/><file name="linkedin.plg.php" hash="a705475d12bb2458d9bad14497211a14"/><file name="livejournal.plg.php" hash="c9c4bd30963d28eee5038841a7d7c788"/><file name="lovento.plg.php" hash="e26c7fe712efdd69fe3788b02ebf514b"/><file name="lycos.plg.php" hash="41a133d41ef4627b353b0f33149629c0"/><file name="mail2world.plg.php" hash="5737b208425e9d03988303d1c20baac6"/><file name="mail_com.plg.php" hash="5d2c20c61d5ba58c4e4c4fc6e162cb20"/><file name="mail_in.plg.php" hash="bf443e42022a368819bcbb788baaa095"/><file name="mail_ru.plg.php" hash="64b7d2daef963b4fd7e72dd969a04cd2"/><file name="meinvz.plg.php" hash="409380a6ca5c70f8f7ae998d37195115"/><file name="meta.plg.php" hash="17bd2e282a8509a14c2d440ea02d8961"/><file name="mevio.plg.php" hash="d175cd50dc07d749e7118a3a3b836800"/><file name="motortopia.plg.php" hash="507c050bb6e0cc73884c427d4745c7a0"/><file name="msn.plg.php" hash="2a205b0556aa7b8908dca3b15017db4f"/><file name="multiply.plg.php" hash="22e5d241084c259a79330eebff508d95"/><file name="mycatspace.plg.php" hash="1282b9619ddfcba5d924c0e31ea74cc7"/><file name="mydogspace.plg.php" hash="be44672096adbe4e2532d0a9df027b5f"/><file name="mynet.plg.php" hash="a2a38a688707957e216d3868c8b1741e"/><file name="myspace.plg.php" hash="bfcabb115825937a9ed4f9745f52ca7e"/><file name="netaddress.plg.php" hash="8e2ccf82123f831b2616c8d3a80f579f"/><file name="netlog.plg.php" hash="246411cc237ef587d31003c03c61b05b"/><file name="ning.plg.php" hash="e59cb73b203a22978ead363c49e48d3d"/><file name="nz11.plg.php" hash="b94995c177198c061b628ddc82d4c7fc"/><file name="o2.plg.php" hash="8e44c5027c493fff7be428ff034f0466"/><file name="operamail.plg.php" hash="5e3a90f0be46b03bcde54eebd76371c9"/><file name="orkut.plg.php" hash="1a291548a82889b36f976bd091260aa5"/><file name="perfspot.plg.php" hash="9d4a9b33f8cf809e5c73bfc517af53db"/><file name="plaxo.plg.php" hash="d640845713388d7c87a206b3f51060f2"/><file name="plazes.plg.php" hash="f6d71432926c126d7f165e6c83a16854"/><file name="plurk.plg.php" hash="e780f5cdd31029cc1b153a1c5b14a965"/><file name="pochta.plg.php" hash="b5732832c05bf982a5950fa32ee4d62a"/><file name="popstarmail.plg.php" hash="a36517a17fa2a461ab890861a4c452fd"/><file name="rambler.plg.php" hash="148cfdfa5b4e5eb2479692dd9f1533a7"/><file name="rediff.plg.php" hash="5679b17973310ecf1ba8b097d3acffaa"/><file name="sapo.plg.php" hash="2bd76d540c454da5f014eba59074e835"/><file name="skyrock.plg.php" hash="1d6113c0c726f48c250160bcc7826aa2"/><file name="tagged.plg.php" hash="1a88811dfd57937db6aece3026f7f99a"/><file name="techemail.plg.php" hash="9894baf3c22e835dbcf62796327d9f99"/><file name="terra.plg.php" hash="094ae4ab8e63dd0f075a860c9aba2094"/><file name="twitter.plg.php" hash="a385725eb41c3cc003c52429295d1355"/><file name="uk2.plg.php" hash="ca5238d090e6a65709302a149caf5ffb"/><file name="vimeo.plg.php" hash="de5ab46f0cc5919b242c5b200f0ef724"/><file name="virgilio.plg.php" hash="38df3729142bd2b40792b7a1793446b7"/><file name="vkontakte.plg.php" hash="7db9b7a03e8f4ee2d2d7f5192ec18912"/><file name="walla.plg.php" hash="5340dda0d54849d2e313ab97015db215"/><file name="web_de.plg.php" hash="d3ed9a0c556f08bc5c67f978c7be4727"/><file name="wpl.plg.php" hash="b151407c39c360f49ffb9ca9fd73b32b"/><file name="xanga.plg.php" hash="89b5c2c3db98e735e4d1f19fb1c81786"/><file name="xing.plg.php" hash="4f89f01bb8bcbc856441cb6ecb2fbe60"/><file name="xuqa.plg.php" hash="1219e94f6ef0919025b2c93741e55fbd"/><file name="yahoo.plg.php" hash="f2953a803d0d61ffce2c9136d1706758"/><file name="yandex.plg.php" hash="2c211df8b0511fb8c832a00976f2cee1"/><file name="youtube.plg.php" hash="fc05c436e6c2dd1c6c8fa336e7e893c5"/><file name="zapak.plg.php" hash="2274bd725d3bda8df0ae9d45d3ce1470"/><file name="_base.php" hash="79459bef6fcea96f6a7d4a584add9052"/><file name="_hosted.plg.php" hash="69514e56e1833df16884b6762bc620ce"/></dir><file name="autoupdate.php" hash="df781d645e37271f23432bb82b3360a2"/><file name="config.php" hash="6c16534afd6e50dfda0c5be417bd6fe7"/><file name="LICENSE.txt" hash="277c3d400c7488e54746141297a952cb"/><file name="notifier.php" hash="88e3be687de995aae52a8ce248c49bce"/><file name="openinviter.php" hash="d2c0237f86cd7c21dadc2c441e73abb1"/><file name="POLICY.txt" hash="6262372bc84e172c7fd89d9ac61f9794"/><file name="stats.php" hash="5af8362ab3e9f89f5e8560b2623f767a"/></dir><file name="Html2Text.php" hash="4bd5cf3bd59121ffa9d15b9a60a56ca4"/></dir><dir name="Model"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Sponsorship"><file name="Entier.php" hash="cb45db31cab4b797103d686e03404d6d"/><file name="Float.php" hash="35b76ecdc9065ae9aef1acdee66ab57c"/><file name="Openinviter.php" hash="b4ac237d528a505bb389f9b29d2ec486"/></dir></dir></dir></dir></dir><dir name="Core"><dir name="Email"><file name="Template.php" hash="5ad7985013fff5f28cd76bbec0a71c22"/></dir></dir><dir name="Customer"><file name="Customer.php" hash="1ee0fbe7c2ce96fac9f7dfc97e179a9e"/></dir><dir name="Mysql4"><dir name="CatalogFidelityPoint"><file name="Collection.php" hash="b151b96d8370ea1fe9e309559fb04573"/></dir><dir name="CatalogSponsorPoint"><file name="Collection.php" hash="a56b2950a04ae446dcf82ad4bdfadb07"/></dir><dir name="Change"><file name="Collection.php" hash="99a67418cc7b573f285c04a5d7f6020d"/></dir><dir name="FidelityLog"><file name="Collection.php" hash="7230b303a336da8167709168410c0531"/></dir><dir name="Sponsorlog"><file name="Collection.php" hash="8efa2fb23ec7a6ad2373395ff4739f1e"/></dir><dir name="Sponsorship"><file name="Collection.php" hash="bea288d9bdc6faee88795895eb5bd6ee"/></dir><dir name="Sponsorshipopeninviter"><file name="Collection.php" hash="02d068c627dcfde82019855510d33c1f"/></dir><file name="CatalogFidelityPoint.php" hash="ab4402569102622be8264d135768afbc"/><file name="CatalogSponsorPoint.php" hash="f34d98e76da49afe1e2049dcb3c73626"/><file name="Change.php" hash="fcc6ad58aae6b4051fa997c03b5b5756"/><file name="Fidelitylog.php" hash="47a37a5374c82d3428a6bcc301316ce8"/><file name="Rule.php" hash="2ee2d8879d6ac0be3432e1e5334d77cf"/><file name="Sponsorlog.php" hash="97bde1eef9156b5a20f5f2f92a6fee03"/><file name="Sponsorship.php" hash="2c6d63261112e53a9c442ea3568e2e32"/><file name="Sponsorshipopeninviter.php" hash="ad84d61baa3a105b6f9ff469ca4ba08a"/></dir><dir name="SocialBookmarking"><file name="Urls.php" hash="8507b7302d5aa76c9b6bc8e1e92e0598"/></dir><file name="AutoBoost.php" hash="5b2527368d08cade3495819a823ff8f7"/><file name="Change.php" hash="c4e3f0cd6077fab4ebc7e078d031fc3d"/><file name="Changestatut.php" hash="21106c8021072b8f8cf8419fec0ad0a9"/><file name="Fidelitylog.php" hash="1644dc508b0a1c4d06397a48509f652c"/><file name="Observer.php" hash="10de641fc273af9dd06d7a106dccb755"/><file name="Openinviter.php" hash="a10e89360e9d94d46afc69b7c13fc047"/><file name="Sponsorlog.php" hash="834b0e8e29eff5061abb18621a22ddb5"/><file name="Sponsorship.php" hash="acd91d3c6a6dbe801e7dde41a8d2fb06"/><file name="Sponsorshipopeninviter.php" hash="9b2af360ba8b4c6b233697d2bf8b8798"/><file name="Status.php" hash="ad5779cf7a0887635315b74827780063"/><file name="Validator.php" hash="87d39a07bff5133894f8334f9f5fe967"/></dir><dir name="sql"><dir name="sponsorship_setup"><file name="mysql4-install-0.1.0.php" hash="cde2a97370601a046bcc559e22a7cdb8"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="99c4e9b7ab6d3aab2477195310482242"/><file name="mysql4-upgrade-0.1.1-0.1.2.php" hash="08dc31268dcb35b68abbc4c179f7ed03"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="9966b88c1e297dd4cae297859e4034a0"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="0d55e5801c8e4031aeece7787ffc94c1"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="6de811c47e0031c134a8343e230ca451"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="d6f43e969bf07f5859b1f251540c358d"/><file name="mysql4-upgrade-0.1.6-0.1.7.php" hash="5289d74fa889d0046a19d9714df5572b"/><file name="mysql4-upgrade-0.1.7-0.1.8.php" hash="89acdec2f7785fc2e6e82ff6265e439a"/><file name="mysql4-upgrade-0.1.8-0.1.9.php" hash="02158b6524f5d24c8e9d07022da2aa27"/><file name="mysql4-upgrade-0.1.10-0.1.11.php" hash="b29284b6cf0df556810ed3bdb47fd7dc"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="d6bd4428ca5918e44603d7dbcff23e74"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><file name="sponsorship_coupon.html" hash="0ca5d0c23070e0a6a9f9822ad9612678"/><file name="sponsorship_invitation.html" hash="30fe91c3b83ee223f6bffb3dd779dd26"/></dir></dir></dir><dir name="fr_FR"><dir name="template"><dir name="email"><file name="sponsorship_coupon.html" hash="bbd873e171d6a9ca5f46e04314c39624"/><file name="sponsorship_invitation.html" hash="30fe91c3b83ee223f6bffb3dd779dd26"/></dir></dir><file name="Auguria_Sponsorship.csv" hash="276da561eeefe61b89d4fcb92ef356a9"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><file name="tableorderer.css" hash="30454132306ff6ac4dcf190aa922b7cc"/></dir><dir name="images"><dir name="tableorderer"><file name="asc.gif" hash="a54846803de3cc786eec3d69f9ac2d38"/><file name="bg.gif" hash="c01ad2e7c59d1a20a433cb873c21bd88"/><file name="bkg_toolbar.gif" hash="fb7ed019476eaa1643af922b59ede4fb"/><file name="desc.gif" hash="f8a1940c9cf44ab8870319169f3a14ff"/></dir></dir></dir></dir></dir></target><target name="magemedia"><dir name="sponsorship"><dir name="openinviter"><file name="logo_auguria.png" hash="cdbd00ab6efa0ff8e3ce6eaaa07c53ce"/></dir></dir></target></contents>
|
32 |
<compatible/>
|
33 |
<dependencies/>
|
34 |
</package>
|