PluginProbe
Insert Html Snippet / 1.0.1
Insert Html Snippet v1.0.1
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.0.1, at admin/footer.php

150 lines 4.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <div style="clear: both;"></div>
2
3
4 <p></p>
5
6 <div style="width: 100%">
7
8 <div class="xyz_feedback">
9
10
11 <a target="_blank" href="http://xyzscripts.com/support/" class="xyz_suggest">Suggestions</a> -
12 <a target="_blank" href="http://facebook.com/xyzscripts" class="xyz_fbook">Like us on facebook</a> -
13 <a target="_blank" href="http://twitter.com/xyzscripts" class="xyz_twitt">Follow us on twitter</a> -
14 <a target="_blank" href="https://plus.google.com/101215320403235276710/" class="xyz_gplus">+1 us on Google+</a>
15
16
17 </div>
18
19 <p></p>
20
21 <div class="xyz_subscribe">
22
23 <script language="javascript">
24 function check_email(emailString)
25 {
26 var mailPattern = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
27 var matchArray = emailString.match(mailPattern);
28 if (emailString.length == 0)
29 return false;
30
31 if (matchArray == null) {
32 return false;
33 }else{
34 return true;
35 }
36 }
37
38
39 function verify_lists(form)
40 {
41
42 var total=0;
43 var checkBox=form['chk[]'];
44
45 if(checkBox.length){
46
47 for(var i=0;i<checkBox.length;i++){
48 checkBox[i].checked?total++:null;
49 }
50 }else{
51
52 checkBox.checked?total++:null;
53
54 }
55 if(total>0){
56 return true;
57 }else{
58 return false;
59 }
60
61 }
62
63 function verify_fields()
64 {
65
66 if(check_email(document.email_subscription.email.value) == false){
67 alert("Please check whether the email is correct.");
68 document.email_subscription.email.select();
69 return false;
70 }else if(verify_lists(document.email_subscription)==false){
71 alert("Select atleast one list.");
72 }
73 else{
74 document.email_subscription.submit();
75 }
76
77 }
78 </script>
79 <?php global $current_user; get_currentuserinfo(); ?>
80 <form action="http://xyzscripts.com/newsletter/index.php?page=list/subscribe" method="post" name="email_subscription" id="email_subscription" >
81 <input type="hidden" name="fieldNameIds" value="1,">
82 <input type="hidden" name="redirActive" value="http://xyzscripts.com/subscription/pending/XYZWPIHSFRE">
83 <input type="hidden" name="redirPending" value="http://xyzscripts.com/subscription/active/XYZWPIHSFRE">
84 <input type="hidden" name="mode" value="1">
85
86 <b>Stay tuned to our updates :</b>
87 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
88
89 Name :
90 <input style="border: 1px solid #3fafe3; margin-right:10px;" type="text" name="field1" value="<?php
91 if ($current_user->user_firstname != "" || $current_user->user_lastname != "")
92 {
93 echo $current_user->user_firstname . " " . $current_user->user_lastname;
94 }
95 else if (strcasecmp($current_user->display_name, 'admin')!=0 && strcasecmp($current_user->display_name , "administrator")!=0 )
96 {
97 echo $current_user->display_name;
98 }
99 else if (strcasecmp($current_user->user_login ,"admin")!=0 && strcasecmp($current_user->user_login , "administrator")!=0 )
100 {
101 echo $current_user->user_login;
102 }
103 ?>" >
104
105 Email Address :
106 <input style="border: 1px solid #3fafe3;" name="email"
107 type="text" value="<?php echo $current_user->user_email; ?>" /><span style="color:#FF0000">*</span>
108
109 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
110 <input id="submit_ihs" style="color:#FFFFFF;border-radius:4px;border:1px solid #1A87B9;" type="submit" value="Subscribe" name="Submit" onclick="javascript: if(!verify_fields()) return false; " />
111
112 <input type="hidden" name="listName" value="6,1,"/>
113 </form>
114
115
116
117 </div>
118
119
120 <div style="clear: both;"></div>
121 <div style="width: 100%">
122
123 <div class="xyz_our_plugins">
124 See Also :
125
126 <a target="_blank" href="http://wordpress.org/extend/plugins/lightbox-pop/">Lightbox Pop</a> �
127
128 <a target="_blank" href="http://wordpress.org/extend/plugins/full-screen-popup/">Full Screen Popup</a> �
129
130 <a target="_blank" href="http://wordpress.org/extend/plugins/popup-dialog-box/">Popup Dialog Box</a> �
131
132 <a target="_blank" href="http://wordpress.org/extend/plugins/quick-bar/">Quick Bar</a> �
133
134 <a target="_blank" href="http://wordpress.org/extend/plugins/quick-box-popup/">Quick Box Popup</a> �
135
136 <a target="_blank" href="http://wordpress.org/extend/plugins/contact-form-manager/">Contact Form Manager</a> �
137
138 <a target="_blank" href="http://wordpress.org/extend/plugins/newsletter-manager/">Newsletter Manager</a> �
139
140 <a target="_blank" href="http://wordpress.org/extend/plugins/social-media-auto-publish/">Social Media Auto Publish</a>
141
142 </div>
143 </div>
144 <div class="poweredBy">
145 Powered by <a href="http://xyzscripts.com" target="_blank">XYZScripts</a>
146 </div>
147 <div style="clear: both;"></div>
148
149 </div>
150 <p style="clear: both;"></p>