Changeset 571251
- Timestamp:
- 07/12/2012 01:01:04 PM (14 years ago)
- Location:
- purlem-personal-url-marketing/trunk
- Files:
-
- 2 edited
-
purlem.php (modified) (4 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
purlem-personal-url-marketing/trunk/purlem.php
r521365 r571251 4 4 Plugin URI: http://purlem.com 5 5 Description: Personalize your blog to visitors and track results with Personalized URLs (PURLs). <strong>The Plugin Requires a <a href='http://www.purlem.com'>Purlem Account</a>.</strong> 6 Version: 1.1. 66 Version: 1.1.3 7 7 Author: Marty Thomas 8 8 Author URI: http://purlem.com/company … … 33 33 add_action('the_title', 'display_purl_header'); 34 34 add_action('widgets_init', create_function('', 'return register_widget("PurlemWidget");')); 35 add_action(' wp_head', 'purlCSS');35 add_action('the_post', 'purlCSS'); 36 36 37 37 … … 71 71 72 72 function display_purl_code() { 73 $uri = explode('/',$_SERVER['REQUEST_URI']); 74 if(!$_GET['page']) $_GET['page'] = $uri[2]; 75 if(!is_numeric($_GET['page'])) $_GET['page'] = $uri[3]; 76 if(!is_numeric($_GET['page'])) $_GET['page'] = $uri[4]; 77 73 78 if(get_option('purlapi') == 'file_get_contents') { 74 79 $data = @file_get_contents('http://www.purlapi.com/lp/index.php?ID='.$_GET["ID"].'&name='.$_GET["purl"].'&page='.$_GET["page"].'&test='.$_GET["test"].'&wordpress='.$_GET["wordpress"]); … … 81 86 $user = json_decode($data); 82 87 @session_start(); 83 if($_GET['username']) $_SESSION['visitor']=$_GET['username'];84 88 if($user->{'login'} && ($_SESSION['visitor'] != $user->{'firstName'}.''.$user->{'lastName'})) { 85 echo $user->{'login'};89 echo $user->{'login'}; 86 90 exit; 87 } 91 } 88 92 $_SESSION['user'] = $user; 89 93 } -
purlem-personal-url-marketing/trunk/readme.txt
r521365 r571251 5 5 Requires at least: 2.1 6 6 Tested up to: 3.2.1 7 Stable tag: 1.1. 67 Stable tag: 1.1.7 8 8 9 9 Personalize your blog to visitors and track results with Personalized URLs (PURLs). The Plugin Requires a Purlem Account.
Note: See TracChangeset
for help on using the changeset viewer.