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

225 lines 6.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 <style>
4
5 .xyz_feedback{
6 background: #CEEAF7; /* Old browsers */
7 border: 1px solid #64cfe8;
8 width: 48%;
9 height:200px;
10 padding-left: 10px;
11 float: left;
12
13 }
14
15 .xyz_feedback ul{
16 font-weight: bold;
17 }
18
19 .xyz_feedback a{
20 text-decoration: none
21 }
22
23
24 .xyz_subscribe{
25 background: #bae598; /* Old browsers */
26 border: 1px solid #4d8a1d;
27 width: 48%;
28 padding-left: 10px;
29 float:right;
30 height:200px;
31
32 }
33 .xyz_subscribe td{
34 padding:0;
35 }
36
37 </style>
38 <p></p>
39 <div style="width: 100%">
40 <fieldset
41 style="width: 99%; border: 1px solid #F7F7F7; padding: 10px 0px;">
42
43 <table style="width:99%;margin: 0 auto">
44 <tr>
45 <td style="width:50%; padding: 0">
46 <div class="xyz_feedback" style="width:99%;float: left;">
47 <h2>Feedback</h2>
48
49 Your feedback and suggestions are our sources for betterment of this plugin. You can provide your feedback using any of the options below.
50 <p></p>
51 <ul style="float: left;">
52
53 <li><a target="_blank" href="http://xyzscripts.com/donate/1">Donate a dollar</a></li>
54 <li><a target="_blank" href="http://wordpress.org/extend/plugins/insert-html-snippet/">Rate this plugin</a></li>
55 <li><a target="_blank" href="http://xyzscripts.com/support/">Suggestions</a></li>
56 </ul>
57 <ul style="float: left;padding-left: 30px">
58 <li><a target="_blank" href="http://facebook.com/xyzscripts" class="xyz_fbook">Like us on facebook</a></li>
59 <li><a target="_blank" href="http://twitter.com/xyzscripts" class="xyz_twitt">Follow us on twitter</a></li>
60 <li><a target="_blank" href="https://plus.google.com/101215320403235276710/" class="xyz_gplus">+1 us on Google+</a></li>
61
62 </ul>
63
64 </div>
65 </td>
66 <td>&nbsp;&nbsp;&nbsp;</td>
67
68 <td style="width:50%;">
69 <div class="xyz_subscribe" style="width:99%;float: right;">
70
71
72 <h2>Subscribe</h2>
73
74
75 Stay tuned to our updates by subscribing below.
76
77
78 <div>
79
80 <script language="javascript">
81 function check_email(emailString)
82 {
83 var mailPattern = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
84 var matchArray = emailString.match(mailPattern);
85 if (emailString.length == 0)
86 return false;
87
88 if (matchArray == null) {
89 return false;
90 }else{
91 return true;
92 }
93 }
94
95
96 function verify_lists(form)
97 {
98
99 var total=0;
100 var checkBox=form['chk[]'];
101
102 if(checkBox.length){
103
104 for(var i=0;i<checkBox.length;i++){
105 checkBox[i].checked?total++:null;
106 }
107 }else{
108
109 checkBox.checked?total++:null;
110
111 }
112 if(total>0){
113 return true;
114 }else{
115 return false;
116 }
117
118 }
119
120 function verify_fields()
121 {
122
123 if(check_email(document.email_subscription.email.value) == false){
124 alert("Please check whether the email is correct.");
125 document.email_subscription.email.select();
126 return false;
127 }else if(verify_lists(document.email_subscription)==false){
128 alert("Select atleast one list.");
129 }
130 else{
131 document.email_subscription.submit();
132 }
133
134 }
135 </script>
136 <?php global $current_user; get_currentuserinfo(); ?>
137 <form action=http://xyzscripts.com/newsletter/index.php?page=list/subscribe method="post" name="email_subscription" id="email_subscription" >
138 <input type="hidden" name="fieldNameIds" value="1,">
139 <input type="hidden" name="redirActive" value="http://xyzscripts.com/subscription/pending/XYZWPIH">
140 <input type="hidden" name="redirPending" value="http://xyzscripts.com/subscription/active/XYZWPIH">
141 <input type="hidden" name="mode" value="1">
142 <table border="0" style=" width: 100%; color: black;">
143 <tr>
144 <td colspan="3" style="padding: 0px;">
145 <span style="font-size:14px;"><b>Field marked <font style="color:#FF0000">*</font> are mandatory </b></span>
146 </td>
147 </tr>
148
149 <tr><td colspan="3" style="padding: 0px;"> </td></tr>
150
151
152 <tr>
153 <td id="align" >Name</td>
154 <td id="align" > : </td>
155 <td id="align" >
156 <input style="border: 1px solid #3fafe3; margin-right:10px;" type="text" name="field1" value="<?php
157 if ($current_user->user_firstname != "" || $current_user->user_lastname != "")
158 {
159 echo $current_user->user_firstname . " " . $current_user->user_lastname;
160 }
161 else if (strcasecmp($current_user->display_name, 'admin')!=0 && strcasecmp($current_user->display_name , "administrator")!=0 )
162 {
163 echo $current_user->display_name;
164 }
165 else if (strcasecmp($current_user->user_login ,"admin")!=0 && strcasecmp($current_user->user_login , "administrator")!=0 )
166 {
167 echo $current_user->user_login;
168 }
169 ?>" ></td>
170 </tr>
171 <tr >
172 <td >Email Address</td><td > : </td>
173 <td >
174 <input style="border: 1px solid #3fafe3;" name="email"
175 type="text" value="<?php echo $current_user->user_email; ?>" /><span style="color:#FF0000">*</span>
176 </td>
177 </tr>
178 <tr><td colspan="3" style="padding: 0px;"> </td></tr>
179
180
181 <tr>
182 <td style="padding: 0px;"> </td><td style="padding: 0px;"> </td>
183 <td style="padding: 0px;">
184 <input class="button-primary" type="submit" value="subscribe" name="Submit" onclick="javascript: if(!verify_fields()) return false; " />
185 </td>
186 <td style="padding: 0px;"> </td>
187 </tr>
188 <tr>
189 <td colspan="3" style="padding: 0px;"> </td>
190 </tr>
191 </table>
192 <input type="hidden" name="listName" value="6,1,"/>
193 </form>
194 </div>
195
196
197
198 </div>
199 </td>
200 </tr>
201 </table>
202 </fieldset>
203
204 <div style="clear: both;"></div>
205 <div style="width: 99%">
206 <div style="padding-top: 10px;float:left;">
207 Powered by <a href="http://xyzscripts.com" target="_blank">XYZScripts</a>
208 </div>
209 <div style="padding-top: 10px;float:right ;">
210 See Also :
211 <a target="_blank" href="http://wordpress.org/extend/plugins/lightbox-pop/">Lightbox Pop</a>
212 |
213 <a target="_blank" href="http://xyzscripts.com/wordpress-plugins/lightbox-pop/details">Lightbox Pop Premium</a>
214 |
215 <a target="_blank" href="http://wordpress.org/extend/plugins/newsletter-manager/">Newsletter Manager</a>
216 |
217 <a target="_blank" href="http://wordpress.org/extend/plugins/contact-form-manager/">Contact Form Manager</a>
218
219 </div>
220 </div>
221
222 <div style="clear: both;"></div>
223
224 </div>
225 <p style="clear: both;"></p>