├── Documentation.pdf ├── Donate.txt ├── License.txt ├── Readme.txt ├── jobs └── template.xml ├── modules └── PoSHServer │ ├── PoSHServer.ps1 │ ├── PoSHServer.psd1 │ └── modules │ ├── adminverification.ps1 │ ├── authentication.ps1 │ ├── config.ps1 │ ├── contentfiltering.ps1 │ ├── functions.ps1 │ ├── iprestriction.ps1 │ ├── ipverification.ps1 │ ├── log.ps1 │ ├── notfound.ps1 │ ├── phpcgierror.ps1 │ ├── phpencoding.ps1 │ └── phpsecurityerror.ps1 ├── packages ├── PoSHServer-Standalone.exe └── PoSHServer-Standalone.ps1 └── webroot └── http ├── css ├── 960.css ├── ie.css ├── ie6.css ├── print.css └── screen.css ├── example1.ps1 ├── example2.ps1 ├── example3.ps1 ├── example4.ps1 ├── example5.ps1 ├── favicon.ico ├── images ├── add-on-skype.png ├── avatar.jpg ├── bg │ ├── arrow1.png │ ├── arrow2.png │ ├── bottom.png │ ├── bottom2.png │ ├── download.png │ ├── email.png │ ├── error.gif │ ├── message.png │ ├── name.png │ ├── quote.jpg │ ├── sfere.jpg │ ├── spinner.gif │ ├── success.gif │ └── top-bg.png ├── clear.gif ├── fancyzoom │ ├── bl.gif │ ├── bl.png │ ├── bm.gif │ ├── bm.png │ ├── br.gif │ ├── br.png │ ├── closebox.gif │ ├── closebox.png │ ├── loading.gif │ ├── ml.gif │ ├── ml.png │ ├── mr.gif │ ├── mr.png │ ├── tl.gif │ ├── tl.png │ ├── tm.gif │ ├── tm.png │ ├── tr.gif │ └── tr.png ├── follow-me.gif ├── logo.png ├── logo.small.gif ├── portfolio │ ├── 001.big.jpg │ ├── 002.big.jpg │ ├── 003.big.jpg │ ├── 004.big.jpg │ ├── 005.big.jpg │ └── 006.big.jpg └── send-mail.gif ├── index.htm ├── index.ps1 └── js ├── cufon-yui.js ├── cufon-yui.old.js ├── dustismo_400.font.js ├── fancyzoom.js ├── form-contact-validate.js ├── jquery.js ├── mootools-yui-compressed.js ├── scroll.js └── unitpngfix.js /Documentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/Documentation.pdf -------------------------------------------------------------------------------- /Donate.txt: -------------------------------------------------------------------------------- 1 | Hello, 2 | 3 | PoSHServer is a free product but it still has hidden costs like hosting, ssl certificates etc. 4 | 5 | I'll be glad if you can support this project via PayPal donation: 6 | 7 | https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=S5RUQ9DBHJQMW 8 | 9 | Thanks for your support! 10 | 11 | Yusuf. -------------------------------------------------------------------------------- /License.txt: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 2, June 1991 3 | 4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc., 5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6 | Everyone is permitted to copy and distribute verbatim copies 7 | of this license document, but changing it is not allowed. 8 | 9 | Preamble 10 | 11 | The licenses for most software are designed to take away your 12 | freedom to share and change it. By contrast, the GNU General Public 13 | License is intended to guarantee your freedom to share and change free 14 | software--to make sure the software is free for all its users. This 15 | General Public License applies to most of the Free Software 16 | Foundation's software and to any other program whose authors commit to 17 | using it. (Some other Free Software Foundation software is covered by 18 | the GNU Lesser General Public License instead.) You can apply it to 19 | your programs, too. 20 | 21 | When we speak of free software, we are referring to freedom, not 22 | price. Our General Public Licenses are designed to make sure that you 23 | have the freedom to distribute copies of free software (and charge for 24 | this service if you wish), that you receive source code or can get it 25 | if you want it, that you can change the software or use pieces of it 26 | in new free programs; and that you know you can do these things. 27 | 28 | To protect your rights, we need to make restrictions that forbid 29 | anyone to deny you these rights or to ask you to surrender the rights. 30 | These restrictions translate to certain responsibilities for you if you 31 | distribute copies of the software, or if you modify it. 32 | 33 | For example, if you distribute copies of such a program, whether 34 | gratis or for a fee, you must give the recipients all the rights that 35 | you have. You must make sure that they, too, receive or can get the 36 | source code. And you must show them these terms so they know their 37 | rights. 38 | 39 | We protect your rights with two steps: (1) copyright the software, and 40 | (2) offer you this license which gives you legal permission to copy, 41 | distribute and/or modify the software. 42 | 43 | Also, for each author's protection and ours, we want to make certain 44 | that everyone understands that there is no warranty for this free 45 | software. If the software is modified by someone else and passed on, we 46 | want its recipients to know that what they have is not the original, so 47 | that any problems introduced by others will not reflect on the original 48 | authors' reputations. 49 | 50 | Finally, any free program is threatened constantly by software 51 | patents. We wish to avoid the danger that redistributors of a free 52 | program will individually obtain patent licenses, in effect making the 53 | program proprietary. To prevent this, we have made it clear that any 54 | patent must be licensed for everyone's free use or not licensed at all. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | GNU GENERAL PUBLIC LICENSE 60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61 | 62 | 0. This License applies to any program or other work which contains 63 | a notice placed by the copyright holder saying it may be distributed 64 | under the terms of this General Public License. The "Program", below, 65 | refers to any such program or work, and a "work based on the Program" 66 | means either the Program or any derivative work under copyright law: 67 | that is to say, a work containing the Program or a portion of it, 68 | either verbatim or with modifications and/or translated into another 69 | language. (Hereinafter, translation is included without limitation in 70 | the term "modification".) Each licensee is addressed as "you". 71 | 72 | Activities other than copying, distribution and modification are not 73 | covered by this License; they are outside its scope. The act of 74 | running the Program is not restricted, and the output from the Program 75 | is covered only if its contents constitute a work based on the 76 | Program (independent of having been made by running the Program). 77 | Whether that is true depends on what the Program does. 78 | 79 | 1. You may copy and distribute verbatim copies of the Program's 80 | source code as you receive it, in any medium, provided that you 81 | conspicuously and appropriately publish on each copy an appropriate 82 | copyright notice and disclaimer of warranty; keep intact all the 83 | notices that refer to this License and to the absence of any warranty; 84 | and give any other recipients of the Program a copy of this License 85 | along with the Program. 86 | 87 | You may charge a fee for the physical act of transferring a copy, and 88 | you may at your option offer warranty protection in exchange for a fee. 89 | 90 | 2. You may modify your copy or copies of the Program or any portion 91 | of it, thus forming a work based on the Program, and copy and 92 | distribute such modifications or work under the terms of Section 1 93 | above, provided that you also meet all of these conditions: 94 | 95 | a) You must cause the modified files to carry prominent notices 96 | stating that you changed the files and the date of any change. 97 | 98 | b) You must cause any work that you distribute or publish, that in 99 | whole or in part contains or is derived from the Program or any 100 | part thereof, to be licensed as a whole at no charge to all third 101 | parties under the terms of this License. 102 | 103 | c) If the modified program normally reads commands interactively 104 | when run, you must cause it, when started running for such 105 | interactive use in the most ordinary way, to print or display an 106 | announcement including an appropriate copyright notice and a 107 | notice that there is no warranty (or else, saying that you provide 108 | a warranty) and that users may redistribute the program under 109 | these conditions, and telling the user how to view a copy of this 110 | License. (Exception: if the Program itself is interactive but 111 | does not normally print such an announcement, your work based on 112 | the Program is not required to print an announcement.) 113 | 114 | These requirements apply to the modified work as a whole. If 115 | identifiable sections of that work are not derived from the Program, 116 | and can be reasonably considered independent and separate works in 117 | themselves, then this License, and its terms, do not apply to those 118 | sections when you distribute them as separate works. But when you 119 | distribute the same sections as part of a whole which is a work based 120 | on the Program, the distribution of the whole must be on the terms of 121 | this License, whose permissions for other licensees extend to the 122 | entire whole, and thus to each and every part regardless of who wrote it. 123 | 124 | Thus, it is not the intent of this section to claim rights or contest 125 | your rights to work written entirely by you; rather, the intent is to 126 | exercise the right to control the distribution of derivative or 127 | collective works based on the Program. 128 | 129 | In addition, mere aggregation of another work not based on the Program 130 | with the Program (or with a work based on the Program) on a volume of 131 | a storage or distribution medium does not bring the other work under 132 | the scope of this License. 133 | 134 | 3. You may copy and distribute the Program (or a work based on it, 135 | under Section 2) in object code or executable form under the terms of 136 | Sections 1 and 2 above provided that you also do one of the following: 137 | 138 | a) Accompany it with the complete corresponding machine-readable 139 | source code, which must be distributed under the terms of Sections 140 | 1 and 2 above on a medium customarily used for software interchange; or, 141 | 142 | b) Accompany it with a written offer, valid for at least three 143 | years, to give any third party, for a charge no more than your 144 | cost of physically performing source distribution, a complete 145 | machine-readable copy of the corresponding source code, to be 146 | distributed under the terms of Sections 1 and 2 above on a medium 147 | customarily used for software interchange; or, 148 | 149 | c) Accompany it with the information you received as to the offer 150 | to distribute corresponding source code. (This alternative is 151 | allowed only for noncommercial distribution and only if you 152 | received the program in object code or executable form with such 153 | an offer, in accord with Subsection b above.) 154 | 155 | The source code for a work means the preferred form of the work for 156 | making modifications to it. For an executable work, complete source 157 | code means all the source code for all modules it contains, plus any 158 | associated interface definition files, plus the scripts used to 159 | control compilation and installation of the executable. However, as a 160 | special exception, the source code distributed need not include 161 | anything that is normally distributed (in either source or binary 162 | form) with the major components (compiler, kernel, and so on) of the 163 | operating system on which the executable runs, unless that component 164 | itself accompanies the executable. 165 | 166 | If distribution of executable or object code is made by offering 167 | access to copy from a designated place, then offering equivalent 168 | access to copy the source code from the same place counts as 169 | distribution of the source code, even though third parties are not 170 | compelled to copy the source along with the object code. 171 | 172 | 4. You may not copy, modify, sublicense, or distribute the Program 173 | except as expressly provided under this License. Any attempt 174 | otherwise to copy, modify, sublicense or distribute the Program is 175 | void, and will automatically terminate your rights under this License. 176 | However, parties who have received copies, or rights, from you under 177 | this License will not have their licenses terminated so long as such 178 | parties remain in full compliance. 179 | 180 | 5. You are not required to accept this License, since you have not 181 | signed it. However, nothing else grants you permission to modify or 182 | distribute the Program or its derivative works. These actions are 183 | prohibited by law if you do not accept this License. Therefore, by 184 | modifying or distributing the Program (or any work based on the 185 | Program), you indicate your acceptance of this License to do so, and 186 | all its terms and conditions for copying, distributing or modifying 187 | the Program or works based on it. 188 | 189 | 6. Each time you redistribute the Program (or any work based on the 190 | Program), the recipient automatically receives a license from the 191 | original licensor to copy, distribute or modify the Program subject to 192 | these terms and conditions. You may not impose any further 193 | restrictions on the recipients' exercise of the rights granted herein. 194 | You are not responsible for enforcing compliance by third parties to 195 | this License. 196 | 197 | 7. If, as a consequence of a court judgment or allegation of patent 198 | infringement or for any other reason (not limited to patent issues), 199 | conditions are imposed on you (whether by court order, agreement or 200 | otherwise) that contradict the conditions of this License, they do not 201 | excuse you from the conditions of this License. If you cannot 202 | distribute so as to satisfy simultaneously your obligations under this 203 | License and any other pertinent obligations, then as a consequence you 204 | may not distribute the Program at all. For example, if a patent 205 | license would not permit royalty-free redistribution of the Program by 206 | all those who receive copies directly or indirectly through you, then 207 | the only way you could satisfy both it and this License would be to 208 | refrain entirely from distribution of the Program. 209 | 210 | If any portion of this section is held invalid or unenforceable under 211 | any particular circumstance, the balance of the section is intended to 212 | apply and the section as a whole is intended to apply in other 213 | circumstances. 214 | 215 | It is not the purpose of this section to induce you to infringe any 216 | patents or other property right claims or to contest validity of any 217 | such claims; this section has the sole purpose of protecting the 218 | integrity of the free software distribution system, which is 219 | implemented by public license practices. Many people have made 220 | generous contributions to the wide range of software distributed 221 | through that system in reliance on consistent application of that 222 | system; it is up to the author/donor to decide if he or she is willing 223 | to distribute software through any other system and a licensee cannot 224 | impose that choice. 225 | 226 | This section is intended to make thoroughly clear what is believed to 227 | be a consequence of the rest of this License. 228 | 229 | 8. If the distribution and/or use of the Program is restricted in 230 | certain countries either by patents or by copyrighted interfaces, the 231 | original copyright holder who places the Program under this License 232 | may add an explicit geographical distribution limitation excluding 233 | those countries, so that distribution is permitted only in or among 234 | countries not thus excluded. In such case, this License incorporates 235 | the limitation as if written in the body of this License. 236 | 237 | 9. The Free Software Foundation may publish revised and/or new versions 238 | of the General Public License from time to time. Such new versions will 239 | be similar in spirit to the present version, but may differ in detail to 240 | address new problems or concerns. 241 | 242 | Each version is given a distinguishing version number. If the Program 243 | specifies a version number of this License which applies to it and "any 244 | later version", you have the option of following the terms and conditions 245 | either of that version or of any later version published by the Free 246 | Software Foundation. If the Program does not specify a version number of 247 | this License, you may choose any version ever published by the Free Software 248 | Foundation. 249 | 250 | 10. If you wish to incorporate parts of the Program into other free 251 | programs whose distribution conditions are different, write to the author 252 | to ask for permission. For software which is copyrighted by the Free 253 | Software Foundation, write to the Free Software Foundation; we sometimes 254 | make exceptions for this. Our decision will be guided by the two goals 255 | of preserving the free status of all derivatives of our free software and 256 | of promoting the sharing and reuse of software generally. 257 | 258 | NO WARRANTY 259 | 260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268 | REPAIR OR CORRECTION. 269 | 270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278 | POSSIBILITY OF SUCH DAMAGES. 279 | 280 | END OF TERMS AND CONDITIONS 281 | 282 | How to Apply These Terms to Your New Programs 283 | 284 | If you develop a new program, and you want it to be of the greatest 285 | possible use to the public, the best way to achieve this is to make it 286 | free software which everyone can redistribute and change under these terms. 287 | 288 | To do so, attach the following notices to the program. It is safest 289 | to attach them to the start of each source file to most effectively 290 | convey the exclusion of warranty; and each file should have at least 291 | the "copyright" line and a pointer to where the full notice is found. 292 | 293 | {description} 294 | Copyright (C) {year} {fullname} 295 | 296 | This program is free software; you can redistribute it and/or modify 297 | it under the terms of the GNU General Public License as published by 298 | the Free Software Foundation; either version 2 of the License, or 299 | (at your option) any later version. 300 | 301 | This program is distributed in the hope that it will be useful, 302 | but WITHOUT ANY WARRANTY; without even the implied warranty of 303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304 | GNU General Public License for more details. 305 | 306 | You should have received a copy of the GNU General Public License along 307 | with this program; if not, write to the Free Software Foundation, Inc., 308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 309 | 310 | Also add information on how to contact you by electronic and paper mail. 311 | 312 | If the program is interactive, make it output a short notice like this 313 | when it starts in an interactive mode: 314 | 315 | Gnomovision version 69, Copyright (C) year name of author 316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 317 | This is free software, and you are welcome to redistribute it 318 | under certain conditions; type `show c' for details. 319 | 320 | The hypothetical commands `show w' and `show c' should show the appropriate 321 | parts of the General Public License. Of course, the commands you use may 322 | be called something other than `show w' and `show c'; they could even be 323 | mouse-clicks or menu items--whatever suits your program. 324 | 325 | You should also get your employer (if you work as a programmer) or your 326 | school, if any, to sign a "copyright disclaimer" for the program, if 327 | necessary. Here is a sample; alter the names: 328 | 329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program 330 | `Gnomovision' (which makes passes at compilers) written by James Hacker. 331 | 332 | {signature of Ty Coon}, 1 April 1989 333 | Ty Coon, President of Vice 334 | 335 | This General Public License does not permit incorporating your program into 336 | proprietary programs. If your program is a subroutine library, you may 337 | consider it more useful to permit linking proprietary applications with the 338 | library. If this is what you want to do, use the GNU Lesser General 339 | Public License instead of this License. 340 | -------------------------------------------------------------------------------- /Readme.txt: -------------------------------------------------------------------------------- 1 | PowerShell Web Server 2 | Secure, flexible and lightweight web server to meet your requirements. 3 | 4 | Documentation: 5 | http://www.yusufozturk.info/wp-download.php?file=PoSHServer.Documentation.pdf 6 | 7 | Contact: 8 | ysfozy@gmail.com 9 | 10 | -------------------------------------------------------------------------------- /jobs/template.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/jobs/template.xml -------------------------------------------------------------------------------- /modules/PoSHServer/PoSHServer.psd1: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2014 Yusuf Ozturk 2 | # 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. 3 | # 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. 4 | # 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 5 | 6 | @{ 7 | Author = "Yusuf Ozturk" 8 | Copyright = "Copyright (C) 2014 Yusuf Ozturk" 9 | ModuleVersion = "3.7" 10 | Guid = "d7e28aeb-8b58-4d0d-87a1-e028d586e9f0" 11 | NestedModules = "PoSHServer.ps1" 12 | } -------------------------------------------------------------------------------- /modules/PoSHServer/modules/adminverification.ps1: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2014 Yusuf Ozturk 2 | # 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. 3 | # 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. 4 | # 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 5 | 6 | # PoSH Server Admin Privileges Verification 7 | $Privileges = Confirm-PoSHAdminPrivileges 8 | 9 | if ($Privileges -ne "Validated") 10 | { 11 | Write-Host " " 12 | Write-Host "Please execute PoSH Server with administrative privileges." 13 | Write-Host "Aborting.." 14 | Write-Host " " 15 | $ShouldProcess = $false 16 | } -------------------------------------------------------------------------------- /modules/PoSHServer/modules/authentication.ps1: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2014 Yusuf Ozturk 2 | # 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. 3 | # 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. 4 | # 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 5 | 6 | # PoSH Server Authentication Module 7 | 8 | # Basic Authentication 9 | if ($BasicAuthentication -eq "On") 10 | { 11 | $Identity = $Context.User.Identity; 12 | $PoSHUserName = $Identity.Name 13 | $PoSHUserPassword = $Identity.Password 14 | } 15 | 16 | # Windows Authentication 17 | if ($WindowsAuthentication -eq "On") 18 | { 19 | $Identity = $Context.User.Identity; 20 | $PoSHUserName = $Identity.Name 21 | } -------------------------------------------------------------------------------- /modules/PoSHServer/modules/config.ps1: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2014 Yusuf Ozturk 2 | # 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. 3 | # 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. 4 | # 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 5 | 6 | # PoSH Server Configuration 7 | 8 | # Default Document 9 | $DefaultDocument = "index.ps1" 10 | 11 | # Log Schedule 12 | # Options: Hourly, Daily 13 | $LogSchedule = "Daily" 14 | 15 | # Basic Authentication 16 | # Options: On, Off 17 | $BasicAuthentication = "Off" 18 | 19 | # Windows Authentication 20 | # Options: On, Off 21 | $WindowsAuthentication = "Off" 22 | 23 | # DirectoryBrowsing 24 | # Options: On, Off 25 | $DirectoryBrowsing = "Off" 26 | 27 | # IP Restriction 28 | # Options: On, Off 29 | $IPRestriction = "Off" 30 | $IPWhiteList = "::1 127.0.0.1" 31 | 32 | # Content Filtering 33 | # Options: On, Off 34 | $ContentFiltering = "Off" 35 | $ContentFilterBlackList = "audio/mpeg video/mpeg" 36 | 37 | # PHP Cgi Path 38 | $PHPCgiPath = ($env:PATH).Split(";") | Select-String "PHP" 39 | $PHPCgiPath = [string]$PHPCgiPath + "\php-cgi.exe" -------------------------------------------------------------------------------- /modules/PoSHServer/modules/contentfiltering.ps1: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2014 Yusuf Ozturk 2 | # 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. 3 | # 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. 4 | # 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 5 | 6 | # PoSH Server Content Filtering Module 7 | if ($ContentFiltering -eq "On") 8 | { 9 | if ($ContentFilterBlackList -match $MimeType) 10 | { 11 | Write-Debug "$MimeType is not allowed, dropping.." 12 | $ContentSessionDrop = "1"; 13 | } 14 | else 15 | { 16 | $ContentSessionDrop = "0"; 17 | } 18 | } 19 | else 20 | { 21 | $ContentSessionDrop = "0"; 22 | } -------------------------------------------------------------------------------- /modules/PoSHServer/modules/iprestriction.ps1: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2014 Yusuf Ozturk 2 | # 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. 3 | # 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. 4 | # 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 5 | 6 | # PoSH Server IP Restriction Module 7 | $ClientIPAddr = $Request.RemoteEndPoint.Address 8 | 9 | if ($IPRestriction -eq "On") 10 | { 11 | if (!($IPWhiteList -match $ClientIPAddr)) 12 | { 13 | Write-Warning "$ClientIPAddr has no permission, dropping.." 14 | $IPSessionDrop = "1"; 15 | } 16 | else 17 | { 18 | $IPSessionDrop = "0"; 19 | } 20 | } 21 | else 22 | { 23 | $IPSessionDrop = "0"; 24 | } -------------------------------------------------------------------------------- /modules/PoSHServer/modules/ipverification.ps1: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2014 Yusuf Ozturk 2 | # 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. 3 | # 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. 4 | # 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 5 | 6 | # PoSH Server IP Address Verification 7 | if ($Hostname) 8 | { 9 | $IPAddresses = @($Hostname.Split(",")) 10 | foreach ($IPAddress in $IPAddresses) 11 | { 12 | if ($IPAddress -ne "127.0.0.1" -and $IPAddress -ne "::1") 13 | { 14 | if ($IPAddress -as [ipaddress]) 15 | { 16 | $IPValidation = Confirm-PoSHServerIP -IP $IPAddress 17 | if ($IPValidation -ne "Validated") 18 | { 19 | Write-Warning "$IPAddress is not exist on your current network configuration." 20 | Write-Warning "Aborting.." 21 | $ShouldProcess = $false 22 | } 23 | } 24 | } 25 | } 26 | } 27 | 28 | # PoSH Server SSL IP Address Verification 29 | if ($SSLIP) 30 | { 31 | if ($ShouldProcess -ne $false) 32 | { 33 | $SSLIPAddresses = @($SSLIP.Split(",")) 34 | foreach ($SSLIPAddress in $SSLIPAddresses) 35 | { 36 | if ($SSLIPAddress -ne "127.0.0.1" -and $SSLIPAddress -ne "::1") 37 | { 38 | if ($SSLIPAddress -as [ipaddress]) 39 | { 40 | $IPValidation = Confirm-PoSHServerIP -IP $SSLIPAddress 41 | if ($IPValidation -ne "Validated") 42 | { 43 | Write-Warning "$SSLIPAddress is not exist on your current network configuration." 44 | Write-Warning "Aborting.." 45 | $ShouldProcess = $false 46 | } 47 | } 48 | } 49 | } 50 | } 51 | } -------------------------------------------------------------------------------- /modules/PoSHServer/modules/log.ps1: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2014 Yusuf Ozturk 2 | # 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. 3 | # 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. 4 | # 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 5 | 6 | # PoSH Server Logging Module 7 | # Fields: date time s-sitename s-computername s-ip cs-method cs-uri-stem s-port c-ip cs-version cs(User-Agent) cs(Cookie) cs(Referer) cs-host sc-status 8 | $LogDate = Get-Date -format yyyy-MM-dd 9 | $LogTime = Get-Date -format HH:mm:ss 10 | $LogSiteName = $Hostname 11 | if ($LogSiteName -eq "+") { $LogSiteName = "localhost" } 12 | $LogComputerName = Get-Content env:computername 13 | $LogServerIP = $Request.LocalEndPoint.Address 14 | $LogMethod = $Request.HttpMethod 15 | $LogUrlStem = $Request.RawUrl 16 | $LogServerPort = $Request.LocalEndPoint.Port 17 | $LogClientIP = $Request.RemoteEndPoint.Address 18 | $LogClientVersion = $Request.ProtocolVersion 19 | if (!$LogClientVersion) { $LogClientVersion = "-" } else { $LogClientVersion = "HTTP/" + $LogClientVersion } 20 | $LogClientAgent = [string]$Request.UserAgent 21 | if (!$LogClientAgent) { $LogClientAgent = "-" } else { $LogClientAgent = $LogClientAgent.Replace(" ","+") } 22 | $LogClientCookie = [string]$Response.Cookies.Value 23 | if (!$LogClientCookie) { $LogClientCookie = "-" } else { $LogClientCookie = $LogClientCookie.Replace(" ","+") } 24 | $LogClientReferrer = [string]$Request.UrlReferrer 25 | if (!$LogClientReferrer) { $LogClientReferrer = "-" } else { $LogClientReferrer = $LogClientReferrer.Replace(" ","+") } 26 | $LogHostInfo = [string]$LogServerIP + ":" + [string]$LogServerPort 27 | 28 | # Log Output 29 | $LogOutput = "$LogDate $LogTime $LogSiteName $LogComputerName $LogServerIP $LogMethod $LogUrlStem $LogServerPort $LogClientIP $LogClientVersion $LogClientAgent $LogClientCookie $LogClientReferrer $LogHostInfo $LogResponseStatus" 30 | 31 | # Logging to Log File 32 | if ($LogSchedule -eq "Hourly") 33 | { 34 | $LogNameFormat = Get-Date -format yyMMddHH 35 | $LogFileName = "u_ex" + $LogNameFormat + ".log" 36 | $LogFilePath = $LogDirectory + "\" + $LogFileName 37 | } 38 | else 39 | { 40 | $LogNameFormat = Get-Date -format yyMMdd 41 | $LogFileName = "u_ex" + $LogNameFormat + ".log" 42 | $LogFilePath = $LogDirectory + "\" + $LogFileName 43 | } 44 | 45 | if ($LastCheckDate -ne $LogNameFormat) 46 | { 47 | if (![System.IO.File]::Exists($LogFilePath)) 48 | { 49 | $LogHeader = "#Fields: date time s-sitename s-computername s-ip cs-method cs-uri-stem s-port c-ip cs-version cs(User-Agent) cs(Cookie) cs(Referer) cs-host sc-status" 50 | Add-Content -Path $LogFilePath -Value $LogHeader -EA SilentlyContinue 51 | } 52 | 53 | # Set Last Check Date 54 | $LastCheckDate = $LogNameFormat 55 | } 56 | 57 | try 58 | { 59 | Add-Content -Path $LogFilePath -Value $LogOutput -EA SilentlyContinue 60 | } 61 | catch 62 | { 63 | Add-Content -Value $_ -Path "$LogDirectory\debug.txt" 64 | } -------------------------------------------------------------------------------- /modules/PoSHServer/modules/notfound.ps1: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2014 Yusuf Ozturk 2 | # 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. 3 | # 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. 4 | # 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 5 | 6 | # PoSH Server 404 Module 7 | if ($Hostname -eq "+") { $HeaderName = "localhost" } else { $HeaderName = $Hostnames[0] } 8 | @" 9 | 10 | 11 | 12 | PoSH Server - 404.0 - Not Found 13 | 56 | 57 | 58 | 59 | 60 |

