Plugin Directory

Changeset 1828212


Ignore:
Timestamp:
02/24/2018 10:35:03 AM (8 years ago)
Author:
Voltroid
Message:

update 1.0.5

Location:
optinpoint-lite
Files:
218 added
86 edited

Legend:

Unmodified
Added
Removed
  • optinpoint-lite/trunk/README.txt

    r1719216 r1828212  
    66Tags:  plugin, newsletter, newsletter signup, checkbox, newsletter, optin, opt-in, registration form, shortcode, sign-up form, subscribe, subscriptions, widget,  analytics, automatic, collect email, double optin, email, exit popup, exit-intent, growth, hellobar, lightbox, links, mail, newsletters, optin forms, popover, popup, pop-up, popup domination, popupdomination, post, posts, subscribe, subscribers, subscription, referrer, search engine, social sharing, cookie, customizable, responsive, aweber, getresponse, icontact, campaign monitor, constant contact, vertical response, active campaign, mad mimi, campaign, form, wordpress, sendgrid, hubspot, benchmark email, woocommerce, wpml, visual composer, vc, vc addon, visual composer addon, convertkit, mailster, mymail, mailer lite, mailerlite, drip
    77Requires at least: 3.8
    8 Tested up to: 4.8
    9 Stable tag: 1.0.4
     8Tested up to: 4.9
     9Stable tag: 1.0.5
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4242* Subscription on Light box, Widgets, Slider, Topbar, Flipbox and On Page
    4343* Custom Forms
    44 * Built in Editor 
     44* Built in Editor
    4545* 650+ Google fonts
    4646* 100+ Icons
     
    5252* Button Customization
    5353* Live Editor
    54 * Search engine Target 
     54* Search engine Target
    5555* User Status Based Filter
    5656* Cookie Based Lightbox
    57 * Scroll Toggle Detection 
    58 * Fully Responsive 
     57* Scroll Toggle Detection
     58* Fully Responsive
    5959* Multi-Device Filter
    60 * Filter By Page Type 
     60* Filter By Page Type
    6161* Light Box Open Delay
    6262* Inactivity based events
     
    8282> * Scroll Toggle % Custamization
    8383> * Slider Behaviour
    84 > * Post/Page Level Targeting 
     84> * Post/Page Level Targeting
    8585> * Targeting Social Networking Vistors
    8686> * Targeting URL Shorteners
    87 > * Targeting Specific URLs 
     87> * Targeting Specific URLs
    8888> * Scrollable Lightbox for long forms
    8989> * Custom CSS editor
     
    132132== Changelog ==
    133133
     134= 1.0.5 =
     135* Added support for Zoho Campaigns
     136* Added support for MailPoet 3
     137* Updated Google Fonts List
     138* Fixed responsive designs for lightbox
     139* Fixed class bug in Leo theme of Addon
     140* Fixed Widget selection bug
     141* Fixed MSIE field label issue
     142* Fixed Spinner bug
     143* Fixed PHP 7 issue
     144* Fixed Minor Bugs
     145* Fixed Responsive design when softkeyboard activated
     146
    134147= 1.0.4 =
    135148* Added support for Drip
  • optinpoint-lite/trunk/admin/assets/css/admin.css

    r1719216 r1828212  
    26922692    -ms-transform: rotate(45deg);
    26932693    -webkit-transform: rotate(45deg);
    2694     -moz-transform: rotate(45deg); 
     2694    -moz-transform: rotate(45deg);
    26952695    transform: rotate(45deg);
    26962696    background:#CD3E2D;
     
    27132713color: #bdbdbd;
    27142714}
    2715 .featbox::before{ 
     2715.featbox::before{
    27162716content:'';
    27172717height: 28px;
  • optinpoint-lite/trunk/admin/assets/js/admin.js

    r1719216 r1828212  
    660660                    extfill:1
    661661                },
     662                mp: {name:'MailPoet 3',
     663                    ltype:1,
     664                    extfill:0,
     665                    disable: (optpointset.mailpoet ? 0 : 1)
     666                },
    662667                ms: {name:'Mailster (formerly MyMail)',
    663668                    ltype:1,
     
    717722                    ltype:1,
    718723                    extfill:1
     724                },
     725                zc: {name:'Zoho Campaigns',
     726                    func:[
     727                        function(){
     728                            if($scope.remote.chk())return;
     729                            if(!isset($scope.mailserv.config.key) || !isset($scope.mailserv.config.key[0]) || $scope.mailserv.config.key[0].length == 0){
     730                                $scope.addErr('Enter API Key');
     731                                return;
     732                            }
     733                            $scope.remote.lock();
     734                            $http.post(optinpint_script.ajaxurl+'?action=optinpoint_mailserv_connect&step=0&optinpoint_service=1',$scope.mailserv.config)
     735                                .then(function (a) {
     736                                    if(a.status == 200 && a.data.data.code == 0){
     737                                        $scope.mailserv.isConfig = 3;
     738                                        $scope.remote.unlock(2);
     739                                    }
     740                                    else{
     741                                        $scope.addErr('Incorrect API Key');
     742                                        $scope.remote.unlock(3);
     743                                    }
     744                                },function (a) {
     745                                    $scope.remote.unlock(3);
     746                                    $scope.addErr('Error');
     747                            });
     748                        }
     749                    ],
     750                    ltype:1,
     751                    extfill:1
    719752                }
    720753            },
     
    925958                add:function(i){
    926959                    if(!isset($scope.form.tform.fields[i].extras))$scope.form.tform.fields[i].extras = [];
    927                     $scope.form.tform.fields[i].extras.push({"name":"New Option"});
     960                    if($scope.form.tform.fields[i].type !== "singlecheck")$scope.form.tform.fields[i].extras.push({"name":"New Option"});
     961                    else $scope.form.tform.fields[i].extras.push({"name":"1","label":"New Option"});
    928962                },
    929963                del:function(i,j){
     
    10191053                if($scope.remote.chk())return;
    10201054               
    1021                 var files = evt.target.files; 
     1055                var files = evt.target.files;
    10221056                var f = files[0];
    1023                 var reader = new FileReader(); 
     1057                var reader = new FileReader();
    10241058                reader.readAsText(f);
    10251059                reader.onload = function() {
  • optinpoint-lite/trunk/admin/class-optinpoint-admin.php

    r1719216 r1828212  
    11<?php
    2 /** 
     2/**
    33 * OptinPoint Lite - Advanced Subscription Hub For Wordpress
    44 *
     
    1313 * @package   OptinPoint Lite - Advanced Subscription Hub For Wordpress
    1414 * @author    Voltroid<care@voltroid.com>
    15  * 
     15 *
    1616 */
    1717class OptinPoint_Lite_Assistant_Admin {
     
    123123            }
    124124            $opt['mymail'] = ( function_exists( 'mailster' ) )?true:false;
     125            $opt['mailpoet'] = ( MAILPOET_VERSION !== null)?true:false;
    125126            $opt['goog_fonts']=json_decode(file_get_contents(OPPOINT_PLUGIN_PATH.'src/google_fonts.json'),true);
    126127            $opt['web_fonts']=$this->plugin->webfont();
     
    250251     * Ajax call for one Click Backup and Restore
    251252     * @since    1.0.0
    252      * 
     253     *
    253254     */
    254255    public function restorebackup(){
     
    289290     * Voltroid Control Panel Icon
    290291     * @since    1.0.0
    291      * 
     292     *
    292293     */
    293294public function admin_css() {
     
    315316     * Function to remove Null Value
    316317     * @since    1.0.0
    317      * 
     318     *
    318319     */
    319320    function myFilter($var){
  • optinpoint-lite/trunk/admin/includes/addon0.php

    r1606342 r1828212  
    2323.optinpointb p{
    2424  margin-bottom: 10px;
    25   line-height: 20px; 
     25  line-height: 20px;
    2626font-size: {{theme.msg_f.s||'14'}}px;
    2727font-family: {{theme.msg_f.f | livepf}};
     
    177177position: relative;
    178178}
    179 .optinpointb .optinpoint-signal {   
     179.optinpointb .optinpoint-signal {
    180180
    181181}
  • optinpoint-lite/trunk/admin/includes/addon1.php

    r1606342 r1828212  
    269269            </div>
    270270        </div>
    271         <div class="optinpoint" id="optinpoint">           
     271        <div class="optinpoint" id="optinpoint">
    272272            <div><div class="optpoint-live-sc righthov" ng-click="prev.goto(2)" data-optno="4" data-lhint="Go to Text Box Settings" style="right: -50px;">2</div>
    273273              <div class="addon_tbox"><div class="in-name">Name</div></div>
     
    300300              <div class="addon_spinner" ng-bind-html="getSpin('7','optinpointb',theme.spinner_c||'#000')"></div>
    301301            </div>
    302            
     302
    303303          </div>
    304304  </div>
  • optinpoint-lite/trunk/admin/includes/addon8.php

    r1606342 r1828212  
    240240<div id="optinpointb" class="optinpointb"  ng-class="{'wosoc':theme.addon_dissoc}">
    241241  <div class="optpoint-live-sc" ng-click="prev.goto(8)" data-lhint="Go to Additional Theme Options" style="margin:-30px">7</div>
    242        
     242
    243243          <div><div class="optpoint-live-sc" ng-click="prev.goto(1)" data-lhint="Go to Custom Message Settings">1</div>
    244244            <div class="addon_heading">{{theme.heading}}</div>
    245245            <div class="addon_msg"><p ng-bind-html="theme.msg | safe"></p></div>
    246246            </div>
    247         <div class="optinpoint" id="optinpoint"> 
     247        <div class="optinpoint" id="optinpoint">
    248248              <div class="optinpoint_formbox">
    249          
     249
    250250            <div><div class="optpoint-live-sc righthov" ng-click="prev.goto(2)" data-lhint="Go to Text Box Settings" style="right: -50px;">2</div>
    251251              <div class="addon_tbox">Name</div>
     
    286286              </div>
    287287            </div>
    288            
     288
    289289          </div>
    290290
    291      
    292            
     291
     292
    293293  </div>
    294294</div>
  • optinpoint-lite/trunk/admin/includes/addon9.php

    r1606342 r1828212  
    209209<div id="optinpointb" class="optinpointb">
    210210  <div class="optpoint-live-sc" ng-click="prev.goto(8)" data-lhint="Go to Additional Theme Options" style="margin:-30px">7</div>
    211        
     211
    212212          <div><div class="optpoint-live-sc" ng-click="prev.goto(1)" data-lhint="Go to Custom Message Settings">1</div>
    213213            <div class="addon_heading">{{theme.heading}}</div>
    214214            <div class="addon_msg"><p ng-bind-html="theme.msg | safe"></p></div>
    215215            </div>
    216         <div class="optinpoint" id="optinpoint"> 
     216        <div class="optinpoint" id="optinpoint">
    217217            <div><div class="optpoint-live-sc righthov" ng-click="prev.goto(2)" data-lhint="Go to Text Box Settings" style="right: -50px;">2</div>
    218218              <div class="addon_tbox pericon"><div class="in-text in-name">Name</div></div>
     
    247247              </div>
    248248            </div>
    249       <div><div class="wpmc-live-sc" ng-click="gotos($event)" data-optno="9" data-lhint="Go to Tag Settings">6</div>
    250           <div class="wpmchimpa-tag" ng-bind-html="data.theme.a9.addon_tag||'Secure and Spam free...' | safe"></div></div>
     249      <div><div class="optpoint-live-sc" ng-click="gotos($event)" data-optno="9" data-lhint="Go to Tag Settings">6</div>
     250          <div class="optinpoint-tag" ng-bind-html="data.theme.a9.addon_tag||'Secure and Spam free...' | safe"></div></div>
    251251          </div>
    252252  </div>
  • optinpoint-lite/trunk/admin/includes/lightbox0.php

    r1620057 r1828212  
    146146top: 2em;
    147147right:2em;
    148 -moz-transform: rotate(45deg); 
     148-moz-transform: rotate(45deg);
    149149-o-transform: rotate(45deg);
    150150-ms-transform: rotate(45deg);
     
    176176}
    177177.optinpoint-overlay-bg .optinpoint-close-button:hover {
    178 background-color: #fff; 
     178background-color: #fff;
    179179-ms-transform: rotate(225deg);
    180180-webkit-transform: rotate(225deg);
    181 -moz-transform: rotate(225deg); 
    182 -o-transform: rotate(225deg); 
    183 transform: rotate(225deg); 
    184 } 
     181-moz-transform: rotate(225deg);
     182-o-transform: rotate(225deg);
     183transform: rotate(225deg);
     184}
    185185.optinpoint-overlay-bg .optinpoint-close-button:hover::after {
    186186background-color: #7e7e7e;
  • optinpoint-lite/trunk/admin/includes/lightbox1.php

    r1606342 r1828212  
    225225background-image: url({{theme.lite_img1||'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIxMjBweCIgaGVpZ2h0PSIxMjBweCIgdmlld0JveD0iMCAwIDEyMCAxMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEyMCAxMjAiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxnPjxwYXRoIG9wYWNpdHk9IjAuMiIgZmlsbD0iIzAyMDIwMiIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAgICAiIGQ9Ik0xMTkuNiw5Mi45YzAsNC40LTMuNiw3LjktOCw3LjloLTEwMWMtNC40LDAtOC0zLjUtOC03LjlWMjQuMmMwLTQuNCwzLjYtNy45LDgtNy45aDEwMWM0LjQsMCw4LDMuNSw4LDcuOVY5Mi45eiIvPjxwYXRoIGZpbGw9IiNDNjMyM0QiIGQ9Ik0xLjgsMjljLTAuMywwLjgtMC40LDEuOC0wLjQsMi43djU4LjljMCw1LjEsNC4xLDkuMiw5LjIsOS4yaDk5YzUuMSwwLDkuMi00LjEsOS4yLTkuMlYzMS43YzAtMC45LTAuMi0xLjgtMC40LTIuN0gxLjh6Ii8+PGxpbmVhckdyYWRpZW50IGlkPSJTVkdJRF8xXyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSIyNDIuMTYxNCIgeTE9Ii0yOTcuMDQyIiB4Mj0iMzU1LjE3MzgiIHkyPSItMjk3LjA0MiIgZ3JhZGllbnRUcmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAtMSAtMjM3LjYgLTIzOC44NCkiPjxzdG9wICBvZmZzZXQ9IjAiIHN0eWxlPSJzdG9wLWNvbG9yOiNGRkZGRkY7c3RvcC1vcGFjaXR5OjAiLz48c3RvcCAgb2Zmc2V0PSIwLjE0MzQiIHN0eWxlPSJzdG9wLWNvbG9yOiNENEQ0RDQ7c3RvcC1vcGFjaXR5OjAuMTI5MSIvPjxzdG9wICBvZmZzZXQ9IjAuNDYiIHN0eWxlPSJzdG9wLWNvbG9yOiM3QTdBN0E7c3RvcC1vcGFjaXR5OjAuNDE0Ii8+PHN0b3AgIG9mZnNldD0iMC43MTgiIHN0eWxlPSJzdG9wLWNvbG9yOiMzODM4Mzg7c3RvcC1vcGFjaXR5OjAuNjQ2MiIvPjxzdG9wICBvZmZzZXQ9IjAuOTA0MiIgc3R5bGU9InN0b3AtY29sb3I6IzEwMTAxMDtzdG9wLW9wYWNpdHk6MC44MTM4Ii8+PHN0b3AgIG9mZnNldD0iMSIgc3R5bGU9InN0b3AtY29sb3I6IzAwMDAwMDtzdG9wLW9wYWNpdHk6MC45Ii8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBvcGFjaXR5PSI2LjAwMDAwMGUtMDAyIiBmaWxsPSJ1cmwoI1NWR0lEXzFfKSIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAgICAiIGQ9Ik0xMTIuNiw5NC40TDkuNCwyMy40Yy0xLjktMS4zLTMuMy0yLjktNC4yLTQuOGMtMC40LDEuMS0wLjcsMi4zLTAuNywzLjV2NjYuNWMwLDUuMSw0LjEsOS4yLDkuMiw5LjJoOTljMS44LDAsMy40LTAuNSw0LjgtMS40QzExNS45LDk2LjEsMTE0LjEsOTUuNSwxMTIuNiw5NC40eiIvPjxwYXRoIGZpbGw9IiNENkQ2RDYiIGQ9Ik0xMC44LDk2LjNsMTAzLjItNzFjMS45LTEuMywzLjMtMi45LDQuMi00LjhjMC40LDEuMSwwLjcsMi4zLDAuNywzLjV2NjYuNWMwLDUuMS00LjEsOS4yLTkuMiw5LjJoLTk5Yy0xLjgsMC0zLjQtMC41LTQuOC0xLjRDNy41LDk4LjEsOS4zLDk3LjMsMTAuOCw5Ni4zeiIvPjxwYXRoIGZpbGw9IiNFRkVGRUYiIGQ9Ik0xMDguOSw5Ni43TDUuNywyNS43Yy0xLjktMS4zLTMuMy0yLjktNC4yLTQuOGMtMC40LDEuMS0wLjcsMi4zLTAuNywzLjV2NjYuNWMwLDUuMSw0LjEsOS4yLDkuMiw5LjJoOTljMS44LDAsMy40LTAuNSw0LjgtMS40QzExMi4xLDk4LjUsMTEwLjQsOTcuNywxMDguOSw5Ni43eiIvPjxwYXRoIG9wYWNpdHk9IjAuOCIgZmlsbD0iI0U1RTVFNSIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAgICAiIGQ9Ik0xMDguOSw5Ni43TDU5LjYsNjIuN0wxMC4zLDk2LjdjLTEuNSwxLjEtMy4zLDEuOC00LjksMi4xYzEuNCwwLjgsMywxLjQsNC44LDEuNGg0My43aDU1LjJjMS44LDAsMy40LTAuNSw0LjgtMS40QzExMi4xLDk4LjUsMTEwLjQsOTcuNywxMDguOSw5Ni43eiIvPjxwYXRoIG9wYWNpdHk9IjAuMSIgZmlsbD0iIzAyMDIwMiIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAgICAiIGQ9Ik0xMTguNywyNS4zYzAtMC42LTAuMS0xLjEtMC4yLTEuNmMwLjMtMC4xLDAuNy0wLjIsMS0wLjNjLTAuNC0wLjItMC44LTAuNC0xLjItMC43Yy0xLjEtMy44LTQuNi02LjUtOC43LTYuNUgxMS4yYy00LjMsMC03LjksMi45LTguOCw2LjljLTAuMiwwLjEtMC40LDAuMi0wLjYsMC4zYzAuMiwwLjEsMC4zLDAuMSwwLjQsMC4xYy0wLjEsMC42LTAuMiwxLjItMC4yLDEuN2MwLDAsMC4yLTAuNCwwLjctMS41YzAuOSwxLjgsMi4zLDMuNCw0LjEsNC42bDUzLjUsMzYuNGw1My41LTM2LjNjMS44LTEuMiwzLjItMi45LDQuMS00LjZoMC4xQzExOC41LDI0LjksMTE4LjcsMjUuMywxMTguNywyNS4zeiIvPjxwYXRoIGZpbGw9IiNFOEU4RTgiIGQ9Ik0xMDkuNiwxNC42SDEwLjNjLTUuMSwwLTkuMiw0LjEtOS4yLDkuMmMwLDAsMC4yLTAuNCwwLjctMS41QzIuNywyNC4xLDQuMSwyNS43LDYsMjdsNTMuOSwzNy4ybDU0LTM3LjFjMS45LTEuMywzLjMtMi45LDQuMi00LjhjMC40LDEuMSwwLjcsMS41LDAuNywxLjVDMTE4LjcsMTguOCwxMTQuNiwxNC42LDEwOS42LDE0LjZ6Ii8+PC9nPjwvc3ZnPg=='}});
    226226background-repeat: no-repeat;
    227 background-position: center; 
     227background-position: center;
    228228border: 15px solid {{theme.bg_c || '#fff'}};
    229229height: 170px;
     
    422422            </div>
    423423      <div class="optinpoint-close-button"></div>
    424         </div>       
     424        </div>
    425425    </div>
    426426</div>
  • optinpoint-lite/trunk/admin/includes/lightbox8.php

    r1606342 r1828212  
    324324            </div>
    325325            </div>
    326          
    327          
     326
     327
    328328                </div>
    329329          </div>
    330330            </div>
    331331      <div class="optinpoint-close-button"></div>
    332     </div>       
     332    </div>
    333333</div>
  • optinpoint-lite/trunk/admin/includes/lightbox9.php

    r1606342 r1828212  
    288288            </div>
    289289      <div class="optinpoint-close-button"></div>
    290     </div>       
     290    </div>
    291291</div>
  • optinpoint-lite/trunk/admin/includes/slider0.php

    r1606342 r1828212  
    3838#optinpoints .optinpoint-groups{
    3939display: inline-block;
    40 overflow:auto; 
     40overflow:auto;
    4141}
    4242#optinpoints .optinpoint-item{
     
    183183background: {{theme.slider_trigger_bg || '#000'}};
    184184}
    185 #optinpoints-trig:before{ 
     185#optinpoints-trig:before{
    186186content:{{getIcon('a01',32,theme.slider_trigger_c||'#fff')}};
    187187height: 32px;
  • optinpoint-lite/trunk/admin/includes/slider1.php

    r1606342 r1828212  
    253253background: {{theme.slider_trigger_bg || '#0066CB'}};
    254254}
    255 #optinpoints-trig:before{ 
     255#optinpoints-trig:before{
    256256content:{{getIcon('a04',32,theme.slider_trigger_c||'#fff')}};
    257257height: 32px;
     
    287287        </div>
    288288        <div class="optinpoints">
    289            
     289
    290290            <div><div class="optpoint-live-sc righthov" ng-click="prev.goto(2)" data-lhint="Go to Text Box Settings" style="right: -20px;">2</div>
    291291              <div class="slider_tbox"><div class="in-name">Name</div></div>
     
    319319              <div class="slider_spinner" ng-bind-html="getSpin('7','optinpoints',theme.spinner_c||'#000')"></div>
    320320            </div>
    321            
     321
    322322          </div>
    323            
     323
    324324  </div>
    325325</div>
  • optinpoint-lite/trunk/admin/includes/slider8.php

    r1606342 r1828212  
    259259background: {{theme.slider_trigger_bg || '#262E43'}};
    260260}
    261 #optinpoints-trig:before{ 
     261#optinpoints-trig:before{
    262262content:{{getIcon('b05',32,theme.slider_trigger_c||'#fff')}};
    263263height: 32px;
     
    326326            </div>
    327327            </div>
    328            
     328
    329329  </div>
    330330</div>
  • optinpoint-lite/trunk/admin/includes/slider9.php

    r1606342 r1828212  
    226226background: {{theme.slider_trigger_bg || '#27313B'}};
    227227}
    228 #optinpoints-trig:before{ 
     228#optinpoints-trig:before{
    229229content:{{getIcon('b06',32,theme.slider_trigger_c||'#fff')}};
    230230height: 32px;
     
    256256              <div class="slider_tbox pericon"><div class="in-text in-name">Name</div></div>
    257257            </div>
    258           <div class="optinpoint_formbox"> 
     258          <div class="optinpoint_formbox">
    259259            <div class="slider_tbox mailicon"><div class="in-text in-mail">Email address</div>
    260260              <div>
  • optinpoint-lite/trunk/admin/includes/widget0.php

    r1606342 r1828212  
    1919#optinpointw .optinpoint-groups{
    2020  display: block;
    21   overflow:auto; 
     21  overflow:auto;
    2222}
    2323#optinpointw .optinpoint-item{
     
    189189    <div class="widget_tbox"><div class="in-name">Name</div></div>
    190190    <div class="widget_tbox"><div class="in-mail">Email address</div></div>
    191   </div>   
     191  </div>
    192192  <div><div class="optpoint-live-sc righthov" ng-click="prev.goto(4)" data-lhint="Go to Button Settings" style="left:30px;">3</div>
    193193    <div class="optinpoint-subs-button">{{theme.button}}</div>
  • optinpoint-lite/trunk/admin/includes/widget8.php

    r1606342 r1828212  
    233233<div id="optinpointw" ng-class="{'wosoc':theme.widget_dissoc}">
    234234  <div class="optpoint-live-sc" ng-click="prev.goto(8)" data-lhint="Go to Additional Theme Options" style="margin:-25px">7</div>
    235        
     235
    236236        <div class="optinpointw">
    237237            <div><div class="optpoint-live-sc" ng-click="prev.goto(1)" data-lhint="Go to Custom Message Settings">1</div>
  • optinpoint-lite/trunk/admin/includes/widget9.php

    r1606342 r1828212  
    210210<div id="optinpointw">
    211211  <div class="optpoint-live-sc" ng-click="prev.goto(8)" data-lhint="Go to Additional Theme Options" style="margin:-25px">7</div>
    212        
     212
    213213        <div class="optinpointw">
    214214            <div><div class="optpoint-live-sc" ng-click="prev.goto(1)" data-lhint="Go to Custom Message Settings">1</div>
  • optinpoint-lite/trunk/admin/views/admin.php

    r1719216 r1828212  
    11<?php
    2 /** 
     2/**
    33 * OptinPoint - Advanced Subscription Hub For Wordpress
    44 *
     
    1313    <div class="optpoint_header">
    1414        <div class="h_mid"></div>
    15     </div> 
     15    </div>
    1616    <div class="optpoint_toolbar">
    1717        <div class="optpoint_tabs">
     
    3333                </svg>
    3434            </div>
    35             <div class="optpoint_status optpoint_updated" ng-if="isLoading == 2"></div>               
    36             <div class="optpoint_status optpoint_error" ng-if="isLoading == 3"></div>               
     35            <div class="optpoint_status optpoint_updated" ng-if="isLoading == 2"></div>
     36            <div class="optpoint_status optpoint_error" ng-if="isLoading == 3"></div>
    3737        </div>
    38     </div> 
     38    </div>
    3939
    4040    <div class="optpoint_content">
  • optinpoint-lite/trunk/admin/views/admin_addon.php

    r1700646 r1828212  
    212212            <div class="optpoint_compac">
    213213                <input id="ao2" type="radio" ng-model="data.addon_orient" value="mid">
    214                 <label for="ao2">Mid <div class="orientvdemo mido"></div></label> 
     214                <label for="ao2">Mid <div class="orientvdemo mido"></div></label>
    215215            </div>
    216216            <div class="optpoint_compac">
    217217                <input id="ao3" type="radio" ng-model="data.addon_orient" value="bot">
    218                 <label for="ao3">Bottom <div class="orientvdemo boto"></div></label> 
     218                <label for="ao3">Bottom <div class="orientvdemo boto"></div></label>
    219219            </div>
    220220            <div style="clear:both"></div>
  • optinpoint-lite/trunk/admin/views/admin_advanced.php

    r1611096 r1828212  
    5454        </div>
    5555        <div class="optpoint_group">
    56             <div class="optpoint_para">One click backup and restore 
     56            <div class="optpoint_para">One click backup and restore
    5757                <span class="optpoint_hint" data-hint="You can save your settings and restore it later"></span>
    5858            </div>
     
    6969        </div>
    7070        <div class="optpoint_group">
    71             <div class="optpoint_para">One click plugin reset 
     71            <div class="optpoint_para">One click plugin reset
    7272                <span class="optpoint_hint" data-hint="Reset your plugin to default values"></span>
    7373            </div>
  • optinpoint-lite/trunk/admin/views/admin_general.php

    r1719216 r1828212  
    301301                                                            <div ng-click="cfield.type = 'radio'" ng-show="cfield.not || cfield.typesel == 'choice' || cfield.typesel == 'single_select' || cfield.typesel == 'single'">radio</div>
    302302                                                            <div ng-click="cfield.type = 'select'" ng-show="cfield.not || cfield.typesel == 'choice' || cfield.typesel == 'single_select' || cfield.typesel == 'single'">select</div>
     303                                                            <div ng-click="cfield.type = 'singlecheck'" ng-show="cfield.not || cfield.typesel == 'choice' || cfield.typesel == 'single_select' || cfield.typesel == 'single'">single checkbox</div>
    303304                                                            <div ng-click="cfield.type = 'multiselect'" ng-show="cfield.not || cfield.typesel == 'choice' || cfield.typesel == 'multi_select'">multiselect</div>
    304305                                                        </div>
     
    323324                                                </div>
    324325                                            </div>
    325                                             <div class="optpoint_tablefed_row" ng-if="field.extra.fill() && ['checkbox','radio','select','multiselect'].indexOf(cfield.type) >= 0">
     326                                            <div class="optpoint_tablefed_row" ng-if="(field.extra.fill() || cfield.type == 'singlecheck') && ['checkbox','radio','select','multiselect','singlecheck'].indexOf(cfield.type) >= 0">
    326327                                                <label>Options</label>
    327328                                                <div class="optpoint_tablefed_col">
    328329                                                    <div class="optpoint_tablefed_opt" ng-repeat="(k,v) in cfield.extras track by k">
    329                                                         <div ng-if="field.extra.fill()">
     330                                                        <div ng-if="field.extra.fill() || cfield.type == 'singlecheck'">
    330331                                                            <input type="text" class="optpoint_tabtext" required ng-model="cfield.extras[k].label" ng-if="cfield.extras[k].label">
    331332                                                            <input type="text" class="optpoint_tabtext" required ng-model="cfield.extras[k].name" ng-if="!cfield.extras[k].label">
    332333                                                            <div class="bar"></div>
    333                                                             <div class="fed_ico mul_del" ng-click="field.extra.del($parent.$parent.$index, $index)"></div>
    334                                                         </div>
    335                                                         <div ng-if="!field.extra.fill()">
     334                                                            <div class="fed_ico mul_del" ng-click="field.extra.del($parent.$parent.$index, $index)" ng-if="cfield.type !== 'singlecheck'"></div>
     335                                                        </div>
     336                                                        <div ng-if="!field.extra.fill() && cfield.type !== 'singlecheck'">
    336337                                                        {{cfield.extras[k].label || cfield.extras[k].name}}
    337338                                                        </div>
    338339                                                    </div>
    339                                                     <div class="optpoint_tablefed_optadd" ng-click="field.extra.add($parent.$index)" ng-if="field.extra.fill()"></div>
     340                                                    <div class="optpoint_tablefed_optadd" ng-click="field.extra.add($parent.$index)" ng-if="field.extra.fill() || (cfield.extras.length == 0 && cfield.type == 'singlecheck')"></div>
    340341                                                    <div ng-if="!cfield.extras || cfield.extras.length == 0" class="optpoint_tablefed_optemp">Empty</div>
    341342                                                </div>
  • optinpoint-lite/trunk/admin/views/admin_lightbox.php

    r1700646 r1828212  
    4242        </div>
    4343        <div class="optpoint_group optpoint_cb">
    44             <label><input type="checkbox" ng-model="data.lite_desktop" ng-true-value="'1'"> 
     44            <label><input type="checkbox" ng-model="data.lite_desktop" ng-true-value="'1'">
    4545            <div class="mcheckbox"></div>Desktop</label>
    4646        </div>
    4747        <div class="optpoint_group optpoint_cb">
    48             <label><input type="checkbox" ng-model="data.lite_tablet" ng-true-value="'1'"> 
     48            <label><input type="checkbox" ng-model="data.lite_tablet" ng-true-value="'1'">
    4949            <div class="mcheckbox"></div>Tablet</label>
    5050        </div>
    5151        <div class="optpoint_group optpoint_cb">
    52             <label><input type="checkbox" ng-model="data.lite_mobile" ng-true-value="'1'"> 
     52            <label><input type="checkbox" ng-model="data.lite_mobile" ng-true-value="'1'">
    5353            <div class="mcheckbox"></div>Mobile</label>
    5454        </div>
     
    9393            <span class="optpoint_hint headhint" data-hint="Adjust the behaviour"></span>
    9494        </div>
    95         <div class="optpoint_group optpoint_txts optpoint_cb"> 
     95        <div class="optpoint_group optpoint_txts optpoint_cb">
    9696            <label>Appear after</label>
    9797            <input type="text" class="optpoint_texts" ng-model="data.lite_behave_time">
     
    100100            <div class="mcheckbox"></div>of Inactivity</label>
    101101        </div>
    102         <div class="optpoint_group optpoint_txts optpoint_cb"> 
     102        <div class="optpoint_group optpoint_txts optpoint_cb">
    103103            <label><input type="checkbox" ng-model="data.lite_behave_scroll" ng-true-value="'1'">
    104104            <div class="mcheckbox"></div>Appear after</label>
     
    106106            <span>% of the page scrolled</span>
    107107        </div>
    108         <div class="optpoint_group optpoint_txts optpoint_cb"> 
     108        <div class="optpoint_group optpoint_txts optpoint_cb">
    109109            <label><input type="checkbox" ng-model="data.lite_behave_cookie" ng-true-value="'1'">
    110110            <div class="mcheckbox"></div>Reappear after</label>
     
    118118            <span class="optpoint_hint headhint" data-hint="When to close the lightbox"></span>
    119119        </div>
    120         <div class="optpoint_group optpoint_txts"> 
     120        <div class="optpoint_group optpoint_txts">
    121121            <label>Disappear after</label>
    122122            <input type="text" class="optpoint_texts" ng-model="data.lite_close_time">
  • optinpoint-lite/trunk/admin/views/admin_slider.php

    r1700646 r1828212  
    101101            <div class="optpoint_compac">
    102102                <input id="so2" type="radio" ng-model="data.slider_orient" value="right">
    103                 <label for="so2">Right <div class="orientdemo righto"></div></label> 
     103                <label for="so2">Right <div class="orientdemo righto"></div></label>
    104104            </div>
    105105            <div style="clear:both"></div>
    106106        </div>
    107         <div class="optpoint_group optpoint_txts optpoint_cb"> 
     107        <div class="optpoint_group optpoint_txts optpoint_cb">
    108108            <label>Appear after</label>
    109109            <input type="text" class="optpoint_texts" ng-model="data.slider_behave_time">
     
    117117                <span class="optpoint_hint" data-hint="If not selected, visitors need to click close button to exit the slider"></span>
    118118        </div>
    119         <div class="optpoint_group optpoint_txts optpoint_cb"> 
    120             <label><input type="checkbox" ng-model="slider_trigger_scroll" ng-true-value="'1'"> 
     119        <div class="optpoint_group optpoint_txts optpoint_cb">
     120            <label><input type="checkbox" ng-model="slider_trigger_scroll" ng-true-value="'1'">
    121121            <div class="mcheckbox"></div>Trigger appear after</label>
    122122            <input type="text" class="optpoint_texts" value="50" disabled>
  • optinpoint-lite/trunk/admin/views/admin_theme_opt.php

    r1700646 r1828212  
    3939        <optfont ng-model="theme.heading_f"></optfont>
    4040        <optcolor ng-model="theme.heading_fc" optlab="Font Color"></optcolor>
    41         <div class="optpoint_group"> 
     41        <div class="optpoint_group">
    4242            <div class="optpoint_para">Message
    4343                <span class="optpoint_hint" data-hint="Sub-heading"></span>
  • optinpoint-lite/trunk/optinpoint.php

    r1719216 r1828212  
    1212 * Plugin URI:        http://voltroid.com/optinpoint
    1313 * Description:       All-in-one Subscription Plugin
    14  * Version:           1.0.4
     14 * Version:           1.0.5
    1515 * Author:            Voltroid
    1616 * Author URI:        http://voltroid.com
  • optinpoint-lite/trunk/public/assets/js/public.js

    r1719216 r1828212  
    325325            success:function(data){
    326326                oppo_subing = 0;
    327                 $(optpo).removeClass('signalshow');
    328327                if(data >= 1){
    329328                    if(opposucurl()){$('.optinpoint-overlay-bg').hide();}
     
    341340                else
    342341                    $(optpo).find('[oppoerr="gen"]').html(oppo_errmsg[4]);
     342                $(optpo).removeClass('signalshow');
    343343            }
    344344        });
     
    474474    }
    475475};
     476msieversion = function() {
     477    var ua = window.navigator.userAgent;
     478    var msie = ua.indexOf("MSIE ");
     479    if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\:11\./))
     480        return true;
     481    return false;
     482}
     483if(msieversion()){
     484    $(".optinpoint-field input").on("keyup", function() {
     485        var label = $(this).parent().find(".inputlabel");
     486        if($(this).val()) {
     487            $(label).hide();
     488        } else {
     489            $(label).show();
     490        }
     491    });
     492}
    476493function show_oppo_litebox(){
    477494    if(x==1)return;
  • optinpoint-lite/trunk/public/class-optinpoint.php

    r1719216 r1828212  
    1313 * @package   OptinPoint Lite - Advanced Subscription Hub For Wordpress
    1414 * @author    Voltroid<care@voltroid.com>
    15  * 
     15 *
    1616 */
    1717class OptinPoint_Lite_Assistant {
     
    2121     * @var      string
    2222     */
    23     const VERSION = '1.0.4';
     23    const VERSION = '1.0.5';
    2424
    2525    /**
     
    6565
    6666        add_action('wp_ajax_optinpoint_lite_add_email_ajax',  array( $this, 'subscribe' ));
    67         add_action('wp_ajax_nopriv_optinpoint_lite_add_email_ajax',  array( $this, 'subscribe' )); 
     67        add_action('wp_ajax_nopriv_optinpoint_lite_add_email_ajax',  array( $this, 'subscribe' ));
    6868
    6969        add_filter( 'comment_form_field_comment', array($this,'commentfield' ));
     
    257257        break;
    258258        case 'multi_select':
     259        case 'singlecheck':
    259260        case 'checkbox':
    260261            $t = '';
     
    435436                break;
    436437            case 'multi_select':
     438            case 'singlecheck':
    437439            case 'checkbox':
    438440                if($set['type']==1 || $set['type']==2 || $set['type']==4){
     
    866868
    867869    if (function_exists('curl_init') && function_exists('curl_setopt')){
    868         $cSession = curl_init(); 
     870        $cSession = curl_init();
    869871        curl_setopt($cSession,CURLOPT_URL,$url);
    870872        curl_setopt($cSession,CURLOPT_RETURNTRANSFER,true);
    871         curl_setopt($cSession,CURLOPT_HEADER, false); 
     873        curl_setopt($cSession,CURLOPT_HEADER, false);
    872874        $result = curl_exec($cSession);
    873875        curl_close($cSession);
     
    913915     * Ajax call to add email to list
    914916     * @since    1.0.0
    915      * 
     917     *
    916918     */
    917919    public function subscribe($a){
     
    930932     * Render the addon and append to the content
    931933     * @since    1.0.0
    932      * 
     934     *
    933935     */
    934936    public function addon_adder($content){
     
    943945            $temppos = strpos($content,$tempseek);
    944946            if(strpos($content,$tempseek)) return $content;
    945             ob_start(); 
     947            ob_start();
    946948            include('includes/bottom_content.php');
    947949            $msg = ob_get_clean();
     
    952954                            $sch = "</p>";
    953955                            $content = str_replace("</P>", $sch, $content);
    954                             $arr = explode($sch, $content);                 
     956                            $arr = explode($sch, $content);
    955957                            $nn = 0; $mm = strlen($content)/2;
    956958                            for($i=0;$i<count($arr);$i++) {
     
    958960                                if($nn>$mm) {
    959961                                    if( ($mm - ($nn - strlen($arr[$i]))) > ($nn - $mm) && $i+1<count($arr) ) {
    960                                         $arr[$i+1] = stripslashes( $msg).$arr[$i+1];                                                       
     962                                        $arr[$i+1] = stripslashes( $msg).$arr[$i+1];
    961963                                    } else {
    962964                                        $arr[$i] = stripslashes( $msg).$arr[$i];
     
    976978
    977979    /**
    978      * Register shortcodes 
     980     * Register shortcodes
    979981     * addon_scode
    980982     * addon_unlock
    981983     * @since    1.0.0
    982      * 
     984     *
    983985     */
    984986function register_shortcodes(){
     
    989991     * Render the addon as shortcode and append to the content
    990992     * @since    1.0.0
    991      * 
     993     *
    992994     */
    993995function addon_scode($atts, $content = null) {
     
    996998                return $content;
    997999    $this->loadscripts();
    998     ob_start(); 
     1000    ob_start();
    9991001    include('includes/bottom_content.php');
    10001002    $msg = ob_get_clean();
     
    10401042     * Return SVG icons for the themes
    10411043     * @since    1.0.0
    1042      * 
     1044     *
    10431045     */
    10441046    public function getIcon($icon,$size='250',$color='#000',$attr='1'){
     
    15771579     * Render the spinners for the themes
    15781580     * @since    1.0.0
    1579      * 
     1581     *
    15801582     */
    15811583    public function getSpin($spin,$pre,$color='#000'){
     
    15981600     * Add field to comment box
    15991601     * @since    1.0.0
    1600      * 
     1602     *
    16011603     */
    16021604    public function commentfield( $comment_field ) {
     
    16251627     * Subscribe user from comment
    16261628     * @since    1.0.0
    1627      * 
     1629     *
    16281630     */
    16291631    public function commentpost($comment_ID){
     
    16521654     * Add field to Registration box
    16531655     * @since    1.0.0
    1654      * 
     1656     *
    16551657     */
    16561658    public function regfield(){
     
    16611663     * Subscribe user from registration
    16621664     * @since    1.0.0
    1663      * 
     1665     *
    16641666     */
    16651667    public function regpost(){
  • optinpoint-lite/trunk/public/includes/addon0.php

    r1719216 r1828212  
    1 <?php 
     1<?php
    22$theme['msg'] = htmlspecialchars_decode($theme['msg']);
    33?>
     
    1212  padding: 50px;
    1313  display: none;
    14   <?php 
     14  <?php
    1515        if(isset($theme["bg_c"])){
    1616            echo 'background:'.$theme["bg_c"].';';
     
    2020.optinpointb h3{
    2121  font-size: 18px;
    22   <?php 
     22  <?php
    2323        if(isset($theme["heading_f"]['f'])){
    2424    array_push($oppo_font, $theme["heading_f"]['f']);
     
    4545  font-size: 14px;
    4646  line-height: 20px;
    47     <?php 
     47    <?php
    4848        if(isset($theme["msg_f"]['f'])){
    4949    array_push($oppo_font, $theme["msg_f"]['f']);
     
    6060width:80%;
    6161margin: 0 auto 12px auto;
    62 <?php 
     62<?php
    6363  if(isset($theme["tbox_w"])){
    6464      echo 'width:'.$theme["tbox_w"].'px;';
     
    7777left: 0;
    7878pointer-events: none;
    79 <?php 
     79<?php
    8080if(isset($theme["tbox_h"])){
    8181  echo 'width:'.$theme["tbox_h"].'px;';
     
    8787.optinpointb .oppo-ficon .inputlabel{
    8888  padding-left: 45px;
    89   <?php 
     89  <?php
    9090if(isset($theme["tbox_h"])){
    9191  echo 'padding-left:'.$theme["tbox_h"].'px;';
     
    118118    box-sizing: border-box;
    119119    font-size: 16px;
    120     <?php 
     120    <?php
    121121        if(isset($theme["tbox_f"]['f'])){
    122122    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    160160background: no-repeat center;
    161161background-image: <?=$this->getIcon('dd',16,'#000');?>;
    162 <?php 
     162<?php
    163163if(isset($theme["tbox_h"])){
    164164  echo 'width:'.$theme["tbox_h"].'px;';
     
    180180white-space: nowrap;
    181181text-align: center;
    182 <?php 
     182<?php
    183183if(isset($theme["tbox_f"]['f'])){
    184184    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    230230}
    231231.optinpointb .optinpoint-item{
    232   <?php 
     232  <?php
    233233    $pline = 2;
    234234    if(isset($pline))echo 'width:'.(100/$pline).'%;';
     
    290290background-image: <?php
    291291        $tfi='ch1';
    292        
     292
    293293        $tfc='#fff';
    294294        if(isset($theme["check_ic"])){$tfc=$theme["check_ic"];}
     
    402402
    403403    background:#8BD331;
    404    
     404
    405405  color:#fff;
    406     <?php 
     406    <?php
    407407        if(isset($theme["button_bch"])){
    408408            echo 'background:'.$theme["button_bch"].';';
    409409        }
    410         else{ ?> 
     410        else{ ?>
    411411          background: -moz-linear-gradient(left, #8BD331 0%, #8bd331 100%);
    412412        background: -webkit-gradient(linear, left top, right top, color-stop(0%,#8BD331), color-stop(100%,#8bd331));
     
    426426.optinpointb .optinpoint-subs-button.subsicon:before{
    427427padding-left: 45px;
    428   <?php 
     428  <?php
    429429  if(isset($theme["button_w"])){
    430430      echo 'padding-left:'.$theme["button_h"].'px;';
     
    440440left: 0;
    441441pointer-events: none;
    442   <?php 
     442  <?php
    443443  if(isset($theme["button_h"])){
    444444      echo 'width:'.$theme["button_h"].'px;';
     
    548548  'type' => 1
    549549  );
    550 $this->stfield($form['fields'],$set); 
     550$this->stfield($form['fields'],$set);
    551551?>
    552552<div class="optinpoint-subs-button<?php echo (isset($theme['button_i']) && $theme['button_i'] != 'inone' && $theme['button_i'] != 'idef')? ' subsicon' : '';?>"></div>
     
    556556                  echo '<div class="optinpoint-tag">'.$tagtxt.'</div>';
    557557                  }?>
    558     <div class="optinpoint-signalc"><div class="optinpoint-signal"><?php 
     558    <div class="optinpoint-signalc"><div class="optinpoint-signal"><?php
    559559            echo $this->getSpin('1','optinpointb',isset($theme["spinner_c"])?$theme["spinner_c"]:'#000');?></div></div>
    560560    </form>
  • optinpoint-lite/trunk/public/includes/addon1.php

    r1719216 r1828212  
    1 <?php 
     1<?php
    22$theme['msg'] = htmlspecialchars_decode($theme['msg']);
    33$this->social=true;
     
    2525display: inline-block;
    2626float: left;
    27 <?php 
     27<?php
    2828        if(isset($theme["addon_dissoc"])){
    2929          echo 'display:none;';
     
    4040.optinpointb h3{
    4141  font-size: 18px;
    42   <?php 
     42  <?php
    4343        if(isset($theme["heading_f"]['f'])){
    4444    array_push($oppo_font, $theme["heading_f"]['f']);
     
    7272width:100%;
    7373margin: 0 auto 12px auto;
    74 <?php 
     74<?php
    7575  if(isset($theme["tbox_w"])){
    7676      echo 'width:'.$theme["tbox_w"].'px;';
     
    8989left: 0;
    9090pointer-events: none;
    91 <?php 
     91<?php
    9292if(isset($theme["tbox_h"])){
    9393  echo 'width:'.$theme["tbox_h"].'px;';
     
    9999.optinpointb .oppo-ficon  input[type="text"] ~ .inputlabel{
    100100  padding-left: 45px;
    101   <?php 
     101  <?php
    102102if(isset($theme["tbox_h"])){
    103103  echo 'padding-left:'.$theme["tbox_h"].'px;';
     
    128128outline:0;
    129129display: block;
    130     <?php 
     130    <?php
    131131        if(isset($theme["tbox_f"]['f'])){
    132132    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    170170background: no-repeat center;
    171171background-image: <?=$this->getIcon('dd',16,'#000');?>;
    172 <?php 
     172<?php
    173173if(isset($theme["tbox_h"])){
    174174  echo 'width:'.$theme["tbox_h"].'px;';
     
    190190font-weight:500;
    191191white-space: nowrap;
    192 <?php 
     192<?php
    193193if(isset($theme["tbox_f"]['f'])){
    194194    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    238238}
    239239.optinpointb .optinpoint-item{
    240   <?php 
     240  <?php
    241241   $pline = 2;
    242242    if(isset($pline))echo 'width:'.(100/$pline).'%;';
     
    286286background-image: <?php
    287287        $tfi='ch6';
    288        
     288
    289289        $tfc='#000';
    290290        if(isset($theme["check_ic"])){$tfc=$theme["check_ic"];}
     
    401401<?php if(isset($theme["button_fch"])){
    402402        echo 'color:'.$theme["button_fch"].';';
    403     }   
     403    }
    404404    if(isset($theme["button_bch"])){
    405405        echo 'background-color:'.$theme["button_bch"].';';
     
    414414.optinpointb .optinpoint-subs-button.subsicon:before{
    415415padding-left: 45px;
    416   <?php 
     416  <?php
    417417  if(isset($theme["button_w"])){
    418418      echo 'padding-left:'.$theme["button_h"].'px;';
     
    428428left: 0;
    429429pointer-events: none;
    430   <?php 
     430  <?php
    431431  if(isset($theme["button_h"])){
    432432      echo 'width:'.$theme["button_h"].'px;';
     
    579579  margin: 0;
    580580}
    581 @media only screen 
     581@media only screen
    582582and (max-width : 900px) {
    583583.optinpointb form{
     
    650650  'type' => 1
    651651  );
    652 $this->stfield($form['fields'],$set); 
     652$this->stfield($form['fields'],$set);
    653653?>
    654654  <div class="optinpoint-subs-button<?php echo (isset($theme['button_i']) && $theme['button_i'] != 'inone' && $theme['button_i'] != 'idef')? ' subsicon' : '';?>"></div>
     
    658658              echo '<div class="optinpoint-tag">'.$tagtxt.'</div>';
    659659              }?>
    660             <div class="optinpoint-signalc"><div class="optinpoint-signal"><?php 
     660            <div class="optinpoint-signalc"><div class="optinpoint-signal"><?php
    661661            echo $this->getSpin('7','optinpointb',isset($theme["spinner_c"])?$theme["spinner_c"]:'#000');?></div></div>
    662662        </form>
  • optinpoint-lite/trunk/public/includes/addon8.php

    r1719216 r1828212  
    1 <?php 
     1<?php
    22$theme['msg'] = htmlspecialchars_decode($theme['msg']);
    33$this->social=true;
     
    3030color: #fff;
    3131font-size: 20px;
    32 <?php 
     32<?php
    3333  if(isset($theme["heading_f"]['f'])){
    3434    array_push($oppo_font, $theme["heading_f"]['f']);
     
    8989left: 0;
    9090pointer-events: none;
    91 <?php 
     91<?php
    9292if(isset($theme["tbox_h"])){
    9393  echo 'width:'.$theme["tbox_h"].'px;';
     
    9999.optinpointb .optinpoint-field.oppo-ficon .inputlabel{
    100100  padding-left: 40px;
    101   <?php 
     101  <?php
    102102if(isset($theme["tbox_h"])){
    103103  echo 'padding-left:'.$theme["tbox_h"].'px;';
     
    127127display: block;
    128128border: 1px solid #efefef;
    129 <?php 
     129<?php
    130130  if(isset($theme["tbox_f"]['f'])){
    131131    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    173173background: no-repeat center;
    174174background-image: <?=$this->getIcon('dd',16,'#000');?>;
    175 <?php 
     175<?php
    176176if(isset($theme["tbox_h"])){
    177177  echo 'width:'.$theme["tbox_h"].'px;';
     
    193193padding: 0 10px;
    194194white-space: nowrap;
    195 <?php 
     195<?php
    196196if(isset($theme["tbox_f"]['f'])){
    197197    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    246246}
    247247.optinpointb .optinpoint-item{
    248   <?php 
     248  <?php
    249249   $pline = 2;
    250250    if(isset($pline))echo 'width:'.(100/$pline).'%;';
     
    294294background-image: <?php
    295295        $tfi='ch2';
    296        
     296
    297297        $tfc='#000';
    298298        if(isset($theme["check_ic"])){$tfc=$theme["check_ic"];}
     
    397397<?php if(isset($theme["button_fch"])){
    398398echo 'color:'.$theme["button_fch"].';';
    399 }   
     399}
    400400if(isset($theme["button_bch"])){
    401401echo 'background-color:'.$theme["button_bch"].';';
     
    405405.optinpointb .optinpoint-subs-button.subsicon:before{
    406406padding-left: 42px;
    407   <?php 
     407  <?php
    408408  if(isset($theme["button_w"])){
    409409      echo 'padding-left:'.$theme["button_h"].'px;';
     
    419419left: 0;
    420420pointer-events: none;
    421   <?php 
     421  <?php
    422422  if(isset($theme["button_h"])){
    423423      echo 'width:'.$theme["button_h"].'px;';
     
    626626<?php if(isset($theme['heading'])) echo '<h3>'.$theme['heading'].'</h3>';?>
    627627<?php if(isset($theme['msg'])) echo '<div class="optinpoint_para">'.$theme['msg'].'</div>';?>
    628        
     628
    629629        <form action="" method="post">
    630630              <div class="formbox">
     
    635635  'type' => 1
    636636  );
    637 $this->stfield($form['fields'],$set); 
     637$this->stfield($form['fields'],$set);
    638638?>
    639639              <div class="optinpoint-subsc">
    640640                <div class="optinpoint-subs-button<?php echo (isset($theme['button_i']) && $theme['button_i'] != 'inone' && $theme['button_i'] != 'idef')? ' subsicon' : '';?>"></div>
    641                 <div class="optinpoint-signal"><?php 
     641                <div class="optinpoint-signal"><?php
    642642    echo $this->getSpin('3','optinpointb',isset($theme["spinner_c"])?$theme["spinner_c"]:'#000');?></div>
    643              
     643
    644644              </div>
    645            
     645
    646646              </div>
    647647              <?php if(isset($theme['tag_en'])){
     
    661661        </form>
    662662        <div class="optinpoint-feedback" oppoerr="gen"></div>
    663      
     663
    664664</div>
  • optinpoint-lite/trunk/public/includes/addon9.php

    r1719216 r1828212  
    1 <?php 
     1<?php
    22$theme['msg'] = htmlspecialchars_decode($theme['msg']);
    33?>
     
    3737color: #F4233C;
    3838font-size: 24px;
    39 <?php 
     39<?php
    4040  if(isset($theme["heading_f"]['f'])){
    4141    array_push($oppo_font, $theme["heading_f"]['f']);
     
    8989margin: 0 auto 10px auto;
    9090text-align: left;
    91 <?php 
     91<?php
    9292  if(isset($theme["tbox_w"])){
    9393      echo 'width:'.$theme["tbox_w"].'px;';
     
    106106left: 0;
    107107pointer-events: none;
    108 <?php 
     108<?php
    109109if(isset($theme["tbox_h"])){
    110110  echo 'width:'.$theme["tbox_h"].'px;';
     
    116116.optinpointb .oppo-ficon input[type="text"] ~ .inputlabel{
    117117  padding-left: 40px;
    118   <?php 
     118  <?php
    119119if(isset($theme["tbox_h"])){
    120120  echo 'padding-left:'.$theme["tbox_h"].'px;';
     
    151151display: block;
    152152border: 1px solid #efefef;
    153 <?php 
     153<?php
    154154  if(isset($theme["tbox_f"]['f'])){
    155155    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    197197background: no-repeat center;
    198198background-image: <?=$this->getIcon('dd',16,'#000');?>;
    199 <?php 
     199<?php
    200200if(isset($theme["tbox_h"])){
    201201  echo 'width:'.$theme["tbox_h"].'px;';
     
    217217padding: 0 10px;
    218218white-space: nowrap;
    219 <?php 
     219<?php
    220220if(isset($theme["tbox_f"]['f'])){
    221221    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    267267}
    268268.optinpointb .optinpoint-item{
    269   <?php 
     269  <?php
    270270     $pline = 2;
    271271    if(isset($pline))echo 'width:'.(100/$pline).'%;';
     
    315315background-image: <?php
    316316        $tfi='ch2';
    317        
     317
    318318        $tfc='#000';
    319319        if(isset($theme["check_ic"])){$tfc=$theme["check_ic"];}
     
    418418<?php if(isset($theme["button_fch"])){
    419419echo 'color:'.$theme["button_fch"].';';
    420 }   
     420}
    421421if(isset($theme["button_bch"])){
    422422echo 'background-color:'.$theme["button_bch"].';';
     
    428428.optinpointb .optinpoint-subs-button.subsicon:before{
    429429padding-left: 40px;
    430   <?php 
     430  <?php
    431431  if(isset($theme["button_w"])){
    432432      echo 'padding-left:'.$theme["button_h"].'px;';
     
    442442left: 0;
    443443pointer-events: none;
    444   <?php 
     444  <?php
    445445  if(isset($theme["button_h"])){
    446446      echo 'width:'.$theme["button_h"].'px;';
     
    554554          <?php if(isset($theme['heading'])) echo '<h3>'.$theme['heading'].'</h3>';?>
    555555          <?php if(isset($theme['msg'])) echo '<div class="optinpoint_para">'.$theme['msg'].'</div>';?>
    556        
     556
    557557        <form action="" method="post">
    558558<input type="hidden" name="action" value="optinpoint_lite_add_email_ajax"/>
     
    566566$this->stfield($form['fields'],$set);
    567567?>
    568  
     568
    569569                <div style="clear:both"></div>
    570570           
  • optinpoint-lite/trunk/public/includes/bottom_content.php

    r1702811 r1828212  
    1 <?php 
     1<?php
    22$settings = $this->settings;
    33$cmeta = $this->cmeta;
  • optinpoint-lite/trunk/public/includes/flipbox0.php

    r1719216 r1828212  
    1 <?php 
     1<?php
    22$theme['msg'] = htmlspecialchars_decode($theme['msg']);
    33?>
     
    1111-webkit-transition: -webkit-transform 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    1212transition: transform 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    13   <?php 
     13  <?php
    1414        if(isset($theme["bg_c"])){
    1515            echo 'background:'.$theme["bg_c"].';';
     
    4444width: 100%;
    4545text-align: center;
    46 <?php 
     46<?php
    4747    if(isset($theme["heading_f"]['f'])){
    4848    array_push($oppo_font, $theme["heading_f"]['f']);
     
    122122    box-sizing: border-box;
    123123    font-size: 16px;
    124     <?php 
     124    <?php
    125125        if(isset($theme["tbox_f"]['f'])){
    126126    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    173173white-space: nowrap;
    174174text-align: center;
    175 <?php 
     175<?php
    176176if(isset($theme["tbox_f"]['f'])){
    177177    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    223223}
    224224.optinpointf .optinpoint-item{
    225   <?php 
     225  <?php
    226226     $pline = 2;
    227227    if(isset($pline))echo 'width:'.(100/$pline).'%;';
     
    283283background-image: <?php
    284284        $tfi='ch1';
    285        
     285
    286286        $tfc='#fff';
    287287        if(isset($theme["check_ic"])){$tfc=$theme["check_ic"];}
     
    316316.optinpointf input[type="email"]:focus,.optinpointf input[type="text"]:focus {
    317317    border:2px solid #ddd;
    318     <?php 
     318    <?php
    319319        if(isset($theme["tbox_bor"]) && isset($theme["tbox_borc"])){
    320320            echo ' border:'.$theme["tbox_bor"].'px solid '.$theme["tbox_borc"].';';
     
    389389}
    390390.optinpointf .optinpoint-subs-button:hover{
    391     background:#8BD331;   
     391    background:#8BD331;
    392392  color:#fff;
    393     <?php 
     393    <?php
    394394        if(isset($theme["button_bch"])){
    395395            echo 'background:'.$theme["button_bch"].';';
    396396        }
    397         else{ ?> 
     397        else{ ?>
    398398          background: -moz-linear-gradient(left, #8BD331 0%, #8bd331 100%);
    399399        background: -webkit-gradient(linear, left top, right top, color-stop(0%,#8BD331), color-stop(100%,#8bd331));
     
    422422left: 0;
    423423pointer-events: none;
    424   <?php 
     424  <?php
    425425  if($theme["button_i"] != 'inone' && $theme["button_i"] != 'idef'){
    426426    $col = ((isset($theme["button_fc"]))? $theme["button_fc"] : '#fff');
     
    472472cursor:pointer;
    473473background-color: #7e7e7e;
    474 -moz-transform: rotate(45deg); 
     474-moz-transform: rotate(45deg);
    475475-o-transform: rotate(45deg);
    476476-ms-transform: rotate(45deg);
     
    503503  }
    504504  .optinpointf .optinpointf-close-button:hover {
    505     background-color: #fff; 
     505    background-color: #fff;
    506506    -ms-transform: rotate(225deg);
    507507    -webkit-transform: rotate(225deg);
    508     -moz-transform: rotate(225deg); 
    509     -o-transform: rotate(225deg); 
    510     transform: rotate(225deg); 
    511   } 
     508    -moz-transform: rotate(225deg);
     509    -o-transform: rotate(225deg);
     510    transform: rotate(225deg);
     511  }
    512512
    513513.optinpointf .optinpointf-close-button:hover::after {
     
    550550  'type' => 1
    551551  );
    552 $this->stfield($form['fields'],$set); 
     552$this->stfield($form['fields'],$set);
    553553?>
    554554                        <div class="optinpoint-subs-button<?php echo (isset($theme['button_i']) && $theme['button_i'] != 'inone' && $theme['button_i'] != 'idef')? ' subsicon' : '';?>"></div>
  • optinpoint-lite/trunk/public/includes/flipbox1.php

    r1719216 r1828212  
    1 <?php 
     1<?php
    22$theme['msg'] = htmlspecialchars_decode($theme['msg']);
    33$this->social=true;
     
    1313-webkit-transition: -webkit-transform 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    1414transition: transform 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    15   <?php 
     15  <?php
    1616    if(isset($theme["bg_c"])){
    1717        echo 'background:'.$theme["bg_c"].';';
     
    4343    text-align: center;
    4444    float: left;
    45     <?php 
     45    <?php
    4646        if(isset($theme["heading_f"]['f'])){
    4747    array_push($oppo_font, $theme["heading_f"]['f']);
     
    118118outline:0;
    119119font-size: 16px;
    120 <?php 
     120<?php
    121121    if(isset($theme["tbox_f"]['f'])){
    122122    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    169169font-weight:500;
    170170white-space: nowrap;
    171 <?php 
     171<?php
    172172if(isset($theme["tbox_f"]['f'])){
    173173    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    217217}
    218218.optinpointf .optinpoint-item{
    219   <?php 
     219  <?php
    220220    $pline = 2;
    221221    if(isset($pline))echo 'width:'.(100/$pline).'%;';
     
    265265background-image: <?php
    266266        $tfi='ch6';
    267        
     267
    268268        $tfc='#000';
    269269        if(isset($theme["check_ic"])){$tfc=$theme["check_ic"];}
     
    310310}
    311311.optinpointf input[type="text"]:focus {
    312     <?php 
     312    <?php
    313313        if(isset($theme["tbox_bor"]) && isset($theme["tbox_borc"])){
    314314            echo ' border:'.$theme["tbox_bor"].'px solid '.$theme["tbox_borc"].';';
     
    372372}
    373373.optinpointf .optinpoint-subs-button:hover{
    374     background:#8BD331;   
     374    background:#8BD331;
    375375  color:#fff;
    376     <?php 
     376    <?php
    377377        if(isset($theme["button_bch"])){
    378378            echo 'background:'.$theme["button_bch"].';';
    379379        }
    380         else{ ?> 
     380        else{ ?>
    381381          background-image: -webkit-linear-gradient(top,#4d90fe,#4787ed);
    382382background-image: -moz-linear-gradient(top,#4d90fe,#4787ed);
     
    404404left: 0;
    405405pointer-events: none;
    406   <?php 
     406  <?php
    407407  if($theme["button_i"] != 'inone' && $theme["button_i"] != 'idef'){
    408408    $col = ((isset($theme["button_fc"]))? $theme["button_fc"] : '#fff');
     
    493493  'type' => 1
    494494  );
    495 $this->stfield($form['fields'],$set); 
     495$this->stfield($form['fields'],$set);
    496496?>
    497497  <div class="optinpoint-subs-button<?php echo (isset($theme['button_i']) && $theme['button_i'] != 'inone' && $theme['button_i'] != 'idef')? ' subsicon' : '';?>"></div>
  • optinpoint-lite/trunk/public/includes/flipbox8.php

    r1719216 r1828212  
    1 <?php 
     1<?php
    22$theme['msg'] = htmlspecialchars_decode($theme['msg']);
    33$this->social=true;
     
    1616-webkit-transition: -webkit-transform 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    1717transition: transform 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    18   <?php 
     18  <?php
    1919    if(isset($theme["bg_c"])){
    2020        echo 'background:'.$theme["bg_c"].';';
     
    3939color: #fff;
    4040font-size: 20px;
    41 <?php 
     41<?php
    4242  if(isset($theme["heading_f"]['f'])){
    4343    array_push($oppo_font, $theme["heading_f"]['f']);
     
    124124display: block;
    125125border: 1px solid #efefef;
    126 <?php 
     126<?php
    127127  if(isset($theme["tbox_f"]['f'])){
    128128    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    178178padding: 0 10px;
    179179white-space: nowrap;
    180 <?php 
     180<?php
    181181if(isset($theme["tbox_f"]['f'])){
    182182    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    231231}
    232232.optinpointf .optinpoint-item{
    233   <?php 
     233  <?php
    234234    $pline = 2;
    235235    if(isset($pline))echo 'width:'.(100/$pline).'%;';
     
    279279background-image: <?php
    280280        $tfi='ch2';
    281        
     281
    282282        $tfc='#000';
    283283        if(isset($theme["check_ic"])){$tfc=$theme["check_ic"];}
     
    370370}
    371371.optinpointf .optinpoint-subs-button:hover{
    372 background-color: #50B059; 
    373     <?php 
     372background-color: #50B059;
     373    <?php
    374374        if(isset($theme["button_bch"])){
    375375            echo 'background:'.$theme["button_bch"].';';
     
    393393left: 0;
    394394pointer-events: none;
    395   <?php 
     395  <?php
    396396
    397397  if($theme["button_i"] != 'inone' && $theme["button_i"] != 'idef'){
     
    585585    <?php echo isset($theme['heading'])?'<h3>'.$theme['heading'].'</h3>' : '<h3>Subscribe Now</h3>';?>
    586586    <div class="optinpointf-close-button"></div>
    587  
     587
    588588<?php if(isset($theme['msg'])) echo '<div class="optinpoint_para">'.$theme['msg'].'</div>';?>
    589589  <form action="" method="post">
     
    595595  'type' => 1
    596596  );
    597 $this->stfield($form['fields'],$set); 
     597$this->stfield($form['fields'],$set);
    598598?>
    599599              <div class="optinpoint-subsc">
    600600                <div class="optinpoint-subs-button<?php echo (isset($theme['button_i']) && $theme['button_i'] != 'inone' && $theme['button_i'] != 'idef')? ' subsicon' : '';?>"></div>
    601                 <div class="optinpoint-signal"><?php 
     601                <div class="optinpoint-signal"><?php
    602602    echo $this->getSpin('3','optinpointf',isset($theme["spinner_c"])?$theme["spinner_c"]:'#000');?></div>
    603              
     603
    604604              </div>
    605    
     605
    606606            </div>
    607607
  • optinpoint-lite/trunk/public/includes/flipbox9.php

    r1719216 r1828212  
    1 <?php 
     1<?php
    22$theme['msg'] = htmlspecialchars_decode($theme['msg']);
    33?>
     
    1616-webkit-transition: -webkit-transform 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    1717transition: transform 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    18   <?php 
     18  <?php
    1919    if(isset($theme["bg_c"])){
    2020        echo 'background:'.$theme["bg_c"].';';
     
    4242padding-top:18px;
    4343font-size: 20px;
    44 <?php 
     44<?php
    4545  if(isset($theme["heading_f"]['f'])){
    4646    array_push($oppo_font, $theme["heading_f"]['f']);
     
    138138display: block;
    139139border: 1px solid #efefef;
    140 <?php 
     140<?php
    141141  if(isset($theme["tbox_f"]['f'])){
    142142    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    193193padding: 0 10px;
    194194white-space: nowrap;
    195 <?php 
     195<?php
    196196if(isset($theme["tbox_f"]['f'])){
    197197    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    243243}
    244244.optinpointf .optinpoint-item{
    245   <?php 
     245  <?php
    246246    $pline = 2;
    247247    if(isset($pline))echo 'width:'.(100/$pline).'%;';
     
    291291background-image: <?php
    292292        $tfi='ch2';
    293        
     293
    294294        $tfc='#000';
    295295        if(isset($theme["check_ic"])){$tfc=$theme["check_ic"];}
     
    383383}
    384384.optinpointf .optinpoint-subs-button:hover{
    385 background-color: #FA0B38; 
    386     <?php 
     385background-color: #FA0B38;
     386    <?php
    387387        if(isset($theme["button_bch"])){
    388388            echo 'background:'.$theme["button_bch"].';';
     
    408408left: 0;
    409409pointer-events: none;
    410   <?php 
     410  <?php
    411411
    412412  if($theme["button_i"] != 'inone' && $theme["button_i"] != 'idef'){
     
    509509<div class="optinpoint-reset optinpointf optinpointf-close">
    510510          <?php if(isset($theme['heading'])) echo '<h3>'.$theme['heading'].'</h3>';?>
    511      
     511
    512512    <div class="optinpointf-close-button"></div>
    513  
     513
    514514    <?php if(isset($theme['msg'])) echo '<div class="optinpoint_para">'.$theme['msg'].'</div>';?>
    515515  <form action="" method="post">
     
    523523$this->stfield($form['fields'],$set);
    524524?>
    525  
     525
    526526                <div style="clear:both"></div>
    527527
  • optinpoint-lite/trunk/public/includes/flipbox_content.php

    r1702811 r1828212  
    1 <?php 
     1<?php
    22$settings = $this->settings;
    33$cmeta = $this->cmeta;
  • optinpoint-lite/trunk/public/includes/litebox0.php

    r1719216 r1828212  
    1 <?php 
     1<?php
    22$theme['msg'] = htmlspecialchars_decode($theme['msg']);
    33?><style>
     
    6363    border-bottom:1px solid #fff;
    6464    width:60%;
    65     <?php 
     65    <?php
    6666        if(isset($theme["heading_f"]['f'])){
    6767    array_push($oppo_font, $theme["heading_f"]['f']);
     
    9090    line-height:26px;
    9191    color:#fff;
    92     <?php 
     92    <?php
    9393            if(isset($theme["msg_f"]['f'])){
    9494    array_push($oppo_font, $theme["msg_f"]['f']);
     
    103103#optinpoint form {
    104104    position: relative;
     105    width:55%;
     106    margin: 0 auto;
    105107}
    106108
    107109#optinpoint  .optinpoint-field{
    108110position: relative;
    109 width:55%;
    110 margin: 0 auto 12px auto;
    111 <?php 
     111margin-bottom: 12px;
     112
     113<?php
    112114    if(isset($theme["tbox_w"])){
    113115            echo 'width:'.$theme["tbox_w"].'px;';
     
    126128left: 0;
    127129pointer-events: none;
    128 <?php 
     130<?php
    129131if(isset($theme["tbox_h"])){
    130132    echo 'width:'.$theme["tbox_h"].'px;';
     
    136138#optinpoint .oppo-ficon .inputlabel{
    137139    padding-left: 50px;
    138     <?php 
     140    <?php
    139141if(isset($theme["tbox_h"])){
    140142    echo 'padding-left:'.$theme["tbox_h"].'px;';
     
    167169        box-sizing: border-box;
    168170        transition: all 0.5s ease;
    169         <?php 
     171        <?php
    170172                if(isset($theme["tbox_f"]['f'])){
    171173    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    209211background: no-repeat center;
    210212background-image: <?=$this->getIcon('dd',16,'#000');?>;
    211 <?php 
     213<?php
    212214if(isset($theme["tbox_h"])){
    213215    echo 'width:'.$theme["tbox_h"].'px;';
     
    228230font-weight:500;
    229231white-space: nowrap;
    230 <?php 
     232<?php
    231233if(isset($theme["tbox_f"]['f'])){
    232234    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    253255#optinpoint input[type="text"].oppoerror{
    254256    border-color: red;
     257}
     258#optinpoint .optinpoint-field.optinpoint-check,
     259#optinpoint .optinpoint-field.optinpoint-radio{
     260  clear: both;
    255261}
    256262#optinpoint .optinpoint-check *,
     
    279285}
    280286#optinpoint .optinpoint-item{
    281   <?php 
     287  <?php
    282288    $pline = 2;
    283289    if(isset($pline))echo 'width:'.(100/$pline).'%;';
     
    373379
    374380#optinpoint .optinpoint-subs-button{
    375     width:40%;
     381    width:80%;
    376382    height:45px;
    377383        cursor: pointer;
     
    444450        background:#8BD331;
    445451    color:#fff;
    446         <?php 
     452        <?php
    447453                if(isset($theme["button_bch"])){
    448454                        echo 'background-color:'.$theme["button_bch"].';';
     
    466472#optinpoint .optinpoint-subs-button.subsicon:before{
    467473padding-left: 45px;
    468     <?php 
     474    <?php
    469475    if(isset($theme["button_h"])){
    470476            echo 'padding-left:'.$theme["button_h"].'px;';
     
    480486left: 0;
    481487pointer-events: none;
    482     <?php 
     488    <?php
    483489    if(isset($theme["button_h"])){
    484490            echo 'width:'.$theme["button_h"].'px;';
     
    532538    top: 2em;
    533539    right:2em;
    534      -moz-transform: rotate(45deg); 
     540     -moz-transform: rotate(45deg);
    535541     -o-transform: rotate(45deg);
    536542     -ms-transform: rotate(45deg);
     
    565571    }
    566572    .optinpoint-overlay-bg .optinpoint-close-button:hover {
    567         background-color: #fff; 
     573        background-color: #fff;
    568574        -ms-transform: rotate(225deg);
    569575        -webkit-transform: rotate(225deg);
    570         -moz-transform: rotate(225deg); 
    571         -o-transform: rotate(225deg); 
    572         transform: rotate(225deg); 
    573     } 
     576        -moz-transform: rotate(225deg);
     577        -o-transform: rotate(225deg);
     578        transform: rotate(225deg);
     579    }
    574580
    575581.optinpoint-overlay-bg .optinpoint-close-button:hover::after {
     
    654660
    655661    #optinpoint .optinpoint-field {
    656         width:100%;
    657662        margin-bottom:7px;
    658663    }
    659664
    660     .optinpoint-overlay-bg #optinpoint .optinpoint-subs-button {
    661         width:100%;
    662     }
     665    .optinpoint-overlay-bg #optinpoint .optinpoint-subs-button,
    663666    .optinpoint-overlay-bg #optinpoint h3 {
    664667        width: 100%;
     
    667670
    668671@media only screen and (max-width:600px) {
     672
     673    #optinpoint form{
     674        width:100%;
     675    }
    669676
    670677    .optinpoint-overlay-bg #optinpoint h3 {
     
    716723    }
    717724}
    718 @media only screen
     725@media only screen
     726and (min-width : 480px)
    719727and (max-width : 650px)
    720728and (orientation : landscape) {
     
    724732  -ms-transform:scale(0.75) translate(-50%, -50%);
    725733  -o-transform:scale(0.75) translate(-50%, -50%);
    726   transform:scale(0.75) translate(-50%, -50%); 
     734  transform:scale(0.75) translate(-50%, -50%);
    727735   -webkit-transform-origin:top left;
    728736  -moz-transform-origin:top left;
     
    749757    'type' => 1
    750758    );
    751 $this->stfield($form['fields'],$set); 
     759$this->stfield($form['fields'],$set);
    752760?>
    753761                                <div class="optinpoint-subs-button<?php echo (isset($theme['button_i']) && $theme['button_i'] != 'inone' && $theme['button_i'] != 'idef')? ' subsicon' : '';?>"></div>
     
    757765                                    echo '<div class="optinpoint-tag">'.$tagtxt.'</div>';
    758766                                    }?>
    759                         <div class="optinpoint-signalc"><div class="optinpoint-signal"><?php 
     767                        <div class="optinpoint-signalc"><div class="optinpoint-signal"><?php
    760768        echo $this->getSpin('1','optinpoint-main',isset($theme["spinner_c"])?$theme["spinner_c"]:'#fff');?></div></div>
    761769                            </form>
  • optinpoint-lite/trunk/public/includes/litebox1.php

    r1719216 r1828212  
    1 <?php 
     1<?php
    22$theme['msg'] = htmlspecialchars_decode($theme['msg']);
    33$this->social=true;
     
    6464    color: #454545;
    6565    font-size: 36px;
    66     <?php 
     66    <?php
    6767        if(isset($theme["heading_f"]['f'])){
    6868    array_push($oppo_font, $theme["heading_f"]['f']);
     
    100100width:100%;
    101101margin: 0 auto 12px auto;
    102 <?php 
     102<?php
    103103  if(isset($theme["tbox_w"])){
    104104      echo 'width:'.$theme["tbox_w"].'px;';
     
    117117left: 0;
    118118pointer-events: none;
    119 <?php 
     119<?php
    120120if(isset($theme["tbox_h"])){
    121121  echo 'width:'.$theme["tbox_h"].'px;';
     
    127127#optinpoint .oppo-ficon input[type="text"] ~ .inputlabel{
    128128  padding-left: 62px;
    129   <?php 
     129  <?php
    130130if(isset($theme["tbox_h"])){
    131131  echo 'padding-left:'.$theme["tbox_h"].'px;';
     
    152152    outline:0;
    153153    display: block;
    154     <?php 
     154    <?php
    155155        if(isset($theme["tbox_f"]['f'])){
    156156    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    194194background: no-repeat center;
    195195background-image: <?=$this->getIcon('dd',16,'#000');?>;
    196 <?php 
     196<?php
    197197if(isset($theme["tbox_h"])){
    198198  echo 'width:'.$theme["tbox_h"].'px;';
     
    214214padding: 0 20px;
    215215white-space: nowrap;
    216 <?php 
     216<?php
    217217if(isset($theme["tbox_f"]['f'])){
    218218    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    262262}
    263263#optinpoint .optinpoint-item{
    264   <?php 
     264  <?php
    265265    $pline = 2;
    266266    if(isset($pline))echo 'width:'.(100/$pline).'%;';
     
    310310background-image: <?php
    311311        $tfi='ch6';
    312        
     312
    313313        $tfc='#000';
    314314        if(isset($theme["check_ic"])){$tfc=$theme["check_ic"];}
     
    424424<?php if(isset($theme["button_fch"])){
    425425        echo 'color:'.$theme["button_fch"].';';
    426     }   
     426    }
    427427    if(isset($theme["button_bch"])){
    428428        echo 'background-color:'.$theme["button_bch"].';';
     
    437437#optinpoint .optinpoint-subs-button.subsicon:before{
    438438padding-left: 56px;
    439   <?php 
     439  <?php
    440440  if(isset($theme["button_w"])){
    441441      echo 'padding-left:'.$theme["button_h"].'px;';
     
    451451left: 0;
    452452pointer-events: none;
    453   <?php 
     453  <?php
    454454  if(isset($theme["button_h"])){
    455455      echo 'width:'.$theme["button_h"].'px;';
     
    532532 url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIxMjBweCIgaGVpZ2h0PSIxMjBweCIgdmlld0JveD0iMCAwIDEyMCAxMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEyMCAxMjAiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxnPjxwYXRoIG9wYWNpdHk9IjAuMiIgZmlsbD0iIzAyMDIwMiIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAgICAiIGQ9Ik0xMTkuNiw5Mi45YzAsNC40LTMuNiw3LjktOCw3LjloLTEwMWMtNC40LDAtOC0zLjUtOC03LjlWMjQuMmMwLTQuNCwzLjYtNy45LDgtNy45aDEwMWM0LjQsMCw4LDMuNSw4LDcuOVY5Mi45eiIvPjxwYXRoIGZpbGw9IiNDNjMyM0QiIGQ9Ik0xLjgsMjljLTAuMywwLjgtMC40LDEuOC0wLjQsMi43djU4LjljMCw1LjEsNC4xLDkuMiw5LjIsOS4yaDk5YzUuMSwwLDkuMi00LjEsOS4yLTkuMlYzMS43YzAtMC45LTAuMi0xLjgtMC40LTIuN0gxLjh6Ii8+PGxpbmVhckdyYWRpZW50IGlkPSJTVkdJRF8xXyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSIyNDIuMTYxNCIgeTE9Ii0yOTcuMDQyIiB4Mj0iMzU1LjE3MzgiIHkyPSItMjk3LjA0MiIgZ3JhZGllbnRUcmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAtMSAtMjM3LjYgLTIzOC44NCkiPjxzdG9wICBvZmZzZXQ9IjAiIHN0eWxlPSJzdG9wLWNvbG9yOiNGRkZGRkY7c3RvcC1vcGFjaXR5OjAiLz48c3RvcCAgb2Zmc2V0PSIwLjE0MzQiIHN0eWxlPSJzdG9wLWNvbG9yOiNENEQ0RDQ7c3RvcC1vcGFjaXR5OjAuMTI5MSIvPjxzdG9wICBvZmZzZXQ9IjAuNDYiIHN0eWxlPSJzdG9wLWNvbG9yOiM3QTdBN0E7c3RvcC1vcGFjaXR5OjAuNDE0Ii8+PHN0b3AgIG9mZnNldD0iMC43MTgiIHN0eWxlPSJzdG9wLWNvbG9yOiMzODM4Mzg7c3RvcC1vcGFjaXR5OjAuNjQ2MiIvPjxzdG9wICBvZmZzZXQ9IjAuOTA0MiIgc3R5bGU9InN0b3AtY29sb3I6IzEwMTAxMDtzdG9wLW9wYWNpdHk6MC44MTM4Ii8+PHN0b3AgIG9mZnNldD0iMSIgc3R5bGU9InN0b3AtY29sb3I6IzAwMDAwMDtzdG9wLW9wYWNpdHk6MC45Ii8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBvcGFjaXR5PSI2LjAwMDAwMGUtMDAyIiBmaWxsPSJ1cmwoI1NWR0lEXzFfKSIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAgICAiIGQ9Ik0xMTIuNiw5NC40TDkuNCwyMy40Yy0xLjktMS4zLTMuMy0yLjktNC4yLTQuOGMtMC40LDEuMS0wLjcsMi4zLTAuNywzLjV2NjYuNWMwLDUuMSw0LjEsOS4yLDkuMiw5LjJoOTljMS44LDAsMy40LTAuNSw0LjgtMS40QzExNS45LDk2LjEsMTE0LjEsOTUuNSwxMTIuNiw5NC40eiIvPjxwYXRoIGZpbGw9IiNENkQ2RDYiIGQ9Ik0xMC44LDk2LjNsMTAzLjItNzFjMS45LTEuMywzLjMtMi45LDQuMi00LjhjMC40LDEuMSwwLjcsMi4zLDAuNywzLjV2NjYuNWMwLDUuMS00LjEsOS4yLTkuMiw5LjJoLTk5Yy0xLjgsMC0zLjQtMC41LTQuOC0xLjRDNy41LDk4LjEsOS4zLDk3LjMsMTAuOCw5Ni4zeiIvPjxwYXRoIGZpbGw9IiNFRkVGRUYiIGQ9Ik0xMDguOSw5Ni43TDUuNywyNS43Yy0xLjktMS4zLTMuMy0yLjktNC4yLTQuOGMtMC40LDEuMS0wLjcsMi4zLTAuNywzLjV2NjYuNWMwLDUuMSw0LjEsOS4yLDkuMiw5LjJoOTljMS44LDAsMy40LTAuNSw0LjgtMS40QzExMi4xLDk4LjUsMTEwLjQsOTcuNywxMDguOSw5Ni43eiIvPjxwYXRoIG9wYWNpdHk9IjAuOCIgZmlsbD0iI0U1RTVFNSIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAgICAiIGQ9Ik0xMDguOSw5Ni43TDU5LjYsNjIuN0wxMC4zLDk2LjdjLTEuNSwxLjEtMy4zLDEuOC00LjksMi4xYzEuNCwwLjgsMywxLjQsNC44LDEuNGg0My43aDU1LjJjMS44LDAsMy40LTAuNSw0LjgtMS40QzExMi4xLDk4LjUsMTEwLjQsOTcuNywxMDguOSw5Ni43eiIvPjxwYXRoIG9wYWNpdHk9IjAuMSIgZmlsbD0iIzAyMDIwMiIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAgICAiIGQ9Ik0xMTguNywyNS4zYzAtMC42LTAuMS0xLjEtMC4yLTEuNmMwLjMtMC4xLDAuNy0wLjIsMS0wLjNjLTAuNC0wLjItMC44LTAuNC0xLjItMC43Yy0xLjEtMy44LTQuNi02LjUtOC43LTYuNUgxMS4yYy00LjMsMC03LjksMi45LTguOCw2LjljLTAuMiwwLjEtMC40LDAuMi0wLjYsMC4zYzAuMiwwLjEsMC4zLDAuMSwwLjQsMC4xYy0wLjEsMC42LTAuMiwxLjItMC4yLDEuN2MwLDAsMC4yLTAuNCwwLjctMS41YzAuOSwxLjgsMi4zLDMuNCw0LjEsNC42bDUzLjUsMzYuNGw1My41LTM2LjNjMS44LTEuMiwzLjItMi45LDQuMS00LjZoMC4xQzExOC41LDI0LjksMTE4LjcsMjUuMywxMTguNywyNS4zeiIvPjxwYXRoIGZpbGw9IiNFOEU4RTgiIGQ9Ik0xMDkuNiwxNC42SDEwLjNjLTUuMSwwLTkuMiw0LjEtOS4yLDkuMmMwLDAsMC4yLTAuNCwwLjctMS41QzIuNywyNC4xLDQuMSwyNS43LDYsMjdsNTMuOSwzNy4ybDU0LTM3LjFjMS45LTEuMywzLjMtMi45LDQuMi00LjhjMC40LDEuMSwwLjcsMS41LDAuNywxLjVDMTE4LjcsMTguOCwxMTQuNiwxNC42LDEwOS42LDE0LjZ6Ii8+PC9nPjwvc3ZnPg==);<?php } ?>
    533533background-repeat: no-repeat;
    534 background-position: center; 
     534background-position: center;
    535535box-sizing: content-box;
    536536}
     
    758758   position:relative;
    759759}
    760 @media only screen 
     760@media only screen
    761761and (max-width : 1024px) {
    762762.optinpoint-overlay-bg #optinpoint-main{
     
    774774}
    775775}
    776 @media only screen 
     776@media only screen
    777777and (max-width : 768px)
    778778and (orientation : portrait) {
     
    860860}
    861861}
    862 @media only screen
     862@media only screen
     863and (min-width : 480px)
    863864and (max-width : 768px)
    864865and (orientation : landscape) {
     
    868869  -ms-transform:scale(0.5) translate(-50%, -50%);
    869870  -o-transform:scale(0.5) translate(-50%, -50%);
    870   transform:scale(0.5) translate(-50%, -50%); 
     871  transform:scale(0.5) translate(-50%, -50%);
    871872  -webkit-transform-origin:top left;
    872873  -moz-transform-origin:top left;
     
    876877}
    877878}
    878 @media only screen 
     879@media only screen
    879880only screen and (-webkit-min-device-pixel-ratio : 1.5),
    880881only screen and (min-device-pixel-ratio : 1.5) {
     
    884885}
    885886}
    886 @media only screen 
     887@media only screen
    887888and (max-width : 480px)
    888889and (orientation : portrait) {
     
    900901#optinpoint h3{
    901902  margin-bottom: 10px;
    902 }
    903 }
    904 @media only screen
    905 and (max-device-width : 480px)
    906 and (orientation : landscape) {
    907 .optinpoint-overlay-bg #optinpoint-main{
    908   -webkit-transform:scale(0.25) translate(-50%, -50%);
    909   -moz-transform:scale(0.25) translate(-50%, -50%);
    910   -ms-transform:scale(0.25) translate(-50%, -50%);
    911   -o-transform:scale(0.25) translate(-50%, -50%);
    912   transform:scale(0.25) translate(-50%, -50%);
    913903}
    914904}
     
    942932  'type' => 1
    943933  );
    944 $this->stfield($form['fields'],$set); 
     934$this->stfield($form['fields'],$set);
    945935?>
    946936  <div class="optinpoint-subs-button<?php echo (isset($theme['button_i']) && $theme['button_i'] != 'inone' && $theme['button_i'] != 'idef')? ' subsicon' : '';?>"></div>
     
    950940              echo '<div class="optinpoint-tag">'.$tagtxt.'</div>';
    951941              }?>
    952                     <div class="optinpoint-signalc"><div class="optinpoint-signal"><?php 
     942                    <div class="optinpoint-signalc"><div class="optinpoint-signal"><?php
    953943            echo $this->getSpin('7','optinpoint-main',isset($theme["spinner_c"])?$theme["spinner_c"]:'#000');?></div></div>
    954944                </form>
  • optinpoint-lite/trunk/public/includes/litebox8.php

    r1719216 r1828212  
    1 <?php 
     1<?php
    22$theme['msg'] = htmlspecialchars_decode($theme['msg']);
    33$this->social=true;
     
    4949color: #fff;
    5050font-size: 20px;
    51 <?php 
     51<?php
    5252    if(isset($theme["heading_f"]['f'])){
    5353    array_push($oppo_font, $theme["heading_f"]['f']);
     
    109109left: 0;
    110110pointer-events: none;
    111 <?php 
     111<?php
    112112if(isset($theme["tbox_h"])){
    113113  echo 'width:'.$theme["tbox_h"].'px;';
     
    119119#optinpoint .optinpoint-field.oppo-ficon .inputlabel{
    120120  padding-left: 40px;
    121   <?php 
     121  <?php
    122122if(isset($theme["tbox_h"])){
    123123  echo 'padding-left:'.$theme["tbox_h"].'px;';
     
    147147display: block;
    148148border: 1px solid #efefef;
    149 <?php 
     149<?php
    150150    if(isset($theme["tbox_f"]['f'])){
    151151    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    193193background: no-repeat center;
    194194background-image: <?=$this->getIcon('dd',16,'#000');?>;
    195 <?php 
     195<?php
    196196if(isset($theme["tbox_h"])){
    197197  echo 'width:'.$theme["tbox_h"].'px;';
     
    213213padding: 0 10px;
    214214white-space: nowrap;
    215 <?php 
     215<?php
    216216if(isset($theme["tbox_f"]['f'])){
    217217    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    242242#optinpoint .optinpoint-field.optinpoint-radio{
    243243  text-align: left;
     244  clear: both;
    244245}
    245246#optinpoint .optinpoint-check *,
     
    266267}
    267268#optinpoint .optinpoint-item{
    268   <?php 
     269  <?php
    269270    $pline = 2;
    270271    if(isset($pline))echo 'width:'.(100/$pline).'%;';
     
    314315background-image: <?php
    315316        $tfi='ch2';
    316        
     317
    317318        $tfc='#000';
    318319        if(isset($theme["check_ic"])){$tfc=$theme["check_ic"];}
     
    417418<?php if(isset($theme["button_fch"])){
    418419    echo 'color:'.$theme["button_fch"].';';
    419 }   
     420}
    420421if(isset($theme["button_bch"])){
    421422    echo 'background-color:'.$theme["button_bch"].';';
    422423}?>
    423424}
    424 #optinpoint .optinpoint-subsc{position: relative;}
     425#optinpoint .optinpoint-subsc{position: relative;max-width: 350px;margin: 0 auto;clear: both;}
    425426#optinpoint .optinpoint-subs-button.subsicon:before{
    426427padding-left: 42px;
    427   <?php 
     428  <?php
    428429  if(isset($theme["button_w"])){
    429430      echo 'padding-left:'.$theme["button_h"].'px;';
     
    439440left: 0;
    440441pointer-events: none;
    441   <?php 
     442  <?php
    442443  if(isset($theme["button_h"])){
    443444      echo 'width:'.$theme["button_h"].'px;';
     
    660661height: 100%;
    661662}
    662 
    663 @media only screen and (max-device-width : 750px) and (orientation : landscape) {
     663@media only screen
     664and (min-width : 480px)
     665and (max-width : 750px)
     666and (orientation : landscape) {
    664667  .optinpoint-overlay-bg #optinpoint-main{
    665668-webkit-transform:translate(-50%, -50%) scale(0.8);
     
    686689  'type' => 1
    687690  );
    688 $this->stfield($form['fields'],$set); 
     691$this->stfield($form['fields'],$set);
    689692?>
    690693              <div class="optinpoint-subsc">
    691694                <div class="optinpoint-subs-button<?php echo (isset($theme['button_i']) && $theme['button_i'] != 'inone' && $theme['button_i'] != 'idef')? ' subsicon' : '';?>"></div>
    692                 <div class="optinpoint-signal"><?php 
     695                <div class="optinpoint-signal"><?php
    693696            echo $this->getSpin('3','optinpoint-main',isset($theme["spinner_c"])?$theme["spinner_c"]:'#000');?></div>
    694              
     697
    695698              </div>
    696699              <?php if(isset($theme['tag_en'])){
     
    710713                <div class="optinpoint-soc optinpoint-ms"></div>
    711714            </div>
    712            
     715
    713716    </div>
    714717        <div class="optinpoint-close-button"></div>
  • optinpoint-lite/trunk/public/includes/litebox9.php

    r1719216 r1828212  
    1 <?php 
     1<?php
    22$theme['msg'] = htmlspecialchars_decode($theme['msg']);
    33?><style type="text/css">
     
    5656color: #F4233C;
    5757font-size: 24px;
    58 <?php 
     58<?php
    5959    if(isset($theme["heading_f"]['f'])){
    6060    array_push($oppo_font, $theme["heading_f"]['f']);
     
    110110margin: 0 auto 10px auto;
    111111text-align: left;
    112 <?php 
     112<?php
    113113  if(isset($theme["tbox_w"])){
    114114      echo 'width:'.$theme["tbox_w"].'px;';
     
    127127left: 0;
    128128pointer-events: none;
    129 <?php 
     129<?php
    130130if(isset($theme["tbox_h"])){
    131131  echo 'width:'.$theme["tbox_h"].'px;';
     
    137137#optinpoint .oppo-ficon input[type="text"] ~ .inputlabel{
    138138  padding-left: 40px;
    139   <?php 
     139  <?php
    140140if(isset($theme["tbox_h"])){
    141141  echo 'padding-left:'.$theme["tbox_h"].'px;';
     
    172172display: block;
    173173border: 1px solid #efefef;
    174 <?php 
     174<?php
    175175    if(isset($theme["tbox_f"]['f'])){
    176176    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    218218background: no-repeat center;
    219219background-image: <?=$this->getIcon('dd',16,'#000');?>;
    220 <?php 
     220<?php
    221221if(isset($theme["tbox_h"])){
    222222  echo 'width:'.$theme["tbox_h"].'px;';
     
    238238padding: 0 10px;
    239239white-space: nowrap;
    240 <?php 
     240<?php
    241241if(isset($theme["tbox_f"]['f'])){
    242242    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    265265}
    266266
     267#optinpoint .optinpoint-check,
     268#optinpoint .optinpoint-radio{
     269clear: both;
     270}
    267271#optinpoint .optinpoint-check *,
    268272#optinpoint .optinpoint-radio *{
     
    288292}
    289293#optinpoint .optinpoint-item{
    290   <?php 
     294  <?php
    291295    $pline = 2;
    292296    if(isset($pline))echo 'width:'.(100/$pline).'%;';
     
    336340background-image: <?php
    337341        $tfi='ch2';
    338        
     342
    339343        $tfc='#000';
    340344        if(isset($theme["check_ic"])){$tfc=$theme["check_ic"];}
     
    439443<?php if(isset($theme["button_fch"])){
    440444    echo 'color:'.$theme["button_fch"].';';
    441 }   
     445}
    442446if(isset($theme["button_bch"])){
    443447    echo 'background-color:'.$theme["button_bch"].';';
     
    446450#optinpoint .optinpoint-subs-button.subsicon:before{
    447451padding-left: 40px;
    448   <?php 
     452  <?php
    449453  if(isset($theme["button_w"])){
    450454      echo 'padding-left:'.$theme["button_h"].'px;';
     
    460464left: 0;
    461465pointer-events: none;
    462   <?php 
     466  <?php
    463467  if(isset($theme["button_h"])){
    464468      echo 'width:'.$theme["button_h"].'px;';
     
    699703'sig' => $this->getSpin('8','optinpoint-main',isset($theme["spinner_c"])?$theme["spinner_c"]:'#000')
    700704);
    701 $this->stfield($form['fields'],$set); 
    702 ?>
    703  
     705$this->stfield($form['fields'],$set);
     706?>
     707
    704708                <div style="clear:both"></div>
    705709
  • optinpoint-lite/trunk/public/includes/slide0.php

    r1719216 r1828212  
    1 <?php 
     1<?php
    22$theme['msg'] = htmlspecialchars_decode($theme['msg']);
    33?>
     
    2222  line-height: 18px;
    2323  margin: 40px 0 20px;
    24   <?php 
     24  <?php
    2525        if(isset($theme["heading_f"]['f'])){
    2626    array_push($oppo_font, $theme["heading_f"]['f']);
     
    4848  line-height: 20px;
    4949  text-align: center;
    50     <?php 
     50    <?php
    5151        if(isset($theme["msg_f"]['f'])){
    5252    array_push($oppo_font, $theme["msg_f"]['f']);
     
    6363width:80%;
    6464margin: 0 auto 12px auto;
    65 <?php 
     65<?php
    6666  if(isset($theme["tbox_w"])){
    6767      echo 'width:'.$theme["tbox_w"].'px;';
     
    8080left: 0;
    8181pointer-events: none;
    82 <?php 
     82<?php
    8383if(isset($theme["tbox_h"])){
    8484  echo 'width:'.$theme["tbox_h"].'px;';
     
    9090.optinpoints .oppo-ficon .inputlabel{
    9191  padding-left: 45px;
    92   <?php 
     92  <?php
    9393if(isset($theme["tbox_h"])){
    9494  echo 'padding-left:'.$theme["tbox_h"].'px;';
     
    117117    box-sizing: border-box;
    118118    font-size: 16px;
    119     <?php 
     119    <?php
    120120        if(isset($theme["tbox_f"]['f'])){
    121121    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    159159background: no-repeat center;
    160160background-image: <?=$this->getIcon('dd',16,'#000');?>;
    161 <?php 
     161<?php
    162162if(isset($theme["tbox_h"])){
    163163  echo 'width:'.$theme["tbox_h"].'px;';
     
    178178font-weight:500;
    179179white-space: nowrap;
    180 <?php 
     180<?php
    181181if(isset($theme["tbox_f"]['f'])){
    182182    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    229229}
    230230.optinpoints .optinpoint-item{
    231   <?php 
     231  <?php
    232232    $pline = 2;
    233233    if(isset($pline))echo 'width:'.(100/$pline).'%;';
     
    289289background-image: <?php
    290290        $tfi='ch1';
    291        
     291
    292292        $tfc='#fff';
    293293        if(isset($theme["check_ic"])){$tfc=$theme["check_ic"];}
     
    322322.optinpoints input[type="text"]:focus {
    323323    border:2px solid #ddd;
    324     <?php 
     324    <?php
    325325        if(isset($theme["tbox_bor"]) && isset($theme["tbox_borc"])){
    326326            echo ' border:'.$theme["tbox_bor"].'px solid '.$theme["tbox_borc"].';';
     
    408408
    409409    background:#8BD331;
    410    
     410
    411411  color:#fff;
    412     <?php 
     412    <?php
    413413    if(isset($theme["button_bch"])){
    414414        echo 'background:'.$theme["button_bch"].';';
    415415    }
    416     else{ ?> 
     416    else{ ?>
    417417      background: -moz-linear-gradient(left, #8BD331 0%, #8bd331 100%);
    418418    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#8BD331), color-stop(100%,#8bd331));
     
    432432.optinpoints .optinpoint-subs-button.subsicon:before{
    433433padding-left: 45px;
    434   <?php 
     434  <?php
    435435  if(isset($theme["button_w"])){
    436436      echo 'padding-left:'.$theme["button_h"].'px;';
     
    446446left: 0;
    447447pointer-events: none;
    448   <?php 
     448  <?php
    449449  if(isset($theme["button_h"])){
    450450      echo 'width:'.$theme["button_h"].'px;';
     
    544544  ?>
    545545}
    546 .optinpoints-trigi{ 
     546.optinpoints-trigi{
    547547background: #000;
    548548width:50px;
     
    559559
    560560.optinpoints-trigi:before{
    561 <?php 
     561<?php
    562562$ti='a01';
    563563if(isset($theme["slider_trigger_i"])){
     
    593593    <div class="optinpoints-resp">
    594594    <div class="optinpoints-inner oppointselector">
    595      
     595
    596596<?php if(isset($theme['heading'])) echo '<h3>'.$theme['heading'].'</h3>';?>
    597597<?php if(isset($theme['msg'])) echo '<div class="optinpoint_para">'.$theme['msg'].'</div>';?>
     
    603603  'type' => 1
    604604  );
    605 $this->stfield($form['fields'],$set); 
     605$this->stfield($form['fields'],$set);
    606606?>
    607607        <div class="optinpoint-subs-button<?php echo (isset($theme['button_i']) && $theme['button_i'] != 'inone' && $theme['button_i'] != 'idef')? ' subsicon' : '';?>"></div>
     
    611611        echo '<div class="optinpoint-tag">'.$tagtxt.'</div>';
    612612        }?>
    613     <div class="optinpoint-signalc"><div class="optinpoint-signal"><?php 
     613    <div class="optinpoint-signalc"><div class="optinpoint-signal"><?php
    614614            echo $this->getSpin('1','optinpoints',isset($theme["spinner_c"])?$theme["spinner_c"]:'#fff');?></div></div>
    615615    </form>
  • optinpoint-lite/trunk/public/includes/slide1.php

    r1719216 r1828212  
    1 <?php 
     1<?php
    22$theme['msg'] = htmlspecialchars_decode($theme['msg']);
    33$this->social=true;
     
    2929.optinpoints .optinpoint-leftpane{
    3030display: inline-block;
    31 <?php 
     31<?php
    3232if(isset($theme["slider_dissoc"])){
    3333echo 'display:none;';
     
    4646color: #454545;
    4747font-size: 34px;
    48 <?php 
     48<?php
    4949if(isset($theme["heading_f"]['f'])){
    5050    array_push($oppo_font, $theme["heading_f"]['f']);
     
    8383margin: 0 auto 12px auto;
    8484text-align: left;
    85 <?php 
     85<?php
    8686  if(isset($theme["tbox_w"])){
    8787      echo 'width:'.$theme["tbox_w"].'px;';
     
    100100left: 0;
    101101pointer-events: none;
    102 <?php 
     102<?php
    103103if(isset($theme["tbox_h"])){
    104104  echo 'width:'.$theme["tbox_h"].'px;';
     
    110110.optinpoints .oppo-ficon input[type="text"] ~ .inputlabel{
    111111  padding-left: 45px;
    112   <?php 
     112  <?php
    113113if(isset($theme["tbox_h"])){
    114114  echo 'padding-left:'.$theme["tbox_h"].'px;';
     
    139139outline:0;
    140140display: block;
    141 <?php 
     141<?php
    142142if(isset($theme["tbox_f"]['f'])){
    143143    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    181181background: no-repeat center;
    182182background-image: <?=$this->getIcon('dd',16,'#000');?>;
    183 <?php 
     183<?php
    184184if(isset($theme["tbox_h"])){
    185185  echo 'width:'.$theme["tbox_h"].'px;';
     
    201201padding: 0 20px;
    202202white-space: nowrap;
    203 <?php 
     203<?php
    204204if(isset($theme["tbox_f"]['f'])){
    205205    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    249249}
    250250.optinpoints .optinpoint-item{
    251   <?php 
     251  <?php
    252252    $pline = 2;
    253253    if(isset($pline))echo 'width:'.(100/$pline).'%;';
     
    298298background-image: <?php
    299299        $tfi='ch6';
    300        
     300
    301301        $tfc='#000';
    302302        if(isset($theme["check_ic"])){$tfc=$theme["check_ic"];}
     
    416416<?php if(isset($theme["button_fch"])){
    417417echo 'color:'.$theme["button_fch"].';';
    418 }   
     418}
    419419if(isset($theme["button_bch"])){
    420420echo 'background-color:'.$theme["button_bch"].';';
     
    429429.optinpoints .optinpoint-subs-button.subsicon:before{
    430430padding-left: 45px;
    431   <?php 
     431  <?php
    432432  if(isset($theme["button_w"])){
    433433      echo 'padding-left:'.$theme["button_h"].'px;';
     
    443443left: 0;
    444444pointer-events: none;
    445   <?php 
     445  <?php
    446446  if(isset($theme["button_h"])){
    447447      echo 'width:'.$theme["button_h"].'px;';
     
    619619?>
    620620}
    621 .optinpoints-trigi{ 
     621.optinpoints-trigi{
    622622background: #0066CB;
    623623width:50px;
     
    642642}
    643643.optinpoints-trigi:before{ 
    644 <?php 
     644<?php
    645645$ti='a04';
    646646if(isset($theme["slider_trigger_i"])){
     
    648648  else if($theme["slider_trigger_i"] != 'idef')$ti=$theme["slider_trigger_i"];
    649649}
    650  ?> 
     650 ?>
    651651content:<?php echo $this->getIcon($ti,32,(isset($theme["slider_trigger_c"]))?$theme["slider_trigger_c"]:'#fff');?>;
    652652height: 32px;
     
    695695  'type' => 1
    696696  );
    697 $this->stfield($form['fields'],$set); 
     697$this->stfield($form['fields'],$set);
    698698?>
    699699  <div class="optinpoint-subs-button<?php echo (isset($theme['button_i']) && $theme['button_i'] != 'inone' && $theme['button_i'] != 'idef')? ' subsicon' : '';?>"></div>
     
    703703              echo '<div class="optinpoint-tag">'.$tagtxt.'</div>';
    704704              }?>
    705             <div class="optinpoint-signalc"><div class="optinpoint-signal"><?php 
     705            <div class="optinpoint-signalc"><div class="optinpoint-signal"><?php
    706706            echo $this->getSpin('7','optinpoints',isset($theme["spinner_c"])?$theme["spinner_c"]:'#000');?></div></div>
    707707        </form>
  • optinpoint-lite/trunk/public/includes/slide8.php

    r1719216 r1828212  
    1 <?php 
     1<?php
    22$theme['msg'] = htmlspecialchars_decode($theme['msg']);
    33$this->social=true;
     
    3232color: #fff;
    3333font-size: 20px;
    34 <?php 
     34<?php
    3535if(isset($theme["heading_f"]['f'])){
    3636    array_push($oppo_font, $theme["heading_f"]['f']);
     
    9090left: 0;
    9191pointer-events: none;
    92 <?php 
     92<?php
    9393if(isset($theme["tbox_h"])){
    9494  echo 'width:'.$theme["tbox_h"].'px;';
     
    100100.optinpoints .optinpoint-field.oppo-ficon .inputlabel{
    101101  padding-left: 40px;
    102   <?php 
     102  <?php
    103103if(isset($theme["tbox_h"])){
    104104  echo 'padding-left:'.$theme["tbox_h"].'px;';
     
    128128display: block;
    129129border: 1px solid #efefef;
    130 <?php 
     130<?php
    131131if(isset($theme["tbox_f"]['f'])){
    132132    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    172172background: no-repeat center;
    173173background-image: <?=$this->getIcon('dd',16,'#000');?>;
    174 <?php 
     174<?php
    175175if(isset($theme["tbox_h"])){
    176176  echo 'width:'.$theme["tbox_h"].'px;';
     
    192192padding: 0 10px;
    193193white-space: nowrap;
    194 <?php 
     194<?php
    195195if(isset($theme["tbox_f"]['f'])){
    196196    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    245245}
    246246.optinpoints .optinpoint-item{
    247   <?php 
     247  <?php
    248248    $pline = 2;
    249249    if(isset($pline))echo 'width:'.(100/$pline).'%;';
     
    293293background-image: <?php
    294294        $tfi='ch2';
    295        
     295
    296296        $tfc='#000';
    297297        if(isset($theme["check_ic"])){$tfc=$theme["check_ic"];}
     
    397397<?php if(isset($theme["button_fch"])){
    398398echo 'color:'.$theme["button_fch"].';';
    399 }   
     399}
    400400if(isset($theme["button_bch"])){
    401401echo 'background-color:'.$theme["button_bch"].';';
     
    405405.optinpoints .optinpoint-subs-button.subsicon:before{
    406406padding-left: 42px;
    407   <?php 
     407  <?php
    408408  if(isset($theme["button_w"])){
    409409      echo 'padding-left:'.$theme["button_h"].'px;';
     
    419419left: 0;
    420420pointer-events: none;
    421   <?php 
     421  <?php
    422422  if(isset($theme["button_h"])){
    423423      echo 'width:'.$theme["button_h"].'px;';
     
    548548}
    549549.optinpoints-trigi:before{ 
    550 <?php 
     550<?php
    551551$ti='b05';
    552552if(isset($theme["slider_trigger_i"])){
     
    554554  else if($theme["slider_trigger_i"] != 'idef')$ti=$theme["slider_trigger_i"];
    555555}
    556  ?> 
     556 ?>
    557557content:<?php echo $this->getIcon($ti,32,(isset($theme["slider_trigger_c"]))?$theme["slider_trigger_c"]:'#fff');?>;
    558558height: 32px;
     
    691691  'type' => 1
    692692  );
    693 $this->stfield($form['fields'],$set); 
     693$this->stfield($form['fields'],$set);
    694694?>
    695695              <div class="optinpoint-subsc">
    696696                <div class="optinpoint-subs-button<?php echo (isset($theme['button_i']) && $theme['button_i'] != 'inone' && $theme['button_i'] != 'idef')? ' subsicon' : '';?>"></div>
    697                 <div class="optinpoint-signal"><?php 
     697                <div class="optinpoint-signal"><?php
    698698            echo $this->getSpin('3','optinpoints',isset($theme["spinner_c"])?$theme["spinner_c"]:'#000');?></div>
    699699              </div>
  • optinpoint-lite/trunk/public/includes/slide9.php

    r1719216 r1828212  
    1 <?php 
     1<?php
    22$theme['msg'] = htmlspecialchars_decode($theme['msg']);
    33?>
     
    3535color: #F4233C;
    3636font-size: 24px;
    37 <?php 
     37<?php
    3838if(isset($theme["heading_f"]['f'])){
    3939    array_push($oppo_font, $theme["heading_f"]['f']);
     
    8787margin: 0 auto 10px auto;
    8888text-align: left;
    89 <?php 
     89<?php
    9090  if(isset($theme["tbox_w"])){
    9191      echo 'width:'.$theme["tbox_w"].'px;';
     
    104104left: 0;
    105105pointer-events: none;
    106 <?php 
     106<?php
    107107if(isset($theme["tbox_h"])){
    108108  echo 'width:'.$theme["tbox_h"].'px;';
     
    114114.optinpoints .oppo-ficon input[type="text"] ~ .inputlabel{
    115115  padding-left: 40px;
    116   <?php 
     116  <?php
    117117if(isset($theme["tbox_h"])){
    118118  echo 'padding-left:'.$theme["tbox_h"].'px;';
     
    149149display: block;
    150150border: 1px solid #efefef;
    151 <?php 
     151<?php
    152152if(isset($theme["tbox_f"]['f'])){
    153153    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    196196background: no-repeat center;
    197197background-image: <?=$this->getIcon('dd',16,'#000');?>;
    198 <?php 
     198<?php
    199199if(isset($theme["tbox_h"])){
    200200  echo 'width:'.$theme["tbox_h"].'px;';
     
    216216padding: 0 10px;
    217217white-space: nowrap;
    218 <?php 
     218<?php
    219219if(isset($theme["tbox_f"]['f'])){
    220220    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    266266}
    267267.optinpoints .optinpoint-item{
    268   <?php 
     268  <?php
    269269    $pline = 2;
    270270    if(isset($pline))echo 'width:'.(100/$pline).'%;';
     
    314314background-image: <?php
    315315        $tfi='ch2';
    316        
     316
    317317        $tfc='#000';
    318318        if(isset($theme["check_ic"])){$tfc=$theme["check_ic"];}
     
    418418<?php if(isset($theme["button_fch"])){
    419419echo 'color:'.$theme["button_fch"].';';
    420 }   
     420}
    421421if(isset($theme["button_bch"])){
    422422echo 'background-color:'.$theme["button_bch"].';';
     
    425425.optinpoints .optinpoint-subs-button.subsicon:before{
    426426padding-left: 40px;
    427   <?php 
     427  <?php
    428428  if(isset($theme["button_w"])){
    429429      echo 'padding-left:'.$theme["button_h"].'px;';
     
    439439left: 0;
    440440pointer-events: none;
    441   <?php 
     441  <?php
    442442  if(isset($theme["button_h"])){
    443443      echo 'width:'.$theme["button_h"].'px;';
     
    575575}
    576576.optinpoints-trigi:before{ 
    577 <?php 
     577<?php
    578578$ti='b06';
    579579if(isset($theme["slider_trigger_i"])){
     
    581581  else if($theme["slider_trigger_i"] != 'idef')$ti=$theme["slider_trigger_i"];
    582582}
    583  ?> 
     583 ?>
    584584content:<?php echo $this->getIcon($ti,32,(isset($theme["slider_trigger_c"]))?$theme["slider_trigger_c"]:'#fff');?>;
    585585height: 32px;
     
    626626$this->stfield($form['fields'],$set);
    627627?>
    628  
     628
    629629                <div style="clear:both"></div>
    630630
  • optinpoint-lite/trunk/public/includes/slide_content.php

    r1702811 r1828212  
    233233}
    234234</style>
    235 <?php 
     235<?php
    236236$settings = $this->settings;
    237237$cmeta = $this->cmeta;
  • optinpoint-lite/trunk/public/includes/topbar0.php

    r1719216 r1828212  
    1 <?php 
     1<?php
    22$topid = 'optinpointt' . (isset($topbar_scode)?$topbar_scode:'');
    33?>
     
    1010    background: #000;
    1111left: 0;
    12   <?php 
     12  <?php
    1313        if(isset($theme["bg_c"])){
    1414            echo 'background:'.$theme["bg_c"].';';
     
    4242  white-space: nowrap;
    4343  text-align: right;
    44   <?php 
     44  <?php
    4545    if(isset($theme["heading_f"]['f'])){
    4646    array_push($oppo_font, $theme["heading_f"]['f']);
     
    106106    box-sizing: border-box;
    107107    font-size: 16px;
    108     <?php 
     108    <?php
    109109        if(isset($theme["tbox_f"]['f'])){
    110110    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    156156white-space: nowrap;
    157157text-overflow: ellipsis;
    158 <?php 
     158<?php
    159159if(isset($theme["tbox_f"]['f'])){
    160160    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    271271}
    272272.optinpointt .optinpoint-subs-button:hover{
    273     background:#8BD331;   
     273    background:#8BD331;
    274274  color:#fff;
    275     <?php 
     275    <?php
    276276        if(isset($theme["button_bch"])){
    277277            echo 'background:'.$theme["button_bch"].';';
    278278        }
    279         else{ ?> 
     279        else{ ?>
    280280          background: -moz-linear-gradient(left, #8BD331 0%, #8bd331 100%);
    281281        background: -webkit-gradient(linear, left top, right top, color-stop(0%,#8BD331), color-stop(100%,#8bd331));
     
    305305left: 0;
    306306pointer-events: none;
    307   <?php 
     307  <?php
    308308
    309309  if($theme["button_i"] != 'inone' && $theme["button_i"] != 'idef'){
     
    356356cursor:pointer;
    357357background-color: #7e7e7e;
    358 -moz-transform: rotate(45deg); 
     358-moz-transform: rotate(45deg);
    359359-o-transform: rotate(45deg);
    360360-ms-transform: rotate(45deg);
     
    387387  }
    388388  .optinpointt .optinpointt-close-button:hover {
    389     background-color: #fff; 
     389    background-color: #fff;
    390390    -ms-transform: rotate(225deg);
    391391    -webkit-transform: rotate(225deg);
    392     -moz-transform: rotate(225deg); 
    393     -o-transform: rotate(225deg); 
    394     transform: rotate(225deg); 
    395   } 
     392    -moz-transform: rotate(225deg);
     393    -o-transform: rotate(225deg);
     394    transform: rotate(225deg);
     395  }
    396396
    397397.optinpointt .optinpointt-close-button:hover::after {
     
    445445  'type' => 1
    446446  );
    447 $this->stfield($fields,$set); 
     447$this->stfield($fields,$set);
    448448?>
    449449
    450450  <div class="optinpoint-subs-button<?php echo (isset($theme['button_i']) && $theme['button_i'] != 'inone' && $theme['button_i'] != 'idef')? ' subsicon' : '';?>"></div>
    451451    </div>
    452    <div class="optinpoint-signalc"><div class="optinpoint-signal"><?php 
     452   <div class="optinpoint-signalc"><div class="optinpoint-signal"><?php
    453453            echo $this->getSpin('1',$topid,isset($theme["spinner_c"])?$theme["spinner_c"]:'#fff');?></div></div>
    454454
  • optinpoint-lite/trunk/public/includes/topbar1.php

    r1719216 r1828212  
    1 <?php 
     1<?php
    22$theme = $optinpoint['theme']['a1'];
    33$topid = 'optinpointt' . (isset($topbar_scode)?$topbar_scode:'');
     
    1212box-shadow: 0 0 20px rgba(0,0,0,.2);
    1313left: 0;
    14 <?php 
     14<?php
    1515        if(isset($theme["bg_c"])){
    1616            echo 'background:'.$theme["bg_c"].';';
     
    4343  line-height: 30px;
    4444  white-space: nowrap;
    45   <?php 
     45  <?php
    4646        if(isset($theme["heading_f"]['f'])){
    4747    array_push($oppo_font, $theme["heading_f"]['f']);
     
    104104    outline:0;
    105105    font-size: 16px;
    106     <?php 
     106    <?php
    107107        if(isset($theme["tbox_f"]['f'])){
    108108    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    154154white-space: nowrap;
    155155text-overflow: ellipsis;
    156 <?php 
     156<?php
    157157if(isset($theme["tbox_f"]['f'])){
    158158    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    259259}
    260260.optinpointt .optinpoint-subs-button:hover{
    261     background:#8BD331;   
     261    background:#8BD331;
    262262  color:#fff;
    263     <?php 
     263    <?php
    264264        if(isset($theme["button_bch"])){
    265265            echo 'background:'.$theme["button_bch"].';';
    266266        }
    267         else{ ?> 
     267        else{ ?>
    268268          background-image: -webkit-linear-gradient(top,#4d90fe,#4787ed);
    269269background-image: -moz-linear-gradient(top,#4d90fe,#4787ed);
     
    292292left: 0;
    293293pointer-events: none;
    294   <?php 
     294  <?php
    295295
    296296  if($theme["button_i"] != 'inone' && $theme["button_i"] != 'idef'){
     
    388388  'type' => 1
    389389  );
    390 $this->stfield($fields,$set); 
     390$this->stfield($fields,$set);
    391391?>
    392392  <div class="optinpoint-subs-button<?php echo (isset($theme['button_i']) && $theme['button_i'] != 'inone' && $theme['button_i'] != 'idef')? ' subsicon' : '';?>"></div>
  • optinpoint-lite/trunk/public/includes/topbar8.php

    r1719216 r1828212  
    1 <?php 
     1<?php
    22$topid = 'optinpointt' . (isset($topbar_scode)?$topbar_scode:'');
    33?>
     
    1515transition: margin 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86),transform 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    1616
    17 <?php 
     17<?php
    1818  if(isset($theme["bg_c"])){
    1919      echo 'background:'.$theme["bg_c"].';';
     
    5252  white-space: nowrap;
    5353line-height: 30px;
    54 <?php 
     54<?php
    5555  if(isset($theme["heading_f"]['f'])){
    5656    array_push($oppo_font, $theme["heading_f"]['f']);
     
    116116outline:0;
    117117display: block;
    118 <?php 
     118<?php
    119119    if(isset($theme["tbox_f"]['f'])){
    120120    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    170170padding: 0 10px;
    171171white-space: nowrap;
    172 <?php 
     172<?php
    173173if(isset($theme["tbox_f"]['f'])){
    174174    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    290290left: 0;
    291291pointer-events: none;
    292   <?php 
     292  <?php
    293293
    294294  if($theme["button_i"] != 'inone' && $theme["button_i"] != 'idef'){
     
    403403  'type' => 1
    404404  );
    405 $this->stfield($fields,$set); 
     405$this->stfield($fields,$set);
    406406?>
    407407              <div class="optinpoint-subsc">
    408408                <div class="optinpoint-subs-button<?php echo (isset($theme['button_i']) && $theme['button_i'] != 'inone' && $theme['button_i'] != 'idef')? ' subsicon' : '';?>"></div>
    409           <div class="optinpoint-signal"><?php 
     409          <div class="optinpoint-signal"><?php
    410410      echo $this->getSpin('3',$topid,isset($theme["spinner_c"])?$theme["spinner_c"]:'#000');?></div>
    411411      </div>
  • optinpoint-lite/trunk/public/includes/topbar9.php

    r1719216 r1828212  
    1 <?php 
     1<?php
    22$topid = 'optinpointt' . (isset($topbar_scode)?$topbar_scode:'');
    33?>
     
    1515transition: margin 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86),transform 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    1616
    17 <?php 
     17<?php
    1818  if(isset($theme["bg_c"])){
    1919      echo 'background:'.$theme["bg_c"].';';
     
    5454line-height: 30px;
    5555  white-space: nowrap;
    56 <?php 
     56<?php
    5757  if(isset($theme["heading_f"]['f'])){
    5858    array_push($oppo_font, $theme["heading_f"]['f']);
     
    135135display: block;
    136136border: 1px solid #efefef;
    137 <?php 
     137<?php
    138138    if(isset($theme["tbox_f"]['f'])){
    139139    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    191191text-align: left;
    192192white-space: nowrap;
    193 <?php 
     193<?php
    194194if(isset($theme["tbox_f"]['f'])){
    195195    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    311311left: 0;
    312312pointer-events: none;
    313   <?php 
     313  <?php
    314314
    315315  if($theme["button_i"] != 'inone' && $theme["button_i"] != 'idef'){
     
    426426$this->stfield($fields,$set);
    427427?>
    428  
     428
    429429                <div style="clear:both"></div></div>
    430430    </form>
  • optinpoint-lite/trunk/public/includes/topbar_content.php

    r1702811 r1828212  
    1 <?php 
     1<?php
    22$settings = $this->settings;
    33$cmeta = $this->cmeta;
  • optinpoint-lite/trunk/service/aw/aweber_collection.php

    r1606342 r1828212  
    8787     * _type
    8888     *
    89      * Interpret what type of resources are held in this collection by 
     89     * Interpret what type of resources are held in this collection by
    9090     * analyzing the URL
    9191     *
     
    138138     *                               display requires an app authorized with those additional permissions.
    139139     * @access public
    140      * @return AWeberCollection 
     140     * @return AWeberCollection
    141141     */
    142142    public function find($search_data) {
  • optinpoint-lite/trunk/service/aw/aweber_entry.php

    r1606342 r1828212  
    4747
    4848    /**
    49      * _type 
    50      *
    51      * Used to pull the name of this resource from its resource_type_link 
     49     * _type
     50     *
     51     * Used to pull the name of this resource from its resource_type_link
    5252     * @access protected
    5353     * @return String
     
    130130     * __get
    131131     *
    132      * Used to look up items in data, and special properties like type and 
     132     * Used to look up items in data, and special properties like type and
    133133     * child collections dynamically.
    134134     *
    135      * @param String $value     Attribute being accessed 
     135     * @param String $value     Attribute being accessed
    136136     * @access public
    137137     * @throws AWeberResourceNotImplemented
     
    273273     * _parseNamedOperation
    274274     *
    275      * Turns a dumb array of json into an array of Entries.  This is NOT 
     275     * Turns a dumb array of json into an array of Entries.  This is NOT
    276276     * a collection, but simply an array of entries, as returned from a
    277277     * named operation.
    278278     *
    279      * @param array $data 
     279     * @param array $data
    280280     * @access protected
    281281     * @return array
     
    285285        foreach($data as $entryData) {
    286286            $results[] = new AWeberEntry($entryData, str_replace($this->adapter->app->getBaseUri(), '',
    287                $entryData['self_link']), $this->adapter); 
     287               $entryData['self_link']), $this->adapter);
    288288        }
    289289        return $results;
     
    305305
    306306    /**
    307      * _getCollection 
     307     * _getCollection
    308308     *
    309309     * Returns the AWeberCollection object representing the given
  • optinpoint-lite/trunk/service/aw/aweber_response.php

    r1606342 r1828212  
    44 * AWeberResponse
    55 *
    6  * Base class for objects that represent a response from the AWeberAPI. 
     6 * Base class for objects that represent a response from the AWeberAPI.
    77 * Responses will exist as one of the two AWeberResponse subclasses:
    88 *  - AWeberEntry - a single instance of an AWeber resource
    99 *  - AWeberCollection - a collection of AWeber resources
    1010 * @uses AWeberAPIBase
    11  * @package 
     11 * @package
    1212 * @version $id$
    1313 */
     
    3737    /**
    3838     * __set
    39      * 
     39     *
    4040     * Manual re-implementation of __set, allows sub classes to access
    4141     * the default behavior by using the parent:: format.
     
    5252     * __get
    5353     *
    54      * PHP "MagicMethod" to allow for dynamic objects.  Defers first to the 
     54     * PHP "MagicMethod" to allow for dynamic objects.  Defers first to the
    5555     * data in $this->data.
    5656     *
  • optinpoint-lite/trunk/service/aw/curl_object.php

    r1606342 r1828212  
    55 *
    66 * An object-oriented shim that wraps the standard PHP cURL library.
    7  * 
     7 *
    88 * This interface has been created so that cURL functionality can be stubbed
    99 * out for unit testing, or swapped for an alternative library.
    10  * 
     10 *
    1111 * @see curl
    1212 * @package
     
    2020     * Encapsulates curl_errno - Returns the last error number
    2121     * @param resource $ch - A cURL handle returned by init.
    22      * @access public 
     22     * @access public
    2323     * @return the error number or 0 if no error occured.
    2424     */
     
    3030     * Encapsulates curl_error - Return last error string
    3131     * @param resource $ch - A cURL handle returned by init.
    32      * @access public 
     32     * @access public
    3333     * @return the error messge or '' if no error occured.
    3434     */
     
    4040     * Encapsulates curl_exec - Perform a cURL session.
    4141     * @param resource $ch - A cURL handle returned by init.
    42      * @access public 
     42     * @access public
    4343     * @return TRUE on success, FALSE on failure.
    4444     */
     
    5050     * Encapsulates curl_init - Initialize a cURL session.
    5151     * @param string $url - url to use.
    52      * @access public 
     52     * @access public
    5353     * @return cURL handle on success, FALSE on failure.
    5454     */
     
    6262     * @param int $opt - The CURLOPT to set.
    6363     * @param mixed $value - The value to set.
    64      * @access public 
     64     * @access public
    6565     * @return True on success, FALSE on failure.
    6666     */     
     
    9292
    9393    public function init($url) {
    94         return curl_init($url); 
     94        return curl_init($url);
    9595    }
    96    
     96
    9797    public function setopt ($ch , $option , $value) {
    9898        return curl_setopt($ch, $option, $value);
  • optinpoint-lite/trunk/service/aw/exceptions.php

    r1606342 r1828212  
    3535 *
    3636 * @uses AWeberException
    37  * @package 
     37 * @package
    3838 * @version $id$
    3939 */
     
    5757 *
    5858 * @uses AWeberException
    59  * @package 
     59 * @package
    6060 * @version $id$
    6161 */
     
    7474 * OAuth exception, as generated by an API JSON error response
    7575 * @uses AWeberException
    76  * @package 
     76 * @package
    7777 * @version $id$
    7878 */
     
    8989 * AWeberOAuthDataMissing
    9090 *
    91  * Used when a specific piece or pieces of data was not found in the 
     91 * Used when a specific piece or pieces of data was not found in the
    9292 * response. This differs from the exception that might be thrown as
    9393 * an AWeberOAuthException when parameters are not provided because
     
    9696 *
    9797 * @uses AWeberException
    98  * @package 
     98 * @package
    9999 * @version $id$
    100100 */
     
    102102
    103103    public function __construct($missing) {
    104         if (!is_array($missing)) $missing = array($missing); 
     104        if (!is_array($missing)) $missing = array($missing);
    105105        $this->missing = $missing;
    106106        $required = join(', ', $this->missing);
     
    118118 *
    119119 * @uses AWeberException
    120  * @package 
     120 * @package
    121121 * @version $id$
    122122 */
  • optinpoint-lite/trunk/service/aw/oauth_application.php

    r1606342 r1828212  
    240240     * _addParametersToUrl
    241241     *
    242      * Adds the parameters in associative array $data to the 
     242     * Adds the parameters in associative array $data to the
    243243     * given URL
    244      * @param String $url       URL 
     244     * @param String $url       URL
    245245     * @param array $data       Parameters to be added as a query string to
    246246     *      the URL provided
     
    432432     *
    433433     * Public facing function to make a request
    434      * 
     434     *
    435435     * @param mixed $method
    436436     * @param mixed $url  - Reserved characters in query params MUST be escaped
     
    442442
    443443        if ($this->debug) echo "\n** {$method}: $url\n";
    444        
     444
    445445        switch (strtoupper($method)) {
    446446            case 'POST':
  • optinpoint-lite/trunk/service/cc/ConstantContact.class.php

    r1606342 r1828212  
    147147        $response['data'] = json_decode(curl_exec($curl),true);
    148148        $response['http_status'] = curl_getinfo($curl, CURLINFO_HTTP_CODE);
    149        
     149
    150150        curl_close($curl);
    151151        return (object)$response;
  • optinpoint-lite/trunk/service/cc/redirect.php

    r1606342 r1828212  
    1515  </head>
    1616  <body>
    17    
     17
    1818</html>
  • optinpoint-lite/trunk/service/cm/README.md

    r1606342 r1828212  
    100100    # If you receive '121: Expired OAuth Token', refresh the access token
    101101    if ($result->response->Code == 121) {
    102         list($new_access_token, $new_expires_in, $new_refresh_token) = 
     102        list($new_access_token, $new_expires_in, $new_refresh_token) =
    103103            $wrap->refresh_token();
    104104        # Save $new_access_token, $new_expires_in, and $new_refresh_token
     
    125125
    126126Samples for creating or accessing all resources can be found in the samples directory.
    127 These samples can be used as the basis for your own application and provide an outline of 
    128 the expected inputs for each API call. 
     127These samples can be used as the basis for your own application and provide an outline of
     128the expected inputs for each API call.
    129129
    130 Further documentation of the inputs and outputs of each call can be found in the 
    131 documentation in each of the csrest_*.php files or simply by examining the 
     130Further documentation of the inputs and outputs of each call can be found in the
     131documentation in each of the csrest_*.php files or simply by examining the
    132132var_dump results in each of the provided samples.
    133133
  • optinpoint-lite/trunk/service/cm/class/serialisation.php

    r1606342 r1828212  
    55}
    66
    7 function CS_REST_SERIALISATION_get_available($log) { 
     7function CS_REST_SERIALISATION_get_available($log) {
    88    $log->log_message('Getting serialiser', __FUNCTION__, CS_REST_LOG_VERBOSE);
    99    if(function_exists('json_decode') && function_exists('json_encode')) {
     
    1111    } else {
    1212        return new CS_REST_ServicesJsonSerialiser($log);
    13     }   
     13    }
    1414}
    1515class CS_REST_BaseSerialiser {
    1616
    1717    var $_log;
    18    
     18
    1919    function __construct($log) {
    2020        $this->_log = $log;
    2121    }
    22    
     22
    2323    /**
    24      * Recursively ensures that all data values are utf-8 encoded. 
    25      * @param array $data All values of this array are checked for utf-8 encoding. 
     24     * Recursively ensures that all data values are utf-8 encoded.
     25     * @param array $data All values of this array are checked for utf-8 encoding.
    2626     */
    2727    function check_encoding($data) {
     
    3333            // Otherwise if the element is a string then we need to check the encoding
    3434            } else if(is_string($v)) {
    35                 if((function_exists('mb_detect_encoding') && mb_detect_encoding($v) !== 'UTF-8') || 
     35                if((function_exists('mb_detect_encoding') && mb_detect_encoding($v) !== 'UTF-8') ||
    3636                   (function_exists('mb_check_encoding') && !mb_check_encoding($v, 'UTF-8'))) {
    3737                    // The string is using some other encoding, make sure we utf-8 encode
    38                     $v = utf8_encode($v);       
     38                    $v = utf8_encode($v);
    3939                }
    40                
     40
    4141                $data[$k] = $v;
    4242            }
    4343        }
    44              
     44
    4545        return $data;
    46     }   
     46    }
    4747}
    4848
     
    6262        return 'json';
    6363    }
    64    
     64
    6565    function get_type() {
    6666        return 'native';
     
    7878    }
    7979
    80     /** 
    81      * We've had sporadic reports of people getting ID's from create routes with the surrounding quotes present. 
    82      * There is no case where these should be present. Just get rid of it. 
     80    /**
     81     * We've had sporadic reports of people getting ID's from create routes with the surrounding quotes present.
     82     * There is no case where these should be present. Just get rid of it.
    8383     */
    8484    function strip_surrounding_quotes($data) {
     
    9292
    9393class CS_REST_ServicesJsonSerialiser extends CS_REST_BaseSerialiser {
    94    
     94
    9595    var $_serialiser;
    96    
     96
    9797    function __construct($log) {
    9898        parent::__construct($log);
     
    107107        return 'json';
    108108    }
    109    
     109
    110110    function get_type() {
    111111        return 'services_json';
    112112    }
    113    
     113
    114114    function serialise($data) {
    115115        if(is_null($data) || $data == '') return '';
    116116        return $this->_serialiser->encode($this->check_encoding($data));
    117117    }
    118    
     118
    119119    function deserialise($text) {
    120120        $data = $this->_serialiser->decode($text);
    121        
     121
    122122        return is_null($data) ? $text : $data;
    123123    }
  • optinpoint-lite/trunk/service/cm/class/services_json.php

    r1606342 r1828212  
    666666                                // for now
    667667                                $parts = array();
    668                                
    669668                                if (preg_match('/^\s*(["\'].*[^\\\]["\'])\s*:\s*(\S.*),?$/Uis', $slice, $parts)) {
    670669                                    // "name":value pair
     
    759758        }
    760759    }
    761    
     760
    762761    function isError($data, $code = null)
    763762    {
     
    779778    }
    780779}
    781    
     780
    782781?>
  • optinpoint-lite/trunk/service/cm/class/transport.php

    r1606342 r1828212  
    1717    } else if(CS_REST_TRANSPORT_can_use_raw_socket($requires_ssl)) {
    1818        return new CS_REST_SocketTransport($log);
    19     } else { 
     19    } else {
    2020        $log->log_message('No transport is available', __FUNCTION__, CS_REST_LOG_ERROR);
    2121        trigger_error('No transport is available.'.
    2222            ($requires_ssl ? ' Try using non-secure (http) mode or ' : ' Please ').
    2323            'ensure the cURL extension is loaded', E_USER_ERROR);
    24     }   
     24    }
    2525}
    2626function CS_REST_TRANSPORT_can_use_raw_socket($requires_ssl) {
     
    3434
    3535    return false;
    36 }   
     36}
    3737class CS_REST_BaseTransport {
    38    
     38
    3939    var $_log;
    40    
     40
    4141    function __construct($log) {
    4242        $this->_log = $log;
    4343    }
    44    
    45     function split_and_inflate($response, $may_be_compressed) {       
     44
     45    function split_and_inflate($response, $may_be_compressed) {
    4646        $ra = explode("\r\n\r\n", $response);
    47        
     47
    4848        $result = array_pop($ra);
    4949        $headers = array_pop($ra);
    50        
    51         if($may_be_compressed && preg_match('/^Content-Encoding:\s+gzip\s+$/im', $headers)) {       
     50
     51        if($may_be_compressed && preg_match('/^Content-Encoding:\s+gzip\s+$/im', $headers)) {
    5252            $original_length = strlen($response);
    5353            $result = gzinflate(substr($result, 10, -8));
    54    
     54
    5555            $this->_log->log_message('Inflated gzipped response: '.$original_length.' bytes ->'.
    5656                strlen($result).' bytes', get_class(), CS_REST_LOG_VERBOSE);
    5757        }
    58        
    59         return array($headers, $result); 
     58
     59        return array($headers, $result);
    6060    }
    6161
     
    7373    function __construct($log) {
    7474        parent::__construct($log);
    75        
     75
    7676        $curl_version = curl_version();
    7777        $this->_curl_zlib = isset($curl_version['libz_version']);
     
    9393        $headers = array();
    9494        $headers[] = 'Content-Type: '.$call_options['contentType'];
    95        
     95
    9696
    9797        if (array_key_exists('authdetails', $call_options) &&
     
    127127            $inflate_response = true;
    128128        }
    129        
     129
    130130        if($call_options['protocol'] === 'https') {
    131131            curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
     
    151151                break;
    152152        }
    153        
     153
    154154        if(count($headers) > 0) {
    155155            curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
     
    165165            throw new CurlException(curl_error($ch), curl_errno($ch));
    166166        }
    167        
     167
    168168        list( $headers, $result ) = $this->split_and_inflate($response, $inflate_response);
    169        
     169
    170170        $this->_log->log_message('API Call Info for '.$call_options['method'].' '.
    171171        curl_getinfo($ch, CURLINFO_EFFECTIVE_URL).': '.curl_getinfo($ch, CURLINFO_SIZE_UPLOAD).
    172172            ' bytes uploaded. '.curl_getinfo($ch, CURLINFO_SIZE_DOWNLOAD).' bytes downloaded'.
    173             ' Total time (seconds): '.curl_getinfo($ch, CURLINFO_TOTAL_TIME), 
     173            ' Total time (seconds): '.curl_getinfo($ch, CURLINFO_TOTAL_TIME),
    174174        get_class($this), CS_REST_LOG_VERBOSE);
    175175
     
    258258        if($this->_socket_wrapper->open($domain, $port)) {
    259259            $inflate_response = function_exists('gzinflate');
    260            
     260
    261261            $request = $this->_build_request($call_options, $host, $path, $inflate_response);
    262262            $this->_log->log_message('Sending <pre>'.$request.'</pre> down the socket',
    263263            get_class($this), CS_REST_LOG_VERBOSE);
    264              
     264
    265265            $this->_socket_wrapper->write($request);
    266266            $response = $this->_socket_wrapper->read();
     
    269269            $this->_log->log_message('API Call Info for '.$call_options['method'].' '.
    270270            $call_options['route'].': '.strlen($request).
    271                 ' bytes uploaded. '.strlen($response).' bytes downloaded', 
     271                ' bytes uploaded. '.strlen($response).' bytes downloaded',
    272272            get_class($this), CS_REST_LOG_VERBOSE);
    273273               
    274274            list( $headers, $result ) = $this->split_and_inflate($response, $inflate_response);
    275                
     275
    276276            $this->_log->log_message('Received headers <pre>'.$headers.'</pre>',
    277277                get_class($this), CS_REST_LOG_VERBOSE);
     
    293293        $this->_log->log_message('Failed to get HTTP status code from request headers <pre>'.$headers.'</pre>',
    294294            get_class($this), CS_REST_LOG_ERROR);
    295         trigger_error('Failed to get HTTP status code from request', E_USER_ERROR);       
     295        trigger_error('Failed to get HTTP status code from request', E_USER_ERROR);
    296296    }
    297297
     
    325325        if($accept_gzip) {
    326326            $request .=
    327 "Accept-Encoding: gzip\n";           
     327"Accept-Encoding: gzip\n";
    328328        }
    329329
  • optinpoint-lite/trunk/service/cm/csrest_administrators.php

    r1606342 r1828212  
    6868     * Updates details for an existing administrator associated with the current account
    6969     * @param string $email The email address of the administrator to be updated
    70      * @param array $admin The updated administrator details to use for the update. 
     70     * @param array $admin The updated administrator details to use for the update.
    7171     *     This array should be of the form
    7272     *     array (
  • optinpoint-lite/trunk/service/cm/csrest_campaigns.php

    r1606342 r1828212  
    112112
    113113    /**
    114      * Sends a preview of an existing campaign to the specified recipients. 
    115      * @param array<string> $recipients The recipients to send the preview to. 
     114     * Sends a preview of an existing campaign to the specified recipients.
     115     * @param array<string> $recipients The recipients to send the preview to.
    116116     * @param string $personalize How to personalize the campaign content. Valid options are:
    117117     *     'Random': Choose a random campaign recipient and use their personalisation data
     
    120120     * @return CS_REST_Wrapper_Result A successful response will be empty
    121121     */
    122     function send_preview($recipients, $personalize = 'Random') { 
     122    function send_preview($recipients, $personalize = 'Random') {
    123123        $preview_data = array(
    124124            'PreviewRecipients' => $recipients,
    125125            'Personalize' => $personalize
    126126        );
    127        
     127
    128128        return $this->post_request($this->_campaigns_base_route.'sendpreview.json', $preview_data);
    129129    }
     
    146146
    147147    /**
    148      * Unschedules the campaign, moving it back into the drafts. If the campaign has been sent or is   
     148     * Unschedules the campaign, moving it back into the drafts. If the campaign has been sent or is
    149149     * in the process of sending, this api request will fail.
    150150     * @access public
     
    188188     * }
    189189     */
    190     function get_recipients($page_number = NULL, $page_size = NULL, $order_field = NULL, 
    191         $order_direction = NULL) {           
    192         return $this->get_request_paged($this->_campaigns_base_route.'recipients.json', $page_number, 
     190    function get_recipients($page_number = NULL, $page_size = NULL, $order_field = NULL,
     191        $order_direction = NULL) {
     192        return $this->get_request_paged($this->_campaigns_base_route.'recipients.json', $page_number,
    193193            $page_size, $order_field, $order_direction, '?');
    194194    }
     
    223223     * )
    224224     */
    225     function get_bounces($since = '', $page_number = NULL, $page_size = NULL, $order_field = NULL, 
     225    function get_bounces($since = '', $page_number = NULL, $page_size = NULL, $order_field = NULL,
    226226        $order_direction = NULL) {
    227227        return $this->get_request_paged($this->_campaigns_base_route.'bounces.json?date='.urlencode($since),
     
    239239     *             'Name' => The list name
    240240     *         }
    241      *     ), 
     241     *     ),
    242242     *     'Segments' => array(
    243243     *         {
     
    327327     * }
    328328     */
    329     function get_opens($since = '', $page_number = NULL, $page_size = NULL, $order_field = NULL, 
    330         $order_direction = NULL) {
    331         return $this->get_request_paged($this->_campaigns_base_route.'opens.json?date='.urlencode($since), 
     329    function get_opens($since = '', $page_number = NULL, $page_size = NULL, $order_field = NULL,
     330        $order_direction = NULL) {
     331        return $this->get_request_paged($this->_campaigns_base_route.'opens.json?date='.urlencode($since),
    332332            $page_number, $page_size, $order_field, $order_direction);
    333333    }
     
    367367     * }
    368368     */
    369     function get_clicks($since = '', $page_number = NULL, $page_size = NULL, $order_field = NULL, 
    370         $order_direction = NULL) {
    371         return $this->get_request_paged($this->_campaigns_base_route.'clicks.json?date='.urlencode($since), 
     369    function get_clicks($since = '', $page_number = NULL, $page_size = NULL, $order_field = NULL,
     370        $order_direction = NULL) {
     371        return $this->get_request_paged($this->_campaigns_base_route.'clicks.json?date='.urlencode($since),
    372372            $page_number, $page_size, $order_field, $order_direction);
    373373    }
     
    400400     * }
    401401     */
    402     function get_unsubscribes($since = '', $page_number = NULL, $page_size = NULL, $order_field = NULL, 
    403         $order_direction = NULL) {
    404         return $this->get_request_paged($this->_campaigns_base_route.'unsubscribes.json?date='.urlencode($since), 
     402    function get_unsubscribes($since = '', $page_number = NULL, $page_size = NULL, $order_field = NULL,
     403        $order_direction = NULL) {
     404        return $this->get_request_paged($this->_campaigns_base_route.'unsubscribes.json?date='.urlencode($since),
    405405            $page_number, $page_size, $order_field, $order_direction);
    406406    }
     
    432432     * }
    433433     */
    434     function get_spam($since = '', $page_number = NULL, $page_size = NULL, $order_field = NULL, 
    435         $order_direction = NULL) {
    436         return $this->get_request_paged($this->_campaigns_base_route.'spam.json?date='.urlencode($since), 
     434    function get_spam($since = '', $page_number = NULL, $page_size = NULL, $order_field = NULL,
     435        $order_direction = NULL) {
     436        return $this->get_request_paged($this->_campaigns_base_route.'spam.json?date='.urlencode($since),
    437437            $page_number, $page_size, $order_field, $order_direction);
    438438    }
  • optinpoint-lite/trunk/service/cm/csrest_clients.php

    r1606342 r1828212  
    161161     */
    162162    function get_lists_for_email($email_address) {
    163         return $this->get_request($this->_clients_base_route . 
     163        return $this->get_request($this->_clients_base_route .
    164164          'listsforemail.json?email='.urlencode($email_address));
    165165    }
     
    206206     * }
    207207     */
    208     function get_suppressionlist($page_number = NULL, $page_size = NULL, $order_field = NULL, 
     208    function get_suppressionlist($page_number = NULL, $page_size = NULL, $order_field = NULL,
    209209        $order_direction = NULL) {
    210            
    211         return $this->get_request_paged($this->_clients_base_route.'suppressionlist.json', 
     210
     211        return $this->get_request_paged($this->_clients_base_route.'suppressionlist.json',
    212212            $page_number, $page_size, $order_field, $order_direction, '?');
    213213    }
     
    256256     * {
    257257     *     'ApiKey' => The clients API Key, THIS IS NOT THE CLIENT ID
    258      *     'BasicDetails' => 
     258     *     'BasicDetails' =>
    259259     *     {
    260260     *         'ClientID' => The id of the client
     
    287287     *         'Currency' => The currency fees are paid in
    288288     *         'ClientPays' => Whether client client pays for themselves
    289      *     }     
     289     *     }
    290290     * }
    291291     */
     
    388388    /**
    389389     * Transfer credits to or from this client.
    390      * 
     390     *
    391391     * @param array $transfer_data Details for the credit transfer. This array
    392392     *   should be of the form:
     
    418418    /**
    419419     * returns the people associated with this client.
    420      * @return CS_REST_Wrapper_Result A successful response will be an object of the form 
     420     * @return CS_REST_Wrapper_Result A successful response will be an object of the form
    421421     *     array({
    422422     *          'EmailAddress' => the email address of the person
     
    428428    function get_people() {
    429429        return $this->get_request($this->_clients_base_route.'people.json');
    430     } 
    431    
     430    }
     431
    432432    /**
    433433     * retrieves the email address of the primary contact for this client
     
    438438        return $this->get_request($this->_clients_base_route.'primarycontact.json');
    439439    }
    440    
     440
    441441    /**
    442442     * assigns the primary contact for this client to the person with the specified email address
  • optinpoint-lite/trunk/service/cm/csrest_general.php

    r1606342 r1828212  
    9494        $serialiser = NULL,
    9595        $transport = NULL) {
    96         $this->CS_REST_Wrapper_Base($auth_details, $protocol, $debug_level, $host, $log, $serialiser, $transport);       
     96        $this->CS_REST_Wrapper_Base($auth_details, $protocol, $debug_level, $host, $log, $serialiser, $transport);
    9797    }
    9898
     
    171171        return $this->get_request($this->_base_route.'admins.json');
    172172    }
    173    
     173
    174174    /**
    175175     * Retrieves the email address of the primary contact for this account
  • optinpoint-lite/trunk/service/cm/csrest_lists.php

    r1606342 r1828212  
    153153     *     )
    154154     * @access public
    155      * @return CS_REST_Wrapper_Result A successful response will be the 
     155     * @return CS_REST_Wrapper_Result A successful response will be the
    156156     * personalisation tag of the newly created custom field
    157157     */
     
    193193            'Options' => $new_options
    194194        );
    195        
    196         return $this->put_request($this->_lists_base_route.'customfields/'.rawurlencode($key).'/options.json', 
     195
     196        return $this->put_request($this->_lists_base_route.'customfields/'.rawurlencode($key).'/options.json',
    197197            $options);
    198198    }
     
    284284     * }
    285285     */
    286     function get_active_subscribers($added_since = '', $page_number = NULL, 
     286    function get_active_subscribers($added_since = '', $page_number = NULL,
    287287        $page_size = NULL, $order_field = NULL, $order_direction = NULL) {
    288            
    289         return $this->get_request_paged($this->_lists_base_route.'active.json?date='.urlencode($added_since), 
     288
     289        return $this->get_request_paged($this->_lists_base_route.'active.json?date='.urlencode($added_since),
    290290            $page_number, $page_size, $order_field, $order_direction);
    291291    }
     
    324324     * }
    325325     */
    326     function get_unconfirmed_subscribers($added_since = '', $page_number = NULL, 
     326    function get_unconfirmed_subscribers($added_since = '', $page_number = NULL,
    327327        $page_size = NULL, $order_field = NULL, $order_direction = NULL) {
    328328
    329         return $this->get_request_paged($this->_lists_base_route.'unconfirmed.json?date='.urlencode($added_since), 
     329        return $this->get_request_paged($this->_lists_base_route.'unconfirmed.json?date='.urlencode($added_since),
    330330            $page_number, $page_size, $order_field, $order_direction);
    331331    }
     
    364364     * }
    365365     */
    366     function get_bounced_subscribers($bounced_since = '', $page_number = NULL, 
     366    function get_bounced_subscribers($bounced_since = '', $page_number = NULL,
    367367        $page_size = NULL, $order_field = NULL, $order_direction = NULL) {
    368            
    369         return $this->get_request_paged($this->_lists_base_route.'bounced.json?date='.urlencode($bounced_since), 
     368
     369        return $this->get_request_paged($this->_lists_base_route.'bounced.json?date='.urlencode($bounced_since),
    370370            $page_number, $page_size, $order_field, $order_direction);
    371371    }
     
    404404     * }
    405405     */
    406     function get_unsubscribed_subscribers($unsubscribed_since = '', $page_number = NULL, 
     406    function get_unsubscribed_subscribers($unsubscribed_since = '', $page_number = NULL,
    407407        $page_size = NULL, $order_field = NULL, $order_direction = NULL) {
    408            
    409         return $this->get_request_paged($this->_lists_base_route.'unsubscribed.json?date='.urlencode($unsubscribed_since), 
     408
     409        return $this->get_request_paged($this->_lists_base_route.'unsubscribed.json?date='.urlencode($unsubscribed_since),
    410410            $page_number, $page_size, $order_field, $order_direction);
    411411    }
     
    444444     * }
    445445     */
    446     function get_deleted_subscribers($deleted_since = '', $page_number = NULL, 
     446    function get_deleted_subscribers($deleted_since = '', $page_number = NULL,
    447447        $page_size = NULL, $order_field = NULL, $order_direction = NULL) {
    448            
    449         return $this->get_request_paged($this->_lists_base_route.'deleted.json?date='.urlencode($deleted_since), 
     448
     449        return $this->get_request_paged($this->_lists_base_route.'deleted.json?date='.urlencode($deleted_since),
    450450            $page_number, $page_size, $order_field, $order_direction);
    451451    }
     
    505505        return $this->get_request($this->_lists_base_route.'stats.json');
    506506    }
    507    
     507
    508508    /**
    509509     * Gets the webhooks which are currently subcribed to event on this list
     
    523523        return $this->get_request($this->_lists_base_route.'webhooks.json');
    524524    }
    525    
     525
    526526    /**
    527527     * Creates a new webhook based on the provided details
     
    529529     *     This array should be of the form
    530530     *     array(
    531      *         'Events' => array<string> The events to subscribe to. Valid events are 
    532      *             CS_REST_LIST_WEBHOOK_SUBSCRIBE, 
    533      *             CS_REST_LIST_WEBHOOK_DEACTIVATE, 
     531     *         'Events' => array<string> The events to subscribe to. Valid events are
     532     *             CS_REST_LIST_WEBHOOK_SUBSCRIBE,
     533     *             CS_REST_LIST_WEBHOOK_DEACTIVATE,
    534534     *             CS_REST_LIST_WEBHOOK_UPDATE
    535535     *         'Url' => string The url of the page to POST the webhook events to
     
    543543     */
    544544    function create_webhook($webhook) {
    545         return $this->post_request($this->_lists_base_route.'webhooks.json', $webhook);   
    546     }
    547    
     545        return $this->post_request($this->_lists_base_route.'webhooks.json', $webhook);
     546    }
     547
    548548    /**
    549549     * Sends test events for the given webhook id
    550550     * @param string $webhook_id The id of the webhook to test
    551551     * @access public
    552      * @return CS_REST_Wrapper_Result A successful response will be empty. 
     552     * @return CS_REST_Wrapper_Result A successful response will be empty.
    553553     */
    554554    function test_webhook($webhook_id) {
    555555        return $this->get_request($this->_lists_base_route.'webhooks/'.$webhook_id.'/test.json');
    556     }   
     556    }
    557557
    558558    /**
     
    565565        return $this->delete_request($this->_lists_base_route.'webhooks/'.$webhook_id.'.json');
    566566    }
    567    
     567
    568568    /**
    569569     * Activates an existing deactivated webhook
     
    575575        return $this->put_request($this->_lists_base_route.'webhooks/'.$webhook_id.'/activate.json', '');
    576576    }
    577    
     577
    578578    /**
    579579     * Deactivates an existing activated webhook
  • optinpoint-lite/trunk/service/cm/csrest_people.php

    r1606342 r1828212  
    8282     * Updates details for an existing person associated with the specified client.
    8383     * @param string $email The email address of the person to be updated
    84      * @param array $person The updated person details to use for the update. 
     84     * @param array $person The updated person details to use for the update.
    8585     *     This array should be of the form
    8686     *     array (
     
    105105     *     'Name' => The name of the person
    106106     *     'Status' => The status of the person
    107      *     'AccessLevel' => The access level of the person     
     107     *     'AccessLevel' => The access level of the person
    108108     *     )
    109109     * }
  • optinpoint-lite/trunk/service/cm/csrest_segments.php

    r1606342 r1828212  
    6060        $this->_segments_base_route = $this->_base_route.'segments/'.$segment_id;
    6161    }
    62    
     62
    6363    /**
    6464     * Creates a new segment on the given list with the provided details
    6565     * @param int $list_id The list on which to create the segment
    6666     * @param $segment_details The details of the new segment
    67      *     This should be an array of the form 
     67     *     This should be an array of the form
    6868     *         array(
    6969     *             'Title' => The title of the new segment
     
    8383    function create($list_id, $segment_details) {
    8484        return $this->post_request($this->_base_route.'segments/'.$list_id.'.json', $segment_details);
    85     }   
    86    
     85    }
     86
    8787    /**
    8888     * Updates the current segment with the provided details. Calls to this route will clear any existing rules
    8989     * @param $segment_details The new details for the segment
    90      *     This should be an array of the form 
     90     *     This should be an array of the form
    9191     *         array(
    9292     *             'Title' => The title of the new segment
     
    106106    function update($segment_details) {
    107107        return $this->put_request($this->_segments_base_route.'.json', $segment_details);
    108     }   
    109    
     108    }
     109
    110110    /**
    111111     * Adds the given rule to the current segment
     
    125125        return $this->post_request($this->_segments_base_route.'/rules.json', $rulegroup);
    126126    }
    127    
     127
    128128    /**
    129129     * Gets the details of the current segment
     
    164164        return $this->delete_request($this->_segments_base_route.'/rules.json');
    165165    }
    166    
     166
    167167    /**
    168168     * Gets a paged collection of subscribers which fall into the given segment
    169      * @param string $subscribed_since The date to start getting subscribers from 
     169     * @param string $subscribed_since The date to start getting subscribers from
    170170     * @param int $page_number The page number to get
    171171     * @param int $page_size The number of records per page
     
    198198     * }
    199199     */
    200     function get_subscribers($subscribed_since = '', $page_number = NULL, 
     200    function get_subscribers($subscribed_since = '', $page_number = NULL,
    201201        $page_size = NULL, $order_field = NULL, $order_direction = NULL) {
    202            
    203         return $this->get_request_paged($this->_segments_base_route.'/active.json?date='.urlencode($subscribed_since), 
     202
     203        return $this->get_request_paged($this->_segments_base_route.'/active.json?date='.urlencode($subscribed_since),
    204204            $page_number, $page_size, $order_field, $order_direction);
    205205    }
  • optinpoint-lite/trunk/service/cm/csrest_subscribers.php

    r1606342 r1828212  
    156156            'RestartSubscriptionBasedAutoresponders' => $restartSubscriptionBasedAutoResponders
    157157        );
    158        
     158
    159159        return $this->post_request($this->_subscribers_base_route.'/import.json', $subscribers);
    160160    }
     
    214214        // We need to build the subscriber data structure.
    215215        $email = array(
    216             'EmailAddress' => $email 
     216            'EmailAddress' => $email
    217217        );
    218        
     218
    219219        return $this->post_request($this->_subscribers_base_route.'/unsubscribe.json', $email);
    220220    }
  • optinpoint-lite/trunk/service/cm/csrest_templates.php

    r1606342 r1828212  
    5757     */
    5858    function set_template_id($template_id) {
    59         $this->_templates_base_route = $this->_base_route.'templates/'.$template_id.'.json';           
     59        $this->_templates_base_route = $this->_base_route.'templates/'.$template_id.'.json';
    6060    }
    6161
  • optinpoint-lite/trunk/service/ic/iContactApi.php

    r1620057 r1828212  
    44 * @package iContact
    55 * @author iContact <www.icontact.com>
    6  * @description This class is a wrapper for the iContact API. 
    7  * It makes integrating iContact into your app as simple as 
     6 * @description This class is a wrapper for the iContact API.
     7 * It makes integrating iContact into your app as simple as
    88 * calling a method.
    99 * @version 2.0
     
    8383    /**
    8484     * This is our constuctor and simply checks for
    85      * defined constants and configuration values and 
     85     * defined constants and configuration values and
    8686     * then builds the configuration from that
    8787     * @access protected
     
    9191        // Check for constants
    9292        $aConstantMap = array(
    93             // 'ICONTACT_APIVERSION', 
    94             // 'ICONTACT_APISANDBOXURL', 
    95             'ICONTACT_APPID'       => 'appId', 
    96             // 'ICONTACT_APIURL', 
    97             'ICONTACT_APIUSERNAME' => 'apiUsername', 
     93            // 'ICONTACT_APIVERSION',
     94            // 'ICONTACT_APISANDBOXURL',
     95            'ICONTACT_APPID'       => 'appId',
     96            // 'ICONTACT_APIURL',
     97            'ICONTACT_APIUSERNAME' => 'apiUsername',
    9898            'ICONTACT_APIPASSWORD' => 'apiPassword'
    9999        );
     
    251251        // Setup the list
    252252        $aList = array(
    253             'name'               => $sName, 
    254             'welcomeMessageId'   => $iWelcomeMessageId, 
    255             'emailOwnerOnChange' => intval($bEmailOwnerOnChange), 
    256             'welcomeOnManualAdd' => intval($bWelcomeOnManualAdd), 
    257             'welcomeOnSignupAdd' => intval($bWelcomeOnSignupAdd), 
    258             'description'        => $sDescription, 
     253            'name'               => $sName,
     254            'welcomeMessageId'   => $iWelcomeMessageId,
     255            'emailOwnerOnChange' => intval($bEmailOwnerOnChange),
     256            'welcomeOnManualAdd' => intval($bWelcomeOnManualAdd),
     257            'welcomeOnSignupAdd' => intval($bWelcomeOnSignupAdd),
     258            'description'        => $sDescription,
    259259            'publicname'         => $sPublicName
    260260        );
     
    266266
    267267    /**
    268      * This method adds a message to 
     268     * This method adds a message to
    269269     * your iContact API account
    270270     * @access public
     
    283283        // Setup the message data
    284284        $aMessage           = array(
    285             'campaignId'  => $iCampaignId, 
    286             'htmlBody'    => $sHtmlBody, 
    287             'messageName' => $sMessageName, 
    288             'messageType' => (in_array($sMessageType, $aValidMessageTypes) ? $sMessageType : 'normal'), 
    289             'subject'     => $sSubject, 
     285            'campaignId'  => $iCampaignId,
     286            'htmlBody'    => $sHtmlBody,
     287            'messageName' => $sMessageName,
     288            'messageType' => (in_array($sMessageType, $aValidMessageTypes) ? $sMessageType : 'normal'),
     289            'subject'     => $sSubject,
    290290            'textBody'    => $sTextBody
    291291        );
     
    308308        if (empty($this->aSearchParameters['orderby'])) {
    309309            // Check for a direction
    310             if (empty($sDirection)) { 
     310            if (empty($sDirection)) {
    311311                // Add just the field
    312312                $this->aSearchParameters['orderby'] = (string) $sField;
     
    366366        // Give our handle headers
    367367        curl_setopt($rHandle, CURLOPT_HTTPHEADER, $this->getHeaders());
    368         // Tell our handle that we 
     368        // Tell our handle that we
    369369        // want the data returned
    370370        curl_setopt($rHandle, CURLOPT_RETURNTRANSFER, true);
     
    375375        switch (strtoupper($sMethod)) {
    376376            // Deleting data
    377             case 'DELETE' : 
     377            case 'DELETE' :
    378378                // Set the cURL custom header
    379379                curl_setopt($rHandle, CURLOPT_CUSTOMREQUEST, 'DELETE');
     
    474474            return true;
    475475        } elseif (empty($sReturnKey)) {
    476             // Return the entire 
     476            // Return the entire
    477477            // base response
    478478            return $aResponse;
     
    498498        $aSends = $this->makeCall("/a/{$this->setAccountId()}/c/{$this->setClientFolderId()}/sends", 'POST', array(
    499499            array(
    500                 'excludeListIds'    => $sExcludeListIds, 
    501                 'excludeSegmentIds' => $sExcludeSegmentIds, 
    502                 'includeListIds'    => $sIncludeListIds, 
    503                 'includeSegmentIds' => $sIncludeSegmentIds, 
     500                'excludeListIds'    => $sExcludeListIds,
     501                'excludeSegmentIds' => $sExcludeSegmentIds,
     502                'includeListIds'    => $sIncludeListIds,
     503                'includeSegmentIds' => $sIncludeSegmentIds,
    504504                'scheduledTime'     => (empty($sScheduledTime) ? null : date('c', strtotime($sScheduledTime)))
    505505            )
     
    523523        $aSubscriptions = $this->makeCall("/a/{$this->setAccountId()}/c/{$this->setClientFolderId()}/subscriptions", 'POST', array(
    524524            array(
    525                 'contactId' => $iContactId, 
    526                 'listId'    => $iListId, 
     525                'contactId' => $iContactId,
     526                'listId'    => $iListId,
    527527                'status'    => $sStatus
    528528            )
     
    652652            $aUploads = $this->makeCall("/a/{$this->setAccountId()}/c/{$this->setClientFolderId()}/uploads", 'POST', array(
    653653                array(
    654                     'action' => 'add', 
     654                    'action' => 'add',
    655655                    'listIds' => $iListId
    656656                )
     
    694694        // Setup the list
    695695        $aList = array(
    696             'name'               => $sName, 
    697             'welcomeMessageId'   => $iWelcomeMessageId, 
    698             'emailOwnerOnChange' => intval($bEmailOwnerOnChange), 
    699             'welcomeOnManualAdd' => intval($bWelcomeOnManualAdd), 
    700             'welcomeOnSignupAdd' => intval($bWelcomeOnSignupAdd), 
    701             'description'        => $sDescription, 
     696            'name'               => $sName,
     697            'welcomeMessageId'   => $iWelcomeMessageId,
     698            'emailOwnerOnChange' => intval($bEmailOwnerOnChange),
     699            'welcomeOnManualAdd' => intval($bWelcomeOnManualAdd),
     700            'welcomeOnSignupAdd' => intval($bWelcomeOnSignupAdd),
     701            'description'        => $sDescription,
    702702            'publicname'         => $sPublicName
    703703        );
     
    709709     * This method tells the system whether
    710710     * or not to use the sandbox or not, the
    711      * sandbox is turned off by defualt and 
     711     * sandbox is turned off by defualt and
    712712     * by default this method turns it on
    713713     * @access public
     
    818818    }
    819819    /**
    820      * This method returns any set 
     820     * This method returns any set
    821821     * errors in the current instance
    822822     * @access public
     
    826826        // Check for errors
    827827        if (empty($this->aErrors)) {
    828             // Return false, for 
     828            // Return false, for
    829829            // there are no errors
    830830            return false;
     
    844844        // Return the headers
    845845        return array(
    846             'Except:', 
    847             'Accept:  application/json', 
    848             'Content-type:  application/json', 
     846            'Except:',
     847            'Accept:  application/json',
     848            'Content-type:  application/json',
    849849            'Api-Version:  ' . (defined('ICONTACT_APIVERSION')        ? constant('ICONTACT_APIVERSION') : '2.2'),
    850             'Api-AppId:  '   . (!empty($this->aConfig['appId'])       ? $this->aConfig['appId']         : constant('ICONTACT_APPID')), 
    851             'Api-Username:  '. (!empty($this->aConfig['apiUsername']) ? $this->aConfig['apiUsername']   : constant('ICONTACT_APIUSERNAME')), 
     850            'Api-AppId:  '   . (!empty($this->aConfig['appId'])       ? $this->aConfig['appId']         : constant('ICONTACT_APPID')),
     851            'Api-Username:  '. (!empty($this->aConfig['apiUsername']) ? $this->aConfig['apiUsername']   : constant('ICONTACT_APIUSERNAME')),
    852852            'Api-Password:  '. (!empty($this->aConfig['apiPassword']) ? $this->aConfig['apiPassword']   : constant('ICONTACT_APIPASSWORD'))
    853853        );
     
    855855
    856856    /**
    857      * This method returns the last 
     857     * This method returns the last
    858858     * API POST request JSON
    859859     * @access public
     
    960960
    961961    /**
    962      * This method simply returns the base URL for 
     962     * This method simply returns the base URL for
    963963     * your API/Sandbox account
    964964     * @access public
     
    973973        // Determine which one needs to be returned with the URL
    974974        $sBaseUrl    = ($this->bSandbox === true) ? $sSandboxUrl : $sApiUrl;
    975         // Do we need to return the entire url or just 
     975        // Do we need to return the entire url or just
    976976        // the base url of the API service
    977977        if ($bFull === false) {
     
    10361036            $this->iAccountId = (integer) $iAccountId;
    10371037        } else {
    1038             // Check to see if the 
     1038            // Check to see if the
    10391039            // Account ID has already
    1040             // been stored in the 
     1040            // been stored in the
    10411041            // instance
    10421042            if (empty($this->iAccountId)) {
     
    10631063   
    10641064    /**
    1065      * This method fetches the Client 
     1065     * This method fetches the Client
    10661066     * Folder ID from the iContact API
    1067      * if it has not already been stored 
     1067     * if it has not already been stored
    10681068     * in the instance and the Account ID
    10691069     * has also been stored in the instance
     
    10731073    **/
    10741074    public function setClientFolderId($iClientFolderId = null) {
    1075         // Check for an overriding 
     1075        // Check for an overriding
    10761076        // Client Folder ID
    10771077        if (!empty($iClientFolderId)) {
  • optinpoint-lite/trunk/service/optinpoint-service.php

    r1719216 r1828212  
    11<?php
    2 /** 
     2/**
    33 * OptinPoint - Advanced Subscription Hub For Wordpress
    44 *
     
    1313 * @package   OptinPoint - Advanced Subscription Hub For Wordpress
    1414 * @author    Voltroid<care@voltroid.com>
    15  * 
     15 *
    1616 */
    1717require_once 'cm/csrest_general.php';
     
    3232require_once('ml/MailerLite.class.php');
    3333require_once('dp/DripEmail.class.php');
     34require_once('zc/Zoho.class.php');
    3435class OptinPoint_Lite_Service {
    3536
    36     function OptinPoint_Lite_Service($config){
     37    function __construct($config){
    3738        $this->config = $config;
    3839        $this->configure();
     
    6667            case 'ic':
    6768                iContactApi::getInstance()->setConfig(array(
    68                     'appId'         => $key[0], 
    69                     'apiPassword'   => $key[2], 
     69                    'appId'         => $key[0],
     70                    'apiPassword'   => $key[2],
    7071                    'apiUsername'   => $key[1]
    7172                ));
     
    9293            case 'ml':
    9394                $this->wrap = new MailerLite($key[0]);
     95                break;
     96            case 'zc':
     97                $this->wrap = new ZohoCampaigns($key[0]);
    9498                break;
    9599            default:
     
    141145                        echo json_encode($this->wrap->account());
    142146                        break;
     147                    case 'zc':
     148                        echo json_encode($this->wrap->account());
     149                        break;
    143150                    case 'mm':
    144151                        echo json_encode($this->wrap->getLists());
     
    335342                            'id' => $v['id'],
    336343                            'name' => $v['name']
     344                        ));
     345                    }
     346                }
     347                echo json_encode($l);
     348                break;
     349            case 'zc':
     350                $t = $this->wrap->getLists()['data']['list_of_details'];
     351                $l = array();
     352                if(!empty($t)){
     353                    foreach ($t as $v) {
     354                        array_push($l, array(
     355                            'id' => $v['listkey'],
     356                            'name' => $v['listname']
    337357                        ));
    338358                    }
     
    355375                echo json_encode($l);
    356376                break;
     377            case 'mp':
     378                $l = array();
     379                if( MAILPOET_VERSION !== null){
     380                    $mp = new MailPoet\API\MP\v1\API;
     381                    $t = $mp::getLists();
     382                    if(count($t) > 0){
     383                        foreach ($t as $v) {
     384                            array_push($l, array(
     385                                'id' => $v['id'],
     386                                'name' => $v['name']
     387                            ));
     388                        }
     389                    }
     390                }
     391                echo json_encode($l);
     392                break;
    357393            default:
    358394                break;
     
    587623                echo json_encode($l);
    588624                break;
     625            case 'zc':
     626                $t = (array) $this->wrap->getFields()['data']['response']['fieldnames']['fieldname'];
     627                $l = array(
     628                    array(
     629                        'id'=>'email',
     630                        'name'=>'email',
     631                        'label'=>'Email Address',
     632                        'type'=>'text',
     633                        'format'=>'email',
     634                        'req'=>1,
     635                        'icon'=>'idef'
     636                    ),
     637                    array(
     638                        'id'=>'fname',
     639                        'name'=>'First Name',
     640                        'label'=>'First Name',
     641                        'type'=>'text',
     642                        'format'=>'text',
     643                        'icon'=>'idef'
     644                    ),
     645                    array(
     646                        'id'=>'lname',
     647                        'name'=>'Last name',
     648                        'label'=>'Last Name',
     649                        'type'=>'text',
     650                        'format'=>'text',
     651                        'icon'=>'idef'
     652                    )
     653                );
     654                if(!empty($t)){
     655                    foreach ($t as $v) {
     656                        if(in_array($v['FIELD_NAME'], array('Contact Email','First Name','Last Name')))continue;
     657                        array_push($l, array(
     658                            'id' => $v['DISPLAY_NAME'],
     659                            'name' => $v['DISPLAY_NAME'],
     660                            'label' => $v['DISPLAY_NAME'],
     661                            'type'=> $this->typesel('zc',strtolower($v['UITYPE'])),
     662                            'format'=> $this->formatsel('zc',$v['UITYPE']),
     663                            'icon'=>'idef'
     664                        ));
     665                    }
     666                }
     667                echo json_encode($l);
     668                break;
    589669            case 'sg':
    590670                $t = $this->wrap->getCustomFields()['custom_fields'];
     
    886966                    )
    887967                );
    888                 for ($i=1; $i <= 15; $i++) { 
     968                for ($i=1; $i <= 15; $i++) {
    889969                    array_push($l, array(
    890970                        'id' => 'custom_field_'.$i,
     
    11391219                    )
    11401220                );
     1221                echo json_encode($l);
     1222                break;
     1223            case 'mp':
     1224                $l = array(
     1225                    array(
     1226                        'id'=>'email',
     1227                        'name'=>'email',
     1228                        'label'=>'Email Address',
     1229                        'type'=>'text',
     1230                        'format'=>'email',
     1231                        'req'=>1,
     1232                        'icon'=>'idef'
     1233                    ),
     1234                    array(
     1235                        'id'=>'fname',
     1236                        'name'=>'First Name',
     1237                        'label'=>'First Name',
     1238                        'type'=>'text',
     1239                        'format'=>'text',
     1240                        'icon'=>'idef'
     1241                    ),
     1242                    array(
     1243                        'id'=>'lname',
     1244                        'name'=>'Last Name',
     1245                        'label'=>'Last Name',
     1246                        'type'=>'text',
     1247                        'format'=>'text',
     1248                        'icon'=>'idef'
     1249                    )
     1250                );
     1251                if( MAILPOET_VERSION !== null){
     1252                    $mp_cf = new MailPoet\Models\CustomField;
     1253                    $col = $mp_cf::orderByAsc('created_at')->findMany();
     1254                    $t = array_map(function($custom_field) {
     1255                      return $custom_field->asArray();
     1256                    }, $col);
     1257                    if(count($t) > 0){
     1258                        foreach ($t as $v) {
     1259                            array_push($l, array(
     1260                                'id' => 'cf_' . $v['id'],
     1261                                'name' => $v['name'],
     1262                                'label' => $v['params']['label'],
     1263                                'type'=>$this->typesel('mp',$v['type']),
     1264                                'format'=>$this->formatsel('mp',$v['type']),
     1265                                'extras' => $this->extsel('mp',$v['params']['values'],$v['type']),
     1266                                'req'=> ($v['params']['required'])?1:0,
     1267                                'icon'=>'idef',
     1268                                'nof'=>1
     1269                            ));
     1270                        }
     1271                    }
     1272                }
    11411273                echo json_encode($l);
    11421274                break;
     
    15281660                }
    15291661                break;
     1662            case 'zc':
     1663                switch ($t) {
     1664                    case 'email':
     1665                    case 'integer':
     1666                    case 'phone':
     1667                    case 'date':
     1668                    case 'datetime':
     1669                    case 'percent':
     1670                    case 'decimal':
     1671                    case 'longinteger':
     1672                    case 'url':return 'text';
     1673                        break;
     1674                    case 'picklist':return 'select';
     1675                        break;
     1676                    case 'radiobutton':return 'radio';
     1677                        break;
     1678                    default:return $t;
     1679                        break;
     1680                }
     1681                break;
     1682            case 'mp':
     1683                switch ($t) {
     1684                    case 'date':return 'text';
     1685                        break;
     1686                    case 'checkbox':return 'singlecheck';
     1687                        break;
     1688                    default:return $t;
     1689                        break;
     1690                }
     1691                break;
    15301692            default:
    15311693                break;
     
    15701732                }
    15711733                break;
     1734            case 'zc':
     1735                switch ($t) {
     1736                    case 'integer':
     1737                    case 'longinteger':
     1738                    case 'percent':
     1739                    case 'decimal':
     1740                    case 'phone':return 'number';
     1741                        break;
     1742                    case 'datetime':return 'date';
     1743                        break;
     1744                    default:return $t;
     1745                        break;
     1746                }
     1747                break;
     1748            case 'mp':
     1749                switch ($t) {
     1750                    case 'date':return 'text';
     1751                        break;
     1752                    default:return $t;
     1753                        break;
     1754                }
     1755                break;
    15721756            default:
    15731757                break;
    15741758        }
    15751759    }
    1576     function extsel($s,$t){
     1760    function extsel($s,$t,$type=null){
    15771761        $a = array();
    15781762        switch ($s) {
     
    15911775                    foreach ($t as $k => $v) {
    15921776                        array_push($a, array('name' => $v['value'],'label' =>  $v['label']));
     1777                    }
     1778                break;
     1779            case 'mp':
     1780                    foreach ($t as $k => $v) {
     1781                        if($type !== 'checkbox')
     1782                            array_push($a, array('name' => $v['value']));
     1783                        else
     1784                            array_push($a, array('name' => '1','label' =>  $v['value']));
    15931785                    }
    15941786                break;
     
    16261818                    $list = $this->wrap->loadFromUrl('/accounts/'.$this->wrap->id.'/lists/'.$form['list']['id']);
    16271819                    $user = array(
    1628                         'email' => $data['email'], 
     1820                        'email' => $data['email'],
    16291821                        'custom_fields' => array()
    16301822                    );
     
    17851977                    return '0';//error
    17861978                if($e['data']['date_created'] == $e['data']['date_updated'])
     1979                    return '1';//subscribed
     1980                return '2';//already
     1981                break;
     1982            case 'zc':
     1983                $user = $data;
     1984                if(isset($user['lname'])){
     1985                    $user['Last Name'] = $user['lname'];
     1986                    unset($user['lname']);
     1987                }
     1988                if(isset($user['email'])){
     1989                    $user['Contact Email'] = $user['email'];
     1990                    unset($user['email']);
     1991                }
     1992                if(isset($user['fname'])){
     1993                    $user['First Name'] = $user['fname'];
     1994                    unset($user['fname']);
     1995                }
     1996                $user = array(
     1997                    'contactinfo' => json_encode($user),
     1998                    'listkey' => $form['list']['id']
     1999                );
     2000                $e = $this->wrap->addContact($user);
     2001                if($e['data']['code'] != 0)
     2002                    return '0';//error
     2003                if($e['data']['message'] == "User successfully subscribed.")
    17872004                    return '1';//subscribed
    17882005                return '2';//already
     
    19482165                    return '0';//error
    19492166                }
     2167                break;
     2168            case 'mp':
     2169                $user = $data;
     2170                if( MAILPOET_VERSION == null)return '0';//error
     2171                $mp_sub = new MailPoet\Models\Subscriber;
     2172                if($mp_sub::findOne($user['email']))return '2';//already
     2173                if(isset($user['fname'])){
     2174                    $user['first_name'] = $user['fname'];
     2175                    unset($user['fname']);
     2176                }
     2177                if(isset($user['lname'])){
     2178                    $user['last_name'] = $user['lname'];
     2179                    unset($user['lname']);
     2180                }
     2181                foreach ($user as $k => $v) {
     2182                    if(is_array($v))$user[$k] = implode(',', $v);
     2183                }
     2184
     2185                // separate data into default and custom fields
     2186                list($default_fields, $custom_fields) = $mp_sub::extractCustomFieldsFromFromObject($user);
     2187                // if some required default fields are missing, set their values
     2188                $default_fields = $mp_sub::setRequiredFieldsDefaultValues($default_fields);
     2189
     2190                // add subscriber
     2191                $new_subscriber = $mp_sub::create();
     2192                $new_subscriber->hydrate($default_fields);
     2193                $new_subscriber->save();
     2194                if($new_subscriber->getErrors() !== false)return '0';//error
     2195                if(!empty($custom_fields)) {
     2196                    $new_subscriber->saveCustomFields($custom_fields);
     2197                }
     2198
     2199                // reload subscriber to get the saved status/created|updated|delete dates/other fields
     2200                $new_subscriber = $mp_sub::findOne($new_subscriber->id);
     2201
     2202                // subscribe to segments and optionally: 1) send confirmation email, 2) schedule welcome email(s)
     2203                $mp_subseg = new MailPoet\Models\SubscriberSegment;
     2204                $mp_subseg::subscribeToSegments($new_subscriber, array($form['list']['id'] ));
     2205
     2206
     2207                    // send confirmation email
     2208                if( $new_subscriber->status === $mp_sub::STATUS_UNCONFIRMED) {
     2209                    $new_subscriber->sendConfirmationEmail();
     2210                }
     2211
     2212                // schedule welcome email(s)
     2213                if( $new_subscriber->status === $mp_sub::STATUS_SUBSCRIBED) {
     2214                    $mp_sub::scheduleSubscriberWelcomeNotification($new_subscriber->id, array($form['list']['id'] ));
     2215                }
     2216                return '1';//subscribed
    19502217                break;
    19512218            default:
     
    20542321                return 0;
    20552322                break;
     2323            case 'zc':
     2324                $user = array(
     2325                    'contactemail'=> $data['email']
     2326                    );
     2327                $e = $this->wrap->getContact($user);
     2328                if($e['http_status']==200)
     2329                    if($e['data']['response']['code'][0] == 200)
     2330                        return 1;
     2331                return 0;
     2332                break;
    20562333            case 'be':
    20572334                $user = $data['email'];
     
    20872364                if( !function_exists( 'mailster' ) )return 0;//error
    20882365                if(mailster( 'subscribers' )->get_by_mail( $data['email'], false ))return 1;
     2366                return 0;
     2367                break;
     2368            case 'mp':
     2369                if( MAILPOET_VERSION == null)return 0;
     2370                $mp_sub = new MailPoet\Models\Subscriber;
     2371                if($mp_sub::findOne($data['email']))return 1;
    20892372                return 0;
    20902373                break;
  • optinpoint-lite/trunk/service/sg/SendGrid.php

    r1611096 r1828212  
    9393    */
    9494    public function addToList($data,$list)
    95     {   
     95    {
    9696        return $this->call('contactdb/lists/'.$list.'/recipients/'.$data,'POST',null);
    9797    }
  • optinpoint-lite/trunk/service/vr/redirect.php

    r1606342 r1828212  
    1414  </head>
    1515  <body>
    16    
     16
    1717</html>
  • optinpoint-lite/trunk/src/google_fonts.json

    r1606342 r1828212  
    1 ["ABeeZee","Abel","Abril Fatface","Aclonica","Acme","Actor","Adamina","Advent Pro","Aguafina Script","Akronim","Aladin","Aldrich","Alef","Alegreya","Alegreya SC","Alegreya Sans","Alegreya Sans SC","Alex Brush","Alfa Slab One","Alice","Alike","Alike Angular","Allan","Allerta","Allerta Stencil","Allura","Almendra","Almendra Display","Almendra SC","Amarante","Amaranth","Amatic SC","Amethysta","Anaheim","Andada","Andika","Angkor","Annie Use Your Telescope","Anonymous Pro","Antic","Antic Didone","Antic Slab","Anton","Arapey","Arbutus","Arbutus Slab","Architects Daughter","Archivo Black","Archivo Narrow","Arimo","Arizonia","Armata","Artifika","Arvo","Asap","Asset","Astloch","Asul","Atomic Age","Aubrey","Audiowide","Autour One","Average","Average Sans","Averia Gruesa Libre","Averia Libre","Averia Sans Libre","Averia Serif Libre","Bad Script","Balthazar","Bangers","Basic","Battambang","Baumans","Bayon","Belgrano","Belleza","BenchNine","Bentham","Berkshire Swash","Bevan","Bigelow Rules","Bigshot One","Bilbo","Bilbo Swash Caps","Bitter","Black Ops One","Bokor","Bonbon","Boogaloo","Bowlby One","Bowlby One SC","Brawler","Bree Serif","Bubblegum Sans","Bubbler One","Buda","Buenard","Butcherman","Butterfly Kids","Cabin","Cabin Condensed","Cabin Sketch","Caesar Dressing","Cagliostro","Calligraffitti","Cambo","Candal","Cantarell","Cantata One","Cantora One","Capriola","Cardo","Carme","Carrois Gothic","Carrois Gothic SC","Carter One","Caudex","Cedarville Cursive","Ceviche One","Changa One","Chango","Chau Philomene One","Chela One","Chelsea Market","Chenla","Cherry Cream Soda","Cherry Swash","Chewy","Chicle","Chivo","Cinzel","Cinzel Decorative","Clicker Script","Coda","Coda Caption","Codystar","Combo","Comfortaa","Coming Soon","Concert One","Condiment","Content","Contrail One","Convergence","Cookie","Copse","Corben","Courgette","Cousine","Coustard","Covered By Your Grace","Crafty Girls","Creepster","Crete Round","Crimson Text","Croissant One","Crushed","Cuprum","Cutive","Cutive Mono","Damion","Dancing Script","Dangrek","Dawning of a New Day","Days One","Delius","Delius Swash Caps","Delius Unicase","Della Respira","Denk One","Devonshire","Didact Gothic","Diplomata","Diplomata SC","Domine","Donegal One","Doppio One","Dorsa","Dosis","Dr Sugiyama","Droid Sans","Droid Sans Mono","Droid Serif","Duru Sans","Dynalight","EB Garamond","Eagle Lake","Eater","Economica","Ek Mukta","Electrolize","Elsie","Elsie Swash Caps","Emblema One","Emilys Candy","Engagement","Englebert","Enriqueta","Erica One","Esteban","Euphoria Script","Ewert","Exo","Exo 2","Expletus Sans","Fanwood Text","Fascinate","Fascinate Inline","Faster One","Fasthand","Fauna One","Federant","Federo","Felipa","Fenix","Finger Paint","Fira Mono","Fira Sans","Fjalla One","Fjord One","Flamenco","Flavors","Fondamento","Fontdiner Swanky","Forum","Francois One","Freckle Face","Fredericka the Great","Fredoka One","Freehand","Fresca","Frijole","Fruktur","Fugaz One","GFS Didot","GFS Neohellenic","Gabriela","Gafata","Galdeano","Galindo","Gentium Basic","Gentium Book Basic","Geo","Geostar","Geostar Fill","Germania One","Gilda Display","Give You Glory","Glass Antiqua","Glegoo","Gloria Hallelujah","Goblin One","Gochi Hand","Gorditas","Goudy Bookletter 1911","Graduate","Grand Hotel","Gravitas One","Great Vibes","Griffy","Gruppo","Gudea","Habibi","Halant","Hammersmith One","Hanalei","Hanalei Fill","Handlee","Hanuman","Happy Monkey","Headland One","Henny Penny","Herr Von Muellerhoff","Hind","Holtwood One SC","Homemade Apple","Homenaje","IM Fell DW Pica","IM Fell DW Pica SC","IM Fell Double Pica","IM Fell Double Pica SC","IM Fell English","IM Fell English SC","IM Fell French Canon","IM Fell French Canon SC","IM Fell Great Primer","IM Fell Great Primer SC","Iceberg","Iceland","Imprima","Inconsolata","Inder","Indie Flower","Inika","Irish Grover","Istok Web","Italiana","Italianno","Jacques Francois","Jacques Francois Shadow","Jim Nightshade","Jockey One","Jolly Lodger","Josefin Sans","Josefin Slab","Joti One","Judson","Julee","Julius Sans One","Junge","Jura","Just Another Hand","Just Me Again Down Here","Kalam","Kameron","Kantumruy","Karla","Karma","Kaushan Script","Kavoon","Kdam Thmor","Keania One","Kelly Slab","Kenia","Khand","Khmer","Kite One","Knewave","Kotta One","Koulen","Kranky","Kreon","Kristi","Krona One","La Belle Aurore","Laila","Lancelot","Lato","League Script","Leckerli One","Ledger","Lekton","Lemon","Libre Baskerville","Life Savers","Lilita One","Lily Script One","Limelight","Linden Hill","Lobster","Lobster Two","Londrina Outline","Londrina Shadow","Londrina Sketch","Londrina Solid","Lora","Love Ya Like A Sister","Loved by the King","Lovers Quarrel","Luckiest Guy","Lusitana","Lustria","Macondo","Macondo Swash Caps","Magra","Maiden Orange","Mako","Marcellus","Marcellus SC","Marck Script","Margarine","Marko One","Marmelad","Marvel","Mate","Mate SC","Maven Pro","McLaren","Meddon","MedievalSharp","Medula One","Megrim","Meie Script","Merienda","Merienda One","Merriweather","Merriweather Sans","Metal","Metal Mania","Metamorphous","Metrophobic","Michroma","Milonga","Miltonian","Miltonian Tattoo","Miniver","Miss Fajardose","Modern Antiqua","Molengo","Molle","Monda","Monofett","Monoton","Monsieur La Doulaise","Montaga","Montez","Montserrat","Montserrat Alternates","Montserrat Subrayada","Moul","Moulpali","Mountains of Christmas","Mouse Memoirs","Mr Bedfort","Mr Dafoe","Mr De Haviland","Mrs Saint Delafield","Mrs Sheppards","Muli","Mystery Quest","Neucha","Neuton","New Rocker","News Cycle","Niconne","Nixie One","Nobile","Nokora","Norican","Nosifer","Nothing You Could Do","Noticia Text","Noto Sans","Noto Serif","Nova Cut","Nova Flat","Nova Mono","Nova Oval","Nova Round","Nova Script","Nova Slim","Nova Square","Numans","Nunito","Odor Mean Chey","Offside","Old Standard TT","Oldenburg","Oleo Script","Oleo Script Swash Caps","Open Sans","Open Sans Condensed","Oranienbaum","Orbitron","Oregano","Orienta","Original Surfer","Oswald","Over the Rainbow","Overlock","Overlock SC","Ovo","Oxygen","Oxygen Mono","PT Mono","PT Sans","PT Sans Caption","PT Sans Narrow","PT Serif","PT Serif Caption","Pacifico","Paprika","Parisienne","Passero One","Passion One","Pathway Gothic One","Patrick Hand","Patrick Hand SC","Patua One","Paytone One","Peralta","Permanent Marker","Petit Formal Script","Petrona","Philosopher","Piedra","Pinyon Script","Pirata One","Plaster","Play","Playball","Playfair Display","Playfair Display SC","Podkova","Poiret One","Poller One","Poly","Pompiere","Pontano Sans","Port Lligat Sans","Port Lligat Slab","Prata","Preahvihear","Press Start 2P","Princess Sofia","Prociono","Prosto One","Puritan","Purple Purse","Quando","Quantico","Quattrocento","Quattrocento Sans","Questrial","Quicksand","Quintessential","Qwigley","Racing Sans One","Radley","Rajdhani","Raleway","Raleway Dots","Rambla","Rammetto One","Ranchers","Rancho","Rationale","Redressed","Reenie Beanie","Revalia","Ribeye","Ribeye Marrow","Righteous","Risque","Roboto","Roboto Condensed","Roboto Slab","Rochester","Rock Salt","Rokkitt","Romanesco","Ropa Sans","Rosario","Rosarivo","Rouge Script","Rozha One","Rubik Mono One","Rubik One","Ruda","Rufina","Ruge Boogie","Ruluko","Rum Raisin","Ruslan Display","Russo One","Ruthie","Rye","Sacramento","Sail","Salsa","Sanchez","Sancreek","Sansita One","Sarina","Sarpanch","Satisfy","Scada","Schoolbell","Seaweed Script","Sevillana","Seymour One","Shadows Into Light","Shadows Into Light Two","Shanti","Share","Share Tech","Share Tech Mono","Shojumaru","Short Stack","Siemreap","Sigmar One","Signika","Signika Negative","Simonetta","Sintony","Sirin Stencil","Six Caps","Skranji","Slabo 13px","Slabo 27px","Slackey","Smokum","Smythe","Sniglet","Snippet","Snowburst One","Sofadi One","Sofia","Sonsie One","Sorts Mill Goudy","Source Code Pro","Source Sans Pro","Source Serif Pro","Special Elite","Spicy Rice","Spinnaker","Spirax","Squada One","Stalemate","Stalinist One","Stardos Stencil","Stint Ultra Condensed","Stint Ultra Expanded","Stoke","Strait","Sue Ellen Francisco","Sunshiney","Supermercado One","Suwannaphum","Swanky and Moo Moo","Syncopate","Tangerine","Taprom","Tauri","Teko","Telex","Tenor Sans","Text Me One","The Girl Next Door","Tienne","Tinos","Titan One","Titillium Web","Trade Winds","Trocchi","Trochut","Trykker","Tulpen One","Ubuntu","Ubuntu Condensed","Ubuntu Mono","Ultra","Uncial Antiqua","Underdog","Unica One","UnifrakturCook","UnifrakturMaguntia","Unkempt","Unlock","Unna","VT323","Vampiro One","Varela","Varela Round","Vast Shadow","Vesper Libre","Vibur","Vidaloka","Viga","Voces","Volkhov","Vollkorn","Voltaire","Waiting for the Sunrise","Wallpoet","Walter Turncoat","Warnes","Wellfleet","Wendy One","Wire One","Yanone Kaffeesatz","Yellowtail","Yeseva One","Yesteryear","Zeyada"]
     1["ABeeZee","Abel","Abhaya Libre","Abril Fatface","Aclonica","Acme","Actor","Adamina","Advent Pro","Aguafina Script","Akronim","Aladin","Aldrich","Alef","Alegreya","Alegreya SC","Alegreya Sans","Alegreya Sans SC","Alex Brush","Alfa Slab One","Alice","Alike","Alike Angular","Allan","Allerta","Allerta Stencil","Allura","Almendra","Almendra Display","Almendra SC","Amarante","Amaranth","Amatic SC","Amethysta","Amiko","Amiri","Amita","Anaheim","Andada","Andika","Angkor","Annie Use Your Telescope","Anonymous Pro","Antic","Antic Didone","Antic Slab","Anton","Arapey","Arbutus","Arbutus Slab","Architects Daughter","Archivo","Archivo Black","Archivo Narrow","Aref Ruqaa","Arima Madurai","Arimo","Arizonia","Armata","Arsenal","Artifika","Arvo","Arya","Asap","Asap Condensed","Asar","Asset","Assistant","Astloch","Asul","Athiti","Atma","Atomic Age","Aubrey","Audiowide","Autour One","Average","Average Sans","Averia Gruesa Libre","Averia Libre","Averia Sans Libre","Averia Serif Libre","Bad Script","Bahiana","Baloo","Baloo Bhai","Baloo Bhaijaan","Baloo Bhaina","Baloo Chettan","Baloo Da","Baloo Paaji","Baloo Tamma","Baloo Tammudu","Baloo Thambi","Balthazar","Bangers","Barlow","Barlow Condensed","Barlow Semi Condensed","Barrio","Basic","Battambang","Baumans","Bayon","Belgrano","Bellefair","Belleza","BenchNine","Bentham","Berkshire Swash","Bevan","Bigelow Rules","Bigshot One","Bilbo","Bilbo Swash Caps","BioRhyme","BioRhyme Expanded","Biryani","Bitter","Black Ops One","Bokor","Bonbon","Boogaloo","Bowlby One","Bowlby One SC","Brawler","Bree Serif","Bubblegum Sans","Bubbler One","Buda","Buenard","Bungee","Bungee Hairline","Bungee Inline","Bungee Outline","Bungee Shade","Butcherman","Butterfly Kids","Cabin","Cabin Condensed","Cabin Sketch","Caesar Dressing","Cagliostro","Cairo","Calligraffitti","Cambay","Cambo","Candal","Cantarell","Cantata One","Cantora One","Capriola","Cardo","Carme","Carrois Gothic","Carrois Gothic SC","Carter One","Catamaran","Caudex","Caveat","Caveat Brush","Cedarville Cursive","Ceviche One","Changa","Changa One","Chango","Chathura","Chau Philomene One","Chela One","Chelsea Market","Chenla","Cherry Cream Soda","Cherry Swash","Chewy","Chicle","Chivo","Chonburi","Cinzel","Cinzel Decorative","Clicker Script","Coda","Coda Caption","Codystar","Coiny","Combo","Comfortaa","Coming Soon","Concert One","Condiment","Content","Contrail One","Convergence","Cookie","Copse","Corben","Cormorant","Cormorant Garamond","Cormorant Infant","Cormorant SC","Cormorant Unicase","Cormorant Upright","Courgette","Cousine","Coustard","Covered By Your Grace","Crafty Girls","Creepster","Crete Round","Crimson Text","Croissant One","Crushed","Cuprum","Cutive","Cutive Mono","Damion","Dancing Script","Dangrek","David Libre","Dawning of a New Day","Days One","Dekko","Delius","Delius Swash Caps","Delius Unicase","Della Respira","Denk One","Devonshire","Dhurjati","Didact Gothic","Diplomata","Diplomata SC","Domine","Donegal One","Doppio One","Dorsa","Dosis","Dr Sugiyama","Duru Sans","Dynalight","EB Garamond","Eagle Lake","Eater","Economica","Eczar","El Messiri","Electrolize","Elsie","Elsie Swash Caps","Emblema One","Emilys Candy","Encode Sans","Encode Sans Condensed","Encode Sans Expanded","Encode Sans Semi Condensed","Encode Sans Semi Expanded","Engagement","Englebert","Enriqueta","Erica One","Esteban","Euphoria Script","Ewert","Exo","Exo 2","Expletus Sans","Fanwood Text","Farsan","Fascinate","Fascinate Inline","Faster One","Fasthand","Fauna One","Faustina","Federant","Federo","Felipa","Fenix","Finger Paint","Fira Mono","Fira Sans","Fira Sans Condensed","Fira Sans Extra Condensed","Fjalla One","Fjord One","Flamenco","Flavors","Fondamento","Fontdiner Swanky","Forum","Francois One","Frank Ruhl Libre","Freckle Face","Fredericka the Great","Fredoka One","Freehand","Fresca","Frijole","Fruktur","Fugaz One","GFS Didot","GFS Neohellenic","Gabriela","Gafata","Galada","Galdeano","Galindo","Gentium Basic","Gentium Book Basic","Geo","Geostar","Geostar Fill","Germania One","Gidugu","Gilda Display","Give You Glory","Glass Antiqua","Glegoo","Gloria Hallelujah","Goblin One","Gochi Hand","Gorditas","Goudy Bookletter 1911","Graduate","Grand Hotel","Gravitas One","Great Vibes","Griffy","Gruppo","Gudea","Gurajada","Habibi","Halant","Hammersmith One","Hanalei","Hanalei Fill","Handlee","Hanuman","Happy Monkey","Harmattan","Headland One","Heebo","Henny Penny","Herr Von Muellerhoff","Hind","Hind Guntur","Hind Madurai","Hind Siliguri","Hind Vadodara","Holtwood One SC","Homemade Apple","Homenaje","IM Fell DW Pica","IM Fell DW Pica SC","IM Fell Double Pica","IM Fell Double Pica SC","IM Fell English","IM Fell English SC","IM Fell French Canon","IM Fell French Canon SC","IM Fell Great Primer","IM Fell Great Primer SC","Iceberg","Iceland","Imprima","Inconsolata","Inder","Indie Flower","Inika","Inknut Antiqua","Irish Grover","Istok Web","Italiana","Italianno","Itim","Jacques Francois","Jacques Francois Shadow","Jaldi","Jim Nightshade","Jockey One","Jolly Lodger","Jomhuria","Josefin Sans","Josefin Slab","Joti One","Judson","Julee","Julius Sans One","Junge","Jura","Just Another Hand","Just Me Again Down Here","Kadwa","Kalam","Kameron","Kanit","Kantumruy","Karla","Karma","Katibeh","Kaushan Script","Kavivanar","Kavoon","Kdam Thmor","Keania One","Kelly Slab","Kenia","Khand","Khmer","Khula","Kite One","Knewave","Kotta One","Koulen","Kranky","Kreon","Kristi","Krona One","Kumar One","Kumar One Outline","Kurale","La Belle Aurore","Laila","Lakki Reddy","Lalezar","Lancelot","Lateef","Lato","League Script","Leckerli One","Ledger","Lekton","Lemon","Lemonada","Libre Barcode 128","Libre Barcode 128 Text","Libre Barcode 39","Libre Barcode 39 Extended","Libre Barcode 39 Extended Text","Libre Barcode 39 Text","Libre Baskerville","Libre Franklin","Life Savers","Lilita One","Lily Script One","Limelight","Linden Hill","Lobster","Lobster Two","Londrina Outline","Londrina Shadow","Londrina Sketch","Londrina Solid","Lora","Love Ya Like A Sister","Loved by the King","Lovers Quarrel","Luckiest Guy","Lusitana","Lustria","Macondo","Macondo Swash Caps","Mada","Magra","Maiden Orange","Maitree","Mako","Mallanna","Mandali","Manuale","Marcellus","Marcellus SC","Marck Script","Margarine","Marko One","Marmelad","Martel","Martel Sans","Marvel","Mate","Mate SC","Maven Pro","McLaren","Meddon","MedievalSharp","Medula One","Meera Inimai","Megrim","Meie Script","Merienda","Merienda One","Merriweather","Merriweather Sans","Metal","Metal Mania","Metamorphous","Metrophobic","Michroma","Milonga","Miltonian","Miltonian Tattoo","Miniver","Miriam Libre","Mirza","Miss Fajardose","Mitr","Modak","Modern Antiqua","Mogra","Molengo","Molle","Monda","Monofett","Monoton","Monsieur La Doulaise","Montaga","Montez","Montserrat","Montserrat Alternates","Montserrat Subrayada","Moul","Moulpali","Mountains of Christmas","Mouse Memoirs","Mr Bedfort","Mr Dafoe","Mr De Haviland","Mrs Saint Delafield","Mrs Sheppards","Mukta","Mukta Mahee","Mukta Malar","Mukta Vaani","Muli","Mystery Quest","NTR","Neucha","Neuton","New Rocker","News Cycle","Niconne","Nixie One","Nobile","Nokora","Norican","Nosifer","Nothing You Could Do","Noticia Text","Noto Sans","Noto Serif","Nova Cut","Nova Flat","Nova Mono","Nova Oval","Nova Round","Nova Script","Nova Slim","Nova Square","Numans","Nunito","Nunito Sans","Odor Mean Chey","Offside","Old Standard TT","Oldenburg","Oleo Script","Oleo Script Swash Caps","Open Sans","Open Sans Condensed","Oranienbaum","Orbitron","Oregano","Orienta","Original Surfer","Oswald","Over the Rainbow","Overlock","Overlock SC","Overpass","Overpass Mono","Ovo","Oxygen","Oxygen Mono","PT Mono","PT Sans","PT Sans Caption","PT Sans Narrow","PT Serif","PT Serif Caption","Pacifico","Padauk","Palanquin","Palanquin Dark","Pangolin","Paprika","Parisienne","Passero One","Passion One","Pathway Gothic One","Patrick Hand","Patrick Hand SC","Pattaya","Patua One","Pavanam","Paytone One","Peddana","Peralta","Permanent Marker","Petit Formal Script","Petrona","Philosopher","Piedra","Pinyon Script","Pirata One","Plaster","Play","Playball","Playfair Display","Playfair Display SC","Podkova","Poiret One","Poller One","Poly","Pompiere","Pontano Sans","Poppins","Port Lligat Sans","Port Lligat Slab","Pragati Narrow","Prata","Preahvihear","Press Start 2P","Pridi","Princess Sofia","Prociono","Prompt","Prosto One","Proza Libre","Puritan","Purple Purse","Quando","Quantico","Quattrocento","Quattrocento Sans","Questrial","Quicksand","Quintessential","Qwigley","Racing Sans One","Radley","Rajdhani","Rakkas","Raleway","Raleway Dots","Ramabhadra","Ramaraja","Rambla","Rammetto One","Ranchers","Rancho","Ranga","Rasa","Rationale","Ravi Prakash","Redressed","Reem Kufi","Reenie Beanie","Revalia","Rhodium Libre","Ribeye","Ribeye Marrow","Righteous","Risque","Roboto","Roboto Condensed","Roboto Mono","Roboto Slab","Rochester","Rock Salt","Rokkitt","Romanesco","Ropa Sans","Rosario","Rosarivo","Rouge Script","Rozha One","Rubik","Rubik Mono One","Ruda","Rufina","Ruge Boogie","Ruluko","Rum Raisin","Ruslan Display","Russo One","Ruthie","Rye","Sacramento","Sahitya","Sail","Saira","Saira Condensed","Saira Extra Condensed","Saira Semi Condensed","Salsa","Sanchez","Sancreek","Sansita","Sarala","Sarina","Sarpanch","Satisfy","Scada","Scheherazade","Schoolbell","Scope One","Seaweed Script","Secular One","Sedgwick Ave","Sedgwick Ave Display","Sevillana","Seymour One","Shadows Into Light","Shadows Into Light Two","Shanti","Share","Share Tech","Share Tech Mono","Shojumaru","Short Stack","Shrikhand","Siemreap","Sigmar One","Signika","Signika Negative","Simonetta","Sintony","Sirin Stencil","Six Caps","Skranji","Slabo 13px","Slabo 27px","Slackey","Smokum","Smythe","Sniglet","Snippet","Snowburst One","Sofadi One","Sofia","Sonsie One","Sorts Mill Goudy","Source Code Pro","Source Sans Pro","Source Serif Pro","Space Mono","Special Elite","Spectral","Spectral SC","Spicy Rice","Spinnaker","Spirax","Squada One","Sree Krushnadevaraya","Sriracha","Stalemate","Stalinist One","Stardos Stencil","Stint Ultra Condensed","Stint Ultra Expanded","Stoke","Strait","Sue Ellen Francisco","Suez One","Sumana","Sunshiney","Supermercado One","Sura","Suranna","Suravaram","Suwannaphum","Swanky and Moo Moo","Syncopate","Tangerine","Taprom","Tauri","Taviraj","Teko","Telex","Tenali Ramakrishna","Tenor Sans","Text Me One","The Girl Next Door","Tienne","Tillana","Timmana","Tinos","Titan One","Titillium Web","Trade Winds","Trirong","Trocchi","Trochut","Trykker","Tulpen One","Ubuntu","Ubuntu Condensed","Ubuntu Mono","Ultra","Uncial Antiqua","Underdog","Unica One","UnifrakturCook","UnifrakturMaguntia","Unkempt","Unlock","Unna","VT323","Vampiro One","Varela","Varela Round","Vast Shadow","Vesper Libre","Vibur","Vidaloka","Viga","Voces","Volkhov","Vollkorn","Vollkorn SC","Voltaire","Waiting for the Sunrise","Wallpoet","Walter Turncoat","Warnes","Wellfleet","Wendy One","Wire One","Work Sans","Yanone Kaffeesatz","Yantramanav","Yatra One","Yellowtail","Yeseva One","Yesteryear","Yrsa","Zeyada","Zilla Slab","Zilla Slab Highlight"]
  • optinpoint-lite/trunk/uninstall.php

    r1606342 r1828212  
    11<?php
    2 /** 
     2/**
    33 * OptinPoint - Advanced Subscription Hub For Wordpress
    44 *
  • optinpoint-lite/trunk/widget/class-optinpoint-widget.php

    r1620057 r1828212  
    11<?php
    2 /** 
     2/**
    33 * OptinPoint - Advanced Subscription Hub For Wordpress
    44 *
     
    8686    }   
    8787   
    88     public function flush_widget_cache() 
     88    public function flush_widget_cache()
    8989    {
    9090        wp_cache_delete( $this->get_widget_slug(), 'widget' );
     
    103103        return $instance;
    104104
    105     } 
     105    }
    106106
    107107    /**
     
    118118        include( plugin_dir_path(__FILE__) . 'views/admin.php' );
    119119
    120     } 
     120    }
    121121
    122122    public function widget_textdomain() {
     
    124124        load_plugin_textdomain( $this->get_widget_slug(), false, plugin_dir_path( __FILE__ ) . 'lang/' );
    125125
    126     } 
     126    }
    127127
    128128}
  • optinpoint-lite/trunk/widget/views/widget.php

    r1702811 r1828212  
    22$plugin = OptinPoint_Lite_Assistant::get_instance();
    33$settings = $plugin->settings;
    4 if($plugin->isload['w']){
     4if(isset($plugin->isload['w'])){
    55    $plugin->loadscripts();
    66    $cmeta = $plugin->cmeta;
  • optinpoint-lite/trunk/widget/views/widget0.php

    r1719216 r1828212  
    1111  display: block;
    1212  padding-bottom: 10px;
    13   <?php 
     13  <?php
    1414  if(isset($theme["bg_c"])){
    1515    echo 'background-color:'.$theme['bg_c'].';';
     
    2121}
    2222#<?php echo $oppow_id; ?> .optinpoint_para ,#<?php echo $oppow_id; ?> .optinpoint_para *{
    23 <?php 
     23<?php
    2424  if(isset($theme["msg_f"]['f'])){
    2525    array_push($oppo_font, $theme["msg_f"]['f']);
     
    3838width:100%;
    3939margin: 0 auto 10px auto;
    40 <?php 
     40<?php
    4141  if(isset($theme["tbox_w"])){
    4242      echo 'width:'.$theme["tbox_w"].'px;';
     
    5555left: 0;
    5656pointer-events: none;
    57 <?php 
     57<?php
    5858if(isset($theme["tbox_h"])){
    5959  echo 'width:'.$theme["tbox_h"].'px;';
     
    6565#<?php echo $oppow_id; ?> form .oppo-ficon span.inputlabel{
    6666  padding-left: 40px;
    67   <?php 
     67  <?php
    6868if(isset($theme["tbox_h"])){
    6969  echo 'padding-left:'.$theme["tbox_h"].'px;';
     
    9595  width: 100%;
    9696  font-size: 16px;
    97   <?php 
     97  <?php
    9898        if(isset($theme["tbox_f"]['f'])){
    9999    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    138138background: no-repeat center;
    139139background-image: <?=$plugin->getIcon('dd',16,'#000');?>;
    140 <?php 
     140<?php
    141141if(isset($theme["tbox_h"])){
    142142  echo 'width:'.$theme["tbox_h"].'px;';
     
    158158white-space: nowrap;
    159159padding: 0 5px;
    160 <?php 
     160<?php
    161161if(isset($theme["tbox_f"]['f'])){
    162162    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    208208}
    209209#<?php echo $oppow_id;?> .optinpoint-item{
    210   <?php 
     210  <?php
    211211    $pline = 2;
    212212    if(isset($pline))echo 'width:'.(100/$pline).'%;';
     
    268268background-image: <?php
    269269        $tfi='ch1';
    270        
     270
    271271        $tfc='#fff';
    272272        if(isset($theme["check_ic"])){$tfc=$theme["check_ic"];}
     
    377377}
    378378#<?php echo $oppow_id; ?> .optinpoint-subs-button:hover{
    379  
     379
    380380    background:#8BD331;
    381    
     381
    382382  color:#fff;
    383   <?php 
     383  <?php
    384384        if(isset($theme["button_bch"])){
    385385            echo 'background:'.$theme["button_bch"].';';
     
    403403#<?php echo $oppow_id; ?> .optinpoint-subs-button.subsicon:before{
    404404padding-left: 40px;
    405   <?php 
     405  <?php
    406406  if(isset($theme["button_w"])){
    407407      echo 'padding-left:'.$theme["button_h"].'px;';
     
    417417left: 0;
    418418pointer-events: none;
    419   <?php 
     419  <?php
    420420  if(isset($theme["button_h"])){
    421421      echo 'width:'.$theme["button_h"].'px;';
     
    512512  'type' => 1
    513513  );
    514 $plugin->stfield($form['fields'],$set); 
     514$plugin->stfield($form['fields'],$set);
    515515?>
    516516                        <div class="optinpoint-subs-button<?php echo (isset($theme['button_i']) && $theme['button_i'] != 'inone' && $theme['button_i'] != 'idef')? ' subsicon' : '';?>"></div>
     
    520520                  echo '<div class="optinpoint-tag">'.$tagtxt.'</div>';
    521521                  }?>
    522     <div class="optinpoint-signalc"><div class="optinpoint-signal"><?php 
     522    <div class="optinpoint-signalc"><div class="optinpoint-signal"><?php
    523523            echo $plugin->getSpin('1',$oppow_id,isset($theme["spinner_c"])?$theme["spinner_c"]:'#000');?></div></div>
    524524    </form>
  • optinpoint-lite/trunk/widget/views/widget1.php

    r1719216 r1828212  
    2525display: inline-block;
    2626text-align: center;
    27 <?php 
     27<?php
    2828        if(isset($theme["widget_dissoc"])){
    2929          echo 'display:none;';
     
    4343width:100%;
    4444margin: 0 auto 10px auto;
    45 <?php 
     45<?php
    4646  if(isset($theme["tbox_w"])){
    4747      echo 'width:'.$theme["tbox_w"].'px;';
     
    6060left: 0;
    6161pointer-events: none;
    62 <?php 
     62<?php
    6363if(isset($theme["tbox_h"])){
    6464  echo 'width:'.$theme["tbox_h"].'px;';
     
    7070#<?php echo $oppow_id; ?> .oppo-ficon input[type="text"] ~ .inputlabel{
    7171  padding-left: 45px;
    72   <?php 
     72  <?php
    7373if(isset($theme["tbox_h"])){
    7474  echo 'padding-left:'.$theme["tbox_h"].'px;';
     
    9999outline:0;
    100100display: block;
    101 <?php 
     101<?php
    102102    if(isset($theme["tbox_f"]['f'])){
    103103    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    141141background: no-repeat center;
    142142background-image: <?=$plugin->getIcon('dd',16,'#000');?>;
    143 <?php 
     143<?php
    144144if(isset($theme["tbox_h"])){
    145145  echo 'width:'.$theme["tbox_h"].'px;';
     
    161161font-weight:500;
    162162white-space: nowrap;
    163 <?php 
     163<?php
    164164if(isset($theme["tbox_f"]['f'])){
    165165    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    209209}
    210210#<?php echo $oppow_id;?> .optinpoint-item{
    211   <?php 
     211  <?php
    212212    $pline = 2;
    213213    if(isset($pline))echo 'width:'.(100/$pline).'%;';
     
    257257background-image: <?php
    258258        $tfi='ch6';
    259        
     259
    260260        $tfc='#000';
    261261        if(isset($theme["check_ic"])){$tfc=$theme["check_ic"];}
     
    373373<?php if(isset($theme["button_fch"])){
    374374        echo 'color:'.$theme["button_fch"].';';
    375     }   
     375    }
    376376    if(isset($theme["button_bch"])){
    377377        echo 'background-color:'.$theme["button_bch"].';';
     
    386386#<?php echo $oppow_id; ?> .optinpoint-subs-button.subsicon:before{
    387387padding-left: 45px;
    388   <?php 
     388  <?php
    389389  if(isset($theme["button_w"])){
    390390      echo 'padding-left:'.$theme["button_h"].'px;';
     
    400400left: 0;
    401401pointer-events: none;
    402   <?php 
     402  <?php
    403403  if(isset($theme["button_h"])){
    404404      echo 'width:'.$theme["button_h"].'px;';
     
    594594  'type' => 1
    595595  );
    596 $plugin->stfield($form['fields'],$set); 
     596$plugin->stfield($form['fields'],$set);
    597597?>
    598598  <div class="optinpoint-subs-button<?php echo (isset($theme['button_i']) && $theme['button_i'] != 'inone' && $theme['button_i'] != 'idef')? ' subsicon' : '';?>"></div>
     
    602602              echo '<div class="optinpoint-tag">'.$tagtxt.'</div>';
    603603              }?>
    604             <div class="optinpoint-signalc"><div class="optinpoint-signal"><?php 
     604            <div class="optinpoint-signalc"><div class="optinpoint-signal"><?php
    605605            echo $plugin->getSpin('4',$oppow_id,isset($theme["spinner_c"])?$theme["spinner_c"]:'#000');?></div></div>
    606606        </form>
  • optinpoint-lite/trunk/widget/views/widget8.php

    r1719216 r1828212  
    2121font-size: 20px;
    2222margin: 0;
    23 <?php 
     23<?php
    2424if(isset($theme["heading_f"]['f'])){
    2525    array_push($oppo_font, $theme["heading_f"]['f']);
     
    8181left: 0;
    8282pointer-events: none;
    83 <?php 
     83<?php
    8484if(isset($theme["tbox_h"])){
    8585  echo 'width:'.$theme["tbox_h"].'px;';
     
    9191#<?php echo $oppow_id;?> .optinpoint-field.oppo-ficon .inputlabel{
    9292  padding-left: 35px;
    93   <?php 
     93  <?php
    9494if(isset($theme["tbox_h"])){
    9595  echo 'padding-left:'.$theme["tbox_h"].'px;';
     
    119119display: block;
    120120border: 1px solid #efefef;
    121 <?php 
     121<?php
    122122    if(isset($theme["tbox_f"]['f'])){
    123123    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    164164background: no-repeat center;
    165165background-image: <?=$plugin->getIcon('dd',16,'#000');?>;
    166 <?php 
     166<?php
    167167if(isset($theme["tbox_h"])){
    168168  echo 'width:'.$theme["tbox_h"].'px;';
     
    184184padding: 0 10px;
    185185white-space: nowrap;
    186 <?php 
     186<?php
    187187if(isset($theme["tbox_f"]['f'])){
    188188    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    237237}
    238238#<?php echo $oppow_id;?> .optinpoint-item{
    239   <?php 
     239  <?php
    240240    $pline = 2;
    241241    if(isset($pline))echo 'width:'.(100/$pline).'%;';
     
    285285background-image: <?php
    286286        $tfi='ch2';
    287        
     287
    288288        $tfc='#000';
    289289        if(isset($theme["check_ic"])){$tfc=$theme["check_ic"];}
     
    389389<?php if(isset($theme["button_fch"])){
    390390echo 'color:'.$theme["button_fch"].';';
    391 }   
     391}
    392392if(isset($theme["button_bch"])){
    393393echo 'background-color:'.$theme["button_bch"].';';
     
    397397#<?php echo $oppow_id;?> .optinpoint-subs-button.subsicon:before{
    398398padding-left: 36px;
    399   <?php 
     399  <?php
    400400  if(isset($theme["button_w"])){
    401401      echo 'padding-left:'.$theme["button_h"].'px;';
     
    411411left: 0;
    412412pointer-events: none;
    413   <?php 
     413  <?php
    414414  if(isset($theme["button_h"])){
    415415      echo 'width:'.$theme["button_h"].'px;';
     
    619619  'type' => 1
    620620  );
    621 $plugin->stfield($form['fields'],$set); 
     621$plugin->stfield($form['fields'],$set);
    622622?>
    623623              <div class="optinpoint-subsc">
    624624                <div class="optinpoint-subs-button<?php echo (isset($theme['button_i']) && $theme['button_i'] != 'inone' && $theme['button_i'] != 'idef')? ' subsicon' : '';?>"></div>
    625                 <div class="optinpoint-signal"><?php 
    626                   echo $plugin->getSpin('3',$oppow_id,isset($theme["spinner_c"])?$theme["spinner_c"]:'#000');?></div>             
     625                <div class="optinpoint-signal"><?php
     626                  echo $plugin->getSpin('3',$oppow_id,isset($theme["spinner_c"])?$theme["spinner_c"]:'#000');?></div>
    627627              </div>
    628              
     628
    629629
    630630              <?php if(isset($theme['tag_en'])){
  • optinpoint-lite/trunk/widget/views/widget9.php

    r1719216 r1828212  
    2424font-size: 20px;
    2525margin: 0;
    26 <?php 
     26<?php
    2727if(isset($theme["heading_f"]['f'])){
    2828    array_push($oppo_font, $theme["heading_f"]['f']);
     
    7676margin: 0 auto 10px auto;
    7777text-align: left;
    78 <?php 
     78<?php
    7979  if(isset($theme["tbox_w"])){
    8080      echo 'width:'.$theme["tbox_w"].'px;';
     
    9393left: 0;
    9494pointer-events: none;
    95 <?php 
     95<?php
    9696if(isset($theme["tbox_h"])){
    9797  echo 'width:'.$theme["tbox_h"].'px;';
     
    103103#<?php echo $oppow_id;?> .oppo-ficon input[type="text"] ~ .inputlabel{
    104104  padding-left: 35px;
    105   <?php 
     105  <?php
    106106if(isset($theme["tbox_h"])){
    107107  echo 'padding-left:'.$theme["tbox_h"].'px;';
     
    138138display: block;
    139139border: 1px solid #efefef;
    140 <?php 
     140<?php
    141141    if(isset($theme["tbox_f"]['f'])){
    142142    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    184184background: no-repeat center;
    185185background-image: <?=$plugin->getIcon('dd',16,'#000');?>;
    186 <?php 
     186<?php
    187187if(isset($theme["tbox_h"])){
    188188  echo 'width:'.$theme["tbox_h"].'px;';
     
    204204padding: 0 10px;
    205205white-space: nowrap;
    206 <?php 
     206<?php
    207207if(isset($theme["tbox_f"]['f'])){
    208208    array_push($oppo_font, $theme["tbox_f"]['f']);
     
    254254}
    255255#<?php echo $oppow_id;?> .optinpoint-item{
    256   <?php 
     256  <?php
    257257    $pline = 2;
    258258    if(isset($pline))echo 'width:'.(100/$pline).'%;';
     
    302302background-image: <?php
    303303        $tfi='ch2';
    304        
     304
    305305        $tfc='#000';
    306306        if(isset($theme["check_ic"])){$tfc=$theme["check_ic"];}
     
    405405<?php if(isset($theme["button_fch"])){
    406406echo 'color:'.$theme["button_fch"].';';
    407 }   
     407}
    408408if(isset($theme["button_bch"])){
    409409echo 'background-color:'.$theme["button_bch"].';';
     
    416416#<?php echo $oppow_id;?> .optinpoint-subs-button.subsicon:before{
    417417padding-left: 35px;
    418   <?php 
     418  <?php
    419419  if(isset($theme["button_w"])){
    420420      echo 'padding-left:'.$theme["button_h"].'px;';
     
    430430left: 0;
    431431pointer-events: none;
    432   <?php 
     432  <?php
    433433  if(isset($theme["button_h"])){
    434434      echo 'width:'.$theme["button_h"].'px;';
     
    542542          <?php if(isset($theme['msg'])) echo '<div class="optinpoint_para">'.$theme['msg'].'</div>';?>
    543543    <form action="" method="post" >
    544              
     544
    545545<input type="hidden" name="action" value="optinpoint_lite_add_email_ajax"/>
    546546<input type="hidden" name="oppoform" value="<?php echo $form['id'];?>"/>
     
    553553$plugin->stfield($form['fields'],$set);
    554554?>
    555  
     555
    556556                <div style="clear:both"></div>
    557557
Note: See TracChangeset for help on using the changeset viewer.