Social Media Share Buttons & Social Sharing Icons - Version 2.2.0

Version Description

  • Solved: Critical security patch.
Download this release

Release Info

Developer socialdude
Plugin Icon 128x128 Social Media Share Buttons & Social Sharing Icons
Version 2.2.0
Comparing to
See all releases

Code changes from version 2.1.9 to 2.2.0

css/fonts/generator_config.txt DELETED
@@ -1,5 +0,0 @@
1
- # Font Squirrel Font-face Generator Configuration File
2
- # Upload this file to the generator to recreate the settings
3
- # you used to create these fonts.
4
-
5
- {"mode":"optimal","formats":["ttf","woff","eotz"],"tt_instructor":"default","fix_vertical_metrics":"Y","fix_gasp":"xy","add_spaces":"Y","add_hyphens":"Y","fallback":"none","fallback_custom":"100","options_subset":"basic","subset_custom":"","subset_custom_range":"","subset_ot_features_list":"","css_stylesheet":"stylesheet.css","filename_suffix":"-webfont","emsquare":"2048","spacing_adjustment":"0"}
 
 
 
 
 
css/fonts/helvetica_0-demo.html DELETED
@@ -1,610 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
-
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript" charset="utf-8"></script>
8
- <script src="specimen_files/easytabs.js" type="text/javascript" charset="utf-8"></script>
9
- <link rel="stylesheet" href="specimen_files/specimen_stylesheet.css" type="text/css" charset="utf-8" />
10
- <link rel="stylesheet" href="stylesheet.css" type="text/css" charset="utf-8" />
11
-
12
- <style type="text/css">
13
- body{
14
- font-family: 'helveticaregular';
15
- }
16
- </style>
17
-
18
- <title>Helvetica Regular Specimen</title>
19
-
20
-
21
- <script type="text/javascript" charset="utf-8">
22
- $(document).ready(function() {
23
- $('#container').easyTabs({defaultContent:1});
24
- });
25
- </script>
26
- </head>
27
-
28
- <body>
29
- <div id="container">
30
- <div id="header">
31
- Helvetica Regular </div>
32
- <ul class="tabs">
33
- <li><a href="#specimen">Specimen</a></li>
34
- <li><a href="#layout">Sample Layout</a></li>
35
- <li><a href="#glyphs">Glyphs &amp; Languages</a></li>
36
- <li><a href="#installing">Installing Webfonts</a></li>
37
-
38
- </ul>
39
-
40
- <div id="main_content">
41
-
42
-
43
- <div id="specimen">
44
-
45
- <div class="section">
46
- <div class="grid12 firstcol">
47
- <div class="huge">AaBb</div>
48
- </div>
49
- </div>
50
-
51
- <div class="section">
52
- <div class="glyph_range">A&#x200B;B&#x200b;C&#x200b;D&#x200b;E&#x200b;F&#x200b;G&#x200b;H&#x200b;I&#x200b;J&#x200b;K&#x200b;L&#x200b;M&#x200b;N&#x200b;O&#x200b;P&#x200b;Q&#x200b;R&#x200b;S&#x200b;T&#x200b;U&#x200b;V&#x200b;W&#x200b;X&#x200b;Y&#x200b;Z&#x200b;a&#x200b;b&#x200b;c&#x200b;d&#x200b;e&#x200b;f&#x200b;g&#x200b;h&#x200b;i&#x200b;j&#x200b;k&#x200b;l&#x200b;m&#x200b;n&#x200b;o&#x200b;p&#x200b;q&#x200b;r&#x200b;s&#x200b;t&#x200b;u&#x200b;v&#x200b;w&#x200b;x&#x200b;y&#x200b;z&#x200b;1&#x200b;2&#x200b;3&#x200b;4&#x200b;5&#x200b;6&#x200b;7&#x200b;8&#x200b;9&#x200b;0&#x200b;&amp;&#x200b;.&#x200b;,&#x200b;?&#x200b;!&#x200b;&#64;&#x200b;(&#x200b;)&#x200b;#&#x200b;$&#x200b;%&#x200b;*&#x200b;+&#x200b;-&#x200b;=&#x200b;:&#x200b;;</div>
53
- </div>
54
- <div class="section">
55
- <div class="grid12 firstcol">
56
- <table class="sample_table">
57
- <tr><td>10</td><td class="size10">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
58
- <tr><td>11</td><td class="size11">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
59
- <tr><td>12</td><td class="size12">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
60
- <tr><td>13</td><td class="size13">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
61
- <tr><td>14</td><td class="size14">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
62
- <tr><td>16</td><td class="size16">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
63
- <tr><td>18</td><td class="size18">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
64
- <tr><td>20</td><td class="size20">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
65
- <tr><td>24</td><td class="size24">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
66
- <tr><td>30</td><td class="size30">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
67
- <tr><td>36</td><td class="size36">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
68
- <tr><td>48</td><td class="size48">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
69
- <tr><td>60</td><td class="size60">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
70
- <tr><td>72</td><td class="size72">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
71
- <tr><td>90</td><td class="size90">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
72
- </table>
73
-
74
- </div>
75
-
76
- </div>
77
-
78
-
79
-
80
- <div class="section" id="bodycomparison">
81
-
82
-
83
- <div id="xheight">
84
- <div class="fontbody">&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;body</div><div class="arialbody">body</div><div class="verdanabody">body</div><div class="georgiabody">body</div></div>
85
- <div class="fontbody" style="z-index:1">
86
- body<span>Helvetica Regular</span>
87
- </div>
88
- <div class="arialbody" style="z-index:1">
89
- body<span>Arial</span>
90
- </div>
91
- <div class="verdanabody" style="z-index:1">
92
- body<span>Verdana</span>
93
- </div>
94
- <div class="georgiabody" style="z-index:1">
95
- body<span>Georgia</span>
96
- </div>
97
-
98
-
99
-
100
- </div>
101
-
102
-
103
- <div class="section psample psample_row1" id="">
104
-
105
- <div class="grid2 firstcol">
106
- <p class="size10"><span>10.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
107
-
108
- </div>
109
- <div class="grid3">
110
- <p class="size11"><span>11.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
111
-
112
- </div>
113
- <div class="grid3">
114
- <p class="size12"><span>12.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
115
-
116
- </div>
117
- <div class="grid4">
118
- <p class="size13"><span>13.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
119
-
120
- </div>
121
- <div class="white_blend"></div>
122
-
123
- </div>
124
- <div class="section psample psample_row2" id="">
125
- <div class="grid3 firstcol">
126
- <p class="size14"><span>14.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
127
-
128
- </div>
129
- <div class="grid4">
130
- <p class="size16"><span>16.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
131
-
132
- </div>
133
- <div class="grid5">
134
- <p class="size18"><span>18.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
135
-
136
- </div>
137
-
138
- <div class="white_blend"></div>
139
-
140
- </div>
141
-
142
- <div class="section psample psample_row3" id="">
143
- <div class="grid5 firstcol">
144
- <p class="size20"><span>20.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
145
- </div>
146
- <div class="grid7">
147
- <p class="size24"><span>24.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
148
- </div>
149
-
150
- <div class="white_blend"></div>
151
-
152
- </div>
153
-
154
- <div class="section psample psample_row4" id="">
155
- <div class="grid12 firstcol">
156
- <p class="size30"><span>30.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
157
- </div>
158
- <div class="white_blend"></div>
159
-
160
- </div>
161
-
162
-
163
-
164
- <div class="section psample psample_row1 fullreverse">
165
- <div class="grid2 firstcol">
166
- <p class="size10"><span>10.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
167
-
168
- </div>
169
- <div class="grid3">
170
- <p class="size11"><span>11.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
171
-
172
- </div>
173
- <div class="grid3">
174
- <p class="size12"><span>12.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
175
-
176
- </div>
177
- <div class="grid4">
178
- <p class="size13"><span>13.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
179
-
180
- </div>
181
- <div class="black_blend"></div>
182
-
183
- </div>
184
-
185
- <div class="section psample psample_row2 fullreverse">
186
- <div class="grid3 firstcol">
187
- <p class="size14"><span>14.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
188
-
189
- </div>
190
- <div class="grid4">
191
- <p class="size16"><span>16.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
192
-
193
- </div>
194
- <div class="grid5">
195
- <p class="size18"><span>18.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
196
-
197
- </div>
198
- <div class="black_blend"></div>
199
-
200
- </div>
201
-
202
- <div class="section psample fullreverse psample_row3" id="">
203
- <div class="grid5 firstcol">
204
- <p class="size20"><span>20.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
205
- </div>
206
- <div class="grid7">
207
- <p class="size24"><span>24.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
208
- </div>
209
-
210
- <div class="black_blend"></div>
211
-
212
- </div>
213
-
214
- <div class="section psample fullreverse psample_row4" id="" style="border-bottom: 20px #000 solid;">
215
- <div class="grid12 firstcol">
216
- <p class="size30"><span>30.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
217
- </div>
218
- <div class="black_blend"></div>
219
-
220
- </div>
221
-
222
-
223
-
224
-
225
- </div>
226
-
227
- <div id="layout">
228
-
229
- <div class="section">
230
-
231
- <div class="grid12 firstcol">
232
- <h1>Lorem Ipsum Dolor</h1>
233
- <h2>Etiam porta sem malesuada magna mollis euismod</h2>
234
-
235
- <p class="byline">By <a href="#link">Aenean Lacinia</a></p>
236
- </div>
237
- </div>
238
- <div class="section">
239
- <div class="grid8 firstcol">
240
- <p class="large">Donec sed odio dui. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. </p>
241
-
242
-
243
- <h3>Pellentesque ornare sem</h3>
244
-
245
- <p>Maecenas sed diam eget risus varius blandit sit amet non magna. Maecenas faucibus mollis interdum. Donec ullamcorper nulla non metus auctor fringilla. Nullam id dolor id nibh ultricies vehicula ut id elit. Nullam id dolor id nibh ultricies vehicula ut id elit. </p>
246
-
247
- <p>Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. </p>
248
-
249
- <p>Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Aenean lacinia bibendum nulla sed consectetur. </p>
250
-
251
- <p>Nullam quis risus eget urna mollis ornare vel eu leo. Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec ullamcorper nulla non metus auctor fringilla. </p>
252
-
253
- <h3>Cras mattis consectetur</h3>
254
-
255
- <p>Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Aenean lacinia bibendum nulla sed consectetur. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Cras mattis consectetur purus sit amet fermentum. </p>
256
-
257
- <p>Nullam id dolor id nibh ultricies vehicula ut id elit. Nullam quis risus eget urna mollis ornare vel eu leo. Cras mattis consectetur purus sit amet fermentum.</p>
258
- </div>
259
-
260
- <div class="grid4 sidebar">
261
-
262
- <div class="box reverse">
263
- <p class="last">Nullam quis risus eget urna mollis ornare vel eu leo. Donec ullamcorper nulla non metus auctor fringilla. Cras mattis consectetur purus sit amet fermentum. Sed posuere consectetur est at lobortis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. </p>
264
- </div>
265
-
266
- <p class="caption">Maecenas sed diam eget risus varius.</p>
267
-
268
- <p>Vestibulum id ligula porta felis euismod semper. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Vestibulum id ligula porta felis euismod semper. Sed posuere consectetur est at lobortis. Maecenas sed diam eget risus varius blandit sit amet non magna. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. </p>
269
-
270
-
271
-
272
- <p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Aenean lacinia bibendum nulla sed consectetur. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Aenean lacinia bibendum nulla sed consectetur. Nullam quis risus eget urna mollis ornare vel eu leo. </p>
273
-
274
- <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec ullamcorper nulla non metus auctor fringilla. Maecenas faucibus mollis interdum. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. </p>
275
-
276
- </div>
277
- </div>
278
-
279
- </div>
280
-
281
-
282
-
283
-
284
-
285
-
286
- <div id="glyphs">
287
- <div class="section">
288
- <div class="grid12 firstcol">
289
-
290
- <h1>Language Support</h1>
291
- <p>The subset of Helvetica Regular in this kit supports the following languages:<br />
292
-
293
- Albanian, Basque, Breton, Chamorro, Danish, Dutch, English, Faroese, Finnish, French, Frisian, Galician, German, Icelandic, Italian, Malagasy, Norwegian, Portuguese, Spanish, Swedish </p>
294
- <h1>Glyph Chart</h1>
295
- <p>The subset of Helvetica Regular in this kit includes all the glyphs listed below. Unicode entities are included above each glyph to help you insert individual characters into your layout.</p>
296
- <div id="glyph_chart">
297
-
298
- <div><p>&amp;#32;</p>&#32;</div>
299
- <div><p>&amp;#33;</p>&#33;</div>
300
- <div><p>&amp;#34;</p>&#34;</div>
301
- <div><p>&amp;#35;</p>&#35;</div>
302
- <div><p>&amp;#36;</p>&#36;</div>
303
- <div><p>&amp;#37;</p>&#37;</div>
304
- <div><p>&amp;#38;</p>&#38;</div>
305
- <div><p>&amp;#39;</p>&#39;</div>
306
- <div><p>&amp;#40;</p>&#40;</div>
307
- <div><p>&amp;#41;</p>&#41;</div>
308
- <div><p>&amp;#42;</p>&#42;</div>
309
- <div><p>&amp;#43;</p>&#43;</div>
310
- <div><p>&amp;#44;</p>&#44;</div>
311
- <div><p>&amp;#45;</p>&#45;</div>
312
- <div><p>&amp;#46;</p>&#46;</div>
313
- <div><p>&amp;#47;</p>&#47;</div>
314
- <div><p>&amp;#48;</p>&#48;</div>
315
- <div><p>&amp;#49;</p>&#49;</div>
316
- <div><p>&amp;#50;</p>&#50;</div>
317
- <div><p>&amp;#51;</p>&#51;</div>
318
- <div><p>&amp;#52;</p>&#52;</div>
319
- <div><p>&amp;#53;</p>&#53;</div>
320
- <div><p>&amp;#54;</p>&#54;</div>
321
- <div><p>&amp;#55;</p>&#55;</div>
322
- <div><p>&amp;#56;</p>&#56;</div>
323
- <div><p>&amp;#57;</p>&#57;</div>
324
- <div><p>&amp;#58;</p>&#58;</div>
325
- <div><p>&amp;#59;</p>&#59;</div>
326
- <div><p>&amp;#60;</p>&#60;</div>
327
- <div><p>&amp;#61;</p>&#61;</div>
328
- <div><p>&amp;#62;</p>&#62;</div>
329
- <div><p>&amp;#63;</p>&#63;</div>
330
- <div><p>&amp;#64;</p>&#64;</div>
331
- <div><p>&amp;#65;</p>&#65;</div>
332
- <div><p>&amp;#66;</p>&#66;</div>
333
- <div><p>&amp;#67;</p>&#67;</div>
334
- <div><p>&amp;#68;</p>&#68;</div>
335
- <div><p>&amp;#69;</p>&#69;</div>
336
- <div><p>&amp;#70;</p>&#70;</div>
337
- <div><p>&amp;#71;</p>&#71;</div>
338
- <div><p>&amp;#72;</p>&#72;</div>
339
- <div><p>&amp;#73;</p>&#73;</div>
340
- <div><p>&amp;#74;</p>&#74;</div>
341
- <div><p>&amp;#75;</p>&#75;</div>
342
- <div><p>&amp;#76;</p>&#76;</div>
343
- <div><p>&amp;#77;</p>&#77;</div>
344
- <div><p>&amp;#78;</p>&#78;</div>
345
- <div><p>&amp;#79;</p>&#79;</div>
346
- <div><p>&amp;#80;</p>&#80;</div>
347
- <div><p>&amp;#81;</p>&#81;</div>
348
- <div><p>&amp;#82;</p>&#82;</div>
349
- <div><p>&amp;#83;</p>&#83;</div>
350
- <div><p>&amp;#84;</p>&#84;</div>
351
- <div><p>&amp;#85;</p>&#85;</div>
352
- <div><p>&amp;#86;</p>&#86;</div>
353
- <div><p>&amp;#87;</p>&#87;</div>
354
- <div><p>&amp;#88;</p>&#88;</div>
355
- <div><p>&amp;#89;</p>&#89;</div>
356
- <div><p>&amp;#90;</p>&#90;</div>
357
- <div><p>&amp;#91;</p>&#91;</div>
358
- <div><p>&amp;#92;</p>&#92;</div>
359
- <div><p>&amp;#93;</p>&#93;</div>
360
- <div><p>&amp;#94;</p>&#94;</div>
361
- <div><p>&amp;#95;</p>&#95;</div>
362
- <div><p>&amp;#96;</p>&#96;</div>
363
- <div><p>&amp;#97;</p>&#97;</div>
364
- <div><p>&amp;#98;</p>&#98;</div>
365
- <div><p>&amp;#99;</p>&#99;</div>
366
- <div><p>&amp;#100;</p>&#100;</div>
367
- <div><p>&amp;#101;</p>&#101;</div>
368
- <div><p>&amp;#102;</p>&#102;</div>
369
- <div><p>&amp;#103;</p>&#103;</div>
370
- <div><p>&amp;#104;</p>&#104;</div>
371
- <div><p>&amp;#105;</p>&#105;</div>
372
- <div><p>&amp;#106;</p>&#106;</div>
373
- <div><p>&amp;#107;</p>&#107;</div>
374
- <div><p>&amp;#108;</p>&#108;</div>
375
- <div><p>&amp;#109;</p>&#109;</div>
376
- <div><p>&amp;#110;</p>&#110;</div>
377
- <div><p>&amp;#111;</p>&#111;</div>
378
- <div><p>&amp;#112;</p>&#112;</div>
379
- <div><p>&amp;#113;</p>&#113;</div>
380
- <div><p>&amp;#114;</p>&#114;</div>
381
- <div><p>&amp;#115;</p>&#115;</div>
382
- <div><p>&amp;#116;</p>&#116;</div>
383
- <div><p>&amp;#117;</p>&#117;</div>
384
- <div><p>&amp;#118;</p>&#118;</div>
385
- <div><p>&amp;#119;</p>&#119;</div>
386
- <div><p>&amp;#120;</p>&#120;</div>
387
- <div><p>&amp;#121;</p>&#121;</div>
388
- <div><p>&amp;#122;</p>&#122;</div>
389
- <div><p>&amp;#123;</p>&#123;</div>
390
- <div><p>&amp;#124;</p>&#124;</div>
391
- <div><p>&amp;#125;</p>&#125;</div>
392
- <div><p>&amp;#126;</p>&#126;</div>
393
- <div><p>&amp;#160;</p>&#160;</div>
394
- <div><p>&amp;#161;</p>&#161;</div>
395
- <div><p>&amp;#162;</p>&#162;</div>
396
- <div><p>&amp;#163;</p>&#163;</div>
397
- <div><p>&amp;#164;</p>&#164;</div>
398
- <div><p>&amp;#165;</p>&#165;</div>
399
- <div><p>&amp;#166;</p>&#166;</div>
400
- <div><p>&amp;#167;</p>&#167;</div>
401
- <div><p>&amp;#168;</p>&#168;</div>
402
- <div><p>&amp;#169;</p>&#169;</div>
403
- <div><p>&amp;#170;</p>&#170;</div>
404
- <div><p>&amp;#171;</p>&#171;</div>
405
- <div><p>&amp;#172;</p>&#172;</div>
406
- <div><p>&amp;#173;</p>&#173;</div>
407
- <div><p>&amp;#174;</p>&#174;</div>
408
- <div><p>&amp;#175;</p>&#175;</div>
409
- <div><p>&amp;#176;</p>&#176;</div>
410
- <div><p>&amp;#177;</p>&#177;</div>
411
- <div><p>&amp;#178;</p>&#178;</div>
412
- <div><p>&amp;#179;</p>&#179;</div>
413
- <div><p>&amp;#180;</p>&#180;</div>
414
- <div><p>&amp;#181;</p>&#181;</div>
415
- <div><p>&amp;#182;</p>&#182;</div>
416
- <div><p>&amp;#183;</p>&#183;</div>
417
- <div><p>&amp;#184;</p>&#184;</div>
418
- <div><p>&amp;#185;</p>&#185;</div>
419
- <div><p>&amp;#186;</p>&#186;</div>
420
- <div><p>&amp;#187;</p>&#187;</div>
421
- <div><p>&amp;#188;</p>&#188;</div>
422
- <div><p>&amp;#189;</p>&#189;</div>
423
- <div><p>&amp;#190;</p>&#190;</div>
424
- <div><p>&amp;#191;</p>&#191;</div>
425
- <div><p>&amp;#192;</p>&#192;</div>
426
- <div><p>&amp;#193;</p>&#193;</div>
427
- <div><p>&amp;#194;</p>&#194;</div>
428
- <div><p>&amp;#195;</p>&#195;</div>
429
- <div><p>&amp;#196;</p>&#196;</div>
430
- <div><p>&amp;#197;</p>&#197;</div>
431
- <div><p>&amp;#198;</p>&#198;</div>
432
- <div><p>&amp;#199;</p>&#199;</div>
433
- <div><p>&amp;#200;</p>&#200;</div>
434
- <div><p>&amp;#201;</p>&#201;</div>
435
- <div><p>&amp;#202;</p>&#202;</div>
436
- <div><p>&amp;#203;</p>&#203;</div>
437
- <div><p>&amp;#204;</p>&#204;</div>
438
- <div><p>&amp;#205;</p>&#205;</div>
439
- <div><p>&amp;#206;</p>&#206;</div>
440
- <div><p>&amp;#207;</p>&#207;</div>
441
- <div><p>&amp;#208;</p>&#208;</div>
442
- <div><p>&amp;#209;</p>&#209;</div>
443
- <div><p>&amp;#210;</p>&#210;</div>
444
- <div><p>&amp;#211;</p>&#211;</div>
445
- <div><p>&amp;#212;</p>&#212;</div>
446
- <div><p>&amp;#213;</p>&#213;</div>
447
- <div><p>&amp;#214;</p>&#214;</div>
448
- <div><p>&amp;#215;</p>&#215;</div>
449
- <div><p>&amp;#216;</p>&#216;</div>
450
- <div><p>&amp;#217;</p>&#217;</div>
451
- <div><p>&amp;#218;</p>&#218;</div>
452
- <div><p>&amp;#219;</p>&#219;</div>
453
- <div><p>&amp;#220;</p>&#220;</div>
454
- <div><p>&amp;#221;</p>&#221;</div>
455
- <div><p>&amp;#222;</p>&#222;</div>
456
- <div><p>&amp;#223;</p>&#223;</div>
457
- <div><p>&amp;#224;</p>&#224;</div>
458
- <div><p>&amp;#225;</p>&#225;</div>
459
- <div><p>&amp;#226;</p>&#226;</div>
460
- <div><p>&amp;#227;</p>&#227;</div>
461
- <div><p>&amp;#228;</p>&#228;</div>
462
- <div><p>&amp;#229;</p>&#229;</div>
463
- <div><p>&amp;#230;</p>&#230;</div>
464
- <div><p>&amp;#231;</p>&#231;</div>
465
- <div><p>&amp;#232;</p>&#232;</div>
466
- <div><p>&amp;#233;</p>&#233;</div>
467
- <div><p>&amp;#234;</p>&#234;</div>
468
- <div><p>&amp;#235;</p>&#235;</div>
469
- <div><p>&amp;#236;</p>&#236;</div>
470
- <div><p>&amp;#237;</p>&#237;</div>
471
- <div><p>&amp;#238;</p>&#238;</div>
472
- <div><p>&amp;#239;</p>&#239;</div>
473
- <div><p>&amp;#240;</p>&#240;</div>
474
- <div><p>&amp;#241;</p>&#241;</div>
475
- <div><p>&amp;#242;</p>&#242;</div>
476
- <div><p>&amp;#243;</p>&#243;</div>
477
- <div><p>&amp;#244;</p>&#244;</div>
478
- <div><p>&amp;#245;</p>&#245;</div>
479
- <div><p>&amp;#246;</p>&#246;</div>
480
- <div><p>&amp;#247;</p>&#247;</div>
481
- <div><p>&amp;#248;</p>&#248;</div>
482
- <div><p>&amp;#249;</p>&#249;</div>
483
- <div><p>&amp;#250;</p>&#250;</div>
484
- <div><p>&amp;#251;</p>&#251;</div>
485
- <div><p>&amp;#252;</p>&#252;</div>
486
- <div><p>&amp;#253;</p>&#253;</div>
487
- <div><p>&amp;#254;</p>&#254;</div>
488
- <div><p>&amp;#255;</p>&#255;</div>
489
- <div><p>&amp;#338;</p>&#338;</div>
490
- <div><p>&amp;#339;</p>&#339;</div>
491
- <div><p>&amp;#376;</p>&#376;</div>
492
- <div><p>&amp;#710;</p>&#710;</div>
493
- <div><p>&amp;#732;</p>&#732;</div>
494
- <div><p>&amp;#8192;</p>&#8192;</div>
495
- <div><p>&amp;#8193;</p>&#8193;</div>
496
- <div><p>&amp;#8194;</p>&#8194;</div>
497
- <div><p>&amp;#8195;</p>&#8195;</div>
498
- <div><p>&amp;#8196;</p>&#8196;</div>
499
- <div><p>&amp;#8197;</p>&#8197;</div>
500
- <div><p>&amp;#8198;</p>&#8198;</div>
501
- <div><p>&amp;#8199;</p>&#8199;</div>
502
- <div><p>&amp;#8200;</p>&#8200;</div>
503
- <div><p>&amp;#8201;</p>&#8201;</div>
504
- <div><p>&amp;#8202;</p>&#8202;</div>
505
- <div><p>&amp;#8208;</p>&#8208;</div>
506
- <div><p>&amp;#8209;</p>&#8209;</div>
507
- <div><p>&amp;#8210;</p>&#8210;</div>
508
- <div><p>&amp;#8211;</p>&#8211;</div>
509
- <div><p>&amp;#8212;</p>&#8212;</div>
510
- <div><p>&amp;#8216;</p>&#8216;</div>
511
- <div><p>&amp;#8217;</p>&#8217;</div>
512
- <div><p>&amp;#8218;</p>&#8218;</div>
513
- <div><p>&amp;#8220;</p>&#8220;</div>
514
- <div><p>&amp;#8221;</p>&#8221;</div>
515
- <div><p>&amp;#8222;</p>&#8222;</div>
516
- <div><p>&amp;#8226;</p>&#8226;</div>
517
- <div><p>&amp;#8230;</p>&#8230;</div>
518
- <div><p>&amp;#8239;</p>&#8239;</div>
519
- <div><p>&amp;#8249;</p>&#8249;</div>
520
- <div><p>&amp;#8250;</p>&#8250;</div>
521
- <div><p>&amp;#8287;</p>&#8287;</div>
522
- <div><p>&amp;#8482;</p>&#8482;</div>
523
- <div><p>&amp;#9724;</p>&#9724;</div>
524
- <div><p>&amp;#64257;</p>&#64257;</div>
525
- <div><p>&amp;#64258;</p>&#64258;</div>
526
- </div>
527
- </div>
528
-
529
-
530
- </div>
531
- </div>
532
-
533
-
534
- <div id="specs">
535
-
536
- </div>
537
-
538
- <div id="installing">
539
- <div class="section">
540
- <div class="grid7 firstcol">
541
- <h1>Installing Webfonts</h1>
542
-
543
- <p>Webfonts are supported by all major browser platforms but not all in the same way. There are currently four different font formats that must be included in order to target all browsers. This includes TTF, WOFF, EOT and SVG.</p>
544
-
545
- <h2>1. Upload your webfonts</h2>
546
- <p>You must upload your webfont kit to your website. They should be in or near the same directory as your CSS files.</p>
547
-
548
- <h2>2. Include the webfont stylesheet</h2>
549
- <p>A special CSS @font-face declaration helps the various browsers select the appropriate font it needs without causing you a bunch of headaches. Learn more about this syntax by reading the <a href="http://www.fontspring.com/blog/further-hardening-of-the-bulletproof-syntax">Fontspring blog post</a> about it. The code for it is as follows:</p>
550
-
551
-
552
- <code>
553
- @font-face{
554
- font-family: 'MyWebFont';
555
- src: url('WebFont.eot');
556
- src: url('WebFont.eot?#iefix') format('embedded-opentype'),
557
- url('WebFont.woff') format('woff'),
558
- url('WebFont.ttf') format('truetype'),
559
- url('WebFont.svg#webfont') format('svg');
560
- }
561
- </code>
562
-
563
- <p>We've already gone ahead and generated the code for you. All you have to do is link to the stylesheet in your HTML, like this:</p>
564
- <code>&lt;link rel=&quot;stylesheet&quot; href=&quot;stylesheet.css&quot; type=&quot;text/css&quot; charset=&quot;utf-8&quot; /&gt;</code>
565
-
566
- <h2>3. Modify your own stylesheet</h2>
567
- <p>To take advantage of your new fonts, you must tell your stylesheet to use them. Look at the original @font-face declaration above and find the property called "font-family." The name linked there will be what you use to reference the font. Prepend that webfont name to the font stack in the "font-family" property, inside the selector you want to change. For example:</p>
568
- <code>p { font-family: 'WebFont', Arial, sans-serif; }</code>
569
-
570
- <h2>4. Test</h2>
571
- <p>Getting webfonts to work cross-browser <em>can</em> be tricky. Use the information in the sidebar to help you if you find that fonts aren't loading in a particular browser.</p>
572
- </div>
573
-
574
- <div class="grid5 sidebar">
575
- <div class="box">
576
- <h2>Troubleshooting<br />Font-Face Problems</h2>
577
- <p>Having trouble getting your webfonts to load in your new website? Here are some tips to sort out what might be the problem.</p>
578
-
579
- <h3>Fonts not showing in any browser</h3>
580
-
581
- <p>This sounds like you need to work on the plumbing. You either did not upload the fonts to the correct directory, or you did not link the fonts properly in the CSS. If you've confirmed that all this is correct and you still have a problem, take a look at your .htaccess file and see if requests are getting intercepted.</p>
582
-
583
- <h3>Fonts not loading in iPhone or iPad</h3>
584
-
585
- <p>The most common problem here is that you are serving the fonts from an IIS server. IIS refuses to serve files that have unknown MIME types. If that is the case, you must set the MIME type for SVG to "image/svg+xml" in the server settings. Follow these instructions from Microsoft if you need help.</p>
586
-
587
- <h3>Fonts not loading in Firefox</h3>
588
-
589
- <p>The primary reason for this failure? You are still using a version Firefox older than 3.5. So upgrade already! If that isn't it, then you are very likely serving fonts from a different domain. Firefox requires that all font assets be served from the same domain. Lastly it is possible that you need to add WOFF to your list of MIME types (if you are serving via IIS.)</p>
590
-
591
- <h3>Fonts not loading in IE</h3>
592
-
593
- <p>Are you looking at Internet Explorer on an actual Windows machine or are you cheating by using a service like Adobe BrowserLab? Many of these screenshot services do not render @font-face for IE. Best to test it on a real machine.</p>
594
-
595
- <h3>Fonts not loading in IE9</h3>
596
-
597
- <p>IE9, like Firefox, requires that fonts be served from the same domain as the website. Make sure that is the case.</p>
598
- </div>
599
- </div>
600
- </div>
601
-
602
- </div>
603
-
604
- </div>
605
- <div id="footer">
606
- <p>&copy;2010-2011 Font Squirrel. All rights reserved.</p>
607
- </div>
608
- </div>
609
- </body>
610
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
css/fonts/helvetica_bold_0-demo.html DELETED
@@ -1,593 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
-
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript" charset="utf-8"></script>
8
- <script src="specimen_files/easytabs.js" type="text/javascript" charset="utf-8"></script>
9
- <link rel="stylesheet" href="specimen_files/specimen_stylesheet.css" type="text/css" charset="utf-8" />
10
- <link rel="stylesheet" href="stylesheet.css" type="text/css" charset="utf-8" />
11
-
12
- <style type="text/css">
13
- body{
14
- font-family: 'helveticabold';
15
- }
16
- </style>
17
-
18
- <title>Helvetica Bold Specimen</title>
19
-
20
-
21
- <script type="text/javascript" charset="utf-8">
22
- $(document).ready(function() {
23
- $('#container').easyTabs({defaultContent:1});
24
- });
25
- </script>
26
- </head>
27
-
28
- <body>
29
- <div id="container">
30
- <div id="header">
31
- Helvetica Bold </div>
32
- <ul class="tabs">
33
- <li><a href="#specimen">Specimen</a></li>
34
- <li><a href="#layout">Sample Layout</a></li>
35
- <li><a href="#glyphs">Glyphs &amp; Languages</a></li>
36
- <li><a href="#installing">Installing Webfonts</a></li>
37
-
38
- </ul>
39
-
40
- <div id="main_content">
41
-
42
-
43
- <div id="specimen">
44
-
45
- <div class="section">
46
- <div class="grid12 firstcol">
47
- <div class="huge">AaBb</div>
48
- </div>
49
- </div>
50
-
51
- <div class="section">
52
- <div class="glyph_range">A&#x200B;B&#x200b;C&#x200b;D&#x200b;E&#x200b;F&#x200b;G&#x200b;H&#x200b;I&#x200b;J&#x200b;K&#x200b;L&#x200b;M&#x200b;N&#x200b;O&#x200b;P&#x200b;Q&#x200b;R&#x200b;S&#x200b;T&#x200b;U&#x200b;V&#x200b;W&#x200b;X&#x200b;Y&#x200b;Z&#x200b;a&#x200b;b&#x200b;c&#x200b;d&#x200b;e&#x200b;f&#x200b;g&#x200b;h&#x200b;i&#x200b;j&#x200b;k&#x200b;l&#x200b;m&#x200b;n&#x200b;o&#x200b;p&#x200b;q&#x200b;r&#x200b;s&#x200b;t&#x200b;u&#x200b;v&#x200b;w&#x200b;x&#x200b;y&#x200b;z&#x200b;1&#x200b;2&#x200b;3&#x200b;4&#x200b;5&#x200b;6&#x200b;7&#x200b;8&#x200b;9&#x200b;0&#x200b;&amp;&#x200b;.&#x200b;,&#x200b;?&#x200b;!&#x200b;&#64;&#x200b;(&#x200b;)&#x200b;#&#x200b;$&#x200b;%&#x200b;*&#x200b;+&#x200b;-&#x200b;=&#x200b;:&#x200b;;</div>
53
- </div>
54
- <div class="section">
55
- <div class="grid12 firstcol">
56
- <table class="sample_table">
57
- <tr><td>10</td><td class="size10">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
58
- <tr><td>11</td><td class="size11">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
59
- <tr><td>12</td><td class="size12">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
60
- <tr><td>13</td><td class="size13">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
61
- <tr><td>14</td><td class="size14">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
62
- <tr><td>16</td><td class="size16">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
63
- <tr><td>18</td><td class="size18">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
64
- <tr><td>20</td><td class="size20">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
65
- <tr><td>24</td><td class="size24">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
66
- <tr><td>30</td><td class="size30">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
67
- <tr><td>36</td><td class="size36">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
68
- <tr><td>48</td><td class="size48">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
69
- <tr><td>60</td><td class="size60">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
70
- <tr><td>72</td><td class="size72">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
71
- <tr><td>90</td><td class="size90">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
72
- </table>
73
-
74
- </div>
75
-
76
- </div>
77
-
78
-
79
-
80
- <div class="section" id="bodycomparison">
81
-
82
-
83
- <div id="xheight">
84
- <div class="fontbody">&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;&#x25FC;body</div><div class="arialbody">body</div><div class="verdanabody">body</div><div class="georgiabody">body</div></div>
85
- <div class="fontbody" style="z-index:1">
86
- body<span>Helvetica Bold</span>
87
- </div>
88
- <div class="arialbody" style="z-index:1">
89
- body<span>Arial</span>
90
- </div>
91
- <div class="verdanabody" style="z-index:1">
92
- body<span>Verdana</span>
93
- </div>
94
- <div class="georgiabody" style="z-index:1">
95
- body<span>Georgia</span>
96
- </div>
97
-
98
-
99
-
100
- </div>
101
-
102
-
103
- <div class="section psample psample_row1" id="">
104
-
105
- <div class="grid2 firstcol">
106
- <p class="size10"><span>10.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
107
-
108
- </div>
109
- <div class="grid3">
110
- <p class="size11"><span>11.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
111
-
112
- </div>
113
- <div class="grid3">
114
- <p class="size12"><span>12.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
115
-
116
- </div>
117
- <div class="grid4">
118
- <p class="size13"><span>13.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
119
-
120
- </div>
121
- <div class="white_blend"></div>
122
-
123
- </div>
124
- <div class="section psample psample_row2" id="">
125
- <div class="grid3 firstcol">
126
- <p class="size14"><span>14.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
127
-
128
- </div>
129
- <div class="grid4">
130
- <p class="size16"><span>16.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
131
-
132
- </div>
133
- <div class="grid5">
134
- <p class="size18"><span>18.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
135
-
136
- </div>
137
-
138
- <div class="white_blend"></div>
139
-
140
- </div>
141
-
142
- <div class="section psample psample_row3" id="">
143
- <div class="grid5 firstcol">
144
- <p class="size20"><span>20.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
145
- </div>
146
- <div class="grid7">
147
- <p class="size24"><span>24.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
148
- </div>
149
-
150
- <div class="white_blend"></div>
151
-
152
- </div>
153
-
154
- <div class="section psample psample_row4" id="">
155
- <div class="grid12 firstcol">
156
- <p class="size30"><span>30.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
157
- </div>
158
- <div class="white_blend"></div>
159
-
160
- </div>
161
-
162
-
163
-
164
- <div class="section psample psample_row1 fullreverse">
165
- <div class="grid2 firstcol">
166
- <p class="size10"><span>10.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
167
-
168
- </div>
169
- <div class="grid3">
170
- <p class="size11"><span>11.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
171
-
172
- </div>
173
- <div class="grid3">
174
- <p class="size12"><span>12.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
175
-
176
- </div>
177
- <div class="grid4">
178
- <p class="size13"><span>13.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
179
-
180
- </div>
181
- <div class="black_blend"></div>
182
-
183
- </div>
184
-
185
- <div class="section psample psample_row2 fullreverse">
186
- <div class="grid3 firstcol">
187
- <p class="size14"><span>14.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
188
-
189
- </div>
190
- <div class="grid4">
191
- <p class="size16"><span>16.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
192
-
193
- </div>
194
- <div class="grid5">
195
- <p class="size18"><span>18.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
196
-
197
- </div>
198
- <div class="black_blend"></div>
199
-
200
- </div>
201
-
202
- <div class="section psample fullreverse psample_row3" id="">
203
- <div class="grid5 firstcol">
204
- <p class="size20"><span>20.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
205
- </div>
206
- <div class="grid7">
207
- <p class="size24"><span>24.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
208
- </div>
209
-
210
- <div class="black_blend"></div>
211
-
212
- </div>
213
-
214
- <div class="section psample fullreverse psample_row4" id="" style="border-bottom: 20px #000 solid;">
215
- <div class="grid12 firstcol">
216
- <p class="size30"><span>30.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
217
- </div>
218
- <div class="black_blend"></div>
219
-
220
- </div>
221
-
222
-
223
-
224
-
225
- </div>
226
-
227
- <div id="layout">
228
-
229
- <div class="section">
230
-
231
- <div class="grid12 firstcol">
232
- <h1>Lorem Ipsum Dolor</h1>
233
- <h2>Etiam porta sem malesuada magna mollis euismod</h2>
234
-
235
- <p class="byline">By <a href="#link">Aenean Lacinia</a></p>
236
- </div>
237
- </div>
238
- <div class="section">
239
- <div class="grid8 firstcol">
240
- <p class="large">Donec sed odio dui. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. </p>
241
-
242
-
243
- <h3>Pellentesque ornare sem</h3>
244
-
245
- <p>Maecenas sed diam eget risus varius blandit sit amet non magna. Maecenas faucibus mollis interdum. Donec ullamcorper nulla non metus auctor fringilla. Nullam id dolor id nibh ultricies vehicula ut id elit. Nullam id dolor id nibh ultricies vehicula ut id elit. </p>
246
-
247
- <p>Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. </p>
248
-
249
- <p>Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Aenean lacinia bibendum nulla sed consectetur. </p>
250
-
251
- <p>Nullam quis risus eget urna mollis ornare vel eu leo. Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec ullamcorper nulla non metus auctor fringilla. </p>
252
-
253
- <h3>Cras mattis consectetur</h3>
254
-
255
- <p>Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Aenean lacinia bibendum nulla sed consectetur. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Cras mattis consectetur purus sit amet fermentum. </p>
256
-
257
- <p>Nullam id dolor id nibh ultricies vehicula ut id elit. Nullam quis risus eget urna mollis ornare vel eu leo. Cras mattis consectetur purus sit amet fermentum.</p>
258
- </div>
259
-
260
- <div class="grid4 sidebar">
261
-
262
- <div class="box reverse">
263
- <p class="last">Nullam quis risus eget urna mollis ornare vel eu leo. Donec ullamcorper nulla non metus auctor fringilla. Cras mattis consectetur purus sit amet fermentum. Sed posuere consectetur est at lobortis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. </p>
264
- </div>
265
-
266
- <p class="caption">Maecenas sed diam eget risus varius.</p>
267
-
268
- <p>Vestibulum id ligula porta felis euismod semper. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Vestibulum id ligula porta felis euismod semper. Sed posuere consectetur est at lobortis. Maecenas sed diam eget risus varius blandit sit amet non magna. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. </p>
269
-
270
-
271
-
272
- <p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Aenean lacinia bibendum nulla sed consectetur. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Aenean lacinia bibendum nulla sed consectetur. Nullam quis risus eget urna mollis ornare vel eu leo. </p>
273
-
274
- <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec ullamcorper nulla non metus auctor fringilla. Maecenas faucibus mollis interdum. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. </p>
275
-
276
- </div>
277
- </div>
278
-
279
- </div>
280
-
281
-
282
-
283
-
284
-
285
-
286
- <div id="glyphs">
287
- <div class="section">
288
- <div class="grid12 firstcol">
289
-
290
- <h1>Language Support</h1>
291
- <p>The subset of Helvetica Bold in this kit supports the following languages:<br />
292
-
293
- Albanian, Basque, Breton, Chamorro, English, Finnish, French, Frisian, Galician, German, Italian, Malagasy, Norwegian, Portuguese, Spanish, Swedish </p>
294
- <h1>Glyph Chart</h1>
295
- <p>The subset of Helvetica Bold in this kit includes all the glyphs listed below. Unicode entities are included above each glyph to help you insert individual characters into your layout.</p>
296
- <div id="glyph_chart">
297
-
298
- <div><p>&amp;#32;</p>&#32;</div>
299
- <div><p>&amp;#33;</p>&#33;</div>
300
- <div><p>&amp;#34;</p>&#34;</div>
301
- <div><p>&amp;#35;</p>&#35;</div>
302
- <div><p>&amp;#36;</p>&#36;</div>
303
- <div><p>&amp;#37;</p>&#37;</div>
304
- <div><p>&amp;#38;</p>&#38;</div>
305
- <div><p>&amp;#39;</p>&#39;</div>
306
- <div><p>&amp;#40;</p>&#40;</div>
307
- <div><p>&amp;#41;</p>&#41;</div>
308
- <div><p>&amp;#42;</p>&#42;</div>
309
- <div><p>&amp;#43;</p>&#43;</div>
310
- <div><p>&amp;#44;</p>&#44;</div>
311
- <div><p>&amp;#45;</p>&#45;</div>
312
- <div><p>&amp;#46;</p>&#46;</div>
313
- <div><p>&amp;#47;</p>&#47;</div>
314
- <div><p>&amp;#48;</p>&#48;</div>
315
- <div><p>&amp;#49;</p>&#49;</div>
316
- <div><p>&amp;#50;</p>&#50;</div>
317
- <div><p>&amp;#51;</p>&#51;</div>
318
- <div><p>&amp;#52;</p>&#52;</div>
319
- <div><p>&amp;#53;</p>&#53;</div>
320
- <div><p>&amp;#54;</p>&#54;</div>
321
- <div><p>&amp;#55;</p>&#55;</div>
322
- <div><p>&amp;#56;</p>&#56;</div>
323
- <div><p>&amp;#57;</p>&#57;</div>
324
- <div><p>&amp;#58;</p>&#58;</div>
325
- <div><p>&amp;#59;</p>&#59;</div>
326
- <div><p>&amp;#60;</p>&#60;</div>
327
- <div><p>&amp;#61;</p>&#61;</div>
328
- <div><p>&amp;#62;</p>&#62;</div>
329
- <div><p>&amp;#63;</p>&#63;</div>
330
- <div><p>&amp;#64;</p>&#64;</div>
331
- <div><p>&amp;#65;</p>&#65;</div>
332
- <div><p>&amp;#66;</p>&#66;</div>
333
- <div><p>&amp;#67;</p>&#67;</div>
334
- <div><p>&amp;#68;</p>&#68;</div>
335
- <div><p>&amp;#69;</p>&#69;</div>
336
- <div><p>&amp;#70;</p>&#70;</div>
337
- <div><p>&amp;#71;</p>&#71;</div>
338
- <div><p>&amp;#72;</p>&#72;</div>
339
- <div><p>&amp;#73;</p>&#73;</div>
340
- <div><p>&amp;#74;</p>&#74;</div>
341
- <div><p>&amp;#75;</p>&#75;</div>
342
- <div><p>&amp;#76;</p>&#76;</div>
343
- <div><p>&amp;#77;</p>&#77;</div>
344
- <div><p>&amp;#78;</p>&#78;</div>
345
- <div><p>&amp;#79;</p>&#79;</div>
346
- <div><p>&amp;#80;</p>&#80;</div>
347
- <div><p>&amp;#81;</p>&#81;</div>
348
- <div><p>&amp;#82;</p>&#82;</div>
349
- <div><p>&amp;#83;</p>&#83;</div>
350
- <div><p>&amp;#84;</p>&#84;</div>
351
- <div><p>&amp;#85;</p>&#85;</div>
352
- <div><p>&amp;#86;</p>&#86;</div>
353
- <div><p>&amp;#87;</p>&#87;</div>
354
- <div><p>&amp;#88;</p>&#88;</div>
355
- <div><p>&amp;#89;</p>&#89;</div>
356
- <div><p>&amp;#90;</p>&#90;</div>
357
- <div><p>&amp;#91;</p>&#91;</div>
358
- <div><p>&amp;#92;</p>&#92;</div>
359
- <div><p>&amp;#93;</p>&#93;</div>
360
- <div><p>&amp;#94;</p>&#94;</div>
361
- <div><p>&amp;#95;</p>&#95;</div>
362
- <div><p>&amp;#96;</p>&#96;</div>
363
- <div><p>&amp;#97;</p>&#97;</div>
364
- <div><p>&amp;#98;</p>&#98;</div>
365
- <div><p>&amp;#99;</p>&#99;</div>
366
- <div><p>&amp;#100;</p>&#100;</div>
367
- <div><p>&amp;#101;</p>&#101;</div>
368
- <div><p>&amp;#102;</p>&#102;</div>
369
- <div><p>&amp;#103;</p>&#103;</div>
370
- <div><p>&amp;#104;</p>&#104;</div>
371
- <div><p>&amp;#105;</p>&#105;</div>
372
- <div><p>&amp;#106;</p>&#106;</div>
373
- <div><p>&amp;#107;</p>&#107;</div>
374
- <div><p>&amp;#108;</p>&#108;</div>
375
- <div><p>&amp;#109;</p>&#109;</div>
376
- <div><p>&amp;#110;</p>&#110;</div>
377
- <div><p>&amp;#111;</p>&#111;</div>
378
- <div><p>&amp;#112;</p>&#112;</div>
379
- <div><p>&amp;#113;</p>&#113;</div>
380
- <div><p>&amp;#114;</p>&#114;</div>
381
- <div><p>&amp;#115;</p>&#115;</div>
382
- <div><p>&amp;#116;</p>&#116;</div>
383
- <div><p>&amp;#117;</p>&#117;</div>
384
- <div><p>&amp;#118;</p>&#118;</div>
385
- <div><p>&amp;#119;</p>&#119;</div>
386
- <div><p>&amp;#120;</p>&#120;</div>
387
- <div><p>&amp;#121;</p>&#121;</div>
388
- <div><p>&amp;#122;</p>&#122;</div>
389
- <div><p>&amp;#123;</p>&#123;</div>
390
- <div><p>&amp;#124;</p>&#124;</div>
391
- <div><p>&amp;#125;</p>&#125;</div>
392
- <div><p>&amp;#126;</p>&#126;</div>
393
- <div><p>&amp;#160;</p>&#160;</div>
394
- <div><p>&amp;#161;</p>&#161;</div>
395
- <div><p>&amp;#162;</p>&#162;</div>
396
- <div><p>&amp;#163;</p>&#163;</div>
397
- <div><p>&amp;#164;</p>&#164;</div>
398
- <div><p>&amp;#165;</p>&#165;</div>
399
- <div><p>&amp;#167;</p>&#167;</div>
400
- <div><p>&amp;#168;</p>&#168;</div>
401
- <div><p>&amp;#169;</p>&#169;</div>
402
- <div><p>&amp;#170;</p>&#170;</div>
403
- <div><p>&amp;#171;</p>&#171;</div>
404
- <div><p>&amp;#172;</p>&#172;</div>
405
- <div><p>&amp;#173;</p>&#173;</div>
406
- <div><p>&amp;#174;</p>&#174;</div>
407
- <div><p>&amp;#176;</p>&#176;</div>
408
- <div><p>&amp;#177;</p>&#177;</div>
409
- <div><p>&amp;#180;</p>&#180;</div>
410
- <div><p>&amp;#181;</p>&#181;</div>
411
- <div><p>&amp;#182;</p>&#182;</div>
412
- <div><p>&amp;#183;</p>&#183;</div>
413
- <div><p>&amp;#184;</p>&#184;</div>
414
- <div><p>&amp;#186;</p>&#186;</div>
415
- <div><p>&amp;#187;</p>&#187;</div>
416
- <div><p>&amp;#191;</p>&#191;</div>
417
- <div><p>&amp;#192;</p>&#192;</div>
418
- <div><p>&amp;#193;</p>&#193;</div>
419
- <div><p>&amp;#194;</p>&#194;</div>
420
- <div><p>&amp;#195;</p>&#195;</div>
421
- <div><p>&amp;#196;</p>&#196;</div>
422
- <div><p>&amp;#197;</p>&#197;</div>
423
- <div><p>&amp;#198;</p>&#198;</div>
424
- <div><p>&amp;#199;</p>&#199;</div>
425
- <div><p>&amp;#200;</p>&#200;</div>
426
- <div><p>&amp;#201;</p>&#201;</div>
427
- <div><p>&amp;#202;</p>&#202;</div>
428
- <div><p>&amp;#203;</p>&#203;</div>
429
- <div><p>&amp;#204;</p>&#204;</div>
430
- <div><p>&amp;#205;</p>&#205;</div>
431
- <div><p>&amp;#206;</p>&#206;</div>
432
- <div><p>&amp;#207;</p>&#207;</div>
433
- <div><p>&amp;#209;</p>&#209;</div>
434
- <div><p>&amp;#210;</p>&#210;</div>
435
- <div><p>&amp;#211;</p>&#211;</div>
436
- <div><p>&amp;#212;</p>&#212;</div>
437
- <div><p>&amp;#213;</p>&#213;</div>
438
- <div><p>&amp;#214;</p>&#214;</div>
439
- <div><p>&amp;#216;</p>&#216;</div>
440
- <div><p>&amp;#217;</p>&#217;</div>
441
- <div><p>&amp;#218;</p>&#218;</div>
442
- <div><p>&amp;#219;</p>&#219;</div>
443
- <div><p>&amp;#220;</p>&#220;</div>
444
- <div><p>&amp;#223;</p>&#223;</div>
445
- <div><p>&amp;#224;</p>&#224;</div>
446
- <div><p>&amp;#225;</p>&#225;</div>
447
- <div><p>&amp;#226;</p>&#226;</div>
448
- <div><p>&amp;#227;</p>&#227;</div>
449
- <div><p>&amp;#228;</p>&#228;</div>
450
- <div><p>&amp;#229;</p>&#229;</div>
451
- <div><p>&amp;#230;</p>&#230;</div>
452
- <div><p>&amp;#231;</p>&#231;</div>
453
- <div><p>&amp;#232;</p>&#232;</div>
454
- <div><p>&amp;#233;</p>&#233;</div>
455
- <div><p>&amp;#234;</p>&#234;</div>
456
- <div><p>&amp;#235;</p>&#235;</div>
457
- <div><p>&amp;#236;</p>&#236;</div>
458
- <div><p>&amp;#237;</p>&#237;</div>
459
- <div><p>&amp;#238;</p>&#238;</div>
460
- <div><p>&amp;#239;</p>&#239;</div>
461
- <div><p>&amp;#241;</p>&#241;</div>
462
- <div><p>&amp;#242;</p>&#242;</div>
463
- <div><p>&amp;#243;</p>&#243;</div>
464
- <div><p>&amp;#244;</p>&#244;</div>
465
- <div><p>&amp;#245;</p>&#245;</div>
466
- <div><p>&amp;#246;</p>&#246;</div>
467
- <div><p>&amp;#247;</p>&#247;</div>
468
- <div><p>&amp;#248;</p>&#248;</div>
469
- <div><p>&amp;#249;</p>&#249;</div>
470
- <div><p>&amp;#250;</p>&#250;</div>
471
- <div><p>&amp;#251;</p>&#251;</div>
472
- <div><p>&amp;#252;</p>&#252;</div>
473
- <div><p>&amp;#255;</p>&#255;</div>
474
- <div><p>&amp;#338;</p>&#338;</div>
475
- <div><p>&amp;#339;</p>&#339;</div>
476
- <div><p>&amp;#376;</p>&#376;</div>
477
- <div><p>&amp;#710;</p>&#710;</div>
478
- <div><p>&amp;#732;</p>&#732;</div>
479
- <div><p>&amp;#8192;</p>&#8192;</div>
480
- <div><p>&amp;#8193;</p>&#8193;</div>
481
- <div><p>&amp;#8194;</p>&#8194;</div>
482
- <div><p>&amp;#8195;</p>&#8195;</div>
483
- <div><p>&amp;#8196;</p>&#8196;</div>
484
- <div><p>&amp;#8197;</p>&#8197;</div>
485
- <div><p>&amp;#8198;</p>&#8198;</div>
486
- <div><p>&amp;#8199;</p>&#8199;</div>
487
- <div><p>&amp;#8200;</p>&#8200;</div>
488
- <div><p>&amp;#8201;</p>&#8201;</div>
489
- <div><p>&amp;#8202;</p>&#8202;</div>
490
- <div><p>&amp;#8208;</p>&#8208;</div>
491
- <div><p>&amp;#8209;</p>&#8209;</div>
492
- <div><p>&amp;#8210;</p>&#8210;</div>
493
- <div><p>&amp;#8211;</p>&#8211;</div>
494
- <div><p>&amp;#8212;</p>&#8212;</div>
495
- <div><p>&amp;#8216;</p>&#8216;</div>
496
- <div><p>&amp;#8217;</p>&#8217;</div>
497
- <div><p>&amp;#8218;</p>&#8218;</div>
498
- <div><p>&amp;#8220;</p>&#8220;</div>
499
- <div><p>&amp;#8221;</p>&#8221;</div>
500
- <div><p>&amp;#8222;</p>&#8222;</div>
501
- <div><p>&amp;#8226;</p>&#8226;</div>
502
- <div><p>&amp;#8230;</p>&#8230;</div>
503
- <div><p>&amp;#8239;</p>&#8239;</div>
504
- <div><p>&amp;#8249;</p>&#8249;</div>
505
- <div><p>&amp;#8250;</p>&#8250;</div>
506
- <div><p>&amp;#8287;</p>&#8287;</div>
507
- <div><p>&amp;#8482;</p>&#8482;</div>
508
- <div><p>&amp;#9724;</p>&#9724;</div>
509
- </div>
510
- </div>
511
-
512
-
513
- </div>
514
- </div>
515
-
516
-
517
- <div id="specs">
518
-
519
- </div>
520
-
521
- <div id="installing">
522
- <div class="section">
523
- <div class="grid7 firstcol">
524
- <h1>Installing Webfonts</h1>
525
-
526
- <p>Webfonts are supported by all major browser platforms but not all in the same way. There are currently four different font formats that must be included in order to target all browsers. This includes TTF, WOFF, EOT and SVG.</p>
527
-
528
- <h2>1. Upload your webfonts</h2>
529
- <p>You must upload your webfont kit to your website. They should be in or near the same directory as your CSS files.</p>
530
-
531
- <h2>2. Include the webfont stylesheet</h2>
532
- <p>A special CSS @font-face declaration helps the various browsers select the appropriate font it needs without causing you a bunch of headaches. Learn more about this syntax by reading the <a href="http://www.fontspring.com/blog/further-hardening-of-the-bulletproof-syntax">Fontspring blog post</a> about it. The code for it is as follows:</p>
533
-
534
-
535
- <code>
536
- @font-face{
537
- font-family: 'MyWebFont';
538
- src: url('WebFont.eot');
539
- src: url('WebFont.eot?#iefix') format('embedded-opentype'),
540
- url('WebFont.woff') format('woff'),
541
- url('WebFont.ttf') format('truetype'),
542
- url('WebFont.svg#webfont') format('svg');
543
- }
544
- </code>
545
-
546
- <p>We've already gone ahead and generated the code for you. All you have to do is link to the stylesheet in your HTML, like this:</p>
547
- <code>&lt;link rel=&quot;stylesheet&quot; href=&quot;stylesheet.css&quot; type=&quot;text/css&quot; charset=&quot;utf-8&quot; /&gt;</code>
548
-
549
- <h2>3. Modify your own stylesheet</h2>
550
- <p>To take advantage of your new fonts, you must tell your stylesheet to use them. Look at the original @font-face declaration above and find the property called "font-family." The name linked there will be what you use to reference the font. Prepend that webfont name to the font stack in the "font-family" property, inside the selector you want to change. For example:</p>
551
- <code>p { font-family: 'WebFont', Arial, sans-serif; }</code>
552
-
553
- <h2>4. Test</h2>
554
- <p>Getting webfonts to work cross-browser <em>can</em> be tricky. Use the information in the sidebar to help you if you find that fonts aren't loading in a particular browser.</p>
555
- </div>
556
-
557
- <div class="grid5 sidebar">
558
- <div class="box">
559
- <h2>Troubleshooting<br />Font-Face Problems</h2>
560
- <p>Having trouble getting your webfonts to load in your new website? Here are some tips to sort out what might be the problem.</p>
561
-
562
- <h3>Fonts not showing in any browser</h3>
563
-
564
- <p>This sounds like you need to work on the plumbing. You either did not upload the fonts to the correct directory, or you did not link the fonts properly in the CSS. If you've confirmed that all this is correct and you still have a problem, take a look at your .htaccess file and see if requests are getting intercepted.</p>
565
-
566
- <h3>Fonts not loading in iPhone or iPad</h3>
567
-
568
- <p>The most common problem here is that you are serving the fonts from an IIS server. IIS refuses to serve files that have unknown MIME types. If that is the case, you must set the MIME type for SVG to "image/svg+xml" in the server settings. Follow these instructions from Microsoft if you need help.</p>
569
-
570
- <h3>Fonts not loading in Firefox</h3>
571
-
572
- <p>The primary reason for this failure? You are still using a version Firefox older than 3.5. So upgrade already! If that isn't it, then you are very likely serving fonts from a different domain. Firefox requires that all font assets be served from the same domain. Lastly it is possible that you need to add WOFF to your list of MIME types (if you are serving via IIS.)</p>
573
-
574
- <h3>Fonts not loading in IE</h3>
575
-
576
- <p>Are you looking at Internet Explorer on an actual Windows machine or are you cheating by using a service like Adobe BrowserLab? Many of these screenshot services do not render @font-face for IE. Best to test it on a real machine.</p>
577
-
578
- <h3>Fonts not loading in IE9</h3>
579
-
580
- <p>IE9, like Firefox, requires that fonts be served from the same domain as the website. Make sure that is the case.</p>
581
- </div>
582
- </div>
583
- </div>
584
-
585
- </div>
586
-
587
- </div>
588
- <div id="footer">
589
- <p>&copy;2010-2011 Font Squirrel. All rights reserved.</p>
590
- </div>
591
- </div>
592
- </body>
593
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/custom-admin.js CHANGED
@@ -21,7 +21,8 @@ function sfsi_delete_CusIcon(s, i) {
21
  beForeLoad();
22
  var e = {
23
  action:"deleteIcons",
24
- icon_name:i.attr("name")
 
25
  };
26
  SFSI.ajax({
27
  url:sfsi_icon_ajax_object.ajax_url,
@@ -137,12 +138,13 @@ function CustomIConSectionsUpdate() {
137
  }
138
 
139
  // Upload Custom Skin {Monad}
140
- function sfsi_customskin_upload(s, ref)
141
  {
142
  var ttl = jQuery(ref).attr("title");
143
  var i = s, e = {
144
  action:"UploadSkins",
145
- custom_imgurl:i
 
146
  };
147
 
148
  SFSI.ajax({
@@ -195,9 +197,9 @@ function deleteskin_icon(s)
195
  }
196
 
197
  // Save Custom Skin {Monad}
198
- function SFSI_done()
199
  {
200
- e = { action:"Iamdone" };
201
 
202
  SFSI.ajax({
203
  url:sfsi_icon_ajax_object.ajax_url,
@@ -213,10 +215,11 @@ function SFSI_done()
213
  }
214
 
215
  // Upload Custom Icons {Monad}
216
- function sfsi_newcustomicon_upload(s) {
217
  var i = s, e = {
218
  action:"UploadIcons",
219
- custom_imgurl:i
 
220
  };
221
  SFSI.ajax({
222
  url:sfsi_icon_ajax_object.ajax_url,
@@ -227,7 +230,7 @@ function sfsi_newcustomicon_upload(s) {
227
  success:function(s) {
228
  if(s.res == 'success')
229
  {
230
- afterIconSuccess(s);
231
  }
232
  else
233
  {
@@ -1354,7 +1357,7 @@ function sfsi_validator(element,valType)
1354
  }
1355
  }
1356
 
1357
- function afterIconSuccess(s)
1358
  {
1359
  if (s.res = "success")
1360
  {
@@ -1378,6 +1381,7 @@ function afterIconSuccess(s)
1378
  SFSI('<div class="row sfsiICON_' + s.key + ' cm_lnk"> <h2 class="custom"> <span class="customstep2-img"> <img src="' + s.img_path + "?" + d.getTime() + '" style="border-radius:48%" /> </span> <span class="sfsiCtxt">Custom ' + e + '</span> </h2> <div class="inr_cont "><p>Where do you want this icon to link to?</p> <p class="radio_section fb_url custom_section sfsiICON_' + s.key + '" ><label>Link :</label><input file-id="' + s.key + '" name="sfsi_CustomIcon_links[]" type="text" value="" placeholder="http://" class="add" /></p></div></div>').insertBefore('.notice_custom_icons_premium');
1379
  //SFSI(".custom-links").append(' <div class="row sfsiICON_' + s.key + ' cm_lnk"> <h2 class="custom"> <span class="customstep2-img"> <img src="' + s.img_path + "?" + d.getTime() + '" style="border-radius:48%" /> </span> <span class="sfsiCtxt">Custom ' + e + '</span> </h2> <div class="inr_cont "><p>Where do you want this icon to link to?</p> <p class="radio_section fb_url custom_section sfsiICON_' + s.key + '" ><label>Link :</label><input file-id="' + s.key + '" name="sfsi_CustomIcon_links[]" type="text" value="" placeholder="http://" class="add" /></p></div></div>');
1380
  SFSI(".notice_custom_icons_premium").show();
 
1381
  var o = SFSI("div.custom_m").find("div.mouseover_field").length;
1382
  SFSI("div.custom_m").append(0 == o % 2 ? '<div class="clear"> </div> <div class="mouseover_field custom_section sfsiICON_' + s.key + '"><label>Custom ' + e + ':</label><input name="sfsi_custom_MouseOverTexts[]" value="" type="text" file-id="' + s.key + '" /></div>' :'<div class="cHover " ><div class="mouseover_field custom_section sfsiICON_' + s.key + '"><label>Custom ' + e + ':</label><input name="sfsi_custom_MouseOverTexts[]" value="" type="text" file-id="' + s.key + '" /></div>'),
1383
  SFSI("ul.share_icon_order").append('<li class="custom_iconOrder sfsiICON_' + s.key + '" data-index="" element-id="' + s.key + '" id=""><a href="#" title="Custom Icon" ><img src="' + s.img_path + '" alt="Linked In" class="sfcm"/></a></li>'),
@@ -2486,6 +2490,7 @@ SFSI(document).ready(function(){
2486
  var message= SFSI(this).find('textarea[name="question"]').val();
2487
  var email=SFSI(this).find('input[name="email"]').val();
2488
  var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
 
2489
 
2490
  if(""===email || false===re.test(String(email).toLowerCase())){
2491
  // console.log(SFSI(this).find('input[name="email"]'));
@@ -2508,6 +2513,7 @@ SFSI(document).ready(function(){
2508
  action: "sfsiOfflineChatMessage",
2509
  message: message,
2510
  email: email,
 
2511
  }
2512
  }).done(function(){
2513
  target.find('.before_message_sent').hide();
21
  beForeLoad();
22
  var e = {
23
  action:"deleteIcons",
24
+ icon_name:i.attr("name"),
25
+ nonce: SFSI(i).parents('.custom').find('input[name="nonce"]').val()
26
  };
27
  SFSI.ajax({
28
  url:sfsi_icon_ajax_object.ajax_url,
138
  }
139
 
140
  // Upload Custom Skin {Monad}
141
+ function sfsi_customskin_upload(s, ref,nonce)
142
  {
143
  var ttl = jQuery(ref).attr("title");
144
  var i = s, e = {
145
  action:"UploadSkins",
146
+ custom_imgurl:i,
147
+ nonce:nonce
148
  };
149
 
150
  SFSI.ajax({
197
  }
198
 
199
  // Save Custom Skin {Monad}
200
+ function SFSI_done(nonce)
201
  {
202
+ e = { action:"Iamdone",nonce:nonce };
203
 
204
  SFSI.ajax({
205
  url:sfsi_icon_ajax_object.ajax_url,
215
  }
216
 
217
  // Upload Custom Icons {Monad}
218
+ function sfsi_newcustomicon_upload(s,nonce,nonce2) {
219
  var i = s, e = {
220
  action:"UploadIcons",
221
+ custom_imgurl:i,
222
+ nonce:nonce
223
  };
224
  SFSI.ajax({
225
  url:sfsi_icon_ajax_object.ajax_url,
230
  success:function(s) {
231
  if(s.res == 'success')
232
  {
233
+ afterIconSuccess(s,nonce2);
234
  }
235
  else
236
  {
1357
  }
1358
  }
1359
 
1360
+ function afterIconSuccess(s,nonce)
1361
  {
1362
  if (s.res = "success")
1363
  {
1381
  SFSI('<div class="row sfsiICON_' + s.key + ' cm_lnk"> <h2 class="custom"> <span class="customstep2-img"> <img src="' + s.img_path + "?" + d.getTime() + '" style="border-radius:48%" /> </span> <span class="sfsiCtxt">Custom ' + e + '</span> </h2> <div class="inr_cont "><p>Where do you want this icon to link to?</p> <p class="radio_section fb_url custom_section sfsiICON_' + s.key + '" ><label>Link :</label><input file-id="' + s.key + '" name="sfsi_CustomIcon_links[]" type="text" value="" placeholder="http://" class="add" /></p></div></div>').insertBefore('.notice_custom_icons_premium');
1382
  //SFSI(".custom-links").append(' <div class="row sfsiICON_' + s.key + ' cm_lnk"> <h2 class="custom"> <span class="customstep2-img"> <img src="' + s.img_path + "?" + d.getTime() + '" style="border-radius:48%" /> </span> <span class="sfsiCtxt">Custom ' + e + '</span> </h2> <div class="inr_cont "><p>Where do you want this icon to link to?</p> <p class="radio_section fb_url custom_section sfsiICON_' + s.key + '" ><label>Link :</label><input file-id="' + s.key + '" name="sfsi_CustomIcon_links[]" type="text" value="" placeholder="http://" class="add" /></p></div></div>');
1383
  SFSI(".notice_custom_icons_premium").show();
1384
+ SFSI("#c"+s.key).append('<input type="hidden" name="nonce" value="'+nonce+'">');
1385
  var o = SFSI("div.custom_m").find("div.mouseover_field").length;
1386
  SFSI("div.custom_m").append(0 == o % 2 ? '<div class="clear"> </div> <div class="mouseover_field custom_section sfsiICON_' + s.key + '"><label>Custom ' + e + ':</label><input name="sfsi_custom_MouseOverTexts[]" value="" type="text" file-id="' + s.key + '" /></div>' :'<div class="cHover " ><div class="mouseover_field custom_section sfsiICON_' + s.key + '"><label>Custom ' + e + ':</label><input name="sfsi_custom_MouseOverTexts[]" value="" type="text" file-id="' + s.key + '" /></div>'),
1387
  SFSI("ul.share_icon_order").append('<li class="custom_iconOrder sfsiICON_' + s.key + '" data-index="" element-id="' + s.key + '" id=""><a href="#" title="Custom Icon" ><img src="' + s.img_path + '" alt="Linked In" class="sfcm"/></a></li>'),
2490
  var message= SFSI(this).find('textarea[name="question"]').val();
2491
  var email=SFSI(this).find('input[name="email"]').val();
2492
  var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
2493
+ var nonce= SFSI(this).find('input[name="nonce"]').val();
2494
 
2495
  if(""===email || false===re.test(String(email).toLowerCase())){
2496
  // console.log(SFSI(this).find('input[name="email"]'));
2513
  action: "sfsiOfflineChatMessage",
2514
  message: message,
2515
  email: email,
2516
+ 'nonce':nonce
2517
  }
2518
  }).done(function(){
2519
  target.find('.before_message_sent').hide();
libs/controllers/sfsi_buttons_controller.php CHANGED
@@ -7,16 +7,20 @@ function sfsi_options_updater1()
7
  if ( !wp_verify_nonce( $_POST['nonce'], "update_step1")) {
8
  echo json_encode(array("wrong_nonce")); exit;
9
  }
 
 
 
 
10
  $option1= unserialize(get_option('sfsi_section1_options',false));
11
- $sfsi_rss_display = isset($_POST["sfsi_rss_display"]) ? $_POST["sfsi_rss_display"] : 'no';
12
- $sfsi_email_display = isset($_POST["sfsi_email_display"]) ? $_POST["sfsi_email_display"] : 'no';
13
- $sfsi_facebook_display = isset($_POST["sfsi_facebook_display"]) ? $_POST["sfsi_facebook_display"] : 'no';
14
- $sfsi_twitter_display = isset($_POST["sfsi_twitter_display"]) ? $_POST["sfsi_twitter_display"] : 'no';
15
- $sfsi_google_display = isset($_POST["sfsi_google_display"]) ? $_POST["sfsi_google_display"] : 'no';
16
- $sfsi_youtube_display = isset($_POST["sfsi_youtube_display"]) ? $_POST["sfsi_youtube_display"] : 'no';
17
- $sfsi_pinterest_display = isset($_POST["sfsi_pinterest_display"]) ? $_POST["sfsi_pinterest_display"] : 'no';
18
- $sfsi_instagram_display = isset($_POST["sfsi_instagram_display"]) ? $_POST["sfsi_instagram_display"] : 'no';
19
- $sfsi_linkedin_display = isset($_POST["sfsi_linkedin_display"]) ? $_POST["sfsi_linkedin_display"] : 'no';
20
  $sfsi_custom_icons = isset($option1['sfsi_custom_files']) ? $option1['sfsi_custom_files'] : '';
21
  $up_option1=array(
22
  'sfsi_rss_display' => sanitize_text_field($sfsi_rss_display),
@@ -41,48 +45,52 @@ function sfsi_options_updater2()
41
  if ( !wp_verify_nonce( $_POST['nonce'], "update_step2")) {
42
  echo json_encode(array("wrong_nonce")); exit;
43
  }
44
- $sfsi_rss_url = isset($_POST["sfsi_rss_url"]) ? trim($_POST["sfsi_rss_url"]) : '';
45
- $sfsi_rss_icons = isset($_POST["sfsi_rss_icons"]) ? $_POST["sfsi_rss_icons"] : 'email';
 
 
 
 
46
 
47
- $sfsi_facebookPage_option = isset($_POST["sfsi_facebookPage_option"]) ? $_POST["sfsi_facebookPage_option"] : 'no';
48
- $sfsi_facebookPage_url = isset($_POST["sfsi_facebookPage_url"]) ? trim($_POST["sfsi_facebookPage_url"]) : '';
49
- $sfsi_facebookLike_option = isset($_POST["sfsi_facebookLike_option"]) ? $_POST["sfsi_facebookLike_option"] : 'no';
50
- $sfsi_facebookShare_option = isset($_POST["sfsi_facebookShare_option"]) ? $_POST["sfsi_facebookShare_option"] : 'no';
51
 
52
- $sfsi_twitter_followme = isset($_POST["sfsi_twitter_followme"]) ? $_POST["sfsi_twitter_followme"] : 'no';
53
- $sfsi_twitter_followUserName = isset($_POST["sfsi_twitter_followUserName"]) ? trim($_POST["sfsi_twitter_followUserName"]) : '';
54
- $sfsi_twitter_aboutPage = isset($_POST["sfsi_twitter_aboutPage"]) ? $_POST["sfsi_twitter_aboutPage"] : 'no';
55
- $sfsi_twitter_page = isset($_POST["sfsi_twitter_page"]) ? $_POST["sfsi_twitter_page"] : 'no';
56
- $sfsi_twitter_pageURL = isset($_POST["sfsi_twitter_pageURL"]) ? trim($_POST["sfsi_twitter_pageURL"]) : '';
57
- $sfsi_twitter_aboutPageText = isset($_POST["sfsi_twitter_aboutPageText"]) ? $_POST["sfsi_twitter_aboutPageText"] : 'Hey check out this cool site I found';
58
 
59
- $sfsi_google_page = isset($_POST["sfsi_google_page"]) ? $_POST["sfsi_google_page"] : 'no';
60
- $sfsi_google_pageURL = isset($_POST["sfsi_google_pageURL"]) ? trim($_POST["sfsi_google_pageURL"]) : '';
61
- $sfsi_googleLike_option = isset($_POST["sfsi_googleLike_option"]) ? $_POST["sfsi_googleLike_option"] : 'no';
62
- $sfsi_googleShare_option = isset($_POST["sfsi_googleShare_option"]) ? $_POST["sfsi_googleShare_option"] : 'no';
63
 
64
- $sfsi_youtube_pageUrl = isset($_POST["sfsi_youtube_pageUrl"]) ? trim($_POST["sfsi_youtube_pageUrl"]) : '';
65
- $sfsi_youtube_page = isset($_POST["sfsi_youtube_page"]) ? $_POST["sfsi_youtube_page"] : 'no';
66
- $sfsi_youtube_follow = isset($_POST["sfsi_youtube_follow"]) ? $_POST["sfsi_youtube_follow"] : 'no';
67
 
68
- $sfsi_pinterest_page = isset($_POST["sfsi_pinterest_page"]) ? $_POST["sfsi_pinterest_page"] : 'no';
69
- $sfsi_pinterest_pageUrl = isset($_POST["sfsi_pinterest_pageUrl"]) ? trim($_POST["sfsi_pinterest_pageUrl"]) : '';
70
- $sfsi_pinterest_pingBlog = isset($_POST["sfsi_pinterest_pingBlog"]) ? $_POST["sfsi_pinterest_pingBlog"] : 'no';
71
 
72
- $sfsi_instagram_pageUrl = isset($_POST["sfsi_instagram_pageUrl"]) ? trim($_POST["sfsi_instagram_pageUrl"]) : '';
73
 
74
- $sfsi_linkedin_page = isset($_POST["sfsi_linkedin_page"]) ? $_POST["sfsi_linkedin_page"] : 'no';
75
- $sfsi_linkedin_pageURL = isset($_POST["sfsi_linkedin_pageURL"]) ? trim($_POST["sfsi_linkedin_pageURL"]) : '';
76
- $sfsi_linkedin_follow = isset($_POST["sfsi_linkedin_follow"]) ? $_POST["sfsi_linkedin_follow"] : 'no';
77
- $sfsi_linkedin_followCompany = isset($_POST["sfsi_linkedin_followCompany"]) ? trim($_POST["sfsi_linkedin_followCompany"]) : '';
78
- $sfsi_linkedin_SharePage = isset($_POST["sfsi_linkedin_SharePage"]) ? $_POST["sfsi_linkedin_SharePage"] : 'no';
79
- $sfsi_linkedin_recommendBusines = isset($_POST["sfsi_linkedin_recommendBusines"]) ? $_POST["sfsi_linkedin_recommendBusines"] : 'no';
80
- $sfsi_linkedin_recommendCompany = isset($_POST["sfsi_linkedin_recommendCompany"]) ? trim($_POST["sfsi_linkedin_recommendCompany"]) : '';
81
- $sfsi_linkedin_recommendProductId= isset($_POST["sfsi_linkedin_recommendProductId"]) ? trim($_POST["sfsi_linkedin_recommendProductId"]) : '';
82
 
83
- $sfsi_youtubeusernameorid = isset($_POST["sfsi_youtubeusernameorid"]) ? trim($_POST["sfsi_youtubeusernameorid"]) : '';
84
  $sfsi_ytube_user = ($_POST["sfsi_ytube_user"]) ? $_POST["sfsi_ytube_user"] : '';
85
- $sfsi_ytube_chnlid = isset($_POST["sfsi_ytube_chnlid"]) ? $_POST["sfsi_ytube_chnlid"] : '';
86
 
87
  /*
88
  * Escape custom icons url
@@ -104,7 +112,7 @@ function sfsi_options_updater2()
104
  {
105
  $esacpedUrls = '';
106
  }
107
- $sfsi_CustomIcon_links = isset($_POST["sfsi_custom_links"]) ? serialize($esacpedUrls) : '';
108
 
109
  $option2 = unserialize(get_option('sfsi_section2_options',false));
110
  $up_option2=array(
@@ -172,21 +180,25 @@ function sfsi_options_updater3()
172
  if ( !wp_verify_nonce( $_POST['nonce'], "update_step3")) {
173
  echo json_encode(array("wrong_nonce")); exit;
174
  }
175
- $sfsi_actvite_theme = isset($_POST["sfsi_actvite_theme"]) ? $_POST["sfsi_actvite_theme"] : 'no';
176
- $sfsi_mouseOver = isset($_POST["sfsi_mouseOver"]) ? $_POST["sfsi_mouseOver"] : 'no';
177
- $sfsi_mouseOver_effect = isset($_POST["sfsi_mouseOver_effect"]) ? $_POST["sfsi_mouseOver_effect"] : 'fade_in';
178
- $sfsi_mouseover_effect_type = isset($_POST["sfsi_mouseover_effect_type"]) ? $_POST["sfsi_mouseover_effect_type"] : 'same_icons';
179
- $sfsi_shuffle_icons = isset($_POST["sfsi_shuffle_icons"]) ? $_POST["sfsi_shuffle_icons"] : 'no';
180
- $sfsi_shuffle_Firstload = isset($_POST["sfsi_shuffle_Firstload"]) ? $_POST["sfsi_shuffle_Firstload"] : 'no';
181
- $sfsi_shuffle_interval = isset($_POST["sfsi_shuffle_interval"]) ? $_POST["sfsi_shuffle_interval"] : 'no';
182
- $sfsi_shuffle_intervalTime = isset($_POST["sfsi_shuffle_intervalTime"]) ? $_POST["sfsi_shuffle_intervalTime"] : '';
183
- $sfsi_specialIcon_animation = isset($_POST["sfsi_specialIcon_animation"]) ? $_POST["sfsi_specialIcon_animation"] : '';
184
- $sfsi_specialIcon_MouseOver = isset($_POST["sfsi_specialIcon_MouseOver"]) ? $_POST["sfsi_specialIcon_MouseOver"] : 'no';
185
- $sfsi_specialIcon_Firstload = isset($_POST["sfsi_specialIcon_Firstload"]) ? $_POST["sfsi_specialIcon_Firstload"] : 'no';
186
- $sfsi_specialIcon_Firstload_Icons = isset($_POST["sfsi_specialIcon_Firstload_Icons"]) ? $_POST["sfsi_specialIcon_Firstload_Icons"] : 'all';
187
- $sfsi_specialIcon_interval = isset($_POST["sfsi_specialIcon_interval"]) ? $_POST["sfsi_specialIcon_interval"] : 'no';
188
- $sfsi_specialIcon_intervalTime = isset($_POST["sfsi_specialIcon_intervalTime"]) ? $_POST["sfsi_specialIcon_intervalTime"] : '';
189
- $sfsi_specialIcon_intervalIcons = isset($_POST["sfsi_specialIcon_intervalIcons"]) ? $_POST["sfsi_specialIcon_intervalIcons"] : 'all';
 
 
 
 
190
 
191
  /* Design and animation option */
192
  $up_option3 =array(
@@ -218,63 +230,67 @@ function sfsi_options_updater4()
218
  if ( !wp_verify_nonce( $_POST['nonce'], "update_step4")) {
219
  echo json_encode(array("wrong_nonce")); exit;
220
  }
221
- $sfsi_display_counts = isset($_POST["sfsi_display_counts"]) ? $_POST["sfsi_display_counts"] : 'no';
 
 
 
 
222
 
223
- $sfsi_email_countsDisplay = isset($_POST["sfsi_email_countsDisplay"]) ? $_POST["sfsi_email_countsDisplay"] : 'no';
224
- $sfsi_email_countsFrom = isset($_POST["sfsi_email_countsFrom"]) ? $_POST["sfsi_email_countsFrom"] : 'manual';
225
- $sfsi_email_manualCounts = isset($_POST["sfsi_email_manualCounts"]) ? trim($_POST["sfsi_email_manualCounts"]) : '';
226
 
227
- $sfsi_rss_countsDisplay = isset($_POST["sfsi_rss_countsDisplay"]) ? $_POST["sfsi_rss_countsDisplay"] : 'no';
228
- $sfsi_rss_manualCounts = isset($_POST["sfsi_rss_manualCounts"]) ? trim($_POST["sfsi_rss_manualCounts"]) : '';
229
 
230
- $sfsi_facebook_countsDisplay = isset($_POST["sfsi_facebook_countsDisplay"]) ? $_POST["sfsi_facebook_countsDisplay"] : 'no';
231
- $sfsi_facebook_countsFrom = isset($_POST["sfsi_facebook_countsFrom"]) ? $_POST["sfsi_facebook_countsFrom"] : 'manual';
232
- $sfsi_facebook_mypageCounts = isset($_POST["sfsi_facebook_mypageCounts"]) ? trim($_POST["sfsi_facebook_mypageCounts"]) : '';
233
- $sfsi_facebook_manualCounts = isset($_POST["sfsi_facebook_manualCounts"]) ? trim($_POST["sfsi_facebook_manualCounts"]) : '';
234
- $sfsi_facebook_PageLink = isset($_POST["sfsi_facebook_PageLink"]) ? trim($_POST["sfsi_facebook_PageLink"]) : '';
235
 
236
- $sfsi_twitter_countsDisplay = isset($_POST["sfsi_twitter_countsDisplay"]) ? $_POST["sfsi_twitter_countsDisplay"] : 'no';
237
- $sfsi_twitter_countsFrom = isset($_POST["sfsi_twitter_countsFrom"]) ? $_POST["sfsi_twitter_countsFrom"] : 'manual';
238
- $sfsi_twitter_manualCounts = isset($_POST["sfsi_twitter_manualCounts"]) ? trim($_POST["sfsi_twitter_manualCounts"]) : '';
239
- $tw_consumer_key = isset($_POST["tw_consumer_key"]) ? trim($_POST["tw_consumer_key"]) : '';
240
- $tw_consumer_secret = isset($_POST["tw_consumer_secret"]) ? trim($_POST["tw_consumer_secret"]) : '';
241
- $tw_oauth_access_token = isset($_POST["tw_oauth_access_token"]) ? trim($_POST["tw_oauth_access_token"]) : '';
242
- $tw_oauth_access_token_secret = isset($_POST["tw_oauth_access_token_secret"]) ? trim($_POST["tw_oauth_access_token_secret"]) : '';
243
 
244
- $sfsi_google_countsDisplay = isset($_POST["sfsi_google_countsDisplay"]) ? $_POST["sfsi_google_countsDisplay"] : 'no';
245
- $sfsi_google_countsFrom = isset($_POST["sfsi_google_countsFrom"]) ? $_POST["sfsi_google_countsFrom"] : 'manual';
246
- $sfsi_google_manualCounts = isset($_POST["sfsi_google_manualCounts"]) ? trim($_POST["sfsi_google_manualCounts"]) : '';
247
- $sfsi_google_api_key = isset($_POST["sfsi_google_api_key"]) ? trim($_POST["sfsi_google_api_key"]) : '';
248
 
249
- $sfsi_linkedIn_countsDisplay = isset($_POST["sfsi_linkedIn_countsDisplay"]) ? $_POST["sfsi_linkedIn_countsDisplay"] : 'no';
250
- $sfsi_linkedIn_countsFrom = isset($_POST["sfsi_linkedIn_countsFrom"]) ? $_POST["sfsi_linkedIn_countsFrom"] : 'manual';
251
- $sfsi_linkedIn_manualCounts = isset($_POST["sfsi_linkedIn_manualCounts"]) ? trim($_POST["sfsi_linkedIn_manualCounts"]) : '';
252
- $ln_company = isset($_POST["ln_company"]) ? trim($_POST["ln_company"]) : '';
253
- $ln_api_key = isset($_POST["ln_api_key"]) ? trim($_POST["ln_api_key"]) : '';
254
- $ln_secret_key = isset($_POST["ln_secret_key"]) ? trim($_POST["ln_secret_key"]) : '';
255
- $ln_oAuth_user_token = isset($_POST["ln_oAuth_user_token"]) ? trim($_POST["ln_oAuth_user_token"]) : '';
256
 
257
- $sfsi_youtube_countsDisplay = isset($_POST["sfsi_youtube_countsDisplay"]) ? $_POST["sfsi_youtube_countsDisplay"] : 'no';
258
- $sfsi_youtube_countsFrom = isset($_POST["sfsi_youtube_countsFrom"]) ? $_POST["sfsi_youtube_countsFrom"] : 'manual';
259
- $sfsi_youtube_manualCounts = isset($_POST["sfsi_youtube_manualCounts"]) ? $_POST["sfsi_youtube_manualCounts"] : '';
260
- $sfsi_youtube_user = isset($_POST["sfsi_youtube_user"]) ? trim($_POST["sfsi_youtube_user"]) : '';
261
- $sfsi_youtube_channelId = isset($_POST["sfsi_youtube_channelId"]) ? trim($_POST["sfsi_youtube_channelId"]) : '';
262
 
263
- $sfsi_pinterest_countsDisplay = isset($_POST["sfsi_pinterest_countsDisplay"]) ? $_POST["sfsi_pinterest_countsDisplay"] : 'no';
264
- $sfsi_pinterest_countsFrom = isset($_POST["sfsi_pinterest_countsFrom"]) ? $_POST["sfsi_pinterest_countsFrom"] : 'manual';
265
- $sfsi_pinterest_manualCounts = isset($_POST["sfsi_pinterest_manualCounts"]) ? trim($_POST["sfsi_pinterest_manualCounts"]) : '';
266
- $sfsi_pinterest_user = isset($_POST["sfsi_pinterest_user"]) ? trim($_POST["sfsi_pinterest_user"]) : '';
267
- $sfsi_pinterest_board = isset($_POST["sfsi_pinterest_board"]) ? trim($_POST["sfsi_pinterest_board"]) : '';
268
 
269
- $sfsi_instagram_countsDisplay = isset($_POST["sfsi_instagram_countsDisplay"]) ? $_POST["sfsi_instagram_countsDisplay"] : 'no';
270
- $sfsi_instagram_countsFrom = isset($_POST["sfsi_instagram_countsFrom"]) ? $_POST["sfsi_instagram_countsFrom"] : 'manual';
271
- $sfsi_instagram_manualCounts = isset($_POST["sfsi_instagram_manualCounts"]) ? trim($_POST["sfsi_instagram_manualCounts"]) : '';
272
- $sfsi_instagram_User = isset($_POST["sfsi_instagram_User"]) ? $_POST["sfsi_instagram_User"] : '';
273
- $sfsi_instagram_clientid = isset($_POST["sfsi_instagram_clientid"]) ? $_POST["sfsi_instagram_clientid"] : '';
274
- $sfsi_instagram_appurl = isset($_POST["sfsi_instagram_appurl"]) ? $_POST["sfsi_instagram_appurl"] : '';
275
- $sfsi_instagram_token = isset($_POST["sfsi_instagram_token"]) ? $_POST["sfsi_instagram_token"] : '';
276
 
277
- $sfsi_facebookPage_url = isset($_POST["sfsi_facebookPage_url"]) ? trim($_POST["sfsi_facebookPage_url"]) : '';
278
 
279
  $up_option4=array(
280
  'sfsi_display_counts' => sanitize_text_field($sfsi_display_counts),
@@ -346,38 +362,57 @@ function sfsi_options_updater5()
346
  if ( !wp_verify_nonce( $_POST['nonce'], "update_step5")) {
347
  echo json_encode(array("wrong_nonce")); exit;
348
  }
349
- $sfsi_icons_size = isset($_POST["sfsi_icons_size"]) ? $_POST["sfsi_icons_size"] : '51';
350
- $sfsi_icons_spacing = isset($_POST["sfsi_icons_spacing"]) ? $_POST["sfsi_icons_spacing"] : '2';
351
- $sfsi_icons_Alignment = isset($_POST["sfsi_icons_Alignment"]) ? $_POST["sfsi_icons_Alignment"] : 'center';
 
 
 
 
352
 
353
- $sfsi_icons_perRow = isset($_POST["sfsi_icons_perRow"]) ? $_POST["sfsi_icons_perRow"] : '5';
354
- $sfsi_icons_ClickPageOpen = isset($_POST["sfsi_icons_ClickPageOpen"]) ? $_POST["sfsi_icons_ClickPageOpen"] : 'no';
355
- $sfsi_icons_suppress_errors = isset($_POST["sfsi_icons_suppress_errors"]) ? $_POST["sfsi_icons_suppress_errors"] : 'no';
356
- $sfsi_icons_stick = isset($_POST["sfsi_icons_stick"]) ? $_POST["sfsi_icons_stick"] : 'no';
357
-
358
- $sfsi_rss_MouseOverText = isset($_POST["sfsi_rss_MouseOverText"]) ? $_POST["sfsi_rss_MouseOverText"] : '';
359
- $sfsi_email_MouseOverText = isset($_POST["sfsi_email_MouseOverText"]) ? $_POST["sfsi_email_MouseOverText"] : '';
360
- $sfsi_twitter_MouseOverText = isset($_POST["sfsi_twitter_MouseOverText"]) ? $_POST["sfsi_twitter_MouseOverText"] : '';
361
- $sfsi_facebook_MouseOverText = isset($_POST["sfsi_facebook_MouseOverText"]) ? $_POST["sfsi_facebook_MouseOverText"] : '';
362
- $sfsi_google_MouseOverText = isset($_POST["sfsi_google_MouseOverText"]) ? $_POST["sfsi_google_MouseOverText"] : '';
363
- $sfsi_linkedIn_MouseOverText = isset($_POST["sfsi_linkedIn_MouseOverText"]) ? $_POST["sfsi_linkedIn_MouseOverText"] : '';
364
- $sfsi_pinterest_MouseOverText = isset($_POST["sfsi_pinterest_MouseOverText"]) ? $_POST["sfsi_pinterest_MouseOverText"] : '';
365
- $sfsi_instagram_MouseOverText = isset($_POST["sfsi_instagram_MouseOverText"]) ? $_POST["sfsi_instagram_MouseOverText"] : '';
366
- $sfsi_youtube_MouseOverText = isset($_POST["sfsi_youtube_MouseOverText"]) ? $_POST["sfsi_youtube_MouseOverText"] : '';
367
- $sfsi_custom_orders = isset($_POST["sfsi_custom_orders"]) ? serialize($_POST["sfsi_custom_orders"]) : '';
 
 
 
 
 
 
 
 
 
368
 
369
- $sfsi_rssIcon_order = isset($_POST["sfsi_rssIcon_order"]) ? $_POST["sfsi_rssIcon_order"] : '1';
370
- $sfsi_emailIcon_order = isset($_POST["sfsi_emailIcon_order"]) ? $_POST["sfsi_emailIcon_order"] : '2';
371
- $sfsi_facebookIcon_order = isset($_POST["sfsi_facebookIcon_order"]) ? $_POST["sfsi_facebookIcon_order"] : '3';
372
- $sfsi_googleIcon_order = isset($_POST["sfsi_googleIcon_order"]) ? $_POST["sfsi_googleIcon_order"] : '4';
373
- $sfsi_twitterIcon_order = isset($_POST["sfsi_twitterIcon_order"]) ? $_POST["sfsi_twitterIcon_order"] : '5';
374
- $sfsi_youtubeIcon_order = isset($_POST["sfsi_youtubeIcon_order"]) ? $_POST["sfsi_youtubeIcon_order"] : '7';
375
- $sfsi_pinterestIcon_order = isset($_POST["sfsi_pinterestIcon_order"]) ? $_POST["sfsi_pinterestIcon_order"] : '8';
376
- $sfsi_instagramIcon_order = isset($_POST["sfsi_instagramIcon_order"]) ? $_POST["sfsi_instagramIcon_order"] : '10';
377
- $sfsi_linkedinIcon_order = isset($_POST["sfsi_linkedinIcon_order"]) ? $_POST["sfsi_linkedinIcon_order"] : '9';
378
- $sfsi_custom_MouseOverTexts = isset($_POST["sfsi_custom_MouseOverTexts"]) ? serialize($_POST["sfsi_custom_MouseOverTexts"]) : '';
 
 
 
 
 
 
379
 
380
- $sfsi_custom_social_hide = isset($_POST["sfsi_custom_social_hide"]) ? $_POST["sfsi_custom_social_hide"] : 'no';
381
 
382
  /* size and spacing of icons */
383
  $up_option5=array(
@@ -428,20 +463,23 @@ function sfsi_options_updater6()
428
  if ( !wp_verify_nonce( $_POST['nonce'], "update_step6")) {
429
  echo json_encode(array("wrong_nonce")); exit;
430
  }
 
 
 
431
 
432
- $sfsi_show_Onposts = isset($_POST["sfsi_show_Onposts"]) ? $_POST["sfsi_show_Onposts"] : 'no';
433
 
434
- $sfsi_icons_postPositon = isset($_POST["sfsi_icons_postPositon"]) ? $_POST["sfsi_icons_postPositon"] : '';
435
- $sfsi_icons_alignment = isset($_POST["sfsi_icons_alignment"]) ? $_POST["sfsi_icons_alignment"] : 'center-right';
436
- $sfsi_textBefor_icons = isset($_POST["sfsi_textBefor_icons"]) ? $_POST["sfsi_textBefor_icons"] : '';
437
- $sfsi_icons_DisplayCounts = isset($_POST["sfsi_icons_DisplayCounts"]) ? $_POST["sfsi_icons_DisplayCounts"] : 'no';
438
- $sfsi_rectsub = isset($_POST["sfsi_rectsub"]) ? $_POST["sfsi_rectsub"] : 'no';
439
- $sfsi_rectfb = isset($_POST["sfsi_rectfb"]) ? $_POST["sfsi_rectfb"] : 'no';
440
- $sfsi_rectgp = isset($_POST["sfsi_rectgp"]) ? $_POST["sfsi_rectgp"] : 'no';
441
- $sfsi_rectshr = isset($_POST["sfsi_rectshr"]) ? $_POST["sfsi_rectshr"] : 'no';
442
- $sfsi_recttwtr = isset($_POST["sfsi_recttwtr"]) ? $_POST["sfsi_recttwtr"] : 'no';
443
- $sfsi_rectpinit = isset($_POST["sfsi_rectpinit"]) ? $_POST["sfsi_rectpinit"] : 'no';
444
- $sfsi_rectfbshare = isset($_POST["sfsi_rectfbshare"]) ? $_POST["sfsi_rectfbshare"] : 'no';
445
  /* post options */
446
  $up_option6=array(
447
 
@@ -470,20 +508,30 @@ function sfsi_options_updater7()
470
  if ( !wp_verify_nonce( $_POST['nonce'], "update_step7")) {
471
  echo json_encode(array("wrong_nonce")); exit;
472
  }
473
- $sfsi_popup_text = isset($_POST["sfsi_popup_text"]) ? $_POST["sfsi_popup_text"] : '';
474
- $sfsi_popup_background_color = isset($_POST["sfsi_popup_background_color"]) ? $_POST["sfsi_popup_background_color"] : '#fffff';
475
- $sfsi_popup_border_color = isset($_POST["sfsi_popup_border_color"]) ? $_POST["sfsi_popup_border_color"] : 'center-right';
476
- $sfsi_popup_border_thickness = isset($_POST["sfsi_popup_border_thickness"]) ? $_POST["sfsi_popup_border_thickness"] : '';
477
- $sfsi_popup_border_shadow = isset($_POST["sfsi_popup_border_shadow"]) ? $_POST["sfsi_popup_border_shadow"] : 'no';
478
- $sfsi_popup_font = isset($_POST["sfsi_popup_font"]) ? $_POST["sfsi_popup_font"] : '';
479
- $sfsi_popup_fontSize = isset($_POST["sfsi_popup_fontSize"]) ? $_POST["sfsi_popup_fontSize"] : 'no';
480
- $sfsi_popup_fontStyle = isset($_POST["sfsi_popup_fontStyle"]) ? $_POST["sfsi_popup_fontStyle"] : '';
481
- $sfsi_popup_fontColor = isset($_POST["sfsi_popup_fontColor"]) ? $_POST["sfsi_popup_fontColor"] : 'no';
482
- $sfsi_Show_popupOn = isset($_POST["sfsi_Show_popupOn"]) ? $_POST["sfsi_Show_popupOn"] : '';
483
- $sfsi_Show_popupOn_PageIDs = isset($_POST["sfsi_Show_popupOn_PageIDs"]) ? serialize($_POST["sfsi_Show_popupOn_PageIDs"]) : '';
484
- $sfsi_Shown_pop = isset($_POST["sfsi_Shown_pop"]) ? $_POST["sfsi_Shown_pop"] : '';
485
- $sfsi_Shown_popupOnceTime = isset($_POST["sfsi_Shown_popupOnceTime"]) ? $_POST["sfsi_Shown_popupOnceTime"] : 'no';
486
- $sfsi_Shown_popuplimitPerUserTime = isset($_POST["sfsi_Shown_popuplimitPerUserTime"]) ? $_POST["sfsi_Shown_popuplimitPerUserTime"] : '';
 
 
 
 
 
 
 
 
 
 
487
 
488
  /* icons pop options */
489
  $up_option7=array(
@@ -515,36 +563,39 @@ function sfsi_options_updater8()
515
  if ( !wp_verify_nonce( $_POST['nonce'], "update_step8")) {
516
  echo json_encode(array("wrong_nonce")); exit;
517
  }
 
 
518
 
519
- $sfsi_form_adjustment = isset($_POST["sfsi_form_adjustment"]) ? $_POST["sfsi_form_adjustment"] : 'yes';
520
- $sfsi_form_height = isset($_POST["sfsi_form_height"]) ? $_POST["sfsi_form_height"] : '180';
521
- $sfsi_form_width = isset($_POST["sfsi_form_width"]) ? $_POST["sfsi_form_width"] : '230';
522
- $sfsi_form_border = isset($_POST["sfsi_form_border"]) ? $_POST["sfsi_form_border"] : 'no';
523
- $sfsi_form_border_thickness = isset($_POST["sfsi_form_border_thickness"]) ? $_POST["sfsi_form_border_thickness"] : '1';
524
- $sfsi_form_border_color = isset($_POST["sfsi_form_border_color"]) ? $_POST["sfsi_form_border_color"] : '#b5b5b5';
525
- $sfsi_form_background = isset($_POST["sfsi_form_background"]) ? $_POST["sfsi_form_background"] : '#eff7f7';
 
526
 
527
- $sfsi_form_heading_text = isset($_POST["sfsi_form_heading_text"]) ? $_POST["sfsi_form_heading_text"] : 'Get new posts by email';
528
- $sfsi_form_heading_font = isset($_POST["sfsi_form_heading_font"]) ? $_POST["sfsi_form_heading_font"] : 'Helvetica,Arial,sans-serif';
529
- $sfsi_form_heading_fontstyle= isset($_POST["sfsi_form_heading_fontstyle"]) ? $_POST["sfsi_form_heading_fontstyle"] : 'bold';
530
- $sfsi_form_heading_fontcolor= isset($_POST["sfsi_form_heading_fontcolor"]) ? $_POST["sfsi_form_heading_fontcolor"] : '#000000';
531
- $sfsi_form_heading_fontsize = isset($_POST["sfsi_form_heading_fontsize"]) ? $_POST["sfsi_form_heading_fontsize"] : '16';
532
- $sfsi_form_heading_fontalign= isset($_POST["sfsi_form_heading_fontalign"]) ? $_POST["sfsi_form_heading_fontalign"] :'center';
533
 
534
- $sfsi_form_field_text = isset($_POST["sfsi_form_field_text"]) ? $_POST["sfsi_form_field_text"] : 'Subscribe';
535
- $sfsi_form_field_font = isset($_POST["sfsi_form_field_font"]) ? $_POST["sfsi_form_field_font"] : 'Helvetica,Arial,sans-serif';
536
- $sfsi_form_field_fontstyle = isset($_POST["sfsi_form_field_fontstyle"]) ? $_POST["sfsi_form_field_fontstyle"] : 'normal';
537
- $sfsi_form_field_fontcolor = isset($_POST["sfsi_form_field_fontcolor"]) ? $_POST["sfsi_form_field_fontcolor"] : '#000000';
538
- $sfsi_form_field_fontsize = isset($_POST["sfsi_form_field_fontsize"]) ? $_POST["sfsi_form_field_fontsize"] : '14';
539
- $sfsi_form_field_fontalign = isset($_POST["sfsi_form_field_fontalign"]) ? $_POST["sfsi_form_field_fontalign"] :'center';
540
 
541
- $sfsi_form_button_text = isset($_POST["sfsi_form_button_text"]) ? $_POST["sfsi_form_button_text"] : 'Subscribe';
542
- $sfsi_form_button_font = isset($_POST["sfsi_form_button_font"]) ? $_POST["sfsi_form_button_font"] : 'Helvetica,Arial,sans-serif';
543
- $sfsi_form_button_fontstyle = isset($_POST["sfsi_form_button_fontstyle"]) ? $_POST["sfsi_form_button_fontstyle"] : 'bold';
544
- $sfsi_form_button_fontcolor = isset($_POST["sfsi_form_button_fontcolor"]) ? $_POST["sfsi_form_button_fontcolor"] : '#000000';
545
- $sfsi_form_button_fontsize = isset($_POST["sfsi_form_button_fontsize"]) ? $_POST["sfsi_form_button_fontsize"] : '16';
546
- $sfsi_form_button_fontalign = isset($_POST["sfsi_form_button_fontalign"]) ? $_POST["sfsi_form_button_fontalign"] :'center';
547
- $sfsi_form_button_background= isset($_POST["sfsi_form_button_background"]) ? $_POST["sfsi_form_button_background"]:'#dedede';
548
 
549
  /* icons pop options */
550
  $up_option8 = array(
@@ -590,20 +641,23 @@ function sfsi_options_updater9(){
590
  if ( !wp_verify_nonce( $_POST['nonce'], "update_step9")) {
591
  echo json_encode(array("wrong_nonce")); exit;
592
  }
 
 
593
 
594
- $sfsi_show_via_widget = isset($_POST["sfsi_show_via_widget"]) ? $_POST["sfsi_show_via_widget"] : 'no';
595
 
596
- $sfsi_icons_float = isset($_POST["sfsi_icons_float"]) ? $_POST["sfsi_icons_float"] : 'no';
597
- $sfsi_icons_floatPosition = isset($_POST["sfsi_icons_floatPosition"]) ? $_POST["sfsi_icons_floatPosition"] : 'center-right';
598
- $sfsi_icons_floatMargin_top = isset($_POST["sfsi_icons_floatMargin_top"]) ? $_POST["sfsi_icons_floatMargin_top"] : '';
599
- $sfsi_icons_floatMargin_bottom = isset($_POST["sfsi_icons_floatMargin_bottom"]) ? $_POST["sfsi_icons_floatMargin_bottom"]: '';
600
- $sfsi_icons_floatMargin_left = isset($_POST["sfsi_icons_floatMargin_left"]) ? $_POST["sfsi_icons_floatMargin_left"] : '';
601
- $sfsi_icons_floatMargin_right = isset($_POST["sfsi_icons_floatMargin_right"]) ? $_POST["sfsi_icons_floatMargin_right"] : '';
602
- $sfsi_disable_floaticons = isset($_POST["sfsi_disable_floaticons"]) ? $_POST["sfsi_disable_floaticons"] : 'no';
603
 
604
- $sfsi_show_via_shortcode = isset($_POST["sfsi_show_via_shortcode"]) ? $_POST["sfsi_show_via_shortcode"] : 'no';
 
 
 
 
 
 
605
 
606
- $sfsi_show_via_afterposts = isset($_POST["sfsi_show_via_afterposts"]) ? $_POST["sfsi_show_via_afterposts"] : 'no';
 
 
607
 
608
 
609
  /* icons pop options */
@@ -859,6 +913,10 @@ function sfsiActivateFooter()
859
  if ( !wp_verify_nonce( $_POST['nonce'], "active_footer")) {
860
  echo json_encode(array('res'=>'wrong_nonce')); exit;
861
  }
 
 
 
 
862
  update_option('sfsi_footer_sec', 'yes');
863
  echo json_encode(array('res'=>'success'));exit;
864
  }
@@ -868,45 +926,39 @@ function sfsiremoveFooter()
868
  if ( !wp_verify_nonce( $_POST['nonce'], "remove_footer")) {
869
  echo json_encode(array('res'=>'wrong_nonce')); exit;
870
  }
 
 
 
 
871
  update_option('sfsi_footer_sec', 'no');
872
  echo json_encode(array('res'=>'success'));exit;
873
  }
874
- add_action('wp_ajax_getForm','sfsigetForm');
875
- function sfsigetForm()
876
- {
877
- // extract($_POST);
878
- $heading = isset($_POST) && isset($_POST['heading'])?sanitize_text_field($_POST['heading']):'';
879
- $placeholder = isset($_POST) && isset($_POST['placeholder'])?sanitize_text_field($_POST['placeholder']):'';
880
- $button = isset($_POST) && isset($_POST['button'])?sanitize_text_field($_POST['button']):'';
881
- ?>
882
- <xmp>
883
- <div class="sfsi_subscribe_Popinner">
884
- <form method="post">
885
- <h5><?php echo $heading; ?></h5>
886
- <div class="sfsi_subscription_form_field">
887
- <input type="email" name="subscribe_email" placeholder="<?php echo $placeholder; ?>" value="" />
888
- </div>
889
- <div class="sfsi_subscription_form_field">
890
- <input type="submit" name="subscribe" value="<?php echo $button; ?>" />
891
- </div>
892
- </form>
893
- </div>
894
- </xmp>
895
- <?php
896
- die;
897
- }
898
 
899
  add_action("wp_ajax_notification_read", "notification_read");
900
  function notification_read()
901
  {
902
- update_option("show_notification", "no");
903
- echo "success";
 
 
 
 
 
 
 
904
  die;
905
  }
906
 
907
  add_action("wp_ajax_new_notification_read", "new_notification_read");
908
  function new_notification_read()
909
  {
 
 
 
 
 
 
910
  update_option("show_new_notification", "no");
911
  echo "success";
912
  die;
@@ -914,6 +966,13 @@ function new_notification_read()
914
  add_action("wp_ajax_sfsicurlerrornotification", "sfsicurlerrornotification");
915
  function sfsicurlerrornotification()
916
  {
 
 
 
 
 
 
 
917
  update_option("sfsi_curlErrorNotices", "no");
918
  echo "success";
919
  die;
@@ -944,12 +1003,18 @@ add_action('wp_ajax_bannerOption','sfsi_bannerOption');
944
  function sfsi_bannerOption(){
945
 
946
  error_reporting(0);
 
 
 
 
 
 
947
 
948
  if(get_option("show_new_notification") == "yes"){
949
 
950
  $objThemeCheck = new sfsi_ThemeCheck();
951
 
952
- $domainname = isset($_POST['domain'])?$_POST['domain']:$objThemeCheck->sfsi_plus_getdomain(get_bloginfo('url'));
953
 
954
  // Get all themes data which incudes nobrainer
955
  $themeDataArr = $objThemeCheck->sfsi_plus_get_themeData();
@@ -1107,7 +1172,7 @@ function sfsi_bannerOption(){
1107
  SFSI.ajax({
1108
  url:sfsi_icon_ajax_object.ajax_url,
1109
  type:"post",
1110
- data: {action: "new_notification_read"},
1111
  success:function(msg){
1112
  if(jQuery.trim(msg) == "success")
1113
  {
@@ -1120,7 +1185,7 @@ function sfsi_bannerOption(){
1120
  SFSI.ajax({
1121
  url:sfsi_icon_ajax_object.ajax_url,
1122
  type:"post",
1123
- data: {action: "new_notification_read"},
1124
  success:function(msg){
1125
  if(jQuery.trim(msg) == "success")
1126
  {
@@ -1138,7 +1203,14 @@ add_action('wp_ajax_sfsiOfflineChatMessage','sfsi_OfflineChatMessage');
1138
  function sfsi_OfflineChatMessage(){
1139
  error_reporting(0);
1140
  // extract($_POST);
1141
- $email = isset($_POST) && isset($_POST['email']) ? sanitize_text_field($_POST['email']) : '';
 
 
 
 
 
 
 
1142
  $message = isset($_POST) && isset($_POST['message']) ? sanitize_textarea_field($_POST['message']) : '';
1143
  $body="<table><tr><th>Site:</th><td>".home_url()."</td></tr><tr><th>Plugin:</th><td>Old Plugin</td></tr><tr><th>Email:</th><td>".$email."</td></tr><tr><th>Message:</th><td>".$message."</td></tr></table>";
1144
  $sent=wp_mail('help@ultimatelysocial.com',"New question from user",$body,array('Content-Type: text/html; charset=UTF-8'));
7
  if ( !wp_verify_nonce( $_POST['nonce'], "update_step1")) {
8
  echo json_encode(array("wrong_nonce")); exit;
9
  }
10
+ if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
11
+
12
+
13
+
14
  $option1= unserialize(get_option('sfsi_section1_options',false));
15
+ $sfsi_rss_display = isset($_POST["sfsi_rss_display"]) ? sanitize_text_field( $_POST["sfsi_rss_display"] ): 'no';
16
+ $sfsi_email_display = isset($_POST["sfsi_email_display"]) ? sanitize_text_field( $_POST["sfsi_email_display"] ): 'no';
17
+ $sfsi_facebook_display = isset($_POST["sfsi_facebook_display"]) ? sanitize_text_field( $_POST["sfsi_facebook_display"] ): 'no';
18
+ $sfsi_twitter_display = isset($_POST["sfsi_twitter_display"]) ? sanitize_text_field( $_POST["sfsi_twitter_display"] ): 'no';
19
+ $sfsi_google_display = isset($_POST["sfsi_google_display"]) ? sanitize_text_field( $_POST["sfsi_google_display"] ): 'no';
20
+ $sfsi_youtube_display = isset($_POST["sfsi_youtube_display"]) ? sanitize_text_field( $_POST["sfsi_youtube_display"] ): 'no';
21
+ $sfsi_pinterest_display = isset($_POST["sfsi_pinterest_display"]) ? sanitize_text_field( $_POST["sfsi_pinterest_display"] ): 'no';
22
+ $sfsi_instagram_display = isset($_POST["sfsi_instagram_display"]) ? sanitize_text_field( $_POST["sfsi_instagram_display"] ): 'no';
23
+ $sfsi_linkedin_display = isset($_POST["sfsi_linkedin_display"]) ? sanitize_text_field( $_POST["sfsi_linkedin_display"] ): 'no';
24
  $sfsi_custom_icons = isset($option1['sfsi_custom_files']) ? $option1['sfsi_custom_files'] : '';
25
  $up_option1=array(
26
  'sfsi_rss_display' => sanitize_text_field($sfsi_rss_display),
45
  if ( !wp_verify_nonce( $_POST['nonce'], "update_step2")) {
46
  echo json_encode(array("wrong_nonce")); exit;
47
  }
48
+ if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
49
+
50
+
51
+
52
+ $sfsi_rss_url = isset($_POST["sfsi_rss_url"]) ? esc_url( trim($_POST["sfsi_rss_url"])) : '';
53
+ $sfsi_rss_icons = isset($_POST["sfsi_rss_icons"]) ? sanitize_text_field( $_POST["sfsi_rss_icons"] ): 'email';
54
 
55
+ $sfsi_facebookPage_option = isset($_POST["sfsi_facebookPage_option"]) ? sanitize_text_field( $_POST["sfsi_facebookPage_option"] ): 'no';
56
+ $sfsi_facebookPage_url = isset($_POST["sfsi_facebookPage_url"]) ? esc_url( trim($_POST["sfsi_facebookPage_url"])) : '';
57
+ $sfsi_facebookLike_option = isset($_POST["sfsi_facebookLike_option"]) ? sanitize_text_field( $_POST["sfsi_facebookLike_option"] ): 'no';
58
+ $sfsi_facebookShare_option = isset($_POST["sfsi_facebookShare_option"]) ? sanitize_text_field( $_POST["sfsi_facebookShare_option"] ): 'no';
59
 
60
+ $sfsi_twitter_followme = isset($_POST["sfsi_twitter_followme"]) ? sanitize_text_field( $_POST["sfsi_twitter_followme"] ): 'no';
61
+ $sfsi_twitter_followUserName = isset($_POST["sfsi_twitter_followUserName"]) ? sanitize_text_field( trim($_POST["sfsi_twitter_followUserName"])) : '';
62
+ $sfsi_twitter_aboutPage = isset($_POST["sfsi_twitter_aboutPage"]) ? sanitize_text_field( $_POST["sfsi_twitter_aboutPage"] ): 'no';
63
+ $sfsi_twitter_page = isset($_POST["sfsi_twitter_page"]) ? sanitize_text_field( $_POST["sfsi_twitter_page"] ): 'no';
64
+ $sfsi_twitter_pageURL = isset($_POST["sfsi_twitter_pageURL"]) ? esc_url( trim($_POST["sfsi_twitter_pageURL"])) : '';
65
+ $sfsi_twitter_aboutPageText = isset($_POST["sfsi_twitter_aboutPageText"]) ? sanitize_text_field( $_POST["sfsi_twitter_aboutPageText"] ): 'Hey check out this cool site I found';
66
 
67
+ $sfsi_google_page = isset($_POST["sfsi_google_page"]) ? sanitize_text_field( $_POST["sfsi_google_page"] ): 'no';
68
+ $sfsi_google_pageURL = isset($_POST["sfsi_google_pageURL"]) ? esc_url( trim($_POST["sfsi_google_pageURL"])) : '';
69
+ $sfsi_googleLike_option = isset($_POST["sfsi_googleLike_option"]) ? sanitize_text_field( $_POST["sfsi_googleLike_option"] ): 'no';
70
+ $sfsi_googleShare_option = isset($_POST["sfsi_googleShare_option"]) ? sanitize_text_field( $_POST["sfsi_googleShare_option"] ): 'no';
71
 
72
+ $sfsi_youtube_pageUrl = isset($_POST["sfsi_youtube_pageUrl"]) ? esc_url( trim($_POST["sfsi_youtube_pageUrl"])) : '';
73
+ $sfsi_youtube_page = isset($_POST["sfsi_youtube_page"]) ? sanitize_text_field( $_POST["sfsi_youtube_page"] ): 'no';
74
+ $sfsi_youtube_follow = isset($_POST["sfsi_youtube_follow"]) ? sanitize_text_field( $_POST["sfsi_youtube_follow"] ): 'no';
75
 
76
+ $sfsi_pinterest_page = isset($_POST["sfsi_pinterest_page"]) ? sanitize_text_field( $_POST["sfsi_pinterest_page"] ): 'no';
77
+ $sfsi_pinterest_pageUrl = isset($_POST["sfsi_pinterest_pageUrl"]) ? esc_url( trim($_POST["sfsi_pinterest_pageUrl"])) : '';
78
+ $sfsi_pinterest_pingBlog = isset($_POST["sfsi_pinterest_pingBlog"]) ? sanitize_text_field( $_POST["sfsi_pinterest_pingBlog"] ): 'no';
79
 
80
+ $sfsi_instagram_pageUrl = isset($_POST["sfsi_instagram_pageUrl"]) ? esc_url( trim($_POST["sfsi_instagram_pageUrl"])) : '';
81
 
82
+ $sfsi_linkedin_page = isset($_POST["sfsi_linkedin_page"]) ? sanitize_text_field( $_POST["sfsi_linkedin_page"] ): 'no';
83
+ $sfsi_linkedin_pageURL = isset($_POST["sfsi_linkedin_pageURL"]) ? esc_url( trim($_POST["sfsi_linkedin_pageURL"])) : '';
84
+ $sfsi_linkedin_follow = isset($_POST["sfsi_linkedin_follow"]) ? sanitize_text_field( $_POST["sfsi_linkedin_follow"] ): 'no';
85
+ $sfsi_linkedin_followCompany = isset($_POST["sfsi_linkedin_followCompany"]) ? sanitize_text_field( trim($_POST["sfsi_linkedin_followCompany"])) : '';
86
+ $sfsi_linkedin_SharePage = isset($_POST["sfsi_linkedin_SharePage"]) ? sanitize_text_field( $_POST["sfsi_linkedin_SharePage"] ): 'no';
87
+ $sfsi_linkedin_recommendBusines = isset($_POST["sfsi_linkedin_recommendBusines"]) ? sanitize_text_field( $_POST["sfsi_linkedin_recommendBusines"] ): 'no';
88
+ $sfsi_linkedin_recommendCompany = isset($_POST["sfsi_linkedin_recommendCompany"]) ? sanitize_text_field( trim($_POST["sfsi_linkedin_recommendCompany"])) : '';
89
+ $sfsi_linkedin_recommendProductId= isset($_POST["sfsi_linkedin_recommendProductId"]) ? intval( trim($_POST["sfsi_linkedin_recommendProductId"])) : '';
90
 
91
+ $sfsi_youtubeusernameorid = isset($_POST["sfsi_youtubeusernameorid"]) ? sanitize_text_field( trim($_POST["sfsi_youtubeusernameorid"])) : '';
92
  $sfsi_ytube_user = ($_POST["sfsi_ytube_user"]) ? $_POST["sfsi_ytube_user"] : '';
93
+ $sfsi_ytube_chnlid = isset($_POST["sfsi_ytube_chnlid"]) ? sanitize_text_field( $_POST["sfsi_ytube_chnlid"] ): '';
94
 
95
  /*
96
  * Escape custom icons url
112
  {
113
  $esacpedUrls = '';
114
  }
115
+ $sfsi_CustomIcon_links = isset($_POST["sfsi_custom_links"]) ?serialize($esacpedUrls) : '';
116
 
117
  $option2 = unserialize(get_option('sfsi_section2_options',false));
118
  $up_option2=array(
180
  if ( !wp_verify_nonce( $_POST['nonce'], "update_step3")) {
181
  echo json_encode(array("wrong_nonce")); exit;
182
  }
183
+ if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
184
+
185
+
186
+
187
+ $sfsi_actvite_theme = isset($_POST["sfsi_actvite_theme"]) ? sanitize_text_field( $_POST["sfsi_actvite_theme"] ): 'no';
188
+ $sfsi_mouseOver = isset($_POST["sfsi_mouseOver"]) ? sanitize_text_field( $_POST["sfsi_mouseOver"] ): 'no';
189
+ $sfsi_mouseOver_effect = isset($_POST["sfsi_mouseOver_effect"]) ? sanitize_text_field( $_POST["sfsi_mouseOver_effect"] ): 'fade_in';
190
+ $sfsi_mouseover_effect_type = isset($_POST["sfsi_mouseover_effect_type"]) ? sanitize_text_field( $_POST["sfsi_mouseover_effect_type"] ): 'same_icons';
191
+ $sfsi_shuffle_icons = isset($_POST["sfsi_shuffle_icons"]) ? sanitize_text_field( $_POST["sfsi_shuffle_icons"] ): 'no';
192
+ $sfsi_shuffle_Firstload = isset($_POST["sfsi_shuffle_Firstload"]) ? sanitize_text_field( $_POST["sfsi_shuffle_Firstload"] ): 'no';
193
+ $sfsi_shuffle_interval = isset($_POST["sfsi_shuffle_interval"]) ? intval( $_POST["sfsi_shuffle_interval"] ): 'no';
194
+ $sfsi_shuffle_intervalTime = isset($_POST["sfsi_shuffle_intervalTime"]) ? sanitize_text_field( $_POST["sfsi_shuffle_intervalTime"] ): '';
195
+ $sfsi_specialIcon_animation = isset($_POST["sfsi_specialIcon_animation"]) ? sanitize_text_field( $_POST["sfsi_specialIcon_animation"] ): '';
196
+ $sfsi_specialIcon_MouseOver = isset($_POST["sfsi_specialIcon_MouseOver"]) ? sanitize_text_field( $_POST["sfsi_specialIcon_MouseOver"] ): 'no';
197
+ $sfsi_specialIcon_Firstload = isset($_POST["sfsi_specialIcon_Firstload"]) ? sanitize_text_field( $_POST["sfsi_specialIcon_Firstload"] ): 'no';
198
+ $sfsi_specialIcon_Firstload_Icons = isset($_POST["sfsi_specialIcon_Firstload_Icons"]) ? sanitize_text_field( $_POST["sfsi_specialIcon_Firstload_Icons"] ): 'all';
199
+ $sfsi_specialIcon_interval = isset($_POST["sfsi_specialIcon_interval"]) ? sanitize_text_field( $_POST["sfsi_specialIcon_interval"] ): 'no';
200
+ $sfsi_specialIcon_intervalTime = isset($_POST["sfsi_specialIcon_intervalTime"]) ? sanitize_text_field( $_POST["sfsi_specialIcon_intervalTime"] ): '';
201
+ $sfsi_specialIcon_intervalIcons = isset($_POST["sfsi_specialIcon_intervalIcons"]) ? sanitize_text_field( $_POST["sfsi_specialIcon_intervalIcons"] ): 'all';
202
 
203
  /* Design and animation option */
204
  $up_option3 =array(
230
  if ( !wp_verify_nonce( $_POST['nonce'], "update_step4")) {
231
  echo json_encode(array("wrong_nonce")); exit;
232
  }
233
+ if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
234
+
235
+
236
+
237
+ $sfsi_display_counts = isset($_POST["sfsi_display_counts"]) ? sanitize_text_field( $_POST["sfsi_display_counts"] ): 'no';
238
 
239
+ $sfsi_email_countsDisplay = isset($_POST["sfsi_email_countsDisplay"]) ? sanitize_text_field( $_POST["sfsi_email_countsDisplay"] ): 'no';
240
+ $sfsi_email_countsFrom = isset($_POST["sfsi_email_countsFrom"]) ? sanitize_text_field( $_POST["sfsi_email_countsFrom"] ): 'manual';
241
+ $sfsi_email_manualCounts = isset($_POST["sfsi_email_manualCounts"]) ? intval( trim($_POST["sfsi_email_manualCounts"])) : '';
242
 
243
+ $sfsi_rss_countsDisplay = isset($_POST["sfsi_rss_countsDisplay"]) ? sanitize_text_field( $_POST["sfsi_rss_countsDisplay"] ): 'no';
244
+ $sfsi_rss_manualCounts = isset($_POST["sfsi_rss_manualCounts"]) ? intval( trim($_POST["sfsi_rss_manualCounts"])) : '';
245
 
246
+ $sfsi_facebook_countsDisplay = isset($_POST["sfsi_facebook_countsDisplay"]) ? sanitize_text_field( $_POST["sfsi_facebook_countsDisplay"] ): 'no';
247
+ $sfsi_facebook_countsFrom = isset($_POST["sfsi_facebook_countsFrom"]) ? sanitize_text_field( $_POST["sfsi_facebook_countsFrom"] ): 'manual';
248
+ $sfsi_facebook_mypageCounts = isset($_POST["sfsi_facebook_mypageCounts"]) ? sanitize_text_field( trim($_POST["sfsi_facebook_mypageCounts"])) : '';
249
+ $sfsi_facebook_manualCounts = isset($_POST["sfsi_facebook_manualCounts"]) ? intval( trim($_POST["sfsi_facebook_manualCounts"])) : '';
250
+ $sfsi_facebook_PageLink = isset($_POST["sfsi_facebook_PageLink"]) ? sanitize_text_field( trim($_POST["sfsi_facebook_PageLink"])) : '';
251
 
252
+ $sfsi_twitter_countsDisplay = isset($_POST["sfsi_twitter_countsDisplay"]) ? sanitize_text_field( $_POST["sfsi_twitter_countsDisplay"] ): 'no';
253
+ $sfsi_twitter_countsFrom = isset($_POST["sfsi_twitter_countsFrom"]) ? sanitize_text_field( $_POST["sfsi_twitter_countsFrom"] ): 'manual';
254
+ $sfsi_twitter_manualCounts = isset($_POST["sfsi_twitter_manualCounts"]) ? intval( trim($_POST["sfsi_twitter_manualCounts"])) : '';
255
+ $tw_consumer_key = isset($_POST["tw_consumer_key"]) ? sanitize_text_field( trim($_POST["tw_consumer_key"]) ): '';
256
+ $tw_consumer_secret = isset($_POST["tw_consumer_secret"]) ? sanitize_text_field( trim($_POST["tw_consumer_secret"]) ): '';
257
+ $tw_oauth_access_token = isset($_POST["tw_oauth_access_token"]) ? sanitize_text_field( trim($_POST["tw_oauth_access_token"]) ): '';
258
+ $tw_oauth_access_token_secret = isset($_POST["tw_oauth_access_token_secret"]) ? sanitize_text_field( trim($_POST["tw_oauth_access_token_secret"]) ): '';
259
 
260
+ $sfsi_google_countsDisplay = isset($_POST["sfsi_google_countsDisplay"]) ? sanitize_text_field( $_POST["sfsi_google_countsDisplay"] ): 'no';
261
+ $sfsi_google_countsFrom = isset($_POST["sfsi_google_countsFrom"]) ? sanitize_text_field( $_POST["sfsi_google_countsFrom"] ): 'manual';
262
+ $sfsi_google_manualCounts = isset($_POST["sfsi_google_manualCounts"]) ? intval( trim($_POST["sfsi_google_manualCounts"])) : '';
263
+ $sfsi_google_api_key = isset($_POST["sfsi_google_api_key"]) ? sanitize_text_field( trim($_POST["sfsi_google_api_key"]) ): '';
264
 
265
+ $sfsi_linkedIn_countsDisplay = isset($_POST["sfsi_linkedIn_countsDisplay"]) ? sanitize_text_field( $_POST["sfsi_linkedIn_countsDisplay"] ): 'no';
266
+ $sfsi_linkedIn_countsFrom = isset($_POST["sfsi_linkedIn_countsFrom"]) ? sanitize_text_field( $_POST["sfsi_linkedIn_countsFrom"] ): 'manual';
267
+ $sfsi_linkedIn_manualCounts = isset($_POST["sfsi_linkedIn_manualCounts"]) ? intval( trim($_POST["sfsi_linkedIn_manualCounts"])) : '';
268
+ $ln_company = isset($_POST["ln_company"]) ? sanitize_text_field( trim($_POST["ln_company"])) : '';
269
+ $ln_api_key = isset($_POST["ln_api_key"]) ? sanitize_text_field( trim($_POST["ln_api_key"])) : '';
270
+ $ln_secret_key = isset($_POST["ln_secret_key"]) ? sanitize_text_field( trim($_POST["ln_secret_key"])) : '';
271
+ $ln_oAuth_user_token = isset($_POST["ln_oAuth_user_token"]) ? sanitize_text_field( trim($_POST["ln_oAuth_user_token"])) : '';
272
 
273
+ $sfsi_youtube_countsDisplay = isset($_POST["sfsi_youtube_countsDisplay"]) ? sanitize_text_field( $_POST["sfsi_youtube_countsDisplay"] ): 'no';
274
+ $sfsi_youtube_countsFrom = isset($_POST["sfsi_youtube_countsFrom"]) ? sanitize_text_field( $_POST["sfsi_youtube_countsFrom"] ): 'manual';
275
+ $sfsi_youtube_manualCounts = isset($_POST["sfsi_youtube_manualCounts"]) ? intval( $_POST["sfsi_youtube_manualCounts"] ): '';
276
+ $sfsi_youtube_user = isset($_POST["sfsi_youtube_user"]) ? sanitize_text_field( trim($_POST["sfsi_youtube_user"])) : '';
277
+ $sfsi_youtube_channelId = isset($_POST["sfsi_youtube_channelId"]) ? sanitize_text_field( trim($_POST["sfsi_youtube_channelId"])) : '';
278
 
279
+ $sfsi_pinterest_countsDisplay = isset($_POST["sfsi_pinterest_countsDisplay"]) ? sanitize_text_field( $_POST["sfsi_pinterest_countsDisplay"] ): 'no';
280
+ $sfsi_pinterest_countsFrom = isset($_POST["sfsi_pinterest_countsFrom"]) ? sanitize_text_field( $_POST["sfsi_pinterest_countsFrom"] ): 'manual';
281
+ $sfsi_pinterest_manualCounts = isset($_POST["sfsi_pinterest_manualCounts"]) ? intval( trim($_POST["sfsi_pinterest_manualCounts"])) : '';
282
+ $sfsi_pinterest_user = isset($_POST["sfsi_pinterest_user"]) ? sanitize_text_field( trim($_POST["sfsi_pinterest_user"]) ): '';
283
+ $sfsi_pinterest_board = isset($_POST["sfsi_pinterest_board"]) ? sanitize_text_field( trim($_POST["sfsi_pinterest_board"])) : '';
284
 
285
+ $sfsi_instagram_countsDisplay = isset($_POST["sfsi_instagram_countsDisplay"]) ? sanitize_text_field( $_POST["sfsi_instagram_countsDisplay"] ): 'no';
286
+ $sfsi_instagram_countsFrom = isset($_POST["sfsi_instagram_countsFrom"]) ? sanitize_text_field( $_POST["sfsi_instagram_countsFrom"] ): 'manual';
287
+ $sfsi_instagram_manualCounts = isset($_POST["sfsi_instagram_manualCounts"]) ? intval( trim($_POST["sfsi_instagram_manualCounts"])) : '';
288
+ $sfsi_instagram_User = isset($_POST["sfsi_instagram_User"]) ? sanitize_text_field( $_POST["sfsi_instagram_User"] ): '';
289
+ $sfsi_instagram_clientid = isset($_POST["sfsi_instagram_clientid"]) ? sanitize_text_field( $_POST["sfsi_instagram_clientid"] ): '';
290
+ $sfsi_instagram_appurl = isset($_POST["sfsi_instagram_appurl"]) ? sanitize_text_field( $_POST["sfsi_instagram_appurl"] ): '';
291
+ $sfsi_instagram_token = isset($_POST["sfsi_instagram_token"]) ? sanitize_text_field( $_POST["sfsi_instagram_token"] ): '';
292
 
293
+ $sfsi_facebookPage_url = isset($_POST["sfsi_facebookPage_url"]) ? sanitize_text_field( trim($_POST["sfsi_facebookPage_url"])) : '';
294
 
295
  $up_option4=array(
296
  'sfsi_display_counts' => sanitize_text_field($sfsi_display_counts),
362
  if ( !wp_verify_nonce( $_POST['nonce'], "update_step5")) {
363
  echo json_encode(array("wrong_nonce")); exit;
364
  }
365
+ if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
366
+
367
+
368
+
369
+ $sfsi_icons_size = isset($_POST["sfsi_icons_size"]) ? sanitize_text_field( $_POST["sfsi_icons_size"] ): '51';
370
+ $sfsi_icons_spacing = isset($_POST["sfsi_icons_spacing"]) ? sanitize_text_field( $_POST["sfsi_icons_spacing"] ): '2';
371
+ $sfsi_icons_Alignment = isset($_POST["sfsi_icons_Alignment"]) ? sanitize_text_field( $_POST["sfsi_icons_Alignment"] ): 'center';
372
 
373
+ $sfsi_icons_perRow = isset($_POST["sfsi_icons_perRow"]) ? sanitize_text_field( $_POST["sfsi_icons_perRow"] ): '5';
374
+ $sfsi_icons_ClickPageOpen = isset($_POST["sfsi_icons_ClickPageOpen"]) ? sanitize_text_field( $_POST["sfsi_icons_ClickPageOpen"] ): 'no';
375
+ $sfsi_icons_suppress_errors = isset($_POST["sfsi_icons_suppress_errors"]) ? sanitize_text_field( $_POST["sfsi_icons_suppress_errors"] ): 'no';
376
+ $sfsi_icons_stick = isset($_POST["sfsi_icons_stick"]) ? sanitize_text_field( $_POST["sfsi_icons_stick"] ): 'no';
377
+
378
+ $sfsi_rss_MouseOverText = isset($_POST["sfsi_rss_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_rss_MouseOverText"] ): '';
379
+ $sfsi_email_MouseOverText = isset($_POST["sfsi_email_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_email_MouseOverText"] ): '';
380
+ $sfsi_twitter_MouseOverText = isset($_POST["sfsi_twitter_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_twitter_MouseOverText"] ): '';
381
+ $sfsi_facebook_MouseOverText = isset($_POST["sfsi_facebook_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_facebook_MouseOverText"] ): '';
382
+ $sfsi_google_MouseOverText = isset($_POST["sfsi_google_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_google_MouseOverText"] ): '';
383
+ $sfsi_linkedIn_MouseOverText = isset($_POST["sfsi_linkedIn_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_linkedIn_MouseOverText"] ): '';
384
+ $sfsi_pinterest_MouseOverText = isset($_POST["sfsi_pinterest_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_pinterest_MouseOverText"] ): '';
385
+ $sfsi_instagram_MouseOverText = isset($_POST["sfsi_instagram_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_instagram_MouseOverText"] ): '';
386
+ $sfsi_youtube_MouseOverText = isset($_POST["sfsi_youtube_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_youtube_MouseOverText"] ): '';
387
+ if(isset($_POST["sfsi_custom_orders"])){
388
+ $sfsi_custom_orders = array();
389
+ foreach($_POST["sfsi_custom_orders"] as $index=>$custom_order){
390
+ $sfsi_custom_orders[$index] = array();
391
+ $sfsi_custom_orders[$index]["order"] = intval($_POST["sfsi_custom_orders"][$index]["order"] );
392
+ $sfsi_custom_orders[$index]["ele"] = intval($_POST["sfsi_custom_orders"][$index]["order"] );
393
+ }
394
+ }
395
+
396
+ $sfsi_custom_orders = isset($_POST["sfsi_custom_orders"]) ? serialize($sfsi_custom_orders) : '';
397
 
398
+ $sfsi_rssIcon_order = isset($_POST["sfsi_rssIcon_order"]) ? sanitize_text_field( $_POST["sfsi_rssIcon_order"] ): '1';
399
+ $sfsi_emailIcon_order = isset($_POST["sfsi_emailIcon_order"]) ? sanitize_text_field( $_POST["sfsi_emailIcon_order"] ): '2';
400
+ $sfsi_facebookIcon_order = isset($_POST["sfsi_facebookIcon_order"]) ? sanitize_text_field( $_POST["sfsi_facebookIcon_order"] ): '3';
401
+ $sfsi_googleIcon_order = isset($_POST["sfsi_googleIcon_order"]) ? sanitize_text_field( $_POST["sfsi_googleIcon_order"] ): '4';
402
+ $sfsi_twitterIcon_order = isset($_POST["sfsi_twitterIcon_order"]) ? sanitize_text_field( $_POST["sfsi_twitterIcon_order"] ): '5';
403
+ $sfsi_youtubeIcon_order = isset($_POST["sfsi_youtubeIcon_order"]) ? sanitize_text_field( $_POST["sfsi_youtubeIcon_order"] ): '7';
404
+ $sfsi_pinterestIcon_order = isset($_POST["sfsi_pinterestIcon_order"]) ? sanitize_text_field( $_POST["sfsi_pinterestIcon_order"] ): '8';
405
+ $sfsi_instagramIcon_order = isset($_POST["sfsi_instagramIcon_order"]) ? sanitize_text_field( $_POST["sfsi_instagramIcon_order"] ): '10';
406
+ $sfsi_linkedinIcon_order = isset($_POST["sfsi_linkedinIcon_order"]) ? sanitize_text_field( $_POST["sfsi_linkedinIcon_order"] ): '9';
407
+ if(isset($_POST["sfsi_custom_MouseOverTexts"])){
408
+ $sfsi_custom_MouseOverTexts = array();
409
+ foreach($_POST['sfsi_custom_MouseOverTexts'] as $index=>$sfsi_custom_MouseOverText){
410
+ $sfsi_custom_MouseOverTexts[$index] = sanitize_text_field($_POST["sfsi_custom_MouseOverTexts"][$index]);
411
+ }
412
+ }
413
+ $sfsi_custom_MouseOverTexts = isset($sfsi_custom_MouseOverTexts) ? serialize($sfsi_custom_MouseOverTexts) : '';
414
 
415
+ $sfsi_custom_social_hide = isset($_POST["sfsi_custom_social_hide"]) ? sanitize_text_field( $_POST["sfsi_custom_social_hide"] ): 'no';
416
 
417
  /* size and spacing of icons */
418
  $up_option5=array(
463
  if ( !wp_verify_nonce( $_POST['nonce'], "update_step6")) {
464
  echo json_encode(array("wrong_nonce")); exit;
465
  }
466
+ if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
467
+
468
+
469
 
470
+ $sfsi_show_Onposts = isset($_POST["sfsi_show_Onposts"]) ? sanitize_text_field( $_POST["sfsi_show_Onposts"] ): 'no';
471
 
472
+ $sfsi_icons_postPositon = isset($_POST["sfsi_icons_postPositon"]) ? sanitize_text_field( $_POST["sfsi_icons_postPositon"] ): '';
473
+ $sfsi_icons_alignment = isset($_POST["sfsi_icons_alignment"]) ? sanitize_text_field( $_POST["sfsi_icons_alignment"] ): 'center-right';
474
+ $sfsi_textBefor_icons = isset($_POST["sfsi_textBefor_icons"]) ? sanitize_text_field( $_POST["sfsi_textBefor_icons"] ): '';
475
+ $sfsi_icons_DisplayCounts = isset($_POST["sfsi_icons_DisplayCounts"]) ? sanitize_text_field( $_POST["sfsi_icons_DisplayCounts"] ): 'no';
476
+ $sfsi_rectsub = isset($_POST["sfsi_rectsub"]) ? sanitize_text_field( $_POST["sfsi_rectsub"] ): 'no';
477
+ $sfsi_rectfb = isset($_POST["sfsi_rectfb"]) ? sanitize_text_field( $_POST["sfsi_rectfb"] ): 'no';
478
+ $sfsi_rectgp = isset($_POST["sfsi_rectgp"]) ? sanitize_text_field( $_POST["sfsi_rectgp"] ): 'no';
479
+ $sfsi_rectshr = isset($_POST["sfsi_rectshr"]) ? sanitize_text_field( $_POST["sfsi_rectshr"] ): 'no';
480
+ $sfsi_recttwtr = isset($_POST["sfsi_recttwtr"]) ? sanitize_text_field( $_POST["sfsi_recttwtr"] ): 'no';
481
+ $sfsi_rectpinit = isset($_POST["sfsi_rectpinit"]) ? sanitize_text_field( $_POST["sfsi_rectpinit"] ): 'no';
482
+ $sfsi_rectfbshare = isset($_POST["sfsi_rectfbshare"]) ? sanitize_text_field( $_POST["sfsi_rectfbshare"] ): 'no';
483
  /* post options */
484
  $up_option6=array(
485
 
508
  if ( !wp_verify_nonce( $_POST['nonce'], "update_step7")) {
509
  echo json_encode(array("wrong_nonce")); exit;
510
  }
511
+ if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
512
+
513
+
514
+
515
+ $sfsi_popup_text = isset($_POST["sfsi_popup_text"]) ? sanitize_text_field( $_POST["sfsi_popup_text"] ): '';
516
+ $sfsi_popup_background_color = isset($_POST["sfsi_popup_background_color"]) ? sfsi_sanitize_hex_color( $_POST["sfsi_popup_background_color"] ): '#fffff';
517
+ $sfsi_popup_border_color = isset($_POST["sfsi_popup_border_color"]) ? sfsi_sanitize_hex_color( $_POST["sfsi_popup_border_color"] ): 'center-right';
518
+ $sfsi_popup_border_thickness = isset($_POST["sfsi_popup_border_thickness"]) ? intval( $_POST["sfsi_popup_border_thickness"] ): '';
519
+ $sfsi_popup_border_shadow = isset($_POST["sfsi_popup_border_shadow"]) ? sanitize_text_field( $_POST["sfsi_popup_border_shadow"] ): 'no';
520
+ $sfsi_popup_font = isset($_POST["sfsi_popup_font"]) ? sanitize_text_field( $_POST["sfsi_popup_font"] ): '';
521
+ $sfsi_popup_fontSize = isset($_POST["sfsi_popup_fontSize"]) ? intval( $_POST["sfsi_popup_fontSize"] ): 'no';
522
+ $sfsi_popup_fontStyle = isset($_POST["sfsi_popup_fontStyle"]) ? sanitize_text_field( $_POST["sfsi_popup_fontStyle"] ): '';
523
+ $sfsi_popup_fontColor = isset($_POST["sfsi_popup_fontColor"]) ? sfsi_sanitize_hex_color( $_POST["sfsi_popup_fontColor"] ): 'no';
524
+ $sfsi_Show_popupOn = isset($_POST["sfsi_Show_popupOn"]) ? sanitize_text_field( $_POST["sfsi_Show_popupOn"] ): '';
525
+ if(isset($_POST["sfsi_Show_popupOn_PageIDs"])){
526
+ $sfsi_Show_popupOn_PageIDs_arr=array();
527
+ foreach($_POST["sfsi_Show_popupOn_PageIDs"] as $index=>$sfsi_Show_popupOn_PageID){
528
+ $sfsi_Show_popupOn_PageIDs_arr[$index]=intval($sfsi_Show_popupOn_PageID);
529
+ }
530
+ }
531
+ $sfsi_Show_popupOn_PageIDs = isset($sfsi_Show_popupOn_PageIDs_arr) ? serialize($sfsi_Show_popupOn_PageIDs_arr) : '';
532
+ $sfsi_Shown_pop = isset($_POST["sfsi_Shown_pop"]) ? sanitize_text_field( $_POST["sfsi_Shown_pop"] ): '';
533
+ $sfsi_Shown_popupOnceTime = isset($_POST["sfsi_Shown_popupOnceTime"]) ? sanitize_text_field( $_POST["sfsi_Shown_popupOnceTime"] ): 'no';
534
+ $sfsi_Shown_popuplimitPerUserTime = isset($_POST["sfsi_Shown_popuplimitPerUserTime"]) ? sanitize_text_field( $_POST["sfsi_Shown_popuplimitPerUserTime"] ): '';
535
 
536
  /* icons pop options */
537
  $up_option7=array(
563
  if ( !wp_verify_nonce( $_POST['nonce'], "update_step8")) {
564
  echo json_encode(array("wrong_nonce")); exit;
565
  }
566
+ if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
567
+
568
 
569
+
570
+ $sfsi_form_adjustment = isset($_POST["sfsi_form_adjustment"]) ? sanitize_text_field( $_POST["sfsi_form_adjustment"] ): 'yes';
571
+ $sfsi_form_height = isset($_POST["sfsi_form_height"]) ? intval( $_POST["sfsi_form_height"] ): '180';
572
+ $sfsi_form_width = isset($_POST["sfsi_form_width"]) ? intval( $_POST["sfsi_form_width"] ): '230';
573
+ $sfsi_form_border = isset($_POST["sfsi_form_border"]) ? sanitize_text_field( $_POST["sfsi_form_border"] ): 'no';
574
+ $sfsi_form_border_thickness = isset($_POST["sfsi_form_border_thickness"]) ? intval( $_POST["sfsi_form_border_thickness"] ): '1';
575
+ $sfsi_form_border_color = isset($_POST["sfsi_form_border_color"]) ? sfsi_sanitize_hex_color( $_POST["sfsi_form_border_color"] ): '#b5b5b5';
576
+ $sfsi_form_background = isset($_POST["sfsi_form_background"]) ? sfsi_sanitize_hex_color( $_POST["sfsi_form_background"] ): '#eff7f7';
577
 
578
+ $sfsi_form_heading_text = isset($_POST["sfsi_form_heading_text"]) ? sanitize_text_field( $_POST["sfsi_form_heading_text"] ): 'Get new posts by email';
579
+ $sfsi_form_heading_font = isset($_POST["sfsi_form_heading_font"]) ? sanitize_text_field( $_POST["sfsi_form_heading_font"] ): 'Helvetica,Arial,sans-serif';
580
+ $sfsi_form_heading_fontstyle= isset($_POST["sfsi_form_heading_fontstyle"]) ? sanitize_text_field( $_POST["sfsi_form_heading_fontstyle"] ): 'bold';
581
+ $sfsi_form_heading_fontcolor= isset($_POST["sfsi_form_heading_fontcolor"]) ? sfsi_sanitize_hex_color( $_POST["sfsi_form_heading_fontcolor"] ): '#000000';
582
+ $sfsi_form_heading_fontsize = isset($_POST["sfsi_form_heading_fontsize"]) ? intval( $_POST["sfsi_form_heading_fontsize"] ): '16';
583
+ $sfsi_form_heading_fontalign= isset($_POST["sfsi_form_heading_fontalign"]) ? sanitize_text_field( $_POST["sfsi_form_heading_fontalign"] ):'center';
584
 
585
+ $sfsi_form_field_text = isset($_POST["sfsi_form_field_text"]) ? sanitize_text_field( $_POST["sfsi_form_field_text"] ): 'Subscribe';
586
+ $sfsi_form_field_font = isset($_POST["sfsi_form_field_font"]) ? sanitize_text_field( $_POST["sfsi_form_field_font"] ): 'Helvetica,Arial,sans-serif';
587
+ $sfsi_form_field_fontstyle = isset($_POST["sfsi_form_field_fontstyle"]) ? sanitize_text_field( $_POST["sfsi_form_field_fontstyle"] ): 'normal';
588
+ $sfsi_form_field_fontcolor = isset($_POST["sfsi_form_field_fontcolor"]) ? sfsi_sanitize_hex_color( $_POST["sfsi_form_field_fontcolor"] ): '#000000';
589
+ $sfsi_form_field_fontsize = isset($_POST["sfsi_form_field_fontsize"]) ? intval( $_POST["sfsi_form_field_fontsize"] ): '14';
590
+ $sfsi_form_field_fontalign = isset($_POST["sfsi_form_field_fontalign"]) ? sanitize_text_field( $_POST["sfsi_form_field_fontalign"] ):'center';
591
 
592
+ $sfsi_form_button_text = isset($_POST["sfsi_form_button_text"]) ? sanitize_text_field( $_POST["sfsi_form_button_text"] ): 'Subscribe';
593
+ $sfsi_form_button_font = isset($_POST["sfsi_form_button_font"]) ? sanitize_text_field( $_POST["sfsi_form_button_font"] ): 'Helvetica,Arial,sans-serif';
594
+ $sfsi_form_button_fontstyle = isset($_POST["sfsi_form_button_fontstyle"]) ? sanitize_text_field( $_POST["sfsi_form_button_fontstyle"] ): 'bold';
595
+ $sfsi_form_button_fontcolor = isset($_POST["sfsi_form_button_fontcolor"]) ? sfsi_sanitize_hex_color( $_POST["sfsi_form_button_fontcolor"] ): '#000000';
596
+ $sfsi_form_button_fontsize = isset($_POST["sfsi_form_button_fontsize"]) ? intval( $_POST["sfsi_form_button_fontsize"] ): '16';
597
+ $sfsi_form_button_fontalign = isset($_POST["sfsi_form_button_fontalign"]) ? sanitize_text_field( $_POST["sfsi_form_button_fontalign"] ):'center';
598
+ $sfsi_form_button_background= isset($_POST["sfsi_form_button_background"]) ? sfsi_sanitize_hex_color( $_POST["sfsi_form_button_background"]):'#dedede';
599
 
600
  /* icons pop options */
601
  $up_option8 = array(
641
  if ( !wp_verify_nonce( $_POST['nonce'], "update_step9")) {
642
  echo json_encode(array("wrong_nonce")); exit;
643
  }
644
+ if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
645
+
646
 
 
647
 
648
+ $sfsi_show_via_widget = isset($_POST["sfsi_show_via_widget"]) ? sanitize_text_field( $_POST["sfsi_show_via_widget"] ) : 'no';
 
 
 
 
 
 
649
 
650
+ $sfsi_icons_float = isset($_POST["sfsi_icons_float"]) ? sanitize_text_field( $_POST["sfsi_icons_float"] ) : 'no';
651
+ $sfsi_icons_floatPosition = isset($_POST["sfsi_icons_floatPosition"]) ? sanitize_text_field( $_POST["sfsi_icons_floatPosition"] ) : 'center-right';
652
+ $sfsi_icons_floatMargin_top = isset($_POST["sfsi_icons_floatMargin_top"]) ? intval(sanitize_text_field( $_POST["sfsi_icons_floatMargin_top"] )) : '';
653
+ $sfsi_icons_floatMargin_bottom = isset($_POST["sfsi_icons_floatMargin_bottom"]) ? intval(sanitize_text_field( $_POST["sfsi_icons_floatMargin_bottom"])): '';
654
+ $sfsi_icons_floatMargin_left = isset($_POST["sfsi_icons_floatMargin_left"]) ? intval(sanitize_text_field( $_POST["sfsi_icons_floatMargin_left"] )) : '';
655
+ $sfsi_icons_floatMargin_right = isset($_POST["sfsi_icons_floatMargin_right"]) ? intval(sanitize_text_field( $_POST["sfsi_icons_floatMargin_right"] )): '';
656
+ $sfsi_disable_floaticons = isset($_POST["sfsi_disable_floaticons"]) ? sanitize_text_field( $_POST["sfsi_disable_floaticons"] ) : 'no';
657
 
658
+ $sfsi_show_via_shortcode = isset($_POST["sfsi_show_via_shortcode"]) ? sanitize_text_field( $_POST["sfsi_show_via_shortcode"] ) : 'no';
659
+
660
+ $sfsi_show_via_afterposts = isset($_POST["sfsi_show_via_afterposts"]) ? sanitize_text_field( $_POST["sfsi_show_via_afterposts"] ) : 'no';
661
 
662
 
663
  /* icons pop options */
913
  if ( !wp_verify_nonce( $_POST['nonce'], "active_footer")) {
914
  echo json_encode(array('res'=>'wrong_nonce')); exit;
915
  }
916
+ if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
917
+
918
+
919
+
920
  update_option('sfsi_footer_sec', 'yes');
921
  echo json_encode(array('res'=>'success'));exit;
922
  }
926
  if ( !wp_verify_nonce( $_POST['nonce'], "remove_footer")) {
927
  echo json_encode(array('res'=>'wrong_nonce')); exit;
928
  }
929
+ if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
930
+
931
+
932
+
933
  update_option('sfsi_footer_sec', 'no');
934
  echo json_encode(array('res'=>'success'));exit;
935
  }
936
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
937
 
938
  add_action("wp_ajax_notification_read", "notification_read");
939
  function notification_read()
940
  {
941
+ if ( !wp_verify_nonce( $_POST['nonce'], "notification_read")) {
942
+ echo json_encode(array('res'=>'wrong_nonce')); exit;
943
+ }
944
+ if(current_user_can('manage_options')){
945
+ update_option("show_notification", "no");
946
+ echo "success";
947
+ }else{
948
+ echo "Error";
949
+ }
950
  die;
951
  }
952
 
953
  add_action("wp_ajax_new_notification_read", "new_notification_read");
954
  function new_notification_read()
955
  {
956
+ if ( !wp_verify_nonce( $_POST['nonce'], "new_notification_read")) {
957
+ echo json_encode(array('res'=>'wrong_nonce')); exit;
958
+ }
959
+ if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
960
+
961
+
962
  update_option("show_new_notification", "no");
963
  echo "success";
964
  die;
966
  add_action("wp_ajax_sfsicurlerrornotification", "sfsicurlerrornotification");
967
  function sfsicurlerrornotification()
968
  {
969
+ if ( !wp_verify_nonce( $_POST['nonce'], "sfsicurlerrornotification")) {
970
+ echo json_encode(array('res'=>'wrong_nonce')); exit;
971
+ }
972
+ if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
973
+
974
+
975
+
976
  update_option("sfsi_curlErrorNotices", "no");
977
  echo "success";
978
  die;
1003
  function sfsi_bannerOption(){
1004
 
1005
  error_reporting(0);
1006
+ if ( !wp_verify_nonce( $_POST['nonce'], "bannerOption")) {
1007
+ echo json_encode(array("wrong_nonce")); exit;
1008
+ }
1009
+ if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
1010
+
1011
+
1012
 
1013
  if(get_option("show_new_notification") == "yes"){
1014
 
1015
  $objThemeCheck = new sfsi_ThemeCheck();
1016
 
1017
+ $domainname = isset($_POST['domain'])?sanitize_text_field($_POST['domain']):$objThemeCheck->sfsi_plus_getdomain(get_bloginfo('url'));
1018
 
1019
  // Get all themes data which incudes nobrainer
1020
  $themeDataArr = $objThemeCheck->sfsi_plus_get_themeData();
1172
  SFSI.ajax({
1173
  url:sfsi_icon_ajax_object.ajax_url,
1174
  type:"post",
1175
+ data: {action: "new_notification_read", nonce:"'.(wp_create_nonce('new_notification_read')).'"},
1176
  success:function(msg){
1177
  if(jQuery.trim(msg) == "success")
1178
  {
1185
  SFSI.ajax({
1186
  url:sfsi_icon_ajax_object.ajax_url,
1187
  type:"post",
1188
+ data: {action: "new_notification_read", nonce:"'.(wp_create_nonce('new_notification_read')).'"},
1189
  success:function(msg){
1190
  if(jQuery.trim(msg) == "success")
1191
  {
1203
  function sfsi_OfflineChatMessage(){
1204
  error_reporting(0);
1205
  // extract($_POST);
1206
+ if ( !wp_verify_nonce( $_POST['nonce'], "OfflineChatMessage")) {
1207
+ echo json_encode(array("wrong_nonce")); exit;
1208
+ }
1209
+ if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
1210
+
1211
+
1212
+
1213
+ $email = isset($_POST) && isset($_POST['email']) ? sanitize_email($_POST['email']) : '';
1214
  $message = isset($_POST) && isset($_POST['message']) ? sanitize_textarea_field($_POST['message']) : '';
1215
  $body="<table><tr><th>Site:</th><td>".home_url()."</td></tr><tr><th>Plugin:</th><td>Old Plugin</td></tr><tr><th>Email:</th><td>".$email."</td></tr><tr><th>Message:</th><td>".$message."</td></tr></table>";
1216
  $sent=wp_mail('help@ultimatelysocial.com',"New question from user",$body,array('Content-Type: text/html; charset=UTF-8'));
libs/controllers/sfsi_iconsUpload_contoller.php CHANGED
@@ -3,7 +3,16 @@
3
  add_action('wp_ajax_UploadSkins','sfsi_UploadSkins');
4
  function sfsi_UploadSkins()
5
  {
6
- extract($_REQUEST);
 
 
 
 
 
 
 
 
 
7
  $upload_dir = wp_upload_dir();
8
 
9
  $ThumbSquareSize = 100; //Thumbnail will be 57X57
@@ -12,15 +21,20 @@ function sfsi_UploadSkins()
12
  $AcceessUrl = $upload_dir['url'].'/';
13
  $ThumbPrefix = "cmicon_";
14
 
15
- $data = $_REQUEST["custom_imgurl"];
16
  $params = array();
17
  parse_str($data, $params);
18
-
 
19
  foreach($params as $key => $value)
20
  {
 
21
  $custom_imgurl = $value;
22
  if(!empty($custom_imgurl))
23
  {
 
 
 
24
  $sfsi_custom_files[] = $custom_imgurl;
25
 
26
  list($CurWidth, $CurHeight) = getimagesize($custom_imgurl);
@@ -81,18 +95,21 @@ function sfsi_DeleteSkin()
81
  if ( !wp_verify_nonce( $_POST['nonce'], "deleteCustomSkin")) {
82
  echo json_encode(array('res'=>"error")); exit;
83
  }
 
 
 
84
 
85
  $upload_dir = wp_upload_dir();
86
 
87
- if($_POST['action'] == 'DeleteSkin' && isset($_POST['iconname']) && !empty($_POST['iconname']) && current_user_can('manage_options'))
88
  {
89
  $iconsArray = array(
90
  "rss_skin","email_skin","facebook_skin","twitter_skin","google_skin",
91
  "share_skin","youtube_skin","linkedin_skin","pintrest_skin","instagram_skin"
92
  );
93
- if(in_array($_POST['iconname'], $iconsArray))
94
  {
95
- $imgurl = get_option( $_POST['iconname'] );
96
  $path = parse_url($imgurl, PHP_URL_PATH);
97
 
98
  if(is_file($_SERVER['DOCUMENT_ROOT'] . $path))
@@ -100,7 +117,7 @@ function sfsi_DeleteSkin()
100
  unlink($_SERVER['DOCUMENT_ROOT'] . $path);
101
  }
102
 
103
- delete_option( $_POST['iconname'] );
104
  die(json_encode(array('res'=>'success')));
105
  }
106
  else
@@ -119,7 +136,13 @@ add_action('wp_ajax_Iamdone','sfsi_Iamdone');
119
  function sfsi_Iamdone()
120
  {
121
  $return = '';
122
-
 
 
 
 
 
 
123
  if(get_option("rss_skin"))
124
  {
125
  $icon = get_option("rss_skin");
@@ -218,8 +241,20 @@ add_action('wp_ajax_UploadIcons','sfsi_UploadIcons');
218
  /* uplaod custom icon {change by monad}*/
219
  function sfsi_UploadIcons()
220
  {
 
 
 
 
 
 
 
221
  // extract($_POST);
222
- $custom_imgurl = isset($_POST) && isset($_POST['custom_imgurl']) ? sanitize_text_field($_POST['custom_imgurl']):'';
 
 
 
 
 
223
  $upload_dir = wp_upload_dir();
224
 
225
  $ThumbSquareSize = 100; //Thumbnail will be 57X57
@@ -307,33 +342,42 @@ add_action('wp_ajax_deleteIcons','sfsi_deleteIcons');
307
 
308
  function sfsi_deleteIcons()
309
  {
 
 
 
 
 
 
 
310
  if(isset($_POST['icon_name']) && !empty($_POST['icon_name']))
311
  {
312
  /* get icons details to delete it from plugin folder */
313
- $custom_icon = explode('_',$_POST['icon_name']);
 
 
314
  $sec_options1 = (get_option('sfsi_section1_options',false)) ? unserialize(get_option('sfsi_section1_options',false)) : array() ;
315
  $sec_options2 = (get_option('sfsi_section2_options',false)) ? unserialize(get_option('sfsi_section2_options',false)) : array() ;
316
  $up_icons = (is_array(unserialize($sec_options1['sfsi_custom_files']))) ? unserialize($sec_options1['sfsi_custom_files']) : array();
317
  $icons_links = (is_array(unserialize($sec_options2['sfsi_CustomIcon_links']))) ? unserialize($sec_options2['sfsi_CustomIcon_links']) : array();
318
- $icon_path=$up_icons[$custom_icon[1]];
319
- $path= pathinfo($icon_path);
320
-
321
  // Changes By {Monad}
322
  /*if(is_file(SFSI_DOCROOT.'/images/custom_icons/'.$path['basename']))
323
  {
324
 
325
  unlink(SFSI_DOCROOT.'/images/custom_icons/'.$path['basename']);
326
  }*/
327
- $imgpath = parse_url($icon_path, PHP_URL_PATH);
 
328
  if(is_file($_SERVER['DOCUMENT_ROOT'] . $imgpath))
329
  {
330
  unlink($_SERVER['DOCUMENT_ROOT'] . $imgpath);
331
  }
332
 
333
- if(isset($up_icons[$custom_icon[1]]))
334
  {
335
- unset($up_icons[$custom_icon[1]]);
336
- unset($icons_links[$custom_icon[1]]);
337
  }
338
  else
339
  {
@@ -346,7 +390,7 @@ function sfsi_deleteIcons()
346
  $sec_options2['sfsi_CustomIcon_links']=serialize($icons_links);
347
 
348
  end($up_icons);
349
- $key=(key($up_icons))? key($up_icons) :$custom_icon[1] ;
350
  $total_uploads=(isset($up_icons) && is_array($up_icons))?count($up_icons):0;
351
 
352
  update_option('sfsi_section1_options',serialize($sec_options1));
@@ -462,24 +506,4 @@ function cropImage($CurWidth,$CurHeight,$iSize,$DestFolder,$SrcImage,$Quality,$I
462
  return false;
463
  }
464
  }
465
- add_action('wp_ajax_sfsi_feedbackForm','sfsi_feedbackForm');
466
- function sfsi_feedbackForm()
467
- {
468
- if(!empty($_POST["msg"]))
469
- {
470
- $useremail = "uninstall@ultimatelysocial.com";
471
- $subject = "Feedback from Ultimate Social Media Icons ".get_option('sfsi_pluginVersion')." user";
472
- $from = $_POST["email"];
473
- $message = $_POST["msg"];
474
- $sitename = get_bloginfo("name");
475
-
476
- $headers = "MIME-Version: 1.0" . "\r\n";
477
- $headers .= "Content-type:text;charset=iso-8859-1" . "\r\n";
478
- $headers .= sprintf('From: %s <%s>', $sitename, $from). "\r\n";
479
- $headers .= "X-Mailer: PHP/" . phpversion();
480
-
481
- mail($useremail,$subject,$message,$headers);
482
- }
483
- die;
484
- }
485
  ?>
3
  add_action('wp_ajax_UploadSkins','sfsi_UploadSkins');
4
  function sfsi_UploadSkins()
5
  {
6
+ // extract($_REQUEST);
7
+ if ( !wp_verify_nonce( $_POST['nonce'], "UploadSkins")) {
8
+ echo json_encode(array("wrong_nonce")); exit;
9
+ }
10
+ if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
11
+
12
+
13
+
14
+ $custom_imgurl = (isset($_POST['custom_imgurl']))?sanitize_text_field($_POST['custom_imgurl']):'';
15
+
16
  $upload_dir = wp_upload_dir();
17
 
18
  $ThumbSquareSize = 100; //Thumbnail will be 57X57
21
  $AcceessUrl = $upload_dir['url'].'/';
22
  $ThumbPrefix = "cmicon_";
23
 
24
+ $data = $custom_imgurl;
25
  $params = array();
26
  parse_str($data, $params);
27
+ // var_dump($params);die();
28
+ $site_url = home_url();
29
  foreach($params as $key => $value)
30
  {
31
+
32
  $custom_imgurl = $value;
33
  if(!empty($custom_imgurl))
34
  {
35
+ if(strpos($custom_imgurl, $site_url) === false){
36
+ die(json_encode(array('res'=>'thumb_error')));
37
+ }
38
  $sfsi_custom_files[] = $custom_imgurl;
39
 
40
  list($CurWidth, $CurHeight) = getimagesize($custom_imgurl);
95
  if ( !wp_verify_nonce( $_POST['nonce'], "deleteCustomSkin")) {
96
  echo json_encode(array('res'=>"error")); exit;
97
  }
98
+ if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
99
+
100
+
101
 
102
  $upload_dir = wp_upload_dir();
103
 
104
+ if(sanitize_text_field($_POST['action']) == 'DeleteSkin' && isset($_POST['iconname']) && !empty($_POST['iconname']) && current_user_can('manage_options'))
105
  {
106
  $iconsArray = array(
107
  "rss_skin","email_skin","facebook_skin","twitter_skin","google_skin",
108
  "share_skin","youtube_skin","linkedin_skin","pintrest_skin","instagram_skin"
109
  );
110
+ if(in_array(sanitize_text_field($_POST['iconname']), $iconsArray))
111
  {
112
+ $imgurl = get_option( sanitize_text_field($_POST['iconname']) );
113
  $path = parse_url($imgurl, PHP_URL_PATH);
114
 
115
  if(is_file($_SERVER['DOCUMENT_ROOT'] . $path))
117
  unlink($_SERVER['DOCUMENT_ROOT'] . $path);
118
  }
119
 
120
+ delete_option( sanitize_text_field($_POST['iconname']) );
121
  die(json_encode(array('res'=>'success')));
122
  }
123
  else
136
  function sfsi_Iamdone()
137
  {
138
  $return = '';
139
+ if ( !wp_verify_nonce( $_POST['nonce'], "Iamdone")) {
140
+ echo json_encode(array('res'=>"error")); exit;
141
+ }
142
+ if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
143
+
144
+
145
+
146
  if(get_option("rss_skin"))
147
  {
148
  $icon = get_option("rss_skin");
241
  /* uplaod custom icon {change by monad}*/
242
  function sfsi_UploadIcons()
243
  {
244
+ if ( !wp_verify_nonce( $_POST['nonce'], "UploadIcons")) {
245
+ echo json_encode(array('res'=>"error")); exit;
246
+ }
247
+ if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
248
+
249
+
250
+
251
  // extract($_POST);
252
+ $custom_imgurl = isset($_POST) && isset($_POST['custom_imgurl']) ? esc_url($_POST['custom_imgurl']):'';
253
+
254
+ if(strpos($custom_imgurl, home_url()) === false){
255
+ die(json_encode(array('res'=>'thumb_error')));
256
+ }
257
+
258
  $upload_dir = wp_upload_dir();
259
 
260
  $ThumbSquareSize = 100; //Thumbnail will be 57X57
342
 
343
  function sfsi_deleteIcons()
344
  {
345
+ if ( !wp_verify_nonce( $_POST['nonce'], "deleteIcons")) {
346
+ echo json_encode(array('res'=>"error")); exit;
347
+ }
348
+ if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
349
+
350
+
351
+
352
  if(isset($_POST['icon_name']) && !empty($_POST['icon_name']))
353
  {
354
  /* get icons details to delete it from plugin folder */
355
+ $custom_icon_name= sanitize_text_field($_POST['icon_name']);
356
+ preg_match_all('/\d+/', $custom_icon_name, $custom_icon_numbers);
357
+ $custom_icon_number = count($custom_icon_numbers)>0?((is_array($custom_icon_numbers[0])&&count($custom_icon_numbers[0])>0)?$custom_icon_numbers[0][0]:0):0;
358
  $sec_options1 = (get_option('sfsi_section1_options',false)) ? unserialize(get_option('sfsi_section1_options',false)) : array() ;
359
  $sec_options2 = (get_option('sfsi_section2_options',false)) ? unserialize(get_option('sfsi_section2_options',false)) : array() ;
360
  $up_icons = (is_array(unserialize($sec_options1['sfsi_custom_files']))) ? unserialize($sec_options1['sfsi_custom_files']) : array();
361
  $icons_links = (is_array(unserialize($sec_options2['sfsi_CustomIcon_links']))) ? unserialize($sec_options2['sfsi_CustomIcon_links']) : array();
362
+ $icon_url=$up_icons[$custom_icon_number];
363
+ $url_info= pathinfo($icon_url);
 
364
  // Changes By {Monad}
365
  /*if(is_file(SFSI_DOCROOT.'/images/custom_icons/'.$path['basename']))
366
  {
367
 
368
  unlink(SFSI_DOCROOT.'/images/custom_icons/'.$path['basename']);
369
  }*/
370
+ $imgpath = parse_url($icon_url, PHP_URL_PATH);
371
+
372
  if(is_file($_SERVER['DOCUMENT_ROOT'] . $imgpath))
373
  {
374
  unlink($_SERVER['DOCUMENT_ROOT'] . $imgpath);
375
  }
376
 
377
+ if(isset($up_icons[$custom_icon_number]))
378
  {
379
+ unset($up_icons[$custom_icon_number]);
380
+ unset($icons_links[$custom_icon_number]);
381
  }
382
  else
383
  {
390
  $sec_options2['sfsi_CustomIcon_links']=serialize($icons_links);
391
 
392
  end($up_icons);
393
+ $key=(key($up_icons))? key($up_icons) :$custom_icon_number;
394
  $total_uploads=(isset($up_icons) && is_array($up_icons))?count($up_icons):0;
395
 
396
  update_option('sfsi_section1_options',serialize($sec_options1));
506
  return false;
507
  }
508
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
509
  ?>
libs/sfsi_ajax_social_sharing_settings_updater.php CHANGED
@@ -2,6 +2,13 @@
2
  add_action( 'wp_ajax_update_sharing_settings', 'update_sharing_settings' );
3
 
4
  function update_sharing_settings() {
 
 
 
 
 
 
 
5
  $option5 = unserialize(get_option('sfsi_section5_options',false));
6
  $option5['sfsi_custom_social_hide'] = $_POST['sfsi_custom_social_hide'];
7
  update_option('sfsi_section5_options',serialize($option5));
2
  add_action( 'wp_ajax_update_sharing_settings', 'update_sharing_settings' );
3
 
4
  function update_sharing_settings() {
5
+ if ( !wp_verify_nonce( $_POST['nonce'], "update_sharing_settings")) {
6
+ echo json_encode(array('res'=>"error")); exit;
7
+ }
8
+ if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
9
+
10
+
11
+
12
  $option5 = unserialize(get_option('sfsi_section5_options',false));
13
  $option5['sfsi_custom_social_hide'] = $_POST['sfsi_custom_social_hide'];
14
  update_option('sfsi_section5_options',serialize($option5));
libs/sfsi_custom_social_sharing_data.php CHANGED
@@ -44,7 +44,8 @@ function sfsi_social_media_metabox( $post ) { ?>
44
  jQuery('.sfsi_hidenotice').on('click',function(){
45
  var data = {
46
  action:"update_sharing_settings",
47
- sfsi_custom_social_hide:"yes"
 
48
  };
49
  jQuery.post(ajaxurl, data, function(response) {
50
  if(response){
44
  jQuery('.sfsi_hidenotice').on('click',function(){
45
  var data = {
46
  action:"update_sharing_settings",
47
+ sfsi_custom_social_hide:"yes",
48
+ nonce: '<?php echo wp_create_nonce('update_sharing_settings') ?>'
49
  };
50
  jQuery.post(ajaxurl, data, function(response) {
51
  if(response){
libs/sfsi_install_uninstall.php CHANGED
@@ -12,7 +12,7 @@ function sfsi_update_plugin()
12
  }
13
 
14
  //Install version
15
- update_option("sfsi_pluginVersion", "2.19");
16
 
17
  if(!get_option('sfsi_serverphpVersionnotification'))
18
  {
@@ -955,7 +955,7 @@ function sfsi_rating_msg()
955
 
956
  event.stopImmediatePropagation();
957
 
958
- var data = {'action':'sfsi_hideRating'};
959
 
960
  jQuery.ajax({
961
  url: "<?php echo admin_url( 'admin-ajax.php' ); ?>",
@@ -987,6 +987,13 @@ function sfsi_rating_msg()
987
  add_action('wp_ajax_sfsi_hideRating','sfsi_HideRatingDiv', 0);
988
  function sfsi_HideRatingDiv()
989
  {
 
 
 
 
 
 
 
990
  update_option('sfsi_RatingDiv','yes');
991
  echo json_encode(array("success")); exit;
992
  }
12
  }
13
 
14
  //Install version
15
+ update_option("sfsi_pluginVersion", "2.20");
16
 
17
  if(!get_option('sfsi_serverphpVersionnotification'))
18
  {
955
 
956
  event.stopImmediatePropagation();
957
 
958
+ var data = {'action':'sfsi_hideRating' , 'nonce':'<?php echo wp_create_nonce('sfsi_hideRating'); ?>'};
959
 
960
  jQuery.ajax({
961
  url: "<?php echo admin_url( 'admin-ajax.php' ); ?>",
987
  add_action('wp_ajax_sfsi_hideRating','sfsi_HideRatingDiv', 0);
988
  function sfsi_HideRatingDiv()
989
  {
990
+ if ( !wp_verify_nonce( $_POST['nonce'], "sfsi_hideRating")) {
991
+ echo json_encode(array('res'=>"error")); exit;
992
+ }
993
+ if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
994
+
995
+
996
+
997
  update_option('sfsi_RatingDiv','yes');
998
  echo json_encode(array("success")); exit;
999
  }
libs/sfsi_widget.php CHANGED
@@ -1208,7 +1208,7 @@ function sfsi_prepairIcons($icon_name,$is_front=0)
1208
  $arrow_class = "";
1209
  $custom_icons_hoverTxt = unserialize($sfsi_section5_options['sfsi_custom_MouseOverTexts']);
1210
  $icons = unserialize($sfsi_section1_options['sfsi_custom_files']);
1211
- $icon = $icons[$icon_n];
1212
 
1213
  //Giving alternative text to image
1214
  if(!empty($custom_icons_hoverTxt[$icon_n]))
1208
  $arrow_class = "";
1209
  $custom_icons_hoverTxt = unserialize($sfsi_section5_options['sfsi_custom_MouseOverTexts']);
1210
  $icons = unserialize($sfsi_section1_options['sfsi_custom_files']);
1211
+ $icon = isset($icons[$icon_n])?$icons[$icon_n]:'';
1212
 
1213
  //Giving alternative text to image
1214
  if(!empty($custom_icons_hoverTxt[$icon_n]))
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: socialdude
3
  Tags: social media, share, buttons, social widget, icons, share icons, share buttons, sharing icons, sharing buttons, social share, sharing, social sharing
4
  Requires at least: 3.5
5
  Tested up to: 5.1
6
- Stable tag: 2.1.9
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -67,6 +67,7 @@ We released a Premium Plugin with many more exciting features:
67
 
68
  Have a look at the [Premium Plugin features](https://www.ultimatelysocial.com/usm-premium/)
69
 
 
70
 
71
  == Installation ==
72
  Extract the zip file and drop the contents into the wp-content/plugins/ directory of your WordPress installation. Then activate the plugin from the plugins page.
@@ -274,17 +275,20 @@ You cannot use the same plugin twice, however you can install both the USM as we
274
 
275
 
276
  == Changelog ==
 
 
 
277
  = 2.1.9 =
278
- * Solved: Security Patch.
279
 
280
  = 2.1.8 =
281
- * Solved: security update.
282
 
283
  = 2.1.7 =
284
- * Solved: save button not working.
285
 
286
  = 2.1.6 =
287
- * Solved: compatablity issue with older versions.
288
 
289
  = 2.1.5 =
290
  * Solved: google plus is deprecated
@@ -771,5 +775,5 @@ You cannot use the same plugin twice, however you can install both the USM as we
771
 
772
  == Upgrade Notice ==
773
 
774
- = 2.1.9 =
775
  Please upgrade
3
  Tags: social media, share, buttons, social widget, icons, share icons, share buttons, sharing icons, sharing buttons, social share, sharing, social sharing
4
  Requires at least: 3.5
5
  Tested up to: 5.1
6
+ Stable tag: 2.2.0
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
67
 
68
  Have a look at the [Premium Plugin features](https://www.ultimatelysocial.com/usm-premium/)
69
 
70
+ Note: this plugin uses the third party provider SpecificFeeds.com for the subscription feature, enabling you to allow your visitors to subscribe to your site and get new posts automatically by email. Upon installation of the plugin a feed will be set up on SpecificFeeds, transmitting your IP address. This is required for this feature to work.
71
 
72
  == Installation ==
73
  Extract the zip file and drop the contents into the wp-content/plugins/ directory of your WordPress installation. Then activate the plugin from the plugins page.
275
 
276
 
277
  == Changelog ==
278
+ = 2.2.0 =
279
+ * Solved: Critical security patch.
280
+
281
  = 2.1.9 =
282
+ * Solved: Security patch.
283
 
284
  = 2.1.8 =
285
+ * Solved: Security update.
286
 
287
  = 2.1.7 =
288
+ * Solved: Save button not working.
289
 
290
  = 2.1.6 =
291
+ * Solved: Compatablity issue with older versions.
292
 
293
  = 2.1.5 =
294
  * Solved: google plus is deprecated
775
 
776
  == Upgrade Notice ==
777
 
778
+ = 2.2.0 =
779
  Please upgrade
ultimate_social_media_icons.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://ultimatelysocial.com
5
  Description: Easy to use and 100% FREE social media plugin which adds social media icons to your website with tons of customization features!.
6
  Author: UltimatelySocial
7
  Author URI: http://ultimatelysocial.com
8
- Version: 2.1.9
9
  License: GPLv2 or later
10
  */
11
 
@@ -65,7 +65,7 @@ register_activation_hook(__FILE__, 'sfsi_activate_plugin' );
65
  register_deactivation_hook(__FILE__, 'sfsi_deactivate_plugin');
66
  register_uninstall_hook(__FILE__, 'sfsi_Unistall_plugin');
67
 
68
- if(!get_option('sfsi_pluginVersion') || get_option('sfsi_pluginVersion') < 2.19)
69
  {
70
  add_action("init", "sfsi_update_plugin");
71
  }
@@ -1276,6 +1276,12 @@ function sfsi_language_notice(){
1276
 
1277
 
1278
  function sfsi_dismiss_lang_notice(){
 
 
 
 
 
 
1279
  echo update_option('sfsi_lang_notice_dismissed',true) ? "true" : "false";
1280
  die;
1281
  }
@@ -1311,6 +1317,13 @@ function sfsi_addThis_removal_notice(){
1311
  }
1312
 
1313
  function sfsi_dismiss_addthhis_removal_notice(){
 
 
 
 
 
 
 
1314
  echo (string) update_option('sfsi_addThis_icon_removal_notice_dismissed',true);
1315
  die;
1316
  }
@@ -1365,7 +1378,7 @@ function sfsi_error_reporting_notice(){
1365
 
1366
  if(typeof jQuery != 'undefined'){
1367
 
1368
- (function sfsi_dismiss_notice(btnClass,ajaxAction){
1369
 
1370
  var btnClass = "."+btnClass;
1371
 
@@ -1386,7 +1399,7 @@ function sfsi_error_reporting_notice(){
1386
 
1387
  });
1388
 
1389
- }("sfsi_error_reporting_notice-dismiss","sfsi_dismiss_error_reporting_notice"));
1390
  }
1391
  </script>
1392
 
@@ -1396,6 +1409,13 @@ function sfsi_error_reporting_notice(){
1396
  }
1397
 
1398
  function sfsi_dismiss_error_reporting_notice(){
 
 
 
 
 
 
 
1399
  echo (string) update_option('sfsi_error_reporting_notice_dismissed',true);
1400
  die;
1401
  }
5
  Description: Easy to use and 100% FREE social media plugin which adds social media icons to your website with tons of customization features!.
6
  Author: UltimatelySocial
7
  Author URI: http://ultimatelysocial.com
8
+ Version: 2.2.0
9
  License: GPLv2 or later
10
  */
11
 
65
  register_deactivation_hook(__FILE__, 'sfsi_deactivate_plugin');
66
  register_uninstall_hook(__FILE__, 'sfsi_Unistall_plugin');
67
 
68
+ if(!get_option('sfsi_pluginVersion') || get_option('sfsi_pluginVersion') < 2.20)
69
  {
70
  add_action("init", "sfsi_update_plugin");
71
  }
1276
 
1277
 
1278
  function sfsi_dismiss_lang_notice(){
1279
+ if ( !wp_verify_nonce( $_POST['nonce'], "sfsi_dismiss_lang_notice'")) {
1280
+ echo json_encode(array('res'=>"error")); exit;
1281
+ }
1282
+ if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
1283
+
1284
+
1285
  echo update_option('sfsi_lang_notice_dismissed',true) ? "true" : "false";
1286
  die;
1287
  }
1317
  }
1318
 
1319
  function sfsi_dismiss_addthhis_removal_notice(){
1320
+ if ( !wp_verify_nonce( $_POST['nonce'], "sfsi_dismiss_addThis_icon_notice")) {
1321
+ echo json_encode(array('res'=>"error")); exit;
1322
+ }
1323
+ if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
1324
+
1325
+
1326
+
1327
  echo (string) update_option('sfsi_addThis_icon_removal_notice_dismissed',true);
1328
  die;
1329
  }
1378
 
1379
  if(typeof jQuery != 'undefined'){
1380
 
1381
+ (function sfsi_dismiss_notice(btnClass,ajaxAction,nonce){
1382
 
1383
  var btnClass = "."+btnClass;
1384
 
1399
 
1400
  });
1401
 
1402
+ }("sfsi_error_reporting_notice-dismiss","sfsi_dismiss_error_reporting_notice","<?php echo wp_create_nonce('sfsi_dismiss_error_reporting_notice'); ?>"));
1403
  }
1404
  </script>
1405
 
1409
  }
1410
 
1411
  function sfsi_dismiss_error_reporting_notice(){
1412
+ if ( !wp_verify_nonce( $_POST['nonce'], "sfsi_dismiss_error_reporting_notice")) {
1413
+ echo json_encode(array('res'=>"error")); exit;
1414
+ }
1415
+ if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
1416
+
1417
+
1418
+
1419
  echo (string) update_option('sfsi_error_reporting_notice_dismissed',true);
1420
  die;
1421
  }
views/sfsi_chat_on_admin_pannel.php CHANGED
@@ -34,6 +34,7 @@ $email = $current_user->user_email;
34
 
35
  <!-- <p class="right-message" style="display:none">Please also check the <a href="">FAQ</a></p> -->
36
  <form action="#" method="POST" >
 
37
  <div>
38
  <div for="question" class="label">
39
  Your question:
34
 
35
  <!-- <p class="right-message" style="display:none">Please also check the <a href="">FAQ</a></p> -->
36
  <form action="#" method="POST" >
37
+ <?php wp_nonce_field( 'OfflineChatMessage','nonce' ) ?>
38
  <div>
39
  <div for="question" class="label">
40
  Your question:
views/sfsi_option_view1.php CHANGED
@@ -179,6 +179,7 @@
179
  <div class="radio_section tb_4_ck">
180
  <input name="sfsiICON_<?php echo $i; ?>" checked="true" type="checkbox" value="yes" class="styled" element-type="cusotm-icon" />
181
  </div>
 
182
  <span class="custom-img">
183
  <img class="sfcm" src="<?php echo (!empty($icons[$i])) ? esc_url($icons[$i]) : SFSI_PLUGURL.'images/custom.png';?>" id="CImg_<?php echo $i; ?>"/>
184
  </span>
179
  <div class="radio_section tb_4_ck">
180
  <input name="sfsiICON_<?php echo $i; ?>" checked="true" type="checkbox" value="yes" class="styled" element-type="cusotm-icon" />
181
  </div>
182
+ <input type="hidden" name="nonce" value="<?php echo wp_create_nonce('deleteIcons'); ?>">
183
  <span class="custom-img">
184
  <img class="sfcm" src="<?php echo (!empty($icons[$i])) ? esc_url($icons[$i]) : SFSI_PLUGURL.'images/custom.png';?>" id="CImg_<?php echo $i; ?>"/>
185
  </span>
views/sfsi_options_view.php CHANGED
@@ -20,7 +20,7 @@
20
  SFSI.ajax({
21
  url:sfsi_icon_ajax_object.ajax_url,
22
  type:"post",
23
- data: {action: "notification_read"},
24
  success:function(msg){
25
  if(jQuery.trim(msg) == 'success')
26
  {
@@ -205,6 +205,7 @@
205
  <?php if(in_array(get_site_url(),array('http://www.managingio.com','http://blog-latest.socialshare.com'))): ?>
206
  <div style="text-align:center">
207
  <input type="text" name="domain" id="sfsi_domain_input" style="width:40%;min-height: :40px;text-align:center;margin:0 auto" placeholder="Enter Domian to check its theme" />
 
208
  <div class="save_button">
209
  <img src="<?php echo SFSI_PLUGURL; ?>images/ajax-loader.gif" class="loader-img" />
210
  <a href="javascript:;" id="sfsi_check_theme_of_domain_btn" title="Check">Check the Theme</a>
@@ -217,7 +218,8 @@
217
  type:"post",
218
  data:{
219
  'action':'bannerOption',
220
- 'domain':$('#sfsi_domain_input').val()
 
221
  },
222
  success:function(s) {
223
  var sfsi_container = $("html,body");
@@ -236,7 +238,9 @@
236
 
237
  <script type="text/javascript">
238
  var e = {
239
- action:"bannerOption"
 
 
240
  };
241
  jQuery.ajax({
242
  url: "<?php echo admin_url( 'admin-ajax.php' ); ?>",
20
  SFSI.ajax({
21
  url:sfsi_icon_ajax_object.ajax_url,
22
  type:"post",
23
+ data: {action: "notification_read",nonce: "<?php echo wp_create_nonce('notification_read'); ?>"},
24
  success:function(msg){
25
  if(jQuery.trim(msg) == 'success')
26
  {
205
  <?php if(in_array(get_site_url(),array('http://www.managingio.com','http://blog-latest.socialshare.com'))): ?>
206
  <div style="text-align:center">
207
  <input type="text" name="domain" id="sfsi_domain_input" style="width:40%;min-height: :40px;text-align:center;margin:0 auto" placeholder="Enter Domian to check its theme" />
208
+ <input type="text" name="sfsi_domain_input_nonce" value="<?php echo wp_create_nonce('bannerOption'); ?>">
209
  <div class="save_button">
210
  <img src="<?php echo SFSI_PLUGURL; ?>images/ajax-loader.gif" class="loader-img" />
211
  <a href="javascript:;" id="sfsi_check_theme_of_domain_btn" title="Check">Check the Theme</a>
218
  type:"post",
219
  data:{
220
  'action':'bannerOption',
221
+ 'domain':$('#sfsi_domain_input').val(),
222
+ 'nonce': $('#sfsi_domain_input_nonce').val(),
223
  },
224
  success:function(s) {
225
  var sfsi_container = $("html,body");
238
 
239
  <script type="text/javascript">
240
  var e = {
241
+ action:"bannerOption",
242
+ 'nonce': '<?php echo wp_create_nonce('bannerOption'); ?>',
243
+
244
  };
245
  jQuery.ajax({
246
  url: "<?php echo admin_url( 'admin-ajax.php' ); ?>",
views/sfsi_pop_content.php CHANGED
@@ -81,7 +81,7 @@ $connectFeedLgn = "http://www.specificfeeds.com/?".base64_encode("userprofile=wo
81
  var url = jQuery(html).attr('src');
82
  }
83
  tb_remove();
84
- sfsi_newcustomicon_upload(url);
85
  }
86
  return false;
87
  }
@@ -505,7 +505,7 @@ I want to see how it works</a></div>
505
 
506
  </ul>
507
  <div class="cstmskins_sbmt">
508
- <a href="javascript:" class="done_btn" onclick="SFSI_done();">I'm done!</a>
509
  </div>
510
 
511
  </div>
@@ -520,7 +520,7 @@ I want to see how it works</a></div>
520
  {
521
  var url = jQuery(html).attr('src');
522
  }
523
- sfsi_customskin_upload(title+'='+url, ref);
524
  tb_remove();
525
  }
526
  return false;
81
  var url = jQuery(html).attr('src');
82
  }
83
  tb_remove();
84
+ sfsi_newcustomicon_upload(url,'<?php echo wp_create_nonce('UploadIcons'); ?>','<?php echo wp_create_nonce('deleteIcons'); ?>"');
85
  }
86
  return false;
87
  }
505
 
506
  </ul>
507
  <div class="cstmskins_sbmt">
508
+ <a href="javascript:" class="done_btn" onclick="SFSI_done('<?php echo wp_create_nonce('Iamdone'); ?>');">I'm done!</a>
509
  </div>
510
 
511
  </div>
520
  {
521
  var url = jQuery(html).attr('src');
522
  }
523
+ sfsi_customskin_upload(title+'='+url, ref,'<?php echo wp_create_nonce('UploadSkins') ?>');
524
  tb_remove();
525
  }
526
  return false;