summaryrefslogtreecommitdiff
path: root/demos/site/protected
diff options
context:
space:
mode:
Diffstat (limited to 'demos/site/protected')
-rwxr-xr-xdemos/site/protected/.htaccess1
-rw-r--r--demos/site/protected/Common/SimpleMenu.php86
-rw-r--r--demos/site/protected/Layouts/MainLayout.php5
-rw-r--r--demos/site/protected/Layouts/MainLayout.tpl56
-rw-r--r--demos/site/protected/Pages/About.page56
-rw-r--r--demos/site/protected/Pages/Demos.page32
-rw-r--r--demos/site/protected/Pages/Documentation.page36
-rw-r--r--demos/site/protected/Pages/Download.page117
-rwxr-xr-xdemos/site/protected/Pages/Home.page56
-rw-r--r--demos/site/protected/Pages/License.page29
-rw-r--r--demos/site/protected/Pages/Tos.page43
-rw-r--r--demos/site/protected/application.xml40
-rwxr-xr-xdemos/site/protected/runtime/.gitignore2
13 files changed, 559 insertions, 0 deletions
diff --git a/demos/site/protected/.htaccess b/demos/site/protected/.htaccess
new file mode 100755
index 00000000..8d2f2563
--- /dev/null
+++ b/demos/site/protected/.htaccess
@@ -0,0 +1 @@
+deny from all
diff --git a/demos/site/protected/Common/SimpleMenu.php b/demos/site/protected/Common/SimpleMenu.php
new file mode 100644
index 00000000..bcbc94cf
--- /dev/null
+++ b/demos/site/protected/Common/SimpleMenu.php
@@ -0,0 +1,86 @@
+<?php
+
+class SimpleMenu extends TControl
+{
+ public function addParsedObject($object)
+ {
+ if ($object instanceof SimpleMenuItem)
+ parent::addParsedObject($object);
+ }
+
+ public function render($writer)
+ {
+ $writer->renderBeginTag("ul");
+ parent::renderChildren($writer);
+ $writer->renderEndTag();
+ }
+
+}
+
+class SimpleMenuItem extends TControl
+{
+
+ public function getPath()
+ {
+ return $this->getControlState("Path", null);
+ }
+
+ public function setPath($value)
+ {
+ $this->setControlState("Path", TPropertyValue::ensureString($value));
+ }
+
+ public function getUrl()
+ {
+ return $this->getControlState("Url", null);
+ }
+
+ public function setUrl($value)
+ {
+ $this->setControlState("Url", TPropertyValue::ensureString($value));
+ }
+
+ public function getTarget()
+ {
+ return $this->getControlState("Target", null);
+ }
+
+ public function setTarget($value)
+ {
+ $this->setControlState("Target", TPropertyValue::ensureString($value));
+ }
+
+ public function getText()
+ {
+ return $this->getControlState("Text", $this->getID());
+ }
+
+ public function setText($value) {
+ $this->setControlState("Text", TPropertyValue::ensureString($value));
+ }
+
+ public function render($writer)
+ {
+ $writer->renderBeginTag("li");
+
+ if(null !== $path = $this->getPath())
+ {
+ $writer->addAttribute('href', $this->Service->constructUrl($path));
+
+ if($path == $this->Page->getPagePath())
+ $writer->addAttribute('class', 'active');
+ } elseif(null !== $url = $this->getUrl()) {
+ $writer->addAttribute('href', $url);
+ }
+
+ if($this->getTarget() !== null)
+ $writer->addAttribute('target', $this->getTarget());
+
+ $writer->renderBeginTag("a");
+
+ $writer->write(THttpUtility::htmlEncode($this->getText()));
+
+ $writer->renderEndTag();
+ $writer->renderEndTag();
+ }
+}
diff --git a/demos/site/protected/Layouts/MainLayout.php b/demos/site/protected/Layouts/MainLayout.php
new file mode 100644
index 00000000..15302dfc
--- /dev/null
+++ b/demos/site/protected/Layouts/MainLayout.php
@@ -0,0 +1,5 @@
+<?php
+
+class MainLayout extends TTemplateControl
+{
+}
diff --git a/demos/site/protected/Layouts/MainLayout.tpl b/demos/site/protected/Layouts/MainLayout.tpl
new file mode 100644
index 00000000..8b523aed
--- /dev/null
+++ b/demos/site/protected/Layouts/MainLayout.tpl
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<html>
+<com:THead Title="PRADO PHP Framework" >
+ <com:TMetaTag HttpEquiv="Content-Language" Content="en" />
+ <com:TMetaTag HttpEquiv="Content-Type" Content="text/html; charset=utf-8" />
+ <com:TMetaTag Name="Keywords" Content="PHP framework, PRADO" />
+ <com:TMetaTag Name="Description" Content="PRADO is a component-based and event-driven framework for Web application development in PHP 5." />
+ <com:TMetaTag Name="Author" Content="Qiang Xue, Fabio Bas" />
+ <com:TMetaTag Name="Subject" Content="PHP framework, Web programming" />
+ <com:TMetaTag Name="Language" Content="en" />
+ <link rel="Shortcut Icon" href="<%=$this->Page->Theme->BaseUrl%>/favicon.ico">
+</com:THead>
+<body>
+<com:TForm>
+<div id="page">
+ <div id="header">
+ <div id="logo">
+ <com:THyperLink
+ NavigateUrl="<%= $this->Service->constructUrl($this->Service->DefaultPage) %>"
+ Text="PRADO Component Framework for PHP 5"
+ ImageUrl="<%=$this->Page->Theme->BaseUrl%>/imgs/pradoheader.gif"
+ />
+ </div>
+ <div id="mainmenu">
+ <com:SimpleMenu ID="menu">
+ <com:SimpleMenuItem Path="Home" Text="Home" />
+ <com:SimpleMenuItem Path="About" Text="About" />
+ <!---<com:SimpleMenuItem Path="Testimonials" Text="Testimonials" /> --->
+ <com:SimpleMenuItem Path="Demos" Text="Demos" />
+ <com:SimpleMenuItem Path="Download" Text="Download" />
+ <com:SimpleMenuItem Path="Documentation" Text="Documentation" />
+ <!--- <com:SimpleMenuItem Path="Forum" Text="Forum" /> --->
+ <com:SimpleMenuItem Url="http://github.com/pradosoft/prado" Text="Development" Target="_blank"/>
+ <!--- --->
+ </com:SimpleMenu>
+ </div>
+ </div>
+ <com:TContentPlaceHolder ID="Main" />
+ <div id="footer">
+ <com:THyperLink
+ NavigateUrl="<%= $this->Service->constructUrl('Tos') %>"
+ Text="Terms of Service"
+ /> |
+ <com:THyperLink
+ NavigateUrl="<%= $this->Service->constructUrl('License') %>"
+ Text="License"
+ />
+ <br>
+ Copyright © 2004-<%=date('Y')%> by the PRADO Group.<br>
+ <br>
+ <%= Prado::poweredByPrado(1); %>
+ </div>
+</div>
+</com:TForm>
+</body>
+</html> \ No newline at end of file
diff --git a/demos/site/protected/Pages/About.page b/demos/site/protected/Pages/About.page
new file mode 100644
index 00000000..62cc09d3
--- /dev/null
+++ b/demos/site/protected/Pages/About.page
@@ -0,0 +1,56 @@
+<com:TContent ID="Main">
+
+<div id="main">
+<h2>The PRADO Group</h2>
+<p>
+The PRADO group is a team of PRADO enthusiasts who develop and promote the PRADO framework and the related projects.
+</p>
+<h3>Team Members</h3>
+<ul>
+ <li>Fabio Bas - development, testing</li>
+ <li>Ciro Mattia Gonano - github/packagist maintainer</li>
+ <li>Daniel Sampedro Bello - wsat development</li>
+ <li>David Otto - development, testing</li>
+ <li>Jens Klaer - development, testing</li>
+</ul>
+<p>The following Team Members are currently inactive.</p>
+<ul>
+ <li>Qiang Xue - founder of PRADO framework, core development</li>
+ <li>Xiang Wei Zhuo - core development (javascripts, active controls, DB controls, tests)</li>
+ <li>Jason Ragsdale - site and forum administration</li>
+ <li>Knut Urdalen - test, marketing</li>
+ <li>Eirik Hoem - core development</li>
+ <li>Yves Berkholz - core development</li>
+ <li>Michael Hartl - component development, testing</li>
+ <li>Carl G. Mathisen - design and document comment system</li>
+ <li>Christophe Boulain - component development, testing</li>
+ <li>Robin J. Rogge - site and forum adminitration, core development</li>
+</ul>
+<h4>Past Team Members</h4>
+<p>
+Alex Flint, Brian Luft, John Teague, Todd Patrick, Pim van der Zwet, Tim Evans, Alban Hanry, Marcus Nyeholt
+</p>
+
+<h3>History of PRADO</h3>
+<p>
+The very original inspiration of PRADO came from Apache Tapestry. During the design and implementation, Qiang Xue borrowed many ideas from Borland Delphi and Microsoft ASP.NET. The first version of PRADO came out in June 2004 and was written in PHP 4. Driven by the Zend PHP 5 coding contest, Qiang rewrote PRADO in PHP 5, which proved to be a wise move, thanks to the new object model provided by PHP 5. PRADO won the grand prize in the Zend contest, earning high votes both from the public and from the judges' panel.
+</p>
+<p>
+In August 2004, PRADO was hosted on SourceForge as an open source project. Soon after, the project site <a href="http://www.xisc.com/">xisc.com</a> was announced to public. With the fantastic support of PRADO developer team and PRADO users, PRADO evolved to version 2.0 in mid 2005. In this version, Wei Zhuo contributed to PRADO with the excellent I18 and L10N support.
+</p>
+<p>
+In May 2005, developers decided to completely rewrite the PRADO framework to resolve a few fundamental issues found in version 2.0 and to catch up with some cool features available in Microsoft ASP.NET 2.0. After nearly a year's hard work with over 50,000 lines of new code, version 3.0 was finally made available in April 2006.
+</p>
+<p>
+In October 2008, the original development team released a new framework called <a href="http://www.yiiframework.com/">Yii</a>. Inheriting most of the PRADO code, Yii left the pages/events concept, focusing on a pure MVC design pattern. Since 2009 a lot of people contributed to PRADO fixing issues, developing new features or backporting them from Yii.
+</p>
+<p>
+To promote a model of community-driven development, the project repositories were moved first on <a href="http://code.google.com/p/prado3/">Google Code</a> and then, in September 2013, on <a href="http://github.com/pradosoft/prado">GitHub</a>.
+</p>
+<p>
+Starting from version 3.0, significant efforts are allocated to ensure the quality and stability of PRADO. If we say PRADO v2.x and v1.x are proof-of-concept work, we can say PRADO 3.x has grown up to a project that is suitable for serious business application development.
+</p>
+
+<div style="clear: both;"></div>
+</div>
+</com:TContent> \ No newline at end of file
diff --git a/demos/site/protected/Pages/Demos.page b/demos/site/protected/Pages/Demos.page
new file mode 100644
index 00000000..a27a6147
--- /dev/null
+++ b/demos/site/protected/Pages/Demos.page
@@ -0,0 +1,32 @@
+<com:TContent ID="Main">
+
+<div id="main">
+
+<h2>Online Demos</h2>
+<p>
+The following demos are developed using the PRADO framework. They are also available under the <tt>demos</tt> directory in the PRADO release.
+</p>
+<ul class="demo-list">
+ <li><a href="<%$ DemoUrl %>/helloworld/">Hello World</a>: This is perhaps the smallest interactive PRADO application that you can build. It may serve as a good start for building your own applications based on PRADO.</li>
+ <li><a href="<%$ DemoUrl %>/composer/">Component Composer</a>: This demo is an practical application that can be used to help you quickly write up a PRADO component.</li>
+ <li><a href="<%$ DemoUrl %>/personal/">Personal Website</a>: This demo can be served as the starting point to develop a multi-page Web application. It also shows how to support user login in a PRADO application.</li>
+ <li><a href="<%$ DemoUrl %>/quickstart/"><b>Quickstart tutorial demo</b></a>: This demo is meant to help you learn PRADO. It contains tens of sub-demos showing various Web controls included in the PRADO release.
+<ul>
+<li><a href="<%$ DemoUrl %>/quickstart/?page=Controls.Standard">Standard control demos</a> (nearly 40 demos) </li>
+<li><a href="<%$ DemoUrl %>/quickstart/?page=Controls.Validation">Validation control demos</a> </li>
+<li><a href="<%$ DemoUrl %>/quickstart/?page=Controls.List">List control demos</a> (dropdown list, listbox, etc.) </li>
+<li><a href="<%$ DemoUrl %>/quickstart/?page=Controls.Data">Repeater, datalist, datagrid demos</a> </li>
+<li><a href="<%$ DemoUrl %>/quickstart/?page=ActiveControls.Home">Active control demos</a> (AJAX) </li>
+</ul>
+ </li>
+<!--
+ <li><a href="<%$ DemoUrl %>/blog/"><b>PRADO Blog</b></a>: This is a complete weblog system with user management, post management and configuration management.</li>
+-->
+ <li><a href="<%$ DemoUrl %>/currency-converter/">Currency Converter</a>: A small <a href="<%$ DemoUrl %>/quickstart/?page=Tutorial.CurrencyConverter">tutorial</a> example demonstrating the basic use of validator and AJAX controls.</li>
+ <li><a href="<%$ DemoUrl %>/soap/">SOAP Service</a>: This demo is a quick setup of a SOAP server and client.</li>
+ <li><a href="<%$ DemoUrl %>/chat/">AJAX Chat</a>: A easy to build web chat application using AJAX controls and Active Records for database access (see <a href="<%$ DemoUrl %>/quickstart/?page=Tutorial.AjaxChat">tutorial</a>).</li>
+ <li><a href="<%$ DemoUrl %>/time-tracker/"><b>Time Tracker</b></a>: A complete personal project time tracker application using SQLMap for data access.</li>
+
+<div style="clear: both;"></div>
+</div>
+</com:TContent> \ No newline at end of file
diff --git a/demos/site/protected/Pages/Documentation.page b/demos/site/protected/Pages/Documentation.page
new file mode 100644
index 00000000..4d8fe74b
--- /dev/null
+++ b/demos/site/protected/Pages/Documentation.page
@@ -0,0 +1,36 @@
+<com:TContent ID="Main">
+
+<div id="main">
+
+<!---
+<div style="float:right;">
+<b>Class Finder</b> <input name="ctl0$main$ctl0$classEdit" type="text" id="ctl0_main_ctl0_classEdit" style="width:20em;" /><div id="ctl0_main_ctl0_classEdit_result" class="autocomplete"></div>
+</div>
+--->
+<div id="navbar">
+<ul>
+<li><a href="<%$ DemoUrl %>/quickstart/">QuickStart</a></li>
+<li><a href="<%$ DocsUrl %>/manual/">API Manual</a></li>
+<!--- <li><a href="<%$ DocsUrl %>/tutorials/" class="active">Tutorials</a></li> --->
+<!--- <li><a href="<%$ DocsUrl %>/classdoc/">Class Docs</a></li> --->
+</ul>
+</div>
+
+<h2>API Manual</h2>
+
+The <a href="<%$ DocsUrl %>/manual/">API Manual</a> contains the documentation for all the classes declared in PRADO.
+
+<br/>
+<br/>
+<h2>Tutorials</h2>
+
+<ul>
+ <li><a href="<%$ DemoUrl %>/quickstart/">The QuickStart Tutorial</a> - This tutorial is a definitive guidance showing every aspect of PRADO. It is written in PRADO and contains many demos to show the usage of various PRADO controls. The tutorial is also available as a <a href="<%$ DocsUrl %>/quickstart.pdf">PDF file</a>.</li>
+ <li><a href="<%$ DemoUrl %>/blog-tutorial/">The PRADO Blog Tutorial</a> - This tutorial shows how to use PRADO to build a complete Web application. Prior PRADO knowledge is not required.</li>
+ <li><a href="<%$ DemoUrl %>/sqlmap/">The SQLMap Tutorial</a> - This tutorial is a definitive guidance on how to use SQLMap (available since v3.1.0).</li>
+</ul>
+
+<div style="clear: both;"></div>
+</div>
+
+</com:TContent> \ No newline at end of file
diff --git a/demos/site/protected/Pages/Download.page b/demos/site/protected/Pages/Download.page
new file mode 100644
index 00000000..96dcda6b
--- /dev/null
+++ b/demos/site/protected/Pages/Download.page
@@ -0,0 +1,117 @@
+<com:TContent ID="Main">
+
+<div id="main">
+
+<h1>Download</h1>
+<p>PRADO is an open source project hosted on <a href="http://github.com/pradosoft/prado">GitHub</a>. It is released under the terms of
+<com:THyperLink NavigateUrl="<%= $this->Service->constructUrl('License')%>" Text="the BSD License" />.</p>
+<p>The latest stable version of PRADO is <b><span id="lastVersion"><%= Prado::getVersion() %></span></b><span id="lastVersionDate"></span>.</p>
+<div style="text-align:center"><a id="downloadLink" style="font-size:150%" href="https://github.com/pradosoft/prado/releases/latest">Download</a></div>
+
+<com:TClientScript PradoScripts="jquery" />
+<com:TClientScript>
+
+$(document).ready(function () {
+ $.getJSON("https://api.github.com/repos/pradosoft/prado/releases").done(function (json) {
+ var release = json[0];
+
+ var releaseVer = release.tag_name;
+ var releaseDate = new Date(release.published_at);
+ var downloadURL = release.assets[0].browser_download_url;
+
+ var monthNames = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
+ var day = releaseDate.getDate();
+ var monthIndex = releaseDate.getMonth();
+ var year = releaseDate.getFullYear();
+
+ $("#lastVersion").text(releaseVer);
+ $("#lastVersionDate").text(' (' + day + ' ' + monthNames[monthIndex] + ' ' + year + ')');
+ $("#downloadLink").attr("href", downloadURL);
+ });
+
+ $.get("https://raw.githubusercontent.com/pradosoft/prado/master/HISTORY", function(data) {
+ $("#changeLog").text(data);
+ });
+});
+</com:TClientScript>
+
+<br/>
+<h2>Latest changelog entries</h2>
+<pre id="changeLog" class="changelog">loading...</pre>
+
+<br/>
+<h2>Previous PRADO v3.x releases</h2>
+
+<table width="100%" cellspacing="1" cellpadding="1" class="download">
+<tr>
+ <th nowrap="nowrap">Version</th>
+ <th nowrap="nowrap">Date </th>
+ <th nowrap="nowrap">Files</th>
+</tr>
+ <tr><td>3.2.4</td><td>Aug 26, 2014</td><td><a href="https://github.com/pradosoft/prado/releases/download/3.2.4/prado-3.2.4.re2e58b8.zip">Source code and documentation</a></td></tr>
+ <tr><td>3.2.3</td><td>Nov 26, 2013</td><td><a href="https://github.com/pradosoft/prado/releases/download/3.2.3/prado-3.2.3.r2b11341.zip">Source code and documentation</a></td></tr>
+ <tr><td>3.2.2</td><td>July 20, 2013</td><td><a href="http://prado3.googlecode.com/files/prado-3.2.2.r3297.zip">Source code</a>, <a href="http://prado3.googlecode.com/files/prado-docs-3.2.2.r3297.zip">documentation</a></td></tr>
+ <tr><td>3.2.1</td><td>January 19, 2013</td><td><a href="http://prado3.googlecode.com/files/prado-3.2.1.r3258.zip">Source code</a>, <a href="http://prado3.googlecode.com/files/prado-docs-3.2.1.r3258.zip">documentation</a></td></tr>
+ <tr><td>3.2.0</td><td>June 25, 2012</td><td><a href="http://prado3.googlecode.com/files/prado-3.2.0.r3169.zip">Source code</a>, <a href="http://prado3.googlecode.com/files/prado-docs-3.2.0.r3169.zip">documentation</a></td></tr>
+ <tr><td>3.1.10</td><td>July 27, 2011</td><td><a href="http://prado3.googlecode.com/files/prado-3.1.10.r3017.zip">Source code</a>, <a href="http://prado3.googlecode.com/files/prado-docs-3.1.10.r3017.zip">documentation</a></td></tr>
+ <tr><td>3.1.9</td><td>June 3, 2011</td><td><a href="http://prado3.googlecode.com/files/prado-3.1.9.r2973.zip">Source code</a>, <a href="http://prado3.googlecode.com/files/prado-docs-3.1.9.r2973.zip">documentation</a></td></tr>
+ <tr><td>3.1.8</td><td>May 29, 2011</td><td><a href="http://prado3.googlecode.com/files/prado-3.1.8.r2934.zip">Source code</a>, <a href="http://prado3.googlecode.com/files/prado-docs-3.1.8.r2934.zip">documentation</a></td></tr>
+ <tr><td>3.1.7</td><td>February 22, 2010</td><td><a href="http://prado3.googlecode.com/files/prado-3.1.7.r2783.zip">Source code</a>, <a href="http://prado3.googlecode.com/files/prado-docs-3.1.7.r2783.zip">documentation</a></td></tr>
+ <tr><td>3.1.6</td><td>July 22, 2009</td><td><a href="http://prado3.googlecode.com/files/prado-3.1.6.r2699.zip">Source code</a>, <a href="http://prado3.googlecode.com/files/prado-docs-3.1.6-r2699.zip">documentation</a></td></tr>
+ <tr><td>3.1.5</td><td>May 24, 2009</td><td><a href="http://prado3.googlecode.com/files/prado-3.1.5.r2662.zip">Source code</a>, <a href="http://prado3.googlecode.com/files/prado-docs-3.1.5.r2662.zip">documentation</a></td></tr>
+ <tr><td>3.1.4</td><td>January 11, 2009</td><td><a href="http://prado3.googlecode.com/files/prado-3.1.4.r2603.zip">Source code</a>, <a href="http://prado3.googlecode.com/files/prado-docs-3.1.4.r2603.zip">documentation</a></td></tr>
+ <tr><td>3.1.3</td><td>November 1, 2008</td><td><a href="http://prado3.googlecode.com/files/prado-3.1.3-src.zip">Source code</a>, <a href="http://prado3.googlecode.com/files/prado-3.1.3-docs.zip">documentation</a></td></tr>
+ <tr><td>3.1.2</td><td>April 21, 2008</td><td><a href="http://prdownloads.sourceforge.net/prado/prado-3.1.2.r2448.zip?download">Source code</a></td></tr>
+ <tr><td>3.1.1</td><td>October 1, 2007</td><td><a href="http://prdownloads.sourceforge.net/prado/prado-3.1.1.r2290.zip?download">Source code</a></td></tr>
+ <tr><td>3.1.0</td><td>July 2, 2007</td><td><a href="http://prdownloads.sourceforge.net/prado/prado-3.1.0.r2045.zip?download">Source code</a></td></tr>
+ <tr><td>3.0.7</td><td>April 2, 2007</td><td><a href="http://prdownloads.sourceforge.net/prado/prado-3.0.7.r1825.zip?download">Source code</a></td></tr>
+ <tr><td>3.0.6</td><td>December 4, 2006</td><td><a href="http://prdownloads.sourceforge.net/prado/prado-3.0.6.r1561.zip?download">Source code</a></td></tr>
+ <tr><td>3.0.5</td><td>October 23, 2006</td><td><a href="http://prdownloads.sourceforge.net/prado/prado-3.0.5.r1478.zip?download">Source code</a></td></tr>
+ <tr><td>3.0.4</td><td>September 4, 2006</td><td><a href="http://prdownloads.sourceforge.net/prado/prado-3.0.4.r1389.zip?download">Source code</a></td></tr>
+ <tr><td>3.0.3</td><td>August 6, 2006</td><td><a href="http://prdownloads.sourceforge.net/prado/prado-3.0.3.r1331.zip?download">Source code</a></td></tr>
+ <tr><td>3.0.2</td><td>July 2, 2006</td><td><a href="http://prdownloads.sourceforge.net/prado/prado-3.0.2.r1226.zip?download">Source code</a></td></tr>
+ <tr><td>3.0.1</td><td>June 4, 2006</td><td><a href="http://prdownloads.sourceforge.net/prado/prado-3.0.1.zip?download">Source code</a></td></tr>
+ <tr><td>3.0.0</td><td>May 1, 2006</td><td><a href="http://prdownloads.sourceforge.net/prado/prado-3.0.0.zip?download">Source code</a></td></tr>
+</table>
+<br/>
+<br/>
+<h2>PRADO Tools</h2>
+<table width="100%" cellspacing="1" cellpadding="5" class="download">
+ <tr>
+ <th nowrap="nowrap">File</th>
+ <th nowrap="nowrap">Description</th>
+ <th nowrap="nowrap">Release date</th>
+ </tr>
+ <tr>
+ <td><a href="http://prado3.googlecode.com/files/prado-dreamweaver-r2764.zip">Dreamweaver Extension</a></td>
+ <td>PRADO Dreamweaver Extension (r2764)</td>
+ <td nowrap="nowrap">February 14, 2010</td>
+ </tr>
+ <tr>
+ <td><a href="http://prado3.googlecode.com/files/prado-intype-bundle-r2854.zip">InType Bundle</a></td>
+ <td>PRADO InType Bundle (r2854)</td>
+ <td nowrap="nowrap">June 23, 2010</td>
+ </tr>
+ <tr>
+ <td><a href="http://prado3.googlecode.com/files/prado-notepadplus-r2793.zip">Notepad++ Plugin</a></td>
+ <td>PRADO Notepad++ Plugin (r2793)</td>
+ <td nowrap="nowrap">April 6, 2010</td>
+ </tr>
+ <tr>
+ <td><a href="http://prado3.googlecode.com/files/prado-textmatebundle-r3193.zip">Textmate Bundle</a></td>
+ <td>PRADO TextMate Bundle, suitable also for Sublime Text 2 (r3193)</td>
+ <td nowrap="nowrap">July 24, 2012</td>
+ </tr>
+</table>
+<br/>
+<br/>
+<h2>Git Access</h2>
+<p>You can obtain the latest development version of PRADO from our <a href="https://github.com/pradosoft/prado">Git repository</a>.</p>
+<blockquote><b>WARNING:</b> Unreleased Source code in Git may contain known bugs and are subject to changes without prior notice.</blockquote>
+<p>The Source code repository can be accessed anonymously using the following command,</p>
+<pre class="instructions">git clone https://github.com/pradosoft/prado.git</pre>
+
+<div style="clear: both;"></div>
+</div>
+
+</com:TContent> \ No newline at end of file
diff --git a/demos/site/protected/Pages/Home.page b/demos/site/protected/Pages/Home.page
new file mode 100755
index 00000000..039050c1
--- /dev/null
+++ b/demos/site/protected/Pages/Home.page
@@ -0,0 +1,56 @@
+<com:TContent ID="Main">
+
+<div class="intro">
+ <div class="whyprado">
+ <ul class="list">
+ <li class="one"><a href="<%= $this->Service->constructUrl('Demos') %>">Try PRADO</a></li>
+ <li class="two"><a href="<%= $this->Service->constructUrl('Documentation') %>">Learn PRADO</a></li>
+ <li class="three"><a href="http://github.com/pradosoft/prado">Develop with PRADO</a></li>
+ </ul>
+ </div>
+</div>
+
+<div class="statements">
+ <div class="whatis">
+ <h3>What is PRADO?</h3>
+ <p>PRADO<sup>TM</sup> is a component-based and event-driven programming framework for developing Web applications in PHP 5. PRADO stands for <b>P</b>HP <b>R</b>apid <b>A</b>pplication <b>D</b>evelopment <b>O</b>bject-oriented.</p>
+ </div>
+ <div class="whatreq">
+ <h3>What does PRADO require?</h3>
+ <p>The sole requirement to run PRADO-based applications is a Web server supporting PHP 5.3.0 or higher. <a href="<%= $this->Service->constructUrl('License') %>">PRADO is free</a>. You can use it to develop either open source or commercial applications.</p>
+ </div>
+ <div class="cani">
+ <h3>Quick facts about PRADO</h3>
+ <p>
+ <b>First release:</b> August 2004<br>
+ <b>License:</b> <a href="<%= $this->Service->constructUrl('License') %>">revised BSD</a><br>
+ <b>Lines of core code:</b> &gt; 150,000 lines<br>
+ <b>Number of classes:</b> &gt; 700<br>
+ <b>Downloads:</b> &gt; 450,000 01/11/2015<br>
+ </p>
+ </div>
+</div>
+
+<div id="main">
+
+ <h2>Latest News</h2>
+ <div id="articles">
+
+ <div class="article">
+ <h3>Site outage</h3>
+ <span class="date">November 5, 2015</span>
+ <p>As you may have noticed, in the last few days the PRADO website has been unavailable. Unfortunately the server hosting the website suddently died, resulting in the website being unaccessible. A new server has been put in place, and we are now recovering the website data from the last backups. The website is planned to be fully working in a few days. In the meanwhile, you can always refer to our <a target="_blank" href="https://github.com/pradosoft/prado" class="bb-url">github project site</a>.<br><br>Thank you for your patience,<br><br>The PRADO Team</p>
+ </div>
+
+ <div class="article">
+ <h3>Prado 3.2.4 is released!</h3>
+ <span class="date">August 26, 2014</span>
+ <p>The PRADO Team is proud to announce the formal release of <span style="font-weight:bold">PRADO 3.2.4</span>.<br><br>This release backports a number of significative bugfixes and changes from the master branch where the new, jQuery-based Prado is been developed.<br>This release officially introduces <a target="_blank" href="http://www.pradoframework.net/demos/quickstart/?page=GettingStarted.Wsat" class="bb-url">Wsat</a>, an useful tool coded by DarthDaniel that can help out generating Active Record classes.<br><br>This release should be an easy plug-in update from previous 3.2.x Prado versions, without any backwards-compatibility issue; anyway, if you find any problem feel free&nbsp; to report it, and we'll take care of sorting it out.<br><br>Finally, some words on the current development.<br>We have some new members helping out the development: welcome in Daniel and David! Many thanks goes to them and also to all the others that have reported issues and fixes on the project's <a target="_blank" href="https://github.com/pradosoft/prado" class="bb-url">github pages</a>.<br><br>Enjoy!<br><br>The PRADO Team</p>
+ </div>
+
+ </div>
+
+<div style="clear: both;"></div>
+</div>
+
+</com:TContent> \ No newline at end of file
diff --git a/demos/site/protected/Pages/License.page b/demos/site/protected/Pages/License.page
new file mode 100644
index 00000000..f074e1ca
--- /dev/null
+++ b/demos/site/protected/Pages/License.page
@@ -0,0 +1,29 @@
+<com:TContent ID="Main">
+
+<div id="main">
+
+<h2>License of PRADO</h2>
+
+<p>
+The PRADO framework and the included demos are free software. They are released under the terms of the following BSD License.
+</p>
+<p>
+Copyright 2004-<%= date('Y') %> by The PRADO Group (https://github.com/pradosoft/prado)<br/>
+All rights reserved.
+</p>
+<p>
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+</p>
+<ul>
+<li>Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. </li>
+<li>Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.</li>
+<li>Neither the name of the PRADO Group nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.</li>
+</ul>
+<p>
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+</p>
+
+<div style="clear: both;"></div>
+</div>
+
+</com:TContent> \ No newline at end of file
diff --git a/demos/site/protected/Pages/Tos.page b/demos/site/protected/Pages/Tos.page
new file mode 100644
index 00000000..65c67470
--- /dev/null
+++ b/demos/site/protected/Pages/Tos.page
@@ -0,0 +1,43 @@
+<com:TContent ID="Main">
+
+<div id="main">
+
+<h2>Terms of Service</h2>
+
+<p>
+This web site is owned and operated by Prado Software Group, (PradoSoft or we). We have created this page to share with you our privacy and legal policies regarding to your personal information and the contents on this site.
+</p>
+
+<h3>Privacy Policy</h3>
+<p>
+We do not collect personal information about you unless you voluntarily provide it to us or authorize us to collect it. We consider the following to be personal information: your name, email address, phone number, date of birth, job, personal interests, your e-mail address. We treat personal information confidentially.
+</p>
+<p>
+We do collect and track certain non-personally information, including but not limited to, user IP numbers and browser type, access times, domain names, usage habits and other information which does not specifically identify any individual.
+</p>
+<p>
+We may use cookies to customize your use of the web site and for other purposes to improve your use of the service, and may also use web beacons, web bugs, action tags and third party cookies. You may stop or restrict the placement of cookies on your computer or flush them from your browser by adjusting your web browser preferences, in which case you may still use our Service, but it may interfere with some of its functionality. We do not use cookies to automatically retrieve personal information from your computer without your knowledge.
+</p>
+
+<h3>Legal Disclaimer</h3>
+<p>
+All the information and contents posted on this web site are the property of PradoSoft, and are protected by U.S. and foreign copyright laws. By accessing this web site, you agree to the following terms and conditions. You shall not use this web site if you do not agree.
+</p>
+<ol>
+<li>This web site and its contents may NOT be copied or distributed in any manner without the prior written consent of PradoSoft.</li>
+<li>PradoSoft MAKES NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THIS WEB SITE, ITS CONTENTS OR THE MANUSCRIPT, WHICH ARE PROVIDED FOR USE "AS IS" AND IS WITHOUT WARRANTY OF ANY KIND.</li>
+<li>Portions of this web site may publish readers comments and opinion. PradoSoft does not assume or have any responsibility or any liability for the readers comments or opinions.</li>
+</ol>
+
+<h3>Change of Policies</h3>
+<p>
+The above policies may change from time to time. PradoSoft will post those changes on this page.
+</p>
+<p>
+This page was last updated on May 2, 2006.
+</p>
+
+<div style="clear: both;"></div>
+</div>
+
+</com:TContent> \ No newline at end of file
diff --git a/demos/site/protected/application.xml b/demos/site/protected/application.xml
new file mode 100644
index 00000000..b937e82b
--- /dev/null
+++ b/demos/site/protected/application.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<application id="pradosite" mode="Debug">
+ <paths>
+ <using namespace="Application.Common.*" />
+ <using namespace="System.Web.UI.ActiveControls.*" />
+ </paths>
+ <modules>
+ <module id="parameter" class="System.Util.TParameterModule">
+ <!-- the site lives in the demos directory -->
+ <parameter id="DemoUrl" value=".." />
+ <parameter id="DocsUrl" value="../docs" />
+ </module>
+ <module id="request" class="THttpRequest" UrlFormat="HiddenPath" UrlManager="friendly-url" />
+ <module id="friendly-url" class="System.Web.TUrlMapping" EnableCustomUrl="true">
+ <url ServiceParameter="Home" pattern="/" />
+ <url ServiceParameter="About" pattern="about" />
+ <url ServiceParameter="Demos" pattern="demos" />
+ <url ServiceParameter="Download" pattern="download" />
+ <url ServiceParameter="Documentation" pattern="documentation" />
+ <url ServiceParameter="Tos" pattern="tos" />
+ <url ServiceParameter="License" pattern="license" />
+ <!-- <url ServiceParameter="Forum" pattern="/forum" /> -->
+ </module>
+
+ <!--
+ <module id="log" class="System.Util.TLogRouter">
+ <route class="TFileLogRoute" Categories="OffInfApplication" />
+ </module>
+ <module id="globalization" class="System.I18N.TGlobalization" charset="UTF-8"/>
+
+ <module id="data" class="Application.Common.OffInfDataModule" />
+ <module id="users" class="Application.Common.OffInfUserManager" />
+ -->
+ </modules>
+ <services>
+ <service id="page" class="TPageService" BasePath="Application.Pages" DefaultPage="Home">
+ <pages MasterClass="Application.Layouts.MainLayout" Theme="Prado"/>
+ </service>
+ </services>
+</application> \ No newline at end of file
diff --git a/demos/site/protected/runtime/.gitignore b/demos/site/protected/runtime/.gitignore
new file mode 100755
index 00000000..d6b7ef32
--- /dev/null
+++ b/demos/site/protected/runtime/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore