Actilizacion de milfs con los cambios de Galenux
This commit is contained in:
parent
b9f5c74c78
commit
2ead080b03
675
milfs/LICENSE
Normal file
675
milfs/LICENSE
Normal file
@ -0,0 +1,675 @@
|
|||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
|
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||||
|
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.
|
||||||
|
|
||||||
|
{one line to give the program's name and a brief idea of what it does.}
|
||||||
|
Copyright (C) {year} {name of author}
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 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 <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
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:
|
||||||
|
|
||||||
|
{project} Copyright (C) {year} {fullname}
|
||||||
|
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
|
||||||
|
<http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
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
|
||||||
|
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||||
|
|
76
milfs/README.md
Normal file
76
milfs/README.md
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
<pre>
|
||||||
|
__ __ ___ ___ _______ _______
|
||||||
|
| |_| || | | | | || |
|
||||||
|
| || | | | | ___|| _____|
|
||||||
|
| || | | | | |___ | |_____
|
||||||
|
| || | | |___ | ___||_____ |
|
||||||
|
| ||_|| || | | || | _____| |
|
||||||
|
|_| |_||___| |_______||___| |_______|
|
||||||
|
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
**DEFINICION**
|
||||||
|
|
||||||
|
MILFS es una aplicación web para en la captura de datos de forma ágil y su
|
||||||
|
posterior proceso, a priori se puede ver como un sistema apra la creación
|
||||||
|
de formularios pero su poder va mas allá, MILFS maneja los campos de los
|
||||||
|
campos de los formularios de manera semántica lo que prermite su posterior
|
||||||
|
interpretación, por ejemplo:
|
||||||
|
|
||||||
|
|
||||||
|
Si necesitamos recabar datos en un evento creamos un formulario con los campos:
|
||||||
|
1. Nombres
|
||||||
|
1. Email
|
||||||
|
1. Telefono
|
||||||
|
|
||||||
|
Estos campos solo los creamos la si no existen, luego para cada evento creamos
|
||||||
|
un nuevo formulario y usamos los campos existentes y gracias a esto en la base
|
||||||
|
de datos se almacenará siempre la información de "Nombres" en un campo "Nombres"
|
||||||
|
lo cual le propporciona semántica a la información.
|
||||||
|
|
||||||
|
MILFS también cuenta con campos especiales como el de mapa el cual proporciona
|
||||||
|
la posibilidad de georeferenciar los datos capturados y luego exibirlos como un
|
||||||
|
mapa.
|
||||||
|
|
||||||
|
Si deseas capturar mucha información y almacenarla de manera estructurada o quieres
|
||||||
|
reemplazar cientos de hojas electronicas por un sistema de datos, MILF es lo
|
||||||
|
que estabas buscando.
|
||||||
|
|
||||||
|
MILFS también cuenta con un subsistema de importación que te permite subir datos
|
||||||
|
almacenados en un archivo CSV.
|
||||||
|
|
||||||
|
Sabemos que aun nos falta mucha documentación para enseñar a manejar todo el poder
|
||||||
|
de MILFS, Pero bueno, gracias por la ayuda ;-)
|
||||||
|
|
||||||
|
|
||||||
|
**INSTALACION**
|
||||||
|
|
||||||
|
1. Volcar la base de datos MYSQL desde el archivo milfs.sql.gz
|
||||||
|
1. Mover el directorio milfs a /var/www/html/milfs o un lugar accesible.
|
||||||
|
1. Modificar el archivo milfs/includes/datos.php con los datos de acceso a la base de datos MySQL.
|
||||||
|
1. Mover el directorio images_secure a un lugar no accesible via web /var/www/images_secure Dar permiso de escritura al www-data sobre images_secure y su contenido.
|
||||||
|
1. Ingresar por http al aplicativo eje. http://localhost/milfs
|
||||||
|
1. Loguearse con usuario admin clave admin
|
||||||
|
1. Actualizar los datos de la instución en el área de configuración. Especialmente un email válido
|
||||||
|
1. Salir de la aplicación
|
||||||
|
1. Solicitar cambio de la contraseña.
|
||||||
|
1. Revisar las instrucciones enviadas al email.
|
||||||
|
1. La instalación básica de MILFS tiene algunos campos creados y un formulario de muestra llamado contacto.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
**DISFRUTALO.**
|
||||||
|
|
||||||
|
<pre>
|
||||||
|
#====#
|
||||||
|
|___|__\___
|
||||||
|
| _ | |_ |}
|
||||||
|
"(_)"" ""(_)"
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
Twitter: @fredy_rivera
|
||||||
|
@QWERTY.CO
|
||||||
|
|
||||||
|
https://qwerty.co/milfs
|
||||||
|
|
||||||
|
***
|
@ -43,7 +43,7 @@ function brigadistas_grabar($formulario) {
|
|||||||
if(is_array($valor)) {
|
if(is_array($valor)) {
|
||||||
foreach($valor as $c=>$v){
|
foreach($valor as $c=>$v){
|
||||||
$consulta = "INSERT INTO form_datos ( timestamp,id_usuario,id_empresa,form_id,ip,control,id_campo,contenido) VALUES
|
$consulta = "INSERT INTO form_datos ( timestamp,id_usuario,id_empresa,form_id,ip,control,id_campo,contenido) VALUES
|
||||||
( UNIX_TIMESTAMP(),'$_SESSION[id]','$id_empresa','$id_formulario','$ip' ,'$control', '$campo' , '".mysql_real_escape_string( $v )."')
|
( UNIX_TIMESTAMP(),'$_SESSION[id]','$id_empresa','$id_formulario','$ip' ,'$control', '$campo' , '".mysqli_real_escape_string($link, $v )."')
|
||||||
";
|
";
|
||||||
$sql=mysqli_query($consulta,$link);
|
$sql=mysqli_query($consulta,$link);
|
||||||
|
|
||||||
|
@ -76,11 +76,11 @@ if(@$and !=''){$AND = "AND $and";}else{$AND ="";}
|
|||||||
//$consulta = "SELECT * , md5(binary $por ) as md5_".$por." FROM $tabla WHERE $campo = '$valor' $AND order by $campo DESC limit 1";
|
//$consulta = "SELECT * , md5(binary $por ) as md5_".$por." FROM $tabla WHERE $campo = '$valor' $AND order by $campo DESC limit 1";
|
||||||
$consulta = "SELECT * , md5(binary $por ) as md5_".$por." FROM $tabla WHERE $campo = '$valor' $AND order by id DESC limit 1";
|
$consulta = "SELECT * , md5(binary $por ) as md5_".$por." FROM $tabla WHERE $campo = '$valor' $AND order by id DESC limit 1";
|
||||||
$sql=mysqli_query($consulta,$link);
|
$sql=mysqli_query($consulta,$link);
|
||||||
if (@mysql_num_rows($sql)!=0){
|
if (@mysqli_num_rows($sql)!=0){
|
||||||
$resultado[] = mysql_result($sql,0,$por);
|
$resultado[] = mysqli_result($sql,0,$por);
|
||||||
$resultado[] = mysql_result($sql,0,'id');
|
$resultado[] = mysqli_result($sql,0,'id');
|
||||||
$resultado[] = $consulta;
|
$resultado[] = $consulta;
|
||||||
$resultado[] = mysql_result($sql,0,"md5_$por");
|
$resultado[] = mysqli_result($sql,0,"md5_$por");
|
||||||
}else{
|
}else{
|
||||||
$resultado[0] = '';
|
$resultado[0] = '';
|
||||||
$resultado[1] ="";
|
$resultado[1] ="";
|
||||||
@ -134,9 +134,9 @@ $consulta ="SELECT form_campos.id, form_campos.campo_nombre FROM form_tipo_campo
|
|||||||
$link=Conectarse();
|
$link=Conectarse();
|
||||||
mysqli_query("SET NAMES 'utf8'");
|
mysqli_query("SET NAMES 'utf8'");
|
||||||
$sql=mysqli_query($consulta,$link);
|
$sql=mysqli_query($consulta,$link);
|
||||||
if (mysql_num_rows($sql)!='0'){
|
if (mysqli_num_rows($sql)!='0'){
|
||||||
$resultado[0]=mysql_result($sql,0,"id");
|
$resultado[0]=mysqli_result($sql,0,"id");
|
||||||
$resultado[1]=mysql_result($sql,0,"campo_nombre");
|
$resultado[1]=mysqli_result($sql,0,"campo_nombre");
|
||||||
$resultado[2] =$consulta;
|
$resultado[2] =$consulta;
|
||||||
}else{ $resultado[0]='';
|
}else{ $resultado[0]='';
|
||||||
$resultado[2] =$consulta;
|
$resultado[2] =$consulta;
|
||||||
|
@ -43,7 +43,7 @@ function brigadistas_grabar($formulario) {
|
|||||||
if(is_array($valor)) {
|
if(is_array($valor)) {
|
||||||
foreach($valor as $c=>$v){
|
foreach($valor as $c=>$v){
|
||||||
$consulta = "INSERT INTO form_datos ( timestamp,id_usuario,id_empresa,form_id,ip,control,id_campo,contenido) VALUES
|
$consulta = "INSERT INTO form_datos ( timestamp,id_usuario,id_empresa,form_id,ip,control,id_campo,contenido) VALUES
|
||||||
( UNIX_TIMESTAMP(),'$_SESSION[id]','$id_empresa','$id_formulario','$ip' ,'$control', '$campo' , '".mysql_real_escape_string( $v )."')
|
( UNIX_TIMESTAMP(),'$_SESSION[id]','$id_empresa','$id_formulario','$ip' ,'$control', '$campo' , '".mysqli_real_escape_string($link, $v )."')
|
||||||
";
|
";
|
||||||
$sql=mysqli_query($consulta,$link);
|
$sql=mysqli_query($consulta,$link);
|
||||||
|
|
||||||
|
@ -76,11 +76,11 @@ if(@$and !=''){$AND = "AND $and";}else{$AND ="";}
|
|||||||
//$consulta = "SELECT * , md5(binary $por ) as md5_".$por." FROM $tabla WHERE $campo = '$valor' $AND order by $campo DESC limit 1";
|
//$consulta = "SELECT * , md5(binary $por ) as md5_".$por." FROM $tabla WHERE $campo = '$valor' $AND order by $campo DESC limit 1";
|
||||||
$consulta = "SELECT * , md5(binary $por ) as md5_".$por." FROM $tabla WHERE $campo = '$valor' $AND order by id DESC limit 1";
|
$consulta = "SELECT * , md5(binary $por ) as md5_".$por." FROM $tabla WHERE $campo = '$valor' $AND order by id DESC limit 1";
|
||||||
$sql=mysqli_query($consulta,$link);
|
$sql=mysqli_query($consulta,$link);
|
||||||
if (@mysql_num_rows($sql)!=0){
|
if (@mysqli_num_rows($sql)!=0){
|
||||||
$resultado[] = mysql_result($sql,0,$por);
|
$resultado[] = mysqli_result($sql,0,$por);
|
||||||
$resultado[] = mysql_result($sql,0,'id');
|
$resultado[] = mysqli_result($sql,0,'id');
|
||||||
$resultado[] = $consulta;
|
$resultado[] = $consulta;
|
||||||
$resultado[] = mysql_result($sql,0,"md5_$por");
|
$resultado[] = mysqli_result($sql,0,"md5_$por");
|
||||||
}else{
|
}else{
|
||||||
$resultado[0] = '';
|
$resultado[0] = '';
|
||||||
$resultado[1] ="";
|
$resultado[1] ="";
|
||||||
@ -134,9 +134,9 @@ $consulta ="SELECT form_campos.id, form_campos.campo_nombre FROM form_tipo_campo
|
|||||||
$link=Conectarse();
|
$link=Conectarse();
|
||||||
mysqli_query("SET NAMES 'utf8'");
|
mysqli_query("SET NAMES 'utf8'");
|
||||||
$sql=mysqli_query($consulta,$link);
|
$sql=mysqli_query($consulta,$link);
|
||||||
if (mysql_num_rows($sql)!='0'){
|
if (mysqli_num_rows($sql)!='0'){
|
||||||
$resultado[0]=mysql_result($sql,0,"id");
|
$resultado[0]=mysqli_result($sql,0,"id");
|
||||||
$resultado[1]=mysql_result($sql,0,"campo_nombre");
|
$resultado[1]=mysqli_result($sql,0,"campo_nombre");
|
||||||
$resultado[2] =$consulta;
|
$resultado[2] =$consulta;
|
||||||
}else{ $resultado[0]='';
|
}else{ $resultado[0]='';
|
||||||
$resultado[2] =$consulta;
|
$resultado[2] =$consulta;
|
||||||
|
@ -9,32 +9,15 @@ require ('funciones/convert.php');
|
|||||||
require ("includes/markdown.php");
|
require ("includes/markdown.php");
|
||||||
require ("funciones/conex.php");
|
require ("funciones/conex.php");
|
||||||
$datos['id']=$_REQUEST['id'];
|
$datos['id']=$_REQUEST['id'];
|
||||||
if(isset($_REQUEST['identificador'])) {$datos['identificador']=$_REQUEST['identificador'];}
|
$datos['identificador']=$_REQUEST['identificador'];
|
||||||
if(isset($_REQUEST['dato'])) {$datos['dato']=$_REQUEST['dato'];}
|
$datos['dato']=$_REQUEST['dato'];
|
||||||
if(isset($_REQUEST['inicio'])) {$datos['inicio']=$_REQUEST['inicio'];}
|
|
||||||
if(isset($_REQUEST['start'])) {$datos['start']=$_REQUEST['start'];}
|
|
||||||
if(isset($_REQUEST['fin'])) {$datos['fin']=$_REQUEST['fin'];}
|
|
||||||
if(isset($_REQUEST['end'])) {$datos['end']=$_REQUEST['end'];}
|
|
||||||
if(isset($_REQUEST['tipo'])) {$datos['tipo']=$_REQUEST['tipo'];}
|
|
||||||
if(isset($_REQUEST['formato'])) {$datos['formato']=$_REQUEST['formato'];}
|
|
||||||
if(isset($_REQUEST['registros'])) {$datos['registros']=$_REQUEST['registros'];}
|
|
||||||
if(isset($_REQUEST['pagina'])) {$datos['pagina']=$_REQUEST['pagina'];}
|
|
||||||
if(isset($_REQUEST['plantilla'])) {$datos['plantilla']=$_REQUEST['plantilla'];}
|
|
||||||
/*$datos['dato']=$_REQUEST['dato'];
|
|
||||||
$datos['inicio']=$_REQUEST['inicio'];
|
$datos['inicio']=$_REQUEST['inicio'];
|
||||||
$datos['start']=$_REQUEST['start'];
|
|
||||||
$datos['fin']=$_REQUEST['fin'];
|
$datos['fin']=$_REQUEST['fin'];
|
||||||
$datos['end']=$_REQUEST['end'];
|
$datos['tipo']=$_REQUEST['tipo'];
|
||||||
$datos['tipo']=$_REQUEST['tipo'];*/
|
if(isset($_REQUEST['debug'])) {ini_set('display_errors', 'On');
|
||||||
|
|
||||||
if(isset($_REQUEST['debug'])) {ini_set('display_errors', 'On');}
|
|
||||||
if(!isset($_REQUEST['formato'])) {
|
|
||||||
header('Content-Type: application/json');
|
|
||||||
echo json($datos);
|
|
||||||
}else{
|
|
||||||
echo "<br><br><div class='container-fluid '>".consultar_contenido_formulario("$datos[id]","$datos[registros]","$datos[pagina]","$datos[formato]",'',"$datos[plantilla]")."</div>";
|
|
||||||
}
|
}
|
||||||
|
header('Content-Type: application/json');
|
||||||
//echo "hola /// $_REQUEST[id] // " ;
|
//echo "hola /// $_REQUEST[id] // " ;
|
||||||
|
echo json($datos);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
196
milfs/copia de index.php
Normal file
196
milfs/copia de index.php
Normal file
@ -0,0 +1,196 @@
|
|||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
//ini_set('display_errors', 'On');
|
||||||
|
require ('xajax/xajax.inc.php');
|
||||||
|
$xajax = new xajax();
|
||||||
|
require ('funciones/funciones.php');
|
||||||
|
require ('funciones/convert.php');
|
||||||
|
require ('funciones/login.php');
|
||||||
|
|
||||||
|
$xajax->processRequests();
|
||||||
|
//$xajax->debugOn();
|
||||||
|
?>
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head >
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="user-scalable=no, width=device-width, maximum-scale=1, initial-scale=1">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="description" content="">
|
||||||
|
<meta name="author" content="fredyrivera" >
|
||||||
|
<?php $xajax->printJavascript("xajax/"); ?>
|
||||||
|
<link rel="shortcut icon" href="favicon-152.png">
|
||||||
|
<link rel="apple-touch-icon-precomposed" href="favicon-152.png">
|
||||||
|
<link href="css/font-awesome/css/font-awesome.css" rel="stylesheet">
|
||||||
|
<!-- <link href="css/estilos.php?dd" rel="stylesheet">
|
||||||
|
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap.css">
|
||||||
|
<link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap-markdown.css">
|
||||||
|
<link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap-markdown.min.css"> -->
|
||||||
|
<link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap.css">
|
||||||
|
<link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap-markdown.css">
|
||||||
|
<link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap-markdown.min.css">
|
||||||
|
|
||||||
|
|
||||||
|
<style>
|
||||||
|
#map {width: 500px;height:200px;}
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
<title>I<3MILFS</title>
|
||||||
|
|
||||||
|
<!-- Bootstrap core CSS -->
|
||||||
|
|
||||||
|
<!-- <script language="JavaScript" src="escritorio/librerias/scripts.js" type="text/javascript"></script> -->
|
||||||
|
<!-- Custom styles for this template -->
|
||||||
|
|
||||||
|
<!-- <link href="jumbotron.css" rel="stylesheet"> -->
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Just for debugging purposes. Don't actually copy this line! -->
|
||||||
|
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||||
|
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<?php
|
||||||
|
// if($_COOKIE['aviso'] != 'presentacion') {
|
||||||
|
//$onload = "onload = \"$('#muestraInfo').modal('toggle')\"";
|
||||||
|
//setcookie("aviso","presentacion",time()+60*60*24);
|
||||||
|
// }
|
||||||
|
//($id,$form_respuesta,$control,$tipo)
|
||||||
|
if($_REQUEST[id] !='' OR $_REQUEST[c]){$onload ="<script type=\"text/javascript\"> xajax_formulario_modal('$_REQUEST[id]','','$_REQUEST[c]','$_REQUEST[t]')</script>";}
|
||||||
|
?>
|
||||||
|
</head>
|
||||||
|
<body >
|
||||||
|
<?php echo $onload; ?>
|
||||||
|
<?php if(isset($_REQUEST[f])){
|
||||||
|
form_publico("$_REQUEST[f]");
|
||||||
|
}
|
||||||
|
if ( isset ( $_SESSION['id'] ) ) { ?>
|
||||||
|
<div class="navbar navbar-inverse nav-bar-fixed-top " role="navigation">
|
||||||
|
<div class="container-fluid">
|
||||||
|
<!-- Brand and toggle get grouped for better mobile display -->
|
||||||
|
<div class="navbar-header">
|
||||||
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
||||||
|
<span class="sr-only">MILFS</span>
|
||||||
|
<span class="icon-bar"></span>
|
||||||
|
<span class="icon-bar"></span>
|
||||||
|
<span class="icon-bar"></span>
|
||||||
|
</button>
|
||||||
|
<a class="navbar-brand" href="#"><img src="favicon-152.png" style="width:60px" alt="MILFS" title="Multi Interactive Light Form System"></a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php echo milfs() ?>
|
||||||
|
</div><!-- /.container-fluid -->
|
||||||
|
</div>
|
||||||
|
<?php }else{ } ?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class='container'>
|
||||||
|
<div id='contenido'>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
if(!isset($_SESSION[id_empresa])) {$id_empresa_portada='1';} else{$id_empresa_portada = $_SESSION[id_empresa];}
|
||||||
|
$encabezado = empresa_datos("$id_empresa_portada",'encabezado');
|
||||||
|
$pie = empresa_datos("$id_empresa_portada",'pie');
|
||||||
|
echo "$encabezado";
|
||||||
|
?>
|
||||||
|
|
||||||
|
<?php if(isset($_REQUEST[change])){
|
||||||
|
echo cambiar_password_formato("$_REQUEST[change]");
|
||||||
|
}
|
||||||
|
revisar_ingreso();?>
|
||||||
|
|
||||||
|
<?php echo $pie; ?>
|
||||||
|
<img class='img-responsive center-block' src="images/logo.png" alt="MILFS">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
/*session_start();
|
||||||
|
// Comprobamos si existe la variable
|
||||||
|
if ( !isset ( $_SESSION['grupo'] ) ) {
|
||||||
|
// Si no existe
|
||||||
|
header("Location: includes/error.php");
|
||||||
|
// echo "hola 2";
|
||||||
|
} */
|
||||||
|
|
||||||
|
/*if($_SESSION[prioridad] <= '2'){ }else{
|
||||||
|
echo consultar_formulario();
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
formulario_importar("","");
|
||||||
|
echo "<div id='importador' name='importador'>";
|
||||||
|
echo "</div> ";
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*formulario_consultar('','');
|
||||||
|
if($_REQUEST[id] !=''){$onload ="<script type=\"text/javascript\"> xajax_formulario_areas('despacho','$_REQUEST[id]')</script>";}
|
||||||
|
?>
|
||||||
|
<div id='despacho' name='despacho' class='div_flotante' style="top:500px; left:500px; position:absolute; " ></div>
|
||||||
|
<?php echo "$onload ";
|
||||||
|
}///fin de la seguridad
|
||||||
|
*/
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Modal -->
|
||||||
|
|
||||||
|
<div class='modal fade ' id='muestraInfo' tabindex='-1' role='dialog' aria-labelledby='myModalLabel' aria-hidden='true'>
|
||||||
|
<div class='modal-dialog' >
|
||||||
|
<div class='modal-content'>
|
||||||
|
<div class='modal-header' >
|
||||||
|
<button type='button' class='close' data-dismiss='modal' aria-hidden='true'>×</button>
|
||||||
|
<h4 class='modal-title' id='myModalLabel_info'><div id='titulo_modal'></div></h4>
|
||||||
|
</div>
|
||||||
|
<div class='modal-body'>
|
||||||
|
|
||||||
|
<div id='muestra_form'></div>
|
||||||
|
</div>
|
||||||
|
<div class='modal-footer' id='pie_modal'>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="">
|
||||||
|
<div class="container">
|
||||||
|
<a href='http://QWERTY.co/milfs'>© MILFS Un proyecto de http://QWERTY.co</a> Se distribuye bajo licencia GPL V3
|
||||||
|
<a target="_blank" href='http://qwerty.co/faq/category/19/privacidad-y-protecci%C3%B3n-de-datos.html'>Políticas de privacidad y protección de datos.</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Bootstrap core JavaScript
|
||||||
|
================================================== -->
|
||||||
|
<!-- Placed at the end of the document so the pages load faster -->
|
||||||
|
<script src="js/jquery.min.js"></script>
|
||||||
|
<script src="js/bootstrap.js"></script>
|
||||||
|
<script src="js/markdown.js"></script>
|
||||||
|
<script src="js/to-markdown.js"></script>
|
||||||
|
<script src="js/bootstrap-markdown.js"></script>
|
||||||
|
<script src="js/scripts.js"></script>
|
||||||
|
<!-- <script src="js/jquery.min.js"></script>
|
||||||
|
<script src="js/bootstrap.min.js"></script>
|
||||||
|
<script src="js/scripts.js"></script>
|
||||||
|
<script src="js/bootstrap-markdown.js"></script>
|
||||||
|
<script src="js/markdown.js"></script>
|
||||||
|
<script src="js/to-markdown.js"></script>
|
||||||
|
<script src="js/bootstrap-markdown.js"></script>
|
||||||
|
-->
|
||||||
|
</body>
|
||||||
|
</html>
|
118
milfs/copia de map.php
Normal file
118
milfs/copia de map.php
Normal file
@ -0,0 +1,118 @@
|
|||||||
|
<?php
|
||||||
|
//ini_set('display_errors', 'On');
|
||||||
|
require ('xajax/xajax.inc.php');
|
||||||
|
$xajax = new xajax();
|
||||||
|
//require ('json.lab.php');
|
||||||
|
require ('funciones/funciones.php');
|
||||||
|
//require ('funciones/convert.php');
|
||||||
|
$formulario_nombre = remplacetas('form_id','id',$_REQUEST[id],'nombre') ;
|
||||||
|
?>
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset=utf-8 />
|
||||||
|
<title><?php echo $formulario_nombre[0] ?> MILFS</title>
|
||||||
|
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
|
||||||
|
<script src='https://api.tiles.mapbox.com/mapbox.js/v2.1.2/mapbox.js'></script>
|
||||||
|
<link href='https://api.tiles.mapbox.com/mapbox.js/v2.1.2/mapbox.css' rel='stylesheet' />
|
||||||
|
<style>
|
||||||
|
body { margin:0; padding:0; }
|
||||||
|
#map { position:absolute; top:0; bottom:0; width:100%; }
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head >
|
||||||
|
<title><?php echo $formulario_nombre[0] ?> MILFS</title>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="user-scalable=no, width=device-width, maximum-scale=1, initial-scale=1">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="description" content="">
|
||||||
|
<meta name="author" content="kleper" >
|
||||||
|
<?php $xajax->printJavascript("xajax/"); ?>
|
||||||
|
<link rel="shortcut icon" href="favicon-152.png">
|
||||||
|
<link rel="apple-touch-icon-precomposed" href="favicon-152.png">
|
||||||
|
<link href="css/font-awesome/css/font-awesome.css" rel="stylesheet">
|
||||||
|
<link href="http://getbootstrap.com/examples/sticky-footer-navbar/sticky-footer-navbar.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<script src='https://api.tiles.mapbox.com/mapbox.js/v2.1.2/mapbox.js'></script>
|
||||||
|
<link href='https://api.tiles.mapbox.com/mapbox.js/v2.1.2/mapbox.css' rel='stylesheet' />
|
||||||
|
|
||||||
|
<!-- <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" /> -->
|
||||||
|
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
<link href="css/estilos.php?hghgS" rel="stylesheet">
|
||||||
|
<style type="text/css">
|
||||||
|
body { padding: 0; margin: 0; }
|
||||||
|
|
||||||
|
.leaflet-popup-content { width:800px !important; }
|
||||||
|
|
||||||
|
body { margin:0; padding:0; }
|
||||||
|
#map { position:absolute; top:0; bottom:0; width:100%; }
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<script src="http://code.jquery.com/jquery-2.1.0.min.js"></script>
|
||||||
|
<!-- <link rel="points" type="application/json" href="json.php?id=<?php echo $_REQUEST["id"] ?>&id2=<?php echo $_REQUEST["id2"] ?>"> -->
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id='map'></div>
|
||||||
|
<script>
|
||||||
|
L.mapbox.accessToken = 'pk.eyJ1IjoiaHVtYW5vIiwiYSI6IlgyRTFNdFEifQ.OmQBXmcVg_zq-vMpr8P5vQ';
|
||||||
|
var map = L.mapbox.map('map', 'humano.jki5hno0')
|
||||||
|
.setView([40, -74.50], 8);
|
||||||
|
|
||||||
|
var geoJson = [ <?php echo imprime_geojson("$_REQUEST[id]","$_REQUEST[id2]");?> ];
|
||||||
|
var myLayer = L.mapbox.featureLayer()
|
||||||
|
.setGeoJSON(geoJson)
|
||||||
|
.addTo(map);
|
||||||
|
|
||||||
|
myLayer.on('layeradd', function(e) {
|
||||||
|
var marker = e.layer,
|
||||||
|
feature = marker.feature;
|
||||||
|
// Create custom popup content
|
||||||
|
var popupContent = '' + feature.properties.description + '';
|
||||||
|
|
||||||
|
// http://leafletjs.com/reference.html#popup
|
||||||
|
marker.bindPopup(popupContent,{
|
||||||
|
closeButton: false,
|
||||||
|
minWidth: 320
|
||||||
|
});
|
||||||
|
|
||||||
|
marker.setIcon(L.icon(feature.properties.icon));
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
map.fitBounds(myLayer.getBounds());
|
||||||
|
myLayer.setGeoJSON(geoJson);
|
||||||
|
</script>
|
||||||
|
<div class="panel-map" id='panel_map_<?php echo $id ?>' style="z-index: 2 !important;">
|
||||||
|
<div role='row' class='row center-block' style="; "><?php echo mapa_ficha("$_REQUEST[id]");?></div>
|
||||||
|
</div>
|
||||||
|
<!-- Modal -->
|
||||||
|
|
||||||
|
<div class='modal fade ' id='muestraInfo' tabindex='-1' role='dialog' aria-labelledby='myModalLabel' aria-hidden='true'>
|
||||||
|
<div class='modal-dialog' >
|
||||||
|
<div class='modal-content'>
|
||||||
|
<div class='modal-header' >
|
||||||
|
<button type='button' class='close' data-dismiss='modal' aria-hidden='true'>×</button>
|
||||||
|
<h4 class='modal-title' id='myModalLabel_info'><div id='titulo_modal'></div></h4>
|
||||||
|
</div>
|
||||||
|
<div class='modal-body'>
|
||||||
|
|
||||||
|
<div id='muestra_form'></div>
|
||||||
|
</div>
|
||||||
|
<div class='modal-footer' id='pie_modal'>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- Bootstrap core JavaScript
|
||||||
|
================================================== -->
|
||||||
|
<!-- Placed at the end of the document so the pages load faster -->
|
||||||
|
<script src="js/jquery.min.js"></script>
|
||||||
|
<script src="js/bootstrap.min.js"></script>
|
||||||
|
<script src="js/scripts.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
152
milfs/copia de rt.php
Normal file
152
milfs/copia de rt.php
Normal file
@ -0,0 +1,152 @@
|
|||||||
|
<?php
|
||||||
|
//ini_set('display_errors', 'On');
|
||||||
|
require ('xajax/xajax.inc.php');
|
||||||
|
$xajax = new xajax();
|
||||||
|
//require ('json.lab.php');
|
||||||
|
require ('funciones/funciones.php');
|
||||||
|
//require ('funciones/convert.php');
|
||||||
|
$formulario_nombre = remplacetas('form_id','id',$_REQUEST[id],'nombre') ;
|
||||||
|
?>
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset=utf-8 />
|
||||||
|
<title><?php echo $formulario_nombre[0] ?> MILFS</title>
|
||||||
|
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
|
||||||
|
<script src='https://api.tiles.mapbox.com/mapbox.js/v2.1.2/mapbox.js'></script>
|
||||||
|
<link href='https://api.tiles.mapbox.com/mapbox.js/v2.1.2/mapbox.css' rel='stylesheet' />
|
||||||
|
<style>
|
||||||
|
body { margin:0; padding:0; }
|
||||||
|
#map { position:absolute; top:0; bottom:0; width:100%; }
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head >
|
||||||
|
<title><?php echo $formulario_nombre[0] ?> MILFS</title>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="user-scalable=no, width=device-width, maximum-scale=1, initial-scale=1">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="description" content="">
|
||||||
|
<meta name="author" content="fredyrivera" >
|
||||||
|
<?php $xajax->printJavascript("xajax/"); ?>
|
||||||
|
<link rel="shortcut icon" href="favicon-152.png">
|
||||||
|
<link rel="apple-touch-icon-precomposed" href="favicon-152.png">
|
||||||
|
<link href="css/font-awesome/css/font-awesome.css" rel="stylesheet">
|
||||||
|
<link href="http://getbootstrap.com/examples/sticky-footer-navbar/sticky-footer-navbar.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<script src='https://api.tiles.mapbox.com/mapbox.js/v2.1.2/mapbox.js'></script>
|
||||||
|
<link href='https://api.tiles.mapbox.com/mapbox.js/v2.1.2/mapbox.css' rel='stylesheet' />
|
||||||
|
|
||||||
|
<!-- <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" /> -->
|
||||||
|
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
<link href="css/estilos.php?hghgS" rel="stylesheet">
|
||||||
|
<style type="text/css">
|
||||||
|
body { padding: 0; margin: 0; }
|
||||||
|
|
||||||
|
.leaflet-popup-content { width:600px !important; }
|
||||||
|
|
||||||
|
body { margin:0; padding:0; }
|
||||||
|
#map { position:absolute; top:0; bottom:0; width:100%; }
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<script src="http://code.jquery.com/jquery-2.1.0.min.js"></script>
|
||||||
|
<link rel="points" type="application/json" href="json.lab.php?id=<?php echo $_REQUEST["id"] ?>">
|
||||||
|
</head>
|
||||||
|
<body >
|
||||||
|
<audio id="foobar" src="images/audios/audio6.mp3" preload="auto" autoplay loop controls></audio>
|
||||||
|
<style>
|
||||||
|
.info {
|
||||||
|
width: 800px;
|
||||||
|
height: 90%;
|
||||||
|
overflow-y: auto;
|
||||||
|
overflow-x: hidden;
|
||||||
|
position:absolute;
|
||||||
|
top:100px;
|
||||||
|
left:50px;
|
||||||
|
}
|
||||||
|
.info div {
|
||||||
|
|
||||||
|
border-radius:3px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<div id='map'></div>
|
||||||
|
<div id='info' class='info' draggable="true"></div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
L.mapbox.accessToken = 'pk.eyJ1IjoiaHVtYW5vIiwiYSI6IlgyRTFNdFEifQ.OmQBXmcVg_zq-vMpr8P5vQ';
|
||||||
|
var map = L.mapbox.map('map', 'humano.jki5hno0')
|
||||||
|
.setView([40, -74.50], 15);
|
||||||
|
|
||||||
|
// As with any other AJAX request, this technique is subject to the Same Origin Policy:
|
||||||
|
// http://en.wikipedia.org/wiki/Same_origin_policy
|
||||||
|
var featureLayer = L.mapbox.featureLayer()
|
||||||
|
//.loadURL('json.lab.php?id=<?php echo $id ?>')
|
||||||
|
.loadURL('json.lab.php?id=<?php echo $_REQUEST[id] ?>&id2=<?php echo $_REQUEST[id2] ?>')
|
||||||
|
// Once this layer loads, we set a timer to load it again in a few seconds.
|
||||||
|
.on('ready', run)
|
||||||
|
.addTo(map);
|
||||||
|
// Add custom popups to each using our custom feature properties
|
||||||
|
featureLayer.on('layeradd', function(e) {
|
||||||
|
var marker = e.layer,
|
||||||
|
feature = marker.feature;
|
||||||
|
|
||||||
|
// Create custom popup content
|
||||||
|
var popupContent = '' + feature.properties.name + '' +
|
||||||
|
|
||||||
|
feature.properties.title +'';
|
||||||
|
var aviso = feature.properties.name;
|
||||||
|
info.innerHTML = aviso;
|
||||||
|
// http://leafletjs.com/reference.html#popup
|
||||||
|
marker.bindPopup(popupContent,{
|
||||||
|
closeButton: false,
|
||||||
|
minWidth: 320
|
||||||
|
});
|
||||||
|
marker.setIcon(L.icon(feature.properties.icon));
|
||||||
|
});
|
||||||
|
function run() {
|
||||||
|
featureLayer.eachLayer(function(l) {
|
||||||
|
map.panTo(l.getLatLng());
|
||||||
|
});
|
||||||
|
window.setTimeout(function() {
|
||||||
|
//featureLayer.loadURL('json.lab.php?id=<?php echo $_REQUEST[id] ?>');
|
||||||
|
featureLayer.loadURL('json.lab.php?id=<?php echo $_REQUEST[id] ?>&id2=<?php echo $_REQUEST[id2] ?>');
|
||||||
|
//featureLayer.loadURL('https://wanderdrone.appspot.com/');
|
||||||
|
//alert("Hola");
|
||||||
|
info.innerHTML = aviso;
|
||||||
|
},15000);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<div class="panel-map" id='panel_map_<?php echo $_REQUEST[id] ?>' style="z-index: 2 !important;">
|
||||||
|
<div role='row' class='row center-block' style="; "><?php echo mapa_ficha("$_REQUEST[id]");?></div>
|
||||||
|
<a onClick="window.location.reload()">*</a>
|
||||||
|
</div>
|
||||||
|
<!-- Modal -->
|
||||||
|
|
||||||
|
<div class='modal fade ' id='muestraInfo' tabindex='-1' role='dialog' aria-labelledby='myModalLabel' aria-hidden='true'>
|
||||||
|
<div class='modal-dialog' >
|
||||||
|
<div class='modal-content'>
|
||||||
|
<div class='modal-header' >
|
||||||
|
<button type='button' class='close' data-dismiss='modal' aria-hidden='true'>×</button>
|
||||||
|
<h4 class='modal-title' id='myModalLabel_info'><div id='titulo_modal'></div></h4>
|
||||||
|
</div>
|
||||||
|
<div class='modal-body'>
|
||||||
|
|
||||||
|
<div id='muestra_form'></div>
|
||||||
|
</div>
|
||||||
|
<div class='modal-footer' id='pie_modal'>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- Bootstrap core JavaScript
|
||||||
|
================================================== -->
|
||||||
|
<!-- Placed at the end of the document so the pages load faster -->
|
||||||
|
<script src="js/jquery.min.js"></script>
|
||||||
|
<script src="js/bootstrap.min.js"></script>
|
||||||
|
<script src="js/scripts.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
/* Carousel base class */
|
/* Carousel base class */
|
||||||
.carousel {
|
.carousel {
|
||||||
min-height: 800px;
|
height: 500px;
|
||||||
margin-bottom: 60px;
|
margin-bottom: 60px;
|
||||||
}
|
}
|
||||||
/* Since positioning the image, we need to help out the caption */
|
/* Since positioning the image, we need to help out the caption */
|
||||||
|
11
milfs/css/dragones.min.css
vendored
Normal file
11
milfs/css/dragones.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -10,10 +10,10 @@ $consulta = "SELECT elemento FROM estilos GROUP BY elemento";
|
|||||||
$sql=mysqli_query($consulta,$link);
|
$sql=mysqli_query($consulta,$link);
|
||||||
|
|
||||||
|
|
||||||
if (mysql_num_rows($sql)!='0'){
|
if (mysqli_num_rows($sql)!='0'){
|
||||||
mysql_data_seek($sql, 0);
|
mysqli_data_seek($sql, 0);
|
||||||
|
|
||||||
while( $row = mysql_fetch_array( $sql ) ) {
|
while( $row = mysqli_fetch_array( $sql ) ) {
|
||||||
$elemento= dibuja_elemento($row[elemento]);
|
$elemento= dibuja_elemento($row[elemento]);
|
||||||
$resultado .= "$row[elemento]{
|
$resultado .= "$row[elemento]{
|
||||||
$elemento
|
$elemento
|
||||||
@ -29,8 +29,8 @@ function dibuja_elemento($elemento){
|
|||||||
mysqli_query("SET NAMES 'utf8'");
|
mysqli_query("SET NAMES 'utf8'");
|
||||||
$consulta = "SELECT * FROM estilos WHERE elemento = '$elemento' ";
|
$consulta = "SELECT * FROM estilos WHERE elemento = '$elemento' ";
|
||||||
$sql=mysqli_query($consulta,$link);
|
$sql=mysqli_query($consulta,$link);
|
||||||
if (mysql_num_rows($sql)!='0'){
|
if (mysqli_num_rows($sql)!='0'){
|
||||||
while( $row = mysql_fetch_array( $sql ) ) {
|
while( $row = mysqli_fetch_array( $sql ) ) {
|
||||||
if($row[color] !=='') {$color = "$row[color]";}else{$color="";}
|
if($row[color] !=='') {$color = "$row[color]";}else{$color="";}
|
||||||
$resultado .= "$row[label]:$row[valor] $color ;\n";
|
$resultado .= "$row[label]:$row[valor] $color ;\n";
|
||||||
}
|
}
|
||||||
|
@ -1,404 +1,172 @@
|
|||||||
body {overflow-x:hidden!important;}
|
* {
|
||||||
|
margin: 0;
|
||||||
#cabecera-botonera-admin {
|
padding: 0;
|
||||||
background-color: #777677;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
.btn-botonera-admin {
|
background: #222;
|
||||||
margin-left: 20px;
|
font-family: Georgia, serif;
|
||||||
margin-right: 20px;
|
color: #fff;
|
||||||
border-left: 1px solid white;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#dates a {
|
||||||
#botonera-admin,
|
color: gray;
|
||||||
#botonera-admin>a {
|
text-decoration: none;
|
||||||
color: white !important;
|
-webkit-transition: 0.5s;
|
||||||
|
-moz-transition: 0.5s;
|
||||||
|
-o-transition: 0.5s;
|
||||||
|
-ms-transition: 0.5s;
|
||||||
|
transition: 0.5s;
|
||||||
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
#dates a:hover,
|
||||||
.btn-botonera-admin:hover {
|
#dates a.selected {
|
||||||
background-color: black;
|
color: red;
|
||||||
}
|
font-size: 18px;
|
||||||
|
}
|
||||||
.btn.btn-botonera-admin:hover {
|
/*
|
||||||
color: white !important;
|
h1,h2,h4,h5,h6 {
|
||||||
}
|
|
||||||
|
|
||||||
.intro-social-buttons {
|
|
||||||
padding-top: 10px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#botonera_landing {
|
|
||||||
display: inline-flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
.boton_land {
|
|
||||||
margin-left: 3px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cabecera {
|
|
||||||
padding-bottom: 30px;
|
|
||||||
padding-left: 80px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#logo_cabecera {
|
|
||||||
max-width: 60% !important;
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
#encabezado_proyecto {
|
|
||||||
padding-top: 30px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.thumbnail {
|
|
||||||
height: 100% !important;
|
|
||||||
overflow-y: auto;
|
|
||||||
overflow-x: hidden;
|
|
||||||
padding: 0px 0px 70px 0px;;
|
|
||||||
border:none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.box-secciones {
|
|
||||||
/* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
|
|
||||||
transition: all 0.3s cubic-bezier(.25, .8, .25, 1);*/
|
|
||||||
border-radius: 0px !important;
|
|
||||||
padding: 50px;
|
|
||||||
border-bottom: 1px solid lightgrey;
|
|
||||||
}
|
|
||||||
|
|
||||||
.box-secciones:hover {
|
|
||||||
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
|
|
||||||
}
|
|
||||||
|
|
||||||
.img-secciones {
|
|
||||||
max-height: 250px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#buscador_centro {
|
|
||||||
display: inline-flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
#buscador_blog {
|
|
||||||
display: inline-flex !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#fh5co-footer{
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* nube de etiquetas */
|
|
||||||
|
|
||||||
div.etiquetas {
|
|
||||||
/* font-family: verdana,arial,helvetica;
|
|
||||||
font-size:8pt;
|
|
||||||
*/
|
|
||||||
padding: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.etiquetas span {
|
|
||||||
float: left;
|
|
||||||
margin: 0 3px 0 3px;
|
|
||||||
height: 20pt;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.etiquetatam1 {
|
|
||||||
font-size: 110%;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.etiquetatam2 {
|
|
||||||
font-size: 120%;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.etiquetatam3 {
|
|
||||||
font-size: 130%;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.etiquetatam4 {
|
|
||||||
font-size: 140%;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.etiquetatam5 {
|
|
||||||
font-size: 150%;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.etiquetatam6 {
|
|
||||||
font-size: 160%;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.etiquetatam7 {
|
|
||||||
font-size: 170%;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.etiquetatam8 {
|
|
||||||
font-size: 180%;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.etiquetatam9 {
|
|
||||||
font-size: 250%;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.etiquetatam10 {
|
|
||||||
font-size: 300%;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* nube de etiquetas */
|
|
||||||
|
|
||||||
.drop-up {
|
|
||||||
top: auto;
|
|
||||||
bottom: 100% !important;
|
|
||||||
|
|
||||||
overflow: visible;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dropdown-menu {
|
|
||||||
min-width: 300px;
|
|
||||||
padding: 3px;
|
|
||||||
z-index: 99999;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar .navbar-nav {
|
|
||||||
display: inline-block;
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar .navbar-collapse .navbar-principal {
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
height: 30px;
|
color: #ccc;
|
||||||
margin-top: -13px;
|
text-shadow: #000 1px 1px 2px;
|
||||||
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
h1 {
|
||||||
.navbar-principal>li>a,
|
font-size: 18px;
|
||||||
{
|
}
|
||||||
padding-top: 0px !important;
|
h2 {
|
||||||
padding-bottom: 0 !important;
|
font-size: 14px;
|
||||||
height: 30px;
|
}
|
||||||
margin-top: -13px;
|
.sociales {
|
||||||
|
text-align: center;
|
||||||
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-principal {
|
|
||||||
min-height: 30px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.topnav {
|
|
||||||
width: 100px !important;
|
|
||||||
display: inline;
|
|
||||||
height: 30px;
|
|
||||||
padding-top: -10px !important;
|
|
||||||
padding-bottom: 0 !important;
|
|
||||||
height: 30px;
|
|
||||||
background: none;
|
|
||||||
border: 0px;
|
|
||||||
-webkit-box-shadow: none;
|
|
||||||
-moz-box-shadow: none;
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*width:80px; background: none; border:0px; -webkit-box-shadow: none;
|
|
||||||
-moz-box-shadow: none;
|
|
||||||
box-shadow: none;
|
|
||||||
*/
|
*/
|
||||||
|
#timeline {
|
||||||
|
width: 95%;
|
||||||
|
height: 500px;
|
||||||
|
overflow: hidden;
|
||||||
|
margin: 100px auto;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
@media all {
|
|
||||||
div.saltopagina {
|
|
||||||
display: none;
|
|
||||||
}
|
}
|
||||||
}
|
#dates {
|
||||||
|
width: 800px;
|
||||||
@media print {
|
height: 60px;
|
||||||
div.saltopagina {
|
overflow: hidden;
|
||||||
display: block;
|
background: url('timeline/dot.gif') left 45px repeat-x;
|
||||||
page-break-before: always;
|
|
||||||
}
|
}
|
||||||
div.noprint {
|
#dates li {
|
||||||
display: none;
|
list-style: none;
|
||||||
}
|
float: left;
|
||||||
}
|
width: 100px;
|
||||||
|
height: 50px;
|
||||||
<!-- ESTILOS PRIORITARIOS -->.modal-dialog {
|
font-size: 24px;
|
||||||
width: 95% !important;
|
|
||||||
height: auto;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modal-lg {
|
|
||||||
width: 98% !important;
|
|
||||||
height: auto;
|
|
||||||
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modal-xs {
|
|
||||||
width: 40% !important;
|
|
||||||
height: auto;
|
|
||||||
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modal-content {
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modal-body {
|
|
||||||
max-height: calc(100vh - 300px);
|
|
||||||
min-height: calc(100vh - 300px);
|
|
||||||
overflow-y: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
fieldset.fieldset-borde {
|
|
||||||
border: 2px solid #EDEDED !important;
|
|
||||||
border-radius: 3px;
|
|
||||||
padding: 0 1.4em 1.4em 1.4em !important;
|
|
||||||
margin: 0 0 1.5em 0 !important;
|
|
||||||
-webkit-box-shadow: 0px 0px 0px 0px #000;
|
|
||||||
box-shadow: 0px 0px 0px 0px #000;
|
|
||||||
}
|
|
||||||
|
|
||||||
legend.legend-area {
|
|
||||||
font-size: 1.2em !important;
|
|
||||||
font-weight: bold !important;
|
|
||||||
text-align: left !important;
|
|
||||||
width: auto;
|
|
||||||
padding: 0 10px;
|
|
||||||
border-bottom: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fh5co-post-entry article h2 {
|
|
||||||
font-size: 28px;
|
|
||||||
!important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#fh5co-offcanvas .fh5co-bio img {
|
|
||||||
border-radius: 10px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
fieldset.fieldset-borde {
|
|
||||||
border: 2px solid #EDEDED !important;
|
|
||||||
border-radius: 3px;
|
|
||||||
padding: 0 1.4em 1.4em 1.4em !important;
|
|
||||||
margin: 0 0 1.5em 0 !important;
|
|
||||||
-webkit-box-shadow: 0px 0px 0px 0px #000;
|
|
||||||
box-shadow: 0px 0px 0px 0px #000;
|
|
||||||
}
|
|
||||||
|
|
||||||
legend.legend-area {
|
|
||||||
font-size: 1.2em !important;
|
|
||||||
font-weight: bold !important;
|
|
||||||
text-align: left !important;
|
|
||||||
width: auto;
|
|
||||||
padding: 0 10px;
|
|
||||||
border-bottom: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*RESPONSIVE*/
|
|
||||||
|
|
||||||
@media only screen and (min-width: 1200px) {
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 991px) {
|
|
||||||
#encabezado_proyecto {
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding-top: 0px !important;
|
background: url('timeline/biggerdot.png') center bottom no-repeat;
|
||||||
|
}
|
||||||
|
#dates a {
|
||||||
|
line-height: 18px;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
}
|
||||||
|
#dates .selected {
|
||||||
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#issues {
|
||||||
#logo_cabecera {
|
width: 800px;
|
||||||
max-width: 100% !important;
|
height: 500px;
|
||||||
padding-top: 0px !important;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
#buscador_blog {
|
#issues li {
|
||||||
padding: 0px;;
|
width: 900px;
|
||||||
|
height: 500px;
|
||||||
|
list-style: none;
|
||||||
|
float: left;
|
||||||
}
|
}
|
||||||
}
|
#issues li.selected img {
|
||||||
|
-webkit-transform: scale(1.1,1.1);
|
||||||
|
-moz-transform: scale(1.1,1.1);
|
||||||
|
-o-transform: scale(1.1,1.1);
|
||||||
|
-ms-transform: scale(1.1,1.1);
|
||||||
|
transform: scale(1.1,1.1);
|
||||||
|
}
|
||||||
|
#issues li img {
|
||||||
|
float: left;
|
||||||
|
margin: 10px 30px 10px 50px;
|
||||||
|
background: transparent;
|
||||||
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; /* IE 8 */
|
||||||
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);/* IE 6 & 7 */
|
||||||
|
zoom: 1;
|
||||||
|
-webkit-transition: all 2s ease-in-out;
|
||||||
|
-moz-transition: all 2s ease-in-out;
|
||||||
|
-o-transition: all 2s ease-in-out;
|
||||||
|
-ms-transition: all 2s ease-in-out;
|
||||||
|
transition: all 2s ease-in-out;
|
||||||
|
-webkit-transform: scale(0.7,0.7);
|
||||||
|
-moz-transform: scale(0.7,0.7);
|
||||||
|
-o-transform: scale(0.7,0.7);
|
||||||
|
-ms-transform: scale(0.7,0.7);
|
||||||
|
transform: scale(0.7,0.7);
|
||||||
|
}
|
||||||
|
#issues li h1 {
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
font-size: 48px;
|
||||||
.modal-body {
|
margin: 20px 0;
|
||||||
max-height: calc(100vh - 100px) !important;
|
color: red;
|
||||||
min-height: calc(100vh - 100px) !important;
|
/*text-shadow: #000 1px 1px 2px;*/
|
||||||
|
}
|
||||||
|
#issues li p {
|
||||||
|
font-size: 14px;
|
||||||
|
margin-right: 70px;
|
||||||
|
font-weight: normal;
|
||||||
|
line-height: 22px;
|
||||||
|
/* text-shadow: #000 1px 1px 2px;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
#texto_articulo{
|
#grad_left,
|
||||||
padding: 0px !important;
|
#grad_right {
|
||||||
}
|
width: 100px;
|
||||||
|
height: 500px;
|
||||||
.box-secciones {
|
position: absolute;
|
||||||
padding: 5px !important;
|
top: 0;
|
||||||
}
|
|
||||||
|
|
||||||
#menu_tupale {
|
|
||||||
background-color: #dfdfdf;
|
|
||||||
}
|
}
|
||||||
.btn-botonera-admin {
|
#grad_left {
|
||||||
margin-left: 0px;
|
left: 0;
|
||||||
margin-right: 0px;
|
/* background: url('timeline/grad_left.png') repeat-y;*/
|
||||||
border-left: none;
|
}
|
||||||
|
#grad_right {
|
||||||
|
right: 0;
|
||||||
|
/* background: url('timeline/grad_right.png') repeat-y;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-menu>li>a {
|
#next,
|
||||||
color: #333 !important;
|
#prev {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
font-size: 70px;
|
||||||
|
top: 170px;
|
||||||
|
width: 22px;
|
||||||
|
height: 38px;
|
||||||
|
background-position: 0 0;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
text-indent: -9999px;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
#next:hover,
|
||||||
.thumbnail {
|
#prev:hover {
|
||||||
height: 100%;
|
background-position: 0 -76px;
|
||||||
}
|
}
|
||||||
|
#next {
|
||||||
#secciones,
|
right: 0;
|
||||||
.articulo_cuadro {
|
background-image: url('timeline/next.png');
|
||||||
padding: 0px;
|
|
||||||
}
|
}
|
||||||
#btn_agregar {
|
#prev {
|
||||||
margin-bottom: 3px;
|
left: 0;
|
||||||
|
background-image: url('timeline/prev.png');
|
||||||
}
|
}
|
||||||
|
#next.disabled,
|
||||||
#btn_filtro{
|
#prev.disabled {
|
||||||
margin-bottom: 3px;
|
opacity: 0.2;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@media (max-width: 480px) {
|
|
||||||
#logo_cabecera {
|
|
||||||
max-width: 100% !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cabecera {
|
|
||||||
padding-bottom: 30px;
|
|
||||||
padding-left: 0px !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*FIN responsive*/
|
|
0
milfs/funciones/.giosaveXCKCCY
Normal file
0
milfs/funciones/.giosaveXCKCCY
Normal file
8047
milfs/funciones/.goutputstream-05TT7X
Normal file
8047
milfs/funciones/.goutputstream-05TT7X
Normal file
File diff suppressed because it is too large
Load Diff
@ -126,13 +126,13 @@ $consulta ="SELECT * FROM form_datos WHERE $w_form contenido like '%%$valor%%'
|
|||||||
$link=Conectarse();
|
$link=Conectarse();
|
||||||
mysqli_query("SET NAMES 'utf8'");
|
mysqli_query("SET NAMES 'utf8'");
|
||||||
$sql=mysqli_query($consulta,$link);
|
$sql=mysqli_query($consulta,$link);
|
||||||
if (mysql_num_rows($sql)!=0){
|
if (mysqli_num_rows($sql)!=0){
|
||||||
mysql_data_seek($sql, 0);
|
mysqli_data_seek($sql, 0);
|
||||||
$fila=1;
|
$fila=1;
|
||||||
$divider=1;
|
$divider=1;
|
||||||
$cols = (12/$divider);
|
$cols = (12/$divider);
|
||||||
$i =0;
|
$i =0;
|
||||||
while( $row = mysql_fetch_array( $sql ) ) {
|
while( $row = mysqli_fetch_array( $sql ) ) {
|
||||||
if($i % $divider==0) {
|
if($i % $divider==0) {
|
||||||
|
|
||||||
$encontrados .= "
|
$encontrados .= "
|
||||||
@ -189,17 +189,17 @@ $consulta_total= "SELECT * FROM form_datos WHERE form_id= '$id_form' $w_filtro G
|
|||||||
$consulta= "SELECT * FROM form_datos WHERE form_id= '$id_form' $w_filtro GROUP BY control LIMIT $inicio , $limite";
|
$consulta= "SELECT * FROM form_datos WHERE form_id= '$id_form' $w_filtro GROUP BY control LIMIT $inicio , $limite";
|
||||||
$link=Conectarse();
|
$link=Conectarse();
|
||||||
mysqli_query("SET NAMES 'utf8'");
|
mysqli_query("SET NAMES 'utf8'");
|
||||||
//mysql_real_escape_string($consulta);
|
//mysqli_real_escape_string($link,$consulta);
|
||||||
$sql_total=mysqli_query($consulta_total,$link);
|
$sql_total=mysqli_query($consulta_total,$link);
|
||||||
$total = mysql_num_rows($sql_total);
|
$total = mysqli_num_rows($sql_total);
|
||||||
$sql=mysqli_query($consulta,$link);
|
$sql=mysqli_query($consulta,$link);
|
||||||
$descripcion = remplacetas('form_id','id',$id_form,'descripcion',"") ;
|
$descripcion = remplacetas('form_id','id',$id_form,'descripcion',"") ;
|
||||||
$descripcion = " $descripcion[0]";
|
$descripcion = " $descripcion[0]";
|
||||||
$buscador = buscar_datos("","$id_form","$plantilla","grid_resultado");
|
$buscador = buscar_datos("","$id_form","$plantilla","grid_resultado");
|
||||||
$contenido = "<div class='container-fluid'>$descripcion $buscador</div> ";
|
$contenido = "<div class='container-fluid'>$descripcion $buscador</div> ";
|
||||||
|
|
||||||
if (mysql_num_rows($sql)!=0){
|
if (mysqli_num_rows($sql)!=0){
|
||||||
mysql_data_seek($sql, 0);
|
mysqli_data_seek($sql, 0);
|
||||||
$fila=1;
|
$fila=1;
|
||||||
if($divider =="") {
|
if($divider =="") {
|
||||||
$divider=3;
|
$divider=3;
|
||||||
@ -207,7 +207,7 @@ $divider=3;
|
|||||||
$cols = (12/$divider);
|
$cols = (12/$divider);
|
||||||
$i =0;
|
$i =0;
|
||||||
|
|
||||||
while( $row = mysql_fetch_array( $sql ) ) {
|
while( $row = mysqli_fetch_array( $sql ) ) {
|
||||||
if($i % $divider==0) {
|
if($i % $divider==0) {
|
||||||
|
|
||||||
$contenido .= "
|
$contenido .= "
|
||||||
|
9027
milfs/funciones/funciones.chupacabras.php
Normal file
9027
milfs/funciones/funciones.chupacabras.php
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -694,8 +694,8 @@ if($tipo =='edit' AND ($_SESSION['equipo'] !== $equipo[0] )){
|
|||||||
return $respuesta;
|
return $respuesta;
|
||||||
|
|
||||||
if($tipo=="respuesta") { $form_respuesta = "respuesta";}else {$form_respuesta="";}
|
if($tipo=="respuesta") { $form_respuesta = "respuesta";}else {$form_respuesta="";}
|
||||||
$impresion = formulario_areas($datos,"$id","$tipo","$form_respuesta","$opciones");
|
$impresion = formulario_areas($datos,"$id","$tipo","$form_respuesta","$opciones",'','');
|
||||||
$cantidad_areas = formulario_areas('',"$id","cantidad","$form_respuesta","$opciones");
|
$cantidad_areas = formulario_areas('',"$id","cantidad","$form_respuesta","$opciones",'','');
|
||||||
$formulario_nombre = remplacetas('form_id','id',$id,'nombre','') ;
|
$formulario_nombre = remplacetas('form_id','id',$id,'nombre','') ;
|
||||||
$formulario_descripcion = remplacetas('form_id','id',$id,'descripcion','') ;
|
$formulario_descripcion = remplacetas('form_id','id',$id,'descripcion','') ;
|
||||||
$muestra_form = "
|
$muestra_form = "
|
||||||
@ -7866,7 +7866,7 @@ $xajax->registerFunction("parametrizacion_titulo");
|
|||||||
function mostrar_modal($form,$control,$plantilla){
|
function mostrar_modal($form,$control,$plantilla){
|
||||||
$respuesta = new xajaxResponse('utf-8');
|
$respuesta = new xajaxResponse('utf-8');
|
||||||
if( $control == "") {
|
if( $control == "") {
|
||||||
$datos = formulario_areas('',$form,"");
|
$datos = formulario_areas('',$form,"",'','','','');
|
||||||
}else {
|
}else {
|
||||||
$datos = contenido_mostrar("$form","$control",'',"$plantilla");
|
$datos = contenido_mostrar("$form","$control",'',"$plantilla");
|
||||||
}
|
}
|
||||||
@ -8304,7 +8304,7 @@ $control_original = $control;
|
|||||||
if($control =="") {
|
if($control =="") {
|
||||||
$control = md5(rand(1,99999999).microtime());
|
$control = md5(rand(1,99999999).microtime());
|
||||||
}
|
}
|
||||||
$campos = formulario_areas('',$form_id,'campos');
|
$campos = formulario_areas('',$form_id,'campos','','','','');
|
||||||
$formulario ="
|
$formulario ="
|
||||||
<input type='hidden' id='$campo_remitente"."[0]' name='$campo_remitente"."[0]' value='$_SESSION[usuario_milfs]'>
|
<input type='hidden' id='$campo_remitente"."[0]' name='$campo_remitente"."[0]' value='$_SESSION[usuario_milfs]'>
|
||||||
<input type='hidden' id='tipo' name='tipo' value='solocampos'>
|
<input type='hidden' id='tipo' name='tipo' value='solocampos'>
|
||||||
@ -8401,7 +8401,7 @@ if($control =="") {
|
|||||||
$mensajes = mysqli_query($link,$consulta);
|
$mensajes = mysqli_query($link,$consulta);
|
||||||
// $destinatario ="$campo_destinatario"."[0]";
|
// $destinatario ="$campo_destinatario"."[0]";
|
||||||
// $para = buscador_campo("$campo_destinatario","$form_id","","$destinatario","","");
|
// $para = buscador_campo("$campo_destinatario","$form_id","","$destinatario","","");
|
||||||
$campos = formulario_areas('',$form_id,'campos');
|
$campos = formulario_areas('',$form_id,'campos','','','','');
|
||||||
$formulario ="
|
$formulario ="
|
||||||
<input type='hidden' id='$campo_remitente"."[0]' name='$campo_remitente"."[0]' value='$_SESSION[usuario_milfs]'>
|
<input type='hidden' id='$campo_remitente"."[0]' name='$campo_remitente"."[0]' value='$_SESSION[usuario_milfs]'>
|
||||||
<input type='hidden' id='tipo' name='tipo' value='solocampos'>
|
<input type='hidden' id='tipo' name='tipo' value='solocampos'>
|
||||||
@ -8792,7 +8792,7 @@ elseif($tipo=='registrarse') {
|
|||||||
return $respuesta;
|
return $respuesta;
|
||||||
|
|
||||||
}
|
}
|
||||||
$campos = formulario_areas('',$form_id,'campos');
|
$campos = formulario_areas('',$form_id,'campos','','','','');
|
||||||
|
|
||||||
$boton ="
|
$boton ="
|
||||||
<button id='boton_registro' href='#' class='btn btn-success btn-block'
|
<button id='boton_registro' href='#' class='btn btn-success btn-block'
|
||||||
@ -9341,7 +9341,7 @@ $xajax->registerFunction("insertar_registro");
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
function formulario_area_campos($perfil,$area,$control) {
|
function formulario_area_campos($perfil,$area,$control,$ubicacion) {
|
||||||
$tipo="";
|
$tipo="";
|
||||||
$control_edit ="$control";
|
$control_edit ="$control";
|
||||||
$solo_campos ="";
|
$solo_campos ="";
|
||||||
@ -9368,9 +9368,9 @@ if (mysqli_num_rows($sql)!='0'){
|
|||||||
//if($row['campo_tipo'] =="24") { $row['multiple'] = "1";}else {}
|
//if($row['campo_tipo'] =="24") { $row['multiple'] = "1";}else {}
|
||||||
//if($row['multiple'] =="1" AND $tipo =='edit'){
|
//if($row['multiple'] =="1" AND $tipo =='edit'){
|
||||||
if($row['multiple'] =="1" ){
|
if($row['multiple'] =="1" ){
|
||||||
$campos .= "".formulario_campos_render_multiple($row['id_campo'],$perfil,$control_edit);
|
$campos .= "".formulario_campos_render_multiple($row['id_campo'],$perfil,$control_edit,$ubicacion);
|
||||||
}else{
|
}else{
|
||||||
$campos .= "".formulario_campos_render($row['id_campo'],$perfil,$control_edit,'','');
|
$campos .= "".formulario_campos_render($row['id_campo'],$perfil,$control_edit,'','',"$ubicacion");
|
||||||
//$campos .= "".formulario_campos_render_multiple($row['id_campo'],$perfil,$control_edit);
|
//$campos .= "".formulario_campos_render_multiple($row['id_campo'],$perfil,$control_edit);
|
||||||
}
|
}
|
||||||
$muestra_form .= "$campos $obligatorio ";
|
$muestra_form .= "$campos $obligatorio ";
|
||||||
@ -9387,12 +9387,15 @@ $resultado = "$muestra_form ";
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function formulario_areas($metadatos,$perfil,$tipo,$form_respuesta,$control_respuesta){
|
function formulario_areas($metadatos,$perfil,$tipo,$form_respuesta,$control_respuesta,$ubicacion,$extra){
|
||||||
$id="";
|
$id="";
|
||||||
$resultado_campos ="";
|
$resultado_campos ="";
|
||||||
|
$resultado_solo_campos ="";
|
||||||
$subir_imagen ="";
|
$subir_imagen ="";
|
||||||
$campo_imagen_nombre ="";
|
$campo_imagen_nombre ="";
|
||||||
$imagen="";
|
$imagen="";
|
||||||
|
$script="";
|
||||||
|
$controladores="";
|
||||||
$muestra_form="";
|
$muestra_form="";
|
||||||
if($form_respuesta =='respuesta'){$control = $control_respuesta;}
|
if($form_respuesta =='respuesta'){$control = $control_respuesta;}
|
||||||
//elseif($form_respuesta =='edicion'){$control = $control_respuesta;}
|
//elseif($form_respuesta =='edicion'){$control = $control_respuesta;}
|
||||||
@ -9482,7 +9485,7 @@ while( $row = mysqli_fetch_array( $sql ) ) {
|
|||||||
|
|
||||||
//$producto = remplacetas('farmacia_cum','id',$row[id_producto],'fabricante_importador') ;
|
//$producto = remplacetas('farmacia_cum','id',$row[id_producto],'fabricante_importador') ;
|
||||||
///// para pasar el parametro de medicamentos al formulario no pos se adiciona ".func_get_arg(2)."
|
///// para pasar el parametro de medicamentos al formulario no pos se adiciona ".func_get_arg(2)."
|
||||||
$campos = formulario_area_campos($perfil,$row['campo_area'],"$control_edit");
|
$campos = formulario_area_campos($perfil,$row['campo_area'],"$control_edit",$ubicacion);
|
||||||
if($fila==1) {$activo='active'; $anterior="";}else{$activo=''; $anterior ="<a class='btn btn-default btn-responsive prev ' href='#'><i class='fa fa-backward' aria-hidden='true'></i> Anterior</a>";}
|
if($fila==1) {$activo='active'; $anterior="";}else{$activo=''; $anterior ="<a class='btn btn-default btn-responsive prev ' href='#'><i class='fa fa-backward' aria-hidden='true'></i> Anterior</a>";}
|
||||||
if($fila == $cantidad) { $boton="
|
if($fila == $cantidad) { $boton="
|
||||||
|
|
||||||
@ -10047,6 +10050,7 @@ $xajax->registerFunction("buscador_base");
|
|||||||
function buscador_select_base($id_campo,$form_id,$valor,$name,$control,$tipo){
|
function buscador_select_base($id_campo,$form_id,$valor,$name,$control,$tipo){
|
||||||
$div ="div_buscador_base_$name";
|
$div ="div_buscador_base_$name";
|
||||||
$resultado="";
|
$resultado="";
|
||||||
|
$where="";
|
||||||
$respuesta = new xajaxResponse('utf-8');
|
$respuesta = new xajaxResponse('utf-8');
|
||||||
if($valor=="") {
|
if($valor=="") {
|
||||||
$resultado="";
|
$resultado="";
|
||||||
@ -10073,13 +10077,15 @@ $claves = $claves[0];
|
|||||||
$descripcion2 = $descripcion2[1];
|
$descripcion2 = $descripcion2[1];
|
||||||
$descripcion3 = explode(':',$claves[4]) ;
|
$descripcion3 = explode(':',$claves[4]) ;
|
||||||
$descripcion3 = $descripcion3[1];
|
$descripcion3 = $descripcion3[1];
|
||||||
|
|
||||||
|
if(isset($claves[5] )){
|
||||||
$crue = explode(':',$claves[5]) ;
|
$crue = explode(':',$claves[5]) ;
|
||||||
//$crue = $crue[1];
|
//$crue = $crue[1];
|
||||||
if($crue[1] !=""){
|
if($crue[1] !=""){
|
||||||
$sentencia=str_replace('_'," ",$crue[1]);
|
$sentencia=str_replace('_'," ",$crue[1]);
|
||||||
|
|
||||||
$where = "AND $sentencia ";}
|
$where = "AND $sentencia ";}
|
||||||
|
}
|
||||||
if($valor !="") {
|
if($valor !="") {
|
||||||
//$valor_actual = contenido_mostrar("$formulario",$valor,'','5');
|
//$valor_actual = contenido_mostrar("$formulario",$valor,'','5');
|
||||||
}
|
}
|
||||||
@ -10686,7 +10692,7 @@ function formulario_embebido($id,$opciones){
|
|||||||
//$impresion = formulario_modal("$id",$form_respuesta,$control,"embebido");
|
//$impresion = formulario_modal("$id",$form_respuesta,$control,"embebido");
|
||||||
//($perfil,$tipo,$form_respuesta,$control_respuesta)
|
//($perfil,$tipo,$form_respuesta,$control_respuesta)
|
||||||
|
|
||||||
$impresion = formulario_areas('',$id,"embebido",'','');
|
$impresion = formulario_areas('',$id,"embebido",'','','','');
|
||||||
$formulario_nombre = remplacetas('form_id','id',$id,'nombre','') ;
|
$formulario_nombre = remplacetas('form_id','id',$id,'nombre','') ;
|
||||||
$formulario_descripcion = remplacetas('form_id','id',$id,'descripcion','') ;
|
$formulario_descripcion = remplacetas('form_id','id',$id,'descripcion','') ;
|
||||||
//$visitas= contar_visitas($id,'formulario') ;
|
//$visitas= contar_visitas($id,'formulario') ;
|
||||||
@ -10833,8 +10839,8 @@ if($tipo =='edit' AND ($_SESSION['equipo'] !== $equipo[0] )){
|
|||||||
// return "Hola mundo";}
|
// return "Hola mundo";}
|
||||||
|
|
||||||
if($tipo=="respuesta") { $form_respuesta = "respuesta";}else {$form_respuesta="";}
|
if($tipo=="respuesta") { $form_respuesta = "respuesta";}else {$form_respuesta="";}
|
||||||
$impresion = formulario_areas($datos,"$id","$tipo","$form_respuesta","$opciones");
|
$impresion = formulario_areas($datos,"$id","$tipo","$form_respuesta","$opciones",'','');
|
||||||
$cantidad_areas = formulario_areas('',"$id","cantidad","$form_respuesta","$opciones");
|
$cantidad_areas = formulario_areas('',"$id","cantidad","$form_respuesta","$opciones",'','');
|
||||||
$formulario_nombre = remplacetas('form_id','id',$id,'nombre','') ;
|
$formulario_nombre = remplacetas('form_id','id',$id,'nombre','') ;
|
||||||
$formulario_descripcion = remplacetas('form_id','id',$id,'descripcion','') ;
|
$formulario_descripcion = remplacetas('form_id','id',$id,'descripcion','') ;
|
||||||
//$visitas= contar_visitas($id,'formulario') ;
|
//$visitas= contar_visitas($id,'formulario') ;
|
||||||
@ -12295,6 +12301,8 @@ $xajax->registerFunction("editar_campo");
|
|||||||
|
|
||||||
|
|
||||||
function formulario_imprimir($id,$control,$tipo,$timestamp) {
|
function formulario_imprimir($id,$control,$tipo,$timestamp) {
|
||||||
|
|
||||||
|
$control_existe = remplacetas('form_datos','control',"$control",'id',"") ;
|
||||||
$contenido_full="";
|
$contenido_full="";
|
||||||
if(strlen($control) > 32) {
|
if(strlen($control) > 32) {
|
||||||
$identificador_original= $control;
|
$identificador_original= $control;
|
||||||
@ -12328,9 +12336,9 @@ if(is_numeric($tipo)) { $limit = "limit $tipo "; $class= "alert alert-info";}
|
|||||||
else{$sigue_restringido ="";}
|
else{$sigue_restringido ="";}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
if($control_existe[0] ==""){return $control;}
|
||||||
if($publico[0] != "1" and ( $_SESSION['id_empresa'] != $empresa_seguridad[0] ) AND $sigue_restringido !="" ) {
|
if($publico[0] != "1" and ( $_SESSION['id_empresa'] != $empresa_seguridad[0] ) AND $sigue_restringido !="" ) {
|
||||||
$resultado ="<div class='alert alert-danger'><h6>Acceso restringido <small>Esta aplicación contiene datos privados $id,$control,$tipo,$timestamp</small>
|
$resultado ="<div class='alert alert-danger'><h6>Acceso restringido <small>Esta aplicación contiene datos privados ($id),$control,$tipo,$timestamp </small>
|
||||||
<i class='glyphicon glyphicon-lock'></i></h6></div>";
|
<i class='glyphicon glyphicon-lock'></i></h6></div>";
|
||||||
return $resultado;
|
return $resultado;
|
||||||
|
|
||||||
@ -12427,7 +12435,7 @@ if (mysqli_num_rows($sql)!='0'){
|
|||||||
|
|
||||||
}
|
}
|
||||||
elseif($campo_tipo=='6'){
|
elseif($campo_tipo=='6'){
|
||||||
$contenido = imprimir_buscador_campo($row['id_campo'],$contenido);
|
$contenido = imprimir_buscador_campo($row['id_campo'],$contenido,'');
|
||||||
}
|
}
|
||||||
elseif($campo_tipo=='21'){
|
elseif($campo_tipo=='21'){
|
||||||
$contenido = imprimir_base($row['id_campo'],$contenido);
|
$contenido = imprimir_base($row['id_campo'],$contenido);
|
||||||
@ -12449,8 +12457,9 @@ if (mysqli_num_rows($sql)!='0'){
|
|||||||
$valor_actual = json_tabla("$contenido_array[9]","$row[id_campo]","$control");
|
$valor_actual = json_tabla("$contenido_array[9]","$row[id_campo]","$control");
|
||||||
$contenido=$valor_actual;
|
$contenido=$valor_actual;
|
||||||
}
|
}
|
||||||
//$link_url = "$_SESSION[site]milfs/archivos/?archivo=$contenido";
|
@include("includes/datos.php");
|
||||||
//$contenido = "<a id='link_$row[id_campo]_$row[orden]_formulario_imprimir' href='$link_url' target='_blank' >$contenido</a> $multiple ";
|
$link_url = "$url"."milfs/archivos/?archivo=$contenido";
|
||||||
|
$contenido = "<a id='link_$row[id_campo]_$row[orden]_formulario_imprimir' href='$link_url' target='_blank' >$contenido</a> $multiple ";
|
||||||
}
|
}
|
||||||
|
|
||||||
elseif($campo_tipo=="24"){
|
elseif($campo_tipo=="24"){
|
||||||
@ -14987,16 +14996,16 @@ return $respuesta;
|
|||||||
}
|
}
|
||||||
$xajax->registerFunction("campo_multiple");
|
$xajax->registerFunction("campo_multiple");
|
||||||
|
|
||||||
function subidor_generico($campo,$item,$form,$valor){
|
function subidor_generico($campo,$item,$form,$valor,$ubicacion){
|
||||||
$campo_mapa = buscar_campo_tipo($form,"14");
|
$campo_mapa = buscar_campo_tipo($form,"14");
|
||||||
$campo_mapa = $campo_mapa[0];
|
$campo_mapa = $campo_mapa[0];
|
||||||
|
|
||||||
$name= $campo."[".$item."]";
|
$name= $campo."[".$item."]";
|
||||||
$tipo_campo = remplacetas("form_campos","id","$campo","campo_tipo","");
|
$tipo_campo = remplacetas("form_campos","id","$campo","campo_tipo","");
|
||||||
if($tipo_campo[0] =='15'){
|
if($tipo_campo[0] =='15'){
|
||||||
$onchange= "comprueba_imagen('$campo','$item', (this.value),'$campo_mapa' ) ;";
|
$onchange= "comprueba_imagen('$campo','$item', (this.value),'$campo_mapa' ,'$ubicacion') ;";
|
||||||
}else {
|
}else {
|
||||||
$onchange= "comprueba_archivos('$campo','$item', (this.value),'$campo_mapa' ) ;";
|
$onchange= "comprueba_archivos('$campo','$item', (this.value),'$campo_mapa','$ubicacion' ) ;";
|
||||||
}
|
}
|
||||||
|
|
||||||
$resultado = "
|
$resultado = "
|
||||||
@ -15042,11 +15051,13 @@ $resultado = "
|
|||||||
return $resultado;
|
return $resultado;
|
||||||
}
|
}
|
||||||
|
|
||||||
function formulario_campos_render($id_campo,$id_form,$control,$item,$id_dato){
|
function formulario_campos_render($id_campo,$id_form,$control,$item,$id_dato,$ubicacion){
|
||||||
$cols ="";
|
$cols ="";
|
||||||
$style="";
|
$style="";
|
||||||
$campo_multiple="";
|
$campo_multiple="";
|
||||||
$render="";
|
$render="";$value="";
|
||||||
|
$boton="";
|
||||||
|
$script="";
|
||||||
//if($control ==="") {$control="vacio";}else {$control=$control;}
|
//if($control ==="") {$control="vacio";}else {$control=$control;}
|
||||||
if($id_form !="") {
|
if($id_form !="") {
|
||||||
$w_form = " AND form_contenido_campos.id_form = '$id_form' ";
|
$w_form = " AND form_contenido_campos.id_form = '$id_form' ";
|
||||||
@ -15083,7 +15094,7 @@ $multiple=mysqli_result($sql,0,"multiple");
|
|||||||
if($item=='') {$item ="0";}else {$item=$item;}
|
if($item=='') {$item ="0";}else {$item=$item;}
|
||||||
$clase_item="clase_$id_campo";
|
$clase_item="clase_$id_campo";
|
||||||
$value_original = $value;
|
$value_original = $value;
|
||||||
if($value[0] !='') {$value= "$value[0]";}ELSE{$value='';}
|
if(@$value[0] !='') {$value= "$value[0]";}ELSE{$value='';}
|
||||||
$campo_nombre=mysqli_result($sql,0,"campo_nombre");
|
$campo_nombre=mysqli_result($sql,0,"campo_nombre");
|
||||||
$campo_descripcion=mysqli_result($sql,0,"campo_descripcion");
|
$campo_descripcion=mysqli_result($sql,0,"campo_descripcion");
|
||||||
$campo_tipo_accion=mysqli_result($sql,0,"tipo_campo_accion");
|
$campo_tipo_accion=mysqli_result($sql,0,"tipo_campo_accion");
|
||||||
@ -15174,11 +15185,11 @@ elseif($campo_tipo_accion == 'email'){$render = "
|
|||||||
// $style ="display:hidden";
|
// $style ="display:hidden";
|
||||||
// $gps = leer_exif($file);
|
// $gps = leer_exif($file);
|
||||||
//$render= "<input value='$value' type='hidden' id='".$id_campo."[".$item."]' name='".$id_campo."[".$item."]' class='form-control' placeholder='$campo_descripcion' > "; //subir_imagen('',$id_campo[$item]);
|
//$render= "<input value='$value' type='hidden' id='".$id_campo."[".$item."]' name='".$id_campo."[".$item."]' class='form-control' placeholder='$campo_descripcion' > "; //subir_imagen('',$id_campo[$item]);
|
||||||
$render=subidor_generico($id_campo,$item,$id_form,$value);
|
$render=subidor_generico("$id_campo","$item","$id_form","$value","$ubicacion");
|
||||||
$cols='12'; }
|
$cols='12'; }
|
||||||
elseif($campo_tipo_accion == 'adjunto'){
|
elseif($campo_tipo_accion == 'adjunto'){
|
||||||
|
|
||||||
$render=subidor_generico($id_campo,$item,$id_form);
|
$render=subidor_generico("$id_campo","$item","$id_form","$value","$ubicacion");
|
||||||
|
|
||||||
$cols='12'; }
|
$cols='12'; }
|
||||||
|
|
||||||
@ -15303,7 +15314,7 @@ elseif($campo_tipo_accion == 'email'){$render = "
|
|||||||
$render = "$select ";}
|
$render = "$select ";}
|
||||||
elseif($campo_tipo_accion == 'vinculado'){
|
elseif($campo_tipo_accion == 'vinculado'){
|
||||||
$vinculado = remplacetas('form_campos_valores','id_form_campo',$id_campo,'campo_valor',"") ;
|
$vinculado = remplacetas('form_campos_valores','id_form_campo',$id_campo,'campo_valor',"") ;
|
||||||
$select = formulario_areas('',$vinculado[0],'campos');
|
$select = formulario_areas('',$vinculado[0],'campos','','','','');
|
||||||
$render = " <!-- vinculado -->
|
$render = " <!-- vinculado -->
|
||||||
$select
|
$select
|
||||||
<!-- fin vinculado --> ";
|
<!-- fin vinculado --> ";
|
||||||
@ -16049,7 +16060,7 @@ function mysql_seguridad($inp) {
|
|||||||
return $inp;
|
return $inp;
|
||||||
}
|
}
|
||||||
|
|
||||||
function formulario_campos_render_multiple($id_campo,$id_form,$control,$item) {
|
function formulario_campos_render_multiple($id_campo,$id_form,$control,$item,$ubicacion) {
|
||||||
|
|
||||||
$consulta = "SELECT *,GROUP_CONCAT(id ORDER by timestamp desc ) as identificador
|
$consulta = "SELECT *,GROUP_CONCAT(id ORDER by timestamp desc ) as identificador
|
||||||
FROM `form_datos`
|
FROM `form_datos`
|
||||||
@ -16070,7 +16081,7 @@ function formulario_campos_render_multiple($id_campo,$id_form,$control,$item) {
|
|||||||
|
|
||||||
/// banear para que el campo 24 no se comporte como multiple en la edicion
|
/// banear para que el campo 24 no se comporte como multiple en la edicion
|
||||||
# $resultado .= $identificador;
|
# $resultado .= $identificador;
|
||||||
$resultado .= formulario_campos_render($row['id_campo'],$id_form,$control,$row['orden'],$identificador);
|
$resultado .= formulario_campos_render($row['id_campo'],$id_form,$control,$row['orden'],$identificador,$ubicacion);
|
||||||
$item = $item + 1;
|
$item = $item + 1;
|
||||||
}
|
}
|
||||||
$boton= "<div style='' class='btn btn-link' onclick=\"xajax_campo_multiple('$id_campo','$id_form','','".($item+1)."') \">
|
$boton= "<div style='' class='btn btn-link' onclick=\"xajax_campo_multiple('$id_campo','$id_form','','".($item+1)."') \">
|
||||||
@ -16083,7 +16094,7 @@ function formulario_campos_render_multiple($id_campo,$id_form,$control,$item) {
|
|||||||
return $resultado;
|
return $resultado;
|
||||||
}
|
}
|
||||||
|
|
||||||
$resultado .= formulario_campos_render($id_campo,$id_form,'',$item,'')."";
|
$resultado .= formulario_campos_render($id_campo,$id_form,'',$item,'',$ubicacion)."";
|
||||||
|
|
||||||
return $resultado;
|
return $resultado;
|
||||||
}
|
}
|
||||||
|
8396
milfs/funciones/funciones_20151115.php
Normal file
8396
milfs/funciones/funciones_20151115.php
Normal file
File diff suppressed because it is too large
Load Diff
8278
milfs/funciones/funciones_20151117.php
Normal file
8278
milfs/funciones/funciones_20151117.php
Normal file
File diff suppressed because it is too large
Load Diff
10189
milfs/funciones/funciones_20160319.php
Normal file
10189
milfs/funciones/funciones_20160319.php
Normal file
File diff suppressed because it is too large
Load Diff
9399
milfs/funciones/funciones_back.php
Normal file
9399
milfs/funciones/funciones_back.php
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -15,12 +15,11 @@ if(!isset($_GET['file']) ){
|
|||||||
$dir="$path_images_secure/";
|
$dir="$path_images_secure/";
|
||||||
if ((!$file=realpath($dir.$_GET['file']))
|
if ((!$file=realpath($dir.$_GET['file']))
|
||||||
|| strpos($file,realpath($dir))!==0 || substr($file,-4)=='.php'){
|
|| strpos($file,realpath($dir))!==0 || substr($file,-4)=='.php'){
|
||||||
$size= substr($_GET['file'],0,3);
|
|
||||||
//header('HTTP/1.0 404 Not Found');
|
//header('HTTP/1.0 404 Not Found');
|
||||||
header("Location: ../sinimagen_".$size.".jpg");
|
header("Location: ../sinimagen.jpg?$dir");
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
$ref=$_SERVER['HTTP_REFERER'];
|
$ref=@$_SERVER['HTTP_REFERER'];
|
||||||
if (strpos($ref,'https://')===0 || strpos($ref,'https')!==0){
|
if (strpos($ref,'https://')===0 || strpos($ref,'https')!==0){
|
||||||
$mime=array(
|
$mime=array(
|
||||||
'jpg'=>'image/jpeg',
|
'jpg'=>'image/jpeg',
|
||||||
@ -28,7 +27,8 @@ if (strpos($ref,'https://')===0 || strpos($ref,'https')!==0){
|
|||||||
'mid'=>'audio/x-midi',
|
'mid'=>'audio/x-midi',
|
||||||
'wav'=>'audio/x-wav'
|
'wav'=>'audio/x-wav'
|
||||||
);
|
);
|
||||||
if($mime[substr($file,-3)] =='') {
|
|
||||||
|
if(@$mime[substr($file,-3)] =='') {
|
||||||
header('Location: ../pixel.png');
|
header('Location: ../pixel.png');
|
||||||
|
|
||||||
exit();
|
exit();
|
||||||
|
@ -1,20 +1,19 @@
|
|||||||
<?php
|
<?php
|
||||||
$usuario="root";
|
$usuario="root";
|
||||||
$password="toor";//
|
$password="toor";//
|
||||||
$servidor="p:localhost";
|
$servidor="localhost";
|
||||||
$db="tupale";
|
$db="galenux_troconis";
|
||||||
$path_instalacion ="/var/www/html/tupali/milfs";
|
$usuarios_sesion="GaleNUx_htroconis";
|
||||||
|
$path_instalacion ="/var/www/html/troconis/";
|
||||||
$path_images_secure ="/home/images_secure";
|
$path_images_secure ="/home/images_secure";
|
||||||
$url = "http://localhost//tupali/milfs/";
|
$url = "http://localhost/troconis/galenux/";
|
||||||
$site = "http://localhost/tupali/";
|
|
||||||
|
|
||||||
/// ESCAPAR LAS COMILLAS CON (\)
|
/// ESCAPAR LAS COMILLAS CON (\)
|
||||||
$codigo_analizador = " ";
|
$codigo_analizador = " ";
|
||||||
/// Depende de la variable http://php.net/upload-max-filesize o en el .htaccess
|
/// Depende de la variable http://php.net/upload-max-filesize o en el .htaccess
|
||||||
$upload_size = "30"; // Tamaño permitido para las imagenes en MB
|
$upload_size = "30"; // Tamaño permitido para las imagenes en MB
|
||||||
$mapbox_token = "pk.eyJ1IjoiZmNhc3Ryb3QiLCJhIjoiY2lnOWw1bmd1MG93eXVsbTJpcmluYTBxdCJ9.yG7C1rEH6-MpZBEEb68IVg";
|
$mapbox_token = "pk.eyJ1IjoiZmNhc3Ryb3QiLCJhIjoiY2lnOWw1bmd1MG93eXVsbTJpcmluYTBxdCJ9.yG7C1rEH6-MpZBEEb68IVg";
|
||||||
$tabla_autenticacion="usuarios";
|
$tabla_autenticacion="d9_users";
|
||||||
|
$site='';
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@ -0,0 +1,16 @@
|
|||||||
|
-- MySQL dump 10.13 Distrib 5.5.47, for debian-linux-gnu (x86_64)
|
||||||
|
--
|
||||||
|
-- Host: localhost Database: milfs
|
||||||
|
-- ------------------------------------------------------
|
||||||
|
-- Server version 5.5.47-0+deb8u1
|
||||||
|
|
||||||
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||||
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||||
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||||
|
/*!40101 SET NAMES utf8 */;
|
||||||
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
||||||
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
||||||
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
||||||
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
||||||
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
||||||
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
@ -15,37 +15,14 @@ else {
|
|||||||
|
|
||||||
// $ext = "novalida";
|
// $ext = "novalida";
|
||||||
$imagen=0;}
|
$imagen=0;}
|
||||||
|
|
||||||
|
|
||||||
$nombrecillo= $_REQUEST['nombrecillo'];
|
$nombrecillo= $_REQUEST['nombrecillo'];
|
||||||
$name = "$nombrecillo";
|
$name = "$nombrecillo";
|
||||||
$dir_subida = '/home/images_secure/';
|
$dir_subida = '/home/images_secure/';
|
||||||
$fichero_subido = $dir_subida ."full/".$name;
|
$fichero_subido = $dir_subida ."full/".$name;
|
||||||
//// extrar coordenadas del exif
|
|
||||||
|
|
||||||
$imagenX = $_FILES['fileUpload']['tmp_name'];
|
|
||||||
$coordenadas = leer_exif($imagenX);
|
|
||||||
//$link = "$_SESSION[url]mapero.php?lat=$coordenadas[lon]&lon=$coordenadas[lat]&zoom=16&id=$name";
|
|
||||||
if($coordenadas !='') {
|
|
||||||
$coordenadas = "$coordenadas"."&id=$_REQUEST[campo_mapa]"."[0]";
|
|
||||||
$alerta = "alert(' Se han detectado coordenadas en los metadatos de la imagen y se ubicará el mapa en ese lugar.');";
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
if (move_uploaded_file($_FILES["$campo"]['tmp_name'], $fichero_subido)) {
|
if (move_uploaded_file($_FILES["$campo"]['tmp_name'], $fichero_subido)) {
|
||||||
if($imagen==1) {
|
if($imagen==1) {
|
||||||
//// extrar coordenadas del exif
|
|
||||||
|
|
||||||
$imagenX = $_FILES["$campo"]['tmp_name'];
|
|
||||||
$coordenadas = leer_exif("$fichero_subido");
|
|
||||||
//$link = "$_SESSION[url]mapero.php?lat=$coordenadas[lon]&lon=$coordenadas[lat]&zoom=16&id=$name";
|
|
||||||
if($coordenadas !='') {
|
|
||||||
$coordenadas = "$coordenadas"."&id=$_REQUEST[campo_mapa]"."[0]";
|
|
||||||
$alerta = "alert(' Se han detectado coordenadas en los metadatos de la imagen y se ubicará el mapa en ese lugar.');";
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
echo miniaturizar($name,"150",$dir_subida);
|
echo miniaturizar($name,"150",$dir_subida);
|
||||||
echo miniaturizar($name,"300",$dir_subida);
|
echo miniaturizar($name,"300",$dir_subida);
|
||||||
echo miniaturizar($name,"600",$dir_subida);
|
echo miniaturizar($name,"600",$dir_subida);
|
||||||
@ -64,44 +41,6 @@ imagepng($thumb,$directorio.$width."/$file", 9);
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Convertir un string "1/123" a su representación float
|
|
||||||
function exif_float($value) {
|
|
||||||
$pos = strpos($value, '/');
|
|
||||||
if ($pos === false) return (float) $value;
|
|
||||||
$a = (float) substr($value, 0, $pos);
|
|
||||||
$b = (float) substr($value, $pos+1);
|
|
||||||
return ($b == 0) ? ($a) : ($a / $b);
|
|
||||||
}
|
|
||||||
|
|
||||||
function leer_exif($file){
|
|
||||||
//$file = "/var/www/html/milfs/images/gps.jpg";
|
|
||||||
$exif = exif_read_data( $file );
|
|
||||||
if ( !empty($exif['GPSLongitude']) && !empty($exif['GPSLatitude']) ) {
|
|
||||||
$d = (float) $exif['GPSLongitude'][0];
|
|
||||||
$m = exif_float($exif['GPSLongitude'][1] );
|
|
||||||
$s = exif_float( $exif['GPSLongitude'][2] );
|
|
||||||
|
|
||||||
$gps_longitude = (float) $d + $m/60 + $s/3600;
|
|
||||||
if ( $exif['GPSLongitudeRef'] == 'W')
|
|
||||||
$gps_longitude = -$gps_longitude;
|
|
||||||
|
|
||||||
$d = $exif['GPSLatitude'][0];
|
|
||||||
$m = exif_float($exif['GPSLatitude'][1] );
|
|
||||||
$s = exif_float( $exif['GPSLatitude'][2] );
|
|
||||||
|
|
||||||
$gps_latitude = (float) $d + $m/60 + $s/3600;
|
|
||||||
if ( $exif['GPSLatitudeRef'] == 'S')
|
|
||||||
$gps_latitude = -$gps_latitude;
|
|
||||||
if($gps_latitude !='') {
|
|
||||||
$resultado = "../mapa.php?lon=$gps_latitude&lat=$gps_longitude&zoom=18&exif=exif";
|
|
||||||
}else{$resultado ="";}
|
|
||||||
//$resultado = "$gps_longitude $gps_latitude";
|
|
||||||
|
|
||||||
return $resultado;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
session_start();
|
session_start();
|
||||||
if($_SESSION['grupo'] != "administrador") {
|
if($_SESSION['grupo'] != "administrador") {
|
||||||
|
@ -67,7 +67,8 @@ function loadArticle(pageNumber,id,plantilla,registros,scroll) {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
function comprueba_imagen(campo,item, archivo,campo_mapa) {
|
function comprueba_imagen(campo,item, archivo,campo_mapa,ubicacion) {
|
||||||
|
var ubicacion;
|
||||||
extensiones_permitidas = new Array('.gif', '.jpg', '.png', '.mp4', '.3gp', '.mov');
|
extensiones_permitidas = new Array('.gif', '.jpg', '.png', '.mp4', '.3gp', '.mov');
|
||||||
mierror = '';
|
mierror = '';
|
||||||
if (!archivo) {
|
if (!archivo) {
|
||||||
@ -90,7 +91,7 @@ function comprueba_imagen(campo,item, archivo,campo_mapa) {
|
|||||||
}else{
|
}else{
|
||||||
//submito!
|
//submito!
|
||||||
///alert ('Todo correcto. Voy a submitir el formulario.');
|
///alert ('Todo correcto. Voy a submitir el formulario.');
|
||||||
selectedFile(campo,item,campo_mapa);
|
selectedFile(campo,item,campo_mapa,ubicacion);
|
||||||
//uploadFile(campo,item);
|
//uploadFile(campo,item);
|
||||||
// formulario.submit();
|
// formulario.submit();
|
||||||
return 1;
|
return 1;
|
||||||
@ -101,8 +102,9 @@ function comprueba_imagen(campo,item, archivo,campo_mapa) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
function comprueba_archivos(campo,item, archivo,campo_mapa) {
|
function comprueba_archivos(campo,item, archivo,campo_mapa,ubicacion) {
|
||||||
extensiones_permitidas = new Array('.gif', '.jpg', '.png', '.pdf', '.txt', '.csv', '.mp3', '.mov', '.mp4', '.orf', '.gpx', '.json');
|
var ubicacion;
|
||||||
|
extensiones_permitidas = new Array('.gif', '.jpg', '.jpeg', '.png', '.pdf', '.txt', '.csv', '.mp3', '.mov', '.mp4', '.orf', '.gpx', '.json');
|
||||||
mierror = '';
|
mierror = '';
|
||||||
if (!archivo) {
|
if (!archivo) {
|
||||||
//Si no tengo archivo, es que no se ha seleccionado un archivo en el formulario
|
//Si no tengo archivo, es que no se ha seleccionado un archivo en el formulario
|
||||||
@ -124,7 +126,7 @@ function comprueba_archivos(campo,item, archivo,campo_mapa) {
|
|||||||
}else{
|
}else{
|
||||||
//submito!
|
//submito!
|
||||||
//alert ('Todo correcto. Voy a submitir el formulario.');
|
//alert ('Todo correcto. Voy a submitir el formulario.');
|
||||||
selectedFile(campo,item,campo_mapa);
|
selectedFile(campo,item,campo_mapa,ubicacion);
|
||||||
// formulario.submit();
|
// formulario.submit();
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
@ -135,8 +137,9 @@ function comprueba_archivos(campo,item, archivo,campo_mapa) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//// funciones upload_generico
|
//// funciones upload_generico
|
||||||
function selectedFile(campo,item,campo_mapa) {
|
function selectedFile(campo,item,campo_mapa,ubicacion) {
|
||||||
var campo;
|
var campo;
|
||||||
|
var ubicacion;
|
||||||
var item;
|
var item;
|
||||||
var nombre = campo+"["+item+"]";
|
var nombre = campo+"["+item+"]";
|
||||||
var archivoSeleccionado = document.getElementById(campo+"-"+item);
|
var archivoSeleccionado = document.getElementById(campo+"-"+item);
|
||||||
@ -160,7 +163,7 @@ function comprueba_archivos(campo,item, archivo,campo_mapa) {
|
|||||||
/// xmlHTTP.addEventListener("error", uploadFailed, false);
|
/// xmlHTTP.addEventListener("error", uploadFailed, false);
|
||||||
}else{
|
}else{
|
||||||
///alert("Todo buen");
|
///alert("Todo buen");
|
||||||
uploadFile(campo,item);
|
uploadFile(campo,item,ubicacion);
|
||||||
var divfileSize = document.getElementById('fileSize_'+nombre);
|
var divfileSize = document.getElementById('fileSize_'+nombre);
|
||||||
var divfileType = document.getElementById('fileType_'+nombre);
|
var divfileType = document.getElementById('fileType_'+nombre);
|
||||||
var divfileName = document.getElementById('fileName_'+nombre);
|
var divfileName = document.getElementById('fileName_'+nombre);
|
||||||
@ -185,9 +188,10 @@ function comprueba_archivos(campo,item, archivo,campo_mapa) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function uploadFile(campo,item) {
|
function uploadFile(campo,item,ubicacion) {
|
||||||
var campo;
|
var campo;
|
||||||
var item;
|
var item;
|
||||||
|
var ubicacion;
|
||||||
var nombre = campo+"["+item+"]";
|
var nombre = campo+"["+item+"]";
|
||||||
|
|
||||||
var archivoSeleccionado = document.getElementById(campo+"-"+item);
|
var archivoSeleccionado = document.getElementById(campo+"-"+item);
|
||||||
@ -200,9 +204,12 @@ function comprueba_archivos(campo,item, archivo,campo_mapa) {
|
|||||||
//document.getElementById(nombre).value=nombrecillo;
|
//document.getElementById(nombre).value=nombrecillo;
|
||||||
|
|
||||||
document.getElementById(nombre).value=nombrecillo;
|
document.getElementById(nombre).value=nombrecillo;
|
||||||
|
if(ubicacion =="externo"){
|
||||||
var url = "milfs/includes/upload_generico.php?nombrecillo="+nombrecillo+"&campo="+campo+"&item="+item;
|
var url = "../milfs/includes/upload_generico.php?nombrecillo="+nombrecillo+"&campo="+campo+"&item="+item+"&ubicacion="+ubicacion;
|
||||||
|
}else{
|
||||||
|
var url = "milfs/includes/upload_generico.php?nombrecillo="+nombrecillo+"&campo="+campo+"&item="+item+"&ubicacion="+ubicacion;
|
||||||
|
}
|
||||||
|
///alert(url);
|
||||||
var fd = new FormData();
|
var fd = new FormData();
|
||||||
fd.append(campo+"-"+item, file);
|
fd.append(campo+"-"+item, file);
|
||||||
|
|
||||||
@ -480,7 +487,7 @@ document.getElementById(val).className='sel';
|
|||||||
}
|
}
|
||||||
function pulsar(e) {
|
function pulsar(e) {
|
||||||
tecla = (document.all) ? e.keyCode : e.which;
|
tecla = (document.all) ? e.keyCode : e.which;
|
||||||
return (tecla != 13);
|
/// return (tecla != 13);
|
||||||
}
|
}
|
||||||
function limpia(Vcontenedor)
|
function limpia(Vcontenedor)
|
||||||
{
|
{
|
||||||
|
@ -43,16 +43,16 @@ $link=Conectarse();
|
|||||||
|
|
||||||
|
|
||||||
$sql = mysqli_query($consulta,$link) or die("error al ejecutar consulta $consulta ");
|
$sql = mysqli_query($consulta,$link) or die("error al ejecutar consulta $consulta ");
|
||||||
if (mysql_num_rows($sql)!='0'){
|
if (mysqli_num_rows($sql)!='0'){
|
||||||
$id = 1;
|
$id = 1;
|
||||||
$features = array();
|
$features = array();
|
||||||
while( $row = mysql_fetch_array( $sql ) ) {
|
while( $row = mysqli_fetch_array( $sql ) ) {
|
||||||
$marcador = array();
|
$marcador = array();
|
||||||
$propiedades = array();
|
$propiedades = array();
|
||||||
//$marcador["id"] = $id;
|
//$marcador["id"] = $id;
|
||||||
//$titulo = remplacetas("form_datos","control","$row[control]","contenido","id_campo ='28' AND timestamp ='$row[timestamp]'");
|
//$titulo = remplacetas("form_datos","control","$row[control]","contenido","id_campo ='28' AND timestamp ='$row[timestamp]'");
|
||||||
//$marcador["id"] = $id;
|
//$marcador["id"] = $id;
|
||||||
//$identificador=mysql_result($sql,0,"identificador");
|
//$identificador=mysqli_result($sql,0,"identificador");
|
||||||
$identificador = explode(',',$row[data]);
|
$identificador = explode(',',$row[data]);
|
||||||
$identificador = $identificador[0];
|
$identificador = $identificador[0];
|
||||||
$campos = explode(" ",$identificador);
|
$campos = explode(" ",$identificador);
|
||||||
|
@ -28,10 +28,10 @@ $link=Conectarse();
|
|||||||
|
|
||||||
|
|
||||||
$sql = mysqli_query($consulta,$link) or die("Error al ejecutar consulta en json.php");
|
$sql = mysqli_query($consulta,$link) or die("Error al ejecutar consulta en json.php");
|
||||||
if (mysql_num_rows($sql)!='0'){
|
if (mysqli_num_rows($sql)!='0'){
|
||||||
$id = 1;
|
$id = 1;
|
||||||
$features = array();
|
$features = array();
|
||||||
while( $row = mysql_fetch_array( $sql ) ) {
|
while( $row = mysqli_fetch_array( $sql ) ) {
|
||||||
$marcador = array();
|
$marcador = array();
|
||||||
$propiedades = array();
|
$propiedades = array();
|
||||||
|
|
||||||
|
@ -49,8 +49,8 @@ if($busqueda !=''){$busca ="AND contenido LIKE '$busqueda'";}Else{$busca ='';}
|
|||||||
<name>KML con Más de un punto</name>
|
<name>KML con Más de un punto</name>
|
||||||
<Folder>";
|
<Folder>";
|
||||||
|
|
||||||
mysql_data_seek($resultado, 0);
|
mysqli_data_seek($resultado, 0);
|
||||||
while ($fila = mysql_fetch_array($resultado)) {
|
while ($fila = mysqli_fetch_array($resultado)) {
|
||||||
$formulario_nombre = remplacetas('form_id','id',$fila[form_id],'nombre') ;
|
$formulario_nombre = remplacetas('form_id','id',$fila[form_id],'nombre') ;
|
||||||
$formulario_nombre = utf8_encode($formulario_nombre[0]);
|
$formulario_nombre = utf8_encode($formulario_nombre[0]);
|
||||||
$title = utf8_encode($fila[item_title]);
|
$title = utf8_encode($fila[item_title]);
|
||||||
@ -120,9 +120,9 @@ if($and !=''){$AND = "AND $and";}
|
|||||||
$consulta = "SELECT * FROM $tabla
|
$consulta = "SELECT * FROM $tabla
|
||||||
WHERE $campo = '$valor' $AND order by id DESC limit 1";
|
WHERE $campo = '$valor' $AND order by id DESC limit 1";
|
||||||
$sql=mysqli_query($consulta,$link);
|
$sql=mysqli_query($consulta,$link);
|
||||||
if (mysql_num_rows($sql)!='0'){
|
if (mysqli_num_rows($sql)!='0'){
|
||||||
$resultado[] = mysql_result($sql,0,$por);
|
$resultado[] = mysqli_result($sql,0,$por);
|
||||||
$resultado[] = mysql_result($sql,0,id);
|
$resultado[] = mysqli_result($sql,0,id);
|
||||||
$resultado[] = $consulta;
|
$resultado[] = $consulta;
|
||||||
}else{$resultado[0] = '';
|
}else{$resultado[0] = '';
|
||||||
$resultado[1] ="";
|
$resultado[1] ="";
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
return
|
return
|
||||||
array(
|
array(
|
||||||
"base_url" => "https://dev7.tupale.co/milfs/librerias/hybridauth/",
|
"base_url" => "https://tupale.co/milfs/librerias/hybridauth/",
|
||||||
"providers" => array(
|
"providers" => array(
|
||||||
// openid providers
|
// openid providers
|
||||||
"OpenID" => array(
|
"OpenID" => array(
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
if(isset($_REQUEST['debug'])) {ini_set('display_errors', 'On');}
|
|
||||||
/**
|
/**
|
||||||
* HybridAuth
|
* HybridAuth
|
||||||
* http://hybridauth.sourceforge.net | http://github.com/hybridauth/hybridauth
|
* http://hybridauth.sourceforge.net | http://github.com/hybridauth/hybridauth
|
||||||
@ -10,8 +9,8 @@ if(isset($_REQUEST['debug'])) {ini_set('display_errors', 'On');}
|
|||||||
// HybridAuth End Point
|
// HybridAuth End Point
|
||||||
// ------------------------------------------------------------------------
|
// ------------------------------------------------------------------------
|
||||||
|
|
||||||
require_once( "./Hybrid/Auth.php" );
|
require_once( "Hybrid/Auth.php" );
|
||||||
require_once( "./Hybrid/Endpoint.php" );
|
require_once( "Hybrid/Endpoint.php" );
|
||||||
|
|
||||||
Hybrid_Endpoint::process();
|
Hybrid_Endpoint::process();
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset=utf-8 />
|
<meta charset=utf-8 />
|
||||||
<title>Mapa tupale.co</title>
|
<title>Display latitude longitude on marker movement</title>
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.js"></script>
|
||||||
|
|
||||||
@ -18,32 +18,28 @@
|
|||||||
|
|
||||||
<div id='map'></div>
|
<div id='map'></div>
|
||||||
<?php
|
<?php
|
||||||
if ($_REQUEST['lat'] !='') {$lat=$_REQUEST['lat'];}else {$lat= "-72";}
|
if ($_REQUEST[lat] !='') {$lat=$_REQUEST[lat];}else {$lat= "-72";}
|
||||||
if ($_REQUEST['lon'] !='') {$lon=$_REQUEST['lon'];}else {$lon= "4";}
|
if ($_REQUEST[lon] !='') {$lon=$_REQUEST[lon];}else {$lon= "4";}
|
||||||
if ($_REQUEST['zoom'] !='') {$zoom=$_REQUEST['zoom'];}else {$zoom= "18";}
|
if ($_REQUEST[zoom] !='') {$zoom=$_REQUEST[zoom];}else {$zoom= "5";}
|
||||||
|
|
||||||
if($zoom <1) {$zoom ='12';}
|
|
||||||
?>
|
?>
|
||||||
<script>
|
<script>
|
||||||
var map = L.map('map').setView([<?php echo $lon ?>, <?php echo $lat ?>], <?php echo $zoom ?>);
|
var map = L.map('map')
|
||||||
|
.setView([<?php echo $lon ?>, <?php echo $lat ?>], <?php echo $zoom ?>);
|
||||||
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(map);
|
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(map);
|
||||||
<?php
|
<?php
|
||||||
if(!isset($_REQUEST['exif'])) { ?>
|
if(!isset($_REQUEST['exif'])) { ?>
|
||||||
|
|
||||||
function onLocationFound(e) {
|
function onLocationFound(e) {
|
||||||
var radius = e.accuracy / 2;
|
var radius = e.accuracy / 2;
|
||||||
var marker = L.marker(e.latlng,{draggable: true}).addTo(map)
|
var marker = L.marker(e.latlng,{draggable: true}).addTo(map)
|
||||||
L.circle(e.latlng, radius).addTo(map);
|
L.circle(e.latlng, radius).addTo(map);
|
||||||
var mapa = window.parent.document.getElementById('<?php echo $_REQUEST[id]?>');
|
var mapa = window.parent.document.getElementById('<?php echo $_REQUEST[id]?>');
|
||||||
//var m = e.latlng;
|
|
||||||
map.setView([e.latlng.lat,e.latlng.lng], <?php echo $zoom ?>);
|
|
||||||
marker.on('dragend', ondragend);
|
marker.on('dragend', ondragend);
|
||||||
ondragend();
|
ondragend();
|
||||||
//var z = 12;
|
|
||||||
function ondragend() {
|
function ondragend() {
|
||||||
var m = marker.getLatLng();
|
var m = marker.getLatLng();
|
||||||
var z = map.getZoom();
|
var z = map.getZoom();
|
||||||
if (z < '1' ) { var z = '12' ; }
|
|
||||||
mapa.value= m.lng+' '+m.lat+' '+z;
|
mapa.value= m.lng+' '+m.lat+' '+z;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -51,34 +47,13 @@ var mapa = window.parent.document.getElementById('<?php echo $_REQUEST[id]?>');
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
function onLocationError(e) {
|
|
||||||
|
|
||||||
|
|
||||||
var marker = L.marker([<?php echo $lon ?>,<?php echo $lat ?>],{draggable: true}).addTo(map);
|
|
||||||
//var mapa = window.parent.document.getElementById('<?php echo $_REQUEST[id]?>');
|
|
||||||
var mapa = window.parent.document.getElementById('<?php echo $_REQUEST[id]?>');
|
|
||||||
map.setView([<?php echo $lon ?>, <?php echo $lat ?>], <?php echo $zoom ?>);
|
|
||||||
marker.on('dragend', ondragend);
|
|
||||||
ondragend();
|
|
||||||
function ondragend() {
|
|
||||||
var m = marker.getLatLng();
|
|
||||||
var z = map.getZoom();
|
|
||||||
mapa.value= m.lng+' '+m.lat+' '+z;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
map.on('locationfound', onLocationFound);
|
map.on('locationfound', onLocationFound);
|
||||||
map.on('locationerror', onLocationError);
|
|
||||||
|
|
||||||
|
|
||||||
map.locate({setView: true, maxZoom: 16});
|
|
||||||
|
|
||||||
<?php } else{?>
|
|
||||||
|
|
||||||
|
|
||||||
|
<?php } ?>
|
||||||
|
function onLocationError(e) {
|
||||||
|
//alert(e.message);
|
||||||
var marker = L.marker([<?php echo $lon ?>,<?php echo $lat ?>],{draggable: true}).addTo(map);
|
var marker = L.marker([<?php echo $lon ?>,<?php echo $lat ?>],{draggable: true}).addTo(map);
|
||||||
var mapa = window.parent.document.getElementById('<?php echo $_REQUEST[id]?>');
|
var mapa = window.parent.document.getElementById('<?php echo $_REQUEST[id]?>');
|
||||||
|
|
||||||
map.setView([<?php echo $lon ?>, <?php echo $lat ?>], <?php echo $zoom ?>);
|
|
||||||
marker.on('dragend', ondragend);
|
marker.on('dragend', ondragend);
|
||||||
ondragend();
|
ondragend();
|
||||||
function ondragend() {
|
function ondragend() {
|
||||||
@ -86,10 +61,32 @@ function onLocationError(e) {
|
|||||||
var z = map.getZoom();
|
var z = map.getZoom();
|
||||||
mapa.value= m.lng+' '+m.lat+' '+z;
|
mapa.value= m.lng+' '+m.lat+' '+z;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
map.on('locationerror', onLocationError);
|
||||||
|
map.locate({setView: true, maxZoom: 16});
|
||||||
|
//var lat = window.parent.document.getElementById('lat');
|
||||||
|
//var lng = window.parent.document.getElementById('lon');
|
||||||
|
//var mapa = window.parent.document.getElementById('<?php echo $_REQUEST[id]?>');
|
||||||
|
|
||||||
|
//var marker = L.marker([<?php echo $lon ?>,<?php echo $lat ?>],{draggable: true}).addTo(map);
|
||||||
|
|
||||||
|
|
||||||
<?php }?>
|
|
||||||
|
|
||||||
|
// every time the marker is dragged, update the coordinates container
|
||||||
|
//marker.on('dragend', ondragend);
|
||||||
|
|
||||||
|
// Set the initial marker coordinate on load.
|
||||||
|
//ondragend();
|
||||||
|
|
||||||
|
/*
|
||||||
|
function ondragend() {
|
||||||
|
var m = marker.getLatLng();
|
||||||
|
var z = map.getZoom();
|
||||||
|
|
||||||
|
// lat.value= m.lat;
|
||||||
|
// lng.value= m.lng;
|
||||||
|
mapa.value= m.lng+' '+m.lat+' '+z;
|
||||||
|
}*/
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
62
milfs/mapa_back.php
Normal file
62
milfs/mapa_back.php
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset=utf-8 />
|
||||||
|
<title>Display latitude longitude on marker movement</title>
|
||||||
|
|
||||||
|
<script src="http://cdn.leafletjs.com/leaflet-0.7/leaflet.js"></script>
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" />
|
||||||
|
<style>
|
||||||
|
body { margin:0; padding:0; }
|
||||||
|
#map {width: 100%;height: 280px;}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body onload="javascript:window.parent.document.getElementById('<?php echo $_REQUEST[id]?>').value= '';">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div id='map'></div>
|
||||||
|
<?php
|
||||||
|
if ($_REQUEST[lat] !='') {$lat=$_REQUEST[lat];}else {$lat= "-75.5570125579834";}
|
||||||
|
if ($_REQUEST[lon] !='') {$lon=$_REQUEST[lon];}else {$lon= "6.2463742841860";}
|
||||||
|
if ($_REQUEST[zoom] !='') {$zoom=$_REQUEST[zoom];}else {$zoom= "16";}
|
||||||
|
|
||||||
|
?>
|
||||||
|
<script>
|
||||||
|
|
||||||
|
var map = L.map('map')
|
||||||
|
.setView([<?php echo $lon ?>, <?php echo $lat ?>], <?php echo $zoom ?>);
|
||||||
|
L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(map);
|
||||||
|
|
||||||
|
//var lat = window.parent.document.getElementById('lat');
|
||||||
|
//var lng = window.parent.document.getElementById('lon');
|
||||||
|
|
||||||
|
//var mapa = window.parent.document.getElementById('<?php echo $_REQUEST[id]?>');
|
||||||
|
|
||||||
|
|
||||||
|
var marker = L.marker([<?php echo $lon ?>,<?php echo $lat ?>],{draggable: true}).addTo(map);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// every time the marker is dragged, update the coordinates container
|
||||||
|
marker.on('dragend', ondragend);
|
||||||
|
|
||||||
|
// Set the initial marker coordinate on load.
|
||||||
|
ondragend();
|
||||||
|
|
||||||
|
|
||||||
|
function ondragend() {
|
||||||
|
var m = marker.getLatLng();
|
||||||
|
var z = map.getZoom();
|
||||||
|
|
||||||
|
// lat.value= m.lat;
|
||||||
|
// lng.value= m.lng;
|
||||||
|
//mapa.value= m.lng+' '+m.lat+' '+z;
|
||||||
|
window.parent.document.getElementById('<?php echo $_REQUEST[id]?>').value= m.lng+' '+m.lat+' '+z;
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
58
milfs/mapero.php
Normal file
58
milfs/mapero.php
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset=utf-8 />
|
||||||
|
<title>Mapero</title>
|
||||||
|
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.js"></script>
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.css" />
|
||||||
|
<style>
|
||||||
|
body { margin:0; padding:0; }
|
||||||
|
#map {width: 100%;height: 280px;}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div id='map'></div>
|
||||||
|
<?php
|
||||||
|
if ($_REQUEST[lat] !='') {$lat=$_REQUEST[lat];}else {$lat= "-75.5570125579834";}
|
||||||
|
if ($_REQUEST[lon] !='') {$lon=$_REQUEST[lon];}else {$lon= "6.2463742841860";}
|
||||||
|
if ($_REQUEST[zoom] !='') {$zoom=$_REQUEST[zoom];}else {$zoom= "16";}
|
||||||
|
|
||||||
|
?>
|
||||||
|
<script>
|
||||||
|
var map = L.map('map')
|
||||||
|
.setView([<?php echo $lon ?>, <?php echo $lat ?>], <?php echo $zoom ?>);
|
||||||
|
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(map);
|
||||||
|
|
||||||
|
//var lat = window.parent.document.getElementById('lat');
|
||||||
|
//var lng = window.parent.document.getElementById('lon');
|
||||||
|
var mapa = window.parent.document.getElementById('<?php echo $_REQUEST[id]?>');
|
||||||
|
|
||||||
|
var marker = L.marker([<?php echo $lon ?>,<?php echo $lat ?>],{draggable: true}).addTo(map);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// every time the marker is dragged, update the coordinates container
|
||||||
|
marker.on('dragend', ondragend);
|
||||||
|
|
||||||
|
// Set the initial marker coordinate on load.
|
||||||
|
ondragend();
|
||||||
|
|
||||||
|
|
||||||
|
function ondragend() {
|
||||||
|
var m = marker.getLatLng();
|
||||||
|
var z = map.getZoom();
|
||||||
|
|
||||||
|
// lat.value= m.lat;
|
||||||
|
// lng.value= m.lng;
|
||||||
|
mapa.value= m.lng+' '+m.lat+' '+z;
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,8 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
$email = remplacetas('empresa','id','1','email') ;
|
$email = remplacetas('empresa','id','1','email','') ;
|
||||||
$email = "<strong>$email[0]</strong>";
|
$email = "<strong>$email[0]</strong>";
|
||||||
$razon_social = remplacetas('empresa','id','1','razon_social') ;
|
$razon_social = remplacetas('empresa','id','1','razon_social','') ;
|
||||||
$razon_social ="<strong>$razon_social[0]</strong>";
|
$razon_social ="<strong>$razon_social[0]</strong>";
|
||||||
$aviso ="
|
$aviso ="
|
||||||
|
|
||||||
|
4
milfs/tmp/Prueba_Formulario_1458164302_26967.csv
Normal file
4
milfs/tmp/Prueba_Formulario_1458164302_26967.csv
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
Identificador,,"Nombres y apellidos",Comentario,"Correo electronico"
|
||||||
|
|
||||||
|
6ac0fbed0ebb04faa23de400bf647d19,Array," Kleper ","Que bueno poder encontrar la documentación del sistema centralizada"," kleper@qwerty.co "
|
||||||
|
1b3e951f20de8adcfce1f298bbc657a3,Array," Julian ","Que bueno la mesa de ayuda"," julian@bibliolabs.cc "
|
|
Loading…
Reference in New Issue
Block a user