PoSH Server Microsoft-HTTPAPI/2.0

61 |
62 |
63 |
Error Summary 64 |

HTTP Error 404.0 - Not Found

65 |

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

66 |
67 |
68 |
69 |
Most likely causes: 70 |
  • The directory or file specified does not exist on the Web server.
  • The URL contains a typographical error.
  • A custom filter or module, such as URLScan, restricts access to the file.
71 |
72 |
73 |
74 |
Things you can try: 75 |
  • Create the content on the Web server.
  • Review the browser URL.
  • Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click here.
76 |
77 |
78 | 79 | 80 |
81 |
Links and More Information 82 | This error means that the file or directory does not exist on the server. Create the file or directory and try the request again. 83 |

View more information »

84 | 85 |
86 |
87 |
88 | 89 | 90 | "@ -------------------------------------------------------------------------------- /modules/PoSHServer/modules/phpcgierror.ps1: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2014 Yusuf Ozturk 2 | # 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. 3 | # 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. 4 | # 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 5 | 6 | # PoSH Server 404 Module 7 | if ($HostName -eq "+") { $HeaderName = "localhost" } else { $HeaderName = $HostNames[0] } 8 | @" 9 | 10 | 11 | 12 | PoSH Server - 404.3 - Not found 13 | 56 | 57 | 58 | 59 | 60 |

