webpages.16/ 777 0 0 0 10251044552 6051 5webpages.16/COPYING.txt 777 0 0 43633 10250175601 10035 0 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. webpages.16/html/ 777 0 0 0 10251044553 7016 5webpages.16/html/blocks/ 777 0 0 0 10251044553 10273 5webpages.16/html/blocks/block-Webpages.php 777 0 0 4463 7700056720 13707 0\n"; $content .= "
\n"; $content .= "
"; ?> webpages.16/html/blocks/block-Webpages2.php 777 0 0 4470 7700056720 13767 0\n"; $content .= "
\n"; $content .= "
"; ?> webpages.16/html/modules/ 777 0 0 0 10251044552 10465 5webpages.16/html/modules/Webpages/ 777 0 0 0 10251044552 12222 5webpages.16/html/modules/Webpages/admin/ 777 0 0 0 10251044552 13312 5webpages.16/html/modules/Webpages/admin/case.php 777 0 0 3004 10250171620 15012 0 webpages.16/html/modules/Webpages/admin/images/ 777 0 0 0 10251044552 14557 5webpages.16/html/modules/Webpages/admin/images/mywebpage.jpg 777 0 0 27105 7676515314 17351 0JFIFHH.Photoshop 3.08BIM ResolutionHH8BIM FX Global Lighting Angle8BIMFX Global Altitude8BIM Print Flags 8BIM Copyright Flag8BIM'Japanese Print Flags 8BIMColor Halftone SettingsH/fflff/ff2Z5-8BIMColor Transfer Settingsp8BIM Layer State8BIM Layer Groups8BIMGuides@@8BIM URL overrides8BIMSlicess00 mywebpage008BIMICC Untagged Flag8BIMLayer ID Generator Base 8BIM New Windows Thumbnail00JFIFHHAdobed            00"?   3!1AQa"q2B#$Rb34rC%Scs5&DTdE£t6UeuF'Vfv7GWgw5!1AQaq"2B#R3$brCScs4%&5DTdEU6teuFVfv'7GWgw ?1h~FE]e0ցr\糥O7Gvq\fFc.5cbrC>k[.sOכz4cِEd5״'+8`\Tz<dž~ٺ2@܌+7I>VznusۇvtNFu?"W#ݘn-zX/*oMucxO\}1W=d?3/Rd?bÿTg,9q|?ax}4ۈLk5]v6MT3#mBoȡ4kvUo~ʳ71xeOcglmi`?zIv !X(r)FOhw{Yn5sm;kˬ=ۧCOOe^ʞ̟Ѵ[cjo=t9}o#}X𩻧P͏p*--.f?V;'Xq^Tc)cmtzzoﵵAM.k,%}DN/9_J8XF8x}g7 !]9K6l1v-hŻP>Efɰ}Iϣ"Bx {~ۊe}o;=]Zn+US7,mvz_oUb1XɈ?o2qxxiyg2xxL??걚GtỢ;ۭϩX9}SZ:5ư=֖9c޺cMa i |1k/s}'Y*UԟWLܻכ,{o]ߴg>),c Y.ݗ})%8f3>)iOV+'-ń0hk51]%6,cc*hqYOw<07ٌ-]m;7_ok3$tV'X:}s~1KYgon#|,ڹp0 /ȟi.kEOl1F>3ú;r_>u5%/B螺{|7e ;~w_zP*Ɩy6b;cWk(=/ol]oއPw\ց4{vڳ.mv:2vM溬nY:vGK]˭ٹ!mKZݮG<2#9Qx18BIM!Version compatibility infoUAdobe PhotoshopAdobe Photoshop 6.08BIMPlug-in resource blockmoptX8BIMPlug-in resource blockmsetnullVersionlong HTMLSettingsObjcnullFileSavingSettingsObjcnullIncludeCopyrightboolSliceFileNameComponentsVlLslonglonglong longlonglongSavingFileNameComponentsVlLs longlonglonglonglonglonglonglonglongNameCompatibilityObjcnullNameCompatWindowsbool NameCompatMacboolNameCompatUNIXboolImageSubfolderNameTEXTimagesDuplicateFileNameBehaviorlongCopyBackgroundboolUseImageSubfolderboolImageMapLocationlong TDWidthHeightlong ImageMapTypelongGoLiveCompatibleboolSpacersEmptyCellslongIncludeCommentsboolSpacersHorizontallong StylesFormatlongQuoteAllAttributesboolSpacersVerticallong AttributeCaselong LineEndingslongUseCSSboolIndentlongTagCaselongHTMLBackgroundSettingsObjcnullBackgroundColorRedlongBackgroundColorGreenlongBackgroundColorBluelongBackgroundImagePathTEXTUseImageAsBackgroundboolBackgroundColorStatelong8BIM JPEG QualityAdobed@00     u!"1A2# QBa$3Rqb%C&4r 5'S6DTsEF7Gc(UVWdte)8fu*9:HIJXYZghijvwxyzm!1"AQ2aqB#Rb3 $Cr4%ScD&5T6Ed' sFtUeuV7)(GWf8vgwHXhx9IYiy*:JZjz ?cu.=ٛ-ۻ6B V oqj9*H`%f!T ~{u{+iDQRORIHmotaZif9!UU3$qƭ$ʈk|OS6njmZ=AE]˝c(WyY`,5wr-v;^clRYnmbmCGq Feo!]J9s)nmv&6a+FI_!14M |VijxIN}ۻ=ɻw_[m:#f,n#|m\{yZj*eTF,na̞r?Юycr'kIi3[a夷.DV7g5r޽5-b7KTf_ etTYay,~zpl~>}~lSjM}s^dJVsU\hECβs˗aH c kڦ{+DCs]ۘ¸Gyky6'˲\=r{XcZ\` [Ȯy|T{+[SOY/jm.\P媣Ka^'#TuTt騟LQK>{Yܗ/r7.|?ME[k-̐wd9-Ֆ,=rʖr{{'Zix屻][|6uƗV$clncsⷖx|Y6RHheGheH秝)Q$FPܶk-^  #FA A:n6=hK") A:[˜w+gJW EQMw'%c_nD$tN-e˶«5b*եlr-Ud#1 ,ѓ PnM=y~g$Icz"Cj5^Gع9l\)|:X5ANE{6wn{#e|8 ?f&(s-ES:$+2ӾnH :|l= nZ߽MD) \ZiըEnsEqmP5YB=Ww^lw#,/rQ\0[(X CiNI~5\nnn-`Iw5y7)ΑyDx#;.m]moYi;mbfI%vGm6YN(m? ;gw1]Ru.`ْc<C]SEO)F~Ȱ#sfw`: ;6SD=9g?r'.,ֆV Rx (g;(/MR?Ѩؿ& _ s1ܽ{ro8vK7ECXLt%DHF~l>{+{͖\Q6&sM Cq&)IcCmr髊}z>aWol6!R{u\3I?1/E쏎{_?am]%:kf,. =nۻk,A="Vdb\F?ݧomFopnۭ|h—4Hr\LgQoUq er+ [)>Ƒ<@" jTbmx A޴_}:fMۯx]fxW䶼䵛,.=PB j{ۿo0u s][yHs[}L1 ET&Mr,|Ö9 o$ynM lJ@$Pjʎi2M>Ul잟8뜦9H3g5S|yٟ!ڛwܣr5IyN}}Ϟnsk EEEHnx5o!vїCr4?s,J=s! x5AkoW36Q\~6 )[@.ou.W9yJ6[m⅚@RHbCҼ9cQ{c<ö 5]\n-Xإhic[(S{$j:|͹h>L=r;{7re~ܛOכav ${gkSS ^ 7jNN֊ki㝽.X^aͲ-Ӝ _Y/ J 'c'T7s0ol$ɻrmzQd+$jZHlg3k+,nHl폛Q]#Iwl_30l]،:<W[k/3d5Y*tRȒУF>=M^;G3QPSIyk,Z//Z+)VD)! VVr{˶W{|pȺP* fEC5R6t |״)Z?8D|ؖa-&'iF5'fn^mMsU*bT$Ke}ھ۶\I!n"K[)Xȍ`C^K2?ߛt|v'%WlrĆ9bMƆV#uGUԠ ?ޮCڽNu q6Aemwn<2C )1H% .τԓ_nM;z/U?&r8q=u/wde7gzຟN7[]ucURbGuq}}y}ݹf}Ky~I;.1VSlHD,^Ȉ*{wO!a2N\mW*X3}s %ƢX1Cg DQ5{'~R??=_O?&"dc[q- .ϸ{'S<Z4>r_=so}ͶmTntnKд̬}o92iɡMØV+0E9yg*'<$ⱋRвӷ[jYޝ݇ٙ\.ͥ(^enPf=h $~J* "\_;{)~۾M^glPIroYH$N FC/[ܶ]ߞbo±ͦ;}x-B#4nt;jtȘ&;woJ*=ϙ9*ݣ׻/l dk_.▩SIN"E ׻׾{ySmksavi6s3A!p7kAm2,fBC{N}>l[zXR{IR1$*<UBEAt썹ݳ7څKr]-a½ú7%f]ԻKnoʓTGA36!BS+? y>^V-7ml_]+vb7 e\I ʬJ;}Ov, 3DYHĐF Nԝw{}ם[W{redlѾBud(訫ѳ}O*{Ѻϵ<ݿrw"\\6KlVxIb5DԼh)O*ڹǕg}~TK;kJ!+F,M.XB+(>8|=Xؗ>ϊY}ܻ^ߛ79Oaꞿݛ:R tqM"E^>s׵ռ\??rT[mkhw1@ 4-diG`nn6哗2K,q"3] h ʺWbj|QQuOFɵC?M8 <:|B NzL4REMYLb* ̿[v\.}9Ӗ=GK-qSLYsf#)^]܇;4yE9ۭ~PN`*RV$D,t )" R=>AQUYO]sߝ׼~HvP{K&ݏ}џ)z뼶~͚jlN#jlrD*X{7Wr$;R\Gkal[ԛ+YLF2!סs4q! )FTD{=|S%MǷ}Yȳۿ;-z ݸjh[zQ+GECWzcyoe=do]+fyv>n|kyF槯webpages.16/html/modules/Webpages/admin/images/webpages.jpg 777 0 0 27311 7676515314 17165 0JFIFHHjPhotoshop 3.08BIM ResolutionHH8BIM FX Global Lighting Angle8BIMFX Global Altitude8BIM Print Flags 8BIM Copyright Flag8BIM'Japanese Print Flags 8BIMColor Halftone SettingsH/fflff/ff2Z5-8BIMColor Transfer Settingsp8BIM Layer State8BIM Layer Groups8BIMGuides@@8BIM URL overrides8BIMSlicesu00 webpages65008BIMICC Untagged Flag8BIMLayer ID Generator Base8BIM New Windows Thumbnail"00JFIFHHAdobed            00"?   3!1AQa"q2B#$Rb34rC%Scs5&DTdE£t6UeuF'Vfv7GWgw5!1AQaq"2B#R3$brCScs4%&5DTdEU6teuFVfv'7GWgw ?Q~;S85oue;mkw<#)/6z_/R*_Y~#aظ8$7jcKESu =1"k~g0K.n*ӽiYc?lpyS|+-1kwÀ+Uׅ OŮ7 k\&w%gtZ39VƻqogU{zkŧ3z~渓o'Hf9=^<3/C(|;FpÚ7y!ˋL^.3Kmq{p,]E[S/as7KǹZṕk-EX9G74ߑC;h%cwX?I¡}_'V9V~<,~~ kB'~C4dSљ|W⍏#ҵ2m>͎voպNVW~UJX]!޵;me5zmSKgx @cQ.ogҎ.ZpY錽3#|>f#!nǶjklsl?;~u~vt\h]h-݅}=;u}`DzsUc1í^N)UzNI= lvP%hkCǮZor78|S>9Yyqb25(\?/T0>R Jpg}Rܟ'Ѹߪa+'ޗ],!mEoY>.Λu֖bgnc1ە^Q8Ŏc,o WtV:+qkHܑsտu[ ׺L9bdK̚VkknoF)p,>up|7ϓW.FS/ɿMxmh-'"Z`uU݌.Xʪ6h-eeU>G1XX:fViȰUc=76ۆ?ozb[O@n`i\le{QMJIK␅' 8c5yYd|>кYWf4ɳ꽅[YEvY{};bڷ1zhظW:ou/su;]RtӞ-<:2vMulMu.7/ծ2qo}ǸW[kkMuJssɜ^بK|TDEwguvy3{v޻ ]e'RRBiD Yݷ[<ײE$ M@_n&u+Vm,$UD ; qI#+;jò>$>n ?v^ӿsT TiVE+,k Zv3XZhۅ [d!hC&Asr>pr7r/gW]Ϝ.1Ke,H+'uw/Y{un^+^PGla73%0Cj(r͇n&XrGXY_ߗaװKu֖&nb!H}\ NB-s+hX"q?cie)|ӕ2FdsOv^MwXwZ{qB ɴw.o+Ŧ{sEAUDae[{N$0}IRZ%QQn4nWVYX2=do4˖φaǫVJ]:^>)c~P7;SE7fVvqzew^?^ōz\Tɠf㒒r ⏯݇[5stKsqkKHtm}$rdlMp!l 2I+<o nR>so|+a? {cw3l>m2u̓'röpoX>?1G(2P y'>,;(-΁B͢%{d'anYsI˷K5:,  `V'Ѣz?c7ꭟm}- m~sqϐ)p;vYhk)ɂ ~l>{+{se>?MĶDIuX[\jy+mE[[*:1T]C2 AY[g?E?Ƚk-Z|%ǭ޻wm}ؘ'J܌ UU0+G(5{uorm1_RsFX L-ʮ5d @>rRx\ke'[X2Bca-P ,C3?O7WC;{wfΰAank6sKo4It {ϩ6a(J$IBŗ\Ӹr!md;MɼIHD ^Q-4RfR~4wʭ}s"G)u~|zo;3={Sx@Z\۔b^n]}>/?{Iϻ{ wV[ah({y7`Z2cF=Nsr9{)Gnd0![XoH Ym猤v *n'/ |H]әOK;wlͳsp[)f93}f!]_s+r"e~M/3rWܷcV&{ wݍh`f:Mۻ{ͱ{R`TZmndu7.]TC+IQv]U߿2Sכk!ҽIsci9$Z#F>=L^;O3QPSIyk,Z;֊B"*("?s9!j]Oq9vo WyJA]LȨaƢ+#iI_>:=U]X|r菛>Ť>^KmIs ;cn`4Y{Wμn=,džHax&3I%¹7zpɳS'cZ_EG'w~{}vݣPl\S6fkqLH/;ϸ/5r,ﷻo/՝"e&*mwSHk%@on>c=] K&yaK@7HlUh ;ȻkiTKc>ohXl-7>/jz @ѧǛC{m{o.Zմp#[vX-(fegƮ?Ls|ɗO& n"cS$i\<9$W_Z1_hvPŴ5}AWZbfep6z=A`𠂫 K*jL(sy~n6yeۏA%ʝg-"C;-@1V[&1o|yWzۍXml[zXR{IR1$*<UBEAt썹ݳ7څKr]-a½ú7%f]ԻKnoʓTGA36!BS+? y>^V-7ml_]+vb7 e\I ʬJ;}Ov, 3DYHĐF Nԝw{}ם[W{redlѾBud(訫ѳ}O*{Ѻϵ<ݿrw"\\6KlVxIb5DԼh)O*ڹǕg}~TK;kJ!+F,M.XB+(>8|=Xؗ>ϊY}ܻ^ߛ79Oaꞿݛ:R tqM"E^>s׵ռ\??rT[mkhw1@ 4-diG`nn6哗2K,q"3] h ʺV7g-G_Cybtt]SDgv>").~㺾3,6lB,N~L+MQ5e*VS:Ҡ{Uoϻs7RCC9F/IC:VTU^6GY$9b5Ĝ{e˖n[#E[vFZzUP0=ԽN5wN|HѾAsܓ|+۰7f)'{:ߛ#!gfRJ>NPqхyyclvj>+Ė-3IJ$lt=J5{๚ٙ},T8y|?>d h|4SoH0pŕǣ$")ϞF]#EKp\1 -AZu\^,WϻZs J2PQkA$A#N?_87lIv/!rK۳ 1ۛ=ڙ\.Qmڔ1&G7)SGD6[va{ֶ7PdKYc|MAPb|F*@-9h,.<]v3FI:jсTB ulޞ}jal;6W dCCQhBIR;r/znRL1W/]r]-ҴqԤ)Ev"|qB [yOj9~[WJw5"; OpenTable(); $result=sql_query("select enable,showname,fullpage,webpage from " .$prefix."_webpages where uid=-1",$dbi); list($enable,$showname,$fullpage,$webpage)=sql_fetch_row($result,$dbi); echo "

"._WEBSETTINGS."



" ."
" ."
" ." "._WEBDEFAULTENABLE."


" ."

"._WEBNEWSETTINGS."

" ." "._WEBFULLPAGE."

" ." "._WEBSHOWNAME."

" .""._WEBHELPLINK."
" ."" ."
  "._WEBHELPLINKHINT ."

" ."
"; CloseTable(); OpenTable(); echo "

"._WEBGROUPPAGES."

" .""._WEBCREATE."

" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" .""; $result=sql_query("select locked,groupname,showname,fullpage,guid FROM " .$prefix."_webpagegroups",$dbi); if ($result) { while(list($locked,$groupname,$showname,$fullpage,$guid)=sql_fetch_row($result,$dbi)){ echo "" ."" ."" ."" .""; } } echo "
"._WEBGROUP."
" ."".$groupname."" .""._WEBRENAME."" .""._WEBEDIT."" .""._WEBDELETE.""; if ( $locked==1 ) { echo _WEBLOCKED."" .""._WEBUNLOCK.""; } else { echo ""._WEBLOCK .""._WEBUNLOCKED; } echo "
"; CloseTable(); OpenTable(); echo "

"._WEBUSERPAGES."


" .""._WEBSHOWNOWEBPAGE."

"; echo "" ."" ."" ."" ."" ."" ."" ."" ."" ."" .""; $result = sql_query("SELECT ".$prefix."_webpages.uid,"._WEB_UNAME.",name,enable FROM ".$prefix."_users inner join " .$prefix."_webpages on ".$prefix."_users."._WEB_UID."=".$prefix."_webpages.uid " ."order by "._WEB_UNAME, $dbi); if ($result) { while(list($uid,$uname,$name,$enable) = sql_fetch_row($result, $dbi)) { echo "" ."" ."" ."" ."" .""; } echo "
"._WEBVIEW.""._WEBUSER."
" ."$uname$name" .""._WEBEDIT."" .""._WEBDELETE.""; if ( $enable==1 ) { echo _WEBENABLED."" .""._WEBDISABLE.""; } else { echo ""._WEBENABLE."" .""._WEBDISABLED; } } echo "" ._WEBGROUPS."
"; echo "

"._WEBCOPYRIGHT."
"; CloseTable(); include("footer.php"); } function edit_webpage($uname) { global $prefix, $dbi; include ("header.php"); GraphicAdmin(); OpenTable(); echo "
"._WEBPAGES."
"; CloseTable(); echo "
"; OpenTable(); echo "

"._WEBEDITPAGES."


"; show_edit_webpage("admin.php?","SaveWebpage",$uname,0); CloseTable(); include("footer.php"); } function save_webpage($uid, $uname, $webpage, $save, $show, $groups, $showname, $fullpage, $format) { do_save_webpage($uid, $webpage, $showname, $fullpage, $format); if (is_null($groups)) { if (is_null($show)) { Header("Location: admin.php?op=Webpages"); } else { Header("Location: modules.php?name=Webpages&op=adminshow&uname=$uname"); } } else { Header("Location: admin.php?name=Webpages&op=EditWebpageGroups&uid=$uid"); } } function getuid($uname) { global $prefix, $dbi; $result=sql_query("select "._WEB_UID." from ".$prefix."_users where "._WEB_UNAME."='$uname'",$dbi); if (sql_num_rows($result,$dbi)== 1){ list($uid)=sql_fetch_row($result,$dbi); } else { $uid=-1; } return $uid; } function delete_webpage($uname) { global $prefix, $dbi; include ("header.php"); GraphicAdmin(); OpenTable(); echo "
"._WEBPAGES."
"; CloseTable(); echo "
"; OpenTable(); echo "
"._WEBPROMPTDELETE." $uname

" .""._WEBYES."" ."  " .""._WEBNO."
"; CloseTable(); include ("footer.php"); } function do_delete_webpage($uname) { global $prefix, $dbi; $uid=getuid($uname); if ($uid!=-1) { sql_query("delete from ".$prefix."_webpages where uid=$uid",$dbi); } } function enable_webpage($uname,$state) { global $prefix, $dbi; $uid=getuid($uname); if ($uid!=-1) { sql_query("update ".$prefix."_webpages set enable=$state where uid=$uid",$dbi); } } function save_webpage_defaults($enable,$showname,$fullpage,$webpage) { global $prefix, $dbi; if (isset($enable)) { $enable=1; } else { $enable=0; } if (isset($showname)) { $showname=1; } else { $showname=0; } if (isset($fullpage)) { $fullpage=1; } else { $fullpage=0; } sql_query("update ".$prefix."_webpages " ."set enable=$enable,showname=$showname,fullpage=$fullpage,webpage='$webpage' " ."where uid=-1",$dbi); } function create_webpage_group(){ include("header.php"); GraphicAdmin(); echo "
"; OpenTable(); echo "

"._WEBPAGEGROUPS."

" ."
" ."" ."  " ."" ."
"; CloseTable(); include("footer.php"); } function do_create_webpage_group($groupname){ global $prefix,$dbi; sql_query("insert ".$prefix."_webpagegroups (groupname) values ('$groupname')",$dbi); $result=sql_query("select guid from ".$prefix."_webpagegroups where groupname='$groupname'",$dbi); list($guid)=sql_fetch_row($result,$dbi); edit_webpage_group($guid); } function edit_webpage_group($guid){ global $prefix, $dbi; include ("header.php"); GraphicAdmin(); OpenTable(); echo "
"._WEBPAGES."
"; CloseTable(); echo "
"; OpenTable(); echo "

"._WEBEDITGROUPPAGE."


"; $result=sql_query("select groupname,webpage,showname,fullpage,format from ".$prefix ."_webpagegroups where guid=$guid",$dbi); if ($result) { $result=sql_fetch_array($result,$dbi); do_show_edit_webpage("admin.php?op=SaveWebpageGroup&guid=$guid",null,$result[groupname],0,0, $result[webpage],$result[showname],$result[fullpage],$result[format]); } CloseTable(); include("footer.php"); } function save_webpage_group($guid,$webpage,$showname,$fullpage,$format){ global $prefix,$dbi; if (isset($showname)) { $showname=1; } else { $showname=0; } if (isset($fullpage)) { $fullpage=1; } else { $fullpage=0; } switch($format) { case "html": $format=1; break; case "extrans": $format=2; break; default: $format=0; break; } sql_query("update ".$prefix."_webpagegroups set webpage='$webpage'," ."showname=$showname,fullpage=$fullpage where guid=$guid",$dbi); } function delete_webpage_group($guid){ global $prefix, $dbi; $result=sql_query("select groupname from ".$prefix."_webpagegroups where guid=$guid",$dbi); list($groupname)=sql_fetch_row($result,$dbi); include ("header.php"); GraphicAdmin(); OpenTable(); echo "
"._WEBGROUPPAGES."

" ."Delete web group '".$groupname."'?

" .""._WEBYES."  " .""._WEBNO."" ."
"; CloseTable(); include("footer.php"); } function do_delete_webpage_group($guid){ sql_query("delete from ".$prefix."_webusergroup where guid=$guid",$dbi); global $prefix,$dbi; sql_query("delete from ".$prefix."_webpagegroups where guid=$guid",$dbi); } function lock_group($guid,$locked){ global $prefix,$dbi; sql_query("update ".$prefix."_webpagegroups set locked=$locked where guid=$guid",$dbi); } function admin_edit_webpage_groups($uid) { global $prefix, $dbi; $result=sql_query("select "._WEB_UNAME.",name from ".$prefix."_users where "._WEB_UID."=$uid",$dbi); if ($result) { list($uname,$name)=sql_fetch_row($result,$dbi); } include ("header.php"); GraphicAdmin(); OpenTable(); echo "
$uname "._WEBPAGEGROUPS." - $name
"; CloseTable(); echo "
"; do_show_edit_webpage_groups($uid,1,"admin.php?op=SaveWebpageGroups"); include("footer.php"); } function show_nowebpage(){ global $prefix, $dbi; include("header.php"); GraphicAdmin(); echo "
"; OpenTable(); echo "

