PluginProbe
Insert PHP Code Snippet / 1.1
Insert PHP Code Snippet v1.1
1.4.7 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 1.4.4 1.4.5 1.4.6 trunk 1.0 1.1 1.2 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.3 All 27 releases
insert-php-code-snippet / admin / footer.php

footer.php in Insert PHP Code Snippet 1.1, at admin/footer.php

160 lines 5.2 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/XYZWPIPSFRE">
83 <input type="hidden" name="redirPending" value="http://xyzscripts.com/subscription/active/XYZWPIPSFRE">
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_ips" 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 Our Plugins :
125
126
127 <a target="_blank" href="http://wordpress.org/extend/plugins/insert-html-snippet/">Insert HTML Snippet</a> �
128
129 <a target="_blank" href="http://wordpress.org/extend/plugins/lightbox-pop/">Lightbox Pop</a> �
130
131 <a target="_blank" href="http://wordpress.org/extend/plugins/full-screen-popup/">Full Screen Popup</a> �
132
133 <a target="_blank" href="http://wordpress.org/extend/plugins/popup-dialog-box/">Popup Dialog Box</a> �
134
135 <a target="_blank" href="http://wordpress.org/extend/plugins/quick-bar/">Quick Bar</a> �
136
137 <a target="_blank" href="http://wordpress.org/extend/plugins/quick-box-popup/">Quick Box Popup</a> �
138
139 <a target="_blank" href="http://wordpress.org/extend/plugins/contact-form-manager/">Contact Form Manager</a> �
140
141 <a target="_blank" href="http://wordpress.org/extend/plugins/newsletter-manager/">Newsletter Manager</a> �
142
143 <a target="_blank" href="http://wordpress.org/extend/plugins/social-media-auto-publish/">Social Media Auto Publish</a>�
144
145 <a target="_blank" href="http://wordpress.org/extend/plugins/facebook-auto-publish/">Facebook Auto Publish</a> �
146
147 <a target="_blank" href="http://wordpress.org/extend/plugins/linkedin-auto-publish/">LinkedIn Auto Publish</a> �
148
149 <a target="_blank" href="http://wordpress.org/extend/plugins/twitter-auto-publish/">Twitter Auto Publish</a> �
150
151 <a target="_blank" href="http://wordpress.org/extend/plugins/insert-php-code-snippet/">Insert PHP Code Snippet</a>
152 </div>
153 </div>
154 <div class="poweredBy">
155 Powered by <a href="http://xyzscripts.com" target="_blank">XYZScripts</a>
156 </div>
157 <div style="clear: both;"></div>
158
159 </div>
160 <p style="clear: both;"></p>