PoSH Server Microsoft-HTTPAPI/2.0

61 |
62 |
63 |
Error Summary 64 |

HTTP Error 404.3 - Not Found

65 |

The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

66 |
67 |
68 |
69 |
Most likely causes: 70 |
  • •It is possible that a handler mapping is missing. By default, the static file handler processes all content.
  • •The feature you are trying to use may not be installed.
  • •The appropriate MIME map is not enabled for the Web site or application.
  • •If PHP is not installed.
71 |
72 |
73 |
74 |
Things you can try: 75 |
  • Ensure that the expected handler for the current page is mapped.
  • Make sure you provided correct php-cgi.exe path in config file.
76 |
77 |
78 | 79 | 80 |
81 |
Links and More Information 82 | This error occurs when the file extension of the requested URL is for a MIME type that is not configured on the server. You can add a MIME type for the file extension for files that are not dynamic scripting pages, database, or configuration files. Process those file types using a handler. You should not allows direct downloads of dynamic scripting pages, database or configuration files. 83 |

View more information »

84 | 85 |
86 |
87 |
88 | 89 | 90 | "@ -------------------------------------------------------------------------------- /modules/PoSHServer/modules/phpencoding.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/modules/PoSHServer/modules/phpencoding.ps1 -------------------------------------------------------------------------------- /modules/PoSHServer/modules/phpsecurityerror.ps1: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2014 Yusuf Ozturk 2 | # 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. 3 | # 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. 4 | # 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 5 | 6 | # PoSH Server 500 Module 7 | if ($HostName -eq "+") { $HeaderName = "localhost" } else { $HeaderName = $HostNames[0] } 8 | @" 9 | 10 | 11 | 12 | PoSH Server - 500 - Internal Server Error 13 | 56 | 57 | 58 | 59 | 60 |

PoSH Server Microsoft-HTTPAPI/2.0

61 |
62 |
63 |
Error Summary 64 |

HTTP Error 500 - Internal Server Error

65 |

The page you are requesting cannot be served because of the security restriction.

66 |
67 |
68 |
69 |
Most likely causes: 70 |
  • You are trying to execute PHP files in C:\Windows. By default, PHP has no read access into Windows directory.
  • The feature you are trying to use may not be installed.
  • The appropriate MIME map is not enabled for the Web site or application.
  • If PHP is not installed.
71 |
72 |
73 |
74 |
Things you can try: 75 |
  • Ensure that the expected handler for the current page is mapped.
  • Make sure you provided correct php-cgi.exe path in config file.
76 |
77 |
78 | 79 | 80 |
81 |
Links and More Information 82 | This error occurs when the file extension of the requested URL is for a MIME type that is not configured on the server. You can add a MIME type for the file extension for files that are not dynamic scripting pages, database, or configuration files. Process those file types using a handler. You should not allows direct downloads of dynamic scripting pages, database or configuration files. 83 |

View more information »

