PluginProbe
Insert Html Snippet / 1.3.4
Insert Html Snippet v1.3.4
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
insert-html-snippet / admin / footer.php

footer.php in Insert Html Snippet 1.3.4, at admin/footer.php

168 lines 8.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) )
3 exit;
4 if(get_option('xyz_ips_premium_version_ads')==1){ ?>
5 <div id="xyz-ips-premium">
6
7 <div style="float: left; padding: 0 5px">
8 <h2 style="vertical-align: middle;">
9 <a target="_blank"
10 href="https://xyzscripts.com/wordpress-plugins/xyz-wp-insert-code-snippet/details">Fully Featured XYZ WP Insert Code Snippet Premium Plugin</a>
11 - Just 19 USD
12 </h2>
13 </div>
14 <div style="float: left; margin-top: 3px">
15 <a target="_blank"
16 href="https://xyzscripts.com/members/product/purchase/XYZWPICSPRE"><img
17 src="<?php echo plugins_url("images/orange_buynow.png",XYZ_INSERT_PHP_PLUGIN_FILE); ?>">
18 </a>
19 </div>
20 <div style="float: left; padding: 0 5px">
21 <h2 style="vertical-align: middle;text-shadow: 1px 1px 1px #686868">
22 ( <a href="<?php echo admin_url('admin.php?page=insert-php-code-snippet-about');?>">Compare Features</a> )
23 </h2>
24 </div>
25 </div>
26 <?php
27 }
28 ?>
29 <div style="clear: both;">
30 </div>
31 <div style="width: 100%">
32 <div class="xyz_ips_social_media">
33 <h3 class="xyz_ips_inner_head">
34 Follow Us
35 </h3>
36 <a target="_blank" href="http://facebook.com/xyzscripts" class="xyz_home_fbook"></a>
37 <a target="_blank" href="http://twitter.com/xyzscripts" class="xyz_home_twitt"></a>
38 <a target="_blank" href="https://plus.google.com/+Xyzscripts/" class="xyz_home_gplus"></a>
39 <a style="margin-right:0px;" target="_blank" href="https://www.linkedin.com/company/xyzscripts" class="xyz_home_linkedin"></a>
40 </div>
41 <div class="xyz_ips_sugession">
42 <h3 class="xyz_ips_inner_head"> Support</h3>
43 <p style="width:100%;"><a target="_blank" href="https://xyzscripts.com/donate/5" >Donate</a></p>
44 <p style="width:100%;"><a target="_blank" href="https://xyzscripts.com/support/" >Contact Us</a></p>
45 <p ><a target="_blank" href="https://wordpress.org/support/plugin/insert-php-code-snippet/reviews/" >Please Rate Us
46 </a></p>
47 <a target="_blank" href="https://wordpress.org/support/plugin/insert-php-code-snippet/reviews/" ><span class="xyz_new_star"></span></a>
48 <p style="width:100%;"><a target="_blank" href="https://wordpress.org/support/plugin/insert-php-code-snippet/" >Create a ticket at Wordpress forum</a>
49 </p>
50 </div>
51 <div class="xyz_ips_new_subscribe">
52 <h3 class="xyz_ips_inner_head">
53 Stay tuned for our updates
54 </h3>
55 <script language="javascript">
56 function check_email(emailString)
57 {
58 var mailPattern = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,})$/;
59 var matchArray = emailString.match(mailPattern);
60 if (emailString.length == 0)
61 return false;
62 if (matchArray == null) {
63 return false;
64 }else{
65 return true;
66 }
67 }
68 function verify_lists(form)
69 {
70 var total=0;
71 var checkBox=form['chk[]'];
72 if(checkBox.length){
73 for(var i=0;i<checkBox.length;i++){
74 checkBox[i].checked?total++:null;
75 }
76 }
77 else{
78 checkBox.checked?total++:null;
79 }
80 if(total>0){
81 return true;
82 }
83 else{
84 return false;
85 }
86 }
87 function verify_fields()
88 {
89 if(check_email(document.email_subscription.email.value) == false){
90 alert("Please check whether the email is correct.");
91 document.email_subscription.email.select();
92 return false;
93 }
94 else if(verify_lists(document.email_subscription)==false){
95 alert("Select atleast one list.");
96 }
97 else{
98 document.email_subscription.submit();
99 }
100 }
101 </script>
102 <?php global $current_user; wp_get_current_user();?>
103 <form action="https://xyzscripts.com/newsletter/index.php?page=list/subscribe" method="post" name="email_subscription" id="email_subscription" target="_blank">
104 <input type="hidden" name="fieldNameIds" value="1,">
105 <input type="hidden" name="redirActive" value="http://xyzscripts.com/subscription/pending/XYZWPIPSFRE">
106 <input type="hidden" name="redirPending" value="http://xyzscripts.com/subscription/active/XYZWPIPSFRE">
107 <input type="hidden" name="mode" value="1">
108
109 <input class="xyz_ips_name" type="text" placeholder="Name" name="field1" value="<?php
110 if ($current_user->user_firstname != "" || $current_user->user_lastname != "")
111 {
112 echo $current_user->user_firstname . " " . $current_user->user_lastname;
113 }
114 else if (strcasecmp($current_user->display_name, 'admin')!=0 && strcasecmp($current_user->display_name , "administrator")!=0 )
115 {
116 echo $current_user->display_name;
117 }
118 else if (strcasecmp($current_user->user_login ,"admin")!=0 && strcasecmp($current_user->user_login , "administrator")!=0 )
119 {
120 echo $current_user->user_login;
121 }
122 ?>" >
123
124 <input class="xyz_ips_email" name="email"
125 type="text" placeholder="Email" value="<?php echo $current_user->user_email; ?>" />
126
127 <input id="xyz_ips_submit_ips_btn" type="submit" class="xyz_ips_sbmt_btn" value="Subscribe" name="Submit" onclick="javascript: if(!verify_fields()) return false; " />
128
129 <input type="hidden" name="listName" value="6,1,"/>
130 </form>
131 </div>
132 <div class="xyz_ips_inmotion" >
133 <a target="_blank" href="http://inmotion-hosting.evyy.net/c/1150074/260033/4222">
134 <img src="<?php echo plugins_url()?>/insert-php-code-snippet/images/xyz.png" class="xyz_inmotion_label"></a>
135 </div>
136 </div>
137 <div style="clear: both;">
138 </div>
139 <div style="width: 100%">
140 <div class="xyz_our_plugins_new">
141 <p class="xyz_plugin_head">
142 Our Plugins :
143 </p>
144 <a target="_blank" href="https://wordpress.org/plugins/social-media-auto-publish/"><span>1</span>Social Media Auto Publish</a>
145 <a target="_blank" href="https://wordpress.org/plugins/facebook-auto-publish/"><span>2</span>Facebook Auto Publish</a>
146 <a target="_blank" href="https://wordpress.org/plugins/twitter-auto-publish/"><span>3</span>Twitter Auto Publish</a>
147 <a target="_blank" href="https://wordpress.org/plugins/linkedin-auto-publish/"><span>4</span>LinkedIn Auto Publish</a>
148 <a target="_blank" href="https://wordpress.org/plugins/insert-html-snippet/"><span>5</span>Insert HTML Snippet</a>
149 <a target="_blank" href="https://wordpress.org/plugins/insert-php-code-snippet/"><span>6</span>Insert PHP Code Snippet</a>
150 <a target="_blank" href="https://wordpress.org/plugins/contact-form-manager/"><span>7</span>Contact Form Manager</a>
151 <a target="_blank" href="https://wordpress.org/plugins/newsletter-manager/"><span>8</span>Newsletter Manager</a>
152 <a target="_blank" href="https://wordpress.org/plugins/lightbox-pop/"><span>9</span>Lightbox Pop</a>
153 <a target="_blank" href="https://wordpress.org/plugins/full-screen-popup/"><span>10</span>Full Screen Popup</a>
154 <a target="_blank" href="https://wordpress.org/plugins/popup-dialog-box/"><span>11</span>Popup Dialog Box</a>
155 <a target="_blank" href="https://wordpress.org/plugins/quick-bar/"><span>12</span>Quick Bar</a>
156 <a target="_blank" href="https://wordpress.org/plugins/quick-box-popup/"><span>13</span>Quick Box Popup</a>
157 <a target="_blank" href="https://wordpress.org/plugins/custom-field-manager/"><span>14</span> Custom Field Manager</a>
158 <a target="_blank" href="https://wordpress.org/plugins/wp-filter-posts/"><span>15</span> WP Filter Posts</a>
159 <a target="_blank" href="https://wordpress.org/plugins/wp-gallery-manager/"><span>16</span> WP Gallery Manager</a>
160 </div>
161 </div>
162 <div class="xyz_poweredBy">
163 Powered by
164 <a href="http://xyzscripts.com" target="_blank">XYZScripts</a>
165 </div>
166 <div style="clear: both;"></div>
167 <p style="clear: both;"></p>
168