"._WEBSHOWNOWEBPAGE."

"; CloseTable(); OpenTable(); echo "" .""; $result=sql_query("select distinct "._WEB_UNAME.",name,(isnull(enable)) as missing " ."from ".$prefix."_users left join ".$prefix."_webpages on " .$prefix."_users."._WEB_UID."=".$prefix."_webpages.uid where " .$prefix."_users."._WEB_UID."!=1 order by "._WEB_UNAME,$dbi); if ($result) { while(list($uname,$name,$missing)=sql_fetch_row($result,$dbi)){ if ($missing) { echo "" .""; } } } echo "
"._WEBUSER."
$uname$name
"; CloseTable(); include("footer.php"); } function rename_group($guid) { global $prefix, $dbi; $result=sql_query("select groupname from ".$prefix."_webpagegroups where guid=$guid",$dbi); list($groupname)=sql_fetch_row($result,$dbi); include("header.php"); GraphicAdmin(); echo "
"; OpenTable (); echo "

"._WEBRENAMEGROUP."

" ."
" ."  " ."" ."
"; CloseTable (); include("footer.php"); } function do_rename_group($guid,$groupname) { global $prefix, $dbi; sql_query("update ".$prefix."_webpagegroups set groupname='$groupname' where guid=$guid",$dbi); } switch($op) { case "Webpages": webpages(); break; case "EditWebpage": edit_webpage($uname); break; case "SaveWebpage": save_webpage($uid, $uname, $webpage, $save, $show, $groups, $showname, $fullpage, $format); break; case "DeleteWebpage": delete_webpage($uname); webpages(); break; case "DoDeleteWebpage": do_delete_webpage($uname); webpages(); break; case "DisableWebpage": enable_webpage($uname,0); webpages(); break; case "EnableWebpage": enable_webpage($uname,1); webpages(); break; case "SaveWebDefaults": save_webpage_defaults($enable,$showname,$fullpage,$webpage); webpages(); break; case "CreateWebpageGroup": create_webpage_group(); break; case "DoCreateWebpageGroup": do_create_webpage_group($groupname); break; case "EditWebpageGroup": edit_webpage_group($guid); break; case "SaveWebpageGroup": if (is_null($delete)) { save_webpage_group($guid,$webpage,$showname,$fullpage,$format); if (is_null($show)) { webpages(); } else { Header("Location: modules.php?name=Webpages&op=showgroup&guid=$guid"); } } else { delete_webpage_group($guid); } break; case "EditWebpageGroups": admin_edit_webpage_groups($uid); break; case "SaveWebpageGroups": do_save_webpage_groups($uid,$groups); webpages(); break; case "DeleteWebpageGroup": delete_webpage_group($guid); break; case "DoDeleteWebpageGroup": do_delete_webpage_group($guid); webpages(); break; case "LockWebpageGroup": lock_group($guid,$locked); webpages(); break ; case "ShowNoWebpage": show_nowebpage(); break; case "RenameWebpageGroup": rename_group($guid); break; case "DoRenameWebpageGroup": do_rename_group($guid,$groupname); webpages(); break; } } else { echo "Access Denied"; } ?> webpages.16/html/modules/Webpages/admin/language/ 777 0 0 0 10251044552 15075 5webpages.16/html/modules/Webpages/admin/links.php 777 0 0 1622 10250172224 15224 0 webpages.16/html/modules/Webpages/bold.jpg 777 0 0 5044 7676341760 13734 0JFIFHHdPhotoshop 3.08BIM ResolutionHH8BIM FX Global Lighting Angle8BIMFX Global Altitude8BIM Print Flags 8BIM Copyright Flag8BIM'Japanese Print Flags 8BIMColor Halftone SettingsH/fflff/ff2Z5-8BIMColor Transfer Settingsp8BIMGuides@@8BIM URL overrides8BIMSlicesibold8BIMICC Untagged Flag8BIMLayer ID Generator Base8BIM New Windows ThumbnailH0JFIFHHAdobed            "?   3!1AQa"q2B#$Rb34rC%Scs5&DTdE£t6UeuF'Vfv7GWgw5!1AQaq"2B#R3$brCScs4%&5DTdEU6teuFVfv'7GWgw ?l kq is Xs1_W,7(_`^nm^7dYSic b]n֗:mu=C*[Qm`O}{WI XI$S_?_?8BIM!Version compatibility infoUAdobe PhotoshopAdobe Photoshop 6.08BIM JPEG QualityAdobed@     u!"1A2# QBa$3Rqb%C&4r 5'S6DTsEF7Gc(UVWdte)8fu*9:HIJXYZghijvwxyzm!1"AQ2aqB#Rb3 $Cr4%ScD&5T6Ed' sFtUeuV7)(GWf8vgwHXhx9IYiy*:JZjz ?Ü Am>O9_Mwg(4SAڛS;1,m^Bb,ΈVqˣs0{yn= =;h ?fenE\J䲴E [PR̾YǿuоÜ Am>O9_Mwg(4SAڛS;1,m^Bb,Έ|߀p{Jme73vv,gS:qm⻉Y10tX,W{uߺ^׽uwebpages.16/html/modules/Webpages/bullist.jpg 777 0 0 6047 7676341760 14476 0JFIFHHPhotoshop 3.08BIM ResolutionHH8BIM FX Global Lighting Angle8BIMFX Global Altitude8BIM Print Flags 8BIM Copyright Flag8BIM'Japanese Print Flags 8BIMColor Halftone SettingsH/fflff/ff2Z5-8BIMColor Transfer Settingsp8BIMGuides@@8BIM URL overrides8BIMSlicesobullist8BIMICC Untagged Flag8BIMLayer ID Generator Base8BIM New Windows Thumbnail<H0 JFIFHHAdobed            "?   3!1AQa"q2B#$Rb34rC%Scs5&DTdE£t6UeuF'Vfv7GWgw5!1AQaq"2B#R3$brCScs4%&5DTdEU6teuFVfv'7GWgw ?}O//0l˯.͗\KfosiNΡ̫@owبޥuv67$65o~2Y=Y>zCaZg[?GzIc Q kDwucݏevCٜk$Nneg~3bH4[Ca;hn[ۇOIF3?dn?7߾Y/յIwSKT8BIM!Version compatibility infoUAdobe PhotoshopAdobe Photoshop 6.08BIM JPEG QualityAdobed@     u!"1A2# QBa$3Rqb%C&4r 5'S6DTsEF7Gc(UVWdte)8fu*9:HIJXYZghijvwxyzm!1"AQ2aqB#Rb3 $Cr4%ScD&5T6Ed' sFtUeuV7)(GWf8vgwHXhx9IYiy*:JZjz ?%;_;__u=&~nD|z&"mN812cuxH|8IOH$H__x=h[[L#7 <; q k qsΝtw72-qڴ#PZ 4Ԝçbse:*kp2kwN.cw%RcM>$hju6=oCxSfovŜK;i|tgwOlLSO,OୡYG⊩d=}=ځim#h q# m$ h+*.v׭/+CA隌c>u1-[dѾJ5[O]CϪunZ/Y<Iӣ^h؟?#bdz___Uñ̙}}JIM_OX*+ouѷeK?ˏcF߯Bo?? >/oe_?q??< >f"._WEBHELP.""; } function addiconentry($script,$jpg,$title) { echo "\"\""; } function addtextentry($script,$title) { // echo " $title "; echo " $title "; } function addcolor($fg,$bg='#ffffff') { echo "" ." TEXT "; } function do_show_edit_webpage($action,$op,$uname,$uid,$groups,$webpage,$showname,$fullpage,$format){ global $user_prefix, $dbi; echo "
"; echo "
" .""._WEBCONTENT." $uname    " .""._WEBHTMLTIPS."" ."    ".helplink()."

" ."" .""; if (!is_null($op)) { echo ""; } echo "
"; echo " "._WEBSHOWNAME."  " ."" ." "._WEBFULLPAGE."  " ."" ."
"; //echo "
"._WEBYOUCANUSE."
"; include(dirname(__FILE__)."/editor.js"); echo ""; addiconentry("javascript:bold(document.webform.webpage);","bold.jpg","Bold"); addiconentry("javascript:italic(document.webform.webpage);","italic.jpg","Italic"); addiconentry("javascript:underline(document.webform.webpage);","under.jpg","Underline"); addtextentry("javascript:addp(document.webform.webpage);","<p>"); addtextentry("javascript:addbr(document.webform.webpage);","<br>"); addtextentry("javascript:addnbsp(document.webform.webpage);","SP"); addtextentry("javascript:addhr(document.webform.webpage);","Rule"); addtextentry("javascript:addh1(document.webform.webpage);","H1"); addtextentry("javascript:addh2(document.webform.webpage);","H2"); addtextentry("javascript:httplink(document.webform.webpage);","http"); addtextentry("javascript:httpslink(document.webform.webpage);","https"); addtextentry("javascript:ftplink(document.webform.webpage);","ftp"); addtextentry("javascript:maillink(document.webform.webpage);","mail"); addiconentry("javascript:orderedl(document.webform.webpage);","numlist.jpg","Numbered list"); addiconentry("javascript:bulletl(document.webform.webpage);","bullist.jpg","Bullet list"); addtextentry("javascript:listentry(document.webform.webpage);","Entry"); addtextentry("javascript:addpre(document.webform.webpage);","Preserve"); echo "
"; echo ""; addcolor("#000000"); addcolor("#808080"); addcolor("#ff0000"); addcolor("#800000"); addcolor("#ffff00"); addcolor("#808000"); addcolor("#00ff00"); addcolor("#008000"); addcolor("#00ffff"); addcolor("#008080"); addcolor("#0000ff"); addcolor("#000080"); // addcolor("#ffffff","#000000"); echo "
"; echo "" ."

" ."" ."  " .""; $result=sql_query("select guid from ".$user_prefix."_webpagegroups",$dbi); if (($groups) AND (sql_num_rows($result,$dbi)>0)) { echo "  "; } echo "

"; } function show_edit_webpage($action,$op,$uname) { global $user_prefix, $dbi; $result = sql_query("select "._WEB_UID." from ".$user_prefix."_users where "._WEB_UNAME."='$uname'",$dbi); list($uid)=sql_fetch_row($result,$dbi); $result = sql_query("select webpage,showname,fullpage,format from ".$user_prefix."_webpages " ."where uid=$uid",$dbi); if (sql_num_rows($result,$dbi)==0){ $result = sql_query("select '' as webpage,showname,fullpage,format from ".$user_prefix."_webpages " ."where uid=-1",$dbi); } list($webpage,$showname,$fullpage,$format) = sql_fetch_array($result, $dbi); do_show_edit_webpage($action,$op,$uname,$uid,1,$webpage,$showname,$fullpage,$format); } function do_save_webpage($uid,$webpage,$showname,$fullpage,$format) { global $user_prefix, $dbi; if (isset($showname)) { $showname=1; } else { $showname=0; } if (isset($fullpage)) { $fullpage=1; } else { $fullpage=0; } switch($format) { default: $format=0; break; case "html": $format=1; break; case "extrans": $format=2; break; } $webpage = FixQuotes($webpage); $result=sql_query("select uid from ".$user_prefix."_webpages where uid=$uid", $dbi); if ( sql_num_rows($result,$dbi)==1) { sql_query("update ".$user_prefix."_webpages set webpage='$webpage',showname=$showname," ."fullpage=$fullpage,format=$format where uid=$uid", $dbi); } else { sql_query("insert ".$user_prefix."_webpages (uid,webpage,showname,fullpage,format) " ."values ($uid,'$webpage',$showname,$fullpage,$format)", $dbi); } } function save_webpage_groups($groups) { global $user, $cookie, $userinfo, $user_prefix, $dbi; getusrinfo($user); if (($userinfo[_WEB_UNAME] != $cookie[1]) AND ($userinfo[_WEB_PASSWORD] != $cookie[2])) { do_save_webpage_groups($userinfo[_WEB_UID],$groups); } } function do_save_webpage_groups($uid,$groups) { global $user_prefix, $dbi; sql_query("delete from ".$user_prefix."_webusergroup where uid=$uid",$dbi); $i=0; while($i
"._WEBGROUPSINFO."
" .""._WEBGROUPS."" ."
" .""; $i=0; $selected=array(); $result=sql_query("select guid from ".$user_prefix."_webusergroup " ."where uid=$uid",$dbi); if($result) { while(list($guid)=sql_fetch_row($result,$dbi)){ $selected[$i]=$guid; ++$i; } } $i=0; $result=sql_query("select guid,groupname,locked from ".$user_prefix."_webpagegroups " ."order by groupname", $dbi); if ($result) { while(list($guid,$groupname,$locked)=sql_fetch_row($result,$dbi)){ echo "   " ."$groupname
"; ++$i; } } echo "

" ."
"; CloseTable (); } ?> webpages.16/html/modules/Webpages/editor.js 777 0 0 12114 7676341760 14152 0 webpages.16/html/modules/Webpages/images/ 777 0 0 0 10251044552 13467 5webpages.16/html/modules/Webpages/images/mywebpage.jpg 777 0 0 27105 7676341760 16263 0JFIFHH.Photoshop 3.08BIM ResolutionHH8BIM FX Global Lighting Angle8BIMFX Global Altitude8BIM Print Flags 8BIM Copyright Flag8BIM'Japanese Print Flags 8BIMColor Halftone SettingsH/fflff/ff2Z5-8BIMColor Transfer Settingsp8BIM Layer State8BIM Layer Groups8BIMGuides@@8BIM URL overrides8BIMSlicess00 mywebpage008BIMICC Untagged Flag8BIMLayer ID Generator Base 8BIM New Windows Thumbnail00JFIFHHAdobed            00"?   3!1AQa"q2B#$Rb34rC%Scs5&DTdE£t6UeuF'Vfv7GWgw5!1AQaq"2B#R3$brCScs4%&5DTdEU6teuFVfv'7GWgw ?1h~FE]e0ցr\糥O7Gvq\fFc.5cbrC>k[.sOכz4cِEd5״'+8`\Tz<dž~ٺ2@܌+7I>VznusۇvtNFu?"W#ݘn-zX/*oMucxO\}1W=d?3/Rd?bÿTg,9q|?ax}4ۈLk5]v6MT3#mBoȡ4kvUo~ʳ71xeOcglmi`?zIv !X(r)FOhw{Yn5sm;kˬ=ۧCOOe^ʞ̟Ѵ[cjo=t9}o#}X𩻧P͏p*--.f?V;'Xq^Tc)cmtzzoﵵAM.k,%}DN/9_J8XF8x}g7 !]9K6l1v-hŻP>Efɰ}Iϣ"Bx {~ۊe}o;=]Zn+US7,mvz_oUb1XɈ?o2qxxiyg2xxL??걚GtỢ;ۭϩX9}SZ:5ư=֖9c޺cMa i |1k/s}'Y*UԟWLܻכ,{o]ߴg>),c Y.ݗ})%8f3>)iOV+'-ń0hk51]%6,cc*hqYOw<07ٌ-]m;7_ok3$tV'X:}s~1KYgon#|,ڹp0 /ȟi.kEOl1F>3ú;r_>u5%/B螺{|7e ;~w_zP*Ɩy6b;cWk(=/ol]oއPw\ց4{vڳ.mv:2vM溬nY:vGK]˭ٹ!mKZݮG<2#9Qx18BIM!Version compatibility infoUAdobe PhotoshopAdobe Photoshop 6.08BIMPlug-in resource blockmoptX8BIMPlug-in resource blockmsetnullVersionlong HTMLSettingsObjcnullFileSavingSettingsObjcnullIncludeCopyrightboolSliceFileNameComponentsVlLslonglonglong longlonglongSavingFileNameComponentsVlLs longlonglonglonglonglonglonglonglongNameCompatibilityObjcnullNameCompatWindowsbool NameCompatMacboolNameCompatUNIXboolImageSubfolderNameTEXTimagesDuplicateFileNameBehaviorlongCopyBackgroundboolUseImageSubfolderboolImageMapLocationlong TDWidthHeightlong ImageMapTypelongGoLiveCompatibleboolSpacersEmptyCellslongIncludeCommentsboolSpacersHorizontallong StylesFormatlongQuoteAllAttributesboolSpacersVerticallong AttributeCaselong LineEndingslongUseCSSboolIndentlongTagCaselongHTMLBackgroundSettingsObjcnullBackgroundColorRedlongBackgroundColorGreenlongBackgroundColorBluelongBackgroundImagePathTEXTUseImageAsBackgroundboolBackgroundColorStatelong8BIM JPEG QualityAdobed@00     u!"1A2# QBa$3Rqb%C&4r 5'S6DTsEF7Gc(UVWdte)8fu*9:HIJXYZghijvwxyzm!1"AQ2aqB#Rb3 $Cr4%ScD&5T6Ed' sFtUeuV7)(GWf8vgwHXhx9IYiy*:JZjz ?cu.=ٛ-ۻ6B V oqj9*H`%f!T ~{u{+iDQRORIHmotaZif9!UU3$qƭ$ʈk|OS6njmZ=AE]˝c(WyY`,5wr-v;^clRYnmbmCGq Feo!]J9s)nmv&6a+FI_!14M |VijxIN}ۻ=ɻw_[m:#f,n#|m\{yZj*eTF,na̞r?Юycr'kIi3[a夷.DV7g5r޽5-b7KTf_ etTYay,~zpl~>}~lSjM}s^dJVsU\hECβs˗aH c kڦ{+DCs]ۘ¸Gyky6'˲\=r{XcZ\` [Ȯy|T{+[SOY/jm.\P媣Ka^'#TuTt騟LQK>{Yܗ/r7.|?ME[k-̐wd9-Ֆ,=rʖr{{'Zix屻][|6uƗV$clncsⷖx|Y6RHheGheH秝)Q$FPܶk-^  #FA A:n6=hK") A:[˜w+gJW EQMw'%c_nD$tN-e˶«5b*եlr-Ud#1 ,ѓ PnM=y~g$Icz"Cj5^Gع9l\)|:X5ANE{6wn{#e|8 ?f&(s-ES:$+2ӾnH :|l= nZ߽MD) \ZiըEnsEqmP5YB=Ww^lw#,/rQ\0[(X CiNI~5\nnn-`Iw5y7)ΑyDx#;.m]moYi;mbfI%vGm6YN(m? ;gw1]Ru.`ْc<C]SEO)F~Ȱ#sfw`: ;6SD=9g?r'.,ֆV Rx (g;(/MR?Ѩؿ& _ s1ܽ{ro8vK7ECXLt%DHF~l>{+{͖\Q6&sM Cq&)IcCmr髊}z>aWol6!R{u\3I?1/E쏎{_?am]%:kf,. =nۻk,A="Vdb\F?ݧomFopnۭ|h—4Hr\LgQoUq er+ [)>Ƒ<@" jTbmx A޴_}:fMۯx]fxW䶼䵛,.=PB j{ۿo0u s][yHs[}L1 ET&Mr,|Ö9 o$ynM lJ@$Pjʎi2M>Ul잟8뜦9H3g5S|yٟ!ڛwܣr5IyN}}Ϟnsk EEEHnx5o!vїCr4?s,J=s! x5AkoW36Q\~6 )[@.ou.W9yJ6[m⅚@RHbCҼ9cQ{c<ö 5]\n-Xإhic[(S{$j:|͹h>L=r;{7re~ܛOכav ${gkSS ^ 7jNN֊ki㝽.X^aͲ-Ӝ _Y/ J 'c'T7s0ol$ɻrmzQd+$jZHlg3k+,nHl폛Q]#Iwl_30l]،:<W[k/3d5Y*tRȒУF>=M^;G3QPSIyk,Z//Z+)VD)! VVr{˶W{|pȺP* fEC5R6t |״)Z?8D|ؖa-&'iF5'fn^mMsU*bT$Ke}ھ۶\I!n"K[)Xȍ`C^K2?ߛt|v'%WlrĆ9bMƆV#uGUԠ ?ޮCڽNu q6Aemwn<2C )1H% .τԓ_nM;z/U?&r8q=u/wde7gzຟN7[]ucURbGuq}}y}ݹf}Ky~I;.1VSlHD,^Ȉ*{wO!a2N\mW*X3}s %ƢX1Cg DQ5{'~R??=_O?&"dc[q- .ϸ{'S<Z4>r_=so}ͶmTntnKд̬}o92iɡMØV+0E9yg*'<$ⱋRвӷ[jYޝ݇ٙ\.ͥ(^enPf=h $~J* "\_;{)~۾M^glPIroYH$N FC/[ܶ]ߞbo±ͦ;}x-B#4nt;jtȘ&;woJ*=ϙ9*ݣ׻/l dk_.▩SIN"E ׻׾{ySmksavi6s3A!p7kAm2,fBC{N}>l[zXR{IR1$*<UBEAt썹ݳ7څKr]-a½ú7%f]ԻKnoʓTGA36!BS+? y>^V-7ml_]+vb7 e\I ʬJ;}Ov, 3DYHĐF Nԝw{}ם[W{redlѾBud(訫ѳ}O*{Ѻϵ<ݿrw"\\6KlVxIb5DԼh)O*ڹǕg}~TK;kJ!+F,M.XB+(>8|=Xؗ>ϊY}ܻ^ߛ79Oaꞿݛ:R tqM"E^>s׵ռ\??rT[mkhw1@ 4-diG`nn6哗2K,q"3] h ʺWbj|QQuOFɵC?M8 <:|B NzL4REMYLb* ̿[v\.}9Ӗ=GK-qSLYsf#)^]܇;4yE9ۭ~PN`*RV$D,t )" R=>AQUYO]sߝ׼~HvP{K&ݏ}џ)z뼶~͚jlN#jlrD*X{7Wr$;R\Gkal[ԛ+YLF2!סs4q! )FTD{=|S%MǷ}Yȳۿ;-z ݸjh[zQ+GECWzcyoe=do]+fyv>n|kyF槯webpages.16/html/modules/Webpages/images/webpages.jpg 777 0 0 27311 7676341760 16077 0JFIFHHjPhotoshop 3.08BIM ResolutionHH8BIM FX Global Lighting Angle8BIMFX Global Altitude8BIM Print Flags 8BIM Copyright Flag8BIM'Japanese Print Flags 8BIMColor Halftone SettingsH/fflff/ff2Z5-8BIMColor Transfer Settingsp8BIM Layer State8BIM Layer Groups8BIMGuides@@8BIM URL overrides8BIMSlicesu00 webpages65008BIMICC Untagged Flag8BIMLayer ID Generator Base8BIM New Windows Thumbnail"00JFIFHHAdobed            00"?   3!1AQa"q2B#$Rb34rC%Scs5&DTdE£t6UeuF'Vfv7GWgw5!1AQaq"2B#R3$brCScs4%&5DTdEU6teuFVfv'7GWgw ?Q~;S85oue;mkw<#)/6z_/R*_Y~#aظ8$7jcKESu =1"k~g0K.n*ӽiYc?lpyS|+-1kwÀ+Uׅ OŮ7 k\&w%gtZ39VƻqogU{zkŧ3z~渓o'Hf9=^<3/C(|;FpÚ7y!ˋL^.3Kmq{p,]E[S/as7KǹZṕk-EX9G74ߑC;h%cwX?I¡}_'V9V~<,~~ kB'~C4dSљ|W⍏#ҵ2m>͎voպNVW~UJX]!޵;me5zmSKgx @cQ.ogҎ.ZpY錽3#|>f#!nǶjklsl?;~u~vt\h]h-݅}=;u}`DzsUc1í^N)UzNI= lvP%hkCǮZor78|S>9Yyqb25(\?/T0>R Jpg}Rܟ'Ѹߪa+'ޗ],!mEoY>.Λu֖bgnc1ە^Q8Ŏc,o WtV:+qkHܑsտu[ ׺L9bdK̚VkknoF)p,>up|7ϓW.FS/ɿMxmh-'"Z`uU݌.Xʪ6h-eeU>G1XX:fViȰUc=76ۆ?ozb[O@n`i\le{QMJIK␅' 8c5yYd|>кYWf4ɳ꽅[YEvY{};bڷ1zhظW:ou/su;]RtӞ-<:2vMulMu.7/ծ2qo}ǸW[kkMuJssɜ^بK|TDEwguvy3{v޻ ]e'RRBiD Yݷ[<ײE$ M@_n&u+Vm,$UD ; qI#+;jò>$>n ?v^ӿsT TiVE+,k Zv3XZhۅ [d!hC&Asr>pr7r/gW]Ϝ.1Ke,H+'uw/Y{un^+^PGla73%0Cj(r͇n&XrGXY_ߗaװKu֖&nb!H}\ NB-s+hX"q?cie)|ӕ2FdsOv^MwXwZ{qB ɴw.o+Ŧ{sEAUDae[{N$0}IRZ%QQn4nWVYX2=do4˖φaǫVJ]:^>)c~P7;SE7fVvqzew^?^ōz\Tɠf㒒r ⏯݇[5stKsqkKHtm}$rdlMp!l 2I+<o nR>so|+a? {cw3l>m2u̓'röpoX>?1G(2P y'>,;(-΁B͢%{d'anYsI˷K5:,  `V'Ѣz?c7ꭟm}- m~sqϐ)p;vYhk)ɂ ~l>{+{se>?MĶDIuX[\jy+mE[[*:1T]C2 AY[g?E?Ƚk-Z|%ǭ޻wm}ؘ'J܌ UU0+G(5{uorm1_RsFX L-ʮ5d @>rRx\ke'[X2Bca-P ,C3?O7WC;{wfΰAank6sKo4It {ϩ6a(J$IBŗ\Ӹr!md;MɼIHD ^Q-4RfR~4wʭ}s"G)u~|zo;3={Sx@Z\۔b^n]}>/?{Iϻ{ wV[ah({y7`Z2cF=Nsr9{)Gnd0![XoH Ym猤v *n'/ |H]әOK;wlͳsp[)f93}f!]_s+r"e~M/3rWܷcV&{ wݍh`f:Mۻ{ͱ{R`TZmndu7.]TC+IQv]U߿2Sכk!ҽIsci9$Z#F>=L^;O3QPSIyk,Z;֊B"*("?s9!j]Oq9vo WyJA]LȨaƢ+#iI_>:=U]X|r菛>Ť>^KmIs ;cn`4Y{Wμn=,džHax&3I%¹7zpɳS'cZ_EG'w~{}vݣPl\S6fkqLH/;ϸ/5r,ﷻo/՝"e&*mwSHk%@on>c=] K&yaK@7HlUh ;ȻkiTKc>ohXl-7>/jz @ѧǛC{m{o.Zմp#[vX-(fegƮ?Ls|ɗO& n"cS$i\<9$W_Z1_hvPŴ5}AWZbfep6z=A`𠂫 K*jL(sy~n6yeۏA%ʝg-"C;-@1V[&1o|yWzۍXml[zXR{IR1$*<UBEAt썹ݳ7څKr]-a½ú7%f]ԻKnoʓTGA36!BS+? y>^V-7ml_]+vb7 e\I ʬJ;}Ov, 3DYHĐF Nԝw{}ם[W{redlѾBud(訫ѳ}O*{Ѻϵ<ݿrw"\\6KlVxIb5DԼh)O*ڹǕg}~TK;kJ!+F,M.XB+(>8|=Xؗ>ϊY}ܻ^ߛ79Oaꞿݛ:R tqM"E^>s׵ռ\??rT[mkhw1@ 4-diG`nn6哗2K,q"3] h ʺV7g-G_Cybtt]SDgv>").~㺾3,6lB,N~L+MQ5e*VS:Ҡ{Uoϻs7RCC9F/IC:VTU^6GY$9b5Ĝ{e˖n[#E[vFZzUP0=ԽN5wN|HѾAsܓ|+۰7f)'{:ߛ#!gfRJ>NPqхyyclvj>+Ė-3IJ$lt=J5{๚ٙ},T8y|?>d h|4SoH0pŕǣ$")ϞF]#EKp\1 -AZu\^,WϻZs J2PQkA$A#N?_87lIv/!rK۳ 1ۛ=ڙ\.Qmڔ1&G7)SGD6[va{ֶ7PdKYc|MAPb|F*@-9h,.<]v3FI:jсTB ulޞ}jal;6W dCCQhBIR;r/znRL1W/]r]-ҴqԤ)Ev"|qB [yOj9~[WJw5
$sitename
"; if (is_null($webpage)) { echo _WEBNOWEBPAGEFOR." $uname