84 | 85 |
86 |
87 |
88 | 89 | 90 | "@ -------------------------------------------------------------------------------- /packages/PoSHServer-Standalone.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/packages/PoSHServer-Standalone.exe -------------------------------------------------------------------------------- /webroot/http/css/960.css: -------------------------------------------------------------------------------- 1 | .container_12,.container_16{margin-left:auto;margin-right:auto;width:960px;}.grid_1,.grid_2,.grid_3,.grid_4,.grid_5,.grid_6,.grid_7,.grid_8,.grid_9,.grid_10,.grid_11,.grid_12,.grid_13,.grid_14,.grid_15,.grid_16{display:inline;float:left;margin-left:10px;margin-right:10px}.container_12 .grid_3,.container_16 .grid_4{width:220px}.container_12 .grid_6,.container_16 .grid_8{width:460px}.container_12 .grid_9,.container_16 .grid_12{width:700px}.container_12 .grid_12,.container_16 .grid_16{width:940px;}.alpha{margin-left:0}.omega{margin-right:0}.container_12 .grid_1{width:60px}.container_12 .grid_2{width:140px}.container_12 .grid_4{width:300px}.container_12 .grid_5{width:380px}.container_12 .grid_7{width:540px}.container_12 .grid_8{width:620px}.container_12 .grid_10{width:780px}.container_12 .grid_11{width:860px}.container_16 .grid_1{width:40px}.container_16 .grid_2{width:100px}.container_16 .grid_3{width:160px}.container_16 .grid_5{width:280px}.container_16 .grid_6{width:340px}.container_16 .grid_7{width:400px}.container_16 .grid_9{width:520px}.container_16 .grid_10{width:580px}.container_16 .grid_11{width:640px}.container_16 .grid_13{width:760px}.container_16 .grid_14{width:820px}.container_16 .grid_15{width:880px}.container_12 .prefix_3,.container_16 .prefix_4{padding-left:240px}.container_12 .prefix_6,.container_16 .prefix_8{padding-left:480px}.container_12 .prefix_9,.container_16 .prefix_12{padding-left:720px}.container_12 .prefix_1{padding-left:80px}.container_12 .prefix_2{padding-left:160px}.container_12 .prefix_4{padding-left:320px}.container_12 .prefix_5{padding-left:400px}.container_12 .prefix_7{padding-left:560px}.container_12 .prefix_8{padding-left:640px}.container_12 .prefix_10{padding-left:800px}.container_12 .prefix_11{padding-left:880px}.container_16 .prefix_1{padding-left:60px}.container_16 .prefix_2{padding-left:120px}.container_16 .prefix_3{padding-left:180px}.container_16 .prefix_5{padding-left:300px}.container_16 .prefix_6{padding-left:360px}.container_16 .prefix_7{padding-left:420px}.container_16 .prefix_9{padding-left:540px}.container_16 .prefix_10{padding-left:600px}.container_16 .prefix_11{padding-left:660px}.container_16 .prefix_13{padding-left:780px}.container_16 .prefix_14{padding-left:840px}.container_16 .prefix_15{padding-left:900px}.container_12 .suffix_3,.container_16 .suffix_4{padding-right:240px}.container_12 .suffix_6,.container_16 .suffix_8{padding-right:480px}.container_12 .suffix_9,.container_16 .suffix_12{padding-right:720px}.container_12 .suffix_1{padding-right:80px}.container_12 .suffix_2{padding-right:160px}.container_12 .suffix_4{padding-right:320px}.container_12 .suffix_5{padding-right:400px}.container_12 .suffix_7{padding-right:560px}.container_12 .suffix_8{padding-right:640px}.container_12 .suffix_10{padding-right:800px}.container_12 .suffix_11{padding-right:880px}.container_16 .suffix_1{padding-right:60px}.container_16 .suffix_2{padding-right:120px}.container_16 .suffix_3{padding-right:180px}.container_16 .suffix_5{padding-right:300px}.container_16 .suffix_6{padding-right:360px}.container_16 .suffix_7{padding-right:420px}.container_16 .suffix_9{padding-right:540px}.container_16 .suffix_10{padding-right:600px}.container_16 .suffix_11{padding-right:660px}.container_16 .suffix_13{padding-right:780px}.container_16 .suffix_14{padding-right:840px}.container_16 .suffix_15{padding-right:900px}.clear{clear:both;display:block;overflow:hidden;visibility:hidden;width:0;height:0}.clearfix:after{clear:both;content:' ';display:block;font-size:0;line-height:0;visibility:hidden;width:0;height:0}.clearfix{display:inline-block}* html .clearfix{height:1%}.clearfix{display:block} -------------------------------------------------------------------------------- /webroot/http/css/ie.css: -------------------------------------------------------------------------------- 1 | /* ----------------------------------------------------------------------- 2 | 3 | 4 | Blueprint CSS Framework 0.7.1 5 | http://blueprintcss.googlecode.com 6 | 7 | * Copyright (c) 2007-2008. See LICENSE for more info. 8 | * See README for instructions on how to use Blueprint. 9 | * For credits and origins, see AUTHORS. 10 | * This is a compressed file. See the sources in the 'src' directory. 11 | 12 | ----------------------------------------------------------------------- */ 13 | 14 | /* ie.css */ 15 | /*body {text-align:center;}*/ 16 | .container {text-align:left;} 17 | * html .column {overflow-x:hidden;} 18 | * html legend {margin:-18px -8px 16px 0;padding:0;} 19 | ol {margin-left:2em;} 20 | sup {vertical-align:text-top;} 21 | sub {vertical-align:text-bottom;} 22 | html>body p code {*white-space:normal;} 23 | hr {margin:-8px auto 11px;} 24 | .clearfix, .container {display:inline-block;} 25 | * html .clearfix, * html .container {height:1%;} -------------------------------------------------------------------------------- /webroot/http/css/ie6.css: -------------------------------------------------------------------------------- 1 | .fixed-column { 2 | position:absolute; /* position fixed for IE6 */ 3 | /*Expression*/ 4 | top:expression(55+((e=document.documentElement.scrollTop)?e:document.body.scrollTop)+'px'); 5 | left:expression(55+((e=document.documentElement.scrollLeft)?e:document.body.scrollLeft)+'px');width:220px;height:720px; 6 | } 7 | .top-bg {width:100%;height:110px;background:url('../images/top-bg.png') top center;z-index:99;position:absolute; 8 | top:expression(0+((e=document.documentElement.scrollTop)?e:document.body.scrollTop)+'px'); 9 | left:expression(0+((e=document.documentElement.scrollLeft)?e:document.body.scrollLeft)+'px');} 10 | 11 | .home h1 {line-height:70px;} 12 | ul#nav {font-family:dustismo,"century gothic";} 13 | .bottom-bg {background:none;} 14 | .download {width:215px;height:206px;position:absolute;top:0px;left:0px;z-index:110;} 15 | -------------------------------------------------------------------------------- /webroot/http/css/print.css: -------------------------------------------------------------------------------- 1 | /* ----------------------------------------------------------------------- 2 | 3 | 4 | Blueprint CSS Framework 0.7.1 5 | http://blueprintcss.googlecode.com 6 | 7 | * Copyright (c) 2007-2008. See LICENSE for more info. 8 | * See README for instructions on how to use Blueprint. 9 | * For credits and origins, see AUTHORS. 10 | * This is a compressed file. See the sources in the 'src' directory. 11 | 12 | ----------------------------------------------------------------------- */ 13 | 14 | /* print.css */ 15 | body {line-height:1.5;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;color:#000;background:none;font-size:10pt;} 16 | .container {background:none;} 17 | hr {background:#ccc;color:#ccc;width:100%;height:2px;margin:2em 0;padding:0;border:none;} 18 | hr.space {background:#fff;color:#fff;} 19 | h1, h2, h3, h4, h5, h6 {font-family:"Helvetica Neue", Arial, "Lucida Grande", sans-serif;} 20 | code {font:.9em "Courier New", Monaco, Courier, monospace;} 21 | img {float:left;margin:1.5em 1.5em 1.5em 0;} 22 | a img {border:none;} 23 | p img.top {margin-top:0;} 24 | blockquote {margin:1.5em;padding:1em;font-style:italic;font-size:.9em;} 25 | .small {font-size:.9em;} 26 | .large {font-size:1.1em;} 27 | .quiet {color:#999;} 28 | .hide {display:none;} 29 | a:link, a:visited {background:transparent;font-weight:700;text-decoration:underline;} 30 | a:link:after, a:visited:after {content:" (" attr(href) ") ";font-size:90%;} -------------------------------------------------------------------------------- /webroot/http/css/screen.css: -------------------------------------------------------------------------------- 1 | /* ----------------------------------------------------------------------- 2 | Template Name: Your Inspiration Folio (free version) 3 | Template URI: http://www.yourinspirationweb.com/en/free-website-template-present-your-portfolio-online-in-a-single-webpage/ 4 | Version: 1.0 5 | Author: Your Inspiraton Web 6 | Author URI: http://www.yourinspirationweb.com/ 7 | Description: 8 | Based on Blueprint CSS Framework 0.7.1 9 | ----------------------------------------------------------------------- */ 10 | 11 | /*********************************************************************** 12 | ******************* reset.css ****************************************** 13 | ************************************************************************/ 14 | 15 | html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;} 16 | body { line-height:1.5; } 17 | table { border-collapse:separate; border-spacing:0; } 18 | caption, th, td { text-align:left; font-weight:normal; } 19 | table, td, th { vertical-align: middle; } 20 | blockquote:before, blockquote:after, q:before, q:after { content:""; } 21 | blockquote, q { quotes:"" ""; } 22 | a img { border:none; } 23 | .clearer { height: 0px; overflow: hidden; margin: 0px; clear: both; } 24 | 25 | /*********************************************************************** 26 | ******************* typography ***************************************** 27 | ************************************************************************/ 28 | 29 | /* Titoli */ 30 | h1, h2, h3, h4, h5, h6 { font-weight: bold; color:#111;} 31 | h1 { font-size:120%; line-height:1; margin-bottom:0.5em; } 32 | h2 { font-size:105%; margin-bottom:0.75em; } 33 | h3 { font-size:100%; line-height:1; margin-bottom:1em; } 34 | h4 { font-size:1.2em; line-height:1.25; margin-bottom:1.25em; } 35 | h5 { font-size:1em; margin-bottom:1.5em; } 36 | h6 { font-size:1em; } 37 | h1 img, h2 img, h3 img, h4 img, h5 img, h6 img { margin:0;} 38 | 39 | /* Paragrafi */ 40 | p { padding: 4px 0 4px 0; line-height: 20px; } 41 | p img.left { float:left;margin:1.5em 1.5em 1.5em 0;padding:0;} 42 | p img.right {float:right;margin:1.5em 0 1.5em 1.5em;} 43 | 44 | /* Link */ 45 | a { color:#009; text-decoration:none;} 46 | a:link, a:visited { color: #009; text-decoration: none; } 47 | a:active, a:hover { color: #621303; text-decoration: underline } 48 | 49 | 50 | /* Formattazione */ 51 | blockquote {margin:1.5em;color:#666;font-style:italic;} 52 | strong { font-weight:bold; } 53 | em, dfn { font-style:italic; } 54 | dfn { font-weight:bold; } 55 | sup, sub { line-height:0; } 56 | abbr, acronym { border-bottom:1px dotted #666; } 57 | address {margin:1.5em 0 0.5em 0;text-align:right;font-style:italic;} 58 | del { color:#666;} 59 | pre { margin:1.5em 0; white-space:pre;} 60 | pre, code, tt { font:1em 'andale mono', 'lucida console', monospace; line-height:1.5; } 61 | caption {background:#eee;} 62 | .small { font-size:.9em; margin-bottom:1.875em; line-height:1.875em;} 63 | .large { font-size:1.2em; line-height:2.5em; margin-bottom:1.25em;} 64 | .hide { display:none; } 65 | .quiet { color:#666; } 66 | .loud { color:#000; } 67 | .highlight { background:#ff0;} 68 | .added { background:#060; color:#fff; } 69 | .removed { background:#900; color:#fff; } 70 | .first { margin-left:0; padding-left:0; } 71 | .last { margin-right:0; padding-right:0; } 72 | .top { margin-top:0; padding-top:0; } 73 | .bottom { margin-bottom:0; padding-bottom:0; } 74 | .center { text-align: center; } 75 | 76 | /*liste e tabelle*/ 77 | li { margin: 0 0 0 25px; line-height: 22px; } 78 | ul, ol {margin:0 1.5em 1.5em 1.5em; } 79 | ul { list-style-type: disc; } 80 | ol { list-style-type:decimal; } 81 | dl { margin:0 0 1.5em 0; } 82 | dl dt { font-weight:bold; } 83 | dd { margin-left:1.5em; } 84 | table { margin-bottom:1.4em; width:100%; } 85 | th { font-weight: bold; background:#C3D9FF; } 86 | th, td { padding: 4px 10px 4px 5px; } 87 | tr.even td {background:#E5ECF9;} 88 | tfoot {font-style:italic;} 89 | 90 | /* forms.css */ 91 | label {vertical-align:middle;font-weight:bold;float:left;width:120px;display:block;clear:left;margin:0;text-align:left;font-size:1em;line-height:1.25;} 92 | fieldset {padding:1.4em 0 0 0;margin:0;} 93 | legend {font-weight:bold;font-size:1.2em;} 94 | input.text, input.title, select,textarea, textarea.text {margin:0.5em 0;color:#5c5c5c;border:none;background-color:#d2d0d1;font-weight:bold;font-style:italic;font-family:"georgia","Helvetica Neue",Arial,Helvetica,sans-serif;} 95 | input.text:focus,input.title:focus,select:focus,.errorForm:focus,textarea:focus {background-color:#dedddd;} 96 | input.text, input.title, input.errorForm, textarea.errorForm {width:270px;padding:10px 0 10px 50px;font-size:1.0em;} 97 | input.title {font-size:1.5em;} 98 | textarea {width:270px;height:120px;padding:10px 0 10px 50px;font-size:1.0em;} 99 | .buttonContactForm {width:80px;font-size:1.0em;margin:2em 0;color:#fbfaf5;background-color:#a6a18b;padding:10px;font-size:1.1em;border:none;} 100 | input.errorForm, textarea.errorForm {background:#fddada;margin:0.5em 0;color:#5c5c5c;font-family:"georgia";font-weight:bold;font-style:italic;border:none;} 101 | .buttonForm {padding:0;margin:0;} 102 | .button {width:120px;font-weight:bold;font-size:0.95em;margin:0.5em 0 0.5em 100px;color:#5c5c5c;background-color:#d2d0d1;padding:10px;border:none;font-family:"georgia";} 103 | 104 | .download {width:215px;height:206px;position:fixed;top:0px;left:0px;z-index:110;} 105 | /******************************************************************************* 106 | ************************* web site **************************************** 107 | *******************************************************************************/ 108 | body {font-size:70%;color:#222;background:#eaeaea url('../images/bg/sfere.jpg') no-repeat top center fixed;font-family: verdana,Arial,sans-serif;} 109 | .top-bg {width:100%;height:110px;position:fixed;background:url('../images/bg/top-bg.png') top center;top:0px;left:0px;z-index:1;} 110 | .bottom-bg {width:100%;height:67px;position:fixed;background:url('../images/bg/bottom.png') bottom center;bottom:0px;left:0px;z-index:1;} 111 | .fixed-column {position:fixed;width:220px;height:720px!important;z-index:100;text-align:center;} 112 | img.logo {padding:10px 0 0 0;} 113 | 114 | .right-column {float:right!important;} 115 | 116 | /************************************************* 117 | /*navigation*/ 118 | /*************************************************/ 119 | ul#nav {list-style-type:none;margin:10px 0;padding:0;text-align:center;} 120 | ul#nav li {font-size:300%;line-height:30px;padding:7px 0;margin:0;} 121 | ul#nav li a:link,ul#nav li a:visited {color:#878484;text-decoration:none;} 122 | ul#nav li a:hover,ul#nav li a:active {color:#a61607;text-decoration:none;} 123 | 124 | /************************************************* 125 | /*start home*/ 126 | /*************************************************/ 127 | .home {margin:108px 0 0 0;background:#eaeaea;width:660px!important;border-top:20px solid #fefcfc;border-left:20px solid #fefcfc;border-right:20px solid #fefcfc;height:auto!important;height:310px;min-height:310px;} 128 | .home-bottom-bg {background:#eaeaea url('../images/bg/arrow1.png') top center no-repeat;width:700px;height:170px;padding:0 0 150px 0;} 129 | /*end home*/ 130 | 131 | /************************************************* 132 | /*about*/ 133 | /*************************************************/ 134 | .about {margin:108px 0 0 0;background:#eaeaea;width:660px!important;border-top:20px solid #d2d1d1;border-left:20px solid #d2d1d1;border-right:20px solid #d2d1d1;height:auto!important;height:310px;min-height:310px;} 135 | .about-bottom-bg {background:#eaeaea url('../images/bg/arrow2.png') top center no-repeat;width:700px;height:170px;padding:0 0 150px 0;} 136 | .container-about {padding:15px 0 30px 30px;} 137 | .container-about p span {color:#901003;} 138 | .avatar-image,.contact-info {width:180px!important;} 139 | img.avatar {margin:84px 0 0 30px;} 140 | /*end about*/ 141 | 142 | /************************************************* 143 | /*portfolio page*/ 144 | /*************************************************/ 145 | .portfolio {margin:108px 0 0 0;background:#eaeaea;width:660px!important;border-top:20px solid #fefcfc;border-left:20px solid #fefcfc;border-right:20px solid #fefcfc;height:auto!important;height:310px;min-height:310px;} 146 | .portfolio-bottom-bg {background:#eaeaea url('../images/bg/arrow1.png') top center no-repeat;width:700px;height:170px;padding:0 0 150px 0;} 147 | .container-portfolio {padding:15px 0 30px 30px;} 148 | .portfolio-quote {background:#eaeaea url('../images/bg/quote.jpg') 0px 30px no-repeat;padding:45px 0 30px 50px;} 149 | .photo a:link img,.photo a:visited img {margin:1em 0.5em;background:#fff;padding:0.5em;border:1px solid #eaeaea;float:left;} 150 | .photo a:hover img,.photo a:active img {border:1px solid #999;background:#fff;} 151 | /*end portfolio*/ 152 | 153 | /************************************************* 154 | /*contact page*/ 155 | /*************************************************/ 156 | .contact {margin:108px 0 0 0;background:#eaeaea;width:660px!important;border-top:20px solid #d2d1d1;border-left:20px solid #d2d1d1;border-right:20px solid #d2d1d1;height:auto!important;height:310px;min-height:310px;} 157 | .contact-bottom-bg {background:#eaeaea url('../images/bg/arrow2.png') top center no-repeat;width:700px;height:170px;padding:0 0 150px 0;} 158 | .container-contact {padding:15px 0 30px 30px;} 159 | .name {background:url('../images/bg/name.png') no-repeat 10px 0px;} 160 | .mail {background:url('../images/bg/email.png') no-repeat 10px 0px;} 161 | .message {background:url('../images/bg/message.png') no-repeat 10px 0px;} 162 | .contact-info {width:230px!important;} 163 | p.title {margin:40px 0 0 0;font-size:120%;color:#a61607;font-weight:bold;} 164 | img.contact-logo {margin:30px 0 10px 105px;} 165 | .contact-info p span {color:#901003;} 166 | #log_res {height:auto;margin:0;} 167 | #log_wait.ajax-loading {background: url('../images/bg/spinner.gif') no-repeat center;height:16px;margin:0 25px 0 0;} 168 | .error {background:url('../images/bg/error.gif') no-repeat top center;padding:22px 0 0 80px;width:240px;height:43px;color:#a61607;font-weight:bold;} 169 | .success {background:url('../images/bg/success.gif') no-repeat top center;padding:22px 0 0 80px;width:240px;height:43px;color:green;font-weight:bold;} 170 | /*end contact page*/ 171 | 172 | /************************************************* 173 | /*credits*/ 174 | /*************************************************/ 175 | .credits {text-align:right;padding:10px 10px 0 0;} 176 | .credits a:link,.credits a:visited {color:#901003;text-decoration:none;} 177 | .credits a:hover, credits a:active {color:#ea5707;text-decoration:none;} 178 | 179 | /************************************************* 180 | /*heading*/ 181 | /*************************************************/ 182 | .home h1, h2, h3, h4 {font-size:450%;font-family:dustismo,"century gothic";font-weight:normal;text-align:center;padding:0.5em;margin:0;word-spacing:-5px;letter-spacing:-3px;color:#878484;} 183 | .home h1 span {color:#a61607;} 184 | h2 {text-align:left;font-size:450%;padding:0;color:#a61607;} 185 | h3 {text-align:right;font-size:250%;padding:0;color:#a61607;} 186 | h4 {text-align:left;font-size:185%;padding:0;word-spacing:0px;letter-spacing:-1px;line-height:1;} 187 | 188 | .right {text-align:right;} 189 | 190 | /*fancyzoom*/ 191 | img.loading {width:42px!important;height:42px!important;} 192 | p.foto_caption {margin:1em 1em 1em 0;font-size:120%;} -------------------------------------------------------------------------------- /webroot/http/example1.ps1: -------------------------------------------------------------------------------- 1 | # In this example, you see how to use Powershell commands 2 | # $(PSCommand) should work with html codes 3 | @" 4 | $(Write-Host Hello World!) 5 | 6 | 7 | 8 | Sample Web Site Template - PoSH Server 9 | 10 | 11 | 13 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 |
 
68 | 69 | 70 | 71 |
 
72 | 73 | 74 | 75 |
76 | 77 | 78 |
79 | 80 |
81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | send mail 106 | 107 | 108 | 109 | 110 | 111 | add skype 112 | 113 | 114 | 115 | 116 |
117 | powered by 118 | 119 | YIW 120 | 121 |
122 | 123 | 124 |
125 | 126 |
127 | 128 | 129 |
130 | 131 | 132 |
133 | 134 |

135 | Welcome to PoSH Server! You can use Powershell commands with html codes. Let's get date: $(Get-Date) 136 |

137 | 138 |
139 |
140 | 141 | 142 | 143 | 144 | 145 |
146 | 147 |
148 | 149 |
150 |

About

151 | 152 |

153 | In the About page you can insert some information on yourself: title of study, 154 | eventual training courses attended, certificates, diplomas. 155 |

156 | 157 |

158 | Or you can describe your dreams, your work experiences... in a few words everything 159 | that can represent you on the web in a decisive and original way. 160 |

161 | 162 |

163 | Insert a small picture or even a cartoon just like the one I have inserted: nowdays illustrations are the trend! 164 |

165 |
166 |
167 | 168 | 169 |
170 | avatar 171 |
172 | 173 | 174 |
175 |
176 |
177 | 178 | 179 | 180 | 181 | 182 |
183 |
184 |
185 |

Portfolio

186 |
187 |
188 | 189 | 190 |
191 |
192 |

I hope you like my work and my work speaks for me.

193 |
194 |
195 | 196 | 197 |
198 | 199 |
200 | 201 | 202 |
203 | 204 | WordPress Theme 205 | 206 |
207 | 208 |
209 | 210 | Asilo nido 211 | 212 |
213 | 214 |
215 | 216 | One Page Folio 217 | 218 |
219 | 220 |
221 | 222 | Eclectic: Premium WordPress Theme 223 | 224 |
225 | 226 |
227 | 228 | Gold: Premium WordPress Theme 229 | 230 |
231 | 232 |
233 | 234 | 235 | 236 |
237 | 238 |
239 | 240 | 241 | 242 |
243 | 244 |
245 | 246 | 247 | 248 |
249 | 250 |
251 | 252 | 253 | 254 |
255 | 256 |
257 | 258 | Asilo nido 259 | 260 |
261 | 262 |
263 | 264 | 265 |
266 |
267 |
268 | 269 | 270 | 271 | 272 | 273 |
274 | 275 |
276 | 277 |
278 |

Contact

279 | 280 |
281 | 282 |
283 |
284 | 285 |
286 | 287 | 288 |
289 | 290 | 291 |
292 | 293 | 294 | 295 |
296 |
297 |
298 |
299 | 300 |
301 |

Estimates, questions, information?

302 | 303 |

