phpwebapp-commits Mailing List for phpWebApp (Page 24)
Brought to you by:
dashohoxha
You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(15) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(2) |
Feb
|
Mar
|
Apr
(5) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2003 |
Jan
|
Feb
(43) |
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(194) |
Sep
(60) |
Oct
(6) |
Nov
|
Dec
(16) |
| 2004 |
Jan
(73) |
Feb
(13) |
Mar
(5) |
Apr
|
May
(5) |
Jun
|
Jul
(183) |
Aug
|
Sep
(5) |
Oct
(30) |
Nov
|
Dec
|
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
(9) |
May
(1) |
Jun
(35) |
Jul
(17) |
Aug
(2) |
Sep
(6) |
Oct
(19) |
Nov
(108) |
Dec
|
| 2006 |
Jan
(10) |
Feb
(1) |
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Dashamir H. <das...@us...> - 2003-09-25 06:51:32
|
Update of /cvsroot/phpwebapp/top10/templates/preference_list
In directory sc8-pr-cvs1:/tmp/cvs-serv3883/templates/preference_list
Modified Files:
preference_list.php
Log Message:
Index: preference_list.php
===================================================================
RCS file: /cvsroot/phpwebapp/top10/templates/preference_list/preference_list.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** preference_list.php 23 Sep 2003 14:04:15 -0000 1.1.1.1
--- preference_list.php 25 Sep 2003 06:51:26 -0000 1.2
***************
*** 84,88 ****
//send a confirmation request e-mail
$username = WebApp::getSVar("username");
! $to = "dasho"; //$username."@users.sourceforge.net";
$subject = "Top10: Confirmation Required";
$message = $this->get_message_body($request_id);
--- 84,88 ----
//send a confirmation request e-mail
$username = WebApp::getSVar("username");
! $to = $username."@users.sourceforge.net";
$subject = "Top10: Confirmation Required";
$message = $this->get_message_body($request_id);
|
|
From: Dashamir H. <das...@us...> - 2003-09-24 15:00:21
|
Update of /cvsroot/phpwebapp/top10/config
In directory sc8-pr-cvs1:/tmp/cvs-serv4428
Modified Files:
const.Paths.php
Log Message:
*** empty log message ***
Index: const.Paths.php
===================================================================
RCS file: /cvsroot/phpwebapp/top10/config/const.Paths.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** const.Paths.php 23 Sep 2003 14:04:12 -0000 1.1.1.1
--- const.Paths.php 24 Sep 2003 15:00:16 -0000 1.2
***************
*** 5,9 ****
/** */
//constants of the paths in the application
! define("WEBAPP_PATH", UP_PATH."sf/web_app/");
define("TPL_PATH", APP_PATH."templates/");
define("TPL_URL", APP_URL."templates/");
--- 5,9 ----
/** */
//constants of the paths in the application
! define("WEBAPP_PATH", UP_PATH."web_app/");
define("TPL_PATH", APP_PATH."templates/");
define("TPL_URL", APP_URL."templates/");
|
|
From: Dashamir H. <das...@us...> - 2003-09-24 14:26:05
|
Update of /cvsroot/phpwebapp/empty-sample/config
In directory sc8-pr-cvs1:/tmp/cvs-serv29805
Modified Files:
const.Paths.php
Added Files:
const.DB.php
Log Message:
--- NEW FILE: const.DB.php ---
<?php
/* This file is part of phpWebApp. */
/** @package sample-application */
/** */
//constants of the default DB connection
define("DBHOST", "localhost");
define("DBUSER", "root");
define("DBPASS", "");
define("DBNAME", "test");
?>
Index: const.Paths.php
===================================================================
RCS file: /cvsroot/phpwebapp/empty-sample/config/const.Paths.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** const.Paths.php 25 Aug 2003 13:43:35 -0000 1.2
--- const.Paths.php 24 Sep 2003 14:25:59 -0000 1.3
***************
*** 5,9 ****
/** */
//constants of the paths in the application
! define("WEBAPP_PATH", APP_PATH."../web_app/");
define("GRAPHICS", APP_URL."graphics/");
define("TPL_PATH", APP_PATH."templates/");
--- 5,9 ----
/** */
//constants of the paths in the application
! define("WEBAPP_PATH", UP_PATH."web_app/");
define("GRAPHICS", APP_URL."graphics/");
define("TPL_PATH", APP_PATH."templates/");
|
|
From: Dashamir H. <das...@us...> - 2003-09-24 14:22:55
|
Update of /cvsroot/phpwebapp/web_app/doc In directory sc8-pr-cvs1:/tmp/cvs-serv29201/doc Modified Files: changes_2.txt Log Message: Made PagedRS an editable RS (extending EditableRS). Index: changes_2.txt =================================================================== RCS file: /cvsroot/phpwebapp/web_app/doc/changes_2.txt,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** changes_2.txt 8 Sep 2003 13:19:07 -0000 1.3 --- changes_2.txt 24 Sep 2003 14:22:50 -0000 1.4 *************** *** 92,95 **** --- 92,105 ---- --------------------------------------------------------------- + * class PagedRS extends EditableRS (it was: extends Recordset) + + 'PagedRS' does not need to be dynamic, once it is opened, + it doesn't need to be opened a second time. On the other hand, + sometimes it is useful to modify its fields before it rendered + on the page. + + ToDo: Merge class StaticRS with Recordset (make Recordset static + by default) and add another class called DynamicRS to be used for + dynamic recordsets. --------------------------------------------------------------- --------------------------------------------------------------- |
|
From: Dashamir H. <das...@us...> - 2003-09-24 14:22:55
|
Update of /cvsroot/phpwebapp/web_app/database
In directory sc8-pr-cvs1:/tmp/cvs-serv29201/database
Modified Files:
class.PagedRS.php
Log Message:
Made PagedRS an editable RS (extending EditableRS).
Index: class.PagedRS.php
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/database/class.PagedRS.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** class.PagedRS.php 15 Sep 2003 09:37:53 -0000 1.8
--- class.PagedRS.php 24 Sep 2003 14:22:50 -0000 1.9
***************
*** 21,25 ****
! include_once DB_PATH."class.Recordset.php";
/**
--- 21,25 ----
! include_once DB_PATH."class.EditableRS.php";
/**
***************
*** 31,35 ****
* @package database
*/
! class PagedRS extends Recordset
{
/**
--- 31,35 ----
* @package database
*/
! class PagedRS extends EditableRS
{
/**
***************
*** 48,52 ****
function PagedRS($id, $query =UNDEFINED, $rp =UNDEFINED, $conn =UNDEFINED)
{
! $this->Recordset($id, $query, $conn);
$this->type = "PagedRS";
$this->recs_per_page = ($rp==UNDEFINED ? 0 : $rp);
--- 48,52 ----
function PagedRS($id, $query =UNDEFINED, $rp =UNDEFINED, $conn =UNDEFINED)
{
! $this->EditableRS($id, $query, $conn);
$this->type = "PagedRS";
$this->recs_per_page = ($rp==UNDEFINED ? 0 : $rp);
***************
*** 72,75 ****
--- 72,81 ----
function Open($cp =UNDEFINED, $conn =UNDEFINED)
{
+ if ($this->opened)
+ {
+ $this->MoveFirst();
+ return; //don't open it a second time
+ }
+
if ($cp==UNDEFINED)
{
***************
*** 101,104 ****
--- 107,111 ----
$this->count = count($result);
$this->pos = 0;
+ $this->opened = true;
}
|
|
From: Dashamir H. <das...@us...> - 2003-09-24 14:20:49
|
Update of /cvsroot/phpwebapp/web_app/parser
In directory sc8-pr-cvs1:/tmp/cvs-serv28851/parser
Modified Files:
class.WebObject.php
Log Message:
Index: class.WebObject.php
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/parser/class.WebObject.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** class.WebObject.php 25 Aug 2003 13:18:32 -0000 1.6
--- class.WebObject.php 24 Sep 2003 14:20:44 -0000 1.7
***************
*** 165,169 ****
break;
default:
! print WebApp::warning_msg("IWebObject::getSVars(): unreckognized \$type '$type'.");
case UNDEFINED:
$arr_vars = array_merge($session->Vars, $session->dbVars);
--- 165,169 ----
break;
default:
! print WebApp::warning_msg("WebObject::getSVars(): unreckognized \$type '$type'.");
case UNDEFINED:
$arr_vars = array_merge($session->Vars, $session->dbVars);
|
|
From: Dashamir H. <das...@us...> - 2003-09-24 14:20:12
|
Update of /cvsroot/phpwebapp/web_app/parser
In directory sc8-pr-cvs1:/tmp/cvs-serv28723/parser
Modified Files:
class.WebObjectTpl.php class.Render.php class.Parser.php
Log Message:
Improved the identation of webobjects.
Index: class.WebObjectTpl.php
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/parser/class.WebObjectTpl.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** class.WebObjectTpl.php 25 Aug 2003 13:18:32 -0000 1.6
--- class.WebObjectTpl.php 24 Sep 2003 14:20:08 -0000 1.7
***************
*** 41,44 ****
--- 41,46 ----
var $obj_count;
+ /** Helps to render the template with a good indentation. */
+ var $indentation;
/** Constructor */
Index: class.Render.php
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/parser/class.Render.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** class.Render.php 25 Aug 2003 13:18:32 -0000 1.6
--- class.Render.php 24 Sep 2003 14:20:08 -0000 1.7
***************
*** 223,227 ****
--- 223,234 ----
$wobj_tpl->onRender();
+ //increase indentation
+ $prev_indent = $this->indent;
+ $this->indent .= $wobj_tpl->indentation;
+
$this->render_tpl($wobj_tpl); //render it to HTML
+
+ //revert to previous indentation
+ $this->indent = $prev_indent;
$tplVars->popScope();
Index: class.Parser.php
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/parser/class.Parser.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** class.Parser.php 8 Sep 2003 13:18:24 -0000 1.7
--- class.Parser.php 24 Sep 2003 14:20:08 -0000 1.8
***************
*** 662,665 ****
--- 662,667 ----
$tpl->params = $webClassTpl->params;
$tpl->construct_WebObject($full_obj_name);
+ ereg("(^ *)", $line, $regs);
+ $tpl->indentation = $regs[1];
//get the values of the parameter attributes
|
|
From: Dashamir H. <das...@us...> - 2003-09-24 14:12:35
|
Update of /cvsroot/phpwebapp/web_app/webobjects/listbox
In directory sc8-pr-cvs1:/tmp/cvs-serv27019/webobjects/listbox
Modified Files:
listbox.txt listbox.html
Log Message:
Added the attribute optional 'value' to webclass listbox.
Index: listbox.txt
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/webobjects/listbox/listbox.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** listbox.txt 16 Jul 2003 09:27:59 -0000 1.3
--- listbox.txt 24 Sep 2003 14:12:30 -0000 1.4
***************
*** 18,24 ****
--- 18,34 ----
<Include SRC="{{LISTBOX_PATH}}listbox.html" />
<WebObject Class="listbox" Name="country"
+ value = "selected_value"
rs = "rs_id"
onchange = "alert(this.options[this.selectedIndex].text)"
width = "---------------" />
+
+ The attribute "value" is optional. It has the value of the selected item
+ (the item with id equal to this value is the one that will be selected).
+ It can be a variable, like this: value="{{var_name}}", in this case the
+ value of this variable is used. If it is not given, then its default
+ value is '{{{{obj_name}}}}' (in the example above, it would be '{{country}}',
+ since the name of the object is 'country'; this means that the value of
+ the variable {{country}} will determine which item will be displayed as
+ selected).
The attribute "rs" is optional. Its default value (if not specified) is
Index: listbox.html
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/webobjects/listbox/listbox.html,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** listbox.html 21 Feb 2003 08:17:06 -0000 1.1.1.1
--- listbox.html 24 Sep 2003 14:12:31 -0000 1.2
***************
*** 1,16 ****
<WebClass ID="listbox">
! <Parameter name="rs" default="{{obj_id}}" />
<Parameter name="onchange" default="return false;" />
! <Parameter name="width" default="" />
!
! <select name="{{obj_name}}" onchange="{{onchange}}">
! <Repeat rs="{{rs}}">
! <Var name="selected">('{{id}}'=='{{{{obj_name}}}}' ? "selected" : "")</Var>
! <option value="{{id}}" {{selected}}>{{label}}</option>
! </Repeat>
! <If condition="'{{width}}'<>''">
! <Var name="selected">('{{{{obj_name}}}}'=='' ? "selected" : "")</Var>
! <option value="" {{selected}}>{{width}}</option>
! </If>
! </select>
</WebClass>
--- 1,16 ----
<WebClass ID="listbox">
! <Parameter name="rs" default="{{obj_id}}" />
! <Parameter name="value" default="{{{{obj_name}}}}" />
<Parameter name="onchange" default="return false;" />
! <Parameter name="width" default="" />
! <select name="{{obj_name}}" onchange="{{onchange}}">
! <Repeat rs="{{rs}}">
! <Var name="selected">('{{id}}'=='{{value}}' ? "selected" : "")</Var>
! <option value="{{id}}" {{selected}}>{{label}}</option>
! </Repeat>
! <If condition="'{{width}}'<>''">
! <Var name="selected">('{{value}}'=='' ? "selected" : "")</Var>
! <option value="" {{selected}}>{{width}}</option>
! </If>
! </select>
</WebClass>
|
|
From: Dashamir H. <das...@us...> - 2003-09-24 14:06:45
|
Update of /cvsroot/phpwebapp/documentation/templates/webobjects/pages
In directory sc8-pr-cvs1:/tmp/cvs-serv25762/templates/webobjects/pages
Modified Files:
listbox.txt
Log Message:
Index: listbox.txt
===================================================================
RCS file: /cvsroot/phpwebapp/documentation/templates/webobjects/pages/listbox.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** listbox.txt 20 Aug 2003 07:31:54 -0000 1.2
--- listbox.txt 24 Sep 2003 14:06:39 -0000 1.3
***************
*** 18,24 ****
<Include SRC="{{#LISTBOX_PATH}}listbox.html" />
<WebObject Class="listbox" Name="country"
rs = "rs_id"
! onchange = "alert(this.options[this.selectedIndex].text)"
! width = "---------------" />
The attribute "rs" is optional. Its default value (if not specified) is
--- 18,34 ----
<Include SRC="{{#LISTBOX_PATH}}listbox.html" />
<WebObject Class="listbox" Name="country"
+ value = "selected_value"
rs = "rs_id"
! onchange = "alert(this.options[this.selectedIndex].text)"
! width = "---------------" />
!
! The attribute "value" is optional. It has the value of the selected item
! (the item with id equal to this value is the one that will be selected).
! It can be a variable, like this: value="{{#var_name}}", in this case the
! value of this variable is used. If it is not given, then its default
! value is '{{#{{#obj_name}}}}' (in the example above, it would be '{{#country}}',
! since the name of the object is 'country'; this means that the value of
! the variable {{#country}} will determine which item will be displayed as
! selected).
The attribute "rs" is optional. Its default value (if not specified) is
|
|
From: Dashamir H. <das...@us...> - 2003-09-24 14:06:45
|
Update of /cvsroot/phpwebapp/documentation/templates/webobjects
In directory sc8-pr-cvs1:/tmp/cvs-serv25762/templates/webobjects
Modified Files:
webobjects.html
Log Message:
Index: webobjects.html
===================================================================
RCS file: /cvsroot/phpwebapp/documentation/templates/webobjects/webobjects.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** webobjects.html 15 Aug 2003 07:37:29 -0000 1.3
--- webobjects.html 24 Sep 2003 14:06:40 -0000 1.4
***************
*** 6,8 ****
--- 6,9 ----
<Include SRC="{{WOBJ_PATH}}displaytxt/displaytxt.html" />
</WebBox>
+ <br>
</div>
|
|
From: Dashamir H. <das...@us...> - 2003-09-24 14:01:43
|
Update of /cvsroot/phpwebapp/top10/templates/menu
In directory sc8-pr-cvs1:/tmp/cvs-serv24770/templates/menu
Modified Files:
menu.php menu.html
Log Message:
Index: menu.php
===================================================================
RCS file: /cvsroot/phpwebapp/top10/templates/menu/menu.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** menu.php 23 Sep 2003 14:04:14 -0000 1.1.1.1
--- menu.php 24 Sep 2003 14:01:36 -0000 1.2
***************
*** 39,44 ****
//add class variables for the tabs
WebApp::addVars( array(
! "about" => "menu-tab",
! "proj_list" => "menu-tab",
"preference_list" => "menu-tab",
));
--- 39,45 ----
//add class variables for the tabs
WebApp::addVars( array(
! "about" => "menu-tab",
! "proj_list" => "menu-tab",
! "proj_details" => "menu-tab",
"preference_list" => "menu-tab",
));
Index: menu.html
===================================================================
RCS file: /cvsroot/phpwebapp/top10/templates/menu/menu.html,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** menu.html 23 Sep 2003 14:04:14 -0000 1.1.1.1
--- menu.html 24 Sep 2003 14:01:37 -0000 1.2
***************
*** 4,7 ****
--- 4,9 ----
<td class="{{proj_list}}"><a href="javascript:select_tab('proj_list')">List of Projects</a></td>
<td width="3"></td>
+ <td class="{{proj_details}}"><a href="javascript:select_tab('proj_details')">Project Details</a></td>
+ <td width="3"></td>
<td class="{{preference_list}}"><a href="javascript:select_tab('preference_list')">Preference List</a></td>
<td width="3"></td>
|
|
From: Dashamir H. <das...@us...> - 2003-09-24 14:01:43
|
Update of /cvsroot/phpwebapp/top10/templates
In directory sc8-pr-cvs1:/tmp/cvs-serv24770/templates
Modified Files:
module.php
Log Message:
Index: module.php
===================================================================
RCS file: /cvsroot/phpwebapp/top10/templates/module.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** module.php 23 Sep 2003 14:04:12 -0000 1.1.1.1
--- module.php 24 Sep 2003 14:01:37 -0000 1.2
***************
*** 33,39 ****
function on_proj_details($event_args)
{
- $proj_id = $event_args["proj_id"];
WebApp::setSVar("module", "proj_details");
WebApp::setSVar("proj_details->proj_id", $proj_id);
}
--- 33,54 ----
function on_proj_details($event_args)
{
WebApp::setSVar("module", "proj_details");
+ WebApp::setSVar("menu->selected", "proj_details");
+
+ $proj_id = $event_args["proj_id"];
WebApp::setSVar("proj_details->proj_id", $proj_id);
+ }
+
+ function on_preference_list($event_args)
+ {
+ WebApp::setSVar("menu->selected", "preference_list");
+ WebApp::setSVar("module", "preference_list");
+ $username = $event_args["username"];
+ WebApp::setSVar("username", $username);
+
+ //redirect event to 'preference_list.change_username'
+ global $event;
+ $event->target = "preference_list";
+ $event->name = "change_username";
}
|
|
From: Dashamir H. <das...@us...> - 2003-09-24 14:01:43
|
Update of /cvsroot/phpwebapp/top10/templates/proj_details
In directory sc8-pr-cvs1:/tmp/cvs-serv24770/templates/proj_details
Modified Files:
proj_details.php proj_details.html proj_details.db
Log Message:
Index: proj_details.php
===================================================================
RCS file: /cvsroot/phpwebapp/top10/templates/proj_details/proj_details.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** proj_details.php 23 Sep 2003 14:04:14 -0000 1.1.1.1
--- proj_details.php 24 Sep 2003 14:01:36 -0000 1.2
***************
*** 28,38 ****
}
function onRender()
{
$proj_id = $this->getSVar("proj_id");
! $params = array("proj_id" => $proj_id);
! $rs = WebApp::openRS("project", $params);
$proj_data = $rs->Fields();
! WebApp::addVars($proj_data);
}
}
--- 28,54 ----
}
+ function on_set_project($event_args)
+ {
+ $proj_id = $event_args["proj_id"];
+ $this->setSVar("proj_id", $proj_id);
+ }
+
function onRender()
{
+ $this->add_project_data();
+ }
+
+ function add_project_data()
+ {
$proj_id = $this->getSVar("proj_id");
! if ($proj_id==UNDEFINED)
! {
! WebApp::addVar("proj_id", "UNDEFINED");
! return;
! }
!
! $rs = WebApp::openRS("get_project_data", compact("proj_id"));
$proj_data = $rs->Fields();
! WebApp::addVars($proj_data);
}
}
Index: proj_details.html
===================================================================
RCS file: /cvsroot/phpwebapp/top10/templates/proj_details/proj_details.html,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** proj_details.html 23 Sep 2003 14:04:14 -0000 1.1.1.1
--- proj_details.html 24 Sep 2003 14:01:36 -0000 1.2
***************
*** 1,27 ****
<WebBox ID="proj_details">
! <h2>{{proj_name}}
! ( <a href="http://sourceforge.net/projects/{{proj_id}}" target="_blank">{{proj_id}}</a>
! / {{group_id}} )</h2>
<table cellspacing="1" cellpadding="2" bgcolor="#dddddd">
<tr>
! <td bgcolor="eeeeee">License</td>
! <td bgcolor="#ffffff">{{license}}</td>
! </tr>
! <tr>
! <td bgcolor="eeeeee">Language</td>
! <td bgcolor="#ffffff">{{prog_lang}}</td>
</tr>
<tr>
! <td bgcolor="eeeeee" nowrap>Register Date</td>
! <td bgcolor="#ffffff">{{register_date}}</td>
</tr>
<tr>
! <td bgcolor="eeeeee">Members</td>
! <td bgcolor="#ffffff">{{members}}</td>
</tr>
<tr>
! <td bgcolor="eeeeee">Description</td>
! <td bgcolor="#ffffff">{{proj_descr}}</td>
</tr>
</table>
</WebBox>
--- 1,47 ----
<WebBox ID="proj_details">
! <Include SRC="{{./}}header.html" />
!
! <If condition="'{{proj_id}}'<>'UNDEFINED'">
<table cellspacing="1" cellpadding="2" bgcolor="#dddddd">
<tr>
! <td bgcolor="eeeeee" nowrap>General Info:</td>
! <td bgcolor="#ffffff">
! <table width="100%" cellspacing="0" cellpadding="0">
! <tr>
! <td align="right">License:</td>
! <td> {{license}}</td>
! <td align="right">Language:</td>
! <td> {{prog_lang}}</td>
! <td align="right">Register Date:</td>
! <td> {{register_date}}</td>
! <td align="right">Points:</td>
! <td> {{points}}</td>
! </tr>
! </table>
! </td>
</tr>
<tr>
! <td bgcolor="eeeeee">Description:</td>
! <td bgcolor="#ffffff">{{proj_descr}}</td>
</tr>
<tr>
! <td bgcolor="eeeeee">Members:</td>
! <td bgcolor="#ffffff">
! <Include SRC="{{./}}members.html" />
! </td>
</tr>
<tr>
! <td bgcolor="eeeeee">Evaluators:</td>
! <td bgcolor="#ffffff">
! <Repeat rs="evaluators">
! <a href="javascript:preference_list('{{username}}')">{{username}}</a>
! ({{points}}),
! </Repeat>
! </td>
</tr>
</table>
+ <br><br>
+
+ <Include SRC="{{./}}comments/comments.html" />
+ </If>
</WebBox>
Index: proj_details.db
===================================================================
RCS file: /cvsroot/phpwebapp/top10/templates/proj_details/proj_details.db,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** proj_details.db 23 Sep 2003 14:04:14 -0000 1.1.1.1
--- proj_details.db 24 Sep 2003 14:01:36 -0000 1.2
***************
*** 1,8 ****
<!--# -*-SQL-*- #tell emacs to use SQL mode #-->
! <Recordset ID="project">
<Query>
SELECT * FROM proj_list
WHERE proj_id = '{{proj_id}}'
</Query>
</Recordset>
--- 1,38 ----
<!--# -*-SQL-*- #tell emacs to use SQL mode #-->
! <Recordset ID="get_project_data">
<Query>
SELECT * FROM proj_list
WHERE proj_id = '{{proj_id}}'
+ </Query>
+ </Recordset>
+
+ <!--# members of the project #-->
+ <Recordset ID="members">
+ <Query>
+ SELECT username FROM proj_members
+ WHERE proj_id = '{{proj_id}}'
+ </Query>
+ </Recordset>
+
+ <!--# projects evaluated by each member #-->
+ <Recordset ID="evaluations" type="DynamicRS">
+ <Query>
+ SELECT proj_id
+ FROM preference_list
+ WHERE username = '{{username}}'
+ AND position < 10
+ ORDER BY position
+ </Query>
+ </Recordset>
+
+ <!--# users that have evaluated this project and the points given to it #-->
+ <Recordset ID="evaluators">
+ <Query>
+ SELECT username, (10 - position) AS points
+ FROM preference_list
+ WHERE proj_id = '{{proj_id}}'
+ AND position < 10
+ ORDER BY position
</Query>
</Recordset>
|
|
From: Dashamir H. <das...@us...> - 2003-09-24 14:01:43
|
Update of /cvsroot/phpwebapp/top10/docs
In directory sc8-pr-cvs1:/tmp/cvs-serv24770/docs
Modified Files:
ToDo.txt
Log Message:
Index: ToDo.txt
===================================================================
RCS file: /cvsroot/phpwebapp/top10/docs/ToDo.txt,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** ToDo.txt 23 Sep 2003 14:04:12 -0000 1.1.1.1
--- ToDo.txt 24 Sep 2003 14:01:37 -0000 1.2
***************
*** 1,5 ****
! * - Add comments to "Project Details" and finish it;
! add the possibility to delete a comment (only owner
of the comment or admin, with confirmation).
--- 1,5 ----
! * - Add comments to "Project Details" and finish it.
! - Add the possibility to delete a comment (only owner
of the comment or admin, with confirmation).
***************
*** 8,16 ****
Maybe it is useful to add the admin mode.
! * - Add copyright notices, put it in SF, contact SF support
for further help (filling the database with the relevant data).
Add a link from phpWebApp page to Top10 page.
- - Display the list of voters for each project.
- Write a script that is executed periodically and updates the
--- 8,15 ----
Maybe it is useful to add the admin mode.
! * - Install it in SF (together with the DB) and contact SF support
for further help (filling the database with the relevant data).
Add a link from phpWebApp page to Top10 page.
- Write a script that is executed periodically and updates the
***************
*** 22,29 ****
one, invalidate the first request.
- - Display the number of comment for each project and sort also
- by the number of comments.
-
- - Create a DB diagram and any other docs.
- -
--- 21,23 ----
|
|
From: Dashamir H. <das...@us...> - 2003-09-24 14:01:43
|
Update of /cvsroot/phpwebapp/top10/templates/proj_list
In directory sc8-pr-cvs1:/tmp/cvs-serv24770/templates/proj_list
Modified Files:
proj_list.php proj_list.html
Log Message:
Index: proj_list.php
===================================================================
RCS file: /cvsroot/phpwebapp/top10/templates/proj_list/proj_list.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** proj_list.php 23 Sep 2003 14:04:12 -0000 1.1.1.1
--- proj_list.php 24 Sep 2003 14:01:36 -0000 1.2
***************
*** 33,37 ****
$order = WebApp::getSVar("filter->order_by");
! if ($order=='points') $order .= " DESC";
WebApp::addVar("order", $order);
$this->highlight(); //highlight the search term
--- 33,40 ----
$order = WebApp::getSVar("filter->order_by");
! if ($order=='points' or $order=='nr_comments')
! {
! $order .= " DESC";
! }
WebApp::addVar("order", $order);
$this->highlight(); //highlight the search term
Index: proj_list.html
===================================================================
RCS file: /cvsroot/phpwebapp/top10/templates/proj_list/proj_list.html,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** proj_list.html 23 Sep 2003 14:04:12 -0000 1.1.1.1
--- proj_list.html 24 Sep 2003 14:01:36 -0000 1.2
***************
*** 15,21 ****
<a href="javascript:proj_details('{{proj_id}}')">{{proj_id}}</a>
</td>
<td bgcolor="white">{{proj_name}}</td>
<td bgcolor="white">{{proj_descr}}</td>
- <td bgcolor="white"><strong>{{points}}</strong></td>
<td bgcolor="white">
<input type="checkbox" name="project" value="{{proj_id}}">
--- 15,22 ----
<a href="javascript:proj_details('{{proj_id}}')">{{proj_id}}</a>
</td>
+ <td bgcolor="white" align="right"><strong>{{points}}</strong></td>
<td bgcolor="white">{{proj_name}}</td>
+ <td bgcolor="white" align="right">{{nr_comments}}</td>
<td bgcolor="white">{{proj_descr}}</td>
<td bgcolor="white">
<input type="checkbox" name="project" value="{{proj_id}}">
|
|
From: Dashamir H. <das...@us...> - 2003-09-24 14:01:43
|
Update of /cvsroot/phpwebapp/top10/templates/proj_list/filter
In directory sc8-pr-cvs1:/tmp/cvs-serv24770/templates/proj_list/filter
Modified Files:
filter.html
Log Message:
Index: filter.html
===================================================================
RCS file: /cvsroot/phpwebapp/top10/templates/proj_list/filter/filter.html,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** filter.html 23 Sep 2003 14:04:12 -0000 1.1.1.1
--- filter.html 24 Sep 2003 14:01:36 -0000 1.2
***************
*** 33,36 ****
--- 33,39 ----
Number of Points
</option>
+ <option value="nr_comments" {{nr_comments_selected}}>
+ Nr of Comments
+ </option>
<option value="proj_id" {{proj_id_selected}}>
SF id (alphabetically)
|
|
From: Dashamir H. <das...@us...> - 2003-09-24 14:00:52
|
Update of /cvsroot/phpwebapp/top10/templates/proj_details/comments
In directory sc8-pr-cvs1:/tmp/cvs-serv24571/templates/proj_details/comments
Added Files:
new_comment.html comments.php comments.html comments.db
Log Message:
--- NEW FILE: new_comment.html ---
<table width="100%">
<tr>
<td colspan="2">Submit a new comment:</td>
</tr>
<form>
<tr>
<td>Username:</td>
<td>
<input type="text" size="20" value="{{username}}">
</td>
</tr>
<tr>
<td>Subject:</td>
<td>
<input type="text" size="80">
</td>
</tr>
<tr>
<td valign="top">Comment:</td>
<td>
<textarea rows="10" cols="70"></textarea>
</td>
</tr>
<tr>
<td></td>
<td>
<a class="button" href="">Submit</a>
</td>
</tr>
</form>
</table>
--- NEW FILE: comments.php ---
<?php
class comments extends WebObject
{
function onRender()
{
}
}
?>
--- NEW FILE: comments.html ---
<WebBox ID="comments"
<Repeat rs="comment_list">
<IfEmpty>
No comments submitted yet.<br>
</IfEmpty>
Username: {{username}}, Date: {{date}} <br>
Comment: <br>
{{comment}}
<hr>
</Repeat>
<br>
<Include SRC="{{./}}new_comment.html" />
</WebBox>
--- NEW FILE: comments.db ---
<!--# -*-SQL-*- #tell emacs to use SQL mode #-->
<Recordset ID="comment_list">
<Query>
SELECT comment_id, username, date, comment
FROM comments
WHERE proj_id = '{{proj_id}}'
</Query>
</Recordset>
|
|
From: Dashamir H. <das...@us...> - 2003-09-24 14:00:52
|
Update of /cvsroot/phpwebapp/top10/templates/proj_details
In directory sc8-pr-cvs1:/tmp/cvs-serv24571/templates/proj_details
Added Files:
proj_details.js proj_details.css members.html header.html
Log Message:
--- NEW FILE: proj_details.js ---
// -*-C-*- //tell emacs to use C mode
function change_project()
{
var proj_id = document.change.proj_id.value;
SendEvent("proj_details", "set_project", "proj_id="+proj_id);
}
function set_project(proj_id)
{
SendEvent("proj_details", "set_project", "proj_id="+proj_id);
}
function preference_list(username)
{
SendEvent("module", "preference_list", "username="+username);
}
--- NEW FILE: proj_details.css ---
#project_header
{
width: 100%;
margin: 0;
margin-top: 10px;
margin-bottom: 5px;
}
#proj_id
{
border: 1px solid #bbcccc;
background-color: #f0ffff;
color: #000088;
padding: 1px;
}
#proj_id:hover
{
border: 1px inset #aabbbb;
}
--- NEW FILE: members.html ---
<table border="0" cellspacing="0" cellpadding="0">
<Repeat rs="members">
<tr>
<td>{{CurrentRecNr}}. </td>
<td>
<a href="javascript:preference_list('{{username}}')">
{{username}}</a>
</td>
<td> : </td>
<td>
<Repeat rs="evaluations">
<a href="javascript:set_project('{{proj_id}}')">
{{proj_id}}</a>,
</Repeat>
</td>
</tr>
</Repeat>
</table>
--- NEW FILE: header.html ---
<table id="project_header" border="0">
<tr>
<If condition="'{{proj_id}}'=='UNDEFINED'">
<td>
No project selected! Please enter a project in the project textbox.
</td>
</If>
<If condition="'{{proj_id}}'<>'UNDEFINED'">
<td>
<h2><a href="http://sourceforge.net/projects/{{proj_id}}" target="_blank">{{proj_name}}</a></h2>
</td>
</If>
<td align="right" valign="bottom">
<form name="change" onsubmit="change_project(); return false;">
Project:
<input id="proj_id" type="text" size="15" value="{{proj_id}}">
<a class="button" href="javascript:change_project()">Change</a>
</form>
</td>
</tr>
</table>
|
|
From: Dashamir H. <das...@us...> - 2003-09-24 13:57:22
|
Update of /cvsroot/phpwebapp/top10/templates/proj_details/comments In directory sc8-pr-cvs1:/tmp/cvs-serv23866/templates/proj_details/comments Log Message: Directory /cvsroot/phpwebapp/top10/templates/proj_details/comments added to the repository |
|
From: Dashamir H. <das...@us...> - 2003-09-23 14:56:14
|
Update of /cvsroot/phpwebapp/top10/docs In directory sc8-pr-cvs1:/tmp/cvs-serv29736 Modified Files: database.png Log Message: Index: database.png =================================================================== RCS file: /cvsroot/phpwebapp/top10/docs/database.png,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 |
|
From: Dashamir H. <das...@us...> - 2003-09-23 14:52:46
|
Update of /cvsroot/phpwebapp/top10/docs
In directory sc8-pr-cvs1:/tmp/cvs-serv29081
Added Files:
database.png database.xmi
Log Message:
--- NEW FILE: database.png ---
PNG
1W
«²¬ÊâT®NzãÕ¡êDÄXuF'Q=:Ä÷ ÆøWÄÎûù(ªÜÉÌ;3¶É3ó¾ï<ìáÃB¡êðÿô Bhù`àG!ª~B¨`àG!ª~B¨`àG¥Á2Ì(³¦w±§°D«ÿKoÜï¹µÍZíNm4]é£A¨Èðq>Tç}OèR¨À
ÆýFÏûýn=ÌBYÃR¹w±§°DG¸úxé=๠q¿QµE¥Þ¡nR5IËüZê0X~ÅbñïãC_e¯0ta¨ï|à(%Õ~°Ýü¹T»F¨äjVú
"{
àÙ`àL ¹¹¹ý`;3ÊtìxÁú¦µTPiá?Zm³V£73;]Wá¿å E¸/_.SûËoõaÉyÊù¾%¹!êÍV~ ó`8kùmªQ5ðÙ
´4« KC»S«Qk2ºRÂÃ0¦WLs+ÔBë«0áËáe<F
Ñ4
á¾8óÄß}~~ÔïÒë_ÖµDøZX=÷=òy×û]ÝvÃ,t¾Û)'ä
×OoÖÕé¼=iÜo»>6øA
5 ðû=j¹äï@ï´w³´È ¹ûÞBóø$Åïn<
³àêtA
4ïl.¦Miw;>7½b}K
óøÖW[ÃÃÁOêjm³6ûSɶmì$k:`RmSÅÇãõöËårºîz¿«ûd7
¿¸¨~^íøs ?àÏømö]/g}¹äûZλ¹ïí¿îÝ»'-éêîR?¯îêîÊn-çÁäܵz»ºùżßVñ£Ò©ÿý$I\.WÔ)R´É©dìfn ëÉ©¤ô£Ùªè²&âì$«Þ¦z¡óJë$ËåD1Ï þ¼ë××çú)jÞѳ»+²å&¥8-z?ôr±çr½EÝ0£QGhvhrn*!¢ëxW±m>ÚÄû'¯´¼^®¨S!õö
cÑmV¬
VÉ}Ad?:zbë¨%_°'
v.ºô/²Ai|ãxß©AßÇ-¿uqÜð¢`mñ¼<þÇ>ÕÖþϺõD<ÎÁ?,¯ý=*î.¿ï·¶ÃÞñ÷;í©ÇsH±¹©M¡ n0þîlÖný.µBAö¸
·
U¥
|2ÿ~
«~
ååð
ùO»J²w´"ärùʳðôæß{ª¥ûä
g%ÉêÌ·Üçµ;íÕ¨5Ì5Æ~خ١±)Ý]Bù `;ì]÷asS8%é-rä(öt¥$\u0ü£eT®~c·âSµ×¶
ènÍg¾Éùµ¦÷l¯fÇ<¥5j
µê|·SQ§h;ØÖ?Øß¤jʱ/ìê_¨
øîUOô*Ç'
ÿ¨ÌrÜñ¼~
9³x¢ùa²Þá7kµMÛ
c?Êc¿L¦»ñµ_»su×ð-á8kzðáåáeYòã|
ÄþBû¸<
ï]¿[
³0p!Ûº¥
9K¢å,Ô¦Y«Ü¨´îæîpÉ)QX8Y!T%°ÒOEbÜß°Ç!¯70£±á/½Pûäïj ûãã¬|¡IÓf> ÷§
ÿÉ)¦)AÓvaÕïV@óªðÕ1ËkƳjü¼H½UÎö6)³ë×IfàO&EÃv»êÞ^$7,ËI˳¯Ò/©
\¿¸ß±Ú
4
®ÚT[(3Àü-¦ßj}Ò¡µH¾Î
E}ÐrEÑòªñFÄåËSñï&m½Òòø?ÙØÉ£ã~(î®
Á=ô
EânÂ~Ä7z-
³þ¶åj<_#¯Ýö Qëêª'(7(Zök]Ç»vªéª¹Y©(¶¿a-IÅõì)Ò¯2ãuÀZÕùB+Éڥܨpü/_üï´³ÐýA0ßÊt#Õû¿:"øiØÙaU*©ÏqA¡KÌ©ìDQ ñ|$ôö5wÜgìpÿ1 ð
_óÿÙi;ä[PáuRA@
x?´¿ajÚFç«X±#JIæ,?Ð×ÙôÜï{ÚfUöjÎó¦ýÍÅÀÙÕ?1ÎvwõE¾îMNÜ»7l:Ð
<¿ÂëÔ&j$ì³Ï>×Ö¤2K!yÞå+O7Rêíª±¿Çs;=!y½A^oÐïvä,1_ä¬!?um51ÎÊåDÎ
ý.5¹LN4M BQvi¡â
_¬{ªåÙ¦¶ßµ·põ"È×äÿÓ ½ÖîthwÚVöxª
3ýJé)©,ÜAIQ°¨ÂëúÝjfÔÿã#Í;5æßÏóO^ÚQ¾ðÃ#âtR½]Ja?lJN$§Fkþ%æz
QDÁB2Ññ¡K̲B+b"Î}³¼f_k èèìi³¨,,ËE®Ç`HPmiH-'êþAæòÔ´/ª¶(=ôÁpwøà¹°õ5S2):øü=îþó¡K£Ùÿô¿Ñ6lTÚyx~.ý3ËrùÀ~Ø7taMþãÍ1ƯßÖïöó¼èúÏü{wFVê8k;ÔýÃibFcá+cZçîpE6ÐH5 T«=µsv!Ê:½fÁ\ÅÏ#a!6Í¿wÓ
(&û?ëÒ6«
¯.1E^ON#Þø÷
&¢aÃ|@?à¸á"eOC¸G[o|ݾ2½_\ãÕ%#¥Ñäõ9ƹÊQx=çP>ßqéÒ&{=÷{V÷{ss Îwï^K2Vp¿ku¿;÷:p1g³¨ÚÕÀð^a:ùôÓû¿ÅÒßøIôÄiÑòQµUeÚ¯_c®Yç¦mt¡i¤F?E}çÂÂ
«y*ÚßXØ3ÀÒÃZÙÓ='¬Ò@Dæ¯ÑE4^-òX,¼¾âðâ$¢×ÒÕzúf¢ºà¸»<
Å4BÔsüÔ
E®â:jñda;Ôm0:%EqA-ägÛö¹¶¶önã¾æ!
bßo;âÿL,´ÁµË°Ç!¯70£±á/½S»k ûãã¬|¡IÓf> ÷°Èþ`gàLèÍy´j ä
wor¶E4^QR!SWbôT̼]ByêyÈë
0ÉäÈòQIÈråÒ¿ñµ?õ´ÏwP_¬OI½føuOíûá?.6iÚ²?òîañ¥5N7.pêÙZü°ï+ÒV£Ez`ÊU¤¡
òð¿sýáÃ;e01Î
Þ®§yÓ§ÚÚ@7RÉ©Ò\2æl¼$-¯R©.ý5w¥J$3ð§*!®ÈÑ ªÒß×)®éz*ã¥ÿ³NõÖm"í°WJרÿjøKo §¬¯.Ø¥
.Ne| «gÊØªý°Êqÿ¨×®Ü]ý
~ +NÜC+a%&÷Í`!s´3ÀOÑqVõL
N³Öã
ï!L¿*Ii:Í'ÆYAÔÛÕâ4ïpúT[èFªT9Õs6^¡ûnî7òÕH"°´P¥ß¥Ï·2ÇqúúÐ
ÐráÒ-èK
ÚDýÁgkS=£ì=ëÖîTs
ìU8L¿ªÞñ/êÔ@üû¸ô¿ìmV½M]x5§Î!´góª2k2ðËd:é«e&¯÷gÉd»Ã
.̯Àû¡¹ÆH뤿^ªáQUÃô;¨ê&ðK Ô
¬0|5ÂßçK²/?qoÉ÷®óNj=eØc°´[ìoÙ¥éîFcs¥Ò_µ;µ
´h
[+;d:üÓP22ÙÒ¿cÕ¿¥Ïæ!&Çz"ôÙË'ÆYý.GÊBQ-2nøj$v+nÐ;¤ßfg\×ïr
eî[q2îÆ×þ¤¿¨ôÖ©ÞÚ°ÒGV;×Q>ùÿÛ»ÿÐ6îûà/AüånØ ÉÐdøJ<ªô×Xú¦,ÒÇaÒA¬®PÛ54ö©ùòìÎJF9åÛJ)k¥ÈcYìA»ÐÎÊv:å¥,Uæ~YJNÐÐØL1äûÇ¥b~ø·%=èùô¾»÷%²^~¿î÷kDKÈw4îÝk8f"q®÷ÕÐÀÛÃê¬jÚfx$5)EÏf2*SÏ8´¼ý+p
-×è:ÖÖHõZh}=ÂHè Ô5Y²ê{Vz©F|2@åÛ#~,´^åðA
/às²ù»¾üïKBÓKð-\mÐù^ü°µÅ¼pûzÂ2
ÚwìP6ÄZý
¿Üp5»°>mÖfèT|[`5<ü=þÊO¨|Kñ[~`á"
8û_L/ùø
oÃÆê
hb_c6û ½Ù"ð<GDDÌÎ'e6X¥Ë
½3ºy³£çð
¾?½?e)ÿ9ÀFÐþÓ¸ÅxúýÑÀѱËè`lìãÙl!¢_¸~ÚKsÚFU%ÏÑÃîÍm/tÞW#c';3qF#LFUUÇ.'EÑm
gõO\OI_ÉîöõééÈÙø'a~³ó©Îðo}]ΤôÃuÚ÷XFÞîô:÷[ÅX8;GßùNÁ:¢ºÞy»gUuàÄàÿ}Ihâ³YUÍ86lc± }oÒÙ¬êØçí~©Mg³ÅÎ
ÑÖÝoÔÞ«üöÒ[ww~;
SÒãOuî4»;'?uC2n1²,Sº)
Ç1s½¯ÞVgUÓ6cpÀS¤}àu×3pà§}Wÿz.5)EÏf2*SÏ8´¼ýV±¡¦\ø}¿åÆõî
ücÊ×¢ãIC,½:·j}AÑX,<å÷Räýѱý¯µ÷ú"Ñ?OM]r>k½5HD¢º^ßËmÊ×cc
{H7äuè=T©Zu¬Ñ5Þ»ZìQa?ËÕ
/è:qüÐN³`miVUõ\ÄÇóu·9ÉQ첨ªª ð+Iu6cÚbåj?B%3lâøýh4öqç]´FÒÍTʨ£ø°ªxã2¯qQ§ÕS0ðO¥${«e,ëpíïÕ6J7d{«mpp[]½¯Fè.Q©Ô¥åZ
ÛÈEÑÞê5ÔÙ\ÏöÒù\Ý>ç'x§&%û^/Ûàà8Ò)PSØzöÁó&ÿ%9QèÔö°î¶xt¨*×SÆ>
jD×@ññɵ¨n/í+ô_¦úèþlVuìórõÌí]ÊfãáÓ>"¢»dßç57 ÙoâSÿ¼0ò¡è?ÕÚI¥lP$×ÚûjÄ÷JûÕ¿ýéÚÄõT\®nÿ-ìLüömNAPçèÂyÿÈíá>h_ïNÁ$ÙõÓÞýùEuGº
&÷ÐùÐäæ8G®ò²ÿxç]Ú "zfþ¤
ãå?)t®|B;òî(·Õ%'uçÆ`-ÛÈOräëî¾ðæu{ù×ywThrk£Dí¼%Gn°fô¿øôWà)·#"í/åÄgÉéé´ÿØ!ª#çº_jþnTk_$Z²A\kàõn×~«VÕ4QË¿*ñÏét¦ÿX±lÉæP%zF¹³¸D¢ó'ÖÆm¦ÃEQH5KÃjSî(ö}^ÿ±îübº#BÃéiÿèÐùçm=EN&þz.;¿}{¬í`˼.ÌÀ3dúf:rv$þIØ¼Ã¤Óø.Ù^³YÈ~ÿ÷¿ÝÞÖ=î%äw{ù×HDæ'
ĹìL¼¿¯½×ÒÝÖ~àOßʰí¡ÌtK!"ç´yNg´çER©%ɵòÛKÝ[,«Ó¨bý}í]¹Y9XD1QùmpX=S_H«×CXK¡SÃÚþÂÞüº#¢ÃµÅìy¹]U)ñÙgdhßXÑFÅÍÀ9äÄñîf ^I.lø{júfÚßwêJltÏUòDdßká¶rÙUøE
Û`
èå5m74-MB¯°#"YV´Ø/§eiîærº1,
WÏe2ºKTGÚHjÿx·ÿx·ö<·zOî½Õ{î9Òæ9Ò¦=~ìãàÚöÖBÿñC¡·ûú®áÜÇKn¤¡ý¨4´4ϼÚsíãßÂQFQùí|<>þT§ù1Ó¹3~ëKñnÌÀèv`á^Ü®xoùí¥ã±îî%/aù×HDÑ3±ÈÙQs)3Oà
G?ðÛl5m3uì7¹äç)ëu·¥q)ðæ`$äÓJôl¬ûŶå÷ k
GüÇȲ¢ýªÛ¸Ì\®½ÕBs4t1Öö¬½³Ë¿üN@Åavì£ í¯ÃÙÿ$¨¥
};ø±·ZìaEQ{r?ïå±EõjQCÝÆcôíLu>å[rñs¼e^ãTJê9<ðåDZ?á2~ªe)þIæèGÛü]×ÀÉ!"¢:cáÔ¤Änvìlît´^ï^~k-3+|8âózB~ßÝþsùJÄ60ñOÞÓòsm~í[Hº³:Mõ#"
½3lÚf²î¶H¸¤»ÄqyG£îIO5D·±uw3Ã0¡·§RRGû±üóN\:ºì^èrÝ^þ5fîdHNg¯"ÑýÌëfáÀjÐñÑN³ ÍÅÈ'4ñ7L¥.-׿Ðzîy.Ë6è|I/þIX÷øí§
P£¸\B7[{ÜÏûG>h#
ïÑÐ#ßsi1ü®OxÝDäØçeêócÂØGAª£ì¬ê=LÝLù1aäÀÂ3jã5«vté:
u@·óº]ÏòÎ÷÷ Eÿ ^ìÿËýüý¯µ÷õ:°Y{
«×½\·-ó2¯ÑºÇÒþ¢ÓöLOã6SðçÚõíî©É¡â{Á1ÜÓÊXüè
U*@í¼iñÌ·ÿï-.í{KÜá^_ÑÉUßŨ°û
dà·<mó÷yðê½
°tË©¢UFÑÖ7-¿îÈÒOV9Ý¡|*2bYU½ý`È÷¿
lÆ.'¯Z¿ë `à×-DÍæ¶ºz_Ð]Jþ=å°{0ùùW§&%û^¯}]ÙëȧIMJ?Õ¹ÓìÖn*)©UFÉí;ïhÑ3±æ]==/½´âÕ£ªÓõë5bÉÜÉÛy]ápö%¿&Äj[ÁÀ¿°5ååB-?0Û÷yÍMBöøÔ?/|(úODË<e6«:öy-ìLüöíøÊ\@\"²·ZÄñð7ßÄ[ö4»÷S^åÚÃ}°ô¢ÎZÝN
|¯]Ú¹*Àñù£Ýi¹¡Á`ËÍY8M$ÄRòù¦R½Õ˲u¸ö÷Î;in¼¤hÞ¡ÉMD®öNê@ÉÉ%§¤Ø÷zÈåìí}%Ø2{U£Xª^!jm£M}Nû¢:ây®û¥¶èïFË<¥øçt:Ó¬¨D1iEYX¤D·ÜÈ¢ª¤äª;RÜÒε!OÑo¤¯+7J1ï0éL³¸Kv§×l²ßÄÿýïrW(qÌ<Úð«gnÿëR6öÝ¥Bã¥yJ¤#D4öQÐÿëÝhÓPL.!½))Z¥±X0xÊ÷à e÷jÿ°qüó
Qkµ\¨tKÉ5 "ÞÄ¥Ó2Oº!·µ
BO¡vª´Í[h¥Æß«ðÿ¾¸;Øð¡½ïñ/ªÆ³2«îÜéfêèܳXøPR0ðwt-âî;Ç1²<¶ý
þ
u©È<Êó.¶ÁÁqèûTݺÔóêF/¬ë¼°V´v¢â¦KÖÀÐèÖ
ÇÃD4OùÚ_°ÿQ¤»DDâ§I®¬-f"¾öx~ÙÖsx@QT|ZSa¹\(GÛA»:«IQäìÈ¡p¼î±¶=/·«*%>È/ù¨Îf´ë×q
¼9HwI¾¥DÏÆº_lÓÝ}QkÍÏå!Ýcÿ÷Z÷ÏWà-
5Ör¹¹¥W
ɪê
¡óö~ßoy¢qz
Ñ~´î¶xãö AàÃ×êõE!6v·î±´¿è´=ÓÓ¸Í<å¹v=e{¦{jrH+ó¨fÕ.§nõ¾
ò\»²=Ó=59ß ÿµö¾þÓ³£Cç6kOÃ
--- NEW FILE: database.xmi ---
<?xml version="1.0" encoding="UTF-8"?>
<XMI xmlns:UML="org.omg/standards/UML" verified="false" timestamp="" xmi.version="1.2" >
<XMI.header>
<XMI.documentation>
<XMI.exporter>umbrello uml modeller http://uml.sf.net</XMI.exporter>
<XMI.exporterVersion>1.1</XMI.exporterVersion> </XMI.documentation>
<XMI.model xmi.name="database" href="/var/www/html/top10/docs/database.xmi" />
<XMI.metamodel xmi.name="UML" href="UML.xml" xmi.version="1.3" /> </XMI.header>
<XMI.content>
<docsettings viewid="1" documentation="" uniqueid="45" />
<umlobjects>
<UML:Class stereotype="" package="" xmi.id="2" abstract="0" documentation="" name="proj_list" static="0" scope="200" >
<UML:Attribute stereotype="" package="" xmi.id="9" value="" type="string" abstract="0" documentation="" name="proj_id" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="10" value="" type="string" abstract="0" documentation="" name="proj_name" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="11" value="" type="string" abstract="0" documentation="" name="proj_descr" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="12" value="" type="int" abstract="0" documentation="" name="category" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="13" value="" type="int" abstract="0" documentation="" name="status" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="14" value="" type="int" abstract="0" documentation="" name="license" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="15" value="" type="int" abstract="0" documentation="" name="prog_lang" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="16" value="" type="int" abstract="0" documentation="" name="register_date" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="17" value="" type="int" abstract="0" documentation="" name="group_id" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="18" value="" type="int" abstract="0" documentation="" name="points" static="0" scope="200" /> </UML:Class>
<UML:Class stereotype="" package="" xmi.id="3" abstract="0" documentation="" name="preference_list" static="0" scope="200" >
<UML:Attribute stereotype="" package="" xmi.id="19" value="" type="int" abstract="0" documentation="" name="proj_id" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="20" value="" type="int" abstract="0" documentation="" name="username" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="21" value="" type="int" abstract="0" documentation="" name="position" static="0" scope="200" /> </UML:Class>
<UML:Class stereotype="" package="" xmi.id="4" abstract="0" documentation="" name="proj_members" static="0" scope="200" >
<UML:Attribute stereotype="" package="" xmi.id="22" value="" type="int" abstract="0" documentation="" name="proj_id" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="23" value="" type="int" abstract="0" documentation="" name="username" static="0" scope="200" /> </UML:Class>
<UML:Class stereotype="" package="" xmi.id="5" abstract="0" documentation="" name="categories" static="0" scope="200" >
<UML:Attribute stereotype="" package="" xmi.id="24" value="" type="int" abstract="0" documentation="" name="category" static="0" scope="200" /> </UML:Class>
<UML:Class stereotype="" package="" xmi.id="6" abstract="0" documentation="" name="languages" static="0" scope="200" >
<UML:Attribute stereotype="" package="" xmi.id="25" value="" type="int" abstract="0" documentation="" name="prog_lang" static="0" scope="200" /> </UML:Class>
<UML:Class stereotype="" package="" xmi.id="7" abstract="0" documentation="" name="licenses" static="0" scope="200" >
<UML:Attribute stereotype="" package="" xmi.id="26" value="" type="int" abstract="0" documentation="" name="license" static="0" scope="200" /> </UML:Class>
<UML:Class stereotype="" package="" xmi.id="8" abstract="0" documentation="" name="requests" static="0" scope="200" >
<UML:Attribute stereotype="" package="" xmi.id="27" value="" type="int" abstract="0" documentation="" name="request_id" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="28" value="" type="int" abstract="0" documentation="" name="time" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="29" value="" type="int" abstract="0" documentation="" name="username" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="30" value="" type="int" abstract="0" documentation="" name="ip" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="31" value="" type="int" abstract="0" documentation="" name="type" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="32" value="" type="int" abstract="0" documentation="" name="data" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="33" value="" type="int" abstract="0" documentation="" name="status" static="0" scope="200" /> </UML:Class>
<UML:Class stereotype="" package="" xmi.id="34" abstract="0" documentation="" name="comments" static="0" scope="200" >
<UML:Attribute stereotype="" package="" xmi.id="35" value="" type="int" abstract="0" documentation="" name="comment_id" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="36" value="" type="int" abstract="0" documentation="" name="proj_id" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="37" value="" type="int" abstract="0" documentation="" name="username" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="38" value="" type="int" abstract="0" documentation="" name="comment" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="39" value="" type="int" abstract="0" documentation="" name="date" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="40" value="" type="int" abstract="0" documentation="" name="ip" static="0" scope="200" /> </UML:Class> </umlobjects>
<diagrams>
<diagram snapgrid="0" showattsig="0" fillcolor="#ffffc0" showgrid="0" showopsig="0" usefillcolor="1" snapx="10" snapy="10" showatts="1" xmi.id="1" documentation="" type="402" showops="0" showpackage="0" name="database diagram" localid="30000" showstereotype="0" showscope="0" font="Sans,10,-1,5,50,0,0,0,0,0" linecolor="#ff0000" >
<widgets>
<UML:ConceptWidget usesdiagramfillcolour="0" width="94" showattsigs="603" usesdiagramusefillcolour="0" x="42" linecolour="#ff0000" y="93" showopsigs="603" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="187" usefillcolor="1" showattributes="1" xmi.id="2" showoperations="0" showpackage="0" showscope="0" showstereotype="0" font="Sans,10,-1,5,50,0,0,0,0,0" />
<UML:ConceptWidget usesdiagramfillcolour="0" width="105" showattsigs="603" usesdiagramusefillcolour="0" x="246" linecolour="#ff0000" y="183" showopsigs="603" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="68" usefillcolor="1" showattributes="1" xmi.id="3" showoperations="0" showpackage="0" showscope="0" showstereotype="0" font="Sans,10,-1,5,50,0,0,0,0,0" />
<UML:ConceptWidget usesdiagramfillcolour="0" width="104" showattsigs="603" usesdiagramusefillcolour="0" x="244" linecolour="#ff0000" y="96" showopsigs="603" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="51" usefillcolor="1" showattributes="1" xmi.id="4" showoperations="0" showpackage="0" showscope="0" showstereotype="0" font="Sans,10,-1,5,50,0,0,0,0,0" />
<UML:ConceptWidget usesdiagramfillcolour="1" width="78" showattsigs="603" usesdiagramusefillcolour="1" x="412" linecolour="none" y="99" showopsigs="603" usesdiagramlinecolour="1" fillcolour="none" height="34" usefillcolor="1" showattributes="1" xmi.id="5" showoperations="0" showpackage="0" showscope="0" showstereotype="0" font="Sans,10,-1,5,50,0,0,0,0,0" />
<UML:ConceptWidget usesdiagramfillcolour="1" width="78" showattsigs="603" usesdiagramusefillcolour="1" x="416" linecolour="none" y="166" showopsigs="603" usesdiagramlinecolour="1" fillcolour="none" height="34" usefillcolor="1" showattributes="1" xmi.id="6" showoperations="0" showpackage="0" showscope="0" showstereotype="0" font="Sans,10,-1,5,50,0,0,0,0,0" />
<UML:ConceptWidget usesdiagramfillcolour="1" width="65" showattsigs="603" usesdiagramusefillcolour="1" x="421" linecolour="none" y="237" showopsigs="603" usesdiagramlinecolour="1" fillcolour="none" height="34" usefillcolor="1" showattributes="1" xmi.id="7" showoperations="0" showpackage="0" showscope="0" showstereotype="0" font="Sans,10,-1,5,50,0,0,0,0,0" />
<UML:ConceptWidget usesdiagramfillcolour="0" width="79" showattsigs="603" usesdiagramusefillcolour="0" x="275" linecolour="#ff0000" y="335" showopsigs="603" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="136" usefillcolor="1" showattributes="1" xmi.id="8" showoperations="0" showpackage="0" showscope="0" showstereotype="0" font="Sans,10,-1,5,50,0,0,0,0,0" />
<UML:ConceptWidget usesdiagramfillcolour="0" width="91" showattsigs="603" usesdiagramusefillcolour="0" x="44" linecolour="#ff0000" y="355" showopsigs="603" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="119" usefillcolor="1" showattributes="1" xmi.id="34" showoperations="0" showpackage="0" showscope="0" showstereotype="0" font="Sans,10,-1,5,50,0,0,0,0,0" />
<UML:NoteWidget usesdiagramfillcolour="1" width="149" usesdiagramusefillcolour="1" x="573" linecolour="none" y="151" usesdiagramlinecolour="1" fillcolour="none" height="50" usefillcolor="1" xmi.id="42" text="Helper tables used by listbox-es." font="Sans,10,-1,5,50,0,0,0,0,0" />
<UML:NoteWidget usesdiagramfillcolour="1" width="179" usesdiagramusefillcolour="1" x="443" linecolour="none" y="365" usesdiagramlinecolour="1" fillcolour="none" height="50" usefillcolor="1" xmi.id="44" text="Keeps the requests that require confirmation." font="Sans,10,-1,5,50,0,0,0,0,0" />
<UML:FloatingTextWidget usesdiagramfillcolour="1" width="285" usesdiagramusefillcolour="1" x="220" linecolour="none" y="26" operation="" usesdiagramlinecolour="1" role="700" fillcolour="none" height="28" usefillcolor="1" seqnum="" xmi.id="45" text="The database diagram of Top10" font="Sans,14,-1,5,50,0,0,0,0,0" /> </widgets>
<messages/>
<associations>
<UML:AssocWidget totalcounta="3" indexa="1" totalcountb="2" indexb="1" widgetbid="4" widgetaid="2" documentation="" type="503" >
<UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="138" linecolour="none" y="132" operation="" usesdiagramlinecolour="1" role="701" fillcolour="none" height="0" usefillcolor="1" seqnum="" xmi.id="-1" text="1" font="Sans,10,-1,5,50,0,0,0,0,0" />
<UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="212" linecolour="none" y="123" operation="" usesdiagramlinecolour="1" role="702" fillcolour="none" height="0" usefillcolor="1" seqnum="" xmi.id="-1" text="1..n" font="Sans,10,-1,5,50,0,0,0,0,0" />
<UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="190" linecolour="none" y="138" operation="" usesdiagramlinecolour="1" role="703" fillcolour="none" height="0" usefillcolor="1" seqnum="" xmi.id="-1" text="" font="Sans,10,-1,5,50,0,0,0,0,0" />
<linepath>
<startpoint startx="136" starty="155" />
<endpoint endx="244" endy="121" /> </linepath> </UML:AssocWidget>
<UML:AssocWidget totalcounta="3" indexa="2" totalcountb="2" indexb="1" widgetbid="3" widgetaid="2" documentation="" type="503" >
<UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="138" linecolour="none" y="219" operation="" usesdiagramlinecolour="1" role="701" fillcolour="none" height="0" usefillcolor="1" seqnum="" xmi.id="-1" text="0..1" font="Sans,10,-1,5,50,0,0,0,0,0" />
<UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="214" linecolour="none" y="219" operation="" usesdiagramlinecolour="1" role="702" fillcolour="none" height="0" usefillcolor="1" seqnum="" xmi.id="-1" text="0..n" font="Sans,10,-1,5,50,0,0,0,0,0" />
<UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="191" linecolour="none" y="217" operation="" usesdiagramlinecolour="1" role="703" fillcolour="none" height="0" usefillcolor="1" seqnum="" xmi.id="-1" text="" font="Sans,10,-1,5,50,0,0,0,0,0" />
<linepath>
<startpoint startx="136" starty="217" />
<endpoint endx="246" endy="217" /> </linepath> </UML:AssocWidget>
<UML:AssocWidget totalcounta="2" indexa="1" totalcountb="2" indexb="1" widgetbid="34" widgetaid="2" documentation="" type="503" >
<UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="57" linecolour="none" y="283" operation="" usesdiagramlinecolour="1" role="701" fillcolour="none" height="0" usefillcolor="1" seqnum="" xmi.id="-1" text="0..1" font="Sans,10,-1,5,50,0,0,0,0,0" />
<UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="57" linecolour="none" y="333" operation="" usesdiagramlinecolour="1" role="702" fillcolour="none" height="0" usefillcolor="1" seqnum="" xmi.id="-1" text="0..n" font="Sans,10,-1,5,50,0,0,0,0,0" />
<UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="89" linecolour="none" y="318" operation="" usesdiagramlinecolour="1" role="703" fillcolour="none" height="0" usefillcolor="1" seqnum="" xmi.id="-1" text="" font="Sans,10,-1,5,50,0,0,0,0,0" />
<linepath>
<startpoint startx="89" starty="280" />
<endpoint endx="89" endy="355" /> </linepath> </UML:AssocWidget>
<UML:AssocWidget totalcounta="2" indexa="1" totalcountb="4" indexb="1" widgetbid="42" widgetaid="5" documentation="" type="513" >
<linepath>
<startpoint startx="490" starty="116" />
<endpoint endx="573" endy="163" /> </linepath> </UML:AssocWidget>
<UML:AssocWidget totalcounta="2" indexa="1" totalcountb="4" indexb="2" widgetbid="42" widgetaid="6" documentation="" type="513" >
<linepath>
<startpoint startx="494" starty="183" />
<endpoint endx="573" endy="176" /> </linepath> </UML:AssocWidget>
<UML:AssocWidget totalcounta="2" indexa="1" totalcountb="4" indexb="3" widgetbid="42" widgetaid="7" documentation="" type="513" >
<linepath>
<startpoint startx="453" starty="237" />
<endpoint endx="573" endy="188" /> </linepath> </UML:AssocWidget>
<UML:AssocWidget totalcounta="2" indexa="1" totalcountb="2" indexb="1" widgetbid="44" widgetaid="8" documentation="" type="513" >
<linepath>
<startpoint startx="354" starty="403" />
<endpoint endx="443" endy="390" /> </linepath> </UML:AssocWidget> </associations> </diagram> </diagrams>
<listview>
<listitem open="1" type="800" id="-1" label="Views" >
<listitem open="1" type="801" id="-1" label="Logical View" >
<listitem open="1" type="813" id="5" label="categories" >
<listitem open="0" type="814" id="24" label="category" /> </listitem>
<listitem open="0" type="807" id="1" label="class diagram" />
<listitem open="1" type="813" id="34" label="comments" >
<listitem open="0" type="814" id="38" label="comment" />
<listitem open="0" type="814" id="35" label="comment_id" />
<listitem open="0" type="814" id="39" label="date" />
<listitem open="0" type="814" id="40" label="ip" />
<listitem open="0" type="814" id="36" label="proj_id" />
<listitem open="0" type="814" id="37" label="username" /> </listitem>
<listitem open="1" type="813" id="6" label="languages" >
<listitem open="0" type="814" id="25" label="prog_lang" /> </listitem>
<listitem open="1" type="813" id="7" label="licenses" >
<listitem open="0" type="814" id="26" label="license" /> </listitem>
<listitem open="1" type="813" id="3" label="preference_list" >
<listitem open="0" type="814" id="21" label="position" />
<listitem open="0" type="814" id="19" label="proj_id" />
<listitem open="0" type="814" id="20" label="username" /> </listitem>
<listitem open="1" type="813" id="2" label="proj_list" >
<listitem open="0" type="814" id="12" label="category" />
<listitem open="0" type="814" id="17" label="group_id" />
<listitem open="0" type="814" id="14" label="license" />
<listitem open="0" type="814" id="18" label="points" />
<listitem open="0" type="814" id="15" label="prog_lang" />
<listitem open="0" type="814" id="11" label="proj_descr" />
<listitem open="0" type="814" id="9" label="proj_id" />
<listitem open="0" type="814" id="10" label="proj_name" />
<listitem open="0" type="814" id="16" label="register_date" />
<listitem open="0" type="814" id="13" label="status" /> </listitem>
<listitem open="1" type="813" id="4" label="proj_members" >
<listitem open="0" type="814" id="22" label="proj_id" />
<listitem open="0" type="814" id="23" label="username" /> </listitem>
<listitem open="1" type="813" id="8" label="requests" >
<listitem open="0" type="814" id="32" label="data" />
<listitem open="0" type="814" id="30" label="ip" />
<listitem open="0" type="814" id="27" label="request_id" />
<listitem open="0" type="814" id="33" label="status" />
<listitem open="0" type="814" id="28" label="time" />
<listitem open="0" type="814" id="31" label="type" />
<listitem open="0" type="814" id="29" label="username" /> </listitem> </listitem>
<listitem open="1" type="802" id="-1" label="Use Case View" /> </listitem> </listview> </XMI.content></XMI>
|
|
From: Dashamir H. <das...@us...> - 2003-09-23 14:04:20
|
Update of /cvsroot/phpwebapp/top10 In directory sc8-pr-cvs1:/tmp/cvs-serv18233 Log Message: Status: Vendor Tag: dashohoxha Release Tags: release_001 N top10/search_proj.php N top10/browse.php N top10/COPYING N top10/index.php N top10/webapp.php N top10/confirm.php N top10/global.php N top10/config/const.Debug.php N top10/config/const.Options.php N top10/config/const.Paths.php N top10/config/const.DB.php N top10/docs/ToDo.txt N top10/templates/styles.css N top10/templates/module.php N top10/templates/main.html N top10/templates/about/about.html N top10/templates/about/about.php N top10/templates/proj_list/proj_list.db N top10/templates/proj_list/proj_list.html N top10/templates/proj_list/proj_list.js N top10/templates/proj_list/proj_list.php N top10/templates/proj_list/filter/filter.html N top10/templates/proj_list/filter/filter.css N top10/templates/proj_list/filter/filter.php N top10/templates/proj_list/filter/filter.js N top10/templates/proj_list/filter/filter.db N top10/templates/proj_list/footer/list_footer.html N top10/templates/proj_list/footer/list_footer.css N top10/templates/proj_list/footer/list_footer.js N top10/templates/proj_list/footer/list_footer.db N top10/templates/proj_list/footer/list_footer.php N top10/templates/proj_details/proj_details.db N top10/templates/proj_details/proj_details.php N top10/templates/proj_details/proj_details.html N top10/templates/confirm/confirm.html N top10/templates/confirm/confirm.php N top10/templates/confirm/confirm.db N top10/templates/confirm/blank.html N top10/templates/confirm/error.html N top10/templates/menu/menu.html N top10/templates/menu/menu.js N top10/templates/menu/menu.php N top10/templates/menu/menu.css N top10/templates/preference_list/preference_list.db N top10/templates/preference_list/preference_list.js N top10/templates/preference_list/preference_list.html N top10/templates/preference_list/preference_list.php No conflicts created by this import ***** Bogus filespec: - Imported sources |
|
From: Dashamir H. <das...@us...> - 2003-09-15 09:37:58
|
Update of /cvsroot/phpwebapp/web_app/database
In directory sc8-pr-cvs1:/tmp/cvs-serv10129/database
Modified Files:
class.PagedRS.php
Log Message:
Index: class.PagedRS.php
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/database/class.PagedRS.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** class.PagedRS.php 8 Sep 2003 13:18:24 -0000 1.7
--- class.PagedRS.php 15 Sep 2003 09:37:53 -0000 1.8
***************
*** 165,170 ****
$query = WebApp::replaceVars($this->query);
$query = $this->get_count_query($query);
! $rs = new Recordset;
! $rs->Open($query);
$nrRecs = $rs->Field("COUNT_OF_RECS");
--- 165,170 ----
$query = WebApp::replaceVars($this->query);
$query = $this->get_count_query($query);
! $rs = new Recordset($this->ID."_countQuery", $query);
! $rs->Open();
$nrRecs = $rs->Field("COUNT_OF_RECS");
|
|
From: Dashamir H. <das...@us...> - 2003-09-09 07:05:13
|
Update of /cvsroot/phpwebapp/documentation In directory sc8-pr-cvs1:/tmp/cvs-serv18486 Modified Files: webapp.php Log Message: *** empty log message *** Index: webapp.php =================================================================== RCS file: /cvsroot/phpwebapp/documentation/webapp.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** webapp.php 25 Aug 2003 13:29:19 -0000 1.5 --- webapp.php 8 Sep 2003 13:22:39 -0000 1.6 *************** *** 42,46 **** include CONFIG_PATH."const.Options.php"; include CONFIG_PATH."const.Debug.php"; - if (USES_DB) include CONFIG_PATH."const.DB.php"; //include the WebApp framework --- 42,45 ---- |
|
From: Dashamir H. <das...@us...> - 2003-09-09 05:57:40
|
Update of /cvsroot/phpwebapp/web_app/doc
In directory sc8-pr-cvs1:/tmp/cvs-serv17789/doc
Modified Files:
changes_2.txt
Log Message:
Index: changes_2.txt
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/doc/changes_2.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** changes_2.txt 26 Aug 2003 07:33:28 -0000 1.2
--- changes_2.txt 8 Sep 2003 13:19:07 -0000 1.3
***************
*** 1,3 ****
--- 1,39 ----
+
+ --- Improved documentation:
+
+ * Added some comments that help phpDocumentor to divide the classes
+ and files into packages and subpackages (@package and @subpackage).
+
+ * Improved a little bit some comments of the code.
+
+ * Improved a little bit the pages of the UML model.
+
+ * Generated code documentation with phpDocumentor and doxygen.
+
+ * Fixed some webapp_styles and improved its look.
+
+ * Updated sample applications 'app1' and 'app2' and the tutorials 1 and 2.
+
+ * Added sample application 'empty-sample'.
+
+ * Added sample application 'app3' and tutorial 3 (about webbox-es).
+
+
+ --- Preparing it for being a GNU package:
+
+ * .gif images replaced by .png images
+
+ * Added copying permission statements of GNU GPL at the top of most
+ of the files.
+
+ * Converted CRLF to LF for all the files.
+
+ * Added COPYING to 'app1', 'app2', 'app3', 'documentation', 'empty-sample'
+ as well.
+
+
+ --- Small changes and fixes:
+
* APP_URL is found automatically in the 'webapp.php' of the application,
so there is no need to modify it in 'config/const.Paths.php'.
***************
*** 8,16 ****
APP_PATH."../web_app/" now we can use UP_PATH."web_app/".
- * .gif images are replaced by .png images
-
- * Added some comments that help phpDocumentor to divide the classes
- and files into packages and subpackages.
-
* The folder 'eventhandler/' was removed. The file:
--- 44,47 ----
***************
*** 21,27 ****
The file 'global.php' is added, which is included for each page.
- * Fixed webapp_styles.
! * Added copying permission statements of GNU GPL.
! * Converted CRLF to LF for all the files.
--- 52,95 ----
The file 'global.php' is added, which is included for each page.
! ---------------------------------------------------------------
! * In order to use DB features of the framework only in a module
! of the application (when the rest of the application doesn't
! need them and USES_DB is false), add at the top of the module
! lines like these:
!
! <?php
! include_once DB_PATH."class.MySQLCnn.php";
! global $cnn;
! $cnn = new MySQLCnn("db_host", "user", "passwd", "db_name");
!
! class comments extends WebObject
! {
! }
! ?>
!
! When the application in general uses DB, however you want
! to use another default connection for a certain module,
! then again you can add lines like in the above example,
! but without the 'include "class.MySQLCnn.php";' line.
! The lines:
! global $cnn;
! $cnn = new MySQLCnn("localhost", "user", "passwd", "db_name");
! change the default connection for the rest of the page.
!
! In case that you want to use another connection just for a certain
! query, whithout changing the default connection in general, then
! you can use something like this:
!
! $new_conn = new MySQLCnn("localhost", "root", "", "hy");
! WebApp::execDBCmd("add_comment", $params, $new_conn);
! $rs = WebApp::openRS("comment_list", $params, $new_conn);
! WebApp::execQuery($query, $new_conn);
! //in case that there are no parameters:
! WebApp::execDBCmd("add_comment", array(), $new_conn);
! WebApp::execDBCmd("add_comment", UNDEFINED, $new_conn);
!
! ---------------------------------------------------------------
! ---------------------------------------------------------------
! ---------------------------------------------------------------
|