PluginProbe
Insert Html Snippet / trunk
Insert Html Snippet vtrunk
1.4.6 trunk 1.0 1.0.1 1.1 1.1.1 1.2 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.4 1.4.1 1.4.2 1.4.3 All 27 releases
← All changes | admin/footer.php +170 -175 1.2.3trunk View file →
@@ -1,175 +1,170 @@
1 -<?php
2 -if ( ! defined( 'ABSPATH' ) )
3 - exit;
4 -if(get_option('xyz_ihs_premium_version_ads')==1){?>
5 -<div id="xyz-ihs-premium">
6 - <div style="float: left; padding: 0 5px">
7 - <h2 style="vertical-align: middle;">
8 - <a target="_blank"
9 - href="https://xyzscripts.com/wordpress-plugins/xyz-wp-insert-code-snippet/details
10 -">Fully Featured XYZ WP Insert Code Snippet Premium Plugin</a> - Just 19 USD
11 - </h2>
12 - </div>
13 - <div style="float: left; margin-top: 3px">
14 - <a target="_blank" href="https://xyzscripts.com/members/product/purchase/XYZWPICSPRE"><img
15 - src="<?php echo plugins_url("images/orange_buynow.png",XYZ_INSERT_HTML_PLUGIN_FILE); ?>">
16 - </a>
17 - </div>
18 - <div style="float: left; padding: 0 5px">
19 - <h2 style="vertical-align: middle;text-shadow: 1px 1px 1px #686868">
20 - (
21 - <a href="<?php echo admin_url('admin.php?page=insert-html-snippet-about');?>">Compare Features</a>
22 - )
23 - </h2>
24 - </div>
25 -</div>
26 -<?php }
27 -?>
28 -<div style="clear: both;">
29 -</div>
30 -<div style="width: 100%">
31 - <div class="xyz_social_media">
32 - <h3 class="xyz_inner_head">
33 - Follow Us
34 - </h3>
35 - <a target="_blank" href="http://facebook.com/xyzscripts" class="xyz_home_fbook"></a>
36 - <a target="_blank" href="http://twitter.com/xyzscripts" class="xyz_home_twitt"></a>
37 - <a target="_blank" href="https://plus.google.com/+Xyzscripts/" class="xyz_home_gplus"></a>
38 - <a style="margin-right:0px;" target="_blank" href="https://www.linkedin.com/company/xyzscripts" class="xyz_home_linkedin"></a>
39 - </div>
40 - <div class="xyz_rate_us">
41 - <h3 class="xyz_inner_head">
42 - Rate Us & Donate
43 - </h3>
44 - <p>
45 - <a target="_blank" href="https://wordpress.org/support/plugin/insert-html-snippet/reviews/" >Please Rate Us
46 - </a>
47 - </p>
48 - <a target="_blank" href="https://wordpress.org/support/plugin/insert-html-snippet/reviews/" ><span class="xyz_new_star"></span></a>
49 - <p>
50 - <a target="_blank" href="https://xyzscripts.com/donate/5" >Donate</a>
51 - </p>
52 - </div>
53 - <div class="xyz_sugession">
54 - <h3 class="xyz_inner_head">
55 - Support
56 - </h3>
57 - <p>
58 - <a target="_blank" href="https://wordpress.org/support/plugin/insert-html-snippet/" >Create a ticket at Wordpress forum</a>
59 - </p>
60 - <p>
61 - <a target="_blank" href="https://xyzscripts.com/support/" >Contact Us</a>
62 - </p>
63 - </div>
64 - <div class="xyz_new_subscribe">
65 - <h3 class="xyz_inner_head">
66 - Stay tuned for our updates
67 - </h3>
68 - <script language="javascript">
69 - function check_email(emailString)
70 - {
71 - var mailPattern = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,})$/;
72 - var matchArray = emailString.match(mailPattern);
73 - if (emailString.length == 0)
74 - return false;
75 - if (matchArray == null) {
76 - return false;
77 - }
78 - else{
79 - return true;
80 - }
81 - }
82 - function verify_lists(form)
83 - {
84 - var total=0;
85 - var checkBox=form['chk[]'];
86 - if(checkBox.length){
87 - for(var i=0;i<checkBox.length;i++){
88 - checkBox[i].checked?total++:null;
89 - }
90 - }
91 - else{
92 - checkBox.checked?total++:null;
93 - }
94 - if(total>0){
95 - return true;
96 - }
97 - else{
98 - return false;
99 - }
100 - }
101 - function verify_fields()
102 - {
103 - if(check_email(document.email_subscription.email.value) == false){
104 - alert("Please check whether the email is correct.");
105 - document.email_subscription.email.select();
106 - return false;
107 - }
108 - else if(verify_lists(document.email_subscription)==false){
109 - alert("Select atleast one list.");
110 - }
111 - else{
112 - document.email_subscription.submit();
113 - }
114 - }
115 - </script>
116 - <?php global $current_user; wp_get_current_user(); ?>
117 - <form action="https://xyzscripts.com/newsletter/index.php?page=list/subscribe" method="post" name="email_subscription" id="email_subscription" target="_blank">
118 - <input type="hidden" name="fieldNameIds" value="1,">
119 - <input type="hidden" name="redirActive" value="http://xyzscripts.com/subscription/pending/XYZWPIHSFRE">
120 - <input type="hidden" name="redirPending" value="http://xyzscripts.com/subscription/active/XYZWPIHSFRE">
121 - <input type="hidden" name="mode" value="1">
122 - <input class="xyz_name" type="text" placeholder="Name" name="field1" value="
123 -<?php
124 -if ($current_user->user_firstname != "" || $current_user->user_lastname != "")
125 -{
126 - echo $current_user->user_firstname . " " . $current_user->user_lastname;
127 -}
128 -else if (strcasecmp($current_user->display_name, 'admin')!=0 && strcasecmp($current_user->display_name , "administrator")!=0 )
129 -{
130 - echo $current_user->display_name;
131 -}
132 -else if (strcasecmp($current_user->user_login ,"admin")!=0 && strcasecmp($current_user->user_login , "administrator")!=0 )
133 -{
134 - echo $current_user->user_login;
135 -}
136 -?>" >
137 - <input class="xyz_email" name="email"
138 - type="text" placeholder="Email" value="
139 -<?php echo $current_user->user_email; ?>" />
140 - <input id="xyz_ihs_submit" type="submit" value="Subscribe" name="Submit" onclick="javascript: if(!verify_fields()) return false; " />
141 - <input type="hidden" name="listName" value="6,1,"/>
142 - </form>
143 - </div>
144 - </div>
145 -
146 -<div style="clear: both;"></div>
147 - <div style="width: 100%">
148 - <div class="xyz_our_plugins_new">
149 - <p class="xyz_plugin_head">
150 - Our Plugins :
151 - </p>
152 - <a target="_blank" href="https://xyzscripts.com/wordpress-plugins/social-media-auto-publish/"><span>1</span>Social Media Auto Publish</a>
153 - <a target="_blank" href="https://xyzscripts.com/wordpress-plugins/facebook-auto-publish/"><span>2</span>Facebook Auto Publish</a>
154 - <a target="_blank" href="https://xyzscripts.com/wordpress-plugins/twitter-auto-publish/"><span>3</span>Twitter Auto Publish</a>
155 - <a target="_blank" href="https://xyzscripts.com/wordpress-plugins/linkedin-auto-publish/"><span>4</span>LinkedIn Auto Publish</a>
156 - <a target="_blank" href="https://xyzscripts.com/wordpress-plugins/insert-html-snippet/"><span>5</span>Insert HTML Snippet</a>
157 - <a target="_blank" href="https://xyzscripts.com/wordpress-plugins/insert-php-code-snippet/"><span>6</span>Insert PHP Code Snippet</a>
158 - <a target="_blank" href="https://xyzscripts.com/wordpress-plugins/contact-form-manager/"><span>7</span>Contact Form Manager</a>
159 - <a target="_blank" href="https://xyzscripts.com/wordpress-plugins/newsletter-manager/"><span>8</span>Newsletter Manager</a>
160 - <a target="_blank" href="https://xyzscripts.com/wordpress-plugins/lightbox-pop/"><span>9</span>Lightbox Pop</a>
161 - <a target="_blank" href="https://xyzscripts.com/wordpress-plugins/full-screen-popup/"><span>10</span>Full Screen Popup</a>
162 - <a target="_blank" href="https://xyzscripts.com/wordpress-plugins/popup-dialog-box/"><span>11</span>Popup Dialog Box</a>
163 - <a target="_blank" href="https://xyzscripts.com/wordpress-plugins/quick-bar/"><span>12</span>Quick Bar</a>
164 - <a target="_blank" href="https://xyzscripts.com/wordpress-plugins/quick-box-popup/"><span>13</span>Quick Box Popup</a>
165 - <a target="_blank" href="https://xyzscripts.com/wordpress-plugins/custom-field-manager/"><span>14</span> Custom Field Manager</a>
166 - <a target="_blank" href="https://xyzscripts.com/wordpress-plugins/wp-filter-posts/"><span>15</span> WP Filter Posts</a>
167 - <a target="_blank" href="https://xyzscripts.com/wordpress-plugins/wp-gallery-manager/"><span>16</span> WP Gallery Manager</a>
168 - </div>
169 - </div>
170 - <div class="xyz_poweredBy">
171 - Powered by
172 - <a href="http://xyzscripts.com" target="_blank">XYZScripts</a>
173 - </div>
174 - <div style="clear: both;"></div>
175 - <p style="clear: both;"></p>
1 +<?php
2 +if ( ! defined( 'ABSPATH' ) )
3 + exit;
4 +if(get_option('xyz_ihs_premium_version_ads')==1){?>
5 +<div id="xyz-ihs-premium">
6 + <div class="xyz_ihs_ContentCenter">
7 + <a target="_blank"
8 + href="https://xyzscripts.com/wordpress-plugins/xyz-wp-insert-code-snippet/details">🚀 Upgrade to the Fully Featured XYZ WP Insert Code Snippet Premium Plugin for </a>
9 + <span style="font-size: 28px; color:#fbff00;"> Just 19 USD</span>
10 + <br/><span style="font-size: 13px;color:#fff;">Access exclusive features like advanced targeting, automatic snippet placements across your site, syntax highlighting for better code management, and easy snippet export/import!</span>
11 + </div>
12 + <div class="clear"></div>
13 + <div class="xyz_ihs_ButtonWrap">
14 + <div class="xyz_ihs_BuyNowButton">
15 + <a target="_blank"
16 + href="https://xyzscripts.com/members/product/purchase/XYZWPICSPRE">🛒 Buy Now
17 + </a>
18 + </div>
19 + <div class="xyz_ihs_CompareButton">
20 + <h2>
21 + <a href="<?php echo admin_url('admin.php?page=insert-html-snippet-about');?>">Compare Features</a>
22 + </h2>
23 + </div>
24 + </div>
25 +</div>
26 +<?php
27 + }
28 +?>
29 +<div style="clear: both;">
30 +</div>
31 +<div class="xyz-ihs-wrap">
32 +<div class="xyz-ihs-footer-contact">
33 + 🚀 <span style="font-style: italic;font-size:larger;">We are available for custom development</span> —
34 + <a href="https://xyzscripts.com/support/" target="_blank">
35 + Get a quote
36 + </a>
37 +</div></div>
38 +<div class="xyz-ihs-wrap">
39 + <div class="xyz_ihs_social_media">
40 + <h3 class="xyz_ihs_inner_head">
41 + Follow Us
42 + </h3>
43 + <a target="_blank" href="http://facebook.com/xyzscripts" class="xyz_ihs_home_fbook"></a>
44 + <a target="_blank" href="http://twitter.com/xyzscripts" class="xyz_ihs_home_twitt"></a>
45 + <a target="_blank" href="https://www.instagram.com/xyz_scripts/" class="xyz_ihs_home_insta"></a>
46 + <a style="margin-right:0px;" target="_blank" href="https://www.linkedin.com/company/xyzscripts" class="xyz_ihs_home_linkedin"></a>
47 + </div>
48 + <div class="xyz_ihs_sugession">
49 + <h3 class="xyz_ihs_inner_head"> Support</h3>
50 +
51 + <p style="width:100%;"><a target="_blank" href="https://xyzscripts.com/support/" >Contact Us</a></p>
52 + <p ><a target="_blank" href="https://wordpress.org/support/plugin/insert-html-snippet/reviews/" >Please Rate Us
53 + </a></p>
54 + <a target="_blank" href="https://wordpress.org/support/plugin/insert-html-snippet/reviews/" ><span class="xyz_ihs_new_star"></span></a>
55 + <p style="width:100%;"><a target="_blank" href="https://wordpress.org/support/plugin/insert-html-snippet/" >Create a ticket at Wordpress forum</a>
56 + </p>
57 + </div>
58 + <div class="xyz_ihs_new_subscribe">
59 + <h3 class="xyz_ihs_inner_head">
60 + Stay tuned for our updates
61 + </h3>
62 + <script language="javascript">
63 + function check_email(emailString)
64 + {
65 + var mailPattern = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,})$/;
66 + var matchArray = emailString.match(mailPattern);
67 + if (emailString.length == 0)
68 + return false;
69 + if (matchArray == null) {
70 + return false;
71 + }
72 + else{
73 + return true;
74 + }
75 + }
76 + function verify_lists(form)
77 + {
78 + var total=0;
79 + var checkBox=form['chk[]'];
80 + if(checkBox.length){
81 + for(var i=0;i<checkBox.length;i++){
82 + checkBox[i].checked?total++:null;
83 + }
84 + }
85 + else{
86 + checkBox.checked?total++:null;
87 + }
88 + if(total>0){
89 + return true;
90 + }
91 + else{
92 + return false;
93 + }
94 + }
95 + function verify_fields()
96 + {
97 + if(check_email(document.email_subscription.email.value) == false){
98 + alert("Please check whether the email is correct.");
99 + document.email_subscription.email.select();
100 + return false;
101 + }
102 + else if(verify_lists(document.email_subscription)==false){
103 + alert("Select atleast one list.");
104 + }
105 + else{
106 + document.email_subscription.submit();
107 + }
108 + }
109 + </script>
110 + <?php global $current_user; wp_get_current_user();?>
111 + <form action="https://xyzscripts.com/newsletter/index.php?page=list/subscribe" method="post" name="email_subscription" id="email_subscription" target="_blank">
112 + <input type="hidden" name="fieldNameIds" value="1,">
113 + <input type="hidden" name="redirActive" value="https://xyzscripts.com/subscription/pending/XYZWPIHSFRE">
114 + <input type="hidden" name="redirPending" value="https://xyzscripts.com/subscription/active/XYZWPIHSFRE">
115 + <input type="hidden" name="mode" value="1">
116 + <input class="xyz_ihs_name" type="text" placeholder="Name" name="field1" value="
117 +<?php
118 +if ($current_user->user_firstname != "" || $current_user->user_lastname != "")
119 +{
120 + echo esc_html($current_user->user_firstname . " " . $current_user->user_lastname);
121 +}
122 +else if (strcasecmp($current_user->display_name, 'admin')!=0 && strcasecmp($current_user->display_name , "administrator")!=0 )
123 +{
124 + echo esc_html($current_user->display_name);
125 +}
126 +else if (strcasecmp($current_user->user_login ,"admin")!=0 && strcasecmp($current_user->user_login , "administrator")!=0 )
127 +{
128 + echo esc_html($current_user->user_login);
129 +}
130 +?>" >
131 + <input class="xyz_ihs_email" name="email"
132 + type="text" placeholder="Email" value="
133 +<?php echo esc_html($current_user->user_email); ?>" />
134 + <input id="xyz_ihs_submit_btn" type="submit" value="Subscribe" class="xyz_ihs_submit_btn" name="Submit" onclick="javascript: if(!verify_fields()) return false; " />
135 + <input type="hidden" name="listName" value="6,1,"/>
136 + </form>
137 + </div>
138 +</div>
139 +<div style="clear: both;">
140 +</div>
141 +<div style="width: 100%">
142 + <div class="xyz_ihs_our_plugins_new">
143 + <p class="xyz_ihs_plugin_head">
144 + Our Plugins :
145 + </p>
146 + <a target="_blank" href="https://wordpress.org/plugins/social-media-auto-publish/"><span>1</span>Social Media Auto Publish</a>
147 + <a target="_blank" href="https://wordpress.org/plugins/facebook-auto-publish/"><span>2</span>Facebook Auto Publish</a>
148 + <a target="_blank" href="https://wordpress.org/plugins/twitter-auto-publish/"><span>3</span>Twitter Auto Publish</a>
149 + <a target="_blank" href="https://wordpress.org/plugins/linkedin-auto-publish/"><span>4</span>LinkedIn Auto Publish</a>
150 + <a target="_blank" href="https://wordpress.org/plugins/insert-html-snippet/"><span>5</span>Insert HTML Snippet</a>
151 + <a target="_blank" href="https://wordpress.org/plugins/insert-php-code-snippet/"><span>6</span>Insert PHP Code Snippet</a>
152 + <a target="_blank" href="https://wordpress.org/plugins/contact-form-manager/"><span>7</span>Contact Form Manager</a>
153 + <a target="_blank" href="https://wordpress.org/plugins/newsletter-manager/"><span>8</span>Newsletter Manager</a>
154 + <a target="_blank" href="https://wordpress.org/plugins/lightbox-pop/"><span>9</span>Lightbox Pop</a>
155 + <a target="_blank" href="https://wordpress.org/plugins/full-screen-popup/"><span>10</span>Full Screen Popup</a>
156 + <a target="_blank" href="https://wordpress.org/plugins/popup-dialog-box/"><span>11</span>Popup Dialog Box</a>
157 + <a target="_blank" href="https://wordpress.org/plugins/quick-bar/"><span>12</span>Quick Bar</a>
158 + <a target="_blank" href="https://wordpress.org/plugins/quick-box-popup/"><span>13</span>Quick Box Popup</a>
159 + <a target="_blank" href="https://wordpress.org/plugins/custom-field-manager/"><span>14</span> Custom Field Manager</a>
160 + <a target="_blank" href="https://wordpress.org/plugins/wp-filter-posts/"><span>15</span> WP Filter Posts</a>
161 + <a target="_blank" href="https://wordpress.org/plugins/wp-gallery-manager/"><span>16</span> WP Gallery Manager</a>
162 + </div>
163 +</div>
164 +<div class="xyz_ihs_poweredBy">
165 + Powered by
166 + <a href="http://xyzscripts.com" target="_blank">XYZScripts</a>
167 +</div>
168 +<div style="clear: both;"></div>
169 +<p style="clear: both;"></p>
170 +