304 | Not hesitate to contact me.
305 | Send the form or contact me on skype. 306 |

307 | 308 | 309 | 310 |

YourInspirationFolio

311 | 312 |
Arlington Road, 988
313 | 314 |

315 | Tel. 074 5678 678
316 | Fax. 074 5678 678 317 |

318 |
319 | 320 |
321 |
322 | 323 |
324 | 325 | 326 |
327 | 328 |
329 |
330 | 331 | 334 | 335 | 336 | "@ -------------------------------------------------------------------------------- /webroot/http/example2.ps1: -------------------------------------------------------------------------------- 1 | # Also you can put your commands before @""@ 2 | $(Write-Host Hello World Example2!) 3 | @" 4 | 5 | 6 | 7 | Sample Web Site Template - PoSH Server 8 | 9 | 10 | 12 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 |
 
67 | 68 | 69 | 70 |
 
71 | 72 | 73 | 74 |
75 | 76 | 77 |
78 | 79 |
80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | send mail 105 | 106 | 107 | 108 | 109 | 110 | add skype 111 | 112 | 113 | 114 | 115 |
116 | powered by 117 | 118 | YIW 119 | 120 |
121 | 122 | 123 |
124 | 125 |
126 | 127 | 128 |
129 | 130 | 131 |
132 | 133 |

134 | Welcome to PoSH Server! You can use Powershell commands with html codes. Let's get date: $(Get-Date) 135 |

136 | 137 |
138 |
139 | 140 | 141 | 142 | 143 | 144 |
145 | 146 |
147 | 148 |
149 |

About

150 | 151 |

152 | In the About page you can insert some information on yourself: title of study, 153 | eventual training courses attended, certificates, diplomas. 154 |

155 | 156 |

157 | Or you can describe your dreams, your work experiences... in a few words everything 158 | that can represent you on the web in a decisive and original way. 159 |

160 | 161 |

162 | Insert a small picture or even a cartoon just like the one I have inserted: nowdays illustrations are the trend! 163 |

164 |
165 |
166 | 167 | 168 |
169 | avatar 170 |
171 | 172 | 173 |
174 |
175 |
176 | 177 | 178 | 179 | 180 | 181 |
182 |
183 |
184 |

Portfolio

185 |
186 |
187 | 188 | 189 |
190 |
191 |

I hope you like my work and my work speaks for me.

192 |
193 |
194 | 195 | 196 |
197 | 198 |
199 | 200 | 201 |
202 | 203 | WordPress Theme 204 | 205 |
206 | 207 |
208 | 209 | Asilo nido 210 | 211 |
212 | 213 |
214 | 215 | One Page Folio 216 | 217 |
218 | 219 |
220 | 221 | Eclectic: Premium WordPress Theme 222 | 223 |
224 | 225 |
226 | 227 | Gold: Premium WordPress Theme 228 | 229 |
230 | 231 |
232 | 233 | 234 | 235 |
236 | 237 |
238 | 239 | 240 | 241 |
242 | 243 |
244 | 245 | 246 | 247 |
248 | 249 |
250 | 251 | 252 | 253 |
254 | 255 |
256 | 257 | Asilo nido 258 | 259 |
260 | 261 |
262 | 263 | 264 |
265 |
266 |
267 | 268 | 269 | 270 | 271 | 272 |
273 | 274 |
275 | 276 |
277 |

Contact

278 | 279 |
280 | 281 |
282 |
283 | 284 |
285 | 286 | 287 |
288 | 289 | 290 |
291 | 292 | 293 | 294 |
295 |
296 |
297 |
298 | 299 |
300 |

Estimates, questions, information?

301 | 302 |

303 | Not hesitate to contact me.
304 | Send the form or contact me on skype. 305 |

306 | 307 | 308 | 309 |

YourInspirationFolio

310 | 311 |
Arlington Road, 988
312 | 313 |

314 | Tel. 074 5678 678
315 | Fax. 074 5678 678 316 |

317 |
318 | 319 |
320 |
321 | 322 |
323 | 324 | 325 |
326 | 327 |
328 |
329 | 330 | 333 | 334 | 335 | "@ -------------------------------------------------------------------------------- /webroot/http/example3.ps1: -------------------------------------------------------------------------------- 1 | # You can use ps1 files as templates 2 | # Let's import one of them 3 | @" 4 | $(Write-Host Hello World Example3!) 5 | $(. $HomeDirectory\index.ps1) 6 | "@ -------------------------------------------------------------------------------- /webroot/http/example4.ps1: -------------------------------------------------------------------------------- 1 | # You can also use html files as templates 2 | # Let's import one of them 3 | # But we only get content of html files, you can't execute Powershell in them. 4 | @" 5 | $(Write-Host Hello World Example4!) 6 | $(Get-Content "$HomeDirectory\index.htm") 7 | "@ -------------------------------------------------------------------------------- /webroot/http/example5.ps1: -------------------------------------------------------------------------------- 1 | # You can post values to Powershell 2 | # Example: http://localhost:8080/example5.ps1?command=Date 3 | # But we only get content of html files, you can't execute Powershell in them. 4 | $cmd = $PoSHQuery.Command 5 | if ($cmd -eq "Date") 6 | { 7 | Write-Host (Get-Date) 8 | } 9 | @" 10 | $(Write-Host Hello World Example5!) 11 | 12 | 13 | 14 | Sample Web Site Template - PoSH Server 15 | 16 | 17 | 19 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 |
 
74 | 75 | 76 | 77 |
 
78 | 79 | 80 | 81 |
82 | 83 | 84 |
85 | 86 |
87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | send mail 112 | 113 | 114 | 115 | 116 | 117 | add skype 118 | 119 | 120 | 121 | 122 |
123 | powered by 124 | 125 | YIW 126 | 127 |
128 | 129 | 130 |
131 | 132 |
133 | 134 | 135 |
136 | 137 | 138 |
139 | 140 |

141 | Welcome to PoSH Server! You can use Powershell commands with html codes. Let's get date: $(Get-Date) 142 |

143 | 144 |
145 |
146 | 147 | 148 | 149 | 150 | 151 |
152 | 153 |
154 | 155 |
156 |

About

157 | 158 |

159 | In the About page you can insert some information on yourself: title of study, 160 | eventual training courses attended, certificates, diplomas. 161 |

162 | 163 |

164 | Or you can describe your dreams, your work experiences... in a few words everything 165 | that can represent you on the web in a decisive and original way. 166 |

167 | 168 |

169 | Insert a small picture or even a cartoon just like the one I have inserted: nowdays illustrations are the trend! 170 |

171 |
172 |
173 | 174 | 175 |
176 | avatar 177 |
178 | 179 | 180 |
181 |
182 |
183 | 184 | 185 | 186 | 187 | 188 |
189 |
190 |
191 |

Portfolio

192 |
193 |
194 | 195 | 196 |
197 |
198 |

I hope you like my work and my work speaks for me.

199 |
200 |
201 | 202 | 203 |
204 | 205 |
206 | 207 | 208 |
209 | 210 | WordPress Theme 211 | 212 |
213 | 214 |
215 | 216 | Asilo nido 217 | 218 |
219 | 220 |
221 | 222 | One Page Folio 223 | 224 |
225 | 226 |
227 | 228 | Eclectic: Premium WordPress Theme 229 | 230 |
231 | 232 |
233 | 234 | Gold: Premium WordPress Theme 235 | 236 |
237 | 238 |
239 | 240 | 241 | 242 |
243 | 244 |
245 | 246 | 247 | 248 |
249 | 250 |
251 | 252 | 253 | 254 |
255 | 256 |
257 | 258 | 259 | 260 |
261 | 262 |
263 | 264 | Asilo nido 265 | 266 |
267 | 268 |
269 | 270 | 271 |
272 |
273 |
274 | 275 | 276 | 277 | 278 | 279 |
280 | 281 |
282 | 283 |
284 |

Contact

285 | 286 |
287 | 288 |
289 |
290 | 291 |
292 | 293 | 294 |
295 | 296 | 297 |
298 | 299 | 300 | 301 |
302 |
303 |
304 |
305 | 306 |
307 |

Estimates, questions, information?

308 | 309 |

310 | Not hesitate to contact me.
311 | Send the form or contact me on skype. 312 |

313 | 314 | 315 | 316 |

YourInspirationFolio

317 | 318 |
Arlington Road, 988
319 | 320 |

321 | Tel. 074 5678 678
322 | Fax. 074 5678 678 323 |

324 |
325 | 326 |
327 |
328 | 329 |
330 | 331 | 332 |
333 | 334 |
335 |
336 | 337 | 340 | 341 | 342 | "@ -------------------------------------------------------------------------------- /webroot/http/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/favicon.ico -------------------------------------------------------------------------------- /webroot/http/images/add-on-skype.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/add-on-skype.png -------------------------------------------------------------------------------- /webroot/http/images/avatar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/avatar.jpg -------------------------------------------------------------------------------- /webroot/http/images/bg/arrow1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/bg/arrow1.png -------------------------------------------------------------------------------- /webroot/http/images/bg/arrow2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/bg/arrow2.png -------------------------------------------------------------------------------- /webroot/http/images/bg/bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/bg/bottom.png -------------------------------------------------------------------------------- /webroot/http/images/bg/bottom2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/bg/bottom2.png -------------------------------------------------------------------------------- /webroot/http/images/bg/download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/bg/download.png -------------------------------------------------------------------------------- /webroot/http/images/bg/email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/bg/email.png -------------------------------------------------------------------------------- /webroot/http/images/bg/error.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/bg/error.gif -------------------------------------------------------------------------------- /webroot/http/images/bg/message.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/bg/message.png -------------------------------------------------------------------------------- /webroot/http/images/bg/name.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/bg/name.png -------------------------------------------------------------------------------- /webroot/http/images/bg/quote.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/bg/quote.jpg -------------------------------------------------------------------------------- /webroot/http/images/bg/sfere.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/bg/sfere.jpg -------------------------------------------------------------------------------- /webroot/http/images/bg/spinner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/bg/spinner.gif -------------------------------------------------------------------------------- /webroot/http/images/bg/success.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/bg/success.gif -------------------------------------------------------------------------------- /webroot/http/images/bg/top-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/bg/top-bg.png -------------------------------------------------------------------------------- /webroot/http/images/clear.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/clear.gif -------------------------------------------------------------------------------- /webroot/http/images/fancyzoom/bl.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/fancyzoom/bl.gif -------------------------------------------------------------------------------- /webroot/http/images/fancyzoom/bl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/fancyzoom/bl.png -------------------------------------------------------------------------------- /webroot/http/images/fancyzoom/bm.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/fancyzoom/bm.gif -------------------------------------------------------------------------------- /webroot/http/images/fancyzoom/bm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/fancyzoom/bm.png -------------------------------------------------------------------------------- /webroot/http/images/fancyzoom/br.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/fancyzoom/br.gif -------------------------------------------------------------------------------- /webroot/http/images/fancyzoom/br.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/fancyzoom/br.png -------------------------------------------------------------------------------- /webroot/http/images/fancyzoom/closebox.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/fancyzoom/closebox.gif -------------------------------------------------------------------------------- /webroot/http/images/fancyzoom/closebox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/fancyzoom/closebox.png -------------------------------------------------------------------------------- /webroot/http/images/fancyzoom/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/fancyzoom/loading.gif -------------------------------------------------------------------------------- /webroot/http/images/fancyzoom/ml.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/fancyzoom/ml.gif -------------------------------------------------------------------------------- /webroot/http/images/fancyzoom/ml.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/fancyzoom/ml.png -------------------------------------------------------------------------------- /webroot/http/images/fancyzoom/mr.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/fancyzoom/mr.gif -------------------------------------------------------------------------------- /webroot/http/images/fancyzoom/mr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/fancyzoom/mr.png -------------------------------------------------------------------------------- /webroot/http/images/fancyzoom/tl.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/fancyzoom/tl.gif -------------------------------------------------------------------------------- /webroot/http/images/fancyzoom/tl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/fancyzoom/tl.png -------------------------------------------------------------------------------- /webroot/http/images/fancyzoom/tm.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/fancyzoom/tm.gif -------------------------------------------------------------------------------- /webroot/http/images/fancyzoom/tm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/fancyzoom/tm.png -------------------------------------------------------------------------------- /webroot/http/images/fancyzoom/tr.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/fancyzoom/tr.gif -------------------------------------------------------------------------------- /webroot/http/images/fancyzoom/tr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/fancyzoom/tr.png -------------------------------------------------------------------------------- /webroot/http/images/follow-me.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/follow-me.gif -------------------------------------------------------------------------------- /webroot/http/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/logo.png -------------------------------------------------------------------------------- /webroot/http/images/logo.small.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/logo.small.gif -------------------------------------------------------------------------------- /webroot/http/images/portfolio/001.big.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/portfolio/001.big.jpg -------------------------------------------------------------------------------- /webroot/http/images/portfolio/002.big.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/portfolio/002.big.jpg -------------------------------------------------------------------------------- /webroot/http/images/portfolio/003.big.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/portfolio/003.big.jpg -------------------------------------------------------------------------------- /webroot/http/images/portfolio/004.big.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/portfolio/004.big.jpg -------------------------------------------------------------------------------- /webroot/http/images/portfolio/005.big.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/portfolio/005.big.jpg -------------------------------------------------------------------------------- /webroot/http/images/portfolio/006.big.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/portfolio/006.big.jpg -------------------------------------------------------------------------------- /webroot/http/images/send-mail.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yusufozturk/PoSHServer/ad436d20c9b1240d476174da6fadbcaf12ab92da/webroot/http/images/send-mail.gif -------------------------------------------------------------------------------- /webroot/http/index.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Sample Web Site Template - PoSH Server 5 | 6 | 7 | 9 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 |
 
