footer.php
15.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
<?php
/**
* Joomla! component Creative Contact Form
*
* @version $Id: 2012-04-05 14:30:25 svn $
* @author creative-solutions.net
* @package Creative Contact Form
* @subpackage com_creativecontactform
* @license GNU/GPL
*
*/
// no direct access
defined('_JEXEC') or die('Restircted access');
?>
<table class="adminlist" style="width: 100%;margin-top: 12px;clear: both;"><tr><td align="center" valign="middle" id="twoglux_ext_td" style="position: relative;height: 70px;">
<div style="color: #0561AC;font-size: 14px;margin: 13px 0 -3px 10px;font-weight: normal;font-style: italic;">Upgrading from <b style="text-decoration: underline;">Free</b> to <b style="text-decoration: underline;">Commercial</b> is easy! It will take only <a href="<?php echo JText::_( 'COM_CREATIVECONTACTFORM_SUBMENU_BUY_PRO_VERSION_LINK' ); ?>" target="_blank" style="color: rgb(214, 0, 0);font-weight: bold;text-decoration: underline;">5 minutes!</a></div>
<div id="twoglux_bottom_link"><a href="<?php echo JText::_( 'COM_CREATIVECONTACTFORM_SUBMENU_PROJECT_HOMEPAGE_LINK' ); ?>" target="_blank"><?php echo JText::_( 'COM_CREATIVECONTACTFORM' ); ?></a> <?php echo JText::_( 'COM_CREATIVECONTACTFORM_DEVELOPED_BY' ); ?> <a href="http://creative-solutions.net" target="_blank">Creative-Solutions.net</a></div>
<div style="position: absolute;right: 2px;top: 19px;">
<a href="<?php echo JText::_( 'COM_CREATIVECONTACTFORM_SUBMENU_RATE_US_LINK' ); ?>" target="_blank" id="twoglux_ext_rate" class="twoglux_ext_bottom_icon" title="<?php echo JText::_( 'COM_CREATIVECONTACTFORM_SUBMENU_RATE_US_DESCRIPTION' ); ?>"> </a>
<a href="<?php echo JText::_( 'COM_CREATIVECONTACTFORM_SUBMENU_PROJECT_HOMEPAGE_LINK' ); ?>" target="_blank" id="twoglux_ext_homepage" style="margin: 0 2px 0 0px;" class="twoglux_ext_bottom_icon" title="<?php echo JText::_( 'COM_CREATIVECONTACTFORM_SUBMENU_PROJECT_HOMEPAGE_DESCRIPTION' ); ?>"> </a>
<a href="<?php echo JText::_( 'COM_CREATIVECONTACTFORM_SUBMENU_SUPPORT_FORUM_LINK' ); ?>" target="_blank" id="twoglux_ext_support" class="twoglux_ext_bottom_icon" title="<?php echo JText::_( 'COM_CREATIVECONTACTFORM_SUBMENU_SUPPORT_FORUM_DESCRIPTION' ); ?>"> </a>
<a href="<?php echo JText::_( 'COM_CREATIVECONTACTFORM_SUBMENU_BUY_PRO_VERSION_LINK' ); ?>" target="_blank" id="twoglux_ext_buy" class="twoglux_ext_bottom_icon" title="<?php echo JText::_( 'COM_CREATIVECONTACTFORM_SUBMENU_BUY_PRO_VERSION_DESCRIPTION' ); ?>"> </a>
</div>
</td></tr></table>
<?php
//generates similar extensions
$document = JFactory::getDocument();
$jsFile = JURI::base(true).'/components/com_creativecontactform/assets/js/creativelib.js';
$document->addScript($jsFile);
$jsFile = JURI::base(true).'/components/com_creativecontactform/assets/js/footer.js';
$document->addScript($jsFile);
$cssFile = JURI::base(true).'/components/com_creativecontactform/assets/css/creative_buttons.css';
$document->addStyleSheet($cssFile, 'text/css', null, array());
?>
<?php
// $similar_visible = false;
$similar_visible = rand(0,10) < 3 ? true : false;
?>
<?php
if(!$similar_visible && !(isset($_COOKIE["sim_ext_1"]) && isset($_COOKIE["sim_ext_2"]) && isset($_COOKIE["sim_ext_3"]) )){
$show_visible = '';
}
else {
$show_visible = 'style="display: none;"';
}
?>
<div class="show_similar" <?php echo $show_visible;?>>Show Suggested Extensions!</div>
<div class="hide_similar" style="display: none;">Hide Suggested Extensions!</div>
<div id="similar_extensions" <?php if(!$similar_visible) echo 'style="display: none"; class="sim_hidden"';?>>
<?php
if(!(isset($_COOKIE["sim_ext_1"]) && isset($_COOKIE["sim_ext_2"]) && isset($_COOKIE["sim_ext_3"]) )) {?>
<div class="sim_ext_title">Extensions You Will Like!</div>
<?php }?>
<?php $sim_ext_path = JURI::base(true).'/components/com_creativecontactform/assets/images/similar_extensions/';?>
<div id="similar_ext_wrapper">
<?php if(!isset($_COOKIE["sim_ext_1"])) {?>
<div class="sim_ext_item_wrapper">
<div class="twog_extension_wrapper" id="sim_ext_1" roll="1">
<img class="sim_img_close" title="Close Suggestion" alt="Close Suggestion" src="<?php echo $sim_ext_path;?>close.png" />
<div class="twog_extension_wrapper_inner">
<div class="ext_top_wrapper">
<a href="http://creative-solutions.net/joomla/creative-gallery" target="_blank" class="sim_ext_link">Creative Gallery</a>
<img class="sim_img_popular" title="Popular" alt="Popular" src="<?php echo $sim_ext_path;?>jed_status_popular.png" />
</div>
<a href="http://creative-solutions.net/joomla/creative-gallery" target="_blank" class="sim_ext_link"><img class="sim_ext_img" src="<?php echo $sim_ext_path;?>creative-gallery.png" /></a>
<div class="sim_line1">
<img class="sim_img_compat" title="Joomla! 3.X.X compatible" alt="Joomla! 3.X.X compatible" src="<?php echo $sim_ext_path;?>compat_30.png" style="margin-left: -2px;" />
<div style="display: inline-block;">
<img class="sim_img_star" title="" alt="" src="<?php echo $sim_ext_path;?>star_10.png" style="margin-left: 4px;" />
<img class="sim_img_star" title="" alt="" src="<?php echo $sim_ext_path;?>star_10.png" style="margin-left: -4px;" />
<img class="sim_img_star" title="" alt="" src="<?php echo $sim_ext_path;?>star_10.png" style="margin-left: -4px;" />
<img class="sim_img_star" title="" alt="" src="<?php echo $sim_ext_path;?>star_10.png" style="margin-left: -4px;" />
<img class="sim_img_star" title="" alt="" src="<?php echo $sim_ext_path;?>star_10.png" style="margin-left: -4px;" />
</div>
<div style="display: inline-block;float: right;">
<img class="sim_img_type" title="Plugin" alt="" src="<?php echo $sim_ext_path;?>ext_plugin_mini.png" style="margin-left: 2px;" />
<img class="sim_img_type" title="Module" alt="" src="<?php echo $sim_ext_path;?>ext_mod_mini.png" style="margin-left: 2px;" />
<img class="sim_img_type" title="Component" alt="" src="<?php echo $sim_ext_path;?>ext_com_mini.png" style="margin-left: 2px;" />
</div>
</div>
<div class="sim_ext_desc">
Creative Gallery is a responsive gallery solution for Joomla with powerful functionality and amazing visual effects.<br />
It is packed with a Template Creator Wizard with Live Preview, to create beautiful and creative galleries without coding!
</div>
<div class="sim_links">
<a style="" target="_blank" href="http://creative-solutions.net/joomla/creative-gallery/demo" class="creative_btn creative_btn-green creative_btn-mini"><i class="creative_icon-white creative_icon-play"></i> Live Demo</a>
<a style="" target="_blank" href="http://creative-solutions.net/joomla/creative-gallery" class="creative_btn creative_btn-red creative_btn-mini"><i class="creative_icon-white creative_icon-download"></i> Download</a>
</div>
</div>
</div>
</div>
<?php }?>
<?php if(!isset($_COOKIE["sim_ext_2"])) {?>
<div class="sim_ext_item_wrapper">
<div class="twog_extension_wrapper" id="sim_ext_2" roll="2">
<img class="sim_img_close" title="Close Suggestion" alt="Close Suggestion" src="<?php echo $sim_ext_path;?>close.png" />
<div class="twog_extension_wrapper_inner">
<div class="ext_top_wrapper">
<a href="http://creative-solutions.net/joomla/creative-image-slider" target="_blank" class="sim_ext_link">Creative Image Slider</a>
<img class="sim_img_popular" title="Popular" alt="Popular" src="<?php echo $sim_ext_path;?>jed_status_popular.png" />
</div>
<a href="http://creative-solutions.net/joomla/creative-image-slider" target="_blank" class="sim_ext_link"><img class="sim_ext_img" src="<?php echo $sim_ext_path;?>cis.png" /></a>
<div class="sim_line1">
<img class="sim_img_compat" title="Joomla! 2.5.X compatible" alt="Joomla! 2.5.X compatible" src="<?php echo $sim_ext_path;?>compat_25.png" />
<img class="sim_img_compat" title="Joomla! 3.X.X compatible" alt="Joomla! 3.X.X compatible" src="<?php echo $sim_ext_path;?>compat_30.png" style="margin-left: -2px;" />
<div style="display: inline-block;">
<img class="sim_img_star" title="" alt="" src="<?php echo $sim_ext_path;?>star_10.png" style="margin-left: 4px;" />
<img class="sim_img_star" title="" alt="" src="<?php echo $sim_ext_path;?>star_10.png" style="margin-left: -4px;" />
<img class="sim_img_star" title="" alt="" src="<?php echo $sim_ext_path;?>star_10.png" style="margin-left: -4px;" />
<img class="sim_img_star" title="" alt="" src="<?php echo $sim_ext_path;?>star_10.png" style="margin-left: -4px;" />
<img class="sim_img_star" title="" alt="" src="<?php echo $sim_ext_path;?>star_10.png" style="margin-left: -4px;" />
</div>
<div style="display: inline-block;float: right;">
<img class="sim_img_type" title="Plugin" alt="" src="<?php echo $sim_ext_path;?>ext_plugin_mini.png" style="margin-left: 2px;" />
<img class="sim_img_type" title="Module" alt="" src="<?php echo $sim_ext_path;?>ext_mod_mini.png" style="margin-left: 2px;" />
<img class="sim_img_type" title="Component" alt="" src="<?php echo $sim_ext_path;?>ext_com_mini.png" style="margin-left: 2px;" />
</div>
</div>
<div class="sim_ext_desc">
Creative Image Slider is a responsive jQuery image slider with amazing visual effects. It uses horizontal scrolling to make the slider more creative and attractive.
<br />It is packed with a live-preview wizard to create fantastic sliders in a matter of seconds without coding.
</div>
<div class="sim_links">
<a style="" target="_blank" href="http://creative-solutions.net/joomla/creative-image-slider-demo" class="creative_btn creative_btn-green creative_btn-mini"><i class="creative_icon-white creative_icon-play"></i> Live Demo</a>
<a style="" target="_blank" href="http://creative-solutions.net/joomla/creative-image-slider" class="creative_btn creative_btn-red creative_btn-mini"><i class="creative_icon-white creative_icon-download"></i> Download</a>
</div>
</div>
</div>
</div>
<?php }?>
<?php if(!isset($_COOKIE["sim_ext_3"])) {?>
<div class="sim_ext_item_wrapper">
<div class="twog_extension_wrapper" id="sim_ext_3" roll="3">
<img class="sim_img_close" title="Close Suggestion" alt="Close Suggestion" src="<?php echo $sim_ext_path;?>close.png" />
<div class="twog_extension_wrapper_inner">
<div class="ext_top_wrapper">
<a href="http://creative-solutions.net/joomla/gspeech/demo" target="_blank" class="sim_ext_link">GSpeech</a>
<img class="sim_img_popular" title="Popular" alt="Popular" src="<?php echo $sim_ext_path;?>jed_status_popular.png" />
</div>
<a href="http://creative-solutions.net/joomla/gspeech/demo" target="_blank" class="sim_ext_link"><img class="sim_ext_img" src="<?php echo $sim_ext_path;?>gspeech.png" /></a>
<div class="sim_line1">
<img class="sim_img_compat" title="Joomla! 2.5.X compatible" alt="Joomla! 2.5.X compatible" src="<?php echo $sim_ext_path;?>compat_25.png" />
<img class="sim_img_compat" title="Joomla! 3.X.X compatible" alt="Joomla! 3.X.X compatible" src="<?php echo $sim_ext_path;?>compat_30.png" style="margin-left: -2px;" />
<div style="display: inline-block;">
<img class="sim_img_star" title="" alt="" src="<?php echo $sim_ext_path;?>star_10.png" style="margin-left: 4px;" />
<img class="sim_img_star" title="" alt="" src="<?php echo $sim_ext_path;?>star_10.png" style="margin-left: -4px;" />
<img class="sim_img_star" title="" alt="" src="<?php echo $sim_ext_path;?>star_10.png" style="margin-left: -4px;" />
<img class="sim_img_star" title="" alt="" src="<?php echo $sim_ext_path;?>star_10.png" style="margin-left: -4px;" />
<img class="sim_img_star" title="" alt="" src="<?php echo $sim_ext_path;?>star_10.png" style="margin-left: -4px;" />
</div>
<div style="display: inline-block;float: right;">
<img class="sim_img_type" title="Plugin" alt="" src="<?php echo $sim_ext_path;?>ext_plugin_mini.png" style="margin-left: 2px;" />
</div>
</div>
<div class="sim_ext_desc">
How it would be wonderful, if your visitors could listen any selected text from your site? We made that possible. We use Google power to provide you the best quality of automatic text to speech service. Enjoy !
</div>
<div class="sim_links">
<a style="" target="_blank" href="http://creative-solutions.net/joomla/gspeech/demo" class="creative_btn creative_btn-green creative_btn-mini"><i class="creative_icon-white creative_icon-play"></i> Live Demo</a>
<a style="" target="_blank" href="http://creative-solutions.net/joomla/gspeech" class="creative_btn creative_btn-red creative_btn-mini"><i class="creative_icon-white creative_icon-download"></i> Download</a>
</div>
</div>
</div>
</div>
<?php }?>
</div>
</div>
<style>
#similar_ext_wrapper {
text-align: left;
margin-bottom: 30px;
}
.sim_ext_item_wrapper {
display: inline-block;
width: 30%;
margin: 30px 10px 0px 10px;
min-height: 120px;
vertical-align: top;
position: relative;
}
.twog_extension_wrapper {
border-radius: 6px;
border-top: 1px solid #E0DEB2;
text-align: left;
box-shadow: 0 1px 2px 0px #918A5F;
background-color: rgba(255, 251, 226, 0.3);
-webkit-transition: all linear 0.2s;
-moz-transition: all linear 0.2s;
-o-transition: all linear 0.2s;
transition: all linear 0.2s;
opacity: 0;
filter: alpha(opacity=0);
}
.twog_extension_wrapper:hover {
border-radius: 12px;
border-top: 1px solid #DFDB8A;
box-shadow: 0 2px 3px 1px rgba(143, 135, 81, 0.64);
background-color: rgba(255, 251, 226, 0.99);
}
.sim_ext_title {
color: #0561AC;
font-size: 18px;
margin: 35px 0 -15px 0;
font-style: italic;
text-align: center;
}
.sim_ext_img {
float: left;
padding: 8px;
box-shadow: 0 1px 2px 1px #999;
-webkit-box-shadow: 0 1px 2px 1px #999;
-moz-box-shadow: 0 1px 2px 1px #999;
border-radius: 3px;
margin: 0 10px 5px 0;
border: none;
background-color: #fff;
-webkit-transition: all linear 0.2s;
-moz-transition: all linear 0.2s;
-o-transition: all linear 0.2s;
transition: all linear 0.2s;
}
.sim_ext_img:hover {
box-shadow: 0 1px 2px 2px rgba(153, 153, 153, 0.54);
-webkit-box-shadow: 0 1px 2px 2px rgba(153, 153, 153, 0.54);
-moz-box-shadow: 0 1px 2px 2px rgba(153, 153, 153, 0.54);
border-radius: 6px;
background-color: #FFECAE;
}
.sim_ext_link {
color: #136AA5;
font-weight: normal;
font-size: 18px;
-webkit-transition: all linear 0.2s;
-moz-transition: all linear 0.2s;
-o-transition: all linear 0.2s;
transition: all linear 0.2s;
}
.sim_ext_link:hover {
color: rgb(209, 0, 0);
text-decoration: none;
}
.twog_extension_wrapper_inner {
padding: 10px 16px 10px 16px;
overflow: hidden;
}
.ext_top_wrapper {
margin-bottom: 8px;
}
.sim_img_popular {
border: none;
display: inline-block;
margin: -5px 0 0 2px;
}
.sim_img_popular:hover {
margin-top: -7px;
}
.sim_line1 {
clear: none;
}
.sim_img_compat {
margin: -7px 0 0 0px;
}
.sim_img_compat:hover {
margin-top: -9px;
}
.sim_img_star {
margin: -9px 0 0 0;
}
.sim_img_star:hover {
margin-top: -11px;
}
.sim_img_type {
margin: 0px 0 0 0;
float: right;
}
.sim_img_type:hover {
margin-top: -1px;
}
.sim_ext_desc {
margin: 5px 0 0 0;
min-height: 76px;
}
.sim_links {
text-align: right;
margin-top: 0px;
}
.sim_links a{
text-align: right;
margin-top: 8px !important;
}
.sim_links a {
opacity: 0.9;
-webkit-transition: all linear 0.2s;
-moz-transition: all linear 0.2s;
-o-transition: all linear 0.2s;
transition: all linear 0.2s;
}
.sim_links a:hover {
opacity: 1;
}
.sim_img_close {
width: 16px;
position: absolute;
top: -7px;
right: -5px;
opacity: 0.8;
cursor: pointer;
-webkit-transition: all linear 0.2s;
-moz-transition: all linear 0.2s;
-o-transition: all linear 0.2s;
transition: all linear 0.2s;
}
.sim_img_close:hover {
opacity: 1;
top: -8px;
}
.show_similar {
margin: 15px 0 0 5px;
color: #0561AC;
font-size: 15px;
font-style: italic;
cursor: pointer;
}
.hide_similar {
margin: 15px 0 0 5px;
color: #0561AC;
font-size: 15px;
font-style: italic;
cursor: pointer;
}
#similar_extensions {
display: none;
}
</style>