pax_global_header 0000666 0000000 0000000 00000000064 12720531511 0014507 g ustar 00root root 0000000 0000000 52 comment=32ff5d7d2fa4daf95a0cafa881395b00f523e4da
woocommerce-galaxyfunder-master/ 0000775 0000000 0000000 00000000000 12720531511 0017352 5 ustar 00root root 0000000 0000000 woocommerce-galaxyfunder-master/Licensing/ 0000775 0000000 0000000 00000000000 12720531511 0021265 5 ustar 00root root 0000000 0000000 woocommerce-galaxyfunder-master/Licensing/GPL.txt 0000775 0000000 0000000 00000104513 12720531511 0022457 0 ustar 00root root 0000000 0000000 GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. 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
them 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 prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. 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.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey 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;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If 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 convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU 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 that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
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.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
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.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
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
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
Copyright (C)
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 3 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, see .
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
Copyright (C)
This program 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, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
.
The GNU 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. But first, please read
.
woocommerce-galaxyfunder-master/Licensing/README_License.txt 0000775 0000000 0000000 00000000634 12720531511 0024433 0 ustar 00root root 0000000 0000000 This theme or plugin is comprised of two parts.
(1) the PHP code and integrated HTML are licensed under the General Public
License (GPL). You will find a copy of the GPL in the same directory as this
text file.
(2) All other parts, but not limited to the CSS code, images, and design are
licensed according to the license purchased from Envato.
Read more about licensing here: http://themeforest.net/licenses
woocommerce-galaxyfunder-master/README.md 0000664 0000000 0000000 00000000312 12720531511 0020625 0 ustar 00root root 0000000 0000000 For of galaxy founder plugin
[DONATIONS id:1286]
IF you like my work on wordpress plugins, [please help me continue to put time on it by donating!](http://www.nexlab.net/donations/woocommerce-plugins/) woocommerce-galaxyfunder-master/crowdfunding.php 0000775 0000000 0000000 00000665324 12720531511 0022577 0 ustar 00root root 0000000 0000000 post_author;
//get_avatar($author_id, 150);
$user_email = get_the_author_meta('user_email', $author_id);
$firstname = get_the_author_meta('first_name', $author_id);
$lastname = get_the_author_meta('last_name', $author_id);
$nickname = get_the_author_meta('user_nicename', $author_id);
$biography = get_the_author_meta('description', $author_id);
$news = get_the_author_meta('country', $author_id);
// var_dump($news);
$getpostmeta = get_post_meta($post->ID, '_crowdfundingcheckboxvalue', true);
if ($getpostmeta == 'yes') {
if (get_option('cf_author_table_show_hide') == '1') {
?>
ID, '_crowdfundingcheckboxvalue', true);
if ($getpostmeta == 'yes') {
$showcontributors = get_post_meta($post->ID, '_crowdfunding_showhide_contributor', true);
if ($showcontributors == 'yes') {
if (get_option('cf_display_donation_table') == 'on') {
?>
shop_order,numberposts=>-1,post_status=>$getpoststatus")) as $order) {
$listofcontributedorderids = array_unique(array_filter((array) get_post_meta($post->ID, 'orderids', true)));
// var_dump($listofcontributedorderids);
if (is_array($listofcontributedorderids)) {
foreach ($listofcontributedorderids as $order) {
$myorderid = $order;
$order = new WC_Order($order);
foreach ($order->get_items() as $item) {
$products = array();
$product_id = $item['product_id'];
$products[] = $product_id;
if (in_array($post->ID, $products)) {
$newpostid = $post->ID;
if ($order->status == CrowdFunding::get_order_status_for_contribution()) {
if ($i == 0) {
echo ' ' . __('Search:', 'galaxyfunder') . ' ' . __('Page Size:', 'galaxyfunder') . '
5
10
50
100
';
?>
" . $i . " " . $order->billing_first_name . " " . $order->billing_last_name . " " . $order->billing_email . " " . $order->get_formatted_order_total() . " " . $order->order_date . " ";
?>
id, 'My Checkbox', true) == '1') {
echo 'Anonymous';
} else {
$mark_contributor_anonymous = get_post_meta($post->ID, '_crowdfunding_contributor_anonymous', true);
if ($mark_contributor_anonymous == 'yes') {
echo 'Anonymous';
} else {
echo $order->billing_first_name . " " . $order->billing_last_name;
}
}
} else {
if (get_post_meta($order->id, 'My Checkbox', true) == '1') {
echo 'Anonymous';
} else {
$mark_contributor_anonymous = get_post_meta($post->ID, '_crowdfunding_contributor_anonymous', true);
if ($mark_contributor_anonymous == 'yes') {
echo 'Anonymous';
} else {
echo get_post_meta($myorderid, 'contributor_list_for_campaign', true);
}
}
}
?>
billing_email; ?>
ID, true);
if (!is_array($cfperkname)) {
if ($cfperkname != '') {
$cfperkname = $cfperkname;
} else {
$cfperkname = '-';
}
echo $cfperkname;
} else {
echo implode(', ', $cfperkname);
}
?>
ID, true);
if ($cfperkamount != 0) {
$cfperkamount = CrowdFunding::get_woocommerce_formatted_price($cfperkamount);
} else {
$cfperkamount = '-';
}
echo $cfperkamount;
?>
";
}
} else {
echo get_post_meta($myorderid, 'perkquantity', true);
}
?>
order_date; ?>
ID, '_crowdfundingcheckboxvalue', true);
if ($checkvalue == 'yes') {
if (get_option('cf_display_donation_table') == 'on') {
if (function_exists('wc_get_order_statuses')) {
$getpoststatus = array_keys(wc_get_order_statuses());
} else {
$getpoststatus = 'publish';
}
foreach (get_posts(array(
'post_type' => 'shop_order',
'posts_per_page' => '-1',
'post_status' => $getpoststatus,
))as $order) {
$order = new WC_Order($order->ID);
foreach ($order->get_items() as $item) {
$products = array();
$product_id = $item['product_id'];
$products[] = $product_id;
if (in_array($post->ID, $products)) {
$newpostid = $post->ID;
if ($order->status == CrowdFunding::get_order_status_for_contribution()) {
// $order_total += $order->get_total();
// update_post_meta($post->ID, '_crowdfundingtotalprice', true);
}
}
}
}
$targetvalue = get_post_meta($post->ID, '_crowdfundinggettargetprice', true);
$ordertotal = get_post_meta($post->ID, '_crowdfundingtotalprice', true);
// if ($ordertotal >= $targetvalue) {
// update_post_meta($post->ID, '_stock_status', 'outofstock');
// } else {
// update_post_meta($post->ID, '_stock_status', 'instock');
// }
}
}
}
public static function crowdfunding_remove_product_pricing($price, $product) {
global $post;
$inbuilt_designs = '';
$new_date_remain = '';
$gettotalfunders = '';
$order_total = get_post_meta($post->ID, '_crowdfundingtotalprice', true);
$getdate = date("m/d/Y");
$fromdate = get_post_meta($post->ID, '_crowdfundingfromdatepicker', true);
$todate = get_post_meta($post->ID, '_crowdfundingtodatepicker', true);
if ($fromdate != '') {
$fromdate = $fromdate;
} else {
$fromdate = $getdate;
update_post_meta($post->ID, '_crowdfundingfromdatepicker', $getdate);
}
// if ($todate != '') {
$datestr = $todate . " 23:59:59"; //Your date
$date = strtotime($datestr); //Converted to a PHP date (a second count)
//Calculate difference
// if (($fromdate == $getdate || $fromdate < $getdate) && ($date >= time())) {
$newid = $post->ID;
$crowdfunding_options = get_post_meta($newid, '_crowdfunding_options', true);
$crowdfunding_end_method = get_post_meta($newid, '_target_end_selection', true);
//var_dump($crowdfunding_options);
//var_dump($crowdfunding_end_method);
if (function_exists('get_product')) {
if (is_product()) {
$inbuilt_design = get_option("cf_inbuilt_design");
$load_design = get_option('load_inbuilt_design');
if ($inbuilt_design == '1') {
if ($load_design == '1') {
?>
ID, '_update_total_funders', true);
if (get_option('cf_funders_count_show_hide') == '1') {
if ($checktotalfunders != '') {
$gettotalfunders = '' . get_post_meta($post->ID, '_update_total_funders', true) . ' ' . __('Funders', 'galaxyfunder') . '
';
} else {
$gettotalfunders = ' 0 ' . __('Funders', 'galaxyfunder') . '
';
}
}
$datestr = $todate . " 23:59:59"; //Your date
$date = strtotime($datestr); //Converted to a PHP date (a second count)
//Calculate difference
if (get_option('cf_day_left_show_hide') == '1') {
if ($crowdfunding_end_method != '2') {
if ($date >= time()) {
$diff = $date - time(); //time returns current time in seconds
$days = floor($diff / (60 * 60 * 24)); //seconds/minute*minutes/hour*hours/day)
$hours = round(($diff - $days * 60 * 60 * 24) / (60 * 60));
//Report
if ($hours > 1) {
$hours = $hours . ' hours';
} else {
$hours = $hours . ' hour';
}
if ($days > 1) {
$new_date_remain = '' . $days . " " . __('days left', 'galaxyfunder') . " " . '
';
} else {
$new_date_remain = '' . $days . " " . __('day left', 'galaxyfunder') . " " . '
';
}
} else {
$new_date_remain = ' 0 ' . __('day left', 'galaxyfunder') . '
';
}
} else {
$new_date_remain = '';
}
}
$products = get_product($post->ID);
$checkvalue = get_post_meta($newid, '_crowdfundingcheckboxvalue', true);
$minimumvalue = get_post_meta($newid, '_crowdfundinggetminimumprice', true);
$recommendedvalue = get_post_meta($newid, '_crowdfundinggetrecommendedprice', true);
$maximumvalue = get_post_meta($newid, '_crowdfundinggetmaximumprice', true);
$targetvalue = get_post_meta($newid, '_crowdfundinggettargetprice', true);
$minpricelabel = get_option('crowdfunding_min_price_tab_product');
$recommendedpricelabel = get_option('crowdfunding_recommended_price_tab_product');
$maximumpricelabel = get_option('crowdfunding_maximum_price_tab_product');
$targetpricelabel = get_option('crowdfunding_target_price_tab_product');
$totalpricelabel = get_option('crowdfunding_totalprice_label');
$totalpricepercentlabel = get_option('crowdfunding_totalprice_percent_label');
$payyourpricelabel = get_option('crowdfunding_payyourprice_price_tab_product');
$hideminimum = get_post_meta($newid, '_crowdfundinghideminimum', true);
$hidemaximum = get_post_meta($newid, '_crowdfundinghidemaximum', true);
$hidetarget = get_post_meta($newid, '_crowdfundinghidetarget', true);
$count2 = '';
$count = '';
$counter = '';
$totalfield = '';
$totalfieldss = '';
$totalfielders = '';
$totalpledgedpercentw = '';
$countercf = '';
$gettotalfunderers = '';
$new_date_remains = '';
if (($order_total != '') && ($targetvalue > 0)) {
$count1 = $order_total / $targetvalue;
$count2 = $count1 * 100;
$counter = number_format($count2, 0);
$count = $counter . "%";
} else {
$count = "0%";
}
if ($minpricelabel != '') {
$minpricecaption = $minpricelabel;
$colonmin = ":";
}
if ($maximumpricelabel != '') {
$maxpricecaption = $maximumpricelabel;
$colonmax = ":";
}
if ($targetpricelabel != '') {
$targetpricecaption = $targetpricelabel;
$colontarget = ":";
}
if ($totalpricelabel != '') {
$totalpricecaption = $totalpricelabel;
$colontotal = ":";
}
if ($totalpricepercentlabel != '') {
$totalpricepercentcaption = $totalpricepercentlabel;
$colontotalpercent = ":";
}
if ($payyourpricelabel != '') {
$payyourpricecaption = $payyourpricelabel;
$colonpay = ":";
}
if ($hideminimum != 'yes') {
if ($minimumvalue != '') {
$minimumfield = "" . $minpricecaption . $colonmin . " " . " " . CrowdFunding::get_woocommerce_formatted_price($minimumvalue) . "
";
} else {
$minimumfield = '';
}
} else {
$minimumfield = '';
}
if ($hidemaximum != 'yes') {
if ($maximumvalue != '') {
$maximumfield = " " . $maxpricecaption . $colonmax . " " . " " . CrowdFunding::get_woocommerce_formatted_price($maximumvalue) . "
";
} else {
$maximumfield = '';
}
} else {
$maximumfield = '';
}
if ($hidetarget != 'yes') {
if ($targetvalue != '') {
$targetfield = " " . $targetpricecaption . $colontarget . " " . " " . CrowdFunding::get_woocommerce_formatted_price($targetvalue) . "
";
} else {
$targetfield = '';
}
} else {
$targetfield = '';
}
if (get_option('cf_raised_amount_show_hide') == '1') {
if ($order_total != '') {
$totalfield = "" . $totalpricecaption . $colontotal . " " . " " . CrowdFunding::get_woocommerce_formatted_price($order_total) . "
";
}
if ($order_total != '') {
$totalfieldss = "" . CrowdFunding::get_woocommerce_formatted_price($order_total) . "
";
}
}
if ($count2 > 0) {
if (get_option('cf_raised_percentage_show_hide') == '1') {
$totalpledgedpercentw = "" . $totalpricepercentcaption . $colontotalpercent . "" . " " . $count . "
";
}
$totalpledgedpercentw .= '';
if ($counter >= 100) {
$counter = 100;
}
$totalpledgedpercentw .= '
';
} else {
$totalpledgedpercentw = "" . $totalpricepercentcaption . $colontotalpercent . "" . " " . $count . "
";
$totalpledgedpercentw .= '';
$totalpledgedpercentw .= '
';
}
if ($count2 > 0) {
$progress_bar_type = get_option('single_product_prog_bar_type');
//if($progress_bar_type == '1'){
$totalpledgedpercent = "" . $totalpricepercentcaption . $colontotalpercent . "" . " " . $count . "
";
$totalpledgedpercentss = '';
if ($counter >= 100) {
$counter = 100;
}
$totalpledgedpercentages = $totalpledgedpercentss . '
';
// } else {
// $totalpledgedpercent = "" . $totalpricepercentcaption . $colontotalpercent . "" . " " . $count . "
";
// $totalpledgedpercentss = '';
// if ($counter >= 100) {
// $counter = 100;
// }
// $totalpledgedpercentages = $totalpledgedpercentss . '
';
// }
} else {
$progress_bar_type = get_option('single_product_prog_bar_type');
if ($progress_bar_type == '1') {
$totalpledgedpercent = "" . $totalpricepercentcaption . $colontotalpercent . "" . " " . $count . "
";
$totalpledgedpercentss = '';
if ($counter >= 100) {
$counter = 100;
}
$totalpledgedpercentages = $totalpledgedpercentss . '
';
} else {
$totalpledgedpercent = "" . $totalpricepercentcaption . $colontotalpercent . "" . " " . $count . "
";
$totalpledgedpercentss = '';
if ($counter >= 100) {
$counter = 100;
}
$totalpledgedpercentages = $totalpledgedpercentss . '
';
}
}
if ($hidetarget != 'yes') {
if ($targetvalue != '') {
$targetfields = " " . __('Raised of', 'galaxyfunder') . " " . CrowdFunding::get_woocommerce_formatted_price($targetvalue) . " " . __('Goal', 'galaxyfunder') . "
";
} else {
$targetfields = '';
}
} else {
$targetfields = '';
}
if (get_option('cf_raised_amount_show_hide') == '1') {
if ($order_total != '') {
$totalfielders = "" . CrowdFunding::get_woocommerce_formatted_price($order_total) . "
";
}
}
if (get_option('cf_day_left_show_hide') == '1') {
if ($crowdfunding_end_method != '2') {
if ($date >= time()) {
$diff = $date - time(); //time returns current time in seconds
$days = floor($diff / (60 * 60 * 24)); //seconds/minute*minutes/hour*hours/day)
$hours = round(($diff - $days * 60 * 60 * 24) / (60 * 60));
if ($hours > 1) {
$hours = $hours . ' hours';
} else {
$hours = $hours . ' hour';
}
$inbuilt_designs = get_option("cf_inbuilt_shop_design");
$load_designs = get_option('load_inbuilt_shop_design');
if ($days > 1) {
$new_date_remains = '' . $days . " " . __('Days Left', 'galaxyfunder') . " " . '
';
} else {
$new_date_remains = '' . $days . " " . __('Day Left', 'galaxyfunder') . " " . '
';
}
} else {
$new_date_remains = ' 0 ' . __('Day Left', 'galaxyfunder') . '
';
}
} else {
$new_date_remains = '';
}
}
$cfcounters = '' . $count . ' ' . __('FUNDED', 'galaxyfunder') . '
';
if ($count2 > 0) {
$totalpledgedpercentsser = '';
if ($counter >= 100) {
$counter = 100;
}
$totalpledgedpercentageser = $totalpledgedpercentsser . '
';
} else {
$totalpledgedpercentsser = '';
if ($counter >= 100) {
$counter = 100;
}
$totalpledgedpercentageser = $totalpledgedpercentsser . '
';
}
if (get_option('cf_funders_count_show_hide') == '1') {
if ($checktotalfunders != '') {
$gettotalfunderers = '' . get_post_meta($post->ID, '_update_total_funders', true) . ' ' . __('Funders', 'galaxyfunder') . '
';
} else {
$gettotalfunderers = ' 0 ' . __('Funders', 'galaxyfunder') . '
';
}
}
if ($hidetarget != 'yes') {
if ($targetvalue != '') {
$targetfielders = " " . __('Raised of', 'galaxyfunder') . " " . CrowdFunding::get_woocommerce_formatted_price($targetvalue) . " " . __('Goal', 'galaxyfunder') . "
";
} else {
$targetfielders = '';
}
} else {
$targetfielders = '';
}
if ($checkvalue == 'yes') {
if (get_option('cf_raised_percentage_show_hide') == '1') {
$countercf = '' . $count . '
';
}
$new = $minimumfield . $maximumfield . $targetfield . $totalfield . $totalpledgedpercentw . $totalfieldss . $countercf . $totalpledgedpercentages . $targetfields . $new_date_remain . $gettotalfunders . $gettotalfunderers . $totalfielders . $targetfielders . $new_date_remains;
return $new;
}
} else {
if (is_shop() || is_product_category() || is_single() || is_page()) {
$payyourpricelabel = '';
$count = '';
$count2 = '';
$counter = '';
$totalfield = '';
$totalfieldss = '';
$totalfielder = '';
$totalpledgedpercent = '';
$countercf = '';
$cfcounter = '';
$new_date_remains = '';
if (get_option('cf_funders_count_show_hide_shop') == '1') {
$checktotalfunders = get_post_meta($post->ID, '_update_total_funders', true);
if ($checktotalfunders != '') {
$gettotalfunders = '' . get_post_meta($post->ID, '_update_total_funders', true) . ' ' . __('Funders', 'galaxyfunder') . ' ';
} else {
$gettotalfunders = ' 0 ' . __('Funders', 'galaxyfunder') . ' ';
}
}
$datestr = $todate . " 23:59:59"; //Your date
$date = strtotime($datestr); //Converted to a PHP date (a second count)
//Calculate difference
if (get_option('cf_day_left_show_hide_shop') == '1') {
if ($crowdfunding_end_method != '2') {
if ($date >= time()) {
$diff = $date - time(); //time returns current time in seconds
$days = floor($diff / (60 * 60 * 24)); //seconds/minute*minutes/hour*hours/day)
$hours = round(($diff - $days * 60 * 60 * 24) / (60 * 60));
//Report
if ($hours > 1) {
$hours = $hours . ' hours';
} else {
$hours = $hours . ' hour';
}
if ($days > 1) {
$new_date_remain = '' . $days . " " . __('days Left', 'galaxyfunder') . " " . ' ';
} else {
$new_date_remain = '' . $days . " " . __('day Left', 'galaxyfunder') . " " . ' ';
}
} else {
$new_date_remain = ' 0 ' . __('day Left', 'galaxyfunder') . ' ';
}
} else {
$new_date_remain = '';
}
}
?>
ID);
$checkvalue = get_post_meta($newid, '_crowdfundingcheckboxvalue', true);
$minimumvalue = get_post_meta($newid, '_crowdfundinggetminimumprice', true);
$recommendedvalue = get_post_meta($newid, '_crowdfundinggetrecommendedprice', true);
$maximumvalue = get_post_meta($newid, '_crowdfundinggetmaximumprice', true);
$targetvalue = get_post_meta($newid, '_crowdfundinggettargetprice', true);
$minpricelabel = get_option('crowdfunding_min_price_shop_page');
$maximumpricelabel = get_option('crowdfunding_maximum_price_shop_page');
$targetpricelabel = get_option('crowdfunding_target_price_shop_page');
$totalpricelabel = get_option('crowdfunding_totalprice_label_shop_page');
$totalpricepercentlabel = get_option('crowdfunding_totalprice_percent_label_shop_page');
$hideminimum = get_post_meta($newid, '_crowdfundinghideminimum', true);
$hidemaximum = get_post_meta($newid, '_crowdfundinghidemaximum', true);
$hidetarget = get_post_meta($newid, '_crowdfundinghidetarget', true);
if (($order_total != '') && ($targetvalue > 0)) {
$count1 = $order_total / $targetvalue;
$count2 = $count1 * 100;
$counter = number_format($count2, 0);
$count = $counter . "%";
} else {
$count = "0%";
}
if ($minpricelabel != '') {
$minpricecaption = $minpricelabel;
$colonmin = ":";
}
if ($maximumpricelabel != '') {
$maxpricecaption = $maximumpricelabel;
$colonmax = ":";
}
if ($targetpricelabel != '') {
$targetpricecaption = $targetpricelabel;
$colontarget = ":";
}
if ($totalpricelabel != '') {
$totalpricecaption = $totalpricelabel;
$colontotal = ":";
}
if ($totalpricepercentlabel != '') {
$totalpricepercentcaption = $totalpricepercentlabel;
$colontotalpercent = ":";
}
if ($payyourpricelabel != '') {
$payyourpricecaption = $payyourpricelabel;
$colonpay = ":";
}
if ($hideminimum != 'yes') {
if ($minimumvalue != '') {
$minimumfield = "" . $minpricecaption . $colonmin . " " . " " . CrowdFunding::get_woocommerce_formatted_price($minimumvalue) . "
";
} else {
$minimumfield = '';
}
} else {
$minimumfield = '';
}
if ($hidemaximum != 'yes') {
if ($maximumvalue != '') {
$maximumfield = " " . $maxpricecaption . $colonmax . " " . " " . CrowdFunding::get_woocommerce_formatted_price($maximumvalue) . "
";
} else {
$maximumfield = '';
}
} else {
$maximumfield = '';
}
if ($hidetarget != 'yes') {
if ($targetvalue != '') {
$targetfield = " " . $targetpricecaption . $colontarget . " " . " " . CrowdFunding::get_woocommerce_formatted_price($targetvalue) . "
";
} else {
$targetfield = '';
}
} else {
$targetfield = '';
}
if (get_option('cf_raised_amount_show_hide_shop') == '1') {
if ($order_total != '') {
$totalfield = "" . $totalpricecaption . $colontotal . " " . " " . CrowdFunding::get_woocommerce_formatted_price($order_total) . "
";
}
if ($order_total != '') {
$totalfieldss = "" . CrowdFunding::get_woocommerce_formatted_price($order_total) . " ";
}
}
if (get_option('cf_raised_percentage_show_hide_shop') == '1') {
$totalpledgedpercent = "" . $totalpricepercentcaption . $colontotalpercent . "" . " " . $count . "
";
}
if ($count2 > 0) {
$totalpledgedpercents = $totalpledgedpercent . '';
if ($counter >= 100) {
$counter = 100;
}
$totalpledgedpercentage = $totalpledgedpercents . '
';
} else {
$totalpledgedpercents = $totalpledgedpercent . '';
if ($counter >= 100) {
$counter = 100;
}
$totalpledgedpercentage = $totalpledgedpercents . '
';
}
if ($count2 > 0) {
$progress_bar_type = get_option('shop_page_prog_bar_type');
if ($progress_bar_type == '1') {
$totalpledgedpercent = "" . $totalpricepercentcaption . $colontotalpercent . "" . " " . $count . "
";
$totalpledgedpercentss = '';
if ($counter >= 100) {
$counter = 100;
}
$totalpledgedpercentages = $totalpledgedpercentss . '
';
} else {
$totalpledgedpercent = "" . $totalpricepercentcaption . $colontotalpercent . "" . " " . $count . "
";
$totalpledgedpercentss = '';
if ($counter >= 100) {
$counter = 100;
}
$totalpledgedpercentages = $totalpledgedpercentss . ' <
';
}
} else {
$progress_bar_type = get_option('shop_page_prog_bar_type');
if ($progress_bar_type == '1') {
$totalpledgedpercent = "" . $totalpricepercentcaption . $colontotalpercent . "" . " " . $count . "
";
$totalpledgedpercentss = '';
if ($counter >= 100) {
$counter = 100;
}
$totalpledgedpercentages = $totalpledgedpercentss . '
';
} else {
$totalpledgedpercent = "" . $totalpricepercentcaption . $colontotalpercent . "" . " " . $count . "
";
$totalpledgedpercentss = '';
if ($counter >= 100) {
$counter = 100;
}
$totalpledgedpercentages = $totalpledgedpercentss . '
';
}
}
if (get_option('cf_raised_amount_show_hide_shop') == '1') {
if ($order_total != '') {
$totalfielder = "" . CrowdFunding::get_woocommerce_formatted_price($order_total) . " PLEDGED ";
}
}
if (get_option('cf_day_left_show_hide_shop') == '1') {
if ($crowdfunding_end_method != '2') {
if ($date >= time()) {
$diff = $date - time(); //time returns current time in seconds
$days = floor($diff / (60 * 60 * 24)); //seconds/minute*minutes/hour*hours/day)
$hours = round(($diff - $days * 60 * 60 * 24) / (60 * 60));
if ($hours > 1) {
$hours = $hours . ' hours';
} else {
$hours = $hours . ' hour';
}
$inbuilt_designs = get_option("cf_inbuilt_shop_design");
$load_designs = get_option('load_inbuilt_shop_design');
if ($days > 1) {
$new_date_remains = '' . $days . " " . __('DAYS TO GO', 'galaxyfunder') . " " . ' ';
} else {
$new_date_remains = '' . $days . " " . __('DAY TO GO', 'galaxyfunder') . " " . ' ';
}
} else {
$new_date_remains = ' 0 ' . __('DAY TO GO', 'galaxyfunder') . ' ';
}
} else {
$new_date_remains = '';
}
}
if (get_option('cf_raised_percentage_show_hide_shop') == '1') {
$cfcounter = '' . $count . '' . __('FUNDED', 'galaxyfunder') . ' ';
}
if ($count2 > 0) {
$totalpledgedpercentsser = '';
if ($counter >= 100) {
$counter = 100;
}
$totalpledgedpercentageser = $totalpledgedpercentsser . '
';
} else {
$totalpledgedpercentsser = '';
if ($counter >= 100) {
$counter = 100;
}
$totalpledgedpercentageser = $totalpledgedpercentsser . '
';
}
if (get_option('cf_raised_percentage_show_hide_shop') == '1') {
$countercf = '' . $count . ' ';
}
if ($checkvalue == 'yes') {
?>
ID;
$getdate = date("m/d/Y");
$fromdate = get_post_meta($post->ID, '_crowdfundingfromdatepicker', true);
$todate = get_post_meta($post->ID, '_crowdfundingtodatepicker', true);
if ($fromdate != '') {
$fromdate = $fromdate;
} else {
$fromdate = $getdate;
update_post_meta($post->ID, '_crowdfundingfromdatepicker', $getdate);
}
// if ($todate != '') {
$datestr = $todate . " 23:23:59"; //Your date
$date = strtotime($datestr); //Converted to a PHP date (a second count)
$checkvalue = get_post_meta($newid, '_crowdfundingcheckboxvalue', true);
if ($checkvalue == 'yes') {
$gettargetendselection = get_post_meta($post->ID, '_target_end_selection', true);
if ($gettargetendselection == '1') {
?>
= time())) {
} else {
update_post_meta($post->ID, '_stock_status', 'outofstock');
}
}
if ($gettargetendselection == '2') {
//update_post_meta($post->ID, '_stock_status', 'instock');
}
if ($gettargetendselection == '3') {
$targetprice = get_post_meta($post->ID, '_crowdfundinggettargetprice', true);
$totalprice = get_post_meta($post->ID, '_crowdfundingtotalprice', true);
if (($totalprice == $targetprice) || ($totalprice > $targetprice)) {
update_post_meta($post->ID, '_stock_status', 'outofstock');
}
}
if ($gettargetendselection == '4') {
//var_dump($fromdate);
//var_dump($getdate);
//var_dump($date);
$targetprice = get_post_meta($post->ID, '_crowdfundinggettargetprice', true);
$totalprice = get_post_meta($post->ID, '_crowdfundingtotalprice', true);
$fromdatestrtotime = strtotime($fromdate);
$todatestrtotime = strtotime($datestr);
//var_dump($fromdatestrtotime);
//var_dump($todatestrtotime);
//var_dump($todate);
//var_dump(time('m/d/Y'));
if (($totalprice == $targetprice) || ($totalprice > $targetprice) || ($todatestrtotime < time())) {
update_post_meta($post->ID, '_stock_status', 'outofstock');
}
}
}
}
}
/**
* Crowdfunding Register Admin Settings Tab
*/
public static function crowdfunding_admin_tab($settings_tabs) {
$settings_tabs['crowdfunding'] = __('General', 'galaxyfunder');
return $settings_tabs;
}
public static function crowdfunding_admin_new_tab($settings_tabs) {
$settings_tabs['crowdfunding_listtable'] = __('Campaigns', 'galaxyfunder');
return $settings_tabs;
}
/**
* Crowdfunding Add Custom Field to the CrowdFunding Admin Settings
*/
public static function crowdfunding_admin_fields() {
global $woocommerce;
$get_status = wc_get_order_statuses();
$string_rplaced_keys = str_replace('wc-', '', array_keys(wc_get_order_statuses()));
$array_values = array_values($get_status);
$combined_array = array_combine($string_rplaced_keys, $array_values);
return apply_filters('woocommerce_crowdfunding_settings', array(
array(
'name' => __('Add to Cart Button Settings', 'galaxyfunder'),
'type' => 'title',
// 'desc' => 'Shortcode Available (Supported for Simple Products) [cf_min_price] => Minimum Contribution [cf_max_price] => Maximum Contribution ',
'id' => '_cf_add_to_cart_button'
),
array(
'name' => __('Add to Cart Button Label', 'galaxyfunder'),
'desc' => __('Please Enter Add to cart Button Label to show', 'galaxyfunder'),
'tip' => '',
'id' => 'cf_add_to_cart_label',
'css' => 'min-width:550px;
',
'std' => 'Contribute',
'type' => 'text',
'newids' => 'cf_add_to_cart_label',
'desc_tip' => true,
),
array(
'name' => __('Redirect after Contribution', 'galaxyfunder'),
'desc' => __('Please Select the place you want redirect after Contribution', 'galaxyfunder'),
'tip' => '',
'id' => 'cf_add_to_cart_redirection',
'css' => '',
'std' => '1',
'type' => 'radio',
'options' => array('1' => 'Checkout Page', '2' => 'Cart Page'),
'newids' => 'cf_add_to_cart_redirection',
'desc_tip' => true,
),
array('type' => 'sectionend', 'id' => '_cf_add_to_cart_button'),
array(
'name' => __('Campaign Out of Stock Settings', 'galaxyfunder'),
'type' => 'title',
'id' => '_cf_campaign_out_of_stock'
),
array(
'name' => __('Out of Stock Label', 'galaxyfunder'),
'desc' => __('Please Enter Out of Stock Label', 'galaxyfunder'),
'tip' => '',
'id' => 'cf_outofstock_label',
'css' => 'min-width:550px;margin-bottom:40px;',
'std' => 'Campaign Closed',
'type' => 'text',
'newids' => 'cf_outofstock_label',
'desc_tip' => true,
),
array('type' => 'sectionend', 'id' => '_cf_campaign_out_of_stock'),
array(
'name' => __('Display Settings', 'galaxyfunder'),
'type' => 'title',
'id' => '_cf_campaign_display_settings'
),
array(
'name' => __('Show Campaigns in Shop Page', 'galaxyfunder'),
'desc' => __('This helps to Show/Hide the Campaigns in Shop Page', 'galaxyfunder'),
'id' => 'cf_campaign_in_shop_page',
'css' => 'min-width:150px;',
'std' => '1', // WooCommerce < 2.0
'default' => '1', // WooCommerce >= 2.0
'newids' => 'cf_campaign_in_shop_page',
'type' => 'select',
'options' => array(
'1' => __('Show', 'galaxyfunder'),
'2' => __('Hide', 'galaxyfunder'),
),
),
array(
'name' => __('Raise Contributions when order status becomes', 'galaxyfunder'),
'desc' => __('Please Select the Order status to Raise Contributions', 'galaxyfunder'),
'id' => 'cf_add_contribution',
'css' => 'min-width:150px;',
'std' => array('completed'),
'type' => 'select',
'options' => $combined_array,
'newids' => 'cf_add_contribution',
),
array('type' => 'sectionend', 'id' => '_cf_campaign_display_settings'),
array(
'name' => __('Restriction for Cart', 'galaxyfunder'),
'type' => 'title',
'id' => '_cf_campaign_restriction_for_cart'
),
array(
'name' => __('Don\'t Allow Other Products to Cart when Cart Contain CrowdFunding Campaign ', 'galaxyfunder'),
'desc' => __('This helps to Stop Other Products added to Cart when CrowdFunding Campaign in Cart', 'galaxyfunder'),
'id' => 'cf_campaign_restrict_other_products',
'css' => '',
'std' => '1',
'default' => '1',
'newids' => 'cf_campaign_restrict_other_products',
'type' => 'select',
'options' => array('1' => __('Enable', 'galaxyfunder'), '2' => __('Disable', 'galaxyfunder')),
),
array(
'name' => __('Cart Error Message', 'galaxyfunder'),
'desc' => __('This helps to Show your Error Message when add some other products to cart', 'galaxyfunder'),
'id' => 'cf_campaign_restrict_error_message',
'css' => 'min-width:550px;',
'std' => 'Multiple Items are not Allowed when cart contain CrowdFunding Campaign Product',
'default' => 'Multiple Items are not Allowed when cart contain CrowdFunding Campaign Product',
'newids' => 'cf_campaign_restrict_error_message',
'type' => 'textarea',
'desc_tip' => true,
),
array('type' => 'sectionend', 'id' => '_cf_campaign_restriction_for_cart'),
array(
'name' => __('Checkout Settings', 'galaxyfunder'),
'type' => 'title',
'id' => '_cf_campaign_checkout'
),
array(
'name' => __('Show/hide Mark as Anonymous Checkbox in Checkout page ', 'galaxyfunder'),
'desc' => __('', 'galaxyfunder'),
'id' => 'cf_show_hide_mark_anonymous_checkbox',
'css' => '',
'std' => '1',
'default' => '1',
'newids' => 'cf_show_hide_mark_anonymous_checkbox',
'type' => 'select',
'options' => array('1' => __('Show', 'galaxyfunder'), '2' => __('Hide', 'galaxyfunder')),
),
array(
'name' => __('Mark as Anonymous text', 'galaxyfunder'),
'desc' => __('Please enter your custom caption', 'galaxyfunder'),
'tip' => '',
'id' => 'cf_checkout_textbox',
'css' => 'min-width:350px;margin-bottom:40px;',
'std' => 'Mark as Anonymous ',
'default' => 'Mark as Anonymous',
'newids' => 'cf_checkout_textbox',
'type' => 'text',
'desc_tip' => true,
),
array('type' => 'sectionend', 'id' => '_cf_campaign_checkout'),
array(
'name' => __('Price Button Settings', 'galaxyfunder'),
'type' => 'title',
'id' => '_cf_button_settings'
),
array(
'name' => __('Button color ', 'galaxyfunder'),
'desc' => __('Please enter the Button color', 'galaxyfunder'),
'tip' => '',
'id' => 'cf_button_color',
'css' => 'min-width:75px;margin-bottom:40px;',
'std' => 'DDDDDD',
'default' => 'DDDDDD',
'newids' => 'cf_button_color',
'type' => 'text',
'class' => 'color',
'desc_tip' => true,
),
array(
'name' => __('Button Text color ', 'galaxyfunder'),
'desc' => __('Please enter the Button Text color', 'galaxyfunder'),
'tip' => '',
'id' => 'cf_button_text_color',
'css' => 'min-width:75px;margin-bottom:40px;',
'std' => '#000',
'default' => '#000',
'newids' => 'cf_button_text_color',
'type' => 'text',
'class' => 'color',
'desc_tip' => true,
),
array(
'name' => __('Selected Button color ', 'galaxyfunder'),
'desc' => __('Please enter the Selected Button color', 'galaxyfunder'),
'tip' => '',
'id' => 'cf_selected_button_color',
'css' => 'min-width:75px;margin-bottom:40px;',
'std' => '#f00',
'default' => '#f00',
'newids' => 'cf_selected_button_color',
'type' => 'text',
'class' => 'color',
'desc_tip' => true,
),
array(
'name' => __('Selected Button Text color ', 'galaxyfunder'),
'desc' => __('Please enter the Selected Button Text color', 'galaxyfunder'),
'tip' => '',
'id' => 'cf_selected_button_text_color',
'css' => 'min-width:75px;margin-bottom:40px;',
'std' => '#fff',
'default' => '#fff',
'newids' => 'cf_selected_button_text_color',
'type' => 'text',
'class' => 'color',
'desc_tip' => true,
),
array(
'name' => __('Box Shadow', 'galaxyfunder'),
'desc' => __('Box Shadow show or hide option', 'galaxyfunder'),
'tip' => '',
'id' => 'cf_button_box_shadow',
'css' => '',
'std' => '1',
'type' => 'radio',
'options' => array('1' => 'Show', '2' => 'Hide'),
'newids' => 'cf_button_box_shadow',
'desc_tip' => true,
),
array('type' => 'sectionend', 'id' => '_cf_button_settings'),
array(
'name' => __('Troubleshoot', 'galaxyfunder'),
'type' => 'title',
'id' => '_cf_campaign_troubleshoot'
),
array(
'name' => __('Load Template', 'galaxyfunder'),
'desc' => __('Troubleshooting the Problem by change the Option to load Template Files from Various Places', 'galaxyfunder'),
'tip' => '',
'id' => 'cf_load_woocommerce_template',
'css' => '',
'std' => '1',
'type' => 'radio',
'options' => array('1' => 'From Plugin', '2' => 'From Theme'),
'newids' => 'cf_load_woocommerce_template',
'desc_tip' => true,
),
array('type' => 'sectionend', 'id' => '_cf_campaign_troubleshoot'),
array(
'name' => __('Troubleshoot SSL', 'galaxyfunder'),
'type' => 'title',
'desc' => '',
'id' => 'cf_product_ssl_troubleshoot'
),
array(
'name' => __('Load Ajax from', 'galaxyfunder'),
'desc' => __('Force SSL for Admin Cause Galaxy Funder to Stop Working because of https to http is causing problem', 'payyourprice'),
'tip' => '',
'id' => 'cf_load_ajax_from_ssl',
'css' => '',
'std' => '1',
'type' => 'radio',
'options' => array('1' => 'From Admin URL', '2' => 'From Site URL'),
'newids' => 'cf_load_ajax_from_ssl',
'desc_tip' => true,
),
array('type' => 'sectionend', 'id' => 'cf_product_ssl_troubleshoot'),
));
}
/**
* Crowdfunding Add Custom Field to the CrowdFunding WooCommerce General Tab Admin Settings
*/
public static function crowdfunding_add_custom_field_admin_settings() {
global $post;
global $woocommerce;
woocommerce_wp_checkbox(
array(
'id' => '_crowdfundingcheckboxvalue',
'wrapper_class' => '',
'label' => __('Enable Galaxy Funder', 'galaxyfunder'),
'description' => __('Enable Galaxy Funder if you want users to contribute for your job by donating money', 'galaxyfunder')
)
);
if ((float) $woocommerce->version <= (float) ('2.2.0')) {
woocommerce_wp_select(array(
'id' => '_crowdfunding_options',
'class' => 'crowdfunding_options',
'label' => __('CrowdFunding Type', 'galaxyfunder'),
'options' => array(
'' => '',
'1' => __('Fundraising by CrowdFunding', 'galaxyfunder'),
'2' => __('Product Purchase by CrowdFunding', 'galaxyfunder'),
)
)
);
} else {
woocommerce_wp_select(array(
'id' => '_crowdfunding_options',
'class' => 'crowdfunding_options',
'label' => __('CrowdFunding Type', 'galaxyfunder'),
'options' => array(
'1' => __('Fundraising by CrowdFunding', 'galaxyfunder'),
'2' => __('Product Purchase by CrowdFunding', 'galaxyfunder'),
)
)
);
}
woocommerce_wp_text_input(
array(
'id' => '_crowdfundinggetminimumprice',
'name' => '_crowdfundinggetminimumprice',
'label' => __('Minimum Price (' . get_woocommerce_currency_symbol() . ')', 'galaxyfunder'),
'description' => __('Please Enter Only Numbers', 'galaxyfunder')
)
);
woocommerce_wp_checkbox(
array(
'id' => '_crowdfundinghideminimum',
'wrapper_class' => '',
'label' => __('Hide Minimum Price', 'galaxyfunder'),
'description' => __('')
)
);
woocommerce_wp_text_input(
array(
'id' => '_crowdfundinggetrecommendedprice',
'name' => '_crowdfundinggetrecommendedprice',
'label' => __('Recommended Price (' . get_woocommerce_currency_symbol() . ')', 'galaxyfunder'),
'description' => __('Please Enter Only Numbers', 'galaxyfunder')
)
);
woocommerce_wp_text_input(
array(
'id' => '_crowdfundinggetmaximumprice',
'name' => '_crowdfundinggetmaximumprice',
'label' => __('Maximum Price (' . get_woocommerce_currency_symbol() . ')', 'galaxyfunder'),
'description' => __('Please Enter Only Numbers', 'galaxyfunder')
)
);
woocommerce_wp_checkbox(
array(
'id' => '_crowdfundinghidemaximum',
'wrapper_class' => '',
'label' => __('Hide Maximum Price', 'galaxyfunder'),
'description' => __('')
)
);
$args = array('post_type' => 'product', 'posts_per_page' => '-1', 'post_status' => array('publish'));
$getproducts = get_posts($args);
//var_dump($getproducts);
//$newarray = array();
?>
Choose Products
ID);
if (($product_type->is_type('simple'))) {
if (get_post_meta($product->ID, '_crowdfundingcheckboxvalue', true) != 'yes') {
?>
ID, '_cf_product_selection', true)) {
foreach (get_post_meta($post->ID, '_cf_product_selection', true) as $value) {
if ($value == $product->ID) {
echo "selected=selected";
}
}
}
?> value="ID; ?>">post_title; ?>
is_type('variable'))) {
if (is_array($product_type->get_available_variations())) {
foreach ($product_type->get_available_variations() as $getvariation) {
?>
ID, '_cf_product_selection', true)) {
foreach (get_post_meta($post->ID, '_cf_product_selection', true) as $value) {
if ($value == $getvariation['variation_id']) {
echo "selected=selected";
}
}
}
?>value="">
'_crowdfundinggettargetprice',
'name' => '_crowdfundinggettargetprice',
'label' => __('Target Price (' . get_woocommerce_currency_symbol() . ')', 'galaxyfunder'),
'description' => __('Please Enter Only Numbers', 'galaxyfunder')
)
);
woocommerce_wp_checkbox(
array(
'id' => '_use_selected_product_image',
'wrapper_class' => '',
'label' => __('Use Selected Product Featured Image', 'galaxyfunder'),
'description' => __('Check this Option to use the Featured Image of Selected Product (Product Purchase by CrowdFunding)', 'galaxyfunder')
)
);
woocommerce_wp_checkbox(
array(
'id' => '_crowdfundinghidetarget',
'wrapper_class' => '',
'label' => __('Hide Target Price', 'galaxyfunder'),
'description' => __('')
)
);
woocommerce_wp_select(array(
'id' => '_target_end_selection',
'class' => 'target_end_selection',
'label' => __('Campaign End Method', 'galaxyfunder'),
'options' => array(
'3' => __('Target Goal', 'galaxyfunder'),
'1' => __('Target Date', 'galaxyfunder'),
'4' => __('Target Goal & Date', 'galaxyfunder'),
'2' => __('Campaign Never Ends', 'galaxyfunder'),
)
));
woocommerce_wp_text_input(
array(
'id' => '_crowdfundingfromdatepicker',
'name' => '_crowdfundingfromdatepicker',
'label' => __('From Date', 'galaxyfunder')
)
);
woocommerce_wp_text_input(
array(
'id' => '_crowdfundingtodatepicker',
'name' => '_crowdfundingtodatepicker',
'label' => __('To Date', 'galaxyfunder')
)
);
woocommerce_wp_checkbox(
array(
'id' => '_crowdfundingsocialsharing',
'wrapper_class' => '',
'label' => __('Enable Social Promotion', 'galaxyfunder'),
'description' => __('Enable Social Promotion for this Campaign', 'galaxyfunder')
)
);
woocommerce_wp_checkbox(
array(
'id' => '_crowdfundingsocialsharing_facebook',
'wrapper_class' => '',
'label' => __('Enable Social Promotion Through Facebook', 'galaxyfunder'),
'description' => __('Enable Social Promotion for this Campaign Through Facebook', 'galaxyfunder')
)
);
woocommerce_wp_checkbox(
array(
'id' => '_crowdfundingsocialsharing_twitter',
'wrapper_class' => '',
'label' => __('Enable Social Promotion Through Twitter', 'galaxyfunder'),
'description' => __('Enable Social Promotion for this Campaign Through Twitter', 'galaxyfunder')
)
);
woocommerce_wp_checkbox(
array(
'id' => '_crowdfundingsocialsharing_google',
'wrapper_class' => '',
'label' => __('Enable Social Promotion Through Google', 'galaxyfunder'),
'description' => __('Enable Social Promotion for this Campaign Through Google', 'galaxyfunder')
)
);
woocommerce_wp_checkbox(
array(
'id' => '_crowdfunding_showhide_contributor',
'wrapper_class' => '',
'label' => __('Show Contributor Table', 'galaxyfunder'),
'description' => __('Enable this option to display the contributors for this Campaign', 'galaxyfunder')
)
);
woocommerce_wp_checkbox(
array(
'id' => '_crowdfunding_contributor_anonymous',
'wrapper_class' => '',
'label' => __('Mark Contributors as Anonymous', 'galaxyfunder'),
'description' => __('Enable this option to display the contributors Name as Anonymous for this Campaign', 'galaxyfunder')
)
);
woocommerce_wp_text_input(
array(
'id' => 'cf_campaigner_paypal_id',
'wrapper_class' => '',
'label' => __('Campaigner PayPal ID', 'galaxyfunder'),
'description' => __('')
)
);
woocommerce_wp_select(
array(
'id' => 'buttonstyles_galaxy',
'wrapper_class' => '',
'label' => __('Select Style', 'galaxyfunder'),
'description' => __('Select style for displaying price', 'galaxyfunder'),
'options' => array(
'default' => __('Default', 'galaxyfunder'),
'radio' => __('Radio Button', 'galaxyfunder'),
'dropdown' => __('Dropdown Button', 'galaxyfunder'),
)
)
);
woocommerce_wp_text_input(
array(
'id' => '_amount1_galaxy',
'name' => '_amount1_galaxy',
'label' => __('Amount 1 (' . get_woocommerce_currency_symbol() . ')', 'galaxyfunder'),
)
);
woocommerce_wp_text_input(
array(
'id' => '_amount2_galaxy',
'name' => '_amount2_galaxy',
'label' => __('Amount 2 (' . get_woocommerce_currency_symbol() . ')', 'galaxyfunder'),
)
);
woocommerce_wp_text_input(
array(
'id' => '_amount3_galaxy',
'name' => '_amount3_galaxy',
'label' => __('Amount 3 (' . get_woocommerce_currency_symbol() . ')', 'galaxyfunder'),
)
);
woocommerce_wp_text_input(
array(
'id' => '_amount4_galaxy',
'name' => '_amount4_galaxy',
'label' => __('Amount 4 (' . get_woocommerce_currency_symbol() . ')', 'galaxyfunder'),
)
);
woocommerce_wp_text_input(
array(
'id' => '_amount5_galaxy',
'name' => '_amount5_galaxy',
'label' => __('Amount 5 (' . get_woocommerce_currency_symbol() . ')', 'galaxyfunder'),
)
);
woocommerce_wp_text_input(
array(
'id' => '_amount6_galaxy',
'name' => '_amount6_galaxy',
'label' => __('Amount 6 (' . get_woocommerce_currency_symbol() . ')', 'galaxyfunder'),
)
);
?>
ID;
$checkvalue = get_post_meta($newid, '_crowdfundingcheckboxvalue', true);
$checkmethod = get_post_meta($newid, '_target_end_selection', true);
$payyourpricelabel = get_option('crowdfunding_payyourprice_price_tab_product');
if ($payyourpricelabel != '') {
$payyourpricecaption = $payyourpricelabel;
$colonpay = ":";
}
$recommendedvalue = get_post_meta($newid, '_crowdfundinggetrecommendedprice', true);
if ($checkvalue == 'yes') {
$getdate = date("m/d/Y");
$fromdate = get_post_meta($post->ID, '_crowdfundingfromdatepicker', true);
$todate = get_post_meta($post->ID, '_crowdfundingtodatepicker', true);
if ($fromdate != '') {
$fromdate = $fromdate;
} else {
$fromdate = $getdate;
update_post_meta($post->ID, '_crowdfundingfromdatepicker', $getdate);
}
//if ($todate != '') {
$datestr = $todate . " 23:59:59"; //Your date
$date = strtotime($datestr); //Converted to a PHP date (a second count)
//Calculate difference
// if (($fromdate == $getdate || $fromdate < $getdate) && ($date >= time())) {
?>
= time())) {
//
// } else {
// // update_post_meta($post->ID, '_stock_status', 'outofstock');
// }
// }
// }
//}
}
public static function checkingfrontend_galaxy() {
global $post;
//var_dump(get_post_meta($post->ID,'ppcollection_galaxy',true));
?>
ID, 'buttonstyles_galaxy', true);
if (is_array(get_post_meta($post->ID, 'ppcollection_galaxy', true))) {
?>
ID, 'ppcollection_galaxy', true)) as $value) {
if ($hidebutton_galaxy == 'radio') {
?>
cart;
// $newquantity = $_POST['quantitycount'];
//$woocommerce->cart->empty_cart();
$woocommerce->cart->add_to_cart($_POST['productid']);
//
// if ($_POST['variationid'] != '') {
// $arr = array();
// $arr[$_POST['attrname']] = $_POST['variantvalue'];
////$woocommerce->cart->add_to_cart(24, 1, 28, $arr, null);
// $woocommerce->cart->add_to_cart($_POST['productid'], $newquantity, $_POST['variationid'], $arr, null);
// }
echo "success";
}
exit();
}
public static function crowdfunding_alter_cart_prices($cart_object) {
global $woocommerce;
$cart_object = $woocommerce->cart;
foreach ($cart_object->cart_contents as $key => $value) {
if (isset($_COOKIE['add_custom_id' . $value['product_id']])) {
if ($value['product_id'] == $_COOKIE['add_custom_id' . $value['product_id']]) {
$checkvalueid = get_post_meta($value['product_id'], '_crowdfundingcheckboxvalue', true);
if ($value['data']->product_type != 'variable') {
if (($checkvalueid == 'yes')) {
$value['data']->price = $_COOKIE['add_custom_price' . $value['product_id']];
}
}
}
}
}
}
public static function crowdfunding_format_price_in_decimal($price) {
if (function_exists('woocommerce_format_decimal')) {
return woocommerce_format_decimal($price, 2);
}
if (function_exists('wc_format_decimal')) {
return wc_format_decimal($price, 2);
}
}
public static function crowdfunding_custom_product_price_update_to_cart() {
global $post;
global $woocommerce;
$newid = $post->ID;
$checkvalue = get_post_meta($newid, '_crowdfundingcheckboxvalue', true);
$singleminimum = get_post_meta($newid, '_crowdfundinggetminimumprice', true);
$singlemaximum = get_post_meta($newid, '_crowdfundinggetmaximumprice', true);
$singlerecommend = get_post_meta($newid, '_crowdfundinggetrecommendedprice', true);
if (function_exists('get_product')) {
$products = get_product($post->ID);
if ($checkvalue == 'yes') {
$getdate = date("m/d/Y");
$fromdate = get_post_meta($post->ID, '_crowdfundingfromdatepicker', true);
$todate = get_post_meta($post->ID, '_crowdfundingtodatepicker', true);
if ($fromdate != '') {
$fromdate = $fromdate;
} else {
$fromdate = $getdate;
update_post_meta($post->ID, '_crowdfundingfromdatepicker', $getdate);
}
//if ($todate != '') {
$datestr = $todate . " 23:59:59"; //Your date
$date = strtotime($datestr); //Converted to a PHP date (a second count)
//Calculate difference
// if (($fromdate == $getdate || $fromdate < $getdate) && ($date >= time())) {
?>
= time())) {
//
// } else {
// update_post_meta($post->ID, '_stock_status', 'outofstock');
// }
// }
//}
}
}
}
/**
* Set The Contribution Amount in Session
*
*/
public static function set_gf_contribution_amount_session($cart_item_key, $product_id = null, $quantity = null, $variation_id = null, $variation = null) {
if (isset($_POST['addfundraiser' . $product_id])) {
WC()->session->set($cart_item_key . '_get_galaxyfunder_contributionamount', $_POST['addfundraiser' . $product_id]);
} else {
WC()->session->__unset($cart_item_key . '_get_galaxyfunder_contributionamount');
}
if (isset($_POST['cf_contributor_name_field_value'])) {
WC()->session->set($cart_item_key . '_get_galaxyfunder_contributorname', $_POST['cf_contributor_name_field_value']);
} else {
WC()->session->__unset($cart_item_key . '_get_galaxyfunder_contributorname');
}
}
/*
* Change the Contribution amount as the Product Price
*
*/
public static function set_gf_contribution_amount_as_product_price($cart_object) {
foreach ($cart_object->cart_contents as $key => $value) {
if (WC()->session->__isset($key . '_get_galaxyfunder_contributionamount')) {
$value['data']->price = WC()->session->get($key . '_get_galaxyfunder_contributionamount');
}
}
}
/*
* Save the Contributor name from session in order id
*
*/
public static function save_gf_contributor_name_in_order($order_id) {
global $woocommerce;
$current_cart_contents = $woocommerce->cart->cart_contents;
foreach ($current_cart_contents as $key => $value) {
if (WC()->session->get($key . '_get_galaxyfunder_contributorname')) {
$previous_contributors = get_post_meta($value['product_id'], 'contributor_list_for_campaign', true);
$contributor_name = WC()->session->get($key . '_get_galaxyfunder_contributorname');
//$total_contibutors = array_merge((array) $previous_contributors, (array) $contributor_name);
if (isset($contributor_name)) {
update_post_meta($order_id, 'contributor_list_for_campaign', $contributor_name);
}
}
}
}
/**
* Registering Custom Field Admin Settings of Crowdfunding in woocommerce admin fields funtion
*/
public static function crowdfunding_register_admin_settings() {
woocommerce_admin_fields(CrowdFunding::crowdfunding_admin_fields());
}
/**
* Update the Settings on Save Changes may happen in crowdfunding
*/
public static function crowdfunding_update_settings() {
woocommerce_update_options(CrowdFunding::crowdfunding_admin_fields());
}
/**
* Initialize the Default Settings by looping this function
*/
public static function crowdfunding_default_settings() {
global $woocommerce;
foreach (CrowdFunding::crowdfunding_admin_fields() as $setting) {
if (isset($setting['newids']) && ($setting['std'])) {
if (get_option($setting['newids']) == FALSE) {
add_option($setting['newids'], $setting['std']);
}
}
}
}
public static function crowdfunding_woocommerce_locate_template($template, $template_name, $template_path) {
global $woocommerce;
global $post;
if (is_product()) {
$newid = $post->ID;
$checkvalue = get_post_meta($newid, '_crowdfundingcheckboxvalue', true);
$plugin_path = untrailingslashit(plugin_dir_path(__FILE__)) . '/woocommerce/';
if ($checkvalue == 'yes') {
// echo $template_name;
if (file_exists($plugin_path . $template_name)) {
$template = $plugin_path . $template_name;
// var_dump($template);
return $template;
}
}
}
return $template;
}
public static function register_my_custom_submenu_page() {
global $my_admin_page;
$my_admin_page = add_submenu_page('woocommerce', __('Galaxy Funder', 'galaxyfunder'), __('Galaxy Funder', 'galaxyfunder'), 'manage_options', 'crowdfunding_callback', array('CrowdFunding', 'my_custom_submenu_page_callback'));
}
public static function cf_do_output_buffer() {
ob_start();
}
public static function alter_script_in_crowdfunding() {
global $my_admin_page;
// echo $_GET['page'];
if (isset($_GET['page'])) {
if (($_GET['page'] == 'crowdfunding_callback')) {
$array[] = 'woocommerce_page_' . $_GET['page'];
return $array;
} else {
$array[] = '';
return $array;
}
}
}
public static function reset_changes_crowdfunding() {
global $woocommerce;
if (isset($_POST['reset'])) {
foreach (CrowdFunding::crowdfunding_admin_fields() as $setting) {
if (isset($setting['newids']) && ($setting['std'])) {
delete_option($setting['newids']);
add_option($setting['newids'], $setting['std']);
}
}
}
//var_dump("sadgfdasfgsadfasdfasdfasdf");
// $woocommerce->clear_product_transients();
delete_transient('woocommerce_cache_excluded_uris');
// Redirect back to the settings page
$redirect = esc_url_raw(add_query_arg(array('saved' => 'true')));
// $redirect .= add_query_arg('noheader', 'true');
if (isset($_POST['reset'])) {
wp_safe_redirect($redirect);
exit;
}
}
public static function my_custom_submenu_page_callback() {
global $woocommerce, $woocommerce_settings, $current_section, $current_tab;
$tabs = "";
do_action('woocommerce_cf_settings_start');
$current_tab = ( empty($_GET['tab']) ) ? 'crowdfunding' : sanitize_text_field(urldecode($_GET['tab']));
$current_section = ( empty($_REQUEST['section']) ) ? '' : sanitize_text_field(urldecode($_REQUEST['section']));
if (!empty($_POST['save'])) {
if (empty($_REQUEST['_wpnonce']) || !wp_verify_nonce($_REQUEST['_wpnonce'], 'woocommerce-settings'))
die(__('Action failed. Please refresh the page and retry.', 'galaxyfunder'));
if (!$current_section) {
//include_once('settings/settings-save.php');
switch ($current_tab) {
default :
if (isset($woocommerce_settings[$current_tab]))
woocommerce_update_options($woocommerce_settings[$current_tab]);
// Trigger action for tab
do_action('woocommerce_update_options_' . $current_tab);
break;
}
do_action('woocommerce_update_options');
// Handle Colour Settings
if ($current_tab == 'general' && get_option('woocommerce_frontend_css') == 'yes') {
}
} else {
// Save section onlys
do_action('woocommerce_update_options_' . $current_tab . '_' . $current_section);
}
// Clear any unwanted data
// $woocommerce->clear_product_transients();
delete_transient('woocommerce_cache_excluded_uris');
// Redirect back to the settings page
$redirect = esc_url_raw(add_query_arg(array('saved' => 'true')));
// $redirect .= add_query_arg('noheader', 'true');
if (isset($_POST['subtab'])) {
wp_safe_redirect($redirect);
exit;
}
}
// Get any returned messages
$error = ( empty($_GET['wc_error']) ) ? '' : urldecode(stripslashes($_GET['wc_error']));
$message = ( empty($_GET['wc_message']) ) ? '' : urldecode(stripslashes($_GET['wc_message']));
if ($error || $message) {
if ($error) {
echo '';
} else {
echo '' . esc_html($message) . '
';
}
} elseif (!empty($_GET['saved'])) {
echo '' . __('Your settings have been saved.', 'galaxyfunder') . '
';
}
?>
ID);
foreach ($order->get_items() as $newitem) {
$productid = $newitem['product_id'];
if (get_post_meta($productid, '_crowdfundingcheckboxvalue', true) == 'yes') {
$listallproductids[] = $productid;
$listordertotals[] = $newitem['line_total'];
// var_dump($order->get_items());
}
}
}
$getproductcounts = count($listallproductids);
// var_dump($getproductcounts);
$combined = array();
if ($getproductcounts > 0) {
for ($i = 0; $i < $getproductcounts; $i++) {
if (!array_key_exists($listallproductids[$i], $combined)) {
$combined[$listallproductids[$i]] = $listordertotals[$i];
} else {
$combined[$listallproductids[$i]] += $listordertotals[$i];
}
}
}
foreach ($listallproductids as $oneproductid) {
}
echo "";
var_dump($combined);
echo " ";
echo "";
// var_dump(array_count_values($listallproductids));
echo " ";
echo "";
// var_dump($listordertotals);
echo " ";
echo "";
// var_dump(array_combine($listallproductids, $listordertotals));
echo " ";
}
public static function crowdfunding_adminpage_values($orderid) {
global $post;
global $woocommerce;
$products = array();
$order_totalss = array();
$productcounts = array();
$productorderids = array();
$arraycounter = array();
$order_ids = array();
//$i = 0;
$orderobject = new WC_Order($orderid);
foreach ($orderobject->get_items() as $eachitem) {
$checkcrowdfunding = get_post_meta($eachitem['product_id'], '_crowdfundingcheckboxvalue', true);
if ($checkcrowdfunding == 'yes') {
$getoldorderids = (array) get_post_meta($eachitem['product_id'], 'orderids', true);
$currentorderids = array($orderid);
$currentorderids = array_merge((array) $currentorderids, $getoldorderids);
update_post_meta($eachitem['product_id'], 'orderids', $currentorderids);
}
}
//delete_option('contribution_orderids');
foreach (get_posts('post_type=shop_order&numberposts=-1&post_status=publish') as $order) {
$order = new WC_Order($order->ID);
$neworderid = $order->ID;
if ($order->status == CrowdFunding::get_order_status_for_contribution()) {
foreach ($order->get_items() as $item) {
// var_dump($item);
$product_id = $item['product_id'];
$products[] = $product_id;
// foreach (get_posts('post_type=product&numberposts=-1&post_status=publish') as $productid) {
//
// if ($order->status == 'completed') {
// if (in_array($productid->ID, $products)) {
// $order_totals[] = $order->get_total();
// }
// }
// }
$productcounts[] = $item['product_id'];
$order_totalss[] = $item['line_total'];
if (get_post_meta($product_id, '_crowdfundingcheckboxvalue', true) == 'yes') {
$order_ids[] = $order->id;
}
// $productorderids[$item['product_id']] = $order->ID;
}
// if (wc_customer_bought_product($order->billing_email, $order->user_id, $product_id)) {
//$i++;
}
//}
}
update_option('updated_orderids', $order_ids);
$combined = array();
// var_dump($productcounts);
$productCount = count($productcounts);
// var_dump($productCount);
if ($productCount > 0) {
for ($i = 0; $i < $productCount; $i++) {
if (!array_key_exists($productcounts[$i], $combined)) {
$combined[$productcounts[$i]] = $order_totalss[$i];
} else {
$combined[$productcounts[$i]] += $order_totalss[$i];
}
}if (is_array($productcounts)) {
$arraycounter = array_count_values($productcounts);
// var_dump($arraycounter);
foreach ($productcounts as $newcount) {
// $arraycounter[$newcount];
if (get_post_meta($newcount, '_crowdfundingcheckboxvalue', true) == 'yes') {
//update the list of order ids
update_post_meta($newcount, '_crowdfundingtotalprice', $combined[$newcount]);
$gettotalraisedamount = get_post_meta($newcount, '_crowdfundingtotalprice', true);
$gettargetgoalamount = get_post_meta($newcount, '_crowdfundinggettargetprice', true);
$getordertotal = get_post_meta($newcount, '_crowdfundingtotalprice', true);
if ($gettargetgoalamount != '') {
if (($getordertotal != '') && ($gettargetgoalamount > 0)) {
$count1 = $getordertotal / $gettargetgoalamount;
$count2 = $count1 * 100;
$counter = number_format($count2, 0);
update_post_meta($newcount, '_crowdfundinggoalpercent', $counter);
//$count = $counter . "%";
}
}
update_post_meta($newcount, '_update_total_funders', $arraycounter[$newcount]);
}
}
}
}
}
public static function crowdfunding_adminpage() {
?>
List of Campaigns
ID, '_crowdfundingcheckboxvalue', true);
$gettotalraisedamount = get_post_meta($productid->ID, '_crowdfundingtotalprice', true);
$gettargetgoalamount = get_post_meta($productid->ID, '_crowdfundinggettargetprice', true);
$getraisedamountpercent = get_post_meta($productid->ID, '_crowdfundinggoalpercent', true);
$getfundertotal = get_post_meta($productid->ID, '_update_total_funders', true);
$gettargetdate = get_post_meta($productid->ID, '_crowdfundingtodatepicker', true);
$checkvalue = get_post_meta($productid->ID, '_crowdfundingcheckboxvalue', true);
if ($i == 0) {
echo ' ' . __('Search:', 'galaxyfunder') . ' ' . __('Page Size:', 'galaxyfunder') . '
5
10
50
100
';
?>
S.No
Campaign Name
Campaign Creator
Created Date
Goal
Raised
Raised %
Funders
Status
ID . " ";
if ($j % 2 != 0) {
$name = 'alternate';
} else {
$name = '';
}
?>
post_title;
?>
post_author;
echo the_author_meta('user_nicename', $author_id);
?>
post_date; ?>
= time()) {
$diff = $date - time(); //time returns current time in seconds
$days = floor($diff / (60 * 60 * 24)); //seconds/minute*minutes/hour*hours/day)
$hours = round(($diff - $days * 60 * 60 * 24) / (60 * 60));
//Report
if ($hours > 1) {
$hours = $hours . ' hours';
} else {
$hours = $hours . ' hour';
}
if ($days > 1) {
_e($days . "days" . $hours . "to go", "galaxyfunder");
} else {
_e($days . "day" . $hours . "to go", "galaxyfunder");
}
} else {
_e("Campaign Closed", "galaxyfunder");
}
?>
ID, '_crowdfundingcheckboxvalue', true);
if ($checkvalue == 'yes') {
$targetvalue = get_post_meta($post->ID, '_crowdfundinggettargetprice', true);
$ordertotal = get_post_meta($post->ID, '_crowdfundingtotalprice', true);
$gettargetdate = get_post_meta($post->ID, '_crowdfundingtodatepicker', true);
$checkstatus = get_post_meta($post->ID, '_stock_status', true);
if ($checkstatus == 'outofstock') {
$availability['availability'] = str_ireplace('Out of stock', get_option('cf_outofstock_label'), $availability['availability']);
}
}
return $availability;
}
public static function crowdfunding_sold_individually() {
global $post_id;
// echo $post_id;
$checkoption = get_post_meta($post_id, '_crowdfundingcheckbox', true);
if ($checkoption == 'yes') {
update_post_meta($post_id, '_sold_individually', 'yes');
}
}
public static function add_script_to_head() {
if (is_product()) {
?>
get_items() as $item) {
if (get_post_meta($item['product_id'], 'orderids', true) != '') {
$meta = get_post_meta($item['product_id'], 'orderids', true);
$newordereddata = array_merge($meta, $neworderid);
update_post_meta($item['product_id'], 'orderids', $newordereddata);
} else {
update_post_meta($item['product_id'], 'orderids', true);
}
$getorderids = get_post_meta($item['product_id'], 'orderids', true);
$perkrule = get_post_meta($item['product_id'], 'perk', true);
if (is_array($perkrule)) {
foreach ($perkrule as $key => $perk) {
$perkname = str_replace('', '_', $perk['name']);
$currentcount = (int) get_post_meta($item['product_id'], $perkname . $perk['amount'] . 'update_perk_claim', true);
if ($perk['limitperk'] == 'cf_limited') {
if ($claimcount > $currentcount) {
update_post_meta($item['product_id'], $perkname . $perk['amount'] . 'update_perk_claim', $length);
}
} else {
if ($perk['limitperk'] == 'cf_unlimited') {
update_post_meta($item['product_id'], $perkname . $perk['amount'] . 'update_perk_claim', $length);
}
}
}
}
}
}
public static function update_perk_claim_main_function($order_id) {
$order = new WC_Order($order_id);
foreach ($order->get_items() as $eachitem) {
$checkcrowdfundingisenable = get_post_meta($eachitem['product_id'], '_crowdfundingcheckboxvalue', true);
if ($checkcrowdfundingisenable == 'yes') {
self::main_perk_claim_updation($order_id, $eachitem['product_id']);
}
}
}
public static function main_perk_claim_updation($orderid, $productid) {
// $orderid = 184;
// $productid = 181;
$getlistofperksorder = get_post_meta($orderid, 'getlistofquantities', true);
$listofperkiteration = get_post_meta($orderid, 'listofiteration', true);
$getallcampaignperks = get_post_meta($productid, 'perk', true);
var_dump($getallcampaignperks);
foreach ($getlistofperksorder as $eachiteration) {
$eachiterationkey = explode('_', $eachiteration);
$perkname = $getallcampaignperks[$eachiterationkey[0]]['name'];
$perkname = str_replace('', '_', $perkname);
$amount = $getallcampaignperks[$eachiterationkey[0]]['amount'];
$getcountofpreviousclaimed = get_post_meta($productid, $perkname . $amount . 'update_perk_claim', true);
$currentclaimedcount = $eachiterationkey[1];
$overalllength = $getcountofpreviousclaimed + $currentclaimedcount;
$perkclaimcount = $eachiterationkey[0]['claimcount'];
$limitationofperk = $eachiterationkey[0]['limitperk'];
if ($limitationofperk == 'cf_limited') {
if ($perkclaimcount > $getcountofpreviousclaimed) {
update_post_meta($productid, $perkname . $amount . 'update_perk_claim', $overalllength);
}
} else {
update_post_meta($productid, $perkname . $amount . 'update_perk_claim', $overalllength);
}
$getchoosedproducts = $getallcampaignperks[$eachiterationkey[0]]['choose_products'];
if ($getchoosedproducts != '') {
self::add_additional_item_to_order($orderid, $getchoosedproducts, $eachiterationkey[1]);
}
}
}
public static function add_additional_item_to_order($order_id, $choosedproduct, $qty) {
$order = new WC_Order($order_id);
$item_id = wc_add_order_item($order_id, array(
'order_item_name' => get_the_title($choosedproduct), //get_the_title($perk['choose_products']),
'order_item_type' => 'line_item'
));
if ($item_id) {
wc_add_order_item_meta($item_id, '_product_id', $choosedproduct);
wc_add_order_item_meta($item_id, '_line_total', $regularprice);
wc_add_order_item_meta($item_id, '_line_subtotal', $regularprice);
wc_add_order_item_meta($item_id, '_line_tax', '0');
wc_add_order_item_meta($item_id, '_line_subtotal_tax', '0');
wc_add_order_item_meta($item_id, '_qty', $qty);
}
if (sizeof($order->get_items()) > 0) {
foreach ($order->get_items() as $item) {
$_product = $order->get_product_from_item($item);
if ($_product && $_product->exists() && $_product->is_downloadable()) {
$downloads = $_product->get_files();
foreach (array_keys($downloads) as $download_id) {
wc_downloadable_file_permission($download_id, $item['product_id'], $order);
}
}
}
}
update_post_meta($order_id, '_download_permissions_granted', 1);
}
public static function increase_perk_claim_count_for_order($orderid, $productid) {
$getlistofperks = get_post_meta($productid, 'perk', true);
$getlistoforders = get_post_meta($productid, 'orderids', true);
$getlistofperksandqty = get_post_meta($orderid, 'getlistofquantities', true);
$listofperkiteration = get_post_meta($orderid, 'listiteration', true);
$getallordersperks = array();
if (!empty($getlistoforders)) {
foreach ($getlistoforders as $value) {
$getallordersperks[] = (array) get_post_meta($value, '_perk_iteration_id');
}
$getcountvalues = UniverseFunder_OrderFunction::get_number_of_perk_iteration_ids($getallordersperks);
update_post_meta($productid, '_listofperkclaimed', $getcountvalues);
}
}
public static function get_number_of_perk_iteration_ids($mainvalue) {
$newarray = array();
if (is_array($mainvalue)) {
foreach ($mainvalue as $value) {
if (is_array($value)) {
foreach ($value as $mainkey) {
$newarray[$mainkey][] = $mainkey;
}
} else {
$newarray[$value][] = $value;
}
}
}
return $newarray;
}
public static function add_hyperlink_for_unsub_link($unsub_url) {
$new_unsub_url = "" . $unsub_url . " ";
return $new_unsub_url;
}
}
function get_session_name_and_values() {
session_start();
echo "";
var_dump($_SESSION);
echo " ";
//session_destroy();
}
//add_action('wp_head', 'checkmetainperkfp');
function checkmetainperkfp() {
echo "";
var_dump(get_post_meta('190', 'getlistofquantities', true));
echo " ";
}
///add_action('wp_head', 'get_session_name_and_values');
//add_action('wp_head', array('CrowdFunding', 'main_perk_claim_updation'));
/**
* Hook is woocommerce_before_single_product to show the table before single product
*/
//
//
//add_action('wp_head', array('CrowdFunding', 'get_perk_claim_count_for_galaxy'));
//add_action('wp_head', array('CrowdFunding', 'get_claim_count_for_perk'));
add_action('woocommerce_order_status_' . CrowdFunding::get_order_status_for_contribution(), array('CrowdFunding', 'update_perk_claim_main_function'));
add_action('woocommerce_order_status_' . CrowdFunding::get_order_status_for_contribution(), array('CrowdFunding', 'crowdfunding_adminpage_values'), 1, 100);
//add_action('admin_head', array('CrowdFunding', 'crowdfunding_newadmin_values'));
//add_action('admin_head', array('CrowdFunding', 'crowdfunding_adminpage_values'));
//add_action('admin_head', array('CrowdFunding', 'get_claim_count_for_perk'));
add_action('admin_head', array('CrowdFunding', 'crowdfunding_sold_individually'));
add_action('wp_head', array('CrowdFunding', 'add_script_to_head'));
add_action('admin_head', array('CrowdFunding', 'add_script_to_admin'));
if (get_option('cf_donation_table_position') == '1') {
add_action('woocommerce_before_single_product_summary', array('CrowdFunding', 'crowdfunding_table'));
} elseif (get_option('cf_donation_table_position') == '2') {
add_action('woocommerce_after_single_product', array('CrowdFunding', 'crowdfunding_table'));
} else {
add_action('woocommerce_after_single_product_summary', array('CrowdFunding', 'crowdfunding_table'));
}
if (get_option('cf_author_info_table_position') == '1') {
add_action('woocommerce_before_single_product_summary', array('CrowdFunding', 'get_author_information'));
} elseif (get_option('cf_author_info_table_position') == '2') {
add_action('woocommerce_after_single_product', array('CrowdFunding', 'get_author_information'));
} else {
add_action('woocommerce_after_single_product_summary', array('CrowdFunding', 'get_author_information'));
}
//add_action("woocommerce_after_single_product_summary", array('CrowdFunding', 'get_author_information'));
add_filter('woocommerce_get_availability', array('CrowdFunding', 'crowdfunding_change_out_of_stock_caption'));
/**
* Hook is woocommerce_settings_tabs_array to register the settings tab in admin settings
*/
add_filter('woocommerce_cf_settings_tabs_array', array('CrowdFunding', 'crowdfunding_admin_tab'), 100);
add_filter('woocommerce_cf_settings_tabs_array', array('CrowdFunding', 'crowdfunding_admin_new_tab'), 150);
/**
* WooCommerce Update Options for Crowdfunding
*/
add_action('woocommerce_update_options_crowdfunding', array('CrowdFunding', 'crowdfunding_update_settings'));
/**
* Init the Default Settings on Page Load for Custom Field in Admin Settings
*/
add_action('init', array('CrowdFunding', 'crowdfunding_default_settings'));
/**
* Settings Tab for CrowdFunding Registering Admin Settings
*/
add_action('woocommerce_cf_settings_tabs_crowdfunding', array('CrowdFunding', 'crowdfunding_register_admin_settings'));
/**
* Hook to Check the WooCommerce Plugin is active or not using when admin is initialized
*/
add_action('admin_init', array('CrowdFunding', 'check_woocommerce_is_active'));
/**
* Hook to override the price in product page using woocommerce_get_price_html
*/
add_filter('woocommerce_get_price_html', array('CrowdFunding', 'crowdfunding_remove_product_pricing'), 10, 2);
/**
* Add Admin Options for Custom Field in WooCommerce Product Options General Product Data
*/
add_action('woocommerce_product_options_pricing', array('CrowdFunding', 'crowdfunding_add_custom_field_admin_settings'));
/**
* Process the Custom WooCommerce General fields (Saving the data on click save changes/update)
*/
add_action('woocommerce_process_product_meta', array('CrowdFunding', 'crowdfunding_save_product_post'));
/**
* Load jQuery library using enqueue scripts method
*/
add_action('wp_enqueue_scripts', array('CrowdFunding', 'crowdfunding_woocommerce_enqueue_scripts'));
/**
* Load jQuery library in admin page with enqueue scripts method
*/
add_action('admin_enqueue_scripts', array('CrowdFunding', 'crowdfundingadminenqueuescript'));
/**
* Append the Script on Head Part of HTML using hook wp_head
*/
add_action('wp_head', array('CrowdFunding', 'add_crowdfunding_input_field'));
/**
* Append the Script on Head Part of admin HTML using hook admin_head
*/
add_action('admin_head', array('CrowdFunding', 'crowdfunding_show_hide_custom_field'));
/**
* Get the Ajax Request for CrowdFunding add to cart
*/
//add_action('wp_ajax_nopriv_singleproductcrowdfundingprice', array('CrowdFunding', 'crowdfunding_single_product_add_to_cart'));
//add_action('wp_ajax_singleproductcrowdfundingprice', array('CrowdFunding', 'crowdfunding_single_product_add_to_cart'));
/**
* Alter the cart price on using woocommerce_before_calculate_totals
*/
add_action('woocommerce_before_calculate_totals', array('CrowdFunding', 'crowdfunding_alter_cart_prices'));
/**
* Ajax Request for Altering the Cart Prices
*/
//add_action('wp_ajax_nopriv_singleproductcrowdfundingprice', array('CrowdFunding', 'crowdfunding_alter_cart_prices'));
//add_action('wp_ajax_singleproductcrowdfundingprice', array('CrowdFunding', 'crowdfunding_alter_cart_prices'));
/**
* Append the Script to the Head Tag
*/
add_action('wp_head', array('CrowdFunding', 'crowdfunding_custom_product_price_update_to_cart'));
/*
* Call to set the Crowdfunding amount as the Product Price
*/
add_action('woocommerce_add_to_cart', array('CrowdFunding', 'set_gf_contribution_amount_session'), 1, 5);
/*
* Call to change the contribution amount as the Product Price
*
*/
add_action('woocommerce_before_calculate_totals', array('CrowdFunding', 'set_gf_contribution_amount_as_product_price'), 1, 1);
/* Call for saving the contributor's name in the contribution order id */
add_action('woocommerce_checkout_update_order_meta', array('CrowdFunding', 'save_gf_contributor_name_in_order'));
if (get_option('cf_load_woocommerce_template') == '1') {
add_filter('woocommerce_locate_template', array('CrowdFunding', 'crowdfunding_woocommerce_locate_template'), 1, 3);
}
//add_action('wp_head', array('CrowdFunding', 'add_out_of_stock'));
new CrowdFunding();
add_action('admin_menu', array('CrowdFunding', 'register_my_custom_submenu_page'));
//add_action('init', array('CrowdFunding', 'alter_script_in_crowdfunding'));
if (isset($_GET['page'])) {
if (($_GET['page'] == 'crowdfunding_callback')) {
// add_filter('woocommerce_screen_ids', array('CrowdFunding', 'alter_script_in_crowdfunding'), 9, 1);
}
}
add_action('init', array('CrowdFunding', 'cf_do_output_buffer'));
add_action('wp_head', array('CrowdFunding', 'new_stock_checker'));
add_action('admin_init', array('CrowdFunding', 'reset_changes_crowdfunding'));
add_action('plugins_loaded', array('CrowdFunding', 'cf_translate_file'));
add_action('admin_head', array('CrowdFunding', 'crowdfunding_head_script'));
//add_action('wp_head', array('CrowdFunding', 'load_css_crowdfunding'));
/* functions for front end campaign submission */
include_once 'inc/class_frontend_submission.php';
include_once 'inc/class_email_settings.php';
include_once 'inc/class_approved_campaign_email.php';
include_once 'inc/class_rejected_campaign_email.php';
include_once 'inc/class_deleted_campaign_email.php';
include_once 'inc/class_completion_campaign_email.php';
include_once 'inc/class_single_product_page.php';
include_once 'inc/class_shop_page.php';
include_once 'inc/class_error_message.php';
include_once 'inc/class_mycampaign.php';
include_once 'inc/class_contribution.php';
include_once 'inc/class_perk_metabox.php';
include_once 'inc/class_shortcode_generator.php';
include_once 'inc/class_campaign_payment.php';
include_once 'inc/class_perk_information_order.php';
function crowdfunding_send_order_email_to_creator($order_id) {
$order = new WC_Order($order_id);
global $product_id;
foreach ($order->get_items() as $item) {
$product_id = $item['product_id'];
$checkvalue = get_post_meta($product_id, '_crowdfundingcheckboxvalue', true);
if ($checkvalue == 'yes') {
if (get_option('cf_enable_mail_for_campaign_for_campaign_order') == 'yes') {
if (get_option('cf_send_email_to_campaign_creator_on_campaign_order') == 'yes') {
$author = get_post_field('post_author', $product_id);
$creatoremail = get_the_author_meta('user_email', $author);
}
if (get_option('cf_send_email_to_site_admin_on_campaign_order') == 'yes') {
$adminemail = get_option('admin_email');
}
$newarray = array($creatoremail, $adminemail);
if (get_option('cf_send_email_to_others_on_campaign_order') == 'yes') {
$text = trim(get_option('cf_send_email_to_others_mail_on_campaign_order'));
$textAr = explode("\n", $text);
$textAr = array_filter($textAr, 'trim'); // remove any extra \r characters left behind
foreach ($textAr as $line) {
$newarray[] = $line;
}
}
foreach ($newarray as $fieldarray) {
if (!is_null($fieldarray) || $fieldarray != '') {
global $woocommerce;
global $unsubscribe_link2;
if (get_user_meta($author, 'gf_email_unsub_value', true) != 'yes') {
$author = get_post_field('post_author', $product_id);
$tos = $fieldarray;
$subject = do_shortcode(get_option('contribution_mail_subject'));
$message = $message = do_shortcode(get_option('contribution_mail_message'));
$create_wpnonce = wp_create_nonce('gf_unsubscribe_' . $author);
$link_for_unsubscribe = esc_url_raw(add_query_arg(array('userid' => $author, 'unsub' => 'yes', 'nonce' => $create_wpnonce), site_url()));
;
$unsubscribe_link1 = get_option('gf_unsubscribe_link_for_email');
$updated_link_unsubscribe = CrowdFunding::add_hyperlink_for_unsub_link($link_for_unsubscribe);
$unsubscribe_link1 = get_option('gf_unsubscribe_link_for_email');
$unsubscribe_link2 = str_replace('{gfunsubscribelink}', $updated_link_unsubscribe, $unsubscribe_link1);
add_filter('woocommerce_email_footer_text', 'unsubscribe_footer_link');
ob_start();
wc_get_template('emails/email-header.php', array('email_heading' => $subject));
echo $message;
wc_get_template('emails/email-footer.php');
$woo_temp_msg = ob_get_clean();
$mainnames = get_option('woocommerce_email_from_name');
$mainemails = get_option('woocommerce_email_from_address');
// To send HTML mail, the Content-type header must be set
$headerss = 'MIME-Version: 1.0' . "\r\n";
$headerss .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
// Additional headers
$headerss .= 'From:' . $mainnames . ' <' . $mainemails . '>' . "\r\n";
// Mail it
if ((float) $woocommerce->version <= (float) ('2.2.0')) {
$mail = wp_mail($tos, $subject, $woo_temp_msg, $headerss);
} else {
$mailer = WC()->mailer();
$mailer->send($tos, $subject, $woo_temp_msg, '', '');
}
}
}
}
}
}
}
}
add_action('woocommerce_order_status_' . CrowdFunding::get_order_status_for_contribution(), 'crowdfunding_send_order_email_to_creator');
function add_shortcode_campaign_order($order_id) {
global $product_id;
$order = new WC_Order($order_id);
return get_the_title($product_id);
}
add_shortcode('cf_site_contributed_campaign_name', 'add_shortcode_campaign_order');
function cf_add_screen_ids($array) {
$wc_screen_id = sanitize_title(__('WooCommerce', 'woocommerce'));
$newarray = $array;
$checkids = $wc_screen_id . "_page_crowdfunding_callback";
$newarray[] = $checkids;
return $newarray;
}
add_filter('woocommerce_screen_ids', 'cf_add_screen_ids', 9, 1);
function cf_hide_shop_page_crowdfunding($query) {
if (!$query->is_main_query())
return;
if (!$query->is_post_type_archive())
return;
$args = array('post_type' => 'product', 'posts_per_page' => '-1');
$products = get_posts($args);
foreach ($products as $product) {
$product->ID;
$checkproduct = get_product($product->ID);
if ($checkproduct->is_type('simple')) {
$checkgalaxy = get_post_meta($product->ID, '_crowdfundingcheckboxvalue', true);
if ($checkgalaxy == 'yes') {
$crowdproductid[] = $product->ID;
}
}
}
if (!is_admin() && is_shop()) {
$query->set('post__not_in', $crowdproductid);
}
}
if (get_option('cf_campaign_in_shop_page') == '2') {
add_action('pre_get_posts', 'cf_hide_shop_page_crowdfunding');
}
function cf_add_session_for_contributor_name() {
?>
ID, '_crowdfundingcheckboxvalue', true) == 'yes') {
if (get_option('cf_check_show_hide_contributor_name') == '1') {
?>
cart->cart_contents as $item) {
$emailid = get_post_meta($item['product_id'], 'cf_campaigner_paypal_id', true);
$checkcrowdfunding = get_post_meta($item['product_id'], '_crowdfundingcheckboxvalue', true);
if ($checkcrowdfunding == 'yes') {
if (get_option('cf_enable_paypal_campaign_email_id') == 'yes') {
if (!empty($emailid)) {
return $emailid;
} else {
$paypalsettings = get_option('woocommerce_paypal_settings');
return $paypalsettings['email'];
}
} else {
$paypalsettings = get_option('woocommerce_paypal_settings');
return $paypalsettings['email'];
}
} else {
$paypalsettings = get_option('woocommerce_paypal_settings');
return $paypalsettings['email'];
}
}
}
function cf_custom_override_paypal_email($paypal_args) {
global $woocommerce;
$paypal_args['business'] = cf_custom_get_email_address();
return $paypal_args;
}
add_filter('woocommerce_paypal_args', 'cf_custom_override_paypal_email', 100, 1);
//add_action('admin_head', 'testing_delete');
function testing_delete() {
var_dump(get_option('testing_delete'));
$post_status = get_post_status('223');
var_dump($post_status);
}
function cf_crowdfunding_update_post_meta_order_delete($post_id) {
$post_type = get_post_type($post_id);
$post_status = get_post_status($post_id);
if ("shop_order" == $post_type) {
$order = new WC_Order($post_id);
if (in_array($post_id, (array) get_option('updated_orderids'))) {
$post_status = str_replace('wc-', '', $post_status);
if (($post_status == CrowdFunding::get_order_status_for_contribution()) || ($post_status == 'refunded')) {
foreach ($order->get_items() as $item) {
$check_crowdfunding_enabled = get_post_meta($item['product_id'], '_crowdfundingcheckboxvalue', true);
if ($check_crowdfunding_enabled == 'yes') {
$check_order_ids = get_option('contribution_orderids');
if (in_array($order->ID, (array) $check_order_ids)) {
$old_totals = get_post_meta($item['product_id'], '_crowdfundingtotalprice', true);
$totals = $old_totals - $item['line_total'];
$getoverallgoalamount = get_post_meta($item['product_id'], '_crowdfundingtotalprice', true);
$currenttargetgoal = get_post_meta($item['product_id'], '_crowdfundinggettargetprice', true);
if ($getoverallgoalamount >= $currenttargetgoal) {
// get stock status
$stockstatus = get_post_meta($item['product_id'], '_stock_status', true);
if ($stockstatus == 'outofstock') {
if ($getoverallgoalamount > $totals) {
update_post_meta($item['product_id'], '_stock_status', 'instock');
}
}
}
update_post_meta($item['product_id'], '_crowdfundingtotalprice', $totals);
$gettargetgoalamount = get_post_meta($item['product_id'], '_crowdfundinggettargetprice', true);
$getordertotal = get_post_meta($item['product_id'], '_crowdfundingtotalprice', true);
if ($gettargetgoalamount != '') {
if (($getordertotal != '') && ($gettargetgoalamount > 0)) {
$count1 = $getordertotal / $gettargetgoalamount;
$count2 = $count1 * 100;
$counter = number_format($count2, 0);
update_post_meta($item['product_id'], '_crowdfundinggoalpercent', $counter);
}
}
$oldfunderscount = get_post_meta($item['product_id'], '_update_total_funders', true);
update_post_meta($item['product_id'], '_update_total_funders', $oldfunderscount - 1);
//update_option('testing_delete', 'sumo');
}
}
}
global $post;
global $woocommerce;
$products = array();
$order_totalss = array();
$productcounts = array();
$arraycounter = array();
//$i = 0;
if (function_exists('wc_get_order_statuses')) {
$getpoststatus = array('wc-completed', 'wc-refunded');
} else {
$getpoststatus = 'publish';
}
// foreach (get_posts(array("post_type=>shop_order,numberposts=>-1,post_status=>$getpoststatus")) as $order) {
foreach (get_posts(array(
'post_type' => 'shop_order',
'posts_per_page' => '-1',
'post_status' => $getpoststatus,
))as $order) {
// if($post_id!=$order->ID) {
$order = new WC_Order($order->ID);
$getmyorderstatus = get_post_status($order->ID);
$orderstatus = str_replace('wc-', '', $getmyorderstatus);
if (($orderstatus == CrowdFunding::get_order_status_for_contribution()) || ($orderstatus == 'refunded')) {
foreach ($order->get_items() as $item) {
// var_dump($item);
$product_id = $item['product_id'];
$products[] = $product_id;
// foreach (get_posts('post_type=product&numberposts=-1&post_status=publish') as $productid) {
//
// if ($order->status == '. completed') {
// if (in_array($productid->ID, $products)) {
// $order_totals[] = $order->get_total();
// }
// }
// }
$productcounts[] = $item['product_id'];
$order_totalss[] = $item['line_total'];
}
// if (wc_customer_bought_product($order->billing_email, $order->user_id, $product_id)) {
//$i++;
}
//}
// }
}
$combined = array();
// var_dump($productcounts);
$productCount = count($productcounts);
// var_dump($productCount);
if ($productCount > 0) {
for ($i = 0; $i < $productCount; $i++) {
if (!array_key_exists($productcounts[$i], $combined)) {
$combined[$productcounts[$i]] = $order_totalss[$i];
} else {
$combined[$productcounts[$i]] += $order_totalss[$i];
}
}if (is_array($productcounts)) {
$arraycounter = array_count_values($productcounts);
// var_dump($arraycounter);
foreach ($productcounts as $newcount) {
// $arraycounter[$newcount];
if (get_post_meta($newcount, '_crowdfundingcheckboxvalue', true) == 'yes') {
update_post_meta($newcount, '_crowdfundingtotalprice', $combined[$newcount]);
$gettotalraisedamount = get_post_meta($newcount, '_crowdfundingtotalprice', true);
$gettargetgoalamount = get_post_meta($newcount, '_crowdfundinggettargetprice', true);
$getordertotal = get_post_meta($newcount, '_crowdfundingtotalprice', true);
if ($gettargetgoalamount != '') {
if (($getordertotal != '') && ($gettargetgoalamount > 0)) {
$count1 = $getordertotal / $gettargetgoalamount;
$count2 = $count1 * 100;
$counter = number_format($count2, 0);
update_post_meta($newcount, '_crowdfundinggoalpercent', $counter);
//$count = $counter . "%";
}
}
update_post_meta($newcount, '_update_total_funders', $arraycounter[$newcount]);
}
}
}
}
}
}
}
}
function delete_claim_count_for_perk($post) {
// $order_id = '288';
if ("shop_order" == $post->post_type) {
$order = new WC_Order($post->ID);
$neworderid = array($post->ID);
$i = 0;
foreach ($order->get_items() as $item) {
if (metadata_exists('post', $item['product_id'], 'orderids') == '1') {
$meta = get_post_meta($item['product_id'], "orderids", true);
$newordereddata = array_merge($meta, $neworderid);
update_post_meta($item['product_id'], "orderids", $newordereddata);
} else {
update_post_meta($item['product_id'], "orderids", $neworderid);
}
$newone = get_post_meta($item['product_id'], 'orderids', true);
foreach ($newone as $oneorderid) {
if (get_post_meta($oneorderid, 'perk_maincontainer' . $item['product_id'], true) != '') {
$getperkprice[] = get_post_meta($oneorderid, 'perk_maincontainer' . $item['product_id'], true);
}
if (get_post_meta($oneorderid, 'perk_list_amount' . $item['product_id'], true) != '') {
$listperkprice[] = get_post_meta($oneorderid, 'perk_list_amount' . $item['product_id'], true);
}
}
$getperkpricew = get_post_meta($post->ID, 'perk_list_amount' . $item['product_id'], true);
foreach ($getperkpricew as $values) {
$newtest[] = $values;
}
$getperkquantity = get_post_meta($post->ID, 'explodequantity' . $item['product_id'], true);
foreach ($getperkquantity as $perkquantity) {
$exp_quantity = explode('_', $perkquantity);
$listquantity[] = $exp_quantity[0];
$listofamount[] = $exp_quantity[1];
}
// $getcounter = array_count_values($getperkprice);
// var_dump($getcounter);
$newcount = array_unique($getperkprice);
$j = 0;
$perkrule = get_post_meta($item['product_id'], 'perk', true);
foreach ($perkrule as $perk) {
$cfperkname = get_post_meta($post->ID, 'perkname' . $item['product_id'], true);
if (get_option('cf_perk_selection_type') == '1') {
$myquantity = get_post_meta($post->ID, 'explodequantity' . $item['product_id'], true);
$get_quantity = explode('_', $myquantity);
$listquantitys = $get_quantity[0];
$listofamounts = $get_quantity[1];
foreach ($getperkprice as $price) {
if ($perk['amount'] == (int) $price) {
$length = count(array_keys($getperkprice, (int) $price));
$claimcount = (int) $perk['claimcount'];
if ($perk['amount'] == (int) $listofamounts) {
$countquantitylog = $perk['name'] . ' x ' . $listquantitys;
update_post_meta($post->ID, 'perkquantity' . $item['product_id'], $countquantitylog);
}
$perkname = str_replace('', '_', $perk['name']);
$currentcount = (int) get_post_meta($item['product_id'], $perkname . $perk['amount'] . 'update_perk_claim', true);
if ($perk['limitperk'] == 'cf_limited') {
if ($claimcount > $currentcount) {
update_post_meta($item['product_id'], $perkname . $perk['amount'] . 'update_perk_claim', $length - $currentcount);
}
} else {
if ($perk['limitperk'] == 'cf_unlimited') {
update_post_meta($item['product_id'], $perkname . $perk['amount'] . 'update_perk_claim', $length - $currentcount);
}
}
}
}
} else {
if (get_option('cf_perk_quantity_selection') == '2') {
foreach ($newtest as $price) {
//echo $price . " ";
if ($perk['amount'] == (int) $price) {
// echo $price;
$length = count(array_keys($newtest, (int) $price));
$claimcount = (int) $perk['claimcount'];
$perkname = str_replace('', '_', $perk['name']);
$currentcount = (int) get_post_meta($item['product_id'], $perkname . $perk['amount'] . 'update_perk_claim', true);
if ($perk['limitperk'] == 'cf_limited') {
if ($claimcount > $currentcount) {
update_post_meta($item['product_id'], $perkname . $perk['amount'] . 'update_perk_claim', $length - $currentcount);
}
} else {
if ($perk['limitperk'] == 'cf_unlimited') {
update_post_meta($item['product_id'], $perkname . $perk['amount'] . 'update_perk_claim', $length - $currentcount);
}
}
}
}
} else {
foreach ($listofamount as $amount) {
if ($perk['amount'] == (int) $amount) {
$length = count(array_keys($listofamount, (int) $amount));
$claimcount = (int) $perk['claimcount'];
$perkquantity = (int) $listquantity[$i];
$quantitylog[] = $perk['name'] . ' x ' . $perkquantity;
$perkname = str_replace('', '_', $perk['name']);
$currentcount = (int) get_post_meta($item['product_id'], $perkname . $perk['amount'] . 'update_perk_claim', true);
if ($perk['limitperk'] == 'cf_limited') {
if ($claimcount > $currentcount) {
update_post_meta($item['product_id'], $perkname . $perk['amount'] . 'update_perk_claim', $length - $currentcount);
}
} else {
if ($perk['limitperk'] == 'cf_unlimited') {
update_post_meta($item['product_id'], $perkname . $perk['amount'] . 'update_perk_claim', $length - $currentcount);
}
}
$i++;
}
}
update_post_meta($post->ID, 'perkquantity' . $item['product_id'], $quantitylog);
}
}
$regularprice = get_post_meta($item['product_id'], '_regular_price', true);
// if (!is_array(get_post_meta($order_id, 'perk_choosed_product' . $item['product_id'], true))) {
// if ((int) $perk['choose_products'] != '') {
// if ((int) $perk['choose_products'] == (int) get_post_meta($order_id, 'perk_choosed_product' . $item['product_id'], true)) {
// $order = new WC_Order($order_id);
// $item_id = wc_add_order_item($order_id, array(
// 'order_item_name' => get_the_title($perk['choose_products']), //get_the_title($perk['choose_products']),
// 'order_item_type' => 'line_item'
// ));
// if ($item_id) {
// wc_add_order_item_meta($item_id, '_product_id', $perk['choose_products']);
// wc_add_order_item_meta($item_id, '_line_total', $regularprice);
// wc_add_order_item_meta($item_id, '_line_subtotal', $regularprice);
// wc_add_order_item_meta($item_id, '_line_tax', '0');
// wc_add_order_item_meta($item_id, '_line_subtotal_tax', '0');
// wc_add_order_item_meta($item_id, '_qty', '1');
// }
//
// if (sizeof($order->get_items()) > 0) {
// foreach ($order->get_items() as $item) {
// $_product = $order->get_product_from_item($item);
// if ($_product && $_product->exists() && $_product->is_downloadable()) {
// $downloads = $_product->get_files();
// foreach (array_keys($downloads) as $download_id) {
// wc_downloadable_file_permission($download_id, $item['product_id'], $order);
// }
// }
// }
// }
// update_post_meta($order_id, '_download_permissions_granted', 1);
// }
// }
// }
$j++;
}
// if (is_array(get_post_meta($order_id, 'perk_choosed_product' . $item['product_id'], true))) {
// foreach (get_post_meta($order_id, 'perk_choosed_product' . $item['product_id'], true) as $choosedproduct) {
// $order = new WC_Order($order_id);
// $item_id = wc_add_order_item($order_id, array(
// 'order_item_name' => get_the_title($choosedproduct), //get_the_title($perk['choose_products']),
// 'order_item_type' => 'line_item'
// ));
// if ($item_id) {
// wc_add_order_item_meta($item_id, '_product_id', $choosedproduct);
// wc_add_order_item_meta($item_id, '_line_total', $regularprice);
// wc_add_order_item_meta($item_id, '_line_subtotal', $regularprice);
// wc_add_order_item_meta($item_id, '_line_tax', '0');
// wc_add_order_item_meta($item_id, '_line_subtotal_tax', '0');
// wc_add_order_item_meta($item_id, '_qty', '1');
// }
//
// if (sizeof($order->get_items()) > 0) {
// foreach ($order->get_items() as $item) {
// $_product = $order->get_product_from_item($item);
// if ($_product && $_product->exists() && $_product->is_downloadable()) {
// $downloads = $_product->get_files();
// foreach (array_keys($downloads) as $download_id) {
// wc_downloadable_file_permission($download_id, $item['product_id'], $order);
// }
// }
// }
// }
// update_post_meta($order_id, '_download_permissions_granted', 1);
// }
// }
}
//CrowdFunding::crowdfunding_adminpage_values();
}
}
//add_action('publish_to_trash', 'delete_claim_count_for_perk', 10, 1);
add_action('wp_trash_post', 'cf_crowdfunding_update_post_meta_order_delete');
add_action('woocommerce_order_status_refunded', 'cf_crowdfunding_update_post_meta_order_delete');
function cf_restrict_add_to_cart_products($passed, $product_id, $quantity, $variation_id = '', $variations = '') {
global $woocommerce;
if (2 == 2) {
$cart_count = $woocommerce->cart->cart_contents_count;
$cart_object = $woocommerce->cart;
foreach ($cart_object->cart_contents as $key => $value) {
if (get_post_meta($value['product_id'], '_crowdfundingcheckboxvalue', true) == 'yes') {
if ($cart_count > 0) {
wc_add_notice(__(get_option('cf_campaign_restrict_error_message')), 'error');
}
$passed = false;
}
}
}
return $passed;
}
function cf_crowdfunding_validation_input_field() {
?>
'.__('My Field').': ' . get_post_meta( $order->id, 'My Checkbox', true ) . '
';
//}
add_action('admin_head', 'cf_crowdfunding_validation_input_field');
/**
* Add checkbox field to the checkout
* */
add_action('woocommerce_after_order_notes', 'my_custom_checkout_field');
function my_custom_checkout_field($checkout) {
if (get_option('cf_show_hide_mark_anonymous_checkbox') == '1') {
echo '';
woocommerce_form_field('my_checkbox', array(
'type' => 'checkbox',
'class' => array('input-checkbox'),
'label' => get_option('cf_checkout_textbox'),
'required' => false,
), $checkout->get_value('my_checkbox'));
echo '
';
}
}
function unsubscribe_footer_link() {
global $unsubscribe_link2;
return $unsubscribe_link2;
}
/*
* Update the Unsubscribe user meta for User
*
*/
function update_gf_email_unsubscribe_meta() {
if (isset($_GET['userid']) && isset($_REQUEST['nonce'])) {
$user_id = $_GET['userid'];
if (($_GET['userid']) && ($_GET['unsub'] == 'yes')) {
update_user_meta($_GET['userid'], 'gf_email_unsub_value', 'yes');
wp_safe_redirect(site_url());
exit();
}
}
}
/* For Unsubscribe option in My account Page */
function subscribe_option_in_my_account_page() {
if (get_option('gf_show_hide_your_subscribe_link') == '1') {
?>
/>
convert($amount, $woocs_settings->base_currency(), $woocs_instance->get_selected_currency());
}
return $amount;
}
?>
woocommerce-galaxyfunder-master/css/ 0000775 0000000 0000000 00000000000 12720531511 0020142 5 ustar 00root root 0000000 0000000 woocommerce-galaxyfunder-master/css/admin.css 0000775 0000000 0000000 00000305602 12720531511 0021755 0 ustar 00root root 0000000 0000000 .clear{clear:both}.nobr{white-space:nowrap}@font-face{font-family:WooCommerce;src:url(../fonts/WooCommerce.eot);src:url(../fonts/WooCommerce.eot?#iefix) format('embedded-opentype'),url(../fonts/WooCommerce.woff) format('woff'),url(../fonts/WooCommerce.ttf) format('truetype'),url(../fonts/WooCommerce.svg#WooCommerce) format('svg');font-weight:400;font-style:normal}.wc_addons_wrap .products{overflow:hidden}.wc_addons_wrap .products li{float:left;margin:0 1em 1em 0!important;padding:0;vertical-align:top;width:300px}.wc_addons_wrap .products li a{text-decoration:none;color:inherit;border:1px solid #ddd;display:block;min-height:220px;overflow:hidden;background:#f5f5f5;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 -1px 0 rgba(0,0,0,.1)}.wc_addons_wrap .products li a img{max-width:258px;max-height:24px;padding:17px 20px;display:block;margin:0;background:#fff;border-right:260px solid #fff}.wc_addons_wrap .products li a .price,.wc_addons_wrap .products li a img.extension-thumb+h3{display:none}.wc_addons_wrap .products li a h3{margin:0!important;padding:20px!important;background:#fff}.wc_addons_wrap .products li a p{padding:20px!important;margin:0!important;border-top:1px solid #f1f1f1}.wc_addons_wrap .products li a:focus,.wc_addons_wrap .products li a:hover{background-color:#fff}.woocommerce-message{position:relative;border-left-color:#cc99c2!important;overflow:hidden}.woocommerce-message a.button-primary{background:#cc99c2;border-color:#b366a4;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);color:#fff;text-decoration:none}.woocommerce-message a.button-primary:hover{background:#bb77ae;border-color:#aa559a;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15)}.woocommerce-message a.button-primary:active{background:#aa559a;border-color:#aa559a}.woocommerce-message a.docs,.woocommerce-message a.skip{opacity:.5}.woocommerce-message .twitter-share-button{vertical-align:middle}#variable_product_options #message{margin:10px}.wrap.woocommerce div.error,.wrap.woocommerce div.updated{margin-top:10px}mark.amount{background:transparent none;color:inherit}.postbox input:invalid,.woocommerce input:invalid{border:1px solid #cc010b;background:#ffebe8}table.wc_status_table tr:nth-child(2n) td,table.wc_status_table tr:nth-child(2n) th{background:#fcfcfc}table.wc_status_table th{font-weight:700}table.wc_status_table td:first-child{width:20%}table.wc_status_table td{padding:6px 9px;font-size:1.1em}table.wc_status_table td mark{background:transparent none}table.wc_status_table td mark.yes{color:#7ad03a}table.wc_status_table td mark.no{color:#999}table.wc_status_table td mark.error{color:#a00}table.wc_status_table td ul{margin:0}#debug-report{display:none;margin:10px 0;padding:0;position:relative}#debug-report textarea{font-family:monospace;width:100%;margin:0;height:300px;padding:20px;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;resize:none;font-size:12px;line-height:20px;outline:0}.inline-edit-product.quick-edit-row .inline-edit-col-center,.inline-edit-product.quick-edit-row .inline-edit-col-right{float:right!important}#woocommerce-fields.inline-edit-col{clear:left}#woocommerce-fields.inline-edit-col label.featured,#woocommerce-fields.inline-edit-col label.manage_stock{margin-left:10px}#woocommerce-fields.inline-edit-col .dimensions div{display:block;margin:.2em 0}#woocommerce-fields.inline-edit-col .dimensions div span.title{display:block;float:left;width:5em}#woocommerce-fields.inline-edit-col .dimensions div span.input-text-wrap{display:block;margin-left:5em}#woocommerce-fields.inline-edit-col .text{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:99%;float:left;margin:1px 1% 1px 1px}#woocommerce-fields.inline-edit-col .height,#woocommerce-fields.inline-edit-col .length,#woocommerce-fields.inline-edit-col .width{width:32.33%}#woocommerce-fields.inline-edit-col .height{margin-right:0}#woocommerce-fields-bulk.inline-edit-col label{clear:left}#woocommerce-fields-bulk.inline-edit-col .inline-edit-group div.alignright,#woocommerce-fields-bulk.inline-edit-col .inline-edit-group label{clear:none;width:49%;margin:.2em 0}#woocommerce-fields-bulk.inline-edit-col .regular_price,#woocommerce-fields-bulk.inline-edit-col .sale_price,#woocommerce-fields-bulk.inline-edit-col .stock,#woocommerce-fields-bulk.inline-edit-col .weight{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}#woocommerce-fields-bulk.inline-edit-col .height,#woocommerce-fields-bulk.inline-edit-col .length,#woocommerce-fields-bulk.inline-edit-col .width{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:32%}.column-coupon_code{line-height:2.25em}.column-coupon_code,ul.wc_coupon_list{margin:0;overflow:hidden;zoom:1;clear:both}.column-coupon_code li.code,ul.wc_coupon_list li.code{margin:0 6px 12px 0!important}.column-coupon_code .code a:after,.column-coupon_code .code a:before,.column-coupon_code .code span:after,.column-coupon_code .code span:before,.column-coupon_code .code:after,.column-coupon_code .code:before,ul.wc_coupon_list .code a:after,ul.wc_coupon_list .code a:before,ul.wc_coupon_list .code span:after,ul.wc_coupon_list .code span:before,ul.wc_coupon_list .code:after,ul.wc_coupon_list .code:before{content:"";display:block;position:absolute;width:8px;height:4px;background:#f7f7f7;-webkit-border-radius:2px;-moz-border-radius:2px;-o-border-radius:2px;border-radius:2px;-moz-box-shadow:0 2px 0 0 rgba(255,255,255,.3),inset 0 2px 0 0 rgba(0,0,0,.1);-webkit-box-shadow:0 2px 0 0 rgba(255,255,255,.3),inset 0 2px 0 0 rgba(0,0,0,.1);box-shadow:0 2px 0 0 rgba(255,255,255,.3),inset 0 2px 0 0 rgba(0,0,0,.1)}.column-coupon_code .code,ul.wc_coupon_list .code{overflow:hidden;vertical-align:middle;margin:0 8px 0 0;background:#ececec;color:#21759A;text-shadow:0 1px 0 #ddd;padding:2px;position:relative;float:left;line-height:1em;-moz-box-shadow:0 2px 0 0 #ddd;-webkit-box-shadow:0 2px 0 0 #ddd;box-shadow:0 2px 0 0 #ddd;font-weight:700}.column-coupon_code .code:before,ul.wc_coupon_list .code:before{bottom:5px;left:0;margin:0 0 0 -4px}.column-coupon_code .code:after,ul.wc_coupon_list .code:after{top:5px;left:0;margin:0 0 0 -4px}.column-coupon_code .code a,.column-coupon_code .code span,ul.wc_coupon_list .code a,ul.wc_coupon_list .code span{float:left;padding:0 4px;color:#21759A}.column-coupon_code .code a:before,.column-coupon_code .code span:before,ul.wc_coupon_list .code a:before,ul.wc_coupon_list .code span:before{bottom:5px;right:0;margin:0 -4px 0 0}.column-coupon_code .code a:after,.column-coupon_code .code span:after,ul.wc_coupon_list .code a:after,ul.wc_coupon_list .code span:after{content:"";top:5px;right:0;margin:0 -4px 0 0}.column-coupon_code .code a span,.column-coupon_code .code span span,ul.wc_coupon_list .code a span,ul.wc_coupon_list .code span span{border:1px dashed #ccc;padding:.5em 6px;-webkit-border-radius:2px;-moz-border-radius:2px;-o-border-radius:2px;border-radius:2px}.column-coupon_code .code a span:before,.column-coupon_code .code span span:before,ul.wc_coupon_list .code a span:before,ul.wc_coupon_list .code span span:before{top:50%;left:0;margin:-2px 0 0 -4px}.column-coupon_code .code a span:after,.column-coupon_code .code span span:after,ul.wc_coupon_list .code a span:after,ul.wc_coupon_list .code span span:after{top:50%;right:0;margin:-2px -4px 0 0}.column-coupon_code .code:hover,ul.wc_coupon_list .code:hover{background:#975e83;color:#fff;text-shadow:0 1px 0 #5a324b}.column-coupon_code .code:hover a,.column-coupon_code .code:hover span,ul.wc_coupon_list .code:hover a,ul.wc_coupon_list .code:hover span{color:#fff}.column-coupon_code .code:hover a span,.column-coupon_code .code:hover span span,ul.wc_coupon_list .code:hover a span,ul.wc_coupon_list .code:hover span span{border:1px dashed #bb82a7}ul.wc_coupon_list_block{margin:0;padding-bottom:2px}ul.wc_coupon_list_block li{border-top:1px solid #fff;border-bottom:1px solid #ccc;line-height:2.5em;margin:0;padding:.5em 0}ul.wc_coupon_list_block li:first-child{border-top:0;padding-top:0}ul.wc_coupon_list_block li:last-child{border-bottom:0;padding-bottom:0}.button.wc-reload{text-indent:-9999px;position:relative;padding:0;-webkit-border-radius:100%;border-radius:100%;height:24px;width:24px!important;display:inline-block}.button.wc-reload:after{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"\e031";line-height:22px}.tablenav .actions{overflow:visible}.alignleft.actions .chosen-container-single{display:inline-block;vertical-align:middle}#woocommerce-order-data .handlediv,#woocommerce-order-data h3.hndle{display:none}#woocommerce-order-data .inside{display:block!important}#order_data{padding:23px 24px 12px}#order_data h2{margin:0;font-family:HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",sans-serif;font-size:21px;font-weight:400;line-height:1.2;text-shadow:1px 1px 1px #fff;padding:0}#order_data h4{color:#333;margin:1.33em 0 0}#order_data p{color:#777}#order_data p.order_number{margin:0;font-family:HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",sans-serif;font-weight:400;line-height:1.6em;font-size:16px}#order_data .order_data_column_container{clear:both}#order_data .order_data_column{width:32%;padding:0 2% 0 0;float:left}#order_data .order_data_column:last-child{padding-right:0}#order_data .order_data_column p{padding:0!important}#order_data .order_data_column .address strong{display:block}#order_data .order_data_column .form-field{float:left;width:48%;padding:0;margin:9px 0 0}#order_data .order_data_column .form-field label{display:block;padding:0 0 3px}#order_data .order_data_column .form-field input,#order_data .order_data_column .form-field select,#order_data .order_data_column .form-field textarea{width:100%}#order_data .order_data_column .form-field #order_status_chosen .chosen-search{display:none}#order_data .order_data_column .form-field .chosen-container{width:100%!important}#order_data .order_data_column .form-field .date-picker-field{width:50%}#order_data .order_data_column .form-field .hour,#order_data .order_data_column .form-field .minute{width:2.5em}#order_data .order_data_column .form-field small{display:block;margin:5px 0 0;color:#999}#order_data .order_data_column .form-field.last{float:right}#order_data .order_data_column .form-field-wide{width:100%;clear:both}#order_data .order_data_column .form-field-wide input,#order_data .order_data_column .form-field-wide select,#order_data .order_data_column .form-field-wide textarea{width:100%}#order_data .order_data_column p.none_set{color:#999}#order_data .order_data_column ._billing_address_1_field,#order_data .order_data_column ._billing_city_field,#order_data .order_data_column ._billing_country_field,#order_data .order_data_column ._billing_email_field,#order_data .order_data_column ._billing_first_name_field,#order_data .order_data_column ._shipping_address_1_field,#order_data .order_data_column ._shipping_city_field,#order_data .order_data_column ._shipping_country_field,#order_data .order_data_column ._shipping_first_name_field{float:left}#order_data .order_data_column ._billing_address_2_field,#order_data .order_data_column ._billing_last_name_field,#order_data .order_data_column ._billing_phone_field,#order_data .order_data_column ._billing_postcode_field,#order_data .order_data_column ._billing_state_field,#order_data .order_data_column ._shipping_address_2_field,#order_data .order_data_column ._shipping_last_name_field,#order_data .order_data_column ._shipping_postcode_field,#order_data .order_data_column ._shipping_state_field{float:right}#order_data .order_data_column ._billing_company_field,#order_data .order_data_column ._shipping_company_field{clear:both;width:100%}#order_data .order_data_column ._billing_email_field{clear:left}#order_data .order_data_column div.edit_address{display:none;overflow:hidden;zoom:1;padding-right:1px}#order_data a.edit_address{opacity:.4}#order_data a.edit_address:focus,#order_data a.edit_address:hover{opacity:1}.order_actions{margin:0;overflow:hidden;zoom:1}.order_actions li{border-top:1px solid #fff;border-bottom:1px solid #ddd;padding:6px 0;margin:0;line-height:1.6em;float:left;width:50%;text-align:center}.order_actions li a{float:none;text-align:center;text-decoration:underline}.order_actions li.wide{width:auto;float:none;clear:both;padding:6px;text-align:left;overflow:hidden}.order_actions li #delete-action{line-height:25px;vertical-align:middle;text-align:left;float:left}.order_actions li .save_order{float:right}.order_actions li#actions{overflow:hidden}.order_actions li#actions .button{width:24px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;float:right}.order_actions li#actions select{width:225px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;float:left}#woocommerce-order-items .inside{margin:0;padding:0;background:#fefefe}#woocommerce-order-items .bulk_actions{float:left;padding-left:12px;vertical-align:top}#woocommerce-order-items .add_items{float:right;padding-right:12px;vertical-align:top}#woocommerce-order-items .add_items .add_item_id,#woocommerce-order-items .add_items .chosen-container{margin-right:9px;vertical-align:top;float:left}#woocommerce-order-items .add_items .add_item_id .search-field input,#woocommerce-order-items .add_items .chosen-container .search-field input{min-width:100px}#woocommerce-order-items .add_items button{margin:2px 0 0}#woocommerce-order-items .add_meta{margin-left:0!important}#woocommerce-order-items h3 small{color:#999}#woocommerce-order-items a.edit_order_item{opacity:.4}#woocommerce-order-items a.edit_order_item:focus,#woocommerce-order-items a.edit_order_item:hover{opacity:1}#woocommerce-order-downloads .buttons{float:left;padding:0;margin:0;vertical-align:top}#woocommerce-order-downloads .buttons .add_item_id,#woocommerce-order-downloads .buttons .chosen-container{width:400px!important;margin-right:9px;vertical-align:top;float:left}#woocommerce-order-downloads .buttons button{margin:2px 0 0}#woocommerce-order-downloads h3 small{color:#999}#poststuff #woocommerce-order-actions .inside{margin:0;padding:0}#poststuff #woocommerce-order-actions .inside ul.order_actions li{padding:6px 10px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#poststuff #woocommerce-order-actions .inside ul.order_actions li:last-child{border-bottom:0}#poststuff #woocommerce-order-totals .inside{margin:0;padding:0}#poststuff #woocommerce-order-totals h4{margin:0!important}#poststuff #woocommerce-order-totals h4 a.add_tax_row,#poststuff #woocommerce-order-totals h4 a.add_total_row{display:inline-block;padding-bottom:10px}#poststuff #woocommerce-order-totals h4 .inline_total{float:right;color:#999}#poststuff #woocommerce-order-totals .totals_group{border-top:1px solid #fff;border-bottom:1px solid #DDD;padding:10px 12px 0}#poststuff #woocommerce-order-totals .totals_group:first-child{border-top:0}#poststuff #woocommerce-order-totals .totals_group input,#poststuff #woocommerce-order-totals .totals_group select{width:100%;vertical-align:top;margin:0;font-weight:400;line-height:1em}#poststuff #woocommerce-order-totals .totals_group select{height:30px!important}#poststuff #woocommerce-order-totals .totals_group input{padding:4px 6px}#poststuff #woocommerce-order-totals .totals_group ::-webkit-input-placeholder{line-height:1.4em}#poststuff #woocommerce-order-totals .totals_group ::-moz-placeholder{line-height:1.4em}#poststuff #woocommerce-order-totals .totals_group :-ms-input-placeholder{line-height:1.4em}#poststuff #woocommerce-order-totals .totals_group input:-moz-placeholder{line-height:1.4em}#poststuff #woocommerce-order-totals .totals_group #_order_discount,#poststuff #woocommerce-order-totals .totals_group #_order_total{margin:6px 0 10px}#poststuff #woocommerce-order-totals .buttons{border-top:1px solid #fff;padding:1em 10px;margin:0;text-align:right}#poststuff #woocommerce-order-totals .buttons .calc_line_taxes{float:left}#poststuff #woocommerce-order-totals ul.totals{margin:6px 0 0;float:left}#poststuff #woocommerce-order-totals ul.totals li{float:left;clear:both;width:100%;font-size:1.2em;font-weight:700;line-height:1.2em;margin:0;padding:0 0 10px}#poststuff #woocommerce-order-totals ul.totals li label{font-weight:400;display:block;font-size:.8em;color:#333}#poststuff #woocommerce-order-totals ul.totals li.left{float:left;width:49%;clear:left}#poststuff #woocommerce-order-totals ul.totals li.left input{width:100%}#poststuff #woocommerce-order-totals ul.totals li.right{float:right;width:49%;clear:none}#poststuff #woocommerce-order-totals ul.totals li.right input{width:100%}#poststuff #woocommerce-order-totals ul.totals li.wide{float:left;width:100%;clear:left}#poststuff #woocommerce-order-totals ul.totals li.wide input{width:100%}#poststuff #woocommerce-order-totals ul.totals .calculated{border-color:#ae8ca2;border-style:dotted}#poststuff #woocommerce-order-totals .total_rows{margin:6px 0 0}#poststuff #woocommerce-order-totals .total_rows .total_row:first-child{border-top:1px solid #dfdfdf}#poststuff #woocommerce-order-totals .total_rows .total_row:last-child{margin-bottom:9px}#poststuff #woocommerce-order-totals .total_row{margin:0 -12px;border-bottom:1px solid #DFDFDF;padding:12px 12px 3px;background:#f8f8f8;position:relative}#poststuff #woocommerce-order-totals .total_row p{margin:0 0 9px}#poststuff #woocommerce-order-totals .total_row label{color:#999;display:block;margin:0 0 3px}#poststuff #woocommerce-order-totals .total_row p.first{float:left;width:49%;clear:left}#poststuff #woocommerce-order-totals .total_row p.first input,#poststuff #woocommerce-order-totals .total_row p.first select{width:100%}#poststuff #woocommerce-order-totals .total_row p.last{float:right;width:49%;clear:none}#poststuff #woocommerce-order-totals .total_row p.last input,#poststuff #woocommerce-order-totals .total_row p.last select{width:100%}#poststuff #woocommerce-order-totals .total_row p.wide{clear:both}#poststuff #woocommerce-order-totals .total_row p.wide input,#poststuff #woocommerce-order-totals .total_row p.wide select{width:100%}#poststuff #woocommerce-order-totals .total_row a.delete_tax_row,#poststuff #woocommerce-order-totals .total_row a.delete_total_row{text-indent:-9999px;height:1em;width:1em;display:none;position:absolute;top:-.5em;right:-.5em;font-size:1.4em}#poststuff #woocommerce-order-totals .total_row a.delete_tax_row:before,#poststuff #woocommerce-order-totals .total_row a.delete_total_row:before{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"\e013";color:#fff;background-color:#000;-webkit-border-radius:100%;border-radius:100%;box-shadow:0 1px 2px rgba(0,0,0,.2)}#poststuff #woocommerce-order-totals .total_row a.delete_tax_row:hover:before,#poststuff #woocommerce-order-totals .total_row a.delete_total_row:hover:before{background-color:#a00}#poststuff #woocommerce-order-totals .total_row:focus a.delete_tax_row,#poststuff #woocommerce-order-totals .total_row:focus a.delete_total_row,#poststuff #woocommerce-order-totals .total_row:hover a.delete_tax_row,#poststuff #woocommerce-order-totals .total_row:hover a.delete_total_row{display:block}#poststuff #woocommerce-order-notes .inside{margin:0;padding:0}#poststuff #woocommerce-order-notes .inside ul.order_notes li{padding:0 10px}.woocommerce_order_items_wrapper{margin:0;overflow:auto}.woocommerce_order_items_wrapper table.woocommerce_order_items{width:100%;background:#fff}.woocommerce_order_items_wrapper table.woocommerce_order_items thead th{background:#f5f5f5;padding:8px;font-size:11px;text-align:left}.woocommerce_order_items_wrapper table.woocommerce_order_items tbody th,.woocommerce_order_items_wrapper table.woocommerce_order_items td{padding:8px;text-align:left;line-height:26px;vertical-align:top;border-bottom:1px dotted #ececec}.woocommerce_order_items_wrapper table.woocommerce_order_items tbody th textarea,.woocommerce_order_items_wrapper table.woocommerce_order_items td textarea{width:100%}.woocommerce_order_items_wrapper table.woocommerce_order_items tbody th select,.woocommerce_order_items_wrapper table.woocommerce_order_items td select{width:50%}.woocommerce_order_items_wrapper table.woocommerce_order_items tbody th input,.woocommerce_order_items_wrapper table.woocommerce_order_items tbody th textarea,.woocommerce_order_items_wrapper table.woocommerce_order_items td input,.woocommerce_order_items_wrapper table.woocommerce_order_items td textarea{font-size:14px;padding:4px;color:#555}.woocommerce_order_items_wrapper table.woocommerce_order_items td.check-column{padding:8px;width:1%}.woocommerce_order_items_wrapper table.woocommerce_order_items .item{min-width:200px}.woocommerce_order_items_wrapper table.woocommerce_order_items .center,.woocommerce_order_items_wrapper table.woocommerce_order_items .variation-id{text-align:center}.woocommerce_order_items_wrapper table.woocommerce_order_items .cost,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax,.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class{text-align:right}.woocommerce_order_items_wrapper table.woocommerce_order_items .cost label,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost label,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax label,.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity label,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax label,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class label{white-space:nowrap;color:#999;font-size:.833em}.woocommerce_order_items_wrapper table.woocommerce_order_items .cost label input,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost label input,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax label input,.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity label input,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax label input,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class label input{display:inline}.woocommerce_order_items_wrapper table.woocommerce_order_items .cost input,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost input,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax input,.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity input,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax input,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class input{width:70px;vertical-align:middle;text-align:right}.woocommerce_order_items_wrapper table.woocommerce_order_items .cost select,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost select,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax select,.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity select,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax select,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class select{width:85px;height:26px;vertical-align:middle;font-size:1em}.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity{text-align:center}.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity input{text-align:center;width:50px}.woocommerce_order_items_wrapper table.woocommerce_order_items span.subtotal{opacity:.5}.woocommerce_order_items_wrapper table.woocommerce_order_items td.tax_class,.woocommerce_order_items_wrapper table.woocommerce_order_items th.tax_class{text-align:left}.woocommerce_order_items_wrapper table.woocommerce_order_items .calculated{border-color:#ae8ca2;border-style:dotted}.woocommerce_order_items_wrapper table.woocommerce_order_items table.meta{width:100%}.woocommerce_order_items_wrapper table.woocommerce_order_items table.display_meta,.woocommerce_order_items_wrapper table.woocommerce_order_items table.meta{margin:.5em 0 0}.woocommerce_order_items_wrapper table.woocommerce_order_items table.display_meta tr th,.woocommerce_order_items_wrapper table.woocommerce_order_items table.meta tr th{border:0;padding:0 4px .5em 0;line-height:1.5em;width:20%}.woocommerce_order_items_wrapper table.woocommerce_order_items table.display_meta tr td,.woocommerce_order_items_wrapper table.woocommerce_order_items table.meta tr td{padding:0 4px .5em 0;border:0;line-height:1.5em}.woocommerce_order_items_wrapper table.woocommerce_order_items table.display_meta tr td input,.woocommerce_order_items_wrapper table.woocommerce_order_items table.meta tr td input{width:100%;margin:0;position:relative;border-bottom:0;box-shadow:none}.woocommerce_order_items_wrapper table.woocommerce_order_items table.display_meta tr td textarea,.woocommerce_order_items_wrapper table.woocommerce_order_items table.meta tr td textarea{width:100%;height:4em;margin:0;box-shadow:none}.woocommerce_order_items_wrapper table.woocommerce_order_items table.display_meta tr td input:focus+textarea,.woocommerce_order_items_wrapper table.woocommerce_order_items table.meta tr td input:focus+textarea{border-top-color:#999}.woocommerce_order_items_wrapper table.woocommerce_order_items table.display_meta tr td p,.woocommerce_order_items_wrapper table.woocommerce_order_items table.meta tr td p{margin:0 0 .5em;line-height:1.5em}.woocommerce_order_items_wrapper table.woocommerce_order_items table.display_meta tr td p:last-child,.woocommerce_order_items_wrapper table.woocommerce_order_items table.meta tr td p:last-child{margin:0}.woocommerce_order_items_wrapper table.woocommerce_order_items .thumb{text-align:left;width:27px}.woocommerce_order_items_wrapper table.woocommerce_order_items .thumb a{display:block}.woocommerce_order_items_wrapper table.woocommerce_order_items .thumb img{padding:1px;margin:0;border:1px solid #dfdfdf;vertical-align:middle;width:21px;height:21px}.woocommerce_order_items_wrapper table.woocommerce_order_items tr.fee .thumb{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAARklEQVQYGWP8//8/AzGACV3Rnj17/oMwujiGQnQFMD7RChlBbsRmFcwkEO3i4sJImonIumGmg0xBFifaRKIVgj2DbAUuNgCfThpracSKqwAAAABJRU5ErkJggg==) no-repeat center}#woocommerce_customers p.search-box{margin:6px 0 4px;float:left}#woocommerce_customers .tablenav{float:right;clear:none}.widefat.customers td{vertical-align:middle;padding:4px 7px}.widefat .column-order_title{width:15%}.widefat .column-order_title time{display:block;color:#999;margin:3px 0}.widefat .column-orders,.widefat .column-paying,.widefat .column-spent{text-align:center;width:8%}.widefat .column-last_order{width:11%}.widefat .column-order_actions,.widefat .column-user_actions,.widefat .column-wc_actions{width:110px}.widefat .column-order_actions a.button,.widefat .column-user_actions a.button,.widefat .column-wc_actions a.button{float:left;margin:0 4px 2px 0;cursor:pointer;padding:3px 4px;height:auto}.widefat .column-order_actions a.button img,.widefat .column-user_actions a.button img,.widefat .column-wc_actions a.button img{display:block;width:12px;height:auto}.widefat small.meta{display:block;color:#999;font-size:inherit;margin:3px 0}.widefat .column-order_date,.widefat .column-order_total{width:9%}.widefat .column-order_status{width:45px;text-align:center}.widefat .column-order_status mark{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;background:0 0;font-size:1.4em;margin:0 auto}.widefat .column-order_status mark.cancelled:after,.widefat .column-order_status mark.completed:after,.widefat .column-order_status mark.failed:after,.widefat .column-order_status mark.on-hold:after,.widefat .column-order_status mark.pending:after,.widefat .column-order_status mark.processing:after,.widefat .column-order_status mark.refunded:after{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center}.widefat .column-order_status mark.pending:after{content:"\e012";color:#ffba00}.widefat .column-order_status mark.completed:after{content:"\e015";color:#2ea2cc}.widefat .column-order_status mark.on-hold:after{content:"\e033";color:#999}.widefat .column-order_status mark.failed:after{content:"\e016";color:#d0c21f}.widefat .column-order_status mark.cancelled:after{content:"\e013";color:#a00}.widefat .column-order_status mark.processing:after{content:"\e011";color:#73a724}.widefat .column-order_status mark.refunded:after{content:"\e014";color:#999}.widefat td.column-order_status{padding-top:9px}.column-customer_message .note-on{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;margin:0 auto;color:#999}.column-customer_message .note-on:after{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"\e026";line-height:16px}.column-order_notes .note-on{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;margin:0 auto;color:#999}.column-order_notes .note-on:after{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"\e027";line-height:16px}.order_actions .complete,.order_actions .processing,.order_actions .view{display:block;text-indent:-9999px;position:relative;padding:0!important;height:2em!important;width:2em}.order_actions .complete:after,.order_actions .processing:after,.order_actions .view:after{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;line-height:1.85}.order_actions .processing:after{content:"\e00f"}.order_actions .complete:after{content:"\e017"}.order_actions .view:after{content:"\e010"}.user_actions .edit,.user_actions .link,.user_actions .view{display:block;text-indent:-9999px;position:relative;padding:0!important;height:2em!important;width:2em}.user_actions .edit:after,.user_actions .link:after,.user_actions .view:after{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;line-height:1.85}.user_actions .edit:after{content:"\e603"}.user_actions .link:after{content:"\e00d"}.user_actions .view:after{content:"\e010"}.attributes-table td,.attributes-table th{width:15%;vertical-align:top}.attributes-table .attribute-terms{width:32%}.attributes-table .attribute-actions{width:2em}.attributes-table .attribute-actions .configure-terms{display:block;text-indent:-9999px;position:relative;padding:0!important;height:2em!important;width:2em}.attributes-table .attribute-actions .configure-terms:after{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"\e01c";line-height:1.85}ul.order_notes{padding:2px 0 0}ul.order_notes li .note_content{padding:10px;background:#efefef;position:relative}ul.order_notes li .note_content p{margin:0;padding:0;word-wrap:break-word}ul.order_notes li p.meta{padding:10px;color:#999;margin:0;font-size:11px}ul.order_notes li p.meta .exact-date{border-bottom:1px dotted #999}ul.order_notes li a.delete_note{color:#a00}ul.order_notes li .note_content:after{content:"";display:block;position:absolute;bottom:-10px;left:20px;width:0;height:0;border-width:10px 10px 0 0;border-style:solid;border-color:#efefef transparent}ul.order_notes li.customer-note .note_content{background:#d7cad2}ul.order_notes li.customer-note .note_content:after{border-color:#d7cad2 transparent}.add_note{border-top:1px solid #ddd;padding:10px 10px 0}.add_note h4{margin-top:5px!important}.add_note #add_order_note{width:100%;height:50px}table.wp-list-table .column-thumb{width:52px;text-align:center;white-space:nowrap}table.wp-list-table .column-name{width:22%}table.wp-list-table .column-product_cat,table.wp-list-table .column-product_tag{width:11%!important}table.wp-list-table .column-featured,table.wp-list-table .column-product_type{width:46px;text-align:left!important}table.wp-list-table .column-customer_message,table.wp-list-table .column-order_notes{width:46px;text-align:center}table.wp-list-table .column-customer_message img,table.wp-list-table .column-order_notes img{margin:0 auto;padding-top:0!important}table.wp-list-table .manage-column.column-featured img,table.wp-list-table .manage-column.column-product_type img{padding-left:2px}table.wp-list-table .column-price .woocommerce-price-suffix{display:none}table.wp-list-table img{margin:1px 2px}table.wp-list-table .row-actions{color:#999}table.wp-list-table td.column-thumb img{margin:0;vertical-align:middle;width:auto;height:auto;max-width:40px;max-height:40px}table.wp-list-table span.na{color:#999}table.wp-list-table .column-is_in_stock{text-align:left!important}table.wp-list-table span.wc-featured,table.wp-list-table span.wc-image,table.wp-list-table span.wc-type{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;margin:0 auto}table.wp-list-table span.wc-featured:before,table.wp-list-table span.wc-image:before,table.wp-list-table span.wc-type:before{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"\e00c"}table.wp-list-table span.wc-featured{margin:0;cursor:pointer}table.wp-list-table span.wc-featured:before{content:"\e020"}table.wp-list-table span.wc-featured.not-featured:before{content:"\e021"}table.wp-list-table td.column-featured span.wc-featured{font-size:1.2em}table.wp-list-table span.wc-type{margin:0}table.wp-list-table span.wc-type:before{content:"\e01d"}table.wp-list-table span.product-type{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;font-size:1.2em}table.wp-list-table span.product-type:before{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"\e006"}table.wp-list-table span.product-type.grouped:before{content:"\e002"}table.wp-list-table span.product-type.external:before{content:"\e034"}table.wp-list-table span.product-type.variable:before{content:"\e003"}table.wp-list-table span.product-type.downloadable:before{content:"\e001"}table.wp-list-table span.product-type.virtual:before{content:"\e000"}table.wp-list-table mark.instock{font-weight:700;color:#7ad03a;background:transparent none;line-height:1}table.wp-list-table mark.outofstock{font-weight:700;color:#a44;background:transparent none;line-height:1}table.wp-list-table .notes_head,table.wp-list-table .order-notes_head,table.wp-list-table .status_head{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;margin:0 auto}table.wp-list-table .notes_head:after,table.wp-list-table .order-notes_head:after,table.wp-list-table .status_head:after{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center}table.wp-list-table .order-notes_head:after{content:"\e028"}table.wp-list-table .notes_head:after{content:"\e026"}table.wp-list-table .status_head:after{content:"\e011"}table.wp-list-table .column-order_items{width:12%}table.wp-list-table .column-order_items table.order_items{width:100%;margin:3px 0 0;padding:0;display:none}table.wp-list-table .column-order_items table.order_items td{border:0;margin:0;padding:0 0 3px}table.wp-list-table .column-order_items table.order_items td.qty{color:#999;padding-right:6px;text-align:left}mark.notice{background:#fff;color:#a00;margin:0 0 0 10px}a.export_rates,a.import_rates{float:right;margin-left:9px;margin-top:-2px;margin-bottom:0}table.wc_input_table,table.wc_tax_rates{width:100%}table.wc_input_table span.tips,table.wc_tax_rates span.tips{color:#2ea2cc}table.wc_input_table td,table.wc_tax_rates td{padding:0;border-right:1px solid #DFDFDF;border-bottom:1px solid #DFDFDF;border-top:0;background:#fff}table.wc_input_table td input[type=number],table.wc_input_table td input[type=text],table.wc_tax_rates td input[type=number],table.wc_tax_rates td input[type=text]{width:100%;padding:5px 7px;margin:0;border:0;background:transparent none}table.wc_input_table td.apply_to_shipping,table.wc_input_table td.compound,table.wc_tax_rates td.apply_to_shipping,table.wc_tax_rates td.compound{padding:5px 7px;vertical-align:middle}table.wc_input_table td.apply_to_shipping input,table.wc_input_table td.compound input,table.wc_tax_rates td.apply_to_shipping input,table.wc_tax_rates td.compound input{width:auto;padding:0}table.wc_input_table td:last-child,table.wc_tax_rates td:last-child{border-right:0}table.wc_input_table tr.current td,table.wc_tax_rates tr.current td{background-color:#fefbcc}table.wc_input_table .cost,table.wc_input_table .cost input,table.wc_input_table .item_cost,table.wc_input_table .item_cost input,table.wc_tax_rates .cost,table.wc_tax_rates .cost input,table.wc_tax_rates .item_cost,table.wc_tax_rates .item_cost input{text-align:right}table.wc_input_table th.sort,table.wc_tax_rates th.sort{width:17px;padding:0}table.wc_input_table td.sort,table.wc_tax_rates td.sort{padding:0 4px;cursor:move;background:#f9f9f9;text-align:center;vertical-align:middle}table.wc_input_table td.sort:before,table.wc_tax_rates td.sort:before{content:"\e032";font-family:WooCommerce;text-align:center;line-height:1;color:#999;display:block;width:17px;float:left;height:100%}table.wc_input_table td.sort:hover:before,table.wc_tax_rates td.sort:hover:before{color:#333}table.wc_input_table .button,table.wc_tax_rates .button{float:left;margin-right:5px}table.wc_input_table .export,table.wc_input_table .import,table.wc_tax_rates .export,table.wc_tax_rates .import{float:right;margin-right:0;margin-left:5px}table.wc_input_table span.tips,table.wc_tax_rates span.tips{padding:0 3px}table.wc_input_table .pagination,table.wc_tax_rates .pagination{float:right}table.wc_input_table .pagination .button,table.wc_tax_rates .pagination .button{margin-left:5px;margin-right:0}table.wc_input_table .pagination .current,table.wc_tax_rates .pagination .current{background:#bbb;text-shadow:none}table.wc_input_table tfoot th,table.wc_tax_rates tfoot th{padding-left:20px;padding-right:20px}table.wc_input_table tr:last-child td,table.wc_tax_rates tr:last-child td{border-bottom:0}table.wc_gateways,table.wc_shipping{position:relative}table.wc_gateways td,table.wc_shipping td{vertical-align:middle;cursor:move;padding:7px}table.wc_gateways th,table.wc_shipping th{padding:9px 7px!important;vertical-align:middle}table.wc_gateways td.name,table.wc_shipping td.name{font-weight:700}table.wc_gateways .settings,table.wc_shipping .settings{text-align:right}table.wc_gateways .default,table.wc_gateways .radio,table.wc_gateways .status,table.wc_shipping .default,table.wc_shipping .radio,table.wc_shipping .status{text-align:center}table.wc_gateways .default .tips,table.wc_gateways .radio .tips,table.wc_gateways .status .tips,table.wc_shipping .default .tips,table.wc_shipping .radio .tips,table.wc_shipping .status .tips{margin:0 auto}table.wc_gateways .default input,table.wc_gateways .radio input,table.wc_gateways .status input,table.wc_shipping .default input,table.wc_shipping .radio input,table.wc_shipping .status input{margin:0}img.help_tip{vertical-align:middle;margin:0 0 0 9px}.postbox img.help_tip{margin-top:-4px}.status-disabled,.status-enabled{font-size:1.4em;display:block;text-indent:-9999px;position:relative;height:1em;width:1em}.status-enabled:before{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"\e015";color:#ad74a2}.woocommerce #template div{margin:0}.woocommerce #template div p .button{float:right;margin-left:10px;margin-top:-4px}.woocommerce #template div .editor textarea{margin-bottom:8px}.woocommerce textarea[disabled=disabled]{background:#DFDFDF!important}.woocommerce table.form-table,.woocommerce table.form-table .forminp-radio ul{margin:0}.woocommerce table.form-table .forminp-radio ul li{line-height:1.4em}.woocommerce table.form-table textarea.input-text{height:100%;min-width:150px;display:block}.woocommerce table.form-table input.regular-input{width:25em}.woocommerce table.form-table textarea.wide-input{width:100%}.woocommerce table.form-table img.help_tip{padding:0;margin:-4px 0 0 5px;vertical-align:middle;cursor:help;line-height:1}.woocommerce table.form-table span.help_tip{cursor:help;color:#2ea2cc}.woocommerce table.form-table th{position:relative;padding-right:24px}.woocommerce table.form-table .chosen-container{vertical-align:top;margin-bottom:3px}.woocommerce table.form-table table.widefat th{padding-right:inherit}.woocommerce table.form-table th img.help_tip{margin:0 -24px 0 0;float:right}.woocommerce table.form-table fieldset{margin-top:4px}.woocommerce table.form-table fieldset img.help_tip{margin:-3px 0 0 5px}.woocommerce table.form-table fieldset p.description{margin-bottom:8px}.woocommerce table.form-table fieldset:first-child{margin-top:0}.woocommerce table.form-table .color_box{border:1px solid #ccc;box-shadow:1px 1px 3px rgba(0,0,0,.2);-webkit-box-shadow:1px 1px 3px rgba(0,0,0,.2);-moz-box-shadow:1px 1px 3px rgba(0,0,0,.2);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;padding:4px 6px;float:left;width:90px;margin:0 10px 0 0}.woocommerce table.form-table .color_box strong{text-align:left;display:block;padding:0 0 2px;font-size:.92em}.woocommerce table.form-table .color_box strong img{float:right;margin:1px 0 0}.woocommerce table.form-table .color_box input.colorpick{width:100%;margin:0;font-family:monospace;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.woocommerce table.form-table .color_box .iris-picker{margin:15px 0 0 -7px}.woocommerce table.form-table .color_box_clear{display:block;clear:both;padding-bottom:10px}.woocommerce table.form-table .iris-picker{z-index:100;position:absolute;display:none;border:1px solid #ccc;box-shadow:1px 1px 3px rgba(0,0,0,.2);-webkit-box-shadow:1px 1px 3px rgba(0,0,0,.2);-moz-box-shadow:1px 1px 3px rgba(0,0,0,.2);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.woocommerce table.form-table .iris-picker .ui-slider{border:0!important;background:none transparent!important;margin:0!important;width:auto!important;height:auto!important}.woocommerce table.form-table .iris-picker .ui-slider .ui-slider-handle{margin-bottom:0!important}.woocommerce table.form-table .image_width_settings{vertical-align:middle}.woocommerce table.form-table .image_width_settings label{margin-left:10px}.woocommerce #tabs-wrap table a.remove{margin-left:4px}.woocommerce #tabs-wrap table p{margin:0 0 4px!important;overflow:hidden;zoom:1}.woocommerce #tabs-wrap table p a.add{float:left}#wp-excerpt-editor-container{background:#fff}#product_variation-parent #parent_id{width:100%}#postimagediv img{border:1px solid #d5d5d5;max-width:100%}#woocommerce-product-images .inside{margin:0;padding:0}#woocommerce-product-images .inside .add_product_images{padding:0 12px 12px}#woocommerce-product-images .inside #product_images_container{padding:0 0 0 9px}#woocommerce-product-images .inside #product_images_container ul{*zoom:1;margin:0;padding:0}#woocommerce-product-images .inside #product_images_container ul:after,#woocommerce-product-images .inside #product_images_container ul:before{content:" ";display:table}#woocommerce-product-images .inside #product_images_container ul:after{clear:both}#woocommerce-product-images .inside #product_images_container ul li.add,#woocommerce-product-images .inside #product_images_container ul li.image,#woocommerce-product-images .inside #product_images_container ul li.wc-metabox-sortable-placeholder{width:80px;float:left;cursor:move;border:1px solid #d5d5d5;margin:9px 9px 0 0;background:#f7f7f7;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#woocommerce-product-images .inside #product_images_container ul li.add img,#woocommerce-product-images .inside #product_images_container ul li.image img,#woocommerce-product-images .inside #product_images_container ul li.wc-metabox-sortable-placeholder img{width:100%;height:auto;display:block}#woocommerce-product-images .inside #product_images_container ul li.wc-metabox-sortable-placeholder{border:3px dashed #ddd;position:relative}#woocommerce-product-images .inside #product_images_container ul li.wc-metabox-sortable-placeholder:after{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"\e00c";font-size:2.618em;line-height:72px;color:#ddd}#woocommerce-product-images .inside #product_images_container ul ul.actions{position:absolute;top:-8px;right:-8px;padding:2px;display:none}#woocommerce-product-images .inside #product_images_container ul ul.actions li{float:right;margin:0 0 0 2px}#woocommerce-product-images .inside #product_images_container ul ul.actions li a{width:1em;margin:0;height:0;display:block;overflow:hidden}#woocommerce-product-images .inside #product_images_container ul ul.actions li a.tips{cursor:pointer}#woocommerce-product-images .inside #product_images_container ul ul.actions li a.view{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;font-size:1.4em}#woocommerce-product-images .inside #product_images_container ul ul.actions li a.view:before{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"\e00c";background-color:#000;color:#fff}#woocommerce-product-images .inside #product_images_container ul ul.actions li a.delete{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;font-size:1.4em}#woocommerce-product-images .inside #product_images_container ul ul.actions li a.delete:before{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"\e013";color:#fff;background-color:#000;-webkit-border-radius:100%;border-radius:100%;box-shadow:0 1px 2px rgba(0,0,0,.2)}#woocommerce-product-images .inside #product_images_container ul ul.actions li a.delete:hover:before{background-color:#a00}#woocommerce-product-images .inside #product_images_container ul li:hover ul.actions{display:block}#woocommerce-product-data h3.hndle{padding:10px}#woocommerce-product-data h3.hndle span{display:block;vertical-align:middle;line-height:24px}#woocommerce-product-data h3.hndle span span{display:inline;line-height:inherit;vertical-align:baseline}#woocommerce-product-data h3.hndle label{padding-right:1em;font-size:12px;vertical-align:baseline}#woocommerce-product-data h3.hndle label:first-child{margin-right:1em;border-right:1px solid #dfdfdf}#woocommerce-product-data h3.hndle input,#woocommerce-product-data h3.hndle select{margin:-3px 0 0 .5em;vertical-align:middle}#woocommerce-product-data>.handlediv{margin-top:4px}#woocommerce-product-data .wrap{margin:0}#woocommerce-coupon-description{padding:3px 8px;font-size:1.7em;line-height:1.42em;height:auto;width:100%;outline:0;margin:10px 0;display:block}#woocommerce-coupon-description::-webkit-input-placeholder{line-height:1.42em;color:#bbb}#woocommerce-coupon-description::-moz-placeholder{line-height:1.42em;color:#bbb}#woocommerce-coupon-description:-ms-input-placeholder{line-height:1.42em;color:#bbb}#woocommerce-coupon-description:-moz-placeholder{line-height:1.42em;color:#bbb}#woocommerce-coupon-data .panel-wrap,#woocommerce-product-data .panel-wrap{background:#fff;padding-left:153px}#woocommerce-coupon-data .wc-metaboxes-wrapper,#woocommerce-coupon-data .woocommerce_options_panel,#woocommerce-product-data .wc-metaboxes-wrapper,#woocommerce-product-data .woocommerce_options_panel{float:right;width:100%}#woocommerce-coupon-data .wc-metaboxes-wrapper .wc-metaboxes,#woocommerce-coupon-data .wc-metaboxes-wrapper p.toolbar,#woocommerce-coupon-data .woocommerce_options_panel .wc-metaboxes,#woocommerce-coupon-data .woocommerce_options_panel p.toolbar,#woocommerce-product-data .wc-metaboxes-wrapper .wc-metaboxes,#woocommerce-product-data .wc-metaboxes-wrapper p.toolbar,#woocommerce-product-data .woocommerce_options_panel .wc-metaboxes,#woocommerce-product-data .woocommerce_options_panel p.toolbar{padding-left:12px!important;padding-right:20px!important}#woocommerce-coupon-data .wc-metaboxes-wrapper .wc-radios,#woocommerce-coupon-data .woocommerce_options_panel .wc-radios,#woocommerce-product-data .wc-metaboxes-wrapper .wc-radios,#woocommerce-product-data .woocommerce_options_panel .wc-radios{display:block;float:left;margin:0}#woocommerce-coupon-data .wc-metaboxes-wrapper .wc-radios li,#woocommerce-coupon-data .woocommerce_options_panel .wc-radios li,#woocommerce-product-data .wc-metaboxes-wrapper .wc-radios li,#woocommerce-product-data .woocommerce_options_panel .wc-radios li{display:block;padding:0 0 10px}#woocommerce-coupon-data .wc-metaboxes-wrapper .wc-radios li input,#woocommerce-coupon-data .woocommerce_options_panel .wc-radios li input,#woocommerce-product-data .wc-metaboxes-wrapper .wc-radios li input,#woocommerce-product-data .woocommerce_options_panel .wc-radios li input{width:auto}#woocommerce-coupon-data .wc-tabs-back,#woocommerce-product-data .wc-tabs-back{position:absolute;top:0;left:0;bottom:0;background:#f5f5f5;width:145px;border-right:1px solid #DFDFDF}#woocommerce-coupon-data ul.wc-tabs,#woocommerce-product-data ul.wc-tabs,.woocommerce ul.wc-tabs{background:#f5f5f5;line-height:1em;float:left;width:145px;margin:0;position:relative;padding:0 0 10px;margin-left:-153px}#woocommerce-coupon-data ul.wc-tabs li,#woocommerce-product-data ul.wc-tabs li,.woocommerce ul.wc-tabs li{display:block;padding:0;margin:0}#woocommerce-coupon-data ul.wc-tabs li a,#woocommerce-product-data ul.wc-tabs li a,.woocommerce ul.wc-tabs li a{padding:10px;line-height:18px!important;margin:0;display:block;background:#f5f5f5;text-decoration:none;border-bottom:1px solid #f5f5f5;border-top:1px solid #eaeaea}#woocommerce-coupon-data ul.wc-tabs li a:before,#woocommerce-product-data ul.wc-tabs li a:before,.woocommerce ul.wc-tabs li a:before{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin-right:7px;content:"\e028"}#woocommerce-coupon-data ul.wc-tabs li:first-child a,#woocommerce-product-data ul.wc-tabs li:first-child a,.woocommerce ul.wc-tabs li:first-child a{border-top:0!important}#woocommerce-coupon-data ul.wc-tabs li.general_options a:before,#woocommerce-product-data ul.wc-tabs li.general_options a:before,.woocommerce ul.wc-tabs li.general_options a:before{content:"\e006"}#woocommerce-coupon-data ul.wc-tabs li.inventory_options a:before,#woocommerce-product-data ul.wc-tabs li.inventory_options a:before,.woocommerce ul.wc-tabs li.inventory_options a:before{content:"\e02c"}#woocommerce-coupon-data ul.wc-tabs li.shipping_options a:before,#woocommerce-product-data ul.wc-tabs li.shipping_options a:before,.woocommerce ul.wc-tabs li.shipping_options a:before{content:"\e01a"}#woocommerce-coupon-data ul.wc-tabs li.linked_product_options a:before,#woocommerce-product-data ul.wc-tabs li.linked_product_options a:before,.woocommerce ul.wc-tabs li.linked_product_options a:before{content:"\e00d"}#woocommerce-coupon-data ul.wc-tabs li.attribute_options a:before,#woocommerce-product-data ul.wc-tabs li.attribute_options a:before,.woocommerce ul.wc-tabs li.attribute_options a:before{content:"\e02b"}#woocommerce-coupon-data ul.wc-tabs li.advanced_options a:before,#woocommerce-product-data ul.wc-tabs li.advanced_options a:before,.woocommerce ul.wc-tabs li.advanced_options a:before{content:"\e01c"}#woocommerce-coupon-data ul.wc-tabs li.variation_options a:before,#woocommerce-product-data ul.wc-tabs li.variation_options a:before,.woocommerce ul.wc-tabs li.variation_options a:before{content:"\e003"}#woocommerce-coupon-data ul.wc-tabs li.usage_restriction_options a:before,#woocommerce-product-data ul.wc-tabs li.usage_restriction_options a:before,.woocommerce ul.wc-tabs li.usage_restriction_options a:before{content:"\e602"}#woocommerce-coupon-data ul.wc-tabs li.usage_limit_options a:before,#woocommerce-product-data ul.wc-tabs li.usage_limit_options a:before,.woocommerce ul.wc-tabs li.usage_limit_options a:before{content:"\e601"}#woocommerce-coupon-data ul.wc-tabs li.general_coupon_data a:before,#woocommerce-product-data ul.wc-tabs li.general_coupon_data a:before,.woocommerce ul.wc-tabs li.general_coupon_data a:before{content:"\e600"}#woocommerce-coupon-data ul.wc-tabs li.active a,#woocommerce-product-data ul.wc-tabs li.active a,.woocommerce ul.wc-tabs li.active a{border-color:#DFDFDF;position:relative;background-color:#fff;color:#555;margin:0 -1px 0 0}.woocommerce_page_wc-settings .shippingrows th.check-column{padding-top:20px}.woocommerce_page_wc-settings .shippingrows tfoot th{padding-left:10px}.woocommerce_page_wc-settings .shippingrows .add.button:before{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin-right:7px;content:"\e007"}@media only screen and (max-width:900px){#woocommerce-coupon-data .panel-wrap,#woocommerce-product-data .panel-wrap{padding-left:35px}#woocommerce-coupon-data .wc-tabs-back,#woocommerce-product-data .wc-tabs-back{position:absolute;top:0;left:0;bottom:0;width:28px;border-right:1px solid #DFDFDF}#woocommerce-product-data ul.product_data_tabs,.woocommerce ul.wc-tabs{width:28px;margin-left:-35px}#woocommerce-product-data ul.product_data_tabs li a,.woocommerce ul.wc-tabs li a{overflow:hidden;white-space:nowrap}}#woocommerce-coupon-data .inside,#woocommerce-order-data .inside,#woocommerce-order-downloads .inside,#woocommerce-product-data .inside,#woocommerce-product-type-options .inside{padding:0;margin:0}.panel,.woocommerce_options_panel{padding:9px;color:#555}.panel,.woocommerce_page_settings .woocommerce_options_panel{padding:0}#woocommerce-product-specs .inside,#woocommerce-product-type-options .panel{padding:9px;margin:0}#woocommerce-product-type-options .panel p,.woocommerce_options_panel fieldset.form-field,.woocommerce_options_panel p{margin:0 0 9px;font-size:12px;padding:5px 9px;line-height:24px}#woocommerce-product-type-options .panel p:after,.woocommerce_options_panel fieldset.form-field:after,.woocommerce_options_panel p:after{content:".";display:block;height:0;clear:both;visibility:hidden}.woocommerce_options_panel .checkbox,table.woocommerce_variable_attributes .checkbox{width:auto;vertical-align:middle;margin:7px 0}.woocommerce_options_panel .downloadable_files table,.woocommerce_variations .downloadable_files table{width:100%;padding:0!important}.woocommerce_options_panel .downloadable_files table th,.woocommerce_variations .downloadable_files table th{padding:7px 0 7px 7px}.woocommerce_options_panel .downloadable_files table td,.woocommerce_variations .downloadable_files table td{vertical-align:middle!important;padding:4px 0 4px 7px;position:relative}.woocommerce_options_panel .downloadable_files table td:last-child,.woocommerce_variations .downloadable_files table td:last-child{padding-right:7px}.woocommerce_options_panel .downloadable_files table td input.input_text,.woocommerce_variations .downloadable_files table td input.input_text{width:100%;float:none;margin:1px 0}.woocommerce_options_panel .downloadable_files table td .upload_file_button,.woocommerce_variations .downloadable_files table td .upload_file_button{float:right;width:auto;cursor:pointer}.woocommerce_options_panel .downloadable_files table td .delete,.woocommerce_variations .downloadable_files table td .delete{display:block;text-indent:-9999px;position:relative;height:1em;width:1em}.woocommerce_options_panel .downloadable_files table td .delete:before,.woocommerce_variations .downloadable_files table td .delete:before{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"\e001";content:"\e013";color:#999}.woocommerce_options_panel .downloadable_files table td .delete:hover:before,.woocommerce_variations .downloadable_files table td .delete:hover:before{color:#a00}.woocommerce_options_panel .downloadable_files table th.sort,.woocommerce_variations .downloadable_files table th.sort{width:17px;padding:0}.woocommerce_options_panel .downloadable_files table td.sort,.woocommerce_variations .downloadable_files table td.sort{padding:0 8px;cursor:move;background:#f9f9f9;text-align:center;vertical-align:middle}.woocommerce_options_panel .downloadable_files table td.sort:before,.woocommerce_variations .downloadable_files table td.sort:before{content:"\e032";font-family:WooCommerce;text-align:center;line-height:1;color:#999;display:block;width:17px;float:left;height:100%}.woocommerce_options_panel .downloadable_files table td.sort:hover:before,.woocommerce_variations .downloadable_files table td.sort:hover:before{color:#333}.woocommerce_options_panel .downloadable_files{padding:0 9px 0 162px;position:relative;margin:9px 0}.woocommerce_options_panel .downloadable_files label{position:absolute;left:0;margin:0 0 0 12px;line-height:24px}.woocommerce_options_panel p{margin:9px 0}.woocommerce_options_panel fieldset.form-field,.woocommerce_options_panel p.form-field{padding:5px 20px 5px 162px!important}.woocommerce_options_panel label,.woocommerce_options_panel legend{float:left;width:150px;padding:0;margin:0 0 0 -150px}.woocommerce_options_panel label .req,.woocommerce_options_panel legend .req{font-weight:700;font-style:normal;color:#a00}.woocommerce_options_panel .description{padding:0;margin:0 0 0 7px}.woocommerce_options_panel .description-block{margin-left:0;display:block}.woocommerce_options_panel input,.woocommerce_options_panel select,.woocommerce_options_panel textarea{margin:0}.woocommerce_options_panel textarea{vertical-align:top;height:3.5em;line-height:1.5em}.woocommerce_options_panel input[type=email],.woocommerce_options_panel input[type=number],.woocommerce_options_panel input[type=text]{width:50%;float:left}.woocommerce_options_panel input.button{width:auto;margin-left:8px}.woocommerce_options_panel select{float:left}.woocommerce_options_panel .short,.woocommerce_options_panel input[type=email].short,.woocommerce_options_panel input[type=number].short,.woocommerce_options_panel input[type=text].short{width:25%}.woocommerce_options_panel .sized{width:auto!important;margin-right:6px}.woocommerce_options_panel .options_group{border-top:1px solid #fff;border-bottom:1px solid #DFDFDF}.woocommerce_options_panel .options_group:first-child{border-top:0}.woocommerce_options_panel .options_group:last-child{border-bottom:0}.woocommerce_options_panel .options_group fieldset{margin:9px 0;font-size:12px;padding:5px 9px;line-height:24px}.woocommerce_options_panel .options_group fieldset label{width:auto;float:none}.woocommerce_options_panel .options_group fieldset ul{float:left;width:50%;margin:0;padding:0}.woocommerce_options_panel .options_group fieldset ul li{margin:0;width:auto}.woocommerce_options_panel .options_group fieldset ul li input{width:auto;float:none;margin-right:4px}.woocommerce_options_panel .options_group fieldset ul.wc-radios label{margin-left:0}.woocommerce_options_panel .dimensions_field .wrap input{margin-right:.2%;width:8.2%}.woocommerce_options_panel .dimensions_field .wrap .last{margin-right:0}#woocommerce-product-data input.dp-applied{float:left}#grouped_product_options,#simple_product_options,#virtual_product_options{padding:12px;font-style:italic;color:#666}.wc-metaboxes-wrapper .toolbar{margin:0!important;border-top:1px solid #fff;border-bottom:1px solid #DFDFDF;padding:9px 12px!important}.wc-metaboxes-wrapper .toolbar:first-child{border-top:0}.wc-metaboxes-wrapper .toolbar:last-child{border-bottom:0}.wc-metaboxes-wrapper .toolbar .add_variation,.wc-metaboxes-wrapper .toolbar .link_all_variations{float:right;margin-left:5px}.wc-metaboxes-wrapper p.toolbar{overflow:hidden;zoom:1}.wc-metaboxes-wrapper .fr,.wc-metaboxes-wrapper button.add_attribute,.wc-metaboxes-wrapper button.add_variable_attribute,.wc-metaboxes-wrapper select.attribute_taxonomy{float:right;margin:0 0 0 6px}.wc-metaboxes-wrapper .wc-metaboxes{border-bottom:1px solid #DFDFDF;padding:0 12px}.wc-metaboxes-wrapper .wc-metabox-sortable-placeholder{border-color:#bbb;background-color:#f5f5f5;margin-bottom:9px;border-width:1px;border-style:dashed}.wc-metaboxes-wrapper .wc-metabox{background:#fff;border:1px solid #dfdfdf;margin:9px 0!important;-moz-border-radius-topleft:3px;-moz-border-radius-topright:3px;-webkit-border-top-left-radius:3px;-webkit-border-top-right-radius:3px;border-top-left-radius:3px;border-top-right-radius:3px}.wc-metaboxes-wrapper .wc-metabox .handlediv:before{line-height:.5!important}.wc-metaboxes-wrapper .wc-metabox.closed{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.wc-metaboxes-wrapper .wc-metabox.closed .handlediv:before{content:"\f140"!important}.wc-metaboxes-wrapper .wc-metabox.closed h3{border:0}.wc-metaboxes-wrapper .wc-metabox h3{margin:0!important;padding:6px!important;font-size:1em!important;overflow:hidden;zoom:1;cursor:move}.wc-metaboxes-wrapper .wc-metabox h3 button{float:right}.wc-metaboxes-wrapper .wc-metabox h3 strong{font-weight:400;line-height:24px}.wc-metaboxes-wrapper .wc-metabox h3 select{font-family:sans-serif}.wc-metaboxes-wrapper .wc-metabox h3 .handlediv{background-position:6px 5px!important;display:none;height:24px}.wc-metaboxes-wrapper .wc-metabox h3.fixed{cursor:pointer!important}.wc-metaboxes-wrapper .wc-metabox h3:hover .handlediv{display:block}.wc-metaboxes-wrapper .wc-metabox table{width:100%;position:relative;background:#fff;padding:3px}.wc-metaboxes-wrapper .wc-metabox table td{text-align:left;padding:6px;vertical-align:top;border:0}.wc-metaboxes-wrapper .wc-metabox table td label{text-align:left;display:block;line-height:21px}.wc-metaboxes-wrapper .wc-metabox table td input{float:left;min-width:200px}.wc-metaboxes-wrapper .wc-metabox table td input,.wc-metaboxes-wrapper .wc-metabox table td textarea{width:100%;margin:0;display:block;font-size:14px;padding:4px;color:#555}.wc-metaboxes-wrapper .wc-metabox table td .chosen-container,.wc-metaboxes-wrapper .wc-metabox table td select{width:100%!important}.wc-metaboxes-wrapper .wc-metabox table td input.short{width:200px}.wc-metaboxes-wrapper .wc-metabox table td input.checkbox{width:16px;min-width:inherit;vertical-align:text-bottom;display:inline-block;float:none}.wc-metaboxes-wrapper .wc-metabox table td.attribute_name{width:200px}.wc-metaboxes-wrapper .wc-metabox table .minus,.wc-metaboxes-wrapper .wc-metabox table .plus{margin-top:6px}.wc-metaboxes-wrapper .wc-metabox table .fl{float:left}.wc-metaboxes-wrapper .wc-metabox table .fr{float:right}.wc-metaboxes-wrapper .close_all,.wc-metaboxes-wrapper .expand_all{float:right;margin-left:14px;line-height:22px;text-decoration:none}.wc-metaboxes-wrapper .close_all:before,.wc-metaboxes-wrapper .expand_all:before{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin-right:7px;content:"\e036";font-size:.8em;color:#999}.wc-metaboxes-wrapper .expand_all:before{content:"\e035"}#variable_product_options .woocommerce_variation table{background:#fafafa;border-top:1px solid #eee;padding:6px}#variable_product_options .woocommerce_variation table td input{min-width:inherit!important}#variable_product_options .woocommerce_variation table td.dimensions_field input{width:32%;margin-right:2%}#variable_product_options .woocommerce_variation table td.dimensions_field .last{margin-right:0}#variable_product_options .woocommerce_variation table td.options{width:150px}#variable_product_options .woocommerce_variation table td.options label{margin-bottom:6px}#variable_product_options .woocommerce_variation table td.data{padding:0 0 0 12px}#variable_product_options .woocommerce_variation table td.data table.data_table{width:100%;padding:0 12px 6px;background:#fff;border:1px solid #dfdfdf;-moz-border-radius:3px;-webkit-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#variable_product_options .woocommerce_variation table td.data table.data_table td{width:50%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#variable_product_options .woocommerce_variation table td.data table.data_table:before{content:"";display:block;position:absolute;top:33px;left:0;margin:0 0 0 -1px;border:7px solid #dfdfdf;border-color:transparent transparent transparent #dfdfdf}#variable_product_options .woocommerce_variation table td.data table.data_table:after{content:"";display:block;position:absolute;top:34px;left:0;margin:0 0 0 -1px;border:6px solid #fafafa;border-color:transparent transparent transparent #fafafa}#variable_product_options .woocommerce_variation table td.upload_image{white-space:nowrap;width:75px}#variable_product_options .woocommerce_variation table td.upload_image img{float:none;width:73px;border:1px solid #dfdfdf}#variable_product_options .woocommerce_variation table td.upload_image .button{margin:0;padding:4px 10px;width:auto;float:none;vertical-align:middle}#variable_product_options .woocommerce_variation table td.upload_image .upload_image_button{display:block;position:relative}#variable_product_options .woocommerce_variation table td.upload_image .upload_image_button .overlay{display:none;width:75px;height:75px;position:absolute;top:0;left:0;margin:0;padding:0;opacity:.5;background:#eee url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAXklEQVQYGW2OUQrAMAhDFy8+dnKnwiuh2I+aJulDZebDkfSie1b28Q7EXWrfvSm60RQnkQUC8ja7owpmL6d4GdDZ0cNNHyIhZEj4QYCxze6orsluAh8AnR0xKPR07weXJi8JGd3qqwAAAABJRU5ErkJggg==) no-repeat center center}#variable_product_options .woocommerce_variation table td.upload_image .upload_image_button:hover .overlay{display:block}#variable_product_options .woocommerce_variation table td.upload_image .upload_image_button.remove .overlay{background:#eee url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAWElEQVQYGY2OUQ6AMAxCZdm9jSev65K3YKNm+6EFBlVEHDxJJ3Pi0C72xlBNyTs3jU7wEUTTIB51GCp2CL8HLpHEdaOLb/N2dfuq9NT0zOo/M9q6EaImsd/uViMLVuD4KAAAAABJRU5ErkJggg==) no-repeat center center}#variable_product_options .woocommerce_variation table .cancel_sale_schedule,#variable_product_options .woocommerce_variation table .sale_schedule{float:right}#variable_product_options .woocommerce_variation table tr.sale_price_dates_fields td{padding-right:24px;position:relative}#variable_product_options .woocommerce_variation table tr.sale_price_dates_fields td img{position:absolute;right:0;bottom:0;padding:5px 0;margin:0 0 6px}.tips{cursor:help;text-decoration:none}img.tips{padding:5px 0 0}#tiptip_holder{display:none;position:absolute;top:0;left:0;z-index:99999}#tiptip_holder.tip_top{padding-bottom:5px}#tiptip_holder.tip_top #tiptip_arrow_inner{margin-top:-7px;margin-left:-6px;border-top-color:#464646}#tiptip_holder.tip_bottom{padding-top:5px}#tiptip_holder.tip_bottom #tiptip_arrow_inner{margin-top:-5px;margin-left:-6px;border-bottom-color:#464646}#tiptip_holder.tip_right{padding-left:5px}#tiptip_holder.tip_right #tiptip_arrow_inner{margin-top:-6px;margin-left:-5px;border-right-color:#464646}#tiptip_holder.tip_left{padding-right:5px}#tiptip_holder.tip_left #tiptip_arrow_inner{margin-top:-6px;margin-left:-7px;border-left-color:#464646}#tiptip_content,.chart-tooltip,.wc_error_tip{font-size:11px;color:#fff;padding:.5em;background:#464646;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:1px 1px 3px rgba(0,0,0,.1);-moz-box-shadow:1px 1px 3px rgba(0,0,0,.1);box-shadow:1px 1px 3px rgba(0,0,0,.1);text-align:center;max-width:150px}#tiptip_content code,.chart-tooltip code,.wc_error_tip code{background:#888;padding:1px}#tiptip_arrow,#tiptip_arrow_inner{position:absolute;border-color:transparent;border-style:solid;border-width:6px;height:0;width:0}.wc_error_tip{background:#d82223;max-width:20em;white-space:normal;position:absolute;margin:1.5em 1px 0 -1em;z-index:9999999}.wc_error_tip:after{content:"";display:block;border:8px solid #d82223;border-right-color:transparent;border-left-color:transparent;border-top-color:transparent;position:absolute;top:-3px;left:50%;margin:-1em 0 0 -3px}img.ui-datepicker-trigger{vertical-align:middle;margin-top:-1px;cursor:pointer}.wc-metabox-content img.ui-datepicker-trigger,.woocommerce_options_panel img.ui-datepicker-trigger{float:left;margin-right:8px;margin-top:4px;margin-left:4px}#ui-datepicker-div{display:none}.woocommerce-reports-wide.woocommerce-reports-wrap,.woocommerce-reports-wrap.woocommerce-reports-wrap{margin-left:300px;padding-top:18px}.woocommerce-reports-wide.halved,.woocommerce-reports-wrap.halved{margin:0;overflow:hidden;zoom:1}.woocommerce-reports-wide .widefat td,.woocommerce-reports-wrap .widefat td{vertical-align:top;padding:7px}.woocommerce-reports-wide .widefat td .description,.woocommerce-reports-wrap .widefat td .description{margin:4px 0 0}.woocommerce-reports-wide .postbox:after,.woocommerce-reports-wrap .postbox:after{content:".";display:block;height:0;clear:both;visibility:hidden}.woocommerce-reports-wide .postbox h3,.woocommerce-reports-wrap .postbox h3{cursor:default!important}.woocommerce-reports-wide .postbox .inside,.woocommerce-reports-wrap .postbox .inside{padding:10px;margin:0!important}.woocommerce-reports-wide .postbox h3.stats_range,.woocommerce-reports-wrap .postbox h3.stats_range{padding:0!important;border-bottom-color:#dfdfdf}.woocommerce-reports-wide .postbox h3.stats_range .export_csv,.woocommerce-reports-wrap .postbox h3.stats_range .export_csv{float:right;line-height:26px;border-left:1px solid #dfdfdf;padding:10px;display:block;text-decoration:none}.woocommerce-reports-wide .postbox h3.stats_range .export_csv:before,.woocommerce-reports-wrap .postbox h3.stats_range .export_csv:before{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;content:"\e00a";margin-right:4px}.woocommerce-reports-wide .postbox h3.stats_range ul,.woocommerce-reports-wrap .postbox h3.stats_range ul{list-style:none outside;margin:0;padding:0;zoom:1;background:#f5f5f5}.woocommerce-reports-wide .postbox h3.stats_range ul:after,.woocommerce-reports-wide .postbox h3.stats_range ul:before,.woocommerce-reports-wrap .postbox h3.stats_range ul:after,.woocommerce-reports-wrap .postbox h3.stats_range ul:before{content:" ";display:table}.woocommerce-reports-wide .postbox h3.stats_range ul:after,.woocommerce-reports-wrap .postbox h3.stats_range ul:after{clear:both}.woocommerce-reports-wide .postbox h3.stats_range ul li,.woocommerce-reports-wrap .postbox h3.stats_range ul li{float:left;margin:0;padding:0;line-height:26px}.woocommerce-reports-wide .postbox h3.stats_range ul li a,.woocommerce-reports-wrap .postbox h3.stats_range ul li a{border-right:1px solid #dfdfdf;padding:10px;display:block;text-decoration:none}.woocommerce-reports-wide .postbox h3.stats_range ul li.active,.woocommerce-reports-wrap .postbox h3.stats_range ul li.active{background:#fff;-webkit-box-shadow:0 4px 0 0 #fff;box-shadow:0 4px 0 0 #fff}.woocommerce-reports-wide .postbox h3.stats_range ul li.active a,.woocommerce-reports-wrap .postbox h3.stats_range ul li.active a{color:#777}.woocommerce-reports-wide .postbox h3.stats_range ul li.custom,.woocommerce-reports-wrap .postbox h3.stats_range ul li.custom{padding:9px 10px;vertical-align:middle}.woocommerce-reports-wide .postbox h3.stats_range ul li.custom div,.woocommerce-reports-wide .postbox h3.stats_range ul li.custom form,.woocommerce-reports-wrap .postbox h3.stats_range ul li.custom div,.woocommerce-reports-wrap .postbox h3.stats_range ul li.custom form{display:inline;margin:0}.woocommerce-reports-wide .postbox h3.stats_range ul li.custom div input.range_datepicker,.woocommerce-reports-wide .postbox h3.stats_range ul li.custom form input.range_datepicker,.woocommerce-reports-wrap .postbox h3.stats_range ul li.custom div input.range_datepicker,.woocommerce-reports-wrap .postbox h3.stats_range ul li.custom form input.range_datepicker{padding:0;margin:0 10px 0 0;background:0 0;border:0;color:#777;text-align:center;-webkit-box-shadow:none;box-shadow:none}.woocommerce-reports-wide .postbox .chart-with-sidebar,.woocommerce-reports-wrap .postbox .chart-with-sidebar{padding:12px 12px 12px 249px;margin:0!important}.woocommerce-reports-wide .postbox .chart-with-sidebar .chart-sidebar,.woocommerce-reports-wrap .postbox .chart-with-sidebar .chart-sidebar{width:225px;margin-left:-237px;float:left}.woocommerce-reports-wide .postbox .chart-widgets,.woocommerce-reports-wrap .postbox .chart-widgets{margin:0;padding:0}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget{margin:0 0 1em;background:#fafafa;border:1px solid #dfdfdf}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget:after,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget:after{content:".";display:block;height:0;clear:both;visibility:hidden}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget h4,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget h4{background:#fff;border:1px solid #dfdfdf;border-left-width:0;border-right-width:0;padding:10px;margin:0;color:#2ea2cc;border-top-width:0;background-image:-webkit-gradient(linear,left bottom,left top,from(#ececec),to(#f9f9f9));background-image:-webkit-linear-gradient(bottom,#ececec,#f9f9f9);background-image:-moz-linear-gradient(bottom,#ececec,#f9f9f9);background-image:-o-linear-gradient(bottom,#ececec,#f9f9f9);background-image:linear-gradient(to top,#ececec,#f9f9f9)}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget h4.section_title:hover,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget h4.section_title:hover{color:#a00}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .section_title,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .section_title{cursor:pointer}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .section_title span,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .section_title span{display:block}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .section_title span:after,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .section_title span:after{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin-left:7px;content:"\e035";float:right;font-size:.9em;line-height:1.618}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .section_title.open,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .section_title.open{color:#333}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .section_title.open span:after,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .section_title.open span:after{display:none}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .section,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .section{border-bottom:1px solid #dfdfdf}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .section .chosen-container,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .section .chosen-container{width:100%!important}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .section:last-of-type,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .section:last-of-type{border-radius:0 0 3px 3px}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table{width:100%}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table td,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table td{padding:7px 10px;vertical-align:top;border-top:1px solid #e5e5e5;line-height:1.4em}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table tr:first-child td,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table tr:first-child td{border-top:0}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table td.count,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table td.count{background:#f5f5f5}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table td.name,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table td.name{padding-right:0}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table td.sparkline,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table td.sparkline{vertical-align:middle}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table .wc_sparkline,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table .wc_sparkline{width:32px;height:1em;display:block;float:right}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table tr.active td,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table tr.active td{background:#f5f5f5}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget form,.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget p,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget form,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget p{margin:0;padding:10px}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget form .submit,.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget p .submit,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget form .submit,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget p .submit{margin-top:10px}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget #product_ids,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget #product_ids{width:100%}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .select_all,.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .select_none,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .select_all,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .select_none{float:right;color:#999;margin-left:4px;margin-top:10px}.woocommerce-reports-wide .postbox .chart-legend,.woocommerce-reports-wrap .postbox .chart-legend{list-style:none outside;margin:0 0 1em;padding:0;border:1px solid #dfdfdf;border-right-width:0;border-bottom-width:0;background:#fff}.woocommerce-reports-wide .postbox .chart-legend li,.woocommerce-reports-wrap .postbox .chart-legend li{border-right:5px solid #aaa;color:#aaa;padding:1em;display:block;margin:0;-webkit-transition:all ease .5s;box-shadow:inset 0 -1px 0 0 #dfdfdf}.woocommerce-reports-wide .postbox .chart-legend li strong,.woocommerce-reports-wrap .postbox .chart-legend li strong{font-size:1.618em;line-height:1.2em;color:#464646;font-weight:400;display:block;font-family:HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",sans-serif}.woocommerce-reports-wide .postbox .chart-legend li:hover,.woocommerce-reports-wrap .postbox .chart-legend li:hover{box-shadow:inset 0 -1px 0 0 #dfdfdf,inset 300px 0 0 rgba(156,93,144,.1);border-right:5px solid #9c5d90!important;padding-left:1.5em;color:#9c5d90}.woocommerce-reports-wide .postbox .pie-chart-legend,.woocommerce-reports-wrap .postbox .pie-chart-legend{margin:12px 0 0;overflow:hidden}.woocommerce-reports-wide .postbox .pie-chart-legend li,.woocommerce-reports-wrap .postbox .pie-chart-legend li{float:left;margin:0;padding:6px 0 0;border-top:4px solid #999;text-align:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:50%}.woocommerce-reports-wide .postbox .stat,.woocommerce-reports-wrap .postbox .stat{font-size:1.5em!important;font-weight:700;text-align:center}.woocommerce-reports-wide .postbox .chart-placeholder,.woocommerce-reports-wrap .postbox .chart-placeholder{width:100%;height:650px;overflow:hidden;position:relative}.woocommerce-reports-wide .postbox .chart-prompt,.woocommerce-reports-wrap .postbox .chart-prompt{line-height:650px;margin:0;color:#999;font-size:1.2em;font-style:italic;text-align:center}.woocommerce-reports-wide .postbox .chart-container,.woocommerce-reports-wrap .postbox .chart-container{background:#fff;padding:12px;position:relative;border:1px solid #dfdfdf;border-radius:3px}.woocommerce-reports-wide .postbox .main .chart-legend,.woocommerce-reports-wrap .postbox .main .chart-legend{margin-top:12px}.woocommerce-reports-wide .postbox .main .chart-legend li,.woocommerce-reports-wrap .postbox .main .chart-legend li{border-right:0;margin:0 8px 0 0;float:left;border-top:4px solid #aaa}.woocommerce-reports-wide .woocommerce-reports-main,.woocommerce-reports-wrap .woocommerce-reports-main{float:left;min-width:100%}.woocommerce-reports-wide .woocommerce-reports-main table td,.woocommerce-reports-wrap .woocommerce-reports-main table td{padding:9px}.woocommerce-reports-wide .woocommerce-reports-sidebar,.woocommerce-reports-wrap .woocommerce-reports-sidebar{display:inline;width:281px;margin-left:-300px;clear:both;float:left}.woocommerce-reports-wide .woocommerce-reports-left,.woocommerce-reports-wrap .woocommerce-reports-left{width:49.5%;float:left}.woocommerce-reports-wide .woocommerce-reports-right,.woocommerce-reports-wrap .woocommerce-reports-right{width:49.5%;float:right}.woocommerce-reports-wide .column-wc_actions a.edit,.woocommerce-reports-wide .column-wc_actions a.view,.woocommerce-reports-wrap .column-wc_actions a.edit,.woocommerce-reports-wrap .column-wc_actions a.view{display:block;text-indent:-9999px;position:relative;padding:0!important;height:2em!important;width:2em}.woocommerce-reports-wide .column-wc_actions a.edit:after,.woocommerce-reports-wide .column-wc_actions a.view:after,.woocommerce-reports-wrap .column-wc_actions a.edit:after,.woocommerce-reports-wrap .column-wc_actions a.view:after{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;line-height:1.85}.woocommerce-reports-wide .column-wc_actions a.edit:after,.woocommerce-reports-wrap .column-wc_actions a.edit:after{content:"\e01c"}.woocommerce-reports-wide .column-wc_actions a.view:after,.woocommerce-reports-wrap .column-wc_actions a.view:after{content:"\e010"}.woocommerce-wide-reports-wrap{padding-bottom:11px}.woocommerce-wide-reports-wrap .widefat .export-data{float:right}.woocommerce-wide-reports-wrap .widefat td,.woocommerce-wide-reports-wrap .widefat th{vertical-align:middle;padding:7px}form.report_filters div,form.report_filters input,form.report_filters label,form.report_filters p{vertical-align:middle}.chart-tooltip{position:absolute;display:none;line-height:1}table.bar_chart{width:100%}table.bar_chart thead th{text-align:left;color:#ccc;padding:6px 0}table.bar_chart tbody th{padding:6px 0;width:25%;text-align:left!important;font-weight:400!important;border-bottom:1px solid #fee}table.bar_chart tbody td{text-align:right;line-height:24px;padding:6px 6px 6px 0;border-bottom:1px solid #fee}table.bar_chart tbody td span{color:#8a4b75;display:block}table.bar_chart tbody td span.alt{color:#47a03e;margin-top:6px}table.bar_chart tbody td.bars{position:relative;text-align:left;padding:6px 6px 6px 0;border-bottom:1px solid #fee}table.bar_chart tbody td.bars a,table.bar_chart tbody td.bars span{text-decoration:none;clear:both;background:#8a4b75;float:left;display:block;line-height:24px;height:24px;-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-khtml-border-radius:3px;border-radius:3px}table.bar_chart tbody td.bars span.alt{clear:both;background:#47a03e}table.bar_chart tbody td.bars span.alt span{margin:0;color:#c5dec2!important;text-shadow:0 1px 0 #47a03e;background:0 0}.chosen-container-single .chosen-single{margin-top:1px}.chosen-container-single .chosen-single div b{background:url(../images/chosen-sprite.png) no-repeat 0 4px!important}.chosen-container-active .chosen-single-with-drop div b{background-position:-18px 2px!important}.chosen-container-single .chosen-search input{line-height:13px;width:100%!important;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.chosen-container .chosen-drop{width:100%!important}.chosen-container-multi .chosen-choices .search-field input{height:21px!important}.woocommerce_options_panel .chosen-container-multi{width:50%!important;float:left}.woocommerce_options_panel .chosen-container-multi .search-field{min-width:50%}.woocommerce_options_panel .chosen-container-multi .search-field input{min-width:100%}@media only screen and (max-width:1280px){#order_data .order_data_column{width:48%}#order_data .order_data_column:first-child{width:100%}.woocommerce_options_panel .description{display:block;clear:both;margin-left:0}}@media only screen and (max-width:900px){#woocommerce-product-data .wc-tabs-back,#woocommerce-product-data ul.product_data_tabs{width:40px}#woocommerce-coupon-data .wc-metaboxes-wrapper,#woocommerce-coupon-data .woocommerce_options_panel,#woocommerce-product-data .wc-metaboxes-wrapper,#woocommerce-product-data .woocommerce_options_panel{width:98%}#woocommerce-product-data ul.product_data_tabs li a{position:relative;text-indent:-999px;padding:10px}#woocommerce-product-data ul.product_data_tabs li a:before{position:absolute;top:0;right:0;bottom:0;left:0;text-indent:0;text-align:center;line-height:40px;width:40px;height:40px}}@media only screen and (max-width:782px){#wp-excerpt-media-buttons a{font-size:16px;line-height:37px;height:39px;padding:0 20px 0 15px}#wp-excerpt-editor-tools{padding-top:20px;padding-right:15px;overflow:hidden;margin-bottom:-1px}#woocommerce-product-data .checkbox{width:25px}}.woocommerce-checkout .form-row .chosen-container{width:100%!important}.woocommerce-checkout .form-row .chosen-container-single .chosen-single{height:28px;line-height:29px}.woocommerce-checkout .form-row .chosen-container-single .chosen-single div b{background:url(../images/chosen-sprite.png) no-repeat 0 3px!important}.woocommerce-checkout .form-row .chosen-container-active .chosen-single-with-drop div b{background-position:-18px 4px!important}.woocommerce-checkout .form-row .chosen-container-single .chosen-search input{line-height:13px;width:100%!important;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.woocommerce-checkout .form-row .chosen-container .chosen-drop{width:100%!important;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-resolution:144dpi){.woocommerce-checkout .form-row .chosen-container-single .chosen-single div b{background-image:url(../images/chosen-sprite@2x.png)!important;background-position:0 5px!important;background-repeat:no-repeat!important;background-size:52px 37px!important}.woocommerce-checkout .form-row .chosen-container-active .chosen-single-with-drop div b{background-position:-18px 5px!important}}.chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;zoom:1;*display:inline;-webkit-user-select:none;-moz-user-select:none;user-select:none}.chosen-container .chosen-drop{position:absolute;top:100%;left:-9999px;z-index:1010;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:1px solid #aaa;border-top:0;background:#fff;box-shadow:0 4px 5px rgba(0,0,0,.15)}.chosen-container.chosen-with-drop .chosen-drop{left:0}.chosen-container a{cursor:pointer}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:26px;border:1px solid #aaa;border-radius:5px;background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#fff),color-stop(50%,#f6f6f6),color-stop(52%,#eee),color-stop(100%,#f4f4f4));background:-webkit-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background:-moz-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background:-o-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background:linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-clip:padding-box;box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:26px}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;right:26px;display:block;width:12px;height:12px;background:url(../images/chosen-sprite.png) -42px 1px no-repeat;font-size:1px}.chosen-container-single .chosen-single abbr:hover,.chosen-container-single.chosen-disabled .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;background:#fff url(../images/chosen-sprite.png) no-repeat 100% -20px;background:url(../images/chosen-sprite.png) no-repeat 100% -20px,-webkit-gradient(linear,50% 0,50% 100%,color-stop(1%,#eee),color-stop(15%,#fff));background:url(../images/chosen-sprite.png) no-repeat 100% -20px,-webkit-linear-gradient(#eee 1%,#fff 15%);background:url(../images/chosen-sprite.png) no-repeat 100% -20px,-moz-linear-gradient(#eee 1%,#fff 15%);background:url(../images/chosen-sprite.png) no-repeat 100% -20px,-o-linear-gradient(#eee 1%,#fff 15%);background:url(../images/chosen-sprite.png) no-repeat 100% -20px,linear-gradient(#eee 1%,#fff 15%);font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;left:-9999px}.chosen-container .chosen-results{position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#3875d7),color-stop(90%,#2a62bc));background-image:-webkit-linear-gradient(#3875d7 20%,#2a62bc 90%);background-image:-moz-linear-gradient(#3875d7 20%,#2a62bc 90%);background-image:-o-linear-gradient(#3875d7 20%,#2a62bc 90%);background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);color:#fff}.chosen-container .chosen-results li.no-results{display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;width:100%;height:auto!important;height:1%;border:1px solid #aaa;background-color:#fff;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(1%,#eee),color-stop(15%,#fff));background-image:-webkit-linear-gradient(#eee 1%,#fff 15%);background-image:-moz-linear-gradient(#eee 1%,#fff 15%);background-image:-o-linear-gradient(#eee 1%,#fff 15%);background-image:linear-gradient(#eee 1%,#fff 15%);cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:1px 0;padding:5px;height:15px;outline:0;border:0!important;background:transparent!important;box-shadow:none;color:#666;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-multi .chosen-choices li.search-field .default{color:#999}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 0 3px 5px;padding:3px 20px 3px 5px;border:1px solid #aaa;border-radius:3px;background-color:#e4e4e4;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),color-stop(100%,#eee));background-image:-webkit-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-moz-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-o-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-clip:padding-box;box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);color:#333;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:4px;right:3px;display:block;width:12px;height:12px;background:url(../images/chosen-sprite.png) -42px 1px no-repeat;font-size:1px}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{background-position:-42px -10px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),color-stop(100%,#eee));background-image:-webkit-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-moz-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-o-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close{background-position:-42px -10px}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;-moz-border-radius-bottomright:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;border-bottom-left-radius:0;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#eee),color-stop(80%,#fff));background-image:-webkit-linear-gradient(#eee 20%,#fff 80%);background-image:-moz-linear-gradient(#eee 20%,#fff 80%);background-image:-o-linear-gradient(#eee 20%,#fff 80%);background-image:linear-gradient(#eee 20%,#fff 80%);box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:0;background:0 0}.chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 2px}.chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#111!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close,.chosen-disabled .chosen-single{cursor:default}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl .chosen-drop,.chosen-rtl.chosen-container-single-nosearch .chosen-search{left:9999px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:0}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px;background:#fff url(../images/chosen-sprite.png) no-repeat -30px -20px;background:url(../images/chosen-sprite.png) no-repeat -30px -20px,-webkit-gradient(linear,50% 0,50% 100%,color-stop(1%,#eee),color-stop(15%,#fff));background:url(../images/chosen-sprite.png) no-repeat -30px -20px,-webkit-linear-gradient(#eee 1%,#fff 15%);background:url(../images/chosen-sprite.png) no-repeat -30px -20px,-moz-linear-gradient(#eee 1%,#fff 15%);background:url(../images/chosen-sprite.png) no-repeat -30px -20px,-o-linear-gradient(#eee 1%,#fff 15%);background:url(../images/chosen-sprite.png) no-repeat -30px -20px,linear-gradient(#eee 1%,#fff 15%);direction:rtl}.chosen-rtl.chosen-container-single .chosen-single div b{background-position:6px 2px}.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b{background-position:-12px 2px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-resolution:144dpi){.chosen-container .chosen-results-scroll-down span,.chosen-container .chosen-results-scroll-up span,.chosen-container-multi .chosen-choices .search-choice .search-choice-close,.chosen-container-single .chosen-search input[type=text],.chosen-container-single .chosen-single abbr,.chosen-container-single .chosen-single div b,.chosen-rtl .chosen-search input[type=text]{background-image:url(../images/chosen-sprite@2x.png)!important;background-size:52px 37px!important;background-repeat:no-repeat!important}}.chosen-container-single .chosen-single abbr{top:8px} woocommerce-galaxyfunder-master/css/bootstrap.css 0000775 0000000 0000000 00000011406 12720531511 0022676 0 ustar 00root root 0000000 0000000 /*!
* Bootstrap v2.3.1
*
* Copyright 2012 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
*/
.pagination {
margin: 20px 0;
}
.pagination ul {
display: inline-block;
*display: inline;
margin-bottom: 0;
margin-left: 0;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
*zoom: 1;
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.pagination ul > li {
display: inline;
}
.pagination ul > li > a,
.pagination ul > li > span {
float: left;
padding: 4px 12px;
line-height: 20px;
text-decoration: none;
background-color: #ffffff;
border: 1px solid #dddddd;
border-left-width: 0;
}
.pagination ul > li > a:hover,
.pagination ul > li > a:focus,
.pagination ul > .active > a,
.pagination ul > .active > span {
background-color: #f5f5f5;
}
.pagination ul > .active > a,
.pagination ul > .active > span {
color: #999999;
cursor: default;
}
.pagination ul > .disabled > span,
.pagination ul > .disabled > a,
.pagination ul > .disabled > a:hover,
.pagination ul > .disabled > a:focus {
color: #999999;
cursor: default;
background-color: transparent;
}
.pagination ul > li:first-child > a,
.pagination ul > li:first-child > span {
border-left-width: 1px;
-webkit-border-bottom-left-radius: 4px;
border-bottom-left-radius: 4px;
-webkit-border-top-left-radius: 4px;
border-top-left-radius: 4px;
-moz-border-radius-bottomleft: 4px;
-moz-border-radius-topleft: 4px;
}
.pagination ul > li:last-child > a,
.pagination ul > li:last-child > span {
-webkit-border-top-right-radius: 4px;
border-top-right-radius: 4px;
-webkit-border-bottom-right-radius: 4px;
border-bottom-right-radius: 4px;
-moz-border-radius-topright: 4px;
-moz-border-radius-bottomright: 4px;
}
.pagination-centered {
text-align: center;
}
.pagination-right {
text-align: right;
}
.pagination-large ul > li > a,
.pagination-large ul > li > span {
padding: 11px 19px;
font-size: 17.5px;
}
.pagination-large ul > li:first-child > a,
.pagination-large ul > li:first-child > span {
-webkit-border-bottom-left-radius: 6px;
border-bottom-left-radius: 6px;
-webkit-border-top-left-radius: 6px;
border-top-left-radius: 6px;
-moz-border-radius-bottomleft: 6px;
-moz-border-radius-topleft: 6px;
}
.pagination-large ul > li:last-child > a,
.pagination-large ul > li:last-child > span {
-webkit-border-top-right-radius: 6px;
border-top-right-radius: 6px;
-webkit-border-bottom-right-radius: 6px;
border-bottom-right-radius: 6px;
-moz-border-radius-topright: 6px;
-moz-border-radius-bottomright: 6px;
}
.pagination-mini ul > li:first-child > a,
.pagination-small ul > li:first-child > a,
.pagination-mini ul > li:first-child > span,
.pagination-small ul > li:first-child > span {
-webkit-border-bottom-left-radius: 3px;
border-bottom-left-radius: 3px;
-webkit-border-top-left-radius: 3px;
border-top-left-radius: 3px;
-moz-border-radius-bottomleft: 3px;
-moz-border-radius-topleft: 3px;
}
.pagination-mini ul > li:last-child > a,
.pagination-small ul > li:last-child > a,
.pagination-mini ul > li:last-child > span,
.pagination-small ul > li:last-child > span {
-webkit-border-top-right-radius: 3px;
border-top-right-radius: 3px;
-webkit-border-bottom-right-radius: 3px;
border-bottom-right-radius: 3px;
-moz-border-radius-topright: 3px;
-moz-border-radius-bottomright: 3px;
}
.pagination-small ul > li > a,
.pagination-small ul > li > span {
padding: 2px 10px;
font-size: 11.9px;
}
.pagination-mini ul > li > a,
.pagination-mini ul > li > span {
padding: 0 6px;
font-size: 10.5px;
}
.pager {
margin: 20px 0;
text-align: center;
list-style: none;
*zoom: 1;
}
.pager:before,
.pager:after {
display: table;
line-height: 0;
content: "";
}
.pager:after {
clear: both;
}
.pager li {
display: inline;
}
.pager li > a,
.pager li > span {
display: inline-block;
padding: 5px 14px;
background-color: #fff;
border: 1px solid #ddd;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
border-radius: 15px;
}
.pager li > a:hover,
.pager li > a:focus {
text-decoration: none;
background-color: #f5f5f5;
}
.pager .next > a,
.pager .next > span {
float: right;
}
.pager .previous > a,
.pager .previous > span {
float: left;
}
.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > a:focus,
.pager .disabled > span {
color: #999999;
cursor: default;
background-color: #fff;
}
woocommerce-galaxyfunder-master/css/fonts/ 0000775 0000000 0000000 00000000000 12720531511 0021273 5 ustar 00root root 0000000 0000000 woocommerce-galaxyfunder-master/css/fonts/footable.eot 0000775 0000000 0000000 00000011330 12720531511 0023600 0 ustar 00root root 0000000 0000000 Ø 0 LP € «î f o o t a b l e R e g u l a r V e r s i o n 1 . 0 f o o t a b l e
€ PFFTMeö¤” GDEF T ô OS/2/ºÛÍ X Vcmapà6óÔ L Rgaspÿÿ ì glyf)öy ð
Øheadý‹v Ü 6hhea $hmtx=~- ° œloca1t4b Pmaxp l G 8 name~ÕzP È ’postÛÊx5 \ î«_<õ Î6š± Î6š±ÿÿÿà à àÿà . ÿÿþ ' ' D @ ® Lf GLf õ „ PfEd @à ð àÿà .à € ª I I ¶ ¶ @ `$ $ ¶ ¶ I I ¶ ¶ $ L 0 à"ð ÿÿ à ð ÿÿ @ \ | – Â è@‚Èú,^ÂÔæø
$@\v†”¢°î,j¨Îô>l ÿà à ! þ àþ ÿà à # #54&+"#";;26=326=4&ð° ` ° ° ` ° ° ° ` ° ° ` 3!26=4!" à þ ` ` ÿà à "264#5#53533jÔ––Ô–à@€€@€à–Ô––ÔŠ€€@€€@ ÿà à "264!5!jÔ––Ô–`þÀ@à–Ô––ÔŠ@ ÿà à "264"&462'##5#53533jÔ––Ô–° pp p@`@``@`à–Ô––ÔþÖp pp 0``@`` ÿà à "264"&462%!!jÔ––Ô–° pp pþÀ ÿ à–Ô––ÔþÖp pp p@ )Js # 3 C %++"&=#"&=46;546;23254&+";267+"&=46;2 @@@@%ÉÉ$%É%%É%×@@@@rÉÉÔÉ&&É%% )Js / 2+"&=46354&+";26'2+"&=463 %%É%%åÉÉ.¥r%É&&É%þ÷ÉÉ‚ ÿÿ ·¼ # 3 %54&+54&+"#";;26=3267#!"&5463!2n[%\\%[I0"þí"00""0Î$[[$[[£þî"00""00 ÿÿ ·¼ %54!"3!267#!"&5463!2nÿ I0"þí"00""0Î$$£þî"00""00 ÿà à "&4622?26=264/&" –Ô––Ô€
II
€
JÔ––Ô–i€
J³
³J
€ ÿà à $4&"2/&4625462762" –Ô––Ô€
II
€
vÔ––Ô–i€
J³
³J
€ ÿà à 2"&4264/3264&+764&"–Ô––Ô–i€
J³
³J
€ à–Ô––Ô€
II
€
ÿà à "264"&4?#"&46;'&462jÔ––Ô–i€
J³
³J
€ à–Ô––Ô€
II
€
@ 577` `ÿ ` ` € '' ` ` ` `ÿ @ÿà à 7'7'@` `ÿ ` `ÿ `ÿàÀà À` ` à` ` ÿÿ r%
$#!"&4?62%ÿ €€Œ€€ ÿÿ „%*
"/&463!2%€€ €€ M ·s
"/&4?62·€€`ÿ €€ ÿÿ M ¥s
6"&5462¥€€ç€ € ÿààà 7 ààààþ `` ÿààà ' ààà `` À 5'7 ``àààà À - þ ``àààà ÿà à ' "&462264&""/"&="&4?62 –Ô––ÔþÆz¬zz¬m€
II
€
JÔ––Ô–ª¬zz¬z9€
J³
³J
€ ÿà à ' $4&"2$462"?64&"54&"'&"2 –Ô––ÔþÆz¬zz¬m€
II
€
vÔ––Ô–ª¬zz¬z9€
J³
³J
€ ÿà à ' 2"&4264&"?6232+"/&4–Ô––Ô–ª¬zz¬z9€
J³
³J
€ à–Ô––ÔþÆz¬zz¬m€
II
€
ÿà à ' "264"&462/&"#";2?64jÔ––Ô–ª¬zz¬z9€
J³
³J
€ à–Ô––ÔþÆz¬zz¬m€
II
€
v4 $"/"/&4?623pq……‘pp…… 4&