64 | 65 | 66 | 67 |
 
68 | 69 | 70 | 71 |
72 | 73 | 74 |
75 | 76 |
77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | send mail 102 | 103 | 104 | 105 | 106 | 107 | add skype 108 | 109 | 110 | 111 | 112 |
113 | powered by 114 | 115 | YIW 116 | 117 |
118 | 119 | 120 |
121 | 122 |
123 | 124 | 125 |
126 | 127 | 128 |
129 | 130 |

131 | Welcome to PoSH Server! You can use Powershell commands with html codes. Let's get date: $(Get-Date) 132 |

133 | 134 |
135 |
136 | 137 | 138 | 139 | 140 | 141 |
142 | 143 |
144 | 145 |
146 |

About

147 | 148 |

149 | In the About page you can insert some information on yourself: title of study, 150 | eventual training courses attended, certificates, diplomas. 151 |

152 | 153 |

154 | Or you can describe your dreams, your work experiences... in a few words everything 155 | that can represent you on the web in a decisive and original way. 156 |

157 | 158 |

159 | Insert a small picture or even a cartoon just like the one I have inserted: nowdays illustrations are the trend! 160 |

161 |
162 |
163 | 164 | 165 |
166 | avatar 167 |
168 | 169 | 170 |
171 |
172 |
173 | 174 | 175 | 176 | 177 | 178 |
179 |
180 |
181 |

Portfolio

182 |
183 |
184 | 185 | 186 |
187 |
188 |

I hope you like my work and my work speaks for me.

189 |
190 |
191 | 192 | 193 |
194 | 195 |
196 | 197 | 198 |
199 | 200 | WordPress Theme 201 | 202 |
203 | 204 |
205 | 206 | Asilo nido 207 | 208 |
209 | 210 |
211 | 212 | One Page Folio 213 | 214 |
215 | 216 |
217 | 218 | Eclectic: Premium WordPress Theme 219 | 220 |
221 | 222 |
223 | 224 | Gold: Premium WordPress Theme 225 | 226 |
227 | 228 |
229 | 230 | 231 | 232 |
233 | 234 |
235 | 236 | 237 | 238 |
239 | 240 |
241 | 242 | 243 | 244 |
245 | 246 |
247 | 248 | 249 | 250 |
251 | 252 |
253 | 254 | Asilo nido 255 | 256 |
257 | 258 |
259 | 260 | 261 |
262 |
263 |
264 | 265 | 266 | 267 | 268 | 269 |
270 | 271 |
272 | 273 |
274 |

Contact

275 | 276 |
277 | 278 |
279 |
280 | 281 |
282 | 283 | 284 |
285 | 286 | 287 |
288 | 289 | 290 | 291 |
292 |
293 |
294 |
295 | 296 |
297 |

Estimates, questions, information?

298 | 299 |

300 | Not hesitate to contact me.
301 | Send the form or contact me on skype. 302 |

303 | 304 | 305 | 306 |

YourInspirationFolio

307 | 308 |
Arlington Road, 988
309 | 310 |

311 | Tel. 074 5678 678
312 | Fax. 074 5678 678 313 |

314 |
315 | 316 |
317 |
318 | 319 |
320 | 321 | 322 |
323 | 324 |
325 |
326 | 327 | 330 | 331 | -------------------------------------------------------------------------------- /webroot/http/index.ps1: -------------------------------------------------------------------------------- 1 | @" 2 | 3 | 4 | 5 | Sample Web Site Template - PoSH Server 6 | 7 | 8 | 10 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 |
 
65 | 66 | 67 | 68 |
 
69 | 70 | 71 | 72 |
73 | 74 | 75 |
76 | 77 |
78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | send mail 103 | 104 | 105 | 106 | 107 | 108 | add skype 109 | 110 | 111 | 112 | 113 |
114 | powered by 115 | 116 | YIW 117 | 118 |
119 | 120 | 121 |
122 | 123 |
124 | 125 | 126 |
127 | 128 | 129 |
130 | 131 |

132 | Welcome to PoSH Server! You can use Powershell commands with html codes. Let's get date: $(Get-Date) 133 |

134 | 135 |
136 |
137 | 138 | 139 | 140 | 141 | 142 |
143 | 144 |
145 | 146 |
147 |

About

148 | 149 |

150 | In the About page you can insert some information on yourself: title of study, 151 | eventual training courses attended, certificates, diplomas. 152 |

153 | 154 |

155 | Or you can describe your dreams, your work experiences... in a few words everything 156 | that can represent you on the web in a decisive and original way. 157 |

158 | 159 |

160 | Insert a small picture or even a cartoon just like the one I have inserted: nowdays illustrations are the trend! 161 |

162 |
163 |
164 | 165 | 166 |
167 | avatar 168 |
169 | 170 | 171 |
172 |
173 |
174 | 175 | 176 | 177 | 178 | 179 |
180 |
181 |
182 |

Portfolio

183 |
184 |
185 | 186 | 187 |
188 |
189 |

I hope you like my work and my work speaks for me.

190 |
191 |
192 | 193 | 194 |
195 | 196 |
197 | 198 | 199 |
200 | 201 | WordPress Theme 202 | 203 |
204 | 205 |
206 | 207 | Asilo nido 208 | 209 |
210 | 211 |
212 | 213 | One Page Folio 214 | 215 |
216 | 217 |
218 | 219 | Eclectic: Premium WordPress Theme 220 | 221 |
222 | 223 |
224 | 225 | Gold: Premium WordPress Theme 226 | 227 |
228 | 229 |
230 | 231 | 232 | 233 |
234 | 235 |
236 | 237 | 238 | 239 |
240 | 241 |
242 | 243 | 244 | 245 |
246 | 247 |
248 | 249 | 250 | 251 |
252 | 253 |
254 | 255 | Asilo nido 256 | 257 |
258 | 259 |
260 | 261 | 262 |
263 |
264 |
265 | 266 | 267 | 268 | 269 | 270 |
271 | 272 |
273 | 274 |
275 |

Contact

276 | 277 |
278 | 279 |
280 |
281 | 282 |
283 | 284 | 285 |
286 | 287 | 288 |
289 | 290 | 291 | 292 |
293 |
294 |
295 |
296 | 297 |
298 |

Estimates, questions, information?

299 | 300 |

301 | Not hesitate to contact me.
302 | Send the form or contact me on skype. 303 |

304 | 305 | 306 | 307 |

YourInspirationFolio

308 | 309 |
Arlington Road, 988
310 | 311 |

312 | Tel. 074 5678 678
313 | Fax. 074 5678 678 314 |

315 |
316 | 317 |
318 |
319 | 320 |
321 | 322 | 323 |
324 | 325 |
326 |
327 | 328 | 331 | 332 | 333 | "@ -------------------------------------------------------------------------------- /webroot/http/js/cufon-yui.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009 Simo Kinnunen. 3 | * Licensed under the MIT license. 4 | * 5 | * @version 1.09i 6 | */ 7 | var Cufon=(function(){var m=function(){return m.replace.apply(null,arguments)};var x=m.DOM={ready:(function(){var C=false,E={loaded:1,complete:1};var B=[],D=function(){if(C){return}C=true;for(var F;F=B.shift();F()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",D,false);window.addEventListener("pageshow",D,false)}if(!window.opera&&document.readyState){(function(){E[document.readyState]?D():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");D()}catch(F){setTimeout(arguments.callee,1)}})()}q(window,"load",D);return function(F){if(!arguments.length){D()}else{C?F():B.push(F)}}})(),root:function(){return document.documentElement||document.body}};var n=m.CSS={Size:function(C,B){this.value=parseFloat(C);this.unit=String(C).match(/[a-z%]*$/)[0]||"px";this.convert=function(D){return D/B*this.value};this.convertFrom=function(D){return D/this.value*B};this.toString=function(){return this.value+this.unit}},addClass:function(C,B){var D=C.className;C.className=D+(D&&" ")+B;return C},color:j(function(C){var B={};B.color=C.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(E,D,F){B.opacity=parseFloat(F);return"rgb("+D+")"});return B}),fontStretch:j(function(B){if(typeof B=="number"){return B}if(/%$/.test(B)){return parseFloat(B)/100}return{"ultra-condensed":0.5,"extra-condensed":0.625,condensed:0.75,"semi-condensed":0.875,"semi-expanded":1.125,expanded:1.25,"extra-expanded":1.5,"ultra-expanded":2}[B]||1}),getStyle:function(C){var B=document.defaultView;if(B&&B.getComputedStyle){return new a(B.getComputedStyle(C,null))}if(C.currentStyle){return new a(C.currentStyle)}return new a(C.style)},gradient:j(function(F){var G={id:F,type:F.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},C=F.substr(F.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var E=0,B=C.length,D;E0){E=" "+E}}else{if(B400}if(I==500){I=400}for(var J in G){if(!k(G,J)){continue}J=parseInt(J,10);if(!F||JD){D=J}K.push(J)}if(ID){I=D}K.sort(function(M,L){return(E?(M>=I&&L>=I)?ML:(M<=I&&L<=I)?M>L:Mcufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:'+(h?"middle":"text-bottom")+";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}").replace(/;/g,"!important;"));function c(i,j){return a(i,/(?:em|ex|%)$|^[a-z-]+$/i.test(j)?"1em":j)}function a(l,m){if(m==="0"){return 0}if(/px$/i.test(m)){return parseFloat(m)}var k=l.style.left,j=l.runtimeStyle.left;l.runtimeStyle.left=l.currentStyle.left;l.style.left=m.replace("%","em");var i=l.style.pixelLeft;l.style.left=k;l.runtimeStyle.left=j;return i}function f(l,k,j,n){var i="computed"+n,m=k[i];if(isNaN(m)){m=k.get(n);k[i]=m=(m=="normal")?0:~~j.convertFrom(a(l,m))}return m}var g={};function d(p){var q=p.id;if(!g[q]){var n=p.stops,o=document.createElement("cvml:fill"),i=[];o.type="gradient";o.angle=180;o.focus="0";o.method="sigma";o.color=n[0][1];for(var m=1,l=n.length-1;mO){O=K}if(I>N){N=I}if(K0){E=" "+E}}else{if(B400}if(I==500){I=400}for(var J in G){if(!k(G,J)){continue}J=parseInt(J,10);if(!F||JD){D=J}K.push(J)}if(ID){I=D}K.sort(function(M,L){return(E?(M>=I&&L>=I)?ML:(M<=I&&L<=I)?M>L:MO){O=K}if(I>N){N=I}if(Kcufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:'+(h?"middle":"text-bottom")+";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}").replace(/;/g,"!important;"));function c(i,j){return a(i,/(?:em|ex|%)$|^[a-z-]+$/i.test(j)?"1em":j)}function a(l,m){if(m==="0"){return 0}if(/px$/i.test(m)){return parseFloat(m)}var k=l.style.left,j=l.runtimeStyle.left;l.runtimeStyle.left=l.currentStyle.left;l.style.left=m.replace("%","em");var i=l.style.pixelLeft;l.style.left=k;l.runtimeStyle.left=j;return i}function f(l,k,j,n){var i="computed"+n,m=k[i];if(isNaN(m)){m=k.get(n);k[i]=m=(m=="normal")?0:~~j.convertFrom(a(l,m))}return m}var g={};function d(p){var q=p.id;if(!g[q]){var n=p.stops,o=document.createElement("cvml:fill"),i=[];o.type="gradient";o.angle=180;o.focus="0";o.method="sigma";o.color=n[0][1];for(var m=1,l=n.length-1;m \ 33 | \ 34 | \ 35 | \ 36 | \ 37 | \ 38 | \ 39 |
\ 40 |
\ 41 | \ 42 | \ 43 | \ 44 | \ 45 | \ 46 | \ 47 | \ 48 | \ 49 | \ 50 | \ 51 | \ 52 | Close \ 53 | '; 54 | $(document.body).grab(new Element('div', {id:"zoom", style:"display:none;z-index:200;", html: html})); 55 | //Setup the FX as class methods 56 | FancyZoom.showFx = new Fx.Morph($('zoom'), { 57 | link: 'cancel', 58 | onStart: function(element) { 59 | var fancy = element.retrieve('fancy') 60 | if(fancy.options.scaleImg) { 61 | fancy.content_div.getElements('img').setStyles({'width': 50, 'height':'auto'}) 62 | $('zoom_content').set('html', fancy.content_div.get('html')); 63 | //This is still broken in IE 64 | $$('#zoom_content img').tween('width', this.to.width[0].value - 60) 65 | } else 66 | $('zoom_content').set('html',''); 67 | }, 68 | onComplete: function(element) { 69 | FancyZoom.zoomed = true; 70 | var fancy = element.retrieve('fancy') 71 | fancy.loaded = false 72 | if (!fancy.options.scaleImg) 73 | $('zoom_content').set('html', fancy.content_div.get('html')); 74 | // middle row height must be set for IE otherwise it tries to be "logical" with the height 75 | if(Browser.Engine.trident) 76 | $$('td.ml, td.mm, td.mr').setStyle('height', this.to.height[0].value - 60); 77 | $('zoom_close').setStyle('display', ''); 78 | FancyZoom.unfixBackgroundsForIE(); 79 | } 80 | }) 81 | FancyZoom.hideFx = new Fx.Morph($('zoom'), { 82 | onStart: function(element) { 83 | if (!element.retrieve('fancy').scaleImg) 84 | $('zoom_content').set({'html': '', 'style':''}) 85 | $('zoom_close').setStyle('display', 'none'); 86 | }, 87 | onComplete: function(element) { 88 | FancyZoom.zoomed = false; 89 | element.setStyle('display', 'none'); 90 | FancyZoom.unfixBackgroundsForIE(); 91 | } 92 | }) 93 | //Attach the events only once 94 | $('zoom_close').addEvent('click', FancyZoom.hide); 95 | // hide zoom if click fired is not inside zoom 96 | $$('html')[0].addEvent('click', function(e) { 97 | if (!($(e.target).match('#zoom') || $(e.target).getParent('#zoom'))) 98 | FancyZoom.hide(e); 99 | }); 100 | // esc to close zoom box 101 | $(document).addEvent('keyup', function(e) { 102 | if (e.key == 'esc') 103 | FancyZoom.hide(e); 104 | }); 105 | } 106 | }); 107 | FancyZoom.zoomed = false; 108 | FancyZoom.show = function(e) { 109 | e.stop(); 110 | var element = $(e.target).match('a') ? e.target : e.target.getParent('a'); 111 | var fancy = element.retrieve('fancy') 112 | var width = (fancy.options.width || fancy.content_div.getWidth()) + 60; 113 | var height = (fancy.options.height || fancy.content_div.getHeight()) + 60; 114 | //Make the image a maximum of 1024px wide 115 | var height = (Math.min(fancy.options.max, width) / width) * height 116 | var width = Math.min(fancy.options.max, width) 117 | var d = Window.getSize(); 118 | var yOffset = Window.getScrollTop(); 119 | // ensure that newTop is at least 0 so it doesn't hide close button 120 | var newTop = Math.max((d.y/2) - (height/2) + yOffset, 0); 121 | var newLeft = (d.x/2) - (width/2); 122 | if(!fancy.loaded) { 123 | $('zoom').store('curTop', e.page.y); 124 | $('zoom').store('curLeft', e.page.x); 125 | $('zoom').store('fancy', fancy); 126 | $('zoom').setStyles({ 127 | position : 'absolute', 128 | display : 'block', 129 | opacity : 0, 130 | top : e.page.y, 131 | left : e.page.x, 132 | width : 1, 133 | height : 1 134 | }); 135 | //So we need a delay for IE to be happy.... 136 | fancy.fireEvent('show', {stop:$empty, target:element, page: e.page}, 100) 137 | } 138 | FancyZoom.fixBackgroundsForIE(); 139 | FancyZoom.showFx.start({ 140 | opacity: 1, 141 | top: newTop, 142 | left: newLeft, 143 | width: width, 144 | height: height}) 145 | } 146 | FancyZoom.hide = function(e) { 147 | if(!FancyZoom.zoomed) 148 | return 149 | e.stop(); 150 | $('zoom').retrieve('fancy').fireEvent('hide') 151 | FancyZoom.fixBackgroundsForIE(); 152 | FancyZoom.hideFx.start({ 153 | left: $('zoom').retrieve('curLeft'), 154 | top: $('zoom').retrieve('curTop'), 155 | width: 1, 156 | height: 1, 157 | opacity: 0}); 158 | } 159 | FancyZoom.switchBackgroundImagesTo = function(to) { 160 | $$('#zoom_table td').each(function(e) { 161 | var bg = e.getStyle('background-image').replace(/\.(png|gif|none)\)$/, '.'+to+')'); 162 | e.setStyle('background-image', bg); 163 | }); 164 | var close_img = zoom_close.getElement('img'); 165 | var new_img = close_img.get('src').replace(/\.(png|gif|none)$/, '.' + to); 166 | close_img.set('src', new_img); 167 | } 168 | FancyZoom.fixBackgroundsForIE = function() { 169 | if (Browser.Engine.trident5) { 170 | FancyZoom.switchBackgroundImagesTo('gif'); 171 | } 172 | } 173 | FancyZoom.unfixBackgroundsForIE = function() { 174 | if (Browser.Engine.trident5) { 175 | FancyZoom.switchBackgroundImagesTo('png'); 176 | } 177 | } -------------------------------------------------------------------------------- /webroot/http/js/form-contact-validate.js: -------------------------------------------------------------------------------- 1 | jQuery(document).ready(function(){ 2 | 3 | jQuery("") 4 | .attr("src","http://www.yourinspirationweb.com/wp-content/themes/yiw/images/clear.gif") 5 | .prependTo('body'); 6 | 7 | jQuery('
') 8 | .insertBefore('#log') 9 | .attr('id','log_wait') 10 | .css('display','none') 11 | .addClass('ajax-loading') 12 | .ajaxStart(function(){jQuery(this).show();}) 13 | .ajaxStop(function(){jQuery(this).hide();}); 14 | 15 | 16 | jQuery('#contacts').submit(function() { 17 | jQuery.post('include/inc_sendmail.php',jQuery(this).serialize(), function(data){ 18 | jQuery('#log').empty(); 19 | jQuery('
') 20 | .attr('id','log_res') 21 | .appendTo('#log') 22 | .html(data); 23 | }); 24 | return false; 25 | }); 26 | }); -------------------------------------------------------------------------------- /webroot/http/js/scroll.js: -------------------------------------------------------------------------------- 1 | jQuery(document).ready(function(){ 2 | jQuery('#nav a[href*=#]').click(function() { 3 | if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') 4 | && location.hostname == this.hostname) { 5 | var $target = jQuery(this.hash); 6 | $target = $target.length && $target 7 | || $('[name=' + this.hash.slice(1) +']'); 8 | if ($target.length) { 9 | var targetOffset = $target.offset().top; 10 | jQuery('html,body') 11 | .animate({scrollTop: targetOffset}, 1000); 12 | return false; 13 | } 14 | } 15 | }); 16 | }); 17 | -------------------------------------------------------------------------------- /webroot/http/js/unitpngfix.js: -------------------------------------------------------------------------------- 1 | //var clear="wp-content/themes/eclectic/images/clear.gif" //path to clear.gif 2 | 3 | pngfix=function(){var els=document.getElementsByTagName('*');var ip=/\.png/i;var i=els.length;while(i-- >0){var el=els[i];var es=el.style;if(el.src&&el.src.match(ip)&&!es.filter){es.height=el.height;es.width=el.width;es.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+el.src+"',sizingMethod='crop')";el.src=clear;}else{var elb=el.currentStyle.backgroundImage;if(elb.match(ip)){var path=elb.split('"');var rep=(el.currentStyle.backgroundRepeat=='no-repeat')?'crop':'scale';es.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+path[1]+"',sizingMethod='"+rep+"')";es.height=el.clientHeight+'px';es.backgroundImage='none';var elkids=el.getElementsByTagName('*');if (elkids){var j=elkids.length;if(el.currentStyle.position!="absolute")es.position='static';while (j-- >0)if(!elkids[j].style.position)elkids[j].style.position="relative";}}}}} 4 | window.attachEvent('onload',pngfix); --------------------------------------------------------------------------------