first commit
11
modules/mod_ppc_simple_spotlight/assets/css/style.css
Normal file
@ -0,0 +1,11 @@
|
||||
.slideshow {float:left;background:transparent;margin: 0;padding:0;z-index:1;overflow:visible;position:relative;width:100%;}
|
||||
.slidediv {float:left;background:none ;list-style-type:none ;z-index:2;visibility:hidden;}
|
||||
.ssprev,.ssnext {width:20px !important;height:20px !important;background:transparent;border:none;z-index:1024;}
|
||||
.ssprev img,.ssnext img{ border: 0;}
|
||||
.ssbutton {clear:both;text-align:right;height:20px;margin-right:0;padding-top:6px;width:100%;background:transparent;}
|
||||
.ssbutton a:focus { background: none !important;}
|
||||
.slideshow li { background: none; list-style: none;}
|
||||
.slideshow img, .slideshow li {background:none !important;}
|
||||
.bgs_bottom {background:none;height:57px;width:100%}
|
||||
.bgs_bottom_left { background:url(../img/shadow_left.png) 0 0 no-repeat ;width:50%;float:left;height:57px;}
|
||||
.bgs_bottom_right {background:url(../img/shadow_right.png) top right no-repeat ;width:50%;height:57px;line-height:0%;font-size:0%;float:right;}
|
After Width: | Height: | Size: 3.2 KiB |
BIN
modules/mod_ppc_simple_spotlight/assets/img/button/next1.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
modules/mod_ppc_simple_spotlight/assets/img/button/next2.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
modules/mod_ppc_simple_spotlight/assets/img/button/next3.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
modules/mod_ppc_simple_spotlight/assets/img/button/next4.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
modules/mod_ppc_simple_spotlight/assets/img/button/next5.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
modules/mod_ppc_simple_spotlight/assets/img/button/prev1.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
modules/mod_ppc_simple_spotlight/assets/img/button/prev2.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
modules/mod_ppc_simple_spotlight/assets/img/button/prev3.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
modules/mod_ppc_simple_spotlight/assets/img/button/prev4.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
modules/mod_ppc_simple_spotlight/assets/img/button/prev5.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
modules/mod_ppc_simple_spotlight/assets/img/shadow_left.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
modules/mod_ppc_simple_spotlight/assets/img/shadow_right.png
Normal file
After Width: | Height: | Size: 16 KiB |
2
modules/mod_ppc_simple_spotlight/assets/js/jquery-1.8.2.min.js
vendored
Normal file
1
modules/mod_ppc_simple_spotlight/assets/js/jquery-noconflict.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
jQuery.noConflict();
|
1540
modules/mod_ppc_simple_spotlight/assets/js/jquery.cycle.all.js
Normal file
339
modules/mod_ppc_simple_spotlight/elements/gpl-2.0.txt
Normal file
@ -0,0 +1,339 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Lesser General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License.
|
1
modules/mod_ppc_simple_spotlight/elements/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
BIN
modules/mod_ppc_simple_spotlight/elements/logo.png
Normal file
After Width: | Height: | Size: 18 KiB |
52
modules/mod_ppc_simple_spotlight/elements/upgradecheck.php
Normal file
@ -0,0 +1,52 @@
|
||||
<?php
|
||||
/*
|
||||
* Pixel Point Creative - Simple Spotlight
|
||||
* License - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
* Copyright (c) Pixel Point Creative LLC.
|
||||
* More info at http://www.pixelpointcreative.com
|
||||
* Last Updated: 5/8/13
|
||||
*/
|
||||
// no direct access
|
||||
defined('_JEXEC') or die ;
|
||||
|
||||
class JFormFieldUpgradecheck extends JFormField {
|
||||
|
||||
var $_name = 'Upgradecheck';
|
||||
|
||||
protected function getInput()
|
||||
{
|
||||
return ' ';
|
||||
}
|
||||
|
||||
protected function getLabel()
|
||||
{
|
||||
//check for cURL support before we do anyting esle.
|
||||
if(!function_exists("curl_init")) return 'cURL is not supported by your server. Please contact your hosting provider to enable this capability.';
|
||||
//If cURL is supported, check the current version available.
|
||||
else
|
||||
$version = 3.0;
|
||||
$target = 'http://www.pixelpointcreative.com/upgradecheck/simplespotlight/index.txt';
|
||||
$curl = curl_init();
|
||||
curl_setopt($curl, CURLOPT_URL, $target);
|
||||
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
|
||||
curl_setopt($curl, CURLOPT_HEADER, false);
|
||||
$str = curl_exec($curl);
|
||||
curl_close($curl);
|
||||
|
||||
|
||||
$message = '<div><label style="max-width:100%"><b>Installed Version '.$version.'</b> ';
|
||||
|
||||
//If the current version is out of date, notify the user and provide a download link.
|
||||
if ($version < $str)
|
||||
$message = $message . ' | <b>Latest Version '.$str.'</b><br />
|
||||
<a href="index.php?option=com_installer&view=update">Update</a> | <a href="http://www.pixelpointcreative.com/support.html" target="_blank">Get Help</a> | <a href="http://www.pixelpointcreative.com/changelogs/simplespotlight.txt" target="_blank">View the Changelog</a></label></div>';
|
||||
//If the current version is up to date, notify the user.
|
||||
elseif (($version == $str) || ($version > $str))
|
||||
$message = $message . '</br>There are no updates available at this time.</br>Having Trouble? <a href="http://www.pixelpointcreative.com/support.html" target="_blank">Get Help</a> </label></div>';
|
||||
echo'<div><img width="160" height="85" border="0" src="../modules/mod_ppc_simple_spotlight/elements/logo.png" title="Simple Spotlight" alt="Simple Spotlight"></div>';
|
||||
return
|
||||
$message;
|
||||
|
||||
|
||||
}
|
||||
}
|
125
modules/mod_ppc_simple_spotlight/mod_ppc_simple_spotlight.php
Normal file
@ -0,0 +1,125 @@
|
||||
<?php
|
||||
/*
|
||||
// Pixel Point Creative "Simple Spotlight" Module for Joomla!
|
||||
// License: http://www.gnu.org/copyleft/gpl.html
|
||||
// Copyright (c) Pixel Point Creative LLC.
|
||||
// More info at http://www.pixelpointcreative.com
|
||||
// Developer: Daniel Riefstahl
|
||||
// ***Last update: 5/8/13***
|
||||
*/
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
//Parameters for Simple Spotlight
|
||||
$spotlightImage = $params->get('spotlightImage');
|
||||
$spotlightImage2 = $params->get('spotlightImage2');
|
||||
$spotlightImage3 = $params->get('spotlightImage3');
|
||||
$spotlightImage4 = $params->get('spotlightImage4');
|
||||
$spotlightImage5 = $params->get('spotlightImage5');
|
||||
$spotlightImage6 = $params->get('spotlightImage6');
|
||||
$spotlightImage7 = $params->get('spotlightImage7');
|
||||
$spotlightImage8 = $params->get('spotlightImage8');
|
||||
$spotlightImage9 = $params->get('spotlightImage9');
|
||||
$spotlightImage10 = $params->get('spotlightImage10');
|
||||
$spotlightImage11 = $params->get('spotlightImage11');
|
||||
$spotlightImage12 = $params->get('spotlightImage12');
|
||||
$spotlightImage13 = $params->get('spotlightImage13');
|
||||
$spotlightImage14 = $params->get('spotlightImage14');
|
||||
$spotlightImage15 = $params->get('spotlightImage15');
|
||||
$spotlightImage16 = $params->get('spotlightImage16');
|
||||
$spotlightImage17 = $params->get('spotlightImage17');
|
||||
$spotlightImage18 = $params->get('spotlightImage18');
|
||||
$spotlightImage19 = $params->get('spotlightImage19');
|
||||
$spotlightImage20 = $params->get('spotlightImage20');
|
||||
$alt = $params->get('alt');
|
||||
$alt2 = $params->get('alt2');
|
||||
$alt3 = $params->get('alt3');
|
||||
$alt4 = $params->get('alt4');
|
||||
$alt5 = $params->get('alt5');
|
||||
$alt6 = $params->get('alt6');
|
||||
$alt7 = $params->get('alt7');
|
||||
$alt8 = $params->get('alt8');
|
||||
$alt9 = $params->get('alt9');
|
||||
$alt10 = $params->get('alt10');
|
||||
$alt11 = $params->get('alt11');
|
||||
$alt12 = $params->get('alt12');
|
||||
$alt13 = $params->get('alt13');
|
||||
$alt14 = $params->get('alt14');
|
||||
$alt15 = $params->get('alt15');
|
||||
$alt16 = $params->get('alt16');
|
||||
$alt17 = $params->get('alt17');
|
||||
$alt18 = $params->get('alt18');
|
||||
$alt19 = $params->get('alt19');
|
||||
$alt20 = $params->get('alt20');
|
||||
$window = $params->get('window');
|
||||
$window2 = $params->get('window2');
|
||||
$window3 = $params->get('window3');
|
||||
$window4 = $params->get('window4');
|
||||
$window5 = $params->get('window5');
|
||||
$window6 = $params->get('window6');
|
||||
$window7 = $params->get('window7');
|
||||
$window8 = $params->get('window8');
|
||||
$window9 = $params->get('window9');
|
||||
$window10 = $params->get('window10');
|
||||
$window11 = $params->get('window11');
|
||||
$window12 = $params->get('window12');
|
||||
$window13 = $params->get('window13');
|
||||
$window14 = $params->get('window14');
|
||||
$window15 = $params->get('window15');
|
||||
$window16 = $params->get('window16');
|
||||
$window17 = $params->get('window17');
|
||||
$window18 = $params->get('window18');
|
||||
$window19 = $params->get('window19');
|
||||
$window20 = $params->get('window20');
|
||||
$link = $params->get('link');
|
||||
$link2 = $params->get('link2');
|
||||
$link3 = $params->get('link3');
|
||||
$link4 = $params->get('link4');
|
||||
$link5 = $params->get('link5');
|
||||
$link6 = $params->get('link6');
|
||||
$link7 = $params->get('link7');
|
||||
$link8 = $params->get('link8');
|
||||
$link9 = $params->get('link9');
|
||||
$link10 = $params->get('link10');
|
||||
$link11 = $params->get('link11');
|
||||
$link12 = $params->get('link12');
|
||||
$link13 = $params->get('link13');
|
||||
$link14 = $params->get('link14');
|
||||
$link15 = $params->get('link15');
|
||||
$link16 = $params->get('link16');
|
||||
$link17 = $params->get('link17');
|
||||
$link18 = $params->get('link18');
|
||||
$link19 = $params->get('link19');
|
||||
$link20 = $params->get('link20');
|
||||
$width = $params->get('width');
|
||||
$height = $params->get('height');
|
||||
$auto = $params->get('auto');
|
||||
$easing = $params->get('easing');
|
||||
$sides = $params->get("sides", 8);
|
||||
$speed = $params->get("speed", '5');
|
||||
$effect = $params->get('effect');
|
||||
$random = $params->get('random','0');
|
||||
$buttons = $params->get('buttons','right');
|
||||
$jquery = $params->get('jquery', '1');
|
||||
$pause = $params->get("pause", 'true');
|
||||
$play = $params->get("play", 'true');
|
||||
$effect = $params->get("effect", 'fade');
|
||||
$slideshow_speed = $params->get("slideshow_speed", 800);
|
||||
$timer_speed = $params->get("timer_speed", 4000);
|
||||
$auto_play = $params->get('play', 1);
|
||||
$enable_shadow = ($params->get("enableshadow", 1) == 0)?"false":"true";
|
||||
$imgbutton = $params->get('imgbutton');
|
||||
|
||||
|
||||
if( !defined('SMART_JQUERY') && $jquery ){
|
||||
JHtml::script('modules/'.$module->module.'/assets/js/jquery-1.8.2.min.js');
|
||||
JHtml::script('modules/'.$module->module.'/assets/js/jquery-noconflict.js');
|
||||
define('SMART_JQUERY', 1);
|
||||
}
|
||||
JHtml::script('modules/'.$module->module.'/assets/js/jquery.cycle.all.js');
|
||||
/* Add css*/
|
||||
JHtml::stylesheet('modules/'.$module->module.'/assets/css/style.css');
|
||||
|
||||
$path = JModuleHelper::getLayoutPath( 'mod_ppc_simple_spotlight', 'default' );
|
||||
if (file_exists($path)) {
|
||||
require($path);
|
||||
}
|
||||
?>
|
458
modules/mod_ppc_simple_spotlight/mod_ppc_simple_spotlight.xml
Normal file
@ -0,0 +1,458 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<extension type="module" version="2.5" client="site" method="upgrade">
|
||||
<name>Simple Spotlight</name>
|
||||
<author>Pixel Point Creative </author>
|
||||
<creationDate>December 2011</creationDate>
|
||||
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
|
||||
<authorEmail>info@pixelpointcreative.com</authorEmail>
|
||||
<authorUrl>http://www.pixelpointcreative.com</authorUrl>
|
||||
<version>3.0</version>
|
||||
<description>JQuery image rotator with links.This rotator uses the cycle plugin for 27 great effects.</description>
|
||||
|
||||
<files>
|
||||
<filename module="mod_ppc_simple_spotlight">mod_ppc_simple_spotlight.php</filename>
|
||||
<filename>mod_ppc_simple_spotlight.xml</filename>
|
||||
<folder>tmpl</folder>
|
||||
<folder>assets</folder>
|
||||
<folder>elements</folder>
|
||||
</files>
|
||||
<config>
|
||||
<fields name="params" addfieldpath="/modules/mod_ppc_simple_spotlight/elements/">
|
||||
<fieldset name="basic" label="General Settings" >
|
||||
<field label="Version Check" type="upgradecheck" />
|
||||
|
||||
<field name="moduleclass_sfx" type="text" default="" label="Module Class Suffix" description="Module Class Suffix"></field>
|
||||
<field name="width" type="text" default="910" label="Width" description="Specify width" />
|
||||
<field name="height" type="text" default="258" label="Height" description="Specify height" />
|
||||
|
||||
<field name="effect" type="list" label="Effect" description="Effect" default="toss" >
|
||||
<option value="fade">Fade</option>
|
||||
<option value="fadeZoom">Fade Zoom</option>
|
||||
<option value="zoom">Zoom</option>
|
||||
<option value="shuffle">Shuffle</option>
|
||||
<option value="toss">Toss</option>
|
||||
<option value="wipe">Wipe</option>
|
||||
<option value="cover">Cover</option>
|
||||
<option value="uncover">Uncover</option>
|
||||
<option value="blindX">Blind X</option>
|
||||
<option value="blindY">Blind Y</option>
|
||||
<option value="blindZ">Blind Z</option>
|
||||
<option value="growY">Grow Y</option>
|
||||
<option value="curtainX">Curtain X</option>
|
||||
<option value="curtainY">Curtain Y</option>
|
||||
<option value="slideX">Slide X</option>
|
||||
<option value="slideY">Slide Y</option>
|
||||
<option value="turnUp">Turn Up</option>
|
||||
<option value="turnDown">Turn Down</option>
|
||||
<option value="turnLeft">Turn Left</option>
|
||||
<option value="turnRight">Turn Right</option>
|
||||
<option value="scrollRight">Scroll Right</option>
|
||||
<option value="scrollLeft">Scroll Left</option>
|
||||
<option value="scrollUp">Scroll Up</option>
|
||||
<option value="scrollDown">Scroll Down</option>
|
||||
<option value="scrollHorz">Scroll Horz</option>
|
||||
<option value="scrollVert">Scroll Vert</option>
|
||||
<option value="all">Random</option>
|
||||
|
||||
</field>
|
||||
<field name="play" type="radio" class="btn-group" label="Auto Start" description="" default="1" >
|
||||
<option value="1">Yes</option>
|
||||
<option value="0">No</option>
|
||||
</field>
|
||||
<field name="pause" type="radio" class="btn-group" label="Pause on Hover?" description="" default="1" >
|
||||
<option value="1">Yes</option>
|
||||
<option value="0">No</option>
|
||||
</field>
|
||||
<field name="slideshow_speed" type="text" default="800" label="Animation Duration" description="Animation Duration" />
|
||||
<field name="timer_speed" type="text" default="5000" label="Interval" description="Interval" />
|
||||
<field name="random" type="radio" class="btn-group" default="1" label="Random" description="Random rotation.">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="nav" type="radio" class="btn-group" default="1" label="Navigation Buttons" description="Show/Hide Navigation Buttons">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="imgbutton" type="list" label="Button Images" description="Different stlye buttons to choose from" default="1" >
|
||||
<option value="1">Style 1</option>
|
||||
<option value="2">Style 2</option>
|
||||
<option value="3">Style 3</option>
|
||||
<option value="4">Style 4</option>
|
||||
<option value="5">Style 5</option>
|
||||
</field>
|
||||
|
||||
<field name="buttons" type="radio" class="btn-group" default="right" label="Buttons Position" description="Where do buttons appear?">
|
||||
<option value="left">Left</option>
|
||||
<option value="right">Right</option>
|
||||
<option value="center">Center</option>
|
||||
</field>
|
||||
<field name="enableshadow" type="radio" class="btn-group" default="1" label="Enable Shadow?" description="Enable/Disable the bottom shadow">
|
||||
<option value="1">Yes</option>
|
||||
<option value="0">No</option>
|
||||
</field>
|
||||
<field name="jquery" type="radio" class="btn-group" default="1" label="Include jQuery Library" description="Include jQuery Library">
|
||||
<option value="1">Yes</option>
|
||||
<option value="0">No</option>
|
||||
</field>
|
||||
<field name="cache" type="list" default="0" label="Caching" description="Caching">
|
||||
<option value="1">Use Cache</option>
|
||||
<option value="0">Do not use Cache</option>
|
||||
</field>
|
||||
<field name="cache_time" type="text" default="300" label="Cache time" description="Cache time" />
|
||||
<field name="note" type="textarea" cols="50" rows="10" default="" label="Notes" description=""/>
|
||||
</fieldset>
|
||||
|
||||
|
||||
<fieldset name="ImageSettings" label="Image Settings 1-10">
|
||||
<field name="spacer1" type="spacer" label="<b>Image 1</b>" />
|
||||
<field name="show1" type="radio" class="btn-group" default="1" label="Show this Image?" description="Show image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="spotlightImage" type="media" label="Image 1" description="" />
|
||||
<field name="nolink" type="radio" class="btn-group" default="0" label="Hyperlink Image?" description="Add Link to image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="link" type="text" default="" size="60" label="Link URL" description="Enter the complete url that should open when you click on this image." />
|
||||
<field name="window" type="radio" class="btn-group" default="_blank" label="Link Window" description="Open links in new window or same window?">
|
||||
<option value="_blank">New Window</option>
|
||||
<option value="_self">Same Window</option>
|
||||
</field>
|
||||
<field name="alt" type="text" default="image" label="Alt/Title" description="alt and title tag for image" />
|
||||
|
||||
<field name="spacer2" type="spacer" label="<b>Image 2</b>" />
|
||||
<field name="show2" type="radio" class="btn-group" default="1" label="Show this Image?" description="Show image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="spotlightImage2" type="media" default="" label="Image 2" description="" />
|
||||
<field name="nolink2" type="radio" class="btn-group" default="0" label="Hyperlink Image?" description="Add Link to image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="link2" type="text" default="" size="60" label="Link URL" description="Enter the complete url that should open when you click on this image." />
|
||||
<field name="window2" type="radio" class="btn-group" default="_blank" label="Link Window" description="Open links in new window or same window?">
|
||||
<option value="_blank">New Window</option>
|
||||
<option value="_self">Same Window</option>
|
||||
</field>
|
||||
<field name="alt2" type="text" default="image" label="Alt/Title" description="alt and title tag for image" />
|
||||
|
||||
<field name="spacer3" type="spacer" label="<b>Image 3</b>" />
|
||||
<field name="show3" type="radio" class="btn-group" default="1" label="Show this Image?" description="Show image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="spotlightImage3" type="media" default="" label="Image 3" description="" />
|
||||
<field name="nolink3" type="radio" class="btn-group" default="0" label="Hyperlink Image?" description="Add Link to image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="link3" type="text" default="" size="60" label="Link URL" description="Enter the complete url that should open when you click on this image." />
|
||||
<field name="window3" type="radio" class="btn-group" default="_blank" label="Link Window" description="Open links in new window or same window?">
|
||||
<option value="_blank">New Window</option>
|
||||
<option value="_self">Same Window</option>
|
||||
</field>
|
||||
<field name="alt3" type="text" default="image" label="Alt/Title" description="alt and title tag for image" />
|
||||
|
||||
<field name="spacer4" type="spacer" label="<b>Image 4</b>" />
|
||||
<field name="show4" type="radio" class="btn-group" default="0" label="Show this Image?" description="Show image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="spotlightImage4" type="media" default="" label="Image 4" description="" />
|
||||
<field name="nolink4" type="radio" class="btn-group" default="0" label="Hyperlink Image?" description="Add Link to image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="link4" type="text" default="" size="60" label="Link URL" description="Enter the complete url that should open when you click on this image." />
|
||||
<field name="window4" type="radio" class="btn-group" default="_blank" label="Link Window" description="Open links in new window or same window?">
|
||||
<option value="_blank">New Window</option>
|
||||
<option value="_self">Same Window</option>
|
||||
</field>
|
||||
<field name="alt4" type="text" default="image" label="Alt/Title" description="alt and title tag for image" />
|
||||
|
||||
<field name="spacer5" type="spacer" label="<b>Image 5</b>" />
|
||||
<field name="show5" type="radio" class="btn-group" default="0" label="Show this Image?" description="Show image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="spotlightImage5" type="media" default="" label="Image 5" description="" />
|
||||
<field name="nolink5" type="radio" class="btn-group" default="0" label="Hyperlink Image?" description="Add Link to image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="link5" type="text" default="" size="60" label="Link URL" description="Enter the complete url that should open when you click on this image." />
|
||||
<field name="window5" type="radio" class="btn-group" default="_blank" label="Link Window" description="Open links in new window or same window?">
|
||||
<option value="_blank">New Window</option>
|
||||
<option value="_self">Same Window</option>
|
||||
</field>
|
||||
<field name="alt5" type="text" default="image" label="Alt/Title" description="alt and title tag for image" />
|
||||
|
||||
<field name="spacer6" type="spacer" label="<b>Image 6</b>" />
|
||||
<field name="show6" type="radio" class="btn-group" default="0" label="Show this Image?" description="Show image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="spotlightImage6" type="media" default="" label="Image 6" description="" />
|
||||
<field name="nolink6" type="radio" class="btn-group" default="0" label="Hyperlink Image?" description="Add Link to image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="link6" type="text" default="" size="60" label="Link URL" description="Enter the complete url that should open when you click on this image." />
|
||||
<field name="window6" type="radio" class="btn-group" default="_blank" label="Link Window" description="Open links in new window or same window?">
|
||||
<option value="_blank">New Window</option>
|
||||
<option value="_self">Same Window</option>
|
||||
</field>
|
||||
<field name="alt6" type="text" default="image" label="Alt/Title" description="alt and title tag for image" />
|
||||
|
||||
<field name="spacer7" type="spacer" label="<b>Image 7</b>" />
|
||||
<field name="show7" type="radio" class="btn-group" default="0" label="Show this Image?" description="Show image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="spotlightImage7" type="media" default="" label="Image 7" description="" />
|
||||
<field name="nolink7" type="radio" class="btn-group" default="0" label="Hyperlink Image?" description="Add Link to image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="link7" type="text" default="" size="60" label="Link URL" description="Enter the complete url that should open when you click on this image." />
|
||||
<field name="window7" type="radio" class="btn-group" default="_blank" label="Link Window" description="Open links in new window or same window?">
|
||||
<option value="_blank">New Window</option>
|
||||
<option value="_self">Same Window</option>
|
||||
</field>
|
||||
<field name="alt7" type="text" default="image" label="Alt/Title" description="alt and title tag for image" />
|
||||
|
||||
<field name="spacer8" type="spacer" label="<b>Image 8</b>" />
|
||||
|
||||
<field name="show8" type="radio" class="btn-group" default="0" label="Show this Image?" description="Show image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field><field name="spotlightImage8" type="media" default="" label="Image 8" description="" />
|
||||
<field name="nolink8" type="radio" class="btn-group" default="0" label="Hyperlink Image?" description="Add Link to image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="link8" type="text" default="" size="60" label="Link URL" description="Enter the complete url that should open when you click on this image." />
|
||||
<field name="window8" type="radio" class="btn-group" default="_blank" label="Link Window" description="Open links in new window or same window?">
|
||||
<option value="_blank">New Window</option>
|
||||
<option value="_self">Same Window</option>
|
||||
</field>
|
||||
<field name="alt8" type="text" default="image" label="Alt/Title" description="alt and title tag for image" />
|
||||
|
||||
<field name="spacer9" type="spacer" label="<b>Image 9</b>" />
|
||||
<field name="show9" type="radio" class="btn-group" default="0" label="Show this Image?" description="Show image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="spotlightImage9" type="media" default="" label="Image 9" description="" />
|
||||
<field name="nolink9" type="radio" class="btn-group" default="0" label="Hyperlink Image?" description="Add Link to image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="link9" type="text" default="" size="60" label="Link URL" description="Enter the complete url that should open when you click on this image." />
|
||||
<field name="window9" type="radio" class="btn-group" default="_blank" label="Link Window" description="Open links in new window or same window?">
|
||||
<option value="_blank">New Window</option>
|
||||
<option value="_self">Same Window</option>
|
||||
</field>
|
||||
<field name="alt9" type="text" default="image" label="Alt/Title" description="alt and title tag for image" />
|
||||
|
||||
<field name="spacer10" type="spacer" label="<b>Image 10</b>" />
|
||||
<field name="show10" type="radio" class="btn-group" default="0" label="Show this Image?" description="Show image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="spotlightImage10" type="media" default="" label="Image 10" description="" />
|
||||
<field name="nolink10" type="radio" class="btn-group" default="0" label="Hyperlink Image?" description="Add Link to image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="link10" type="text" default="" size="60" label="Link URL" description="Enter the complete url that should open when you click on this image." />
|
||||
<field name="window10" type="radio" class="btn-group" default="_blank" label="Link Window" description="Open links in new window or same window?">
|
||||
<option value="_blank">New Window</option>
|
||||
<option value="_self">Same Window</option>
|
||||
</field>
|
||||
<field name="alt10" type="text" default="image" label="Alt/Title" description="alt and title tag for image" />
|
||||
</fieldset>
|
||||
|
||||
<fieldset name="ImageSettings2" label="Image Settings 11-20">
|
||||
|
||||
<field name="spacer11" type="spacer" label="<b>Image 11</b>" />
|
||||
<field name="show11" type="radio" class="btn-group" default="0" label="Show this Image?" description="Show image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="spotlightImage11" type="media" default="" label="Image 11" description="" />
|
||||
<field name="nolink11" type="radio" class="btn-group" default="0" label="Hyperlink Image?" description="Add Link to image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="link11" type="text" default="" size="60" label="Link URL" description="Enter the complete url that should open when you click on this image." />
|
||||
<field name="window11" type="radio" class="btn-group" default="_blank" label="Link Window" description="Open links in new window or same window?">
|
||||
<option value="_blank">New Window</option>
|
||||
<option value="_self">Same Window</option>
|
||||
</field>
|
||||
<field name="alt11" type="text" default="image" label="Alt/Title" description="alt and title tag for image" />
|
||||
|
||||
<field name="spacer12" type="spacer" label="<b>Image 12</b>" />
|
||||
<field name="show12" type="radio" class="btn-group" default="0" label="Show this Image?" description="Show image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="spotlightImage12" type="media" default="" label="Image 12" description="" />
|
||||
<field name="nolink12" type="radio" class="btn-group" default="0" label="Hyperlink Image?" description="Add Link to image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="link12" type="text" default="" size="60" label="Link URL" description="Enter the complete url that should open when you click on this image." />
|
||||
<field name="window12" type="radio" class="btn-group" default="_blank" label="Link Window" description="Open links in new window or same window?">
|
||||
<option value="_blank">New Window</option>
|
||||
<option value="_self">Same Window</option>
|
||||
</field>
|
||||
<field name="alt12" type="text" default="image" label="Alt/Title" description="alt and title tag for image" />
|
||||
|
||||
<field name="spacer13" type="spacer" label="<b>Image 13</b>" />
|
||||
<field name="show13" type="radio" class="btn-group" default="0" label="Show this Image?" description="Show image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="spotlightImage13" type="media" default="" label="Image 13" description="" />
|
||||
<field name="nolink13" type="radio" class="btn-group" default="0" label="Hyperlink Image?" description="Add Link to image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="link13" type="text" default="" size="60" label="Link URL" description="Enter the complete url that should open when you click on this image." />
|
||||
<field name="window13" type="radio" class="btn-group" default="_blank" label="Link Window" description="Open links in new window or same window?">
|
||||
<option value="_blank">New Window</option>
|
||||
<option value="_self">Same Window</option>
|
||||
</field>
|
||||
<field name="alt13" type="text" default="image" label="Alt/Title" description="alt and title tag for image" />
|
||||
|
||||
<field name="spacer14" type="spacer" label="<b>Image 14</b>" />
|
||||
<field name="show14" type="radio" class="btn-group" default="0" label="Show this Image?" description="Show image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="spotlightImage14" type="media" default="" label="Image 14" description="" />
|
||||
<field name="nolink14" type="radio" class="btn-group" default="0" label="Hyperlink Image?" description="Add Link to image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="link14" type="text" default="" size="60" label="Link URL" description="Enter the complete url that should open when you click on this image." />
|
||||
<field name="window14" type="radio" class="btn-group" default="_blank" label="Link Window" description="Open links in new window or same window?">
|
||||
<option value="_blank">New Window</option>
|
||||
<option value="_self">Same Window</option>
|
||||
</field>
|
||||
<field name="alt14" type="text" default="image" label="Alt/Title" description="alt and title tag for image" />
|
||||
|
||||
<field name="spacer15" type="spacer" label="<b>Image 15</b>" />
|
||||
<field name="show15" type="radio" class="btn-group" default="0" label="Show this Image?" description="Show image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="spotlightImage15" type="media" default="" label="Image 15" description="" />
|
||||
<field name="nolink15" type="radio" class="btn-group" default="0" label="Hyperlink Image?" description="Add Link to image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="link15" type="text" default="" size="60" label="Link URL" description="Enter the complete url that should open when you click on this image." />
|
||||
<field name="window15" type="radio" class="btn-group" default="_blank" label="Link Window" description="Open links in new window or same window?">
|
||||
<option value="_blank">New Window</option>
|
||||
<option value="_self">Same Window</option>
|
||||
</field>
|
||||
<field name="alt15" type="text" default="image" label="Alt/Title" description="alt and title tag for image" />
|
||||
|
||||
<field name="spacer16" type="spacer" label="<b>Image 16</b>" />
|
||||
<field name="show16" type="radio" class="btn-group" default="0" label="Show this Image?" description="Show image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="spotlightImage16" type="media" default="" label="Image 16" description="" />
|
||||
<field name="nolink16" type="radio" class="btn-group" default="0" label="Hyperlink Image?" description="Add Link to image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="link16" type="text" default="" size="60" label="Link URL" description="Enter the complete url that should open when you click on this image." />
|
||||
<field name="window16" type="radio" class="btn-group" default="_blank" label="Link Window" description="Open links in new window or same window?">
|
||||
<option value="_blank">New Window</option>
|
||||
<option value="_self">Same Window</option>
|
||||
</field>
|
||||
<field name="alt16" type="text" default="image" label="Alt/Title" description="alt and title tag for image" />
|
||||
|
||||
<field name="spacer17" type="spacer" label="<b>Image 17</b>" />
|
||||
<field name="show17" type="radio" class="btn-group" default="0" label="Show this Image?" description="Show image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="spotlightImage17" type="media" default="" label="Image 17" description="" />
|
||||
<field name="nolink17" type="radio" class="btn-group" default="0" label="Hyperlink Image?" description="Add Link to image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="link17" type="text" default="" size="60" label="Link URL" description="Enter the complete url that should open when you click on this image." />
|
||||
<field name="window17" type="radio" class="btn-group" default="_blank" label="Link Window" description="Open links in new window or same window?">
|
||||
<option value="_blank">New Window</option>
|
||||
<option value="_self">Same Window</option>
|
||||
</field>
|
||||
<field name="alt17" type="text" default="image" label="Alt/Title" description="alt and title tag for image" />
|
||||
|
||||
<field name="spacer18" type="spacer" label="<b>Image 18</b>" />
|
||||
<field name="show18" type="radio" class="btn-group" default="0" label="Show this Image?" description="Show image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="spotlightImage18" type="media" default="" label="Image 18" description="" />
|
||||
<field name="nolink18" type="radio" class="btn-group" default="0" label="Hyperlink Image?" description="Add Link to image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="link18" type="text" default="" size="60" label="Link URL" description="Enter the complete url that should open when you click on this image." />
|
||||
<field name="window18" type="radio" class="btn-group" default="_blank" label="Link Window" description="Open links in new window or same window?">
|
||||
<option value="_blank">New Window</option>
|
||||
<option value="_self">Same Window</option>
|
||||
</field>
|
||||
<field name="alt18" type="text" default="image" label="Alt/Title" description="alt and title tag for image" />
|
||||
|
||||
<field name="spacer19" type="spacer" label="<b>Image 19</b>" />
|
||||
<field name="show19" type="radio" class="btn-group" default="0" label="Show this Image?" description="Show image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="spotlightImage19" type="media" default="" label="Image 19" description="" />
|
||||
<field name="nolink19" type="radio" class="btn-group" default="0" label="Hyperlink Image?" description="Add Link to image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="link19" type="text" default="" size="60" label="Link URL" description="Enter the complete url that should open when you click on this image." />
|
||||
<field name="window19" type="radio" class="btn-group" default="_blank" label="Link Window" description="Open links in new window or same window?">
|
||||
<option value="_blank">New Window</option>
|
||||
<option value="_self">Same Window</option>
|
||||
</field>
|
||||
<field name="alt19" type="text" default="image" label="Alt/Title" description="alt and title tag for image" />
|
||||
|
||||
<field name="spacer20" type="spacer" label="<b>Image 20</b>" />
|
||||
<field name="show20" type="radio" class="btn-group" default="0" label="Show this Image?" description="Show image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="spotlightImage20" type="media" default="" label="Image 20" description="" />
|
||||
<field name="nolink20" type="radio" class="btn-group" default="0" label="Hyperlink Image?" description="Add Link to image?">
|
||||
<option value="0">No</option>
|
||||
<option value="1">Yes</option>
|
||||
</field>
|
||||
<field name="link20" type="text" default="" size="60" label="Link URL" description="Enter the complete url that should open when you click on this image." />
|
||||
<field name="window20" type="radio" class="btn-group" default="_blank" label="Link Window" description="Open links in new window or same window?">
|
||||
<option value="_blank">New Window</option>
|
||||
<option value="_self">Same Window</option>
|
||||
</field>
|
||||
<field name="alt20" type="text" default="image" label="Alt/Title" description="alt and title tag for image" />
|
||||
|
||||
</fieldset>
|
||||
|
||||
|
||||
</fields>
|
||||
</config>
|
||||
<updateservers>
|
||||
<server type="extension" priority="1" name="Simple Spotlight Module Auto Updater">http://www.pixelpointcreative.com/autoupdates/simplespotlight.xml</server>
|
||||
</updateservers>
|
||||
</extension>
|
229
modules/mod_ppc_simple_spotlight/tmpl/default.php
Normal file
@ -0,0 +1,229 @@
|
||||
<?php
|
||||
/*
|
||||
// Pixel Point Creative "Simple Spotlight" Module for Joomla!
|
||||
// License: http://www.gnu.org/copyleft/gpl.html
|
||||
// Copyright (c) Pixel Point Creative LLC.
|
||||
// More info at http://www.pixelpointcreative.com
|
||||
// Developer: Daniel Riefstahl
|
||||
// ***Last update: 5/3/132***
|
||||
*/
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
if (!defined('DS')) {
|
||||
define('DS', DIRECTORY_SEPARATOR);
|
||||
}
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
jQuery(document).ready(function($) {
|
||||
$('#sp<?php echo $module->id?> ul').cycle({
|
||||
fx: '<?php echo $effect;?>',
|
||||
timeout: <?php echo $auto_play ? $timer_speed : 0;?>,
|
||||
speed: <?php echo $slideshow_speed;?>,
|
||||
next: '#next<?php echo $module->id?>',
|
||||
prev: '#prev<?php echo $module->id?>',
|
||||
pause: <?php echo ($pause) ? 1 : 0;?>,
|
||||
width: <?php echo ($width) ?>,
|
||||
height: <?php echo $height; ?>,
|
||||
fit: 1
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
<div style="background:none;width:<?php echo ($width) ?>px;margin:auto;" >
|
||||
<div class="slideshow" id="sp<?php echo $module->id?>" >
|
||||
<ul style="background:none;margin:0px;padding:0px;">
|
||||
<?php
|
||||
|
||||
$arr_img = array();
|
||||
|
||||
if ($params->get('show1')){
|
||||
if ($spotlightImage) $getlink = '';
|
||||
if ($params->get('nolink')) {$getlink = '<a href="'.$link.'" target="'.$window.'"><img src="'.JURI::base().$spotlightImage.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt.'" title="'.$alt.'" /></a>';
|
||||
} else {
|
||||
$getlink = '<img src="'.JURI::base().$spotlightImage.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt.'" title="'.$alt.'" />';
|
||||
}
|
||||
$arr_img[]='<li style="background:none;margin:0px;padding:0px">'. $getlink .'</li>';
|
||||
}
|
||||
if ($params->get('show2')){
|
||||
if ($spotlightImage2) $getlink2 = '';
|
||||
if ($params->get('nolink2')) {$getlink2 = '<a href="'.$link2.'" target="'.$window2.'"><img src="'.JURI::base().$spotlightImage2.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt2.'" title="'.$alt2.'" /></a>';
|
||||
} else {
|
||||
$getlink2 = '<img src="'.JURI::base().$spotlightImage2.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt2.'" title="'.$alt2.'" />';
|
||||
}
|
||||
$arr_img[]='<li style="background:none;margin:0px;padding:0px">'. $getlink2 .'</li>';
|
||||
}
|
||||
if ($params->get('show3')){
|
||||
if ($spotlightImage3) $getlink3 = '';
|
||||
if ($params->get('nolink3')) {$getlink3 = '<a href="'.$link3.'" target="'.$window3.'"><img src="'.JURI::base().$spotlightImage3.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt3.'" title="'.$alt3.'" /></a>';
|
||||
} else {
|
||||
$getlink3 = '<img src="'.JURI::base().$spotlightImage3.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt3.'" title="'.$alt3.'" />';
|
||||
}
|
||||
$arr_img[]='<li style="background:none;margin:0px;padding:0px">'. $getlink3 .'</li>';
|
||||
}
|
||||
if ($params->get('show4')){
|
||||
if ($spotlightImage4) $getlink4 = '';
|
||||
if ($params->get('nolink4')) {$getlink4 = '<a href="'.$link4.'" target="'.$window4.'"><img src="'.JURI::base().$spotlightImage4.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt4.'" title="'.$alt4.'" /></a>';
|
||||
} else {
|
||||
$getlink4 = '<img src="'.JURI::base().$spotlightImage4.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt4.'" title="'.$alt4.'" />';
|
||||
}
|
||||
$arr_img[]='<li style="background:none;margin:0px;padding:0px">'. $getlink4 .'</li>';
|
||||
}
|
||||
if ($params->get('show5')){
|
||||
if ($spotlightImage5) $getlink5 = '';
|
||||
if ($params->get('nolink5')) {$getlink5 = '<a href="'.$link5.'" target="'.$window5.'"><img src="'.JURI::base().$spotlightImage5.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt5.'" title="'.$alt5.'" /></a>';
|
||||
} else {
|
||||
$getlink5 = '<img src="'.JURI::base().$spotlightImage5.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt5.'" title="'.$alt5.'" />';
|
||||
}
|
||||
$arr_img[]='<li style="background:none;margin:0px;padding:0px">'. $getlink5 .'</li>';
|
||||
}
|
||||
if ($params->get('show6')){
|
||||
if ($spotlightImage6) $getlink6 = '';
|
||||
if ($params->get('nolink6')) {$getlink6 = '<a href="'.$link6.'" target="'.$window6.'"><img src="'.JURI::base().$spotlightImage6.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt6.'" title="'.$alt6.'" /></a>';
|
||||
} else {
|
||||
$getlink6 = '<img src="'.JURI::base().$spotlightImage6.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt6.'" title="'.$alt6.'" />';
|
||||
}
|
||||
$arr_img[]='<li style="background:none;margin:0px;padding:0px">'. $getlink6 .'</li>';
|
||||
}
|
||||
if ($params->get('show7')){
|
||||
if ($spotlightImage7) $getlink7 = '';
|
||||
if ($params->get('nolink7')) {$getlink7 = '<a href="'.$link7.'" target="'.$window7.'"><img src="'.JURI::base().$spotlightImage7.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt7.'" title="'.$alt7.'" /></a>';
|
||||
} else {
|
||||
$getlink7 = '<img src="'.JURI::base().$spotlightImage7.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt7.'" title="'.$alt7.'" />';
|
||||
}
|
||||
$arr_img[]='<li style="background:none;margin:0px;padding:0px">'. $getlink7 .'</li>';
|
||||
}
|
||||
if ($params->get('show8')){
|
||||
if ($spotlightImage8) $getlink8 = '';
|
||||
if ($params->get('nolink8')) {$getlink8 = '<a href="'.$link8.'" target="'.$window8.'"><img src="'.JURI::base().$spotlightImage8.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt8.'" title="'.$alt8.'" /></a>';
|
||||
} else {
|
||||
$getlink8 = '<img src="'.JURI::base().$spotlightImage8.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt8.'" title="'.$alt8.'" />';
|
||||
}
|
||||
$arr_img[]='<li style="background:none;margin:0px;padding:0px">'. $getlink8 .'</li>';
|
||||
}
|
||||
if ($params->get('show9')){
|
||||
if ($spotlightImage9) $getlink9 = '';
|
||||
if ($params->get('nolink9')) {$getlink9 = '<a href="'.$link9.'" target="'.$window9.'"><img src="'.JURI::base().$spotlightImage9.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt9.'" title="'.$alt9.'" /></a>';
|
||||
} else {
|
||||
$getlink9 = '<img src="'.JURI::base().$spotlightImage9.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt9.'" title="'.$alt9.'" />';
|
||||
}
|
||||
$arr_img[]='<li style="background:none;margin:0px;padding:0px">'. $getlink9 .'</li>';
|
||||
}
|
||||
if ($params->get('show10')){
|
||||
if ($spotlightImage10) $getlink10 = '';
|
||||
if ($params->get('nolink10')) {$getlink10 = '<a href="'.$link10.'" target="'.$window10.'"><img src="'.JURI::base().$spotlightImage10.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt10.'" title="'.$alt10.'" /></a>';
|
||||
} else {
|
||||
$getlink10 = '<img src="'.JURI::base().$spotlightImage10.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt10.'" title="'.$alt10.'" />';
|
||||
}
|
||||
$arr_img[]='<li style="background:none;margin:0px;padding:0px">'. $getlink10 .'</li>';
|
||||
}
|
||||
if ($params->get('show11')){
|
||||
if ($spotlightImage11) $getlink11 = '';
|
||||
if ($params->get('nolink11')) {$getlink11 = '<a href="'.$link11.'" target="'.$window11.'"><img src="'.JURI::base().$spotlightImage11.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt11.'" title="'.$alt11.'" /></a>';
|
||||
} else {
|
||||
$getlink11 = '<img src="'.JURI::base().$spotlightImage11.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt11.'" title="'.$alt11.'" />';
|
||||
}
|
||||
$arr_img[]='<li style="background:none;margin:0px;padding:0px">'. $getlink11 .'</li>';
|
||||
}
|
||||
if ($params->get('show12')){
|
||||
if ($spotlightImage12) $getlink12 = '';
|
||||
if ($params->get('nolink12')) {$getlink12 = '<a href="'.$link12.'" target="'.$window12.'"><img src="'.JURI::base().$spotlightImage12.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt12.'" title="'.$alt12.'" /></a>';
|
||||
} else {
|
||||
$getlink12 = '<img src="'.JURI::base().$spotlightImage12.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt12.'" title="'.$alt12.'" />';
|
||||
}
|
||||
$arr_img[]='<li style="background:none;margin:0px;padding:0px">'. $getlink12 .'</li>';
|
||||
}
|
||||
if ($params->get('show13')){
|
||||
if ($spotlightImage13) $getlink13 = '';
|
||||
if ($params->get('nolink13')) {$getlink13 = '<a href="'.$link13.'" target="'.$window13.'"><img src="'.JURI::base().$spotlightImage13.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt13.'" title="'.$alt13.'" /></a>';
|
||||
} else {
|
||||
$getlink13 = '<img src="'.JURI::base().$spotlightImage13.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt13.'" title="'.$alt13.'" />';
|
||||
}
|
||||
$arr_img[]='<li style="background:none;margin:0px;padding:0px">'. $getlink13 .'</li>';
|
||||
}
|
||||
if ($params->get('show14')){
|
||||
if ($spotlightImage14) $getlink14 = '';
|
||||
if ($params->get('nolink14')) {$getlink14 = '<a href="'.$link14.'" target="'.$window14.'"><img src="'.JURI::base().$spotlightImage14.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt14.'" title="'.$alt14.'" /></a>';
|
||||
} else {
|
||||
$getlink14 = '<img src="'.JURI::base().$spotlightImage14.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt14.'" title="'.$alt14.'" />';
|
||||
}
|
||||
$arr_img[]='<li style="background:none;margin:0px;padding:0px">'. $getlink14 .'</li>';
|
||||
}
|
||||
if ($params->get('show15')){
|
||||
if ($spotlightImage15) $getlink15 = '';
|
||||
if ($params->get('nolink15')) {$getlink15 = '<a href="'.$link15.'" target="'.$window15.'"><img src="'.JURI::base().$spotlightImage15.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt15.'" title="'.$alt15.'" /></a>';
|
||||
} else {
|
||||
$getlink15 = '<img src="'.JURI::base().$spotlightImage15.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt15.'" title="'.$alt15.'" />';
|
||||
}
|
||||
$arr_img[]='<li style="background:none;margin:0px;padding:0px">'. $getlink15 .'</li>';
|
||||
}
|
||||
if ($params->get('show16')){
|
||||
if ($spotlightImage16) $getlink16 = '';
|
||||
if ($params->get('nolink16')) {$getlink16 = '<a href="'.$link16.'" target="'.$window16.'"><img src="'.JURI::base().$spotlightImage16.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt16.'" title="'.$alt16.'" /></a>';
|
||||
} else {
|
||||
$getlink16 = '<img src="'.JURI::base().$spotlightImage16.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt16.'" title="'.$alt16.'" />';
|
||||
}
|
||||
$arr_img[]='<li style="background:none;margin:0px;padding:0px">'. $getlink16 .'</li>';
|
||||
}
|
||||
if ($params->get('show17')){
|
||||
if ($spotlightImage17) $getlink17 = '';
|
||||
if ($params->get('nolink17')) {$getlink17 = '<a href="'.$link17.'" target="'.$window17.'"><img src="'.JURI::base().$spotlightImage17.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt17.'" title="'.$alt17.'" /></a>';
|
||||
} else {
|
||||
$getlink17 = '<img src="'.JURI::base().$spotlightImage17.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt17.'" title="'.$alt17.'" />';
|
||||
}
|
||||
$arr_img[]='<li style="background:none;margin:0px;padding:0px">'. $getlink17 .'</li>';
|
||||
}
|
||||
if ($params->get('show18')){
|
||||
if ($spotlightImage18) $getlink18 = '';
|
||||
if ($params->get('nolink18')) {$getlink18 = '<a href="'.$link18.'" target="'.$window18.'"><img src="'.JURI::base().$spotlightImage18.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt18.'" title="'.$alt18.'" /></a>';
|
||||
} else {
|
||||
$getlink18 = '<img src="'.JURI::base().$spotlightImage18.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt18.'" title="'.$alt18.'" />';
|
||||
}
|
||||
$arr_img[]='<li style="background:none;margin:0px;padding:0px">'. $getlink18 .'</li>';
|
||||
}
|
||||
if ($params->get('show19')){
|
||||
if ($spotlightImage19) $getlink19 = '';
|
||||
if ($params->get('nolink19')) {$getlink19 = '<a href="'.$link19.'" target="'.$window19.'"><img src="'.JURI::base().$spotlightImage19.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt19.'" title="'.$alt19.'" /></a>';
|
||||
} else {
|
||||
$getlink19 = '<img src="'.JURI::base().$spotlightImage19.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt19.'" title="'.$alt19.'" />';
|
||||
}
|
||||
$arr_img[]='<li style="background:none;margin:0px;padding:0px">'. $getlink19 .'</li>';
|
||||
}
|
||||
if ($params->get('show20')){
|
||||
if ($spotlightImage20) $getlink20 = '';
|
||||
if ($params->get('nolink20')) {$getlink20 = '<a href="'.$link20.'" target="'.$window20.'"><img src="'.JURI::base().$spotlightImage20.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt20.'" title="'.$alt20.'" /></a>';
|
||||
} else {
|
||||
$getlink20 = '<img src="'.JURI::base().$spotlightImage20.'" width="'.$width.'px" height="'.$height.'px" border="0" alt="'.$alt20.'" title="'.$alt20.'" />';
|
||||
}
|
||||
$arr_img[]='<li style="background:none;margin:0px;padding:0px">'. $getlink20 .'</li>';
|
||||
}
|
||||
|
||||
if($random == 1){
|
||||
|
||||
shuffle($arr_img);
|
||||
|
||||
}
|
||||
|
||||
foreach($arr_img as $item) {
|
||||
|
||||
|
||||
echo $item;
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
</ul>
|
||||
<?php if ($params->get('nav')) : ?>
|
||||
|
||||
|
||||
<div class="ssbutton" style="width:<?php echo ($width)-15 ?>px;text-align:<?php echo ($buttons) ?>; bottom:15px; padding: 0 25px 0 10px; position: absolute; z-index: 200;">
|
||||
<a href="#" class="ssprev"><span id="prev<?php echo $module->id?>"><img src="modules/mod_ppc_simple_spotlight/assets/img/button/prev<?php echo $imgbutton ;?>.png" title="Previous" alt="Previous" /></span></a>
|
||||
<a href="#" class="ssnext"><span id="next<?php echo $module->id?>"><img src="modules/mod_ppc_simple_spotlight/assets/img/button/next<?php echo $imgbutton ;?>.png" title="Next" alt="Next" /></span></a>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php if($enable_shadow=="true") : ?>
|
||||
<div class="bgs_bottom" style="margin:0px auto"><div class="bgs_bottom_left"></div><div class="bgs_bottom_right"></div></div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<div style="clear: both;"></div>
|