"; } else { echo "$webpage"; } echo "


"; if ($admin==1) { echo "" ._WEBEDITTHISPAGE."  "; echo ""._WEBOTHERWEBPAGES.""; } else { if ($uid==$userinfo[_WEB_UID]){ echo "" ._WEBEDITTHISPAGE."  "; } echo ""._WEBOTHERWEBPAGES.""; } echo "  "._WEBPERSONALINFO."" ."  "._WEBHOME."
" .""; } else { include("header.php"); OpenTable (); echo ""; if ($showname==1) { echo ""; } echo "

$name ($uname)

"; if ($admin==1) { echo ""._WEBEDITTHISPAGE."  "; echo ""._WEBOTHERWEBPAGES.""; } else { if ($uid==$userinfo[_WEB_UID]){ echo "" ._WEBEDITTHISPAGE."   "; } echo ""._WEBOTHERWEBPAGES.""; } echo "  "._WEBPERSONALINFO."" ."  ".helplink(); echo "

"; if (is_null($webpage)) { echo _WEBNOWEBPAGEDEFINED; } else { switch($format){ case 0: echo nl2br("$webpage"); break; case 2: echo nl2br(htmlspecialchars($webpage)); break; default: echo $webpage; break; } } CloseTable (); include("footer.php"); } } function show_default() { global $prefix, $dbi; $result=sql_query("select guid from ".$prefix."_webpagegroups",$dbi); if(sql_num_rows($result,$dbi)==0) { show_index(); } else { show_groups(); } } function show_groups() { global $prefix, $dbi, $module_name; include("header.php"); OpenTable(); echo "

"._WEBPAGEGROUPS."

".helplink() ."
"; $result=sql_query("select guid,groupname from ".$prefix."_webpagegroups order by groupname",$dbi); while(list($guid,$groupname) = sql_fetch_row($result, $dbi)) { echo "$groupname
"; } echo "
"._WEBALLPAGES.""; echo "

"._WEBCOPYRIGHT."
"; CloseTable(); include("footer.php"); } function show_index() { global $user, $cookie, $prefix, $dbi, $user_prefix,$userinfo; getusrinfo($user); //cookiedecode($user); $ip = getenv("REMOTE_ADDR"); //$username = $cookie[1]; include("header.php"); OpenTable(); echo "" ."

"._WEBPAGES."

"; if ($userinfo[_WEB_UID]!=""){ $result1 = sql_query("SELECT enable from ".$prefix."_webpages where uid=". $userinfo[_WEB_UID],$dbi); echo ""; if (sql_num_rows($result1,$dbi) == 0) { echo _WEBCREATEYOURPAGE; } else { echo _WEBEDITYOURPAGE; } echo "  "; } echo helplink() ."
"; $result = sql_query("SELECT "._WEB_UNAME.",name FROM ".$prefix."_users inner join " .$prefix."_webpages on ".$prefix."_users."._WEB_UID."=".$prefix."_webpages.uid " ."where enable=1 order by "._WEB_UNAME, $dbi); $webpages_num = sql_num_rows($result, $dbi); while(list($uname,$name) = sql_fetch_row($result, $dbi)) { echo "" .""; } echo "
$uname$name
"; echo "

"._WEBCOPYRIGHT."
"; CloseTable(); include("footer.php"); } function edit_webpage1($uname) { global $cookie, $user, $module_name, $dbi, $user_prefix; getusrinfo($user); if (($userinfo[_WEB_UNAME] != $cookie[1]) AND ($userinfo[_WEB_PASSWORD] != $cookie[2])) { include("header.php"); OpenTable(); echo "

"._WEBEDITPAGES."


"; show_edit_webpage("modules.php?name=$module_name","savewebpage",$uname); CloseTable(); include("footer.php"); } else { show_index(); } } function save_webpage1($uid, $uname, $webpage, $save, $show, $showname, $fullpage, $format) { global $cookie, $user, $userinfo, $module_name; getusrinfo($user); if (($userinfo[_WEB_UNAME] != $cookie[1]) AND ($userinfo[_WEB_PASSWORD] != $cookie[2])) { do_save_webpage($uid, $webpage, $showname, $fullpage, $format ); if (is_null($show)) { Header("Location: admin.php?name=$module_name"); } else { Header("Location: modules.php?name=$module_name"."&op=show&uname=$uname"); } } else { show_index(); } } function show_group($guid){ global $prefix, $dbi; $result=sql_query("select groupname,webpage,showname,fullpage from " .$prefix."_webpagegroups where guid=$guid",$dbi); list($groupname,$webpage,$showname,$fullpage)=sql_fetch_row($result,$dbi); if ($fullpage==1){ echo "
$sitename
"; } else { include("header.php"); OpenTable(); } if ($showname==1) { echo "

$groupname

" .helplink()."
"; } echo $webpage; $result = sql_query("SELECT enable,"._WEB_UNAME.",name FROM ".$prefix."_users inner join " .$prefix."_webusergroup on (".$prefix."_users."._WEB_UID."=".$prefix."_webusergroup.uid) inner join " .$prefix."_webpages on (".$prefix."_users."._WEB_UID."=".$prefix."_webpages.uid) " ."where ((guid=$guid) AND (enable=1)) order by "._WEB_UNAME, $dbi); if (sql_num_rows($result,$dbi)==0) { echo "

"._WEBNOPAGES."
"; } else { echo "

"._WEBPAGES."
"; while(list($enable,$uname,$name) = sql_fetch_row($result, $dbi)) { echo "" .""; } } echo "
$uname$name


" .""._WEBOTHERWEBPAGES."  " .""._WEBINDEX.""; if ($fullpage==1) { echo "  "._WEBHOME."
"; } else { echo ""; CloseTable(); include("footer.php"); } } function show_help() { include("header.php"); OpenTable(); echo "

"._WEBPAGEHELP."


"._WEBHELPTEXT; CloseTable(); include("footer.php"); } function show_login(){ Header("Location: modules.php?name=Your_Account"); } switch ($op) { case show: show_webpage($uname,0); break; case adminshow: show_webpage($uname,1); break; case edit: edit_webpage1($uname); break ; case savewebpage: save_webpage1($uid, $uname, $webpage, $save, $show, $showname, $fullpage, $format); break; case showgroup: show_group($guid); break; case showgroups: show_groups(); break; case showindex: show_index() ; break; case showhelp: show_help(); break; default: show_default(); break; } ?> webpages.16/html/modules/Webpages/italic.jpg 777 0 0 4713 7676341760 14263 0JFIFHHNPhotoshop 3.08BIM ResolutionHH8BIM FX Global Lighting Angle8BIMFX Global Altitude8BIM Print Flags 8BIM Copyright Flag8BIM'Japanese Print Flags 8BIMColor Halftone SettingsH/fflff/ff2Z5-8BIMColor Transfer Settingsp8BIMGuides@@8BIM URL overrides8BIMSlicesmitalic8BIMICC Untagged Flag8BIMLayer ID Generator Base8BIM New Windows ThumbnailH0JFIFHHAdobed            "?   3!1AQa"q2B#$Rb34rC%Scs5&DTdE£t6UeuF'Vfv7GWgw5!1AQaq"2B#R3$brCScs4%&5DTdEU6teuFVfv'7GWgw ? :NP{]eN[ȽĊk}VṡYZƱϳf"JzTI%?_?_?8BIM!Version compatibility infoUAdobe PhotoshopAdobe Photoshop 6.08BIM JPEG QualityAdobed@     u!"1A2# QBa$3Rqb%C&4r 5'S6DTsEF7Gc(UVWdte)8fu*9:HIJXYZghijvwxyzm!1"AQ2aqB#Rb3 $Cr4%ScD&5T6Ed' sFtUeuV7)(GWf8vgwHXhx9IYiy*:JZjz ?ߺECq|Gc%e`lv9ظMU%].>{G6Xe6Big TitleThis is a paragraph.

\\n" ."This is a bold paragraph.

\\n" ."This is a small table:

\\n" ."

  • apples\\n" ."
  • oranges\\n" ."
  • grapes

    \\n" ."That is all"); define("_WEBHELPLINK","Help link URL"); define("_WEBHELPLINKHINT", "(reference a webpage or leave blank if using default)"); define("_WEBHELP","Help"); define("_WEBPAGEHELP","User Web Page Help"); define("_WEBHELPTEXT","This is module allows each user to create one web page that is " ."maintained by this site. The web page can contain any text, hyperlinks, etc. that " ."you would like to include. Images can be referenced on this site or others but " ."this service does not provide a way to upload image files.

    " ."The administrator can enable multiple groups to keep track of user web pages. " ."You can select one or more groups where you page will be linked. A Group button " ."will appear in the web page editing screen if one or more groups have been defined."); define("_WEBPLAINTEXT","Plain Old Text"); define("_WEBHTML","HTML Format"); define("_WEBEXTRANS","Extrans (HTML tags to text)"); if (1){ // PHPNuke 6.5+ field definitions define("_WEB_UID","user_id"); define("_WEB_UNAME","username"); define("_WEB_PASSWORD","user_password"); } else { // PHPNuke 5.6, 6.0 field definitions define("_WEB_UID","uid"); define("_WEB_UNAME","uname"); define("_WEB_PASSWORD","pass"); } ?> webpages.16/html/modules/Webpages/numlist.jpg 777 0 0 6066 7676341760 14514 0JFIFHHPhotoshop 3.08BIM ResolutionHH8BIM FX Global Lighting Angle8BIMFX Global Altitude8BIM Print Flags 8BIM Copyright Flag8BIM'Japanese Print Flags 8BIMColor Halftone SettingsH/fflff/ff2Z5-8BIMColor Transfer Settingsp8BIMGuides@@8BIM URL overrides8BIMSlicesonumlist8BIMICC Untagged Flag8BIMLayer ID Generator Base8BIM New Windows Thumbnail;H0JFIFHHAdobed            "?   3!1AQa"q2B#$Rb34rC%Scs5&DTdE£t6UeuF'Vfv7GWgw5!1AQaq"2B#R3$brCScs4%&5DTdEU6teuFVfv'7GWgw ?REW\o=kE\ѩz.3Ӳ2؋kv8i>_*}GZhImaAq=TzuUMa^]'~#v{G{5SuRNj/| ahV~3}W~SwAEUoMS?Fb:ؽ}MCM~[_?~X?@$I5O8BIM!Version compatibility infoUAdobe PhotoshopAdobe Photoshop 6.08BIM JPEG QualityAdobed@     u!"1A2# QBa$3Rqb%C&4r 5'S6DTsEF7Gc(UVWdte)8fu*9:HIJXYZghijvwxyzm!1"AQ2aqB#Rb3 $Cr4%ScD&5T6Ed' sFtUeuV7)(GWf8vgwHXhx9IYiy*:JZjz ?_?' p[׻j+wRa{59j 8V-SGW<4m,G#7pwMjOگ/GLm."BD*qP;Co2kH饝W$*hIHdz~mͽjc{`xmuG>SuUOE?ahTSOK {r Ѽs?V)C[I宝_Ʒ.#[ g^а%7> vnC-鿫18]É?&0yܵN37NwC{eB,. _wO|~ee%fvߚw=tǶ8uvy`$jy粺pKh[HmkCWEj׀ "%};kw^w7Xw/=;k WI;*O- f?ܦRC]7$CP﮶thnmw~E{9=??oeOS~j=σᏨ\U<=8J]_`ޔu~webpages.16/html/modules/Webpages/test.html 777 0 0 1274 7676341760 14160 0 Webpages Editing Tips
    This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test. This is a test.
    webpages.16/html/modules/Webpages/tips.html 777 0 0 2427 7676341760 14161 0 Webpages Editing Tips

    This Generates
    <b>bold</b>bold
    <i>italic</i>italic
    <u>underline</u>underline
    <li>bullet</li>
  • bullet
  • <a href='http://www.cnn.com'>
      Click for CNN</a>
    Click for CNN
    &lt &gt &amp < > &
     
    Line break<br>
    next line
    Line break
    next line
     
    Paragraph break<p>
    next line
    Paragraph break

    next line
    <h1>title 1</h1>

    title 1

    <h2>title 2</h2>

    title 2

    webpages.16/html/modules/Webpages/under.jpg 777 0 0 5071 7676341760 14131 0JFIFHHpPhotoshop 3.08BIM ResolutionHH8BIM FX Global Lighting Angle8BIMFX Global Altitude8BIM Print Flags 8BIM Copyright Flag8BIM'Japanese Print Flags 8BIMColor Halftone SettingsH/fflff/ff2Z5-8BIMColor Transfer Settingsp8BIMGuides@@8BIM URL overrides8BIMSliceskunder8BIMICC Untagged Flag8BIMLayer ID Generator Base8BIM New Windows ThumbnailH0JFIFHHAdobed            "?   3!1AQa"q2B#$Rb34rC%Scs5&DTdE£t6UeuF'Vfv7GWgw5!1AQaq"2B#R3$brCScs4%&5DTdEU6teuFVfv'7GWgw ?l kq is Xs1,}icʰӏ``\Ss?~jլ< L=kgo?I$S>{~ճzd~}=?QIO /IO8BIM!Version compatibility infoUAdobe PhotoshopAdobe Photoshop 6.08BIM JPEG QualityAdobed@     u!"1A2# QBa$3Rqb%C&4r 5'S6DTsEF7Gc(UVWdte)8fu*9:HIJXYZghijvwxyzm!1"AQ2aqB#Rb3 $Cr4%ScD&5T6Ed' sFtUeuV7)(GWf8vgwHXhx9IYiy*:JZjz ?Ü Am>O9_Mwg(4SAڛS;1,m^Bb,Έ𞳬; 2}i}x_)]٘)FڴlLX;%IB8TXGuߺZtGRw*?oEw8N6o߸.=g}ro*>a?vv|Sa{C I5{uOuѽp7W~I_/wE^O?jW؂O%׺~webpages.16/html/modules/Webpages/user.php 777 0 0 16320 10251044644 14020 0" ."

    " ."\""._WEBEDITPAGES
    " .""._WEBEDITPAGES."" ."
    "; } } function edit_webpage($shownav=0) { global $user, $cookie, $userinfo, $user_prefix, $dbi, $prefix, $module_name; getusrinfo($user); if (($userinfo[_WEB_UNAME] != $cookie[1]) AND ($userinfo[_WEB_PASSWORD] != $cookie[2])) { include("header.php"); OpenTable(); echo "
    "._WEBYOURPAGE."

    "; CloseTable(); echo "
    "; if ($shownav) { OpenTable(); nav(); CloseTable(); } $result=sql_query("select enable from ".$prefix."_webpages " ." where uid=".$userinfo[_WEB_UID],$dbi); if (sql_num_rows($result,$dbi)==0) { $result=sql_query("select enable from ".$prefix."_webpages where uid=-1",$dbi); } list($enable)=sql_fetch_row($result,$dbi); OpenTable(); if ($enable==1) { echo "

    "._WEBEDITPAGES."

    "; show_edit_webpage("modules.php?name=".$module_name."","savewebpage",$userinfo[_WEB_UNAME],1); } else { echo "

    "._WEBPAGEDISABLED."

    "; } CloseTable(); include("footer.php"); return 0; } else {/* include("header.php"); OpenTable(); echo "-- $userinfo[_UNAME] -- $cookie[1] -- $userinfo[_WEB_PASSWORD] -- $cookie[2] --
    "; CloseTable(); include("footer.php");*/ return 1; } } function save_webpage($uid, $uname, $webpage, $save, $show, $groups, $delete, $showname, $fullpage, $format) { global $user, $cookie, $userinfo, $user_prefix, $dbi, $module_name; getusrinfo($user); if (($userinfo[_WEB_UNAME] != $cookie[1]) AND ($userinfo[_WEB_PASSWORD] != $cookie[2])) { cookiedecode($user); $check = $cookie[1]; $check2 = $cookie[2]; $result = sql_query("select "._WEB_UID.","._WEB_PASSWORD." from ".$user_prefix."_users where "._WEB_UNAME."='$check'", $dbi); list($vuid, $ccpass) = sql_fetch_row($result, $dbi); if (($uid == $vuid) AND ($check2 == $ccpass)) { if (is_null($delete)) { do_save_webpage($uid, $webpage, $showname, $fullpage, $format) ; if ( ! is_null($groups)) { Header("Location: modules.php?name=".$module_name."&op=editwebpagegroups&uname=$check"); } else if (is_null($show)) { Header("Location: modules.php?name=".$module_name.""); } else { Header("Location: modules.php?name=Webpages&op=show&uname=$check"); } } else { Header("Location: modules.php?name=".$module_name."&op=deletewebpage&uid=$uid"); } } return 0; } else { return 1; } } function delete_webpage($uid) { global $user, $cookie, $userinfo, $user_prefix, $dbi, $module_name; getusrinfo($user); if (($userinfo[_WEB_UNAME] != $cookie[1]) AND ($userinfo[_WEB_PASSWORD] != $cookie[2])) { cookiedecode($user); $check = $cookie[1]; $check2 = $cookie[2]; $result = sql_query("select "._WEB_UID.","._WEB_PASSWORD." from ".$user_prefix."_users where "._WEB_UNAME."='$check'", $dbi); list($vuid, $ccpass) = sql_fetch_row($result, $dbi); if (($uid == $vuid) AND ($check2 == $ccpass)) { include("header.php"); OpenTable(); echo "
    Your Personal Web Page

    "; CloseTable(); echo "
    "; OpenTable(); nav(); CloseTable(); OpenTable(); echo "
    Delete web page for $check?
    " .""._WEBYES."" ."  " .""._WEBNO.""; CloseTable(); include("footer.php"); } } } function do_delete_webpage($uid) { global $user, $cookie, $userinfo, $user_prefix, $dbi; getusrinfo($user); if (($userinfo[_WEB_UNAME] != $cookie[1]) AND ($userinfo[_WEB_PASSWORD] != $cookie[2])) { cookiedecode($user); $check = $cookie[1]; $check2 = $cookie[2]; $result = sql_query("select "._WEB_UID.","._WEB_PASSWORD." from ".$user_prefix."_users where "._WEB_UNAME."='$check'", $dbi); list($vuid, $ccpass) = sql_fetch_row($result, $dbi); if (($uid == $vuid) AND ($check2 == $ccpass)) { sql_query("delete from ".$user_prefix."_webpages where uid=$uid",$dbi); } } } function edit_webpage_groups($uname) { global $user, $cookie, $userinfo, $user_prefix, $dbi, $prefix, $module_name; getusrinfo($user); if (($userinfo[_WEB_UNAME] != $cookie[1]) AND ($userinfo[_WEB_PASSWORD] != $cookie[2])) { include("header.php"); OpenTable(); echo "
    "._WEBPAGEGROUPS."

    "; CloseTable(); echo "
    "; OpenTable(); nav(); CloseTable(); do_show_edit_webpage_groups($userinfo[_WEB_UID],0,"modules.php?name=".$module_name."&op=savewebpagegroups"); include("footer.php"); return 0; } else { return 1; } } ?> webpages.16/html/modules/Your_Account/ 777 0 0 0 10251044553 13100 5webpages.16/html/modules/Your_Account/index75.php 777 0 0 524033 10250173161 15223 0"._ERRORINVEMAIL."

    "; if (strrpos($user_email,' ') > 0) $stop = "
    "._ERROREMAILSPACES."
    "; if ((!$username) || ($username=="") || (ereg("[^a-zA-Z0-9_-]",$username))) $stop = "
    "._ERRORINVNICK."

    "; if (strlen($username) > 25) $stop = "
    "._NICK2LONG."
    "; if (eregi("^((root)|(adm)|(linux)|(webmaster)|(admin)|(god)|(administrator)|(administrador)|(nobody)|(anonymous)|(anonimo)|(annimo)|(operator)|(JackFromWales4u2))$",$username)) $stop = "
    "._NAMERESERVED."
    "; if (strrpos($username,' ') > 0) $stop = "
    "._NICKNOSPACES."
    "; if ($db->sql_numrows($db->sql_query("SELECT username FROM ".$user_prefix."_users WHERE username='$username'")) > 0) $stop = "
    "._NICKTAKEN."

    "; if ($db->sql_numrows($db->sql_query("SELECT username FROM ".$user_prefix."_users_temp WHERE username='$username'")) > 0) $stop = "
    "._NICKTAKEN."

    "; if ($db->sql_numrows($db->sql_query("SELECT username FROM ".$user_prefix."_pendingusers WHERE username='$username'")) > 0) $stop = "
    "._NICKTAKEN."

    "; if ($db->sql_numrows($db->sql_query("SELECT user_email FROM ".$user_prefix."_users WHERE user_email='$user_email'")) > 0) $stop = "
    "._EMAILREGISTERED."

    "; if ($db->sql_numrows($db->sql_query("SELECT user_email FROM ".$user_prefix."_users_temp WHERE user_email='$user_email'")) > 0) $stop = "
    "._EMAILREGISTERED."

    "; if ($db->sql_numrows($db->sql_query("SELECT user_email FROM ".$user_prefix."_pendingusers WHERE user_email='$user_email'")) > 0) $stop = "
    "._EMAILREGISTERED."

    "; if ($field_activated1 =="1") { if($field_required1 =="1") { if ((!$custom1) || ($custom1=="")) $stop = "
    "._ERRORINVFIELD." $field_name1

    "; } } if ($field_activated2 =="1") { if($field_required2 =="1") { if ((!$custom2) || ($custom2=="")) $stop = "
    "._ERRORINVFIELD." $field_name2

    "; } } if ($field_activated3 =="1") { if($field_required3 =="1") { if ((!$custom3) || ($custom3=="")) $stop = "
    "._ERRORINVFIELD." $field_name3

    "; } } if ($field_activated4 =="1") { if($field_required4 =="1") { if ((!$custom4) || ($custom4=="")) $stop = "
    "._ERRORINVFIELD." $field_name4

    "; } } if ($field_activated5 =="1") { if($field_required5 =="1") { if ((!$custom5) || ($custom5=="")) $stop = "
    "._ERRORINVFIELD." $field_name5

    "; } } return($stop); } function makePass() { $cons = "bcdfghjklmnpqrstvwxyz"; $vocs = "aeiou"; for ($x=0; $x < 6; $x++) { mt_srand ((double) microtime() * 1000000); $con[$x] = substr($cons, mt_rand(0, strlen($cons)-1), 1); $voc[$x] = substr($vocs, mt_rand(0, strlen($vocs)-1), 1); } $makepass = $con[0] . $voc[0] .$con[2] . $con[1] . $voc[1] . $con[3] . $voc[3] . $con[4]; return($makepass); } function confirmNewUser($username, $user_email, $user_password, $user_password2, $random_num, $gfx_check, $custom1, $custom2, $custom3, $custom4, $custom5, $custom6, $custom7, $custom8, $custom9, $field_activated1, $field_activated2, $field_activated3, $field_activated4, $field_activated5, $field_activated6, $field_activated7, $field_activated8, $field_activated9, $field_name1, $field_name2, $field_name3, $field_name4, $field_name5, $field_name6, $field_name7, $field_name8, $field_name9, $field_required1, $field_required2, $field_required3, $field_required4, $field_required5) { global $stop, $EditedMessage, $sitename, $module_name, $minpass, $currentlang, $db, $user_prefix; @include("header.php"); @include("config.php"); @include_once("modules/$module_name/approvelanguage/lang-$currentlang.php"); filter_text($username); $custom1 = check_html($custom1, nohtml); $custom2 = check_html($custom2, nohtml); $custom3 = check_html($custom3, nohtml); $custom4 = check_html($custom4, nohtml); $custom5 = check_html($custom5, nohtml); $custom6 = check_html($custom6, nohtml); $custom7 = check_html($custom7, nohtml); $custom8 = check_html($custom8, nohtml); $custom9 = check_html($custom9, nohtml); $custom1 = htmlspecialchars($custom1, ENT_QUOTES); $custom2 = htmlspecialchars($custom2, ENT_QUOTES); $custom3 = htmlspecialchars($custom3, ENT_QUOTES); $custom4 = htmlspecialchars($custom4, ENT_QUOTES); $custom5 = htmlspecialchars($custom5, ENT_QUOTES); $custom6 = htmlspecialchars($custom6, ENT_QUOTES); $custom7 = htmlspecialchars($custom7, ENT_QUOTES); $custom8 = htmlspecialchars($custom8, ENT_QUOTES); $custom9 = htmlspecialchars($custom9, ENT_QUOTES); $username = $EditedMessage; $user_viewemail = "0"; userCheck($username, $user_email, $custom1, $custom2, $custom3, $custom4, $custom5, $field_name1, $field_name2, $field_name3, $field_name4, $field_name5, $field_activated1, $field_activated2, $field_activated3, $field_activated4, $field_activated5, $field_required1, $field_required2, $field_required3, $field_required4, $field_required5); $user_password = htmlspecialchars(stripslashes($user_password)); $user_password2 = htmlspecialchars(stripslashes($user_password2)); if (!$stop) { $datekey = date("F j"); $rcode = hexdec(md5($_SERVER[HTTP_USER_AGENT] . $sitekey . $_POST[random_num] . $datekey)); $code = substr($rcode, 2, 6); if (extension_loaded("gd") AND $code != $gfx_check AND ($gfx_chk == 3 OR $gfx_chk == 4 OR $gfx_chk == 6 OR $gfx_chk == 7)) { title(""._NEWUSERERROR.""); OpenTable(); echo "
    "._SECCODEINCOR."

    " .""._GOBACK."
    "; CloseTable(); @include("footer.php"); die(); } if ($user_password == "" AND $user_password2 == "") { $user_password = makepass(); } elseif ($user_password != $user_password2) { title(""._NEWUSERERROR.""); OpenTable(); echo "
    "._PASSDIFFERENT."

    "._GOBACK."
    "; CloseTable(); @include("footer.php"); die(); } elseif ($user_password == $user_password2 AND strlen($user_password) < $minpass) { title(""._NEWUSERERROR.""); OpenTable(); echo "
    "._YOUPASSMUSTBE." $minpass "._CHARLONG."

    "._GOBACK."
    "; CloseTable(); @include("footer.php"); die(); } title("$sitename: "._USERREGLOGIN.""); OpenTable(); echo "
    "._USERFINALSTEP."

    $username, "._USERCHECKDATA."


    " ."" ."" .""; if ($field_activated1 == "1") { echo ""; } if ($field_activated2 == "1") { echo ""; } if ($field_activated3 == "1") { echo ""; } if ($field_activated4 == "1") { echo ""; } if ($field_activated5 == "1") { echo ""; } if ($field_activated6 == "1") { echo ""; } if ($field_activated7 == "1") { echo ""; } if ($field_activated8 == "1") { echo ""; } if ($field_activated9 == "1") { echo ""; } $sql = "SELECT * FROM ".$user_prefix."_approve_config"; $result = $db->sql_query($sql); if(!$result) { echo ""._ERROR."
    "; echo mysql_error(); } $myrow = $db->sql_fetchrow($result); $appstatus = $myrow["appstatus"]; if ($appstatus == 3) { echo "
    "._UUSERNAME.": $username
    "._EMAIL.": $user_email
    ".$field_name1.": $custom1
    ".$field_name2.": $custom2
    ".$field_name3.": $custom3
    ".$field_name4.": $custom4
    ".$field_name5.": $custom5
    ".$field_name6.": $custom6
    ".$field_name7.": $custom7
    ".$field_name8.": $custom8
    ".$field_name9.": $custom9


    "; //."
    "._NOTE." "._PENDINGNOTICE.""; } else { echo "

    " ."
    "._NOTE." "._PENDINGNOTICE.""; } echo "
    " ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."

    " ."   "._GOBACK."
    "; CloseTable(); } else { OpenTable(); echo "
    Registration Error!

    "; echo "$stop
    "._GOBACK."
    "; CloseTable(); } @include("footer.php"); } function finishNewUser($username, $user_email, $user_password, $random_num, $gfx_check, $custom1, $custom2, $custom3, $custom4, $custom5, $custom6, $custom7, $custom8, $custom9, $field_activated1, $field_activated2, $field_activated3, $field_activated4, $field_activated5, $field_activated6, $field_activated7, $field_activated8, $field_activated9, $field_name1, $field_name2, $field_name3, $field_name4, $field_name5, $field_name6, $field_name7, $field_name8, $field_name9, $field_required1, $field_required2, $field_required3, $field_required4, $field_required5) { global $stop, $EditedMessage, $adminmail, $sitename, $Default_Theme, $user_prefix, $db, $storyhome, $module_name, $nukeurl, $currentlang; @include("header.php"); @include("config.php"); @include_once("modules/$module_name/approvelanguage/lang-$currentlang.php"); $custom1 = htmlspecialchars($custom1, ENT_QUOTES); $custom2 = htmlspecialchars($custom2, ENT_QUOTES); $custom3 = htmlspecialchars($custom3, ENT_QUOTES); $custom4 = htmlspecialchars($custom4, ENT_QUOTES); $custom5 = htmlspecialchars($custom5, ENT_QUOTES); $custom6 = htmlspecialchars($custom6, ENT_QUOTES); $custom7 = htmlspecialchars($custom7, ENT_QUOTES); $custom8 = htmlspecialchars($custom8, ENT_QUOTES); $custom9 = htmlspecialchars($custom9, ENT_QUOTES); $field_name1 = stripslashes($field_name1); $field_name2 = stripslashes($field_name2); $field_name3 = stripslashes($field_name3); $field_name4 = stripslashes($field_name4); $field_name5 = stripslashes($field_name5); $field_name6 = stripslashes($field_name6); $field_name7 = stripslashes($field_name7); $field_name8 = stripslashes($field_name8); $field_name9 = stripslashes($field_name9); $ip = $_SERVER["REMOTE_ADDR"]; userCheck($username, $user_email, $custom1, $custom2, $custom3, $custom4, $custom5, $field_name1, $field_name2, $field_name3, $field_name4, $field_name5, $field_activated1, $field_activated2, $field_activated3, $field_activated4, $field_activated5, $field_required1, $field_required2, $field_required3, $field_required4, $field_required5); $user_regdate = date("M d, Y"); $user_password = htmlspecialchars(stripslashes($user_password)); if (!isset($stop)) { $datekey = date("F j"); $rcode = hexdec(md5($_SERVER[HTTP_USER_AGENT] . $sitekey . $random_num . $datekey)); $code = substr($rcode, 2, 6); if (extension_loaded("gd") AND $code != $gfx_check AND ($gfx_chk == 3 OR $gfx_chk == 4 OR $gfx_chk == 6 OR $gfx_chk == 7)) { Header("Location: modules.php?name=$module_name"); die(); } mt_srand ((double)microtime()*1000000); $maxran = 1000000; $check_num = mt_rand(0, $maxran); $check_num = md5($check_num); $time = time(); $finishlink = "$nukeurl/modules.php?name=$module_name&op=activate&username=$username&check_num=$check_num"; $new_password = md5($user_password); $new_password = htmlspecialchars(stripslashes($new_password)); $username = check_html($username, nohtml); $user_email = check_html($user_email, nohtml); $sql = "SELECT * FROM ".$user_prefix."_approve_config"; $result = $db->sql_query($sql); if(!$result) { echo ""._ERROR."
    "; echo mysql_error(); } $myrow = $db->sql_fetchrow($result); $notapp = $myrow["notapp"]; $actemail = $myrow["actemail"]; $addmessage = $myrow["addmessage"]; $mailadmin = $myrow["mailadmin"]; $appstatus = $myrow["appstatus"]; $sql = "SELECT * FROM ".$user_prefix."_stdemail"; $result = $db->sql_query($sql); if(!$result) { echo ""._ERROR."
    "; echo mysql_error(); } $myrow = $db->sql_fetchrow($result); $rmessage = $myrow["rmessage"]; $appmessage = $myrow["appmessage"]; $fumessage = $myrow["fumessage"]; $token = strtok($user_email, "@"); while ($token !== false) { $appdomain = $token; $token = strtok("@"); } if ($appstatus == 1) { if (($db->sql_numrows($db->sql_query("SELECT approved_email FROM ".$user_prefix."_approvedemailaddresses WHERE approved_email='$user_email'")) > 0) || ($db->sql_numrows($db->sql_query("SELECT approved_domain FROM ".$user_prefix."_approvedemaildomains WHERE approved_domain='$appdomain'")) > 0)) { if ($actemail == "Y") { $result = $db->sql_query("INSERT INTO ".$user_prefix."_users_temp (user_id, username, user_email, user_password, user_regdate, check_num, time, custom1, custom2, custom3, custom4, custom5, custom6, custom7, custom8, custom9) VALUES (NULL, '$username', '$user_email', '$new_password', '$user_regdate', '$check_num', '$time', '$custom1', '$custom2', '$custom3', '$custom4', '$custom5', '$custom6', '$custom7', '$custom8', '$custom9')"); if(!$result) { echo ""._ERROR."
    "; echo mysql_error(); } else { if ($addmessage == "Y") { $appmessage = stripslashes($appmessage); $message = ""._WELCOMETO." $sitename!\r\n\r\n"._YOUUSEDEMAIL." ($user_email) "._TOREGISTER." $sitename.\r\n\r\n "._TOFINISHUSER1."\r\n\r\n $finishlink\r\n\r\n "._FOLLOWINGMEM."\r\n\r\n"._UNICKNAME." $username\r\n"._UPASSWORD." $user_password\r\n\r\n $appmessage\r\n\r\n"; } else { $message = ""._WELCOMETO." $sitename!\r\n\r\n"._YOUUSEDEMAIL." ($user_email) "._TOREGISTER." $sitename.\r\n\r\n "._TOFINISHUSER1."\r\n\r\n $finishlink\r\n\r\n "._FOLLOWINGMEM."\r\n\r\n"._UNICKNAME." $username\r\n"._UPASSWORD." $user_password"; } $subject = ""._ACTIVATIONSUB.""; $from = "$adminmail"; mail($user_email, $subject, $message, "From: $from\r\nX-Mailer: PHP/" . phpversion()); title("$sitename: "._USERREGLOGIN.""); OpenTable(); echo "
    "._ACCOUNTCREATED."

    "; echo ""._YOUAREREGISTERED1."" ."

    " .""._FINISHUSERCONF1."

    " .""._THANKSUSER." $sitename!
    "; CloseTable(); if ($mailadmin == "Y") { $message = ""._NEWMEMBERPREAPP." $sitename.\r\n\r\n "._FOLLOWINGMEM."\r\n\r\n"._UNICKNAME." $username\r\n"._UEMAIL." $user_email"; $subject = ""._MEMBERAPP.""; $from = "$adminmail"; $sender = "$adminmail"; mail($sender, $subject, $message, "From: $from\r\nX-Mailer: PHP/" . phpversion()); } } } else { $result = $db->sql_query("INSERT INTO ".$user_prefix."_users (user_id, username, user_email, user_password, user_avatar, user_regdate, user_lang, custom1, custom2, custom3, custom4, custom5, custom6, custom7, custom8, custom9) VALUES (NULL, '$username', '$user_email', '$new_password', 'gallery/blank.gif', '$user_regdate', '$language', '$custom1', '$custom2', '$custom3', '$custom4', '$custom5', '$custom6', '$custom7', '$custom8', '$custom9')"); if(!$result) { echo ""._ERROR."
    "; echo mysql_error(); } else { if ($addmessage = "Y") { $appmessage = stripslashes($appmessage); $message = ""._WELCOMETO." $sitename!\r\n\r\n"._YOUUSEDEMAIL." ($user_email) "._TOREGISTER." $sitename.\r\n\r\n "._FOLLOWINGMEM."\r\n\r\n"._UNICKNAME." $username\r\n"._UPASSWORD." $user_password\r\n\r\n"._APPUSELINK."\r\n\r\n $appmessage\r\n\r\n"; } else { $message = ""._WELCOMETO." $sitename!\r\n\r\n"._YOUUSEDEMAIL." ($user_email) "._TOREGISTER." $sitename.\r\n\r\n "._FOLLOWINGMEM."\r\n\r\n"._UNICKNAME." $username\r\n"._UPASSWORD." $user_password\r\n\r\n"._APPUSELINK.""; } $subject = ""._ACTIVATIONSUB.""; $from = "$adminmail"; mail($user_email, $subject, $message, "From: $from\r\nX-Mailer: PHP/" . phpversion()); title("$sitename: "._USERREGLOGIN.""); OpenTable(); echo "
    "._ACCOUNTCREATED."

    "; echo ""._YOUAREREGISTERED1."" ."

    " .""._ACCAPP."

    " .""._THANKSUSER." $sitename!
    "; CloseTable(); if ($mailadmin == "Y") { $message = ""._NEWMEMBERPREAPP." $sitename.\r\n\r\n "._FOLLOWINGMEM."\r\n\r\n"._UNICKNAME." $username\r\n"._UEMAIL." $user_email"; $subject = ""._MEMBERAPP.""; $from = "$adminmail"; $sender = "$adminmail"; mail($sender, $subject, $message, "From: $from\r\nX-Mailer: PHP/" . phpversion()); } } } } else { if ($notapp == 1) { OpenTable(); echo "
    "._APPNOTAPP."

    "; echo ""._APPRESTRICTED."

    " .""._THANKSUSER." $sitename!
    "; CloseTable(); } elseif ($notapp == 2) { $rmessage = stripslashes($rmessage); $message = ""._YOURAPP." "._TOREGISTER." $sitename "._REJECTED."\r\n\r\n $rmessage\r\n\r\n"; $subject = ""._MEMBERAPP.""; $from = "$adminmail"; mail($user_email, $subject, $message, "From: $from\r\nX-Mailer: PHP/" . phpversion()); OpenTable(); echo "
    "._APPNOTAPP."

    "; echo ""._APPRESTRICTED."

    "; echo ""._REJEMAILSENT."

    " .""._THANKSUSER." $sitename!
    "; CloseTable(); } elseif ($notapp == 3) { $result = $db->sql_query("INSERT INTO ".$user_prefix."_pendingusers (user_id, username, user_email, user_password, user_regdate, check_num, time, custom1, custom2, custom3, custom4, custom5, custom6, custom7, custom8, custom9, user_ip) VALUES (NULL, '$username', '$user_email', '$user_password', '$user_regdate', '$check_num', '$time', '$custom1', '$custom2', '$custom3', '$custom4', '$custom5', '$custom6', '$custom7', '$custom8', '$custom9', '$ip')"); if(!$result) { echo ""._ERROR."
    "; echo mysql_error(); } else { $message = ""._NEWMEMBERAPP." $sitename.\r\n\r\n "._FOLLOWINGMEM."\r\n\r\n"._UNICKNAME." $username\r\n"._UEMAIL." $user_email"; $subject = ""._MEMBERAPP.""; $from = "$adminmail"; $sender = "$adminmail"; mail($sender, $subject, $message, "From: $from\r\nX-Mailer: PHP/" . phpversion()); title("$sitename: "._USERREGLOGIN.""); $sql = "SELECT * FROM ".$user_prefix."_pendingusers WHERE username='$username'"; $result = $db->sql_query($sql); if(!$result) { echo ""._ERROR."
    "; echo mysql_error(); } $myrow = $db->sql_fetchrow($result); $username = $myrow["username"]; $user_email = $myrow["user_email"]; $sql = "SELECT * FROM ".$user_prefix."_stdemail"; $result = $db->sql_query($sql); if(!$result) { echo ""._ERROR."
    "; echo mysql_error(); } $myrow = $db->sql_fetchrow($result); $fumessage = $myrow["fumessage"]; $fumessage = stripslashes($fumessage); $fumessage = addslashes($fumessage); $fudate = date("M d, Y"); $sql = "UPDATE ".$user_prefix."_pendingusers SET fusent = 1, fusentdate = '$fudate', fuemail='$fumessage' WHERE username='$username'"; $result = $db->sql_query($sql); if(!$result) { echo ""._ERROR."
    "; echo mysql_error(); } else { $fumessage = stripslashes($fumessage); $message = ""._YOUUSEDEMAIL." ($user_email) "._TOREGISTER." $sitename \r\n\r\n"._YOURAPP." "._APPPROCESSED."\r\n\r\n $fumessage\r\n\r\n"; $subject = ""._MEMBERAPP.""; $from = "$adminmail"; mail($user_email, $subject, $message, "From: $from\r\nX-Mailer: PHP/" . phpversion()); } } OpenTable(); echo "
    "._ACCOUNTCREATED."

    "; echo ""._YOUAREREGISTERED1."" ."

    " .""._FINISHUSERCONF1."

    " .""._THANKSUSER." $sitename!
    "; CloseTable(); } else { $result = $db->sql_query("INSERT INTO ".$user_prefix."_pendingusers (user_id, username, user_email, user_password, user_regdate, check_num, time, custom1, custom2, custom3, custom4, custom5, custom6, custom7, custom8, custom9, user_ip) VALUES (NULL, '$username', '$user_email', '$user_password', '$user_regdate', '$check_num', '$time', '$custom1', '$custom2', '$custom3', '$custom4', '$custom5', '$custom6', '$custom7', '$custom8', '$custom9','$ip')"); if(!$result) { echo ""._ERROR."
    "; echo mysql_error(); } else { $message = ""._NEWMEMBERAPP." $sitename.\r\n\r\n "._FOLLOWINGMEM."\r\n\r\n"._UNICKNAME." $username\r\n"._UEMAIL." $user_email"; $subject = ""._MEMBERAPP.""; $from = "$adminmail"; $sender = "$adminmail"; mail($sender, $subject, $message, "From: $from\r\nX-Mailer: PHP/" . phpversion()); title("$sitename: "._USERREGLOGIN.""); OpenTable(); echo "
    "._ACCOUNTCREATED."

    "; echo ""._YOUAREREGISTERED1."" ."

    " .""._FINISHUSERCONF1."

    " .""._THANKSUSER." $sitename!
    "; CloseTable(); } } } } elseif ($appstatus == 3) { $result = $db->sql_query("INSERT INTO ".$user_prefix."_users (user_id, username, user_email, user_password, user_avatar, user_regdate, user_lang, custom1, custom2, custom3, custom4, custom5, custom6, custom7, custom8, custom9) VALUES (NULL, '$username', '$user_email', '$new_password', 'gallery/blank.gif', '$user_regdate', '$language', '$custom1', '$custom2', '$custom3', '$custom4', '$custom5', '$custom6', '$custom7', '$custom8', '$custom9')"); if(!$result) { echo ""._ERROR."
    "; echo mysql_error(); } else { title("$sitename: "._USERREGLOGIN.""); OpenTable(); echo "
    "._ACCOUNTCREATED."

    "; echo ""._YOUAREREGISTERED1."" ."

    " .""._ACCAPP."

    " .""._THANKSUSER." $sitename!
    "; CloseTable(); } } else { $result = $db->sql_query("INSERT INTO ".$user_prefix."_users_temp (user_id, username, user_email, user_password, user_regdate, check_num, time, custom1, custom2, custom3, custom4, custom5, custom6, custom7, custom8, custom9) VALUES (NULL, '$username', '$user_email', '$new_password', '$user_regdate', '$check_num', '$time', '$custom1', '$custom2', '$custom3', '$custom4', '$custom5', '$custom6', '$custom7', '$custom8', '$custom9')"); if(!$result) { echo ""._ERROR."
    "; } else { $message = ""._WELCOMETO." $sitename!\r\n\r\n"._YOUUSEDEMAIL." ($user_email) "._TOREGISTER." $sitename.\r\n\r\n "._TOFINISHUSER1."\r\n\r\n $finishlink\r\n\r\n "._FOLLOWINGMEM."\r\n\r\n"._UNICKNAME." $username\r\n"._UPASSWORD." $user_password"; $subject = ""._ACTIVATIONSUB.""; $from = "$adminmail"; mail($user_email, $subject, $message, "From: $from\r\nX-Mailer: PHP/" . phpversion()); title("$sitename: "._USERREGLOGIN.""); OpenTable(); echo "
    "._ACCOUNTCREATED."

    "; echo ""._YOUAREREGISTERED."" ."

    " .""._FINISHUSERCONF2."

    " .""._THANKSUSER." $sitename!
    "; CloseTable(); } } } else { echo "$stop"; } @include("footer.php"); } function activate($username, $check_num) { global $db, $user_prefix, $module_name, $language; $past = time()-ACTIVATION_TIME; $db->sql_query("DELETE FROM ".$user_prefix."_users_temp WHERE time < $past"); $result = $db->sql_query("SELECT * FROM ".$user_prefix."_users_temp WHERE username='$username' AND check_num='$check_num'"); if ($db->sql_numrows($result) == 1) { $row = $db->sql_fetchrow($result); $user_password = htmlspecialchars(stripslashes($row[user_password])); $custom1 = $row['custom1']; $custom2 = $row['custom2']; $custom3 = $row['custom3']; $custom4 = $row['custom4']; $custom5 = $row['custom5']; $custom6 = $row['custom6']; $custom7 = $row['custom7']; $custom8 = $row['custom8']; $custom9 = $row['custom9']; if ($check_num == $row[check_num]) { $result = $db->sql_query("INSERT INTO ".$user_prefix."_users (user_id, username, user_email, user_password, user_avatar, user_avatar_type, user_regdate, user_lang, custom1, custom2, custom3, custom4, custom5, custom6, custom7, custom8, custom9) VALUES (NULL, '$row[username]', '$row[user_email]', '$row[user_password]', 'gallery/blank.gif', 3, '$row[user_regdate]', '$language', '$custom1', '$custom2', '$custom3', '$custom4', '$custom5', '$custom6', '$custom7', '$custom8', '$custom9')"); if(!$result) { echo ""._ERROR."
    "; echo mysql_error(); } $db->sql_query("DELETE FROM ".$user_prefix."_users_temp WHERE username='$username' AND check_num='$check_num'"); @include("header.php"); title(""._ACTIVATIONYES.""); OpenTable(); echo "
    $row[username]: "._ACTMSG."
    "; CloseTable(); @include("footer.php"); die(); } else { @include("header.php"); title(""._ACTIVATIONERROR.""); OpenTable(); echo "
    "._ACTERROR1."
    "; CloseTable(); @include("footer.php"); die(); } } else { @include("header.php"); title(""._ACTIVATIONERROR.""); OpenTable(); echo "
    "._ACTERROR2."
    "; CloseTable(); @include("footer.php"); die(); } } function userinfo($username, $bypass=0, $hid=0, $url=0) { global $articlecomm, $user, $cookie, $sitename, $prefix, $user_prefix, $db, $admin, $broadcast_msg, $my_headlines, $module_name, $subscription_url; $username = substr("$username", 0,25); $sql = "SELECT * FROM ".$prefix."_bbconfig"; $result = $db->sql_query($sql); while ( $row = $db->sql_fetchrow($result) ) { $board_config[$row['config_name']] = $row['config_value']; } $sql2 = "SELECT * FROM ".$user_prefix."_users WHERE username='$username'"; $result2 = $db->sql_query($sql2); $num = $db->sql_numrows($result2); $userinfo = $db->sql_fetchrow($result2); $sql = "SELECT * FROM ".$user_prefix."_fields_config"; $result = $db->sql_query($sql); if(!$result) { echo ""._ERROR."
    "; echo mysql_error(); } else { while ($row = $db->sql_fetchrow($result)) { if($row['idnum'] == "1") { $field_name1 = $row['field_name']; $field_size1 = $row['field_size']; $field_max_size1 = $row['field_max_size']; $field_activated1 = $row['field_activated']; $field_allowturnoff1 = $row['field_allowturnoff']; $field_admin1 = $row['field_admin']; } if($row['idnum'] == "2") { $field_name2 = $row['field_name']; $field_size2 = $row['field_size']; $field_max_size2 = $row['field_max_size']; $field_activated2 = $row['field_activated']; $field_allowturnoff2 = $row['field_allowturnoff']; $field_admin2 = $row['field_admin']; } if($row['idnum'] == "3") { $field_name3 = $row['field_name']; $field_size3 = $row['field_size']; $field_max_size3 = $row['field_max_size']; $field_activated3 = $row['field_activated']; $field_allowturnoff3 = $row['field_allowturnoff']; $field_admin3 = $row['field_admin']; } if($row['idnum'] == "4") { $field_name4 = $row['field_name']; $field_size4 = $row['field_size']; $field_max_size4 = $row['field_max_size']; $field_activated4 = $row['field_activated']; $field_allowturnoff4 = $row['field_allowturnoff']; $field_admin4 = $row['field_admin']; } if($row['idnum'] == "5") { $field_name5 = $row['field_name']; $field_size5 = $row['field_size']; $field_max_size5 = $row['field_max_size']; $field_activated5 = $row['field_activated']; $field_allowturnoff5 = $row['field_allowturnoff']; $field_admin5 = $row['field_admin']; } if($row['idnum'] == "6") { $field_name6 = $row['field_name']; $field_size6 = $row['field_size']; $field_max_size6 = $row['field_max_size']; $field_activated6 = $row['field_activated']; $field_allowturnoff6 = $row['field_allowturnoff']; $field_admin6 = $row['field_admin']; } if($row['idnum'] == "7") { $field_name7 = $row['field_name']; $field_size7 = $row['field_size']; $field_max_size7 = $row['field_max_size']; $field_activated7 = $row['field_activated']; $field_allowturnoff7 = $row['field_allowturnoff']; $field_admin7 = $row['field_admin']; } if($row['idnum'] == "8") { $field_name8 = $row['field_name']; $field_size8 = $row['field_size']; $field_max_size8 = $row['field_max_size']; $field_activated8 = $row['field_activated']; $field_allowturnoff8 = $row['field_allowturnoff']; $field_admin8 = $row['field_admin']; } if($row['idnum'] == "9") { $field_name9 = $row['field_name']; $field_size9 = $row['field_size']; $field_max_size9 = $row['field_max_size']; $field_activated9 = $row['field_activated']; $field_allowturnoff9 = $row['field_allowturnoff']; $field_admin9 = $row['field_admin']; } } } if(!$bypass) cookiedecode($user); @include("header.php"); OpenTable(); echo "
    "; if((strtolower($username) == strtolower($cookie[1])) AND ($userinfo[user_password] == $cookie[2])) { echo "$username, "._WELCOMETO." $sitename!

    "; echo ""._THISISYOURPAGE."


    "; nav(1); echo "

    "; } else { echo ""._PERSONALINFO.": $username


    "; } if ($userinfo[user_website]) { if (!eregi("http://", $userinfo[user_website])) { $userinfo[user_website] = "http://$userinfo[user_website]"; } } if ($userinfo[user_avatar_type] == 1) { $userinfo[user_avatar] = $board_config['avatar_path']."/".$userinfo[user_avatar]; } elseif ($userinfo[user_avatar_type] == 2) { $userinfo[user_avatar] = $userinfo[user_avatar]; } else { $userinfo[user_avatar] = $board_config[avatar_gallery_path]."/".$userinfo[user_avatar]; } if(($num == 1) && ($userinfo[user_website] || $userinfo[femail] || $userinfo[bio] || $userinfo[user_avatar] || $userinfo[user_icq] || $userinfo[user_aim] || $userinfo[user_yim] || $userinfo[user_msnm] || $userinfo[user_from] || $userinfo[user_occ] || $userinfo[user_interests] || $userinfo[user_sig] || $userinfo[custom1] || $userinfo[custom2] || $userinfo[custom3] || $userinfo[custom4] || $userinfo[custom5] || $userinfo[custom6] || $userinfo[custom7] || $userinfo[custom8] || $userinfo[custom9])) { echo "
    "; echo "

    \n"; if ($userinfo[user_website] != "http://" AND $userinfo[user_website] != "") { echo ""._MYHOMEPAGE." $userinfo[user_website]
    \n"; } if($field_admin1 == "1") { if(is_admin($admin) || (($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2]))) { if($field_activated1 == "1") { if(($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) { if ($userinfo[custom1]) echo "".$field_name1.": $userinfo[custom1]
    \n"; } else { if ($field_allowturnoff1 == "1") { if ($userinfo['user_show_custom1'] == "1") { if ($userinfo[custom1]) echo "".$field_name1.": $userinfo[custom1]
    \n"; } else { echo ""; } } else { if ($userinfo[custom1]) echo "".$field_name1.": $userinfo[custom1]
    \n"; } } } } } else { if(is_admin($admin) || is_user($user)) { if($field_activated1 == "1") { if(($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) { if ($userinfo[custom1]) echo "".$field_name1.": $userinfo[custom1]
    \n"; } else { if ($field_allowturnoff1 == "1") { if ($userinfo['user_show_custom1'] == "1") { if ($userinfo[custom1]) echo "".$field_name1.": $userinfo[custom1]
    \n"; } else { echo ""; } } else { if ($userinfo[custom1]) echo "".$field_name1.": $userinfo[custom1]
    \n"; } } } } } if($field_admin2 == "1") { if(is_admin($admin) || (($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2]))) { if($field_activated2 == "1") { if(($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) { if ($userinfo[custom2]) echo "".$field_name2.": $userinfo[custom2]
    \n"; } else { if ($field_allowturnoff2 == "1") { if ($userinfo['user_show_custom2'] == "1") { if ($userinfo[custom2]) echo "".$field_name2.": $userinfo[custom2]
    \n"; } else { echo ""; } } else { if ($userinfo[custom2]) echo "".$field_name2.": $userinfo[custom2]
    \n"; } } } } } else { if(is_admin($admin) || is_user($user)) { if($field_activated2 == "1") { if(($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) { if ($userinfo[custom2]) echo "".$field_name2.": $userinfo[custom2]
    \n"; } else { if ($field_allowturnoff2 == "1") { if ($userinfo['user_show_custom2'] == "1") { if ($userinfo[custom2]) echo "".$field_name2.": $userinfo[custom2]
    \n"; } else { echo ""; } } else { if ($userinfo[custom2]) echo "".$field_name2.": $userinfo[custom2]
    \n"; } } } } } if($field_admin3 == "1") { if(is_admin($admin) || (($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2]))) { if($field_activated3 == "1") { if(($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) { if ($userinfo[custom3]) echo "".$field_name3.": $userinfo[custom3]
    \n"; } else { if ($field_allowturnoff3 == "1") { if ($userinfo['user_show_custom3'] == "1") { if ($userinfo[custom3]) echo "".$field_name3.": $userinfo[custom3]
    \n"; } else { echo ""; } } else { if ($userinfo[custom3]) echo "".$field_name3.": $userinfo[custom3]
    \n"; } } } } } else { if(is_admin($admin) || is_user($user)) { if($field_activated3 == "1") { if(($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) { if ($userinfo[custom3]) echo "".$field_name3.": $userinfo[custom3]
    \n"; } else { if ($field_allowturnoff3 == "1") { if ($userinfo['user_show_custom3'] == "1") { if ($userinfo[custom3]) echo "".$field_name3.": $userinfo[custom3]
    \n"; } else { echo ""; } } else { if ($userinfo[custom3]) echo "".$field_name3.": $userinfo[custom3]
    \n"; } } } } } if($field_admin4 == "1") { if(is_admin($admin) || (($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2]))) { if($field_activated4 == "1") { if(($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) { if ($userinfo[custom4]) echo "".$field_name4.": $userinfo[custom4]
    \n"; } else { if ($field_allowturnoff4 == "1") { if ($userinfo['user_show_custom4'] == "1") { if ($userinfo[custom4]) echo "".$field_name4.": $userinfo[custom4]
    \n"; } else { echo ""; } } else { if ($userinfo[custom4]) echo "".$field_name4.": $userinfo[custom4]
    \n"; } } } } } else { if(is_admin($admin) || is_user($user)) { if($field_activated4 == "1") { if(($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) { if ($userinfo[custom4]) echo "".$field_name4.": $userinfo[custom4]
    \n"; } else { if ($field_allowturnoff4 == "1") { if ($userinfo['user_show_custom4'] == "1") { if ($userinfo[custom4]) echo "".$field_name4.": $userinfo[custom4]
    \n"; } else { echo ""; } } else { if ($userinfo[custom4]) echo "".$field_name4.": $userinfo[custom4]
    \n"; } } } } } if($field_admin5 == "1") { if(is_admin($admin) || (($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2]))) { if($field_activated5 == "1") { if(($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) { if ($userinfo[custom5]) echo "".$field_name5.": $userinfo[custom5]
    \n"; } else { if ($field_allowturnoff5 == "1") { if ($userinfo['user_show_custom5'] == "1") { if ($userinfo[custom5]) echo "".$field_name5.": $userinfo[custom5]
    \n"; } else { echo ""; } } else { if ($userinfo[custom5]) echo "".$field_name5.": $userinfo[custom5]
    \n"; } } } } } else { if(is_admin($admin) || is_user($user)) { if($field_activated5 == "1") { if(($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) { if ($userinfo[custom5]) echo "".$field_name5.": $userinfo[custom5]
    \n"; } else { if ($field_allowturnoff5 == "1") { if ($userinfo['user_show_custom5'] == "1") { if ($userinfo[custom5]) echo "".$field_name5.": $userinfo[custom5]
    \n"; } else { echo ""; } } else { if ($userinfo[custom5]) echo "".$field_name5.": $userinfo[custom5]
    \n"; } } } } } if($field_admin6 == "1") { if(is_admin($admin) || (($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2]))) { if($field_activated6 == "1") { if(($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) { if ($userinfo[custom6]) echo "".$field_name6.": $userinfo[custom6]
    \n"; } else { if ($field_allowturnoff6 == "1") { if ($userinfo['user_show_custom6'] == "1") { if ($userinfo[custom6]) echo "".$field_name6.": $userinfo[custom6]
    \n"; } else { echo ""; } } else { if ($userinfo[custom6]) echo "".$field_name6.": $userinfo[custom6]
    \n"; } } } } } else { if(is_admin($admin) || is_user($user)) { if($field_activated6 == "1") { if(($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) { if ($userinfo[custom6]) echo "".$field_name6.": $userinfo[custom6]
    \n"; } else { if ($field_allowturnoff6 == "1") { if ($userinfo['user_show_custom6'] == "1") { if ($userinfo[custom6]) echo "".$field_name6.": $userinfo[custom6]
    \n"; } else { echo ""; } } else { if ($userinfo[custom6]) echo "".$field_name6.": $userinfo[custom6]
    \n"; } } } } } if($field_admin7 == "1") { if(is_admin($admin) || (($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2]))) { if($field_activated7 == "1") { if(($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) { if ($userinfo[custom7]) echo "".$field_name7.": $userinfo[custom7]
    \n"; } else { if ($field_allowturnoff7 == "1") { if ($userinfo['user_show_custom7'] == "1") { if ($userinfo[custom7]) echo "".$field_name7.": $userinfo[custom7]
    \n"; } else { echo ""; } } else { if ($userinfo[custom7]) echo "".$field_name7.": $userinfo[custom7]
    \n"; } } } } } else { if(is_admin($admin) || is_user($user)) { if($field_activated7 == "1") { if(($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) { if ($userinfo[custom7]) echo "".$field_name7.": $userinfo[custom7]
    \n"; } else { if ($field_allowturnoff7 == "1") { if ($userinfo['user_show_custom7'] == "1") { if ($userinfo[custom7]) echo "".$field_name7.": $userinfo[custom7]
    \n"; } else { echo ""; } } else { if ($userinfo[custom7]) echo "".$field_name7.": $userinfo[custom7]
    \n"; } } } } } if($field_admin8 == "1") { if(is_admin($admin) || (($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2]))) { if($field_activated8 == "1") { if(($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) { if ($userinfo[custom8]) echo "".$field_name8.": $userinfo[custom8]
    \n"; } else { if ($field_allowturnoff8 == "1") { if ($userinfo['user_show_custom8'] == "1") { if ($userinfo[custom8]) echo "".$field_name8.": $userinfo[custom8]
    \n"; } else { echo ""; } } else { if ($userinfo[custom8]) echo "".$field_name8.": $userinfo[custom8]
    \n"; } } } } } else { if(is_admin($admin) || is_user($user)) { if($field_activated8 == "1") { if(($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) { if ($userinfo[custom8]) echo "".$field_name8.": $userinfo[custom8]
    \n"; } else { if ($field_allowturnoff8 == "1") { if ($userinfo['user_show_custom8'] == "1") { if ($userinfo[custom8]) echo "".$field_name8.": $userinfo[custom8]
    \n"; } else { echo ""; } } else { if ($userinfo[custom8]) echo "".$field_name8.": $userinfo[custom8]
    \n"; } } } } } if($field_admin9 == "1") { if(is_admin($admin) || (($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2]))) { if($field_activated9 == "1") { if(($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) { if ($userinfo[custom9]) echo "".$field_name9.": $userinfo[custom9]
    \n"; } else { if ($field_allowturnoff9 == "1") { if ($userinfo['user_show_custom9'] == "1") { if ($userinfo[custom9]) echo "".$field_name9.": $userinfo[custom9]
    \n"; } else { echo ""; } } else { if ($userinfo[custom9]) echo "".$field_name9.": $userinfo[custom9]
    \n"; } } } } } else { if(is_admin($admin) || is_user($user)) { if($field_activated9 == "1") { if(($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) { if ($userinfo[custom9]) echo "".$field_name9.": $userinfo[custom9]
    \n"; } else { if ($field_allowturnoff9 == "1") { if ($userinfo['user_show_custom9'] == "1") { if ($userinfo[custom9]) echo "".$field_name9.": $userinfo[custom9]
    \n"; } else { echo ""; } } else { if ($userinfo[custom9]) echo "".$field_name9.": $userinfo[custom9]
    \n"; } } } } } if ($userinfo[femail]) { echo ""._MYEMAIL." $userinfo[femail]
    \n"; } if ($userinfo[user_icq]) echo ""._ICQ.": $userinfo[user_icq]
    \n"; if ($userinfo[user_aim]) echo ""._AIM.": $userinfo[user_aim]
    \n"; if ($userinfo[user_yim]) echo ""._YIM.": $userinfo[user_yim]
    \n"; if ($userinfo[user_msnm]) echo ""._MSNM.": $userinfo[user_msnm]
    \n"; if ($userinfo[user_from]) echo ""._LOCATION.": $userinfo[user_from]
    \n"; if ($userinfo[user_occ]) echo ""._OCCUPATION.": $userinfo[user_occ]
    \n"; if ($userinfo[user_interests]) echo ""._INTERESTS.": $userinfo[user_interests]
    \n"; $userinfo[user_sig] = nl2br($userinfo[user_sig]); if ($userinfo[user_sig]) echo "
    "._SIGNATURE.":
    $userinfo[user_sig]
    \n"; if ($userinfo[bio]) { echo "
    "._EXTRAINFO.":
    $userinfo[bio]
    \n"; } $sql2 = "SELECT uname FROM ".$prefix."_session WHERE uname='$username'"; $result2 = $db->sql_query($sql2); $row2 = $db->sql_fetchrow($result2); $username_pm = $username; $username_online = $row2[uname]; if ($username_online == "") { $online = _OFFLINE; } else { $online = _ONLINE; } echo ""._USERSTATUS.": $online
    \n"; if (($userinfo[newsletter] == 1) AND ($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2]) OR (is_admin($admin) AND ($userinfo[newsletter] == 1))) { echo ""._SUBSCRIBED."
    "; } elseif (($userinfo[newsletter] == 0) AND ($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2]) OR (is_admin($admin) AND ($userinfo[newsletter] == 0))) { echo ""._NOTSUBSCRIBED."
    "; } if (is_user($user) AND $cookie[1] == "$username" OR is_admin($admin)) { $numpoints = $db->sql_fetchrow($db->sql_query("SELECT points FROM ".$user_prefix."_users WHERE username='$cookie[1]'")); $n_points = intval($numpoints['points']); echo ""._YOUHAVEPOINTS." $n_points
    "; if (paid()) { $row = $db->sql_fetchrow($db->sql_query("SELECT * FROM ".$prefix."_subscriptions WHERE userid='$cookie[0]'")); if ($subscription_url != "") { $content = "
    "._YOUARE." "._SUBSCRIBER." "._OF." $sitename
    "; } else { $content = "
    "._YOUARE." "._SUBSCRIBER." "._OF." $sitename
    "; } $diff = $row[subscription_expire]-time(); $yearDiff = floor($diff/60/60/24/365); $diff -= $yearDiff*60*60*24*365; if ($yearDiff < 1) { $diff = $row[subscription_expire]-time(); } $daysDiff = floor($diff/60/60/24); $diff -= $daysDiff*60*60*24; $hrsDiff = floor($diff/60/60); $diff -= $hrsDiff*60*60; $minsDiff = floor($diff/60); $diff -= $minsDiff*60; $secsDiff = $diff; if ($yearDiff < 1) { $rest = "$daysDiff "._SBDAYS.", $hrsDiff "._SBHOURS.", $minsDiff "._SBMINUTES.", $secsDiff "._SBSECONDS.""; } elseif ($yearDiff == 1) { $rest = "$yearDiff "._SBYEAR.", $daysDiff "._SBDAYS.", $hrsDiff "._SBHOURS.", $minsDiff "._SBMINUTES.", $secsDiff "._SBSECONDS.""; } elseif ($yearDiff > 1) { $rest = "$yearDiff "._SBYEARS.", $daysDiff "._SBDAYS.", $hrsDiff "._SBHOURS.", $minsDiff "._SBMINUTES.", $secsDiff "._SBSECONDS.""; } $content .= ""._SUBEXPIREIN."
    $rest
    "; } else { if ($subscription_url != "") { $content .= "
    "._NOTSUB." $sitename. "._SUBFROM." "._HERE." "._NOW.""; } else { $content .= "
    "._NOTSUB." $sitename."; } } echo "$content

    "; if (is_admin($admin)) { $subnum = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_subscriptions WHERE userid='$userinfo[user_id]'")); if ($subnum != 0) { echo "
    "._ADMSUB."

    "; $row = $db->sql_fetchrow($db->sql_query("SELECT * FROM ".$prefix."_subscriptions WHERE userid='$userinfo[user_id]'")); $diff = $row[subscription_expire]-time(); $yearDiff = floor($diff/60/60/24/365); $diff -= $yearDiff*60*60*24*365; if ($yearDiff < 1) { $diff = $row[subscription_expire]-time(); } $daysDiff = floor($diff/60/60/24); $diff -= $daysDiff*60*60*24; $hrsDiff = floor($diff/60/60); $diff -= $hrsDiff*60*60; $minsDiff = floor($diff/60); $diff -= $minsDiff*60; $secsDiff = $diff; if ($yearDiff < 1) { $rest = "$daysDiff "._SBDAYS.", $hrsDiff "._SBHOURS.", $minsDiff "._SBMINUTES.", $secsDiff "._SBSECONDS.""; } elseif ($yearDiff == 1) { $rest = "$yearDiff "._SBYEAR.", $daysDiff "._SBDAYS.", $hrsDiff "._SBHOURS.", $minsDiff "._SBMINUTES.", $secsDiff "._SBSECONDS.""; } elseif ($yearDiff > 1) { $rest = "$yearDiff "._SBYEARS.", $daysDiff "._SBDAYS.", $hrsDiff "._SBHOURS.", $minsDiff "._SBMINUTES.", $secsDiff "._SBSECONDS.""; } $content = ""._ADMSUBEXPIREIN."
    $rest


    "; echo "$content"; } else { echo "
    "._ADMNOTSUB."


    "; } } } if (is_active("Journal") AND $cookie[1] != $username) { $sql3 = "SELECT jid FROM ".$prefix."_journal WHERE aid='$username' AND status='yes' ORDER BY pdate,jid DESC LIMIT 0,1"; $result3 = $db->sql_query($sql3); $row3 = $db->sql_fetchrow($result3); $jid = intval($row3[jid]); if ($jid != "" AND isset($jid)) { echo "[ "._READMYJOURNAL." ]
    "; } } if (is_admin($admin)) { echo "
    "; OpenTable2(); if ($userinfo[last_ip] != 0) { echo "
    "._LASTIP." $userinfo[last_ip]

    "; echo "[ "._BANTHIS." | "._EDITUSER." ]
    "; } else { echo "
    [ "._EDITUSER." ]
    "; } CloseTable2(); } if (((is_user($user) AND $cookie[1] != $username) OR is_admin($admin)) AND is_active("Private_Messages")) { echo "
    [ "._USENDPRIVATEMSG." $username_pm ]
    \n"; } echo "
    "; } else { echo "
    "._NOINFOFOR." $username
    "; } CloseTable(); if ($my_headlines == 1 AND ($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) { echo "
    "; OpenTable(); echo "
    "._MYHEADLINES."

    " .""._SELECTASITE."

    " ."
    " ."" ."" ."" ."" ."
    " .""._ORTYPEURL."

    " ."
    " ."" ."" ."" ."" ."  " ."
    " ."

    "; if ($hid != 0 OR ($hid == 0 AND $url != "0" AND $url != "http://") AND $url != "") { if ($hid != 0) { $sql5 = "SELECT sitename, headlinesurl FROM ".$prefix."_headlines WHERE hid='$hid'"; $result5 = $db->sql_query($sql5); $row5 = $db->sql_fetchrow($result5); $nsitename = $row5['sitename']; $url = $row5['headlinesurl']; $title = stripslashes(check_html($nsitename, "nohtml")); $siteurl = eregi_replace("http://", "", $url); $siteurl = explode("/", $siteurl); } else { if (!ereg("http://", $url)) { $url = "http://$url"; } $siteurl = eregi_replace("http://", "", $url); $siteurl = explode("/", $siteurl); $title = "http://$siteurl[0]"; } $rdf = parse_url($url); $fp = fsockopen($rdf['host'], 80, $errno, $errstr, 15); if (!$fp) { $content = "
    "._RSSPROBLEM."
    "; } if ($fp) { fputs($fp, "GET " . $rdf['path'] . "?" . $rdf['query'] . " HTTP/1.0\r\n"); fputs($fp, "HOST: " . $rdf['host'] . "\r\n\r\n"); $string = ""; while(!feof($fp)) { $pagetext = fgets($fp,300); $string .= chop($pagetext); } fputs($fp,"Connection: close\r\n\r\n"); fclose($fp); $items = explode("",$string); $content = ""; for ($i=0;$i<10;$i++) { $link = ereg_replace(".*","",$items[$i]); $link = ereg_replace(".*","",$link); $link = stripslashes(check_html($link, "nohtml")); $title2 = ereg_replace(".*","",$items[$i]); $title2 = ereg_replace(".*","",$title2); $title2 = stripslashes(check_html($title2, "nohtml")); if ($items[$i] == "" AND $cont != 1) { $content = "
    "._RSSPROBLEM."
    "; } else { if (strcmp($link,$title2) AND $items[$i] != "") { $cont = 1; $content .= "$title2
    \n"; } } } } if ($content != "") { OpenTable2(); echo "
    "._HEADLINESFROM." $title

    "; echo "$content"; CloseTable2(); } elseif (($cont == 0) OR ($content == "")) { OpenTable2(); echo "
    "._RSSPROBLEM."

    "; CloseTable2(); } echo "
    "; } CloseTable(); } if ($broadcast_msg == 1 AND ($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) { echo "
    "; OpenTable(); echo "
    "._BROADCAST."

    "._BROADCASTTEXT."

    " ."
    " ."" ."" ."  " ."
    "; CloseTable(); } if (is_active("Private_Messages") AND ($username == $cookie[1]) AND ($userinfo[user_password] == $cookie[2])) { echo "
    "; OpenTable(); echo "
    "._PRIVATEMESSAGES."

    "; $numrow = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_bbprivmsgs WHERE privmsgs_to_userid='$userinfo[user_id]' AND (privmsgs_type='1' OR privmsgs_type='5' OR privmsgs_type='0')")); if (is_active("Members_List")) { $mem_list = ""._BROWSEUSERS.""; } else { $mem_list = ""; } if (is_active("Search")) { $mod_search = ""._SEARCHUSERS.""; } else { $mod_search = ""; } if ($mem_list != "" AND $mod_search != "") { $a = " | "; } else { $a = ""; } if ($mem_list != "" OR $mod_search != "") { $links = "[ $mem_list $a $mod_search ]"; } elseif ($mem_list == "" AND $mod_search == "") { $links = ""; } echo ""._YOUHAVE." $numrow "._PRIVATEMSG."

    " ."
    " .""._USENDPRIVATEMSG.":   $links" ."" ."
    "; CloseTable(); } if ($articlecomm == 1) { echo "
    "; OpenTable(); echo ""._LAST10COMMENTS." $userinfo[username]:
    "; $sql6 = "SELECT tid, sid, subject FROM ".$prefix."_comments WHERE name='$userinfo[username]' ORDER BY tid DESC LIMIT 0,10"; $result6 = $db->sql_query($sql6); while($row6 = $db->sql_fetchrow($result6)) { $tid = intval($row6['tid']); $sid = intval($row6['sid']); $subject = stripslashes(check_html($row6['subject'], "nohtml")); echo "
  • $subject
    "; } CloseTable(); } echo "
    "; OpenTable(); echo ""._LAST10SUBMISSIONS." $userinfo[username]:
    "; $sql7 = "SELECT sid, title FROM ".$prefix."_stories WHERE informant='$userinfo[username]' ORDER BY sid DESC LIMIT 0,10"; $result7 = $db->sql_query($sql7); while($row7 = $db->sql_fetchrow($result7)) { $sid = intval($row7['sid']); $title = stripslashes(check_html($row7['title'], "nohtml")); echo "
  • $title
    "; } CloseTable(); @include("footer.php"); } function main($user) { global $stop, $module_name, $redirect, $mode, $t, $f, $gfx_chk; if(!is_user($user)) { @include("header.php"); if ($stop) { OpenTable(); echo "
    "._LOGININCOR."
    \n"; CloseTable(); echo "
    \n"; } else { OpenTable(); echo "
    "._USERREGLOGIN."
    \n"; CloseTable(); echo "
    \n"; } if (!is_user($user)) { OpenTable(); mt_srand ((double)microtime()*1000000); $maxran = 1000000; $random_num = mt_rand(0, $maxran); echo "
    \n" .""._USERLOGIN."

    \n" ."\n" ."\n"; if (extension_loaded("gd") AND ($gfx_chk == 2 OR $gfx_chk == 4 OR $gfx_chk == 5 OR $gfx_chk == 7)) { echo "\n" ."\n" ."\n"; } echo "
    \n" .""._NICKNAME.":
    "._PASSWORD.":
    "._SECURITYCODE.": "._SECURITYCODE."
    "._TYPESECCODE.":
    \n" ."\n" ."\n" ."\n" ."\n" ."

    \n\n" ."
    [ "._PASSWORDLOST." | "._REGNEWUSER." ]
    \n"; CloseTable(); } @include("footer.php"); } elseif (is_user($user)) { global $cookie; cookiedecode($user); userinfo($cookie[1]); } } function new_user() { global $my_headlines, $module_name, $db, $gfx_chk, $user_prefix, $currentlang; if (!is_user($user)) { $sql = "SELECT * FROM ".$user_prefix."_fields_config"; $result = $db->sql_query($sql); if(!$result) { echo ""._ERROR."
    "; echo mysql_error(); } else { while ($row = $db->sql_fetchrow($result)) { if($row['idnum'] == "1") { $field_name1 = $row['field_name']; $field_size1 = $row['field_size']; $field_max_size1 = $row['field_max_size']; $field_activated1 = $row['field_activated']; $field_required1 = $row['field_required']; $field_admin1 = $row['field_admin']; } if($row['idnum'] == "2") { $field_name2 = $row['field_name']; $field_size2 = $row['field_size']; $field_max_size2 = $row['field_max_size']; $field_activated2 = $row['field_activated']; $field_required2 = $row['field_required']; $field_admin2 = $row['field_admin']; } if($row['idnum'] == "3") { $field_name3 = $row['field_name']; $field_size3 = $row['field_size']; $field_max_size3 = $row['field_max_size']; $field_activated3 = $row['field_activated']; $field_required3 = $row['field_required']; $field_admin3 = $row['field_admin']; } if($row['idnum'] == "4") { $field_name4 = $row['field_name']; $field_size4 = $row['field_size']; $field_max_size4 = $row['field_max_size']; $field_activated4 = $row['field_activated']; $field_required4 = $row['field_required']; $field_admin4 = $row['field_admin']; } if($row['idnum'] == "5") { $field_name5 = $row['field_name']; $field_size5 = $row['field_size']; $field_max_size5 = $row['field_max_size']; $field_activated5 = $row['field_activated']; $field_required5 = $row['field_required']; $field_admin5 = $row['field_admin']; } if($row['idnum'] == "6") { $field_name6 = $row['field_name']; $field_size6 = $row['field_size']; $field_max_size6 = $row['field_max_size']; $field_activated6 = $row['field_activated']; $field_admin6 = $row['field_admin']; } if($row['idnum'] == "7") { $field_name7 = $row['field_name']; $field_size7 = $row['field_size']; $field_max_size7 = $row['field_max_size']; $field_activated7 = $row['field_activated']; $field_admin7 = $row['field_admin']; } if($row['idnum'] == "8") { $field_name8 = $row['field_name']; $field_size8 = $row['field_size']; $field_max_size8 = $row['field_max_size']; $field_activated8 = $row['field_activated']; $field_admin8 = $row['field_admin']; } if($row['idnum'] == "9") { $field_name9 = $row['field_name']; $field_size9 = $row['field_size']; $field_max_size9 = $row['field_max_size']; $field_activated9 = $row['field_activated']; $field_admin9 = $row['field_admin']; } } } mt_srand ((double)microtime()*1000000); $maxran = 1000000; $random_num = mt_rand(0, $maxran); @include("header.php"); @include_once("modules/$module_name/approvelanguage/lang-$currentlang.php"); OpenTable(); echo "
    "._USERREGLOGIN."
    \n"; CloseTable(); echo "
    \n"; OpenTable(); echo "
    \n" .""._REGNEWUSER." ("._ALLREQUIREDEXCEPT.")

    \n"; echo "Click here to see who should sign up for an account.
    \n"; echo "
    \n" ."\n" ."\n"; if ($field_admin1 == "1") { $fieldadmin1 = _APPADMINVIEW; } else { $fieldadmin1 = ""; } if ($field_admin2 == "1") { $fieldadmin2 = _APPADMINVIEW; } else { $fieldadmin2 = ""; } if ($field_admin3 == "1") { $fieldadmin3 = _APPADMINVIEW; } else { $fieldadmin3 = ""; } if ($field_admin4 == "1") { $fieldadmin4 = _APPADMINVIEW; } else { $fieldadmin4 = ""; } if ($field_admin5 == "1") { $fieldadmin5 = _APPADMINVIEW; } else { $fieldadmin5 = ""; } if ($field_admin6 == "1") { $fieldadmin6 = _APPADMINVIEW; } else { $fieldadmin6 = ""; } if ($field_admin7 == "1") { $fieldadmin7 = _APPADMINVIEW; } else { $fieldadmin7 = ""; } if ($field_admin8 == "1") { $fieldadmin8 = _APPADMINVIEW; } else { $fieldadmin8 = ""; } if ($field_admin9 == "1") { $fieldadmin9 = _APPADMINVIEW; } else { $fieldadmin9 = ""; } if ($field_activated1 == "1") { if ($field_required1 == "1") { echo "\n"; } else { echo "\n"; } } else { echo "\n"; } if ($field_activated2 == "1") { if ($field_required2 == "1") { echo "\n"; } else { echo "\n"; } } else { echo "\n"; } if ($field_activated3 == "1") { if ($field_required3 == "1") { echo "\n"; } else { echo "\n"; } } else { echo "\n"; } if ($field_activated4 == "1") { if ($field_required4 == "1") { echo "\n"; } else { echo "\n"; } } else { echo "\n"; } if ($field_activated5 == "1") { if ($field_required5 == "1") { echo "\n"; } else { echo "\n"; } } else { echo "\n"; } if ($field_activated6 == "1") { echo ""; } else { echo "\n"; } if ($field_activated7 == "1") { echo ""; } else { echo "\n"; } if ($field_activated8 == "1") { echo ""; } else { echo "\n"; } if ($field_activated9 == "1") { echo ""; } else { echo "\n"; } echo "\n" ."\n"; if (extension_loaded("gd") AND ($gfx_chk == 3 OR $gfx_chk == 4 OR $gfx_chk == 6 OR $gfx_chk == 7)) { echo "\n" ."\n" ."\n"; } echo "
    "._NICKNAME.":
    "._EMAIL.":
    ".$field_name1.": $fieldadmin1
    ".$field_name1.":"._OPTIONAL." $fieldadmin1
    ".$field_name2.": $fieldadmin2
    ".$field_name2.":"._OPTIONAL." $fieldadmin2
    ".$field_name3.": $fieldadmin3
    ".$field_name3.":"._OPTIONAL." $fieldadmin3
    ".$field_name4.": $fieldadmin4
    ".$field_name4.":"._OPTIONAL." $fieldadmin4
    ".$field_name5.": $fieldadmin5
    ".$field_name5.":"._OPTIONAL." $fieldadmin5
    ".$field_name6.": $fieldadmin6
    ".$field_name7.": $fieldadmin7
    ".$field_name8.": $fieldadmin8
    ".$field_name9.": $fieldadmin9
    "._PASSWORD.":
    "._RETYPEPASSWORD.":
    ("._BLANKFORAUTO.")
    "._SECURITYCODE.":"._SECURITYCODE."
    "._TYPESECCODE.":
    \n" ."\n" ."\n" ."\n" ."\n" ."\n" ."\n" ."\n" ."\n" ."\n" ."\n" ."\n" ."\n" ."\n" ."\n" ."\n" ."\n" ."\n" ."\n" ."\n" ."\n" ."\n" ."\n" ."\n" ."\n" ."\n" ."
    \n" ."
    \n" ."
    \n" .""._PENDINGNOTICE."

    \n" .""._COOKIEWARNING."
    \n" .""._ASREGUSER."
    \n" ."
      \n" ."
    • "._ASREG1."\n" ."
    • "._ASREG2."\n" ."
    • "._ASREG3."\n" ."
    • "._ASREG4."\n" ."
    • "._ASREG5."\n"; $handle=opendir('themes'); while ($file = readdir($handle)) { if ((!ereg("[.]",$file) AND file_exists("themes/$file/theme.php"))) { $thmcount++; } } closedir($handle); if ($thmcount > 1) { echo "
    • "._ASREG6."\n"; } $sql = "SELECT custom_title FROM ".$prefix."_modules WHERE active='1' AND view='1' AND inmenu='1'"; $result = $db->sql_query($sql); while ($row = $db->sql_fetchrow($result)) { $custom_title = stripslashes(check_html($row['custom_title'], "nohtml")); if ($custom_title != "") { echo "
    • "._ACCESSTO." $custom_title\n"; } } $result2 = $db->sql_query("SELECT title FROM ".$prefix."_blocks WHERE active='1' AND view='1'"); while ($row2 = $db->sql_fetchrow($result2)) { $b_title = stripslashes(check_html($row2[title], "nohtml")); if ($b_title != "") { echo "
    • "._ACCESSTO." $b_title\n"; } } if (is_active("Journal")) { echo "
    • "._CREATEJOURNAL."\n"; } if ($my_headlines == 1) { echo "
    • "._READHEADLINES."\n"; } echo "
    • "._ASREG7."\n" ."
    \n" .""._REGISTERNOW."
    \n" .""._WEDONTGIVE."

    \n" ."
    [ "._USERLOGIN." | "._PASSWORDLOST." ]
    \n"; CloseTable(); @include("footer.php"); } elseif (is_user($user)) { global $cookie; cookiedecode($user); userinfo($cookie[1]); } } function pass_lost() { global $user, $module_name; if (!is_user($user)) { @include("header.php"); OpenTable(); echo "
    "._USERREGLOGIN."
    \n"; CloseTable(); echo "
    \n"; OpenTable(); echo ""._PASSWORDLOST."

    \n" .""._NOPROBLEM."

    \n" ."
    \n" ."\n" ."
    \n" .""._NICKNAME.":
    "._CONFIRMATIONCODE.":

    \n" ."\n" ."

    \n" ."
    [ "._USERLOGIN." | "._REGNEWUSER." ]
    \n"; CloseTable(); @include("footer.php"); } elseif(is_user($user)) { global $cookie; cookiedecode($user); userinfo($cookie[1]); } } function logout() { global $prefix, $db, $user, $cookie, $redirect; cookiedecode($user); $r_uid = $cookie[0]; $r_username = $cookie[1]; setcookie("user", false); $db->sql_query("DELETE FROM ".$prefix."_session WHERE uname='$r_username'"); $db->sql_query("DELETE FROM ".$prefix."_bbsessions WHERE session_user_id='$r_uid'"); $user = ""; @include("header.php"); OpenTable(); if ($redirect != "") { echo ""; } else { echo ""; } echo "
    "._YOUARELOGGEDOUT."
    "; CloseTable(); @include("footer.php"); } function mail_password($username, $code) { global $sitename, $adminmail, $nukeurl, $user_prefix, $db, $module_name; $username = substr($username, 0, 25); $sql = "SELECT user_email, user_password FROM ".$user_prefix."_users WHERE username='$username'"; $result = $db->sql_query($sql); if($db->sql_numrows($result) == 0) { @include("header.php"); OpenTable(); echo "
    "._SORRYNOUSERINFO."
    "; CloseTable(); @include("footer.php"); } else { $host_name = $_SERVER["REMOTE_ADDR"]; $row = $db->sql_fetchrow($result); $user_email = htmlentities($row['user_email']); $user_password = $row['user_password']; $user_password = htmlspecialchars(stripslashes($user_password)); $areyou = substr($user_password, 0, 10); if ($areyou==$code) { $newpass=makepass(); $message = ""._USERACCOUNT." '$username' "._AT." $sitename "._HASTHISEMAIL." "._AWEBUSERFROM." $host_name "._HASREQUESTED."\r\n\r\n"._YOURNEWPASSWORD." $newpass\r\n\r\n "._YOUCANCHANGE." $nukeurl/modules.php?name=$module_name\r\n\r\n"._IFYOUDIDNOTASK.""; $subject = ""._USERPASSWORD4." $username"; mail($user_email, $subject, $message, "From: $adminmail\r\nX-Mailer: PHP/" . phpversion()); /* Next step: add the new password to the database */ $cryptpass = md5($newpass); $query = "UPDATE ".$user_prefix."_users SET user_password='$cryptpass' WHERE username='$username'"; if (!$db->sql_query($query)) { echo ""._UPDATEFAILED.""; } @include("header.php"); OpenTable(); echo "
    "._PASSWORD4." $username "._MAILED."

    "._GOBACK."
    "; CloseTable(); @include("footer.php"); /* If no Code, send it */ } else { $sql = "SELECT user_email, user_password FROM ".$user_prefix."_users WHERE username='$username'"; $result = $db->sql_query($sql); if($db->sql_numrows($result) == 0) { @include("header.php"); OpenTable(); echo "
    "._SORRYNOUSERINFO."
    "; CloseTable(); @include("footer.php"); } else { $host_name = $_SERVER["REMOTE_ADDR"]; $row = $db->sql_fetchrow($result); $user_email = $row[user_email]; $user_password = $row[user_password]; $areyou = substr($user_password, 0, 10); $message = ""._USERACCOUNT." '$username' "._AT." $sitename "._HASTHISEMAIL." "._AWEBUSERFROM." $host_name "._CODEREQUESTED."\r\n\r\n"._YOURCODEIS." $areyou \r\n\r\n"._WITHTHISCODE." $nukeurl/modules.php?name=$module_name&op=pass_lost\r\n"._IFYOUDIDNOTASK2.""; $subject=""._CODEFOR." $username"; mail($user_email, $subject, $message, "From: $adminmail\r\nX-Mailer: PHP/" . phpversion()); @include("header.php"); OpenTable(); echo "
    "._CODEFOR." $username "._MAILED."

    "._GOBACK."
    "; CloseTable(); @include("footer.php"); } } } } function docookie($setuid, $setusername, $setpass, $setstorynum, $setumode, $setuorder, $setthold, $setnoscore, $setublockon, $settheme, $setcommentmax) { $info = base64_encode("$setuid:$setusername:$setpass:$setstorynum:$setumode:$setuorder:$setthold:$setnoscore:$setublockon:$settheme:$setcommentmax"); setcookie("user","$info",time()+2592000); } function login($username, $user_password, $redirect, $mode, $f, $t, $random_num, $gfx_check) { global $setinfo, $user_prefix, $db, $module_name, $pm_login, $prefix; $user_password = htmlspecialchars(stripslashes($user_password)); @include("config.php"); $sql = "SELECT user_password, user_id, storynum, umode, uorder, thold, noscore, ublockon, theme, commentmax FROM ".$user_prefix."_users WHERE username='$username'"; $result = $db->sql_query($sql); $setinfo = $db->sql_fetchrow($result); $forward = ereg_replace("redirect=", "", "$redirect"); if (ereg("privmsg", $forward)) { $pm_login = "active"; } if (($db->sql_numrows($result)==1) AND ($setinfo[user_id] != 1) AND ($setinfo[user_password] != "")) { $dbpass=$setinfo[user_password]; $non_crypt_pass = $user_password; $old_crypt_pass = crypt($user_password,substr($dbpass,0,2)); $new_pass = md5($user_password); if (($dbpass == $non_crypt_pass) OR ($dbpass == $old_crypt_pass)) { $db->sql_query("UPDATE ".$user_prefix."_users SET user_password='$new_pass' WHERE username='$username'"); $sql = "SELECT user_password FROM ".$user_prefix."_users WHERE username='$username'"; $result = $db->sql_query($sql); $row = $db->sql_fetchrow($result); $dbpass = $row['user_password']; } if ($dbpass != $new_pass) { Header("Location: modules.php?name=$module_name&stop=1"); return; } $datekey = date("F j"); $rcode = hexdec(md5($_SERVER[HTTP_USER_AGENT] . $sitekey . $random_num . $datekey)); $code = substr($rcode, 2, 6); if (extension_loaded("gd") AND $code != $gfx_check AND ($gfx_chk == 2 OR $gfx_chk == 4 OR $gfx_chk == 5 OR $gfx_chk == 7)) { Header("Location: modules.php?name=$module_name&stop=1"); die(); } else { docookie($setinfo[user_id], $username, $new_pass, $setinfo[storynum], $setinfo[umode], $setinfo[uorder], $setinfo[thold], $setinfo[noscore], $setinfo[ublockon], $setinfo[theme], $setinfo[commentmax]); $uname = $_SERVER["REMOTE_ADDR"]; $db->sql_query("DELETE FROM ".$prefix."_session WHERE uname='$uname' AND guest='1'"); $db->sql_query("UPDATE ".$prefix."_users SET last_ip='$uname' WHERE username='$username'"); } if ($pm_login != "") { Header("Location: modules.php?name=Private_Messages&file=index&folder=inbox"); exit; } if ($redirect == "" ) { Header("Location: modules.php?name=Your_Account&op=userinfo&bypass=1&username=$username"); } else if ($mode == "") { Header("Location: modules.php?name=Forums&file=$forward"); } else if ($t !="") { Header("Location: modules.php?name=Forums&file=$forward&mode=$mode&t=$t"); } else { Header("Location: modules.php?name=Forums&file=$forward&mode=$mode&f=$f"); } } else { Header("Location: modules.php?name=$module_name&stop=1"); } } function edituser() { global $prefix, $db, $user, $userinfo, $cookie, $module_name, $bgcolor2, $bgcolor3, $user_prefix, $currentlang; cookiedecode($user); getusrinfo($user); $custom1 = $userinfo[custom1]; $custom2 = $userinfo[custom2]; $custom3 = $userinfo[custom3]; $custom4 = $userinfo[custom4]; $custom5 = $userinfo[custom5]; $custom6 = $userinfo[custom6]; $custom7 = $userinfo[custom7]; $custom8 = $userinfo[custom8]; $custom9 = $userinfo[custom9]; $sql = "SELECT * FROM ".$user_prefix."_fields_config"; $result = $db->sql_query($sql); if(!$result) { echo ""._ERROR."
    "; echo mysql_error(); } else { while ($row = $db->sql_fetchrow($result)) { if($row['idnum'] == "1") { $field_name1 = $row['field_name']; $field_size1 = $row['field_size']; $field_max_size1 = $row['field_max_size']; $field_activated1 = $row['field_activated']; $field_allowturnoff1 = $row['field_allowturnoff']; $field_required1 = $row['field_required']; $field_admin1 = $row['field_admin']; } if($row['idnum'] == "2") { $field_name2 = $row['field_name']; $field_size2 = $row['field_size']; $field_max_size2 = $row['field_max_size']; $field_activated2 = $row['field_activated']; $field_allowturnoff2 = $row['field_allowturnoff']; $field_required2 = $row['field_required']; $field_admin2 = $row['field_admin']; } if($row['idnum'] == "3") { $field_name3 = $row['field_name']; $field_size3 = $row['field_size']; $field_max_size3 = $row['field_max_size']; $field_activated3 = $row['field_activated']; $field_allowturnoff3 = $row['field_allowturnoff']; $field_required3 = $row['field_required']; $field_admin3 = $row['field_admin']; } if($row['idnum'] == "4") { $field_name4 = $row['field_name']; $field_size4 = $row['field_size']; $field_max_size4 = $row['field_max_size']; $field_activated4 = $row['field_activated']; $field_allowturnoff4 = $row['field_allowturnoff']; $field_required4 = $row['field_required']; $field_admin4 = $row['field_admin']; } if($row['idnum'] == "5") { $field_name5 = $row['field_name']; $field_size5 = $row['field_size']; $field_max_size5 = $row['field_max_size']; $field_activated5 = $row['field_activated']; $field_allowturnoff5 = $row['field_allowturnoff']; $field_required5 = $row['field_required']; $field_admin5 = $row['field_admin']; } if($row['idnum'] == "6") { $field_name6 = $row['field_name']; $field_size6 = $row['field_size']; $field_max_size6 = $row['field_max_size']; $field_activated6 = $row['field_activated']; $field_allowturnoff6 = $row['field_allowturnoff']; $field_admin6 = $row['field_admin']; } if($row['idnum'] == "7") { $field_name7 = $row['field_name']; $field_size7 = $row['field_size']; $field_max_size7 = $row['field_max_size']; $field_activated7 = $row['field_activated']; $field_allowturnoff7 = $row['field_allowturnoff']; $field_admin7 = $row['field_admin']; } if($row['idnum'] == "8") { $field_name8 = $row['field_name']; $field_size8 = $row['field_size']; $field_max_size8 = $row['field_max_size']; $field_activated8 = $row['field_activated']; $field_allowturnoff8 = $row['field_allowturnoff']; $field_admin8 = $row['field_admin']; } if($row['idnum'] == "9") { $field_name9 = $row['field_name']; $field_size9 = $row['field_size']; $field_max_size9 = $row['field_max_size']; $field_activated9 = $row['field_activated']; $field_allowturnoff9 = $row['field_allowturnoff']; $field_admin9 = $row['field_admin']; } } } if ((is_user($user)) AND (strtolower($userinfo['username']) == strtolower($cookie[1])) AND ($userinfo['user_password'] == $cookie[2])) { @include("header.php"); @include_once("modules/$module_name/approvelanguage/lang-$currentlang.php"); if ($field_admin1 == "1") { $fieldadmin1 = "
    "._APPADMINVIEW.""; } else { $fieldadmin1 = ""; } if ($field_admin2 == "1") { $fieldadmin2 = "
    "._APPADMINVIEW.""; } else { $fieldadmin2 = ""; } if ($field_admin3 == "1") { $fieldadmin3 = "
    "._APPADMINVIEW.""; } else { $fieldadmin3 = ""; } if ($field_admin4 == "1") { $fieldadmin4 = "
    "._APPADMINVIEW.""; } else { $fieldadmin4 = ""; } if ($field_admin5 == "1") { $fieldadmin5 = "
    "._APPADMINVIEW.""; } else { $fieldadmin5 = ""; } if ($field_admin6 == "1") { $fieldadmin6 = "
    "._APPADMINVIEW.""; } else { $fieldadmin6 = ""; } if ($field_admin7 == "1") { $fieldadmin7 = "
    "._APPADMINVIEW.""; } else { $fieldadmin7 = ""; } if ($field_admin8 == "1") { $fieldadmin8 = "
    "._APPADMINVIEW.""; } else { $fieldadmin8 = ""; } if ($field_admin9 == "1") { $fieldadmin9 = "
    "._APPADMINVIEW.""; } else { $fieldadmin9 = ""; } OpenTable(); echo "
    "._PERSONALINFO."
    "; CloseTable(); echo "
    "; OpenTable(); nav(); CloseTable(); echo "
    "; if (!eregi("http://",$userinfo[user_website])) { $userinfo[user_website] = "http://$userinfo[user_website]"; } OpenTable(); echo "" ."" ."" ."" ."" ."" ."" ."" ."" .""; if($field_activated1 == "1") { if ($field_required1 =="1") { echo "" .""; } else { echo "" .""; } } else { echo "\n"; } if($field_activated2 == "1") { if ($field_required2 =="1") { echo "" .""; } else { echo "" .""; } } else { echo "\n"; } if($field_activated3 == "1") { if ($field_required3 =="1") { echo "" .""; } else { echo "" .""; } } else { echo "\n"; } if($field_activated4 == "1") { if ($field_required4 =="1") { echo "" .""; } else { echo "" .""; } } else { echo "\n"; } if($field_activated5 == "1") { if ($field_required5 =="1") { echo "" .""; } else { echo "" .""; } } else { echo "\n"; } if($field_activated6 == "1") { echo "" .""; } else { echo "\n"; } if($field_activated7 == "1") { echo "" .""; } else { echo "\n"; } if($field_activated8 == "1") { echo "" .""; } else { echo "\n"; } if($field_activated9 == "1") { echo "" .""; } else { echo "\n"; } echo "" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" ."" .""; echo ""; if ($field_activated1 =="1") { if ($field_allowturnoff1 =="1") { echo ""; } else { echo ""; } } else { echo ""; } if ($field_activated2 =="1") { if ($field_allowturnoff2 =="1") { echo ""; } else { echo ""; } } else { echo ""; } if ($field_activated3 =="1") { if ($field_allowturnoff3 =="1") { echo ""; } else { echo ""; } } else { echo ""; } if ($field_activated4 =="1") { if ($field_allowturnoff4 =="1") { echo ""; } else { echo ""; } } else { echo ""; } if ($field_activated5 =="1") { if ($field_allowturnoff5 =="1") { echo ""; } else { echo ""; } } else { echo ""; } if ($field_activated6 =="1") { if ($field_allowturnoff6 =="1") { echo ""; } else { echo ""; } } else { echo ""; } if ($field_activated7 =="1") { if ($field_allowturnoff7 =="1") { echo ""; } else { echo ""; } } else { echo ""; } if ($field_activated8 =="1") { if ($field_allowturnoff8 =="1") { echo ""; } else { echo ""; } } else { echo ""; } if ($field_activated9 =="1") { if ($field_allowturnoff9 =="1") { echo ""; } else { echo ""; } } else { echo ""; } echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "" ."" ."" ."" ."
    " ."" .""; $avatar_category = ( !empty($HTTP_POST_VARS['avatarcategory']) ) ? $HTTP_POST_VARS['avatarcategory'] : ''; $direktori = "modules/Forums/images/avatars"; $dir = @opendir($direktori); $avatar_images = array(); while( $file = @readdir($dir) ) { if( $file != '.' && $file != '..' && !is_file($direktori . '/' . $file) && !is_link($direktori . '/' . $file) ) { $sub_dir = @opendir($direktori . '/' . $file); $avatar_row_count = 0; $avatar_col_count = 0; while( $sub_file = @readdir($sub_dir) ) { if( preg_match('/(\.gif$|\.png$|\.jpg|\.jpeg)$/is', $sub_file) ) { $avatar_images[$file][$avatar_row_count][$avatar_col_count] = $file . '/' . $sub_file; $avatar_name[$file][$avatar_row_count][$avatar_col_count] = ucfirst(str_replace("_", " ", preg_replace('/^(.*)\..*$/', '\1', $sub_file))); $avatar_col_count++; if( $avatar_col_count == 5 ) { $avatar_row_count++; $avatar_col_count = 0; } } } } } @closedir($dir); @ksort($avatar_images); @reset($avatar_images); if( empty($category) ) { list($category, ) = each($avatar_images); } @reset($avatar_images); $s_categories = ''; $sql = "SELECT * FROM ".$prefix."_bbconfig"; $result = $db->sql_query($sql); while ( $row = $db->sql_fetchrow($result) ) { $board_config[$row['config_name']] = $row['config_value']; } if ($userinfo[user_avatar_type] == 1) { $userinfo[user_avatar] = $board_config['avatar_path']."/".$userinfo[user_avatar]; } elseif ($userinfo[user_avatar_type] == 2) { $userinfo[user_avatar] = $userinfo[user_avatar]; } else { $userinfo[user_avatar] = $board_config[avatar_gallery_path]."/".$userinfo[user_avatar]; } echo ""; echo "
    "; if ($board_config['allow_avatar_local']) { echo "" ."" ."" .""; } else { echo "" .""; } if ($board_config['allow_avatar_upload']) { echo "" ."" ."" .""; } else { echo "" ."" ."" .""; } if ($board_config['allow_avatar_remote']) { echo "" ."" .""; } else { echo "" .""; } echo "
    "._USRNICKNAME.":$userinfo[username]
    "._UREALNAME.":
    "._OPTIONAL."
    " ."
    "._UREALEMAIL.":
    "._REQUIRED."

    "._EMAILNOTPUBLIC."
    "._UFAKEMAIL.":
    "._OPTIONAL."

    "._EMAILPUBLIC."
    "._YOURHOMEPAGE.":
    "._OPTIONAL."
    ".$field_name1.":
    "._REQUIRED."
    $fieldadmin1
    ".$field_name1.":
    "._OPTIONAL."
    $fieldadmin1
    ".$field_name2.":
    "._REQUIRED."
    $fieldadmin2
    ".$field_name2.":
    "._OPTIONAL."
    $fieldadmin2
    ".$field_name3.":
    "._REQUIRED."
    $fieldadmin3
    ".$field_name3.":
    "._OPTIONAL."
    $fieldadmin3
    ".$field_name4.":
    "._REQUIRED."
    $fieldadmin4
    ".$field_name4.":
    "._OPTIONAL."
    $fieldadmin4
    ".$field_name5.":
    "._REQUIRED."
    $fieldadmin5
    ".$field_name5.":
    "._OPTIONAL."
    $fieldadmin5
    ".$field_name6.":
    "._REQUIRED."
    $fieldadmin6
    ".$field_name7.":
    "._REQUIRED."
    $fieldadmin7
    ".$field_name8.":
    "._REQUIRED."
    $fieldadmin8
    ".$field_name9.":
    "._REQUIRED."
    $fieldadmin9
    "._YICQ.":
    "._OPTIONAL."
    "._YAIM.":
    "._OPTIONAL."
    "._YYIM.":
    "._OPTIONAL."
    "._YMSNM.":
    "._OPTIONAL."
    "._YLOCATION.":
    "._OPTIONAL."
    "._YOCCUPATION.":
    "._OPTIONAL."
    "._YINTERESTS.":
    "._OPTIONAL."
    "._RECEIVENEWSLETTER.""; if ($userinfo[newsletter] == 1) { echo ""._YES."  " .""._NO.""; } elseif ($userinfo[newsletter] == 0) { echo ""._YES."  " .""._NO.""; } echo "
    "._ALWAYSSHOW."$field_name1:"; if ($userinfo[user_show_custom1] == "1") { echo ""._YES."  " .""._NO.""; } elseif ($userinfo[user_show_custom1] == "0") { echo ""._YES."  " .""._NO.""; } echo "
    "._ALWAYSSHOW."$field_name2:"; if ($userinfo[user_show_custom2] == "1") { echo ""._YES."  " .""._NO.""; } elseif ($userinfo[user_show_custom2] == "0") { echo ""._YES."  " .""._NO.""; } echo "
    "._ALWAYSSHOW."$field_name3:"; if ($userinfo[user_show_custom3] == "1") { echo ""._YES."  " .""._NO.""; } elseif ($userinfo[user_show_custom3] == "0") { echo ""._YES."  " .""._NO.""; } echo "
    "._ALWAYSSHOW."$field_name4:"; if ($userinfo[user_show_custom4] == "1") { echo ""._YES."  " .""._NO.""; } elseif ($userinfo[user_show_custom4] == "0") { echo ""._YES."  " .""._NO.""; } echo "
    "._ALWAYSSHOW."$field_name5:"; if ($userinfo[user_show_custom5] == "1") { echo ""._YES."  " .""._NO.""; } elseif ($userinfo[user_show_custom5] == "0") { echo ""._YES."  " .""._NO.""; } echo "
    "._ALWAYSSHOW."$field_name6:"; if ($userinfo[user_show_custom6] == "1") { echo ""._YES."  " .""._NO.""; } elseif ($userinfo[user_show_custom6] == "0") { echo ""._YES."  " .""._NO.""; } echo "
    "._ALWAYSSHOW."$field_name7:"; if ($userinfo[user_show_custom7] == "1") { echo ""._YES."  " .""._NO.""; } elseif ($userinfo[user_show_custom7] == "0") { echo ""._YES."  " .""._NO.""; } echo "
    "._ALWAYSSHOW."$field_name8:"; if ($userinfo[user_show_custom8] == "1") { echo ""._YES."  " .""._NO.""; } elseif ($userinfo[user_show_custom8] == "0") { echo ""._YES."  " .""._NO.""; } echo "
    "._ALWAYSSHOW."$field_name9:"; if ($userinfo[user_show_custom9] == "1") { echo ""._YES."  " .""._NO.""; } elseif ($userinfo[user_show_custom9] == "0") { echo ""._YES."  " .""._NO.""; } echo "
    "._ALWAYSSHOWEMAIL.":"; if ($userinfo[user_viewemail] == 1) { echo ""._YES."  " .""._NO.""; } elseif ($userinfo[user_viewemail] == 0) { echo ""._YES."  " .""._NO.""; } echo "
    "._HIDEONLINE.":"; if ($userinfo[user_allow_viewonline] == 1) { echo ""._YES."  " .""._NO.""; } elseif ($userinfo[user_allow_viewonline] == 0) { echo ""._YES."  " .""._NO.""; } echo "
    "._REPLYNOTIFY.":
    "._REPLYNOTIFYMSG."
    "; if ($userinfo[user_notify] == 1) { echo ""._YES."  " .""._NO.""; } elseif ($userinfo[user_notify] == 0) { echo ""._YES."  " .""._NO.""; } echo "
    "._PMNOTIFY.":"; if ($userinfo[user_notify_pm] == 1) { echo ""._YES."  " .""._NO.""; } elseif ($userinfo[user_notify_pm] == 0) { echo ""._YES."  " .""._NO.""; } echo "
    "._POPPM.":
    "._POPPMMSG."
    "; if ($userinfo[user_popup_pm] == 1) { echo ""._YES."  " .""._NO.""; } elseif ($userinfo[user_popup_pm] == 0) { echo ""._YES."  " .""._NO.""; } echo "
    "._ATTACHSIG.":"; if ($userinfo[user_attachsig] == 1) { echo ""._YES."  " .""._NO.""; } elseif ($userinfo[user_attachsig] == 0) { echo ""._YES."  " .""._NO.""; } echo "
    "._ALLOWBBCODE.""; if ($userinfo[user_allowbbcode] == 1) { echo ""._YES."  " .""._NO.""; } elseif ($userinfo[user_allowbbcode] == 0) { echo ""._YES."  " .""._NO.""; } echo "
    "._ALLOWHTMLCODE.""; if ($userinfo[user_allowhtml] == 1) { echo ""._YES."  " .""._NO.""; } elseif ($userinfo[user_allowhtml] == 0) { echo ""._YES."  " .""._NO.""; } echo "
    "._ALLOWSMILIES.""; if ($userinfo[user_allowsmile] == 1) { echo ""._YES."  " .""._NO.""; } elseif ($userinfo[user_allowsmile] == 0) { echo ""._YES."  " .""._NO.""; } echo "
    "._FORUMSTIME.""; echo ""; echo "
    "._FORUMSDATE.":
    "._FORUMSDATEMSG."
    "; echo ""; echo "
    "._SIGNATURE.":
    "._OPTIONAL."

    "._255CHARMAX."
    "._EXTRAINFO.":
    "._OPTIONAL."

    "._CANKNOWABOUT."
    "._PASSWORD.":   
    "._TYPENEWPASSWORD."
    " ."" ."" ."" ."" ."
    " ."
    Avatar control panel
    " ."
    Displays a small graphic image below your details in forum posts and on your profile. Only one image can be displayed at a time, its width can be no greater than ".$board_config['avatar_max_width']." pixels, the height no greater than ".$board_config['avatar_max_height']." pixels, and the file size no more than ".CoolSize($board_config['avatar_filesize']).".Current Avatar
    \"\"
    Select Avatar from gallery:".$s_categories."  
    Select Avatar from gallery:Gallery Avatars Currently Disabled
    Upload Avatar from your machine:Upload Through Forum Profile
    Upload Avatar from a URL:
    Enter the URL of the location containing the Avatar image and click on the submit button below, the Avatar image will be copied to this site.
    Upload Through Forum Profile
    Upload Avatar from your machine:Currently Disabled
    Upload Avatar from a URL:
    Enter the URL of the location containing the Avatar image and click on the submit button below, the Avatar image will be copied to this site.
    Currently Disabled
    Link to off-site Avatar:
    Enter the URL of the location containing the Avatar image you wish to link to and click on the submit button below.
    Link to off-site Avatar:
    Enter the URL of the location containing the Avatar image you wish to link to and click on the submit button below.
    Currently Disabled
    " ."" ."
    "; CloseTable(); @include("footer.php"); } else { main($user); } } function saveuser($realname, $user_email, $femail, $user_website, $user_icq, $user_aim, $user_yim, $user_msnm, $user_from, $user_occ, $user_interests, $newsletter, $user_viewemail, $user_allow_viewonline, $user_notify, $user_notify_pm, $user_popup_pm, $user_attachsig, $user_allowbbcode, $user_allowhtml, $user_allowsmile, $user_timezone, $user_dateformat, $user_sig, $bio, $user_password, $vpass, $username, $user_id, $custom1, $custom2, $custom3, $custom4, $custom5, $custom6, $custom7, $custom8, $custom9, $user_show_custom1, $user_show_custom2, $user_show_custom3, $user_show_custom4, $user_show_custom5, $user_show_custom6, $user_show_custom7, $user_show_custom8, $user_show_custom9) { global $user, $cookie, $userinfo, $EditedMessage, $user_prefix, $db, $module_name, $minpass, $prefix; $user_password = htmlspecialchars(stripslashes($user_password)); cookiedecode($user); $check = $cookie[1]; $check2 = $cookie[2]; $sql = "SELECT user_id, user_password FROM ".$user_prefix."_users WHERE username='$check'"; $result = $db->sql_query($sql); $row = $db->sql_fetchrow($result); $vuid = intval($row['user_id']); $ccpass = $row['user_password']; $ccpass = htmlspecialchars(stripslashes($ccpass)); $sql = "SELECT * FROM ".$user_prefix."_fields_config"; $result = $db->sql_query($sql); if(!$result) { echo ""._ERROR."
    "; echo mysql_error(); } else { while ($row = $db->sql_fetchrow($result)) { if($row['idnum'] == "1") { $field_name1 = $row['field_name']; $field_size1 = $row['field_size']; $field_max_size1 = $row['field_max_size']; $field_activated1 = $row['field_activated']; $field_required1 = $row['field_required']; } if($row['idnum'] == "2") { $field_name2 = $row['field_name']; $field_size2 = $row['field_size']; $field_max_size2 = $row['field_max_size']; $field_activated2 = $row['field_activated']; $field_required2 = $row['field_required']; } if($row['idnum'] == "3") { $field_name3 = $row['field_name']; $field_size3 = $row['field_size']; $field_max_size3 = $row['field_max_size']; $field_activated3 = $row['field_activated']; $field_required3 = $row['field_required']; } if($row['idnum'] == "4") { $field_name4 = $row['field_name']; $field_size4 = $row['field_size']; $field_max_size4 = $row['field_max_size']; $field_activated4 = $row['field_activated']; $field_required4 = $row['field_required']; } if($row['idnum'] == "5") { $field_name5 = $row['field_name']; $field_size5 = $row['field_size']; $field_max_size5 = $row['field_max_size']; $field_activated5 = $row['field_activated']; $field_required5 = $row['field_required']; } if($row['idnum'] == "6") { $field_name6 = $row['field_name']; $field_size6 = $row['field_size']; $field_max_size6 = $row['field_max_size']; $field_activated6 = $row['field_activated']; $field_allowturnoff6 = $row['field_allowturnoff']; } if($row['idnum'] == "7") { $field_name7 = $row['field_name']; $field_size7 = $row['field_size']; $field_max_size7 = $row['field_max_size']; $field_activated7 = $row['field_activated']; $field_allowturnoff7 = $row['field_allowturnoff']; } if($row['idnum'] == "8") { $field_name8 = $row['field_name']; $field_size8 = $row['field_size']; $field_max_size8 = $row['field_max_size']; $field_activated8 = $row['field_activated']; $field_allowturnoff8 = $row['field_allowturnoff']; } if($row['idnum'] == "9") { $field_name9 = $row['field_name']; $field_size9 = $row['field_size']; $field_max_size9 = $row['field_max_size']; $field_activated9 = $row['field_activated']; $field_allowturnoff9 = $row['field_allowturnoff']; } } } $user_sig = htmlspecialchars($user_sig); if ($field_activated1 == "1") { if ($field_required1 == "1") { if (!$custom1 || $custom1 == "") { include("header.php"); echo ""._ERRORINVFIELD." $field_name1
    "; include("footer.php"); exit(); } } } if ($field_activated2 == "1") { if ($field_required2 == "1") { if (!$custom2 || $custom2 == "") { include("header.php"); echo ""._ERRORINVFIELD." $field_name2
    "; include("footer.php"); exit(); } } } if ($field_activated3 == "1") { if ($field_required3 == "1") { if (!$custom3 || $custom3 == "") { include("header.php"); echo ""._ERRORINVFIELD." $field_name3
    "; include("footer.php"); exit(); } } } if ($field_activated4 == "1") { if ($field_required4 == "1") { if (!$custom4 || $custom4 == "") { include("header.php"); echo ""._ERRORINVFIELD." $field_name4
    "; include("footer.php"); exit(); } } } if ($field_activated5 == "1") { if ($field_required5 == "1") { if (!$custom5 || $custom5 == "") { include("header.php"); echo ""._ERRORINVFIELD." $field_name5
    "; include("footer.php"); exit(); } } } $custom1 = check_html($custom1, nohtml); $custom2 = check_html($custom2, nohtml); $custom3 = check_html($custom3, nohtml); $custom4 = check_html($custom4, nohtml); $custom5 = check_html($custom5, nohtml); $custom6 = check_html($custom6, nohtml); $custom7 = check_html($custom7, nohtml); $custom8 = check_html($custom8, nohtml); $custom9 = check_html($custom9, nohtml); $custom1 = htmlspecialchars($custom1, ENT_QUOTES); $custom2 = htmlspecialchars($custom2, ENT_QUOTES); $custom3 = htmlspecialchars($custom3, ENT_QUOTES); $custom4 = htmlspecialchars($custom4, ENT_QUOTES); $custom5 = htmlspecialchars($custom5, ENT_QUOTES); $custom6 = htmlspecialchars($custom6, ENT_QUOTES); $custom7 = htmlspecialchars($custom7, ENT_QUOTES); $custom8 = htmlspecialchars($custom8, ENT_QUOTES); $custom9 = htmlspecialchars($custom9, ENT_QUOTES); $user_email = check_html($user_email, nohtml); $femail = check_html($femail, nohtml); $user_website = check_html($user_website, nohtml); $bio = check_html($bio, nohtml); $user_icq = check_html($user_icq, nohtml); $user_aim = check_html($user_aim, nohtml); $user_yim = check_html($user_yim, nohtml); $user_msnm = check_html($user_msnm, nohtml); $user_occ = check_html($user_occ, nohtml); $user_from = check_html($user_from, nohtml); $user_interests = check_html($user_interests, nohtml); $realname = check_html($realname, nohtml); $user_avatar = "$user_avatar"; if (($user_id == $vuid) AND ($check2 == $ccpass)) { if (!eregi("http://", $user_website)) { $user_website = "http://$user_website"; } if ((isset($user_password)) && ("$user_password" != "$vpass")) { echo "
    "._PASSDIFFERENT."
    "; } elseif (($user_password != "") && (strlen($user_password) < $minpass)) { echo "
    "._YOUPASSMUSTBE." $minpass "._CHARLONG."
    "; } else { if ($bio) { filter_text($bio); $bio = $EditedMessage; $bio = FixQuotes($bio); } if ($user_password != "") { cookiedecode($user); $db->sql_query("LOCK TABLES ".$user_prefix."_users WRITE"); $user_password = md5($user_password); $newsletter = intval($newsletter); $user_allow_viewonline = intval($user_allow_viewonline); $user_notify = intval($user_notify); $user_notify_pm = intval($user_notify_pm); $user_popup_pm = intval($user_popup_pm); $user_allowbbcode = intval($user_allowbbcode); $user_allowhtml = intval($user_allowhtml); $user_allowsmile = intval($user_allowsmile); $user_id = intval($user_id); $result = $db->sql_query("UPDATE ".$user_prefix."_users SET name='$realname', user_email='$user_email', femail='$femail', user_website='$user_website', user_password='$user_password', bio='$bio', user_icq='$user_icq', user_occ='$user_occ', user_from='$user_from', user_interests='$user_interests', user_sig='$user_sig', user_aim='$user_aim', user_yim='$user_yim', user_msnm='$user_msnm', newsletter='$newsletter', user_viewemail='$user_viewemail', user_allow_viewonline='$user_allow_viewonline', user_notify='$user_notify', user_notify_pm='$user_notify_pm', user_popup_pm='$user_popup_pm', user_attachsig='$user_attachsig', user_allowbbcode='$user_allowbbcode', user_allowhtml='$user_allowhtml', user_allowsmile='$user_allowsmile', user_timezone='$user_timezone', user_dateformat='$user_dateformat', custom1='$custom1', custom2='$custom2', custom3='$custom3', custom4='$custom4', custom5='$custom5', custom6='$custom6', custom7='$custom7', custom8='$custom8', custom9='$custom9', user_show_custom1='$user_show_custom1', user_show_custom2='$user_show_custom2', user_show_custom3='$user_show_custom3', user_show_custom4='$user_show_custom4', user_show_custom5='$user_show_custom5', user_show_custom6='$user_show_custom6', user_show_custom7='$user_show_custom7', user_show_custom8='$user_show_custom8', user_show_custom9='$user_show_custom9' WHERE user_id='$user_id'"); if(!$result) { @include("header.php"); echo ""._ERROR1."
    "; echo mysql_error(); @include("footer.php"); } $result2 = $db->sql_query("SELECT user_id, username, user_password, storynum, umode, uorder, thold, noscore, ublockon, theme FROM ".$user_prefix."_users WHERE username='$username' AND user_password='$user_password'"); if ($db->sql_numrows($result2) == 1) { $userinfo = $db->sql_fetchrow($result2); docookie($userinfo[user_id],$userinfo[username],$userinfo[user_password],$userinfo[storynum],$userinfo[umode],$userinfo[uorder],$userinfo[thold],$userinfo[noscore],$userinfo[ublockon],$userinfo[theme],$userinfo[commentmax]); } else { echo "
    "._SOMETHINGWRONG."

    "; } $db->sql_query("UNLOCK TABLES"); } else { $result = $db->sql_query("UPDATE ".$user_prefix."_users SET name='$realname', user_email='$user_email', femail='$femail', user_website='$user_website', bio='$bio', user_icq='$user_icq', user_occ='$user_occ', user_from='$user_from', user_interests='$user_interests', user_sig='$user_sig', user_aim='$user_aim', user_yim='$user_yim', user_msnm='$user_msnm', newsletter='$newsletter', user_viewemail='$user_viewemail', user_allow_viewonline='$user_allow_viewonline', user_notify='$user_notify', user_notify_pm='$user_notify_pm', user_popup_pm='$user_popup_pm', user_attachsig='$user_attachsig', user_allowbbcode='$user_allowbbcode', user_allowhtml='$user_allowhtml', user_allowsmile='$user_allowsmile', user_timezone='$user_timezone', user_dateformat='$user_dateformat', custom1='$custom1', custom2='$custom2', custom3='$custom3', custom4='$custom4', custom5='$custom5', custom6='$custom6', custom7='$custom7', custom8='$custom8', custom9='$custom9', user_show_custom1='$user_show_custom1', user_show_custom2='$user_show_custom2', user_show_custom3='$user_show_custom3', user_show_custom4='$user_show_custom4', user_show_custom5='$user_show_custom5', user_show_custom6='$user_show_custom6', user_show_custom7='$user_show_custom7', user_show_custom8='$user_show_custom8', user_show_custom9='$user_show_custom9' WHERE user_id='$user_id'"); if(!$result) { @include("header.php"); echo ""._ERROR2."
    "; echo mysql_error(); @include("footer.php"); } } Header("Location: modules.php?name=$module_name"); } } } function edithome() { global $user, $userinfo, $Default_Theme, $cookie, $broadcast_msg, $user_news, $storyhome, $module_name; cookiedecode($user); getusrinfo($user); if ((is_user($user)) AND (strtolower($userinfo['username']) == strtolower($cookie[1])) AND ($userinfo['user_password'] == $cookie[2])) { @include("header.php"); OpenTable(); echo "
    "._HOMECONFIG."
    "; CloseTable(); echo "
    "; OpenTable(); nav(); CloseTable(); echo "
    "; if($userinfo[theme]=="") { $userinfo[theme] = "$Default_Theme"; } OpenTable(); echo "
    "; if ($user_news == 1) { echo ""._NEWSINHOME." "._MAX127." " ."" ."

    "; } else { echo ""; } if ($userinfo[ublockon]==1) { $sel = "checked"; } if ($broadcast_msg == 1) { if ($userinfo[broadcast] == 1) { $sel1 = "checked"; $sel2 = ""; } elseif ($userinfo[broadcast] == 0) { $sel1 = ""; $sel2 = "checked"; } echo ""._MESSAGEACTIVATE." "._YES."   "._NO."

    "; } else { echo ""; } echo "" ." "._ACTIVATEPERSONAL."" ."
    "._CHECKTHISOPTION."" ."
    "._YOUCANUSEHTML."
    " ."" ."

    " ."" ."" ."" ."" ."
    "; CloseTable(); @include("footer.php"); } else { main($user); } } function chgtheme() { global $user, $userinfo, $Default_Theme, $cookie, $module_name; cookiedecode($user); getusrinfo($user); if ((is_user($user)) AND (strtolower($userinfo['username']) == strtolower($cookie[1])) AND ($userinfo['user_password'] == $cookie[2])) { @include("header.php"); OpenTable(); echo "
    "._THEMESELECTION."
    "; CloseTable(); echo "
    "; OpenTable(); nav(); CloseTable(); echo "
    "; OpenTable(); echo "
    " ."
    " .""._SELECTTHEME."
    " ."
    " .""._THEMETEXT1."
    " .""._THEMETEXT2."
    " .""._THEMETEXT3."

    " ."" ."" ."" ."
    "; CloseTable(); @include("footer.php"); } else { main($user); } } function savehome($user_id, $username, $storynum, $ublockon, $ublock, $broadcast) { global $user, $cookie, $userinfo, $user_prefix, $db, $module_name; cookiedecode($user); $check = $cookie[1]; $check2 = $cookie[2]; $sql = "SELECT user_id, user_password FROM ".$user_prefix."_users WHERE username='$check'"; $result = $db->sql_query($sql); $row = $db->sql_fetchrow($result); $vuid = intval($row['user_id']); $ccpass = $row['user_password']; if (($user_id == $vuid) AND ($check2 == $ccpass)) { if(isset($ublockon)) $ublockon=1; else $ublockon=0; $ublock = FixQuotes($ublock); $db->sql_query("UPDATE ".$user_prefix."_users SET storynum='$storynum', ublockon='$ublockon', ublock='$ublock', broadcast='$broadcast' WHERE user_id='$user_id'"); getusrinfo($user); docookie($userinfo[user_id],$userinfo[username],$userinfo[user_password],$userinfo[storynum],$userinfo[umode],$userinfo[uorder],$userinfo[thold],$userinfo[noscore],$userinfo[ublockon],$userinfo[theme],$userinfo[commentmax]); Header("Location: modules.php?name=$module_name"); } } function savetheme($user_id, $theme) { global $user, $cookie, $userinfo, $user_prefix, $db, $module_name; cookiedecode($user); $check = $cookie[1]; $check2 = $cookie[2]; $theme_error = ""; $sql = "SELECT user_id, user_password FROM ".$user_prefix."_users WHERE username='$check'"; $result = $db->sql_query($sql); $row = $db->sql_fetchrow($result); $vuid = intval($row['user_id']); $ccpass = $row['user_password']; if (($user_id == $vuid) AND ($check2 == $ccpass)) { $db->sql_query("UPDATE ".$user_prefix."_users SET user_style='$theme_id' WHERE user_id='$user_id'"); $db->sql_query("UPDATE ".$user_prefix."_users SET theme='$theme' WHERE user_id='$user_id'"); getusrinfo($user); docookie($userinfo[user_id],$userinfo[username],$userinfo[user_password],$userinfo[storynum],$userinfo[umode],$userinfo[uorder],$userinfo[thold],$userinfo[noscore],$userinfo[ublockon],$userinfo[theme],$userinfo[commentmax]); Header("Location: modules.php?name=$module_name&theme=$theme"); } } function editcomm() { global $user, $userinfo, $cookie, $module_name; cookiedecode($user); getusrinfo($user); if ((is_user($user)) AND (strtolower($userinfo['username']) == strtolower($cookie[1])) AND ($userinfo['user_password'] == $cookie[2])) { @include("header.php"); OpenTable(); echo "
    "._COMMENTSCONFIG."
    "; CloseTable(); echo "
    "; OpenTable(); nav(); CloseTable(); echo "
    "; OpenTable(); echo "
    " ."
    " .""._DISPLAYMODE."" ."







    >




    "> ">

    "; @include("footer.php"); } else { main($user); } } function savecomm($user_id, $username, $umode, $uorder, $thold, $noscore, $commentmax) { global $user, $cookie, $userinfo, $user_prefix, $db, $module_name; cookiedecode($user); $check = $cookie[1]; $check2 = $cookie[2]; $sql = "SELECT user_id, user_password FROM ".$user_prefix."_users WHERE username='$check'"; $result = $db->sql_query($sql); $row = $db->sql_fetchrow($result); $vuid = intval($row['user_id']); $ccpass = $row['user_password']; if (($user_id == $vuid) AND ($check2 == $ccpass)) { if(isset($noscore)) $noscore=1; else $noscore=0; $db->sql_query("UPDATE ".$user_prefix."_users SET umode='$umode', uorder='$uorder', thold='$thold', noscore='$noscore', commentmax='$commentmax' WHERE user_id='$user_id'"); getusrinfo($user); docookie($userinfo[user_id],$userinfo[username],$userinfo[user_password],$userinfo[storynum],$userinfo[umode],$userinfo[uorder],$userinfo[thold],$userinfo[noscore],$userinfo[ublockon],$userinfo[theme],$userinfo[commentmax]); Header("Location: modules.php?name=$module_name"); } } function avatarlist($avatarcategory) { global $module_name; @include("header.php"); $avatarcatname = ereg_replace ("_", " ", $avatarcategory); title("".$avatarcategory." Avatar Gallery"); Opentable(); nav(); CloseTable(); Opentable(); echo "
    "._AVAILABLEAVATARS." on category ".$avatarcatname."

    "; echo "To Select Your Avatar Click On It

    "; Opentable2(); echo "
    "; $d = dir("modules/Forums/images/avatars/$avatarcategory"); $temcount = 1; while (false !== ($entry = $d->read())) { if( preg_match('/(\.gif$|\.png$|\.jpg|\.jpeg)$/is', $entry) ) { if( $entry != '.' && $entry != '..' ) { $patterns[0] = "/\.gif/"; $patterns[1] = "/\.png/"; $patterns[2] = "/\.jpg/"; $patterns[3] = "/\.jpeg/"; $patterns[4] = "/-/"; $patterns[5] = "/_/"; $replacements[5] = ""; $replacements[4] = " "; $replacements[3] = ""; $replacements[2] = ""; $replacements[1] = ""; $replacements[0] = ""; ksort($patterns); ksort($replacements); $entryname = preg_replace($patterns, $replacements, $entry); $a=1; echo "\"$entryname\""; } if ($temcount == 10) { echo "
    "; $temcount -= 10; } $temcount ++; } } echo "
    "; CloseTable2(); echo "

    " .""._GOBACK."" ."
    "; $d->close(); CloseTable(); @include("footer.php"); } function avatarsave($avatar, $category) { global $user_prefix, $db, $module_name, $user, $cookie; if (is_user($user)) { getusrinfo($user); cookiedecode($user); @include("header.php"); title("Avatar Selection Successful!"); OpenTable(); nav(); CloseTable(); OpenTable(); $newavatar=$category."/".$avatar; $db->sql_query("UPDATE ".$user_prefix."_users SET user_avatar='$newavatar', user_avatar_type='3' WHERE username='$cookie[1]'"); echo "
    Avatar for ".$cookie[1]." Saved!


    "; if (ereg("(http)", $newavatar)) { echo "
    Your New Avatar:

    \"\"

    [ Back to Profile | Done ]

    "; } elseif ($newavatar) { echo "
    Your New Avatar:

    \"\"

    [ Back to Profile | Done ]

    "; } CloseTable(); @include("footer.php"); } } function avatarlinksave($avatar) { global $user_prefix, $db, $module_name, $user, $cookie; if (is_user($user)) { getusrinfo($user); cookiedecode($user); @include("header.php"); title("Avatar Selection Successful!"); OpenTable(); nav(); CloseTable(); OpenTable(); $db->sql_query("UPDATE ".$user_prefix."_users SET user_avatar='$avatar', user_avatar_type='2' WHERE username='$cookie[1]'"); echo "
    Avatar for ".$cookie[1]." Saved!


    "; if (ereg("(http)", $avatar)) { echo "
    Your New Avatar:

    \"\"

    [ Back to Profile | Done ]

    "; } elseif ($avatar) { echo "
    Your New Avatar:

    \"\"

    [ Back to Profile | Done ]

    "; } CloseTable(); @include("footer.php"); } } function broadcast($the_message, $who) { global $prefix, $db, $broadcast_msg, $module_name, $cookie, $user, $userinfo; cookiedecode($user); getusrinfo($user); if ((is_user($user)) AND (strtolower($who) == strtolower($cookie[1])) AND (strtolower($userinfo['username']) == strtolower($cookie[1])) AND ($userinfo['user_password'] == $cookie[2])) { $who = $cookie[1]; $the_message = htmlentities($the_message); if ($broadcast_msg == 1) { @include("header.php"); title(""._BROADCAST.""); OpenTable(); $numrows = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_public_messages WHERE who='$who'")); $the_message = FixQuotes(filter_text($the_message, "nohtml")); if ($the_message != "" AND $numrows == 0) { $the_time = time(); $who = htmlspecialchars(stripslashes($who)); $db->sql_query("INSERT INTO ".$prefix."_public_messages VALUES (NULL, '$the_message', '$the_time', '$who')"); update_points(20); echo "
    "._BROADCASTSENT."

    [ "._RETURNPAGE." ]
    "; } else { echo "
    "._BROADCASTNOTSENT."

    [ "._RETURNPAGE." ]
    "; } CloseTable(); @include("footer.php"); } else { echo "I don't like you..."; } } } function my_headlines($hid, $url=0) { global $prefix, $db; $hid = intval($hid); $sql = "SELECT headlinesurl FROM ".$prefix."_headlines WHERE hid='$hid'"; $result = $db->sql_query($sql); $row = $db->sql_fetchrow($result); $url = $row['headlinesurl']; $rdf = parse_url($url); $fp = fsockopen($rdf['host'], 80, $errno, $errstr, 15); if (!$fp) { $content = "Problema!"; return; } if ($fp) { fputs($fp, "GET " . $rdf['path'] . "?" . $rdf['query'] . " HTTP/1.0\r\n"); fputs($fp, "HOST: " . $rdf['host'] . "\r\n\r\n"); $string = ""; while(!feof($fp)) { $pagetext = fgets($fp,300); $string .= chop($pagetext); } fputs($fp,"Connection: close\r\n\r\n"); fclose($fp); $items = explode("",$string); $content = ""; for ($i=0;$i<10;$i++) { $link = ereg_replace(".*","",$items[$i]); $link = ereg_replace(".*","",$link); $title2 = ereg_replace(".*","",$items[$i]); $title2 = ereg_replace(".*","",$title2); if ($items[$i] == "") { $content = ""; return; } else { if (strcmp($link,$title)) { $cont = 1; $content .= "$title2
    \n"; } } } } echo "$content"; } function CoolSize($size) { $mb = 1024*1024; if ( $size > $mb ) { $mysize = sprintf ("%01.2f",$size/$mb) . " MB"; } elseif ( $size >= 1024 ) { $mysize = sprintf ("%01.2f",$size/1024) . " Kb"; } else { $mysize = $size . " bytes"; } return $mysize; } switch($op) { case "logout": logout(); break; case "avatarsave": avatarsave($avatar, $category); break; case "avatarlinksave": avatarlinksave($avatar); break; case "broadcast": broadcast($the_message, $who); break; case "lost_pass": lost_pass(); break; case "new user": confirmNewUser($username, $user_email, $user_password, $user_password2, $random_num, $gfx_check, $custom1, $custom2, $custom3, $custom4, $custom5, $custom6, $custom7, $custom8, $custom9, $field_activated1, $field_activated2, $field_activated3, $field_activated4, $field_activated5, $field_activated6, $field_activated7, $field_activated8, $field_activated9, $field_name1, $field_name2, $field_name3, $field_name4, $field_name5, $field_name6, $field_name7, $field_name8, $field_name9, $field_required1, $field_required2, $field_required3, $field_required4, $field_required5); break; case "finish": finishNewUser($username, $user_email, $user_password, $random_num, $gfx_check, $custom1, $custom2, $custom3, $custom4, $custom5, $custom6, $custom7, $custom8, $custom9, $field_activated1, $field_activated2, $field_activated3, $field_activated4, $field_activated5, $field_activated6, $field_activated7, $field_activated8, $field_activated9, $field_name1, $field_name2, $field_name3, $field_name4, $field_name5, $field_name6, $field_name7, $field_name8, $field_name9, $field_required1, $field_required2, $field_required3, $field_required4, $field_required5); break; case "mailpasswd": mail_password($username, $code); break; case "userinfo": userinfo($username, $bypass, $hid, $url); break; case "login": login($username, $user_password, $redirect, $mode, $f, $t, $random_num, $gfx_check); break; case "edituser": edituser(); break; case "saveuser": saveuser($realname, $user_email, $femail, $user_website, $user_icq, $user_aim, $user_yim, $user_msnm, $user_from, $user_occ, $user_interests, $newsletter, $user_viewemail, $user_allow_viewonline, $user_notify, $user_notify_pm, $user_popup_pm, $user_attachsig, $user_allowbbcode, $user_allowhtml, $user_allowsmile, $user_timezone, $user_dateformat, $user_sig, $bio, $user_password, $vpass, $username, $user_id, $custom1, $custom2, $custom3, $custom4, $custom5, $custom6, $custom7, $custom8, $custom9, $user_show_custom1, $user_show_custom2, $user_show_custom3, $user_show_custom4, $user_show_custom5, $user_show_custom6, $user_show_custom7, $user_show_custom8, $user_show_custom9); break; case "edithome": edithome(); break; case "chgtheme": chgtheme(); break; case "savehome": savehome($user_id, $username, $storynum, $ublockon, $ublock, $broadcast); break; case "savetheme": savetheme($user_id, $theme); break; case "avatarlist": avatarlist($avatarcategory); break; case "editcomm": editcomm(); break; case "savecomm": savecomm($user_id, $username, $umode, $uorder, $thold, $noscore, $commentmax); break; case "pass_lost": pass_lost(); break; case "new_user": new_user(); break; case "my_headlines": my_headlines($hid, $url); break; case "gfx": gfx($random_num); break; case "activate": activate($username, $check_num); break; case "CoolSize": CoolSize($size); break; /* === Begin Web Pages Support === */ case "editwebpage": if (edit_webpage(1)) { main($user); } break ; case "savewebpage": if (save_webpage($uid,$uname,$webpage,$save,$show,$groups,$delete,$showname,$fullpage,$format)){ main($user); } break; case "deletewebpage": delete_webpage($uid); main($user); break; case "dodeletewebpage": do_delete_webpage($uid); main($user); break; case "editwebpagegroups": if (edit_webpage_groups($uname)) { main($user); } break; case "savewebpagegroups": save_webpage_groups($groups); main($user); break; /* === End Web Pages Support === */ default: main($user); break; } # $Log: index.php,v $ # Revision 1.5 2005/02/16 00:00:49 chatserv # Version 2.9 Release # # Revision 1.4 2004/12/21 19:57:19 chatserv # http://www.nukefixes.com/ftopict-1174.html # # Revision 1.3 2004/12/08 00:39:53 chatserv # http://www.nukefixes.com/ftopicp-3479.html#3479 # # Revision 1.2 2004/10/29 02:00:34 chatserv # Blocked html tags in rss section # # Revision 1.1 2004/10/05 18:05:29 chatserv # Initial CVS Addition # ?> webpages.16/html/modules/Your_Account/navbar75.php 777 0 0 11214 10250173604 15337 0"; $menuimg = menuimg("info.gif"); echo "" ."
    \""._CHANGEYOURINFO."\"
    " .""._CHANGEYOURINFO."" ."
    "; $menuimg = menuimg("home.gif"); echo "" ."
    \""._CHANGEHOME."\"
    " .""._CHANGEHOME."" ."
    "; if ($articlecomm == 1) { $menuimg = menuimg("comments.gif"); echo "" ."
    \""._CONFIGCOMMENTS."\"
    " .""._CONFIGCOMMENTS."" ."
    "; } if (is_active("WebMail")) { $menuimg = menuimg("mail.gif"); echo "" ."
    \""._WEBMAIL."\"
    " .""._WEBMAIL."" ."
    "; } if (is_active("Private_Messages")) { $menuimg = menuimg("messages.gif"); echo "" ."
    \""._PRIVATEMESSAGES."\"
    " .""._MESSAGES."" ."
    "; } if (is_active("Journal")) { $menuimg = menuimg("journal.gif"); echo "" ."
    \""._JOURNAL."\"
    " .""._JOURNAL."" ."
    "; } if ($thmcount > 1) { $menuimg = menuimg("themes.gif"); echo "" ."
    \""._SELECTTHETHEME."\"
    " .""._SELECTTHETHEME."" ."
    "; } $menuimg = menuimg("exit.gif"); echo "" ."
    \""._LOGOUTEXIT."\"
    " .""._LOGOUTEXIT."" ."
    "; /* === Begin Web Pages Support === */ echo " "; add_webpage_menu(); echo ""; /* === End Web Pages Support === */ echo ""; if ($main_up != 1) { echo "
    [ "._RETURNACCOUNT." ]
    \n"; } } } # $Log: navbar.php,v $ # Revision 1.3 2005/02/16 00:02:51 chatserv # Version 2.9 Release # # Revision 1.2 2004/12/08 00:38:34 chatserv # http://www.nukefixes.com/ftopicp-3479.html#3479 # # Revision 1.1 2004/10/05 18:05:29 chatserv # Initial CVS Addition # ?> webpages.16/README.txt 777 0 0 15610 10250175527 7663 0PHP-Nuke Webpages 1.5 README by Wm. Wong, 06/03/05 bwong@voicenet.com Description: Note: This version only works with PHP-Nuke 7.5 or later. The Webpages module lets registered users create a single web page. The page can contain HTML tags and some of the more common ones are listed on the editing screen. A list of active user web pages is provided by the module or by blocks included with the package. Administrators can edit any page but users can edit only their own page. Anyone can view the pages including anonymous users. Pages can be displayed within the PHP-Nuke context or as full pages. There are optional titles that can be displayed with the users name. Links to the home page and to the list other pages is added automatically so users viewing a page cannot get stranded on an empty page. Web pages can be grouped. There is a default group that cannot be deleted. Group names can be changed and each group has its own webpage that can be customized. The list of user web pages within a group are listed at the end of the page. Systems supported: Webpages was developed and tested on PHP-Nuke 6.0 and 6.5. Webpages was initially developed and tested on PHP-Nuke 5.6. New Installation Instructions: 1. Copy html directory to the PHP-Nuke root. 2. Change owner (chown) and file permissions (chmod) if necessary. 3. Create the MySQL table using webpages.sql. # mysql nuke