[ros-diffs] [dgoette] 428: * remove unused files * rename files

dgoette at svn.reactos.org dgoette at svn.reactos.org
Fri Jun 5 20:47:41 CEST 2009


Author: dgoette
Date: Fri Jun  5 22:47:40 2009
New Revision: 428

URL: http://svn.reactos.org/svn/reactos?rev=428&view=rev
Log:
* remove unused files
* rename files

Added:
    branches/compat/lib/view/HTML_About.class.php
      - copied unchanged from r395, branches/compat/lib/view/About.class.php
    branches/compat/lib/view/HTML_Conditions.class.php
      - copied unchanged from r395, branches/compat/lib/view/Conditions.class.php
    branches/compat/lib/view/HTML_Help.class.php
      - copied unchanged from r395, branches/compat/lib/view/Help.class.php
Removed:
    branches/compat/lib/get/List_AppSumbit.class.php
    branches/compat/lib/get/List_Group.class.php
    branches/compat/lib/get/List_Item.class.php
    branches/compat/lib/get/List_Vendor.class.php
    branches/compat/lib/om/Award.class.php
    branches/compat/lib/om/CLog.class.php
    branches/compat/lib/om/Count.class.php
    branches/compat/lib/om/Message.class.php
    branches/compat/lib/view/About.class.php
    branches/compat/lib/view/Conditions.class.php
    branches/compat/lib/view/Help.class.php
    branches/compat/lib/view/Item_Screenshots.class.php
    branches/compat/lib/view/Item_Tests.class.php
    branches/compat/lib/view/Item_Tips.class.php
    branches/compat/lib/view/Submit_Screenshot.class.php

Removed: branches/compat/lib/get/List_AppSumbit.class.php
URL: http://svn.reactos.org/svn/reactos/branches/compat/lib/get/List_AppSumbit.class.php?rev=427&view=auto
==============================================================================
--- branches/compat/lib/get/List_AppSumbit.class.php [iso-8859-1] (original)
+++ branches/compat/lib/get/List_AppSumbit.class.php (removed)
@@ -1,93 +1,0 @@
-<?php
-    /*
-    RSDB - ReactOS Support Database
-    Copyright (C) 2005-2006  Klemens Friedl <frik85 at reactos.org>
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-    */
-
-/*
- *	ReactOS Support Database System - RSDB
- *	
- *	(c) by Klemens Friedl <frik85>
- *	
- *	2005 - 2006 
- */
-
-
-	// To prevent hacking activity:
-	if ( !defined('RSDB') )
-	{
-		die(" ");
-	}
-
-
-  $stmt=CDBConnection::getInstance()->prepare("SELECT COUNT(*) FROM rsdb_groups WHERE grpentr_visible = '1' AND grpentr_name LIKE :name");
-  $stmt->bindValue('name','%'.@$_GET['search'].'%',PDO::PARAM_STR);
-  $stmt->execute();
-	$result_count_groups = $stmt->fetchOnce(PDO::FETCH_ASSOC);
-
-header( 'Content-type: text/xml' );
-echo '<?xml version="1.0" encoding="UTF-8"?>
-<root>
-';
-
-	if (!$result_count_groups[0]) {
-		echo "    #none#\n";
-	}
-	else {
-		echo "    ".$result_count_groups[0]."\n";
-	}
-
-  $stmt=CDBConnection::getInstance()->prepare("SELECT * FROM rsdb_groups WHERE grpentr_visible = '1' AND grpentr_name LIKE :name ORDER BY grpentr_name ASC");
-  $stmt->bindValue('name','%'.@$_GET['search'].'%',PDO::PARAM_STR);
-  $stmt->execute();
-	
-	while($result_page = $stmt->fetch(PDO::FETCH_ASSOC)) { // Pages
-?>
-	<dbentry>
-		<item id="<?php echo $result_page['grpentr_id']; ?>"><?php echo $result_page['grpentr_name']; ?></item>
-		<desc><?php
-				if (!strlen($result_page['grpentr_description']) == "0") {
-					if (strlen(htmlentities($result_page['grpentr_description'], ENT_QUOTES)) <= 30) {
-						echo $result_page['grpentr_description'];
-					}
-					else {
-						echo substr(htmlentities($result_page['grpentr_description'], ENT_QUOTES), 0, 30)."...";
-					}
-				}
-				else {
-					echo ".";
-				}
-		  ?></desc>
-		<vendor id="<?php echo $result_page['grpentr_vendor']; ?>"><?php
-				if ($result_page['grpentr_vendor'] == "0") {
-					echo ".";
-				}
-				else {
-          $stmt_vendor=CDBConnection::getInstance()->prepare("SELECT * FROM rsdb_item_vendor WHERE vendor_id = :vendor_id");
-          $stmt_vendor->bindParam('vendor_id',$result_page['grpentr_vendor'],PDO::PARAM_STR);
-          $stmt_vendor->execute();
-					$result_entry_vendor = $stmt->fetchOnce(PDO::FETCH_ASSOC);
-					echo $result_entry_vendor['vendor_name'];
-				}
-		  ?> </vendor>
-		<comp><?php echo $result_page['grpentr_comp']; ?></comp>
-		<devnet><?php echo $result_page['grpentr_devnet']; ?></devnet>
-	</dbentry>
-<?
-	}
-?>
-</root>

Removed: branches/compat/lib/get/List_Group.class.php
URL: http://svn.reactos.org/svn/reactos/branches/compat/lib/get/List_Group.class.php?rev=427&view=auto
==============================================================================
--- branches/compat/lib/get/List_Group.class.php [iso-8859-1] (original)
+++ branches/compat/lib/get/List_Group.class.php (removed)
@@ -1,111 +1,0 @@
-<?php
-    /*
-    RSDB - ReactOS Support Database
-    Copyright (C) 2005-2006  Klemens Friedl <frik85 at reactos.org>
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-    */
-
-/*
- *	ReactOS Support Database System - RSDB
- *	
- *	(c) by Klemens Friedl <frik85>
- *	
- *	2005 - 2006 
- */
-
-	// To prevent hacking activity:
-	if ( !defined('RSDB') )
-	{
-		die(" ");
-	}
-
-  if (isset($_GET['search'])) {
-    $search_phrase = $_GET['search'];
-  }
-  else {
-    $search_phrase = '';
-  }
-
-  $stmt=CDBConnection::getInstance()->prepare("SELECT COUNT(*) FROM rsdb_groups JOIN rsdb_item_vendor ON grpentr_vendor = vendor_id WHERE (grpentr_name LIKE :search OR vendor_name LIKE :search) AND grpentr_comp = '1' AND vendor_visible = '1' AND grpentr_visible = '1'");
-  $stmt->bindValue('search','%'.$search_phrase.'%',PDO::PARAM_STR);
-  $stmt->execute();
-	$result_count_groups = $stmt->fetchOnce(PDO::FETCH_NUM);
-
-	if (!$result_count_groups[0]) {
-		// Remove temp characters and try again
-		$search_phrase = str_replace("-","",$search_phrase);
-		$search_phrase = str_replace("_","",$search_phrase);
-		$search_phrase = str_replace(" ","",$search_phrase);
-    $stmt->bindValue('search','%'.$search_phrase.'%',PDO::PARAM_STR);
-    $stmt->execute();
-		$result_count_groups = $stmt->fetchOnce(PDO::FETCH_NUM);
-	}
-
-header( 'Content-type: text/xml' );
-echo '<?xml version="1.0" encoding="UTF-8"?>
-<root>
-';
-
-	if (!$result_count_groups[0]) {
-		echo "    #none#\n";
-	}
-	else {
-		echo "    ".$result_count_groups[0]."\n";
-	}
-	
-if ($search_phrase != "" || strlen($search_phrase) > 1) {
-
-  $stmt=CDBConnection::getInstance()->prepare("SELECT * FROM rsdb_groups JOIN rsdb_item_vendor ON grpentr_vendor = vendor_id WHERE (grpentr_name LIKE :search OR `vendor_name` LIKE :search) AND `grpentr_comp` = '1' AND `vendor_visible` = '1' AND `grpentr_visible` = '1' ORDER BY `grpentr_name` ASC LIMIT 20") ; // Limit to 20 entry
-  $stmt->bindValue('search',$search_phrase,PDO::PARAM_STR);
-  $stmt->execute();
-	
-	while($result_page = $stmt->fetch(PDO::FETCH_ASSOC)) {
-?>
-	<dbentry>
-		<item id="<?php echo $result_page['grpentr_id']; ?>"><?php echo $result_page['grpentr_name']; ?></item>
-		<desc><?php
-				if (!strlen($result_page['grpentr_description']) == "0") {
-					if (strlen(htmlentities($result_page['grpentr_description'], ENT_QUOTES)) <= 30) {
-						echo $result_page['grpentr_description'];
-					}
-					else {
-						echo substr(htmlentities($result_page['grpentr_description'], ENT_QUOTES), 0, 30)."...";
-					}
-				}
-				else {
-					echo ".";
-				}
-		  ?></desc>
-		<vendor id="<?php echo $result_page['grpentr_vendor']; ?>"><?php
-				if ($result_page['grpentr_vendor'] == "0") {
-					echo ".";
-				}
-				else {
-          $stmt_vendor=CDBConnection::getInstance()->prepare("SELECT * FROM rsdb_item_vendor WHERE vendor_id = :vendor_id");
-          $stmt_vendor->bindParam('vendor_id',$result_page['grpentr_vendor'],PDO::PARAM_STR);
-          $stmt_vendor->execute();
-					$result_entry_vendor = $stmt_vendor->fetchOnce(PDO::FETCH_ASSOC);
-					echo $result_entry_vendor['vendor_name'];
-				}
-		  ?> </vendor>
-		<comp><?php echo $result_page['grpentr_comp']; ?></comp>
-		<devnet><?php echo $result_page['grpentr_devnet']; ?></devnet>
-	</dbentry>
-<?
-	}
-}
-?>
-</root>

Removed: branches/compat/lib/get/List_Item.class.php
URL: http://svn.reactos.org/svn/reactos/branches/compat/lib/get/List_Item.class.php?rev=427&view=auto
==============================================================================
--- branches/compat/lib/get/List_Item.class.php [iso-8859-1] (original)
+++ branches/compat/lib/get/List_Item.class.php (removed)
@@ -1,237 +1,0 @@
-<?php
-    /*
-    RSDB - ReactOS Support Database
-    Copyright (C) 2005-2006  Klemens Friedl <frik85 at reactos.org>
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-    */
-
-class List_Item
-{
-
-  public function __construct()
-  {
-?>
-	<base href="<?php echo $RSDB_intern_path_server.$RSDB_intern_path; ?>" />
-    <table width="100%" border="0" >
-      <tr>
-        <td><div align="left"><span class="Stil2">Sort by:
-                  <?php
-
-				if (isset($_GET['sort']) && ($_GET['sort'] == 'item' || $_GET['sort'] == '')) {
-						echo "<b>Application version</b> | <a href='".$RSDB_intern_link_group_sort."ros#ver'>ReactOS version</a>";
-					
-					$RSDB_intern_sortby_headline_field = "comp_appversion";
-					$RSDB_intern_sortby_linkname_field = "comp_osversion";
-				}
-				if (isset($_GET['sort']) && $_GET['sort'] == 'ros') {
-						echo "<a href='".$RSDB_intern_link_group_sort."item#ver'>Application version</a> | <b>ReactOS version</b>";
-					
-					$RSDB_intern_sortby_headline_field = "comp_osversion";
-					$RSDB_intern_sortby_linkname_field = "comp_appversion";
-				}
-				
-
-		 ?>
-        </span></div></td>
-      </tr>
-      <?php
-	// Table
-	$RSDB_intern_TEMP_version_saved_a = "";
-  $stmt=CDBConnection::getInstance()->prepare("SELECT * FROM rsdb_item_comp WHERE comp_groupid = :group_id ORDER BY comp_osversion DESC");
-  $stmt->bindParam('group_id',$RSDB_SET_group,PDO::PARAM_STR);
-  $stmt->execute();
-	while($result_sortby_a = $stmt->fetch(PDO::FETCH_ASSOC)) {
-		if ($result_sortby_a[$RSDB_intern_sortby_headline_field] != $RSDB_intern_TEMP_version_saved_a) {
-		
-				if (isset($_GET['sort']) && ($_GET['sort'] == 'item' || $_GET['sort'] == '')) {
-              $stmt_comp=CDBConnection::getInstance()->prepare("SELECT * FROM rsdb_item_comp WHERE comp_groupid = :group_id AND comp_appversion = :version ORDER BY comp_osversion DESC, comp_status ASC");
-              $stmt_comp->bindParam('version',$result_sortby_a['comp_appversion'],PDO::PARAM_STR);
-				}
-				if (isset($_GET['sort']) && $_GET['sort'] == 'ros') {
-              $stmt_comp=CDBConnection::getInstance()->prepare("SELECT * FROM rsdb_item_comp WHERE comp_groupid = :group_id AND comp_osversion = :version ORDER BY comp_appversion DESC, comp_status ASC");
-              $stmt_comp->bindParam('version',$result_sortby_a['comp_osversion'],PDO::PARAM_STR);
-														//echo $RSDB_intern_sortby_SQL_b_query;
-				}
-        $stmt_comp->bindParam('group_id',$RSDB_SET_group,PDO::PARAM_STR);
-		
-?>
-      <tr>
-        <td>
-          <table width="100%">
-            <tr bgcolor="#5984C3">
-              <td colspan="5">
-                <table width="100%" border="0" cellpadding="0" cellspacing="0">
-                  <tr>
-                    <td width="30%"><font color="#FFFFFF" face="Arial, Helvetica, sans-serif"><strong>&nbsp;
-                            <?php
-									
-						if (isset($_GET['sort']) && ($_GET['sort'] == 'item' || $_GET['sort'] == '')) {
-							echo $result_sortby_a['comp_name']." (v. ";
-							echo $result_sortby_a[$RSDB_intern_sortby_headline_field].")"; 
-						}
-						else {
-							echo "ReactOS ".show_osversion($result_sortby_a[$RSDB_intern_sortby_headline_field]); 
-						}
-						
-					 ?>
-                    </strong></font></td>
-                    <td width="20%"><div align="center" class="Stil4">Medal</div></td>
-                    <td width="20%"><div align="center" class="Stil4">Function</div></td>
-                    <td width="20%"><div align="center" class="Stil4">Install</div></td>
-                    <td width="10%"><div align="center"><span class="Stil4">Status</span></div></td>
-                  </tr>
-                </table>
-            </tr>
-            <?php  
-			// Table line
-			$farbe1="#E2E2E2";
-			$farbe2="#EEEEEE";
-			$zaehler="0";
-      $stmt_comp->execute();
-			while($result_sortby_b = $stmt->fetch(PDO::FETCH_ASSOC)) { 
-?>
-            <tr bgcolor="<?php
-									$zaehler++;
-									if ($zaehler == "1") {
-										echo $farbe1;
-										$farbe = $farbe1;
-									}
-									elseif ($zaehler == "2") {
-										$zaehler="0";
-										echo $farbe2;
-										$farbe = $farbe2;
-									}
-								 ?>">
-              <td width="30%" bgcolor="<?php echo $farbe; ?>">&nbsp;
-                  <?php
-					
-					/*if ($result_sortby_b['comp_status'] == "0") {
-						echo "<b>";
-					}*/
-			  
-					echo '<a href="';
-					echo $RSDB_intern_link_item.$result_sortby_b['comp_id'].'">';
-					
-					if (isset($_GET['sort']) && $_GET['sort'] == 'ros') {
-						echo $result_sortby_b['comp_name']." (v. ";
-						echo $result_sortby_b[$RSDB_intern_sortby_linkname_field].")";
-					}
-					else {
-						echo "ReactOS ".show_osversion($result_sortby_b[$RSDB_intern_sortby_linkname_field]);
-					}				
-
-					echo '</a>';
-
-					/*if ($result_sortby_b['comp_status'] == "0") {
-						echo "</b>";
-					}*/
-
-				 ?></td>
-
-              <td width="20%" bgcolor="<?php echo $farbe; ?>"><font size="1">&nbsp;<img src="media/icons/awards/<?php echo Award::icon($result_sortby_b['comp_award']); ?>.gif" alt="<?php echo Award::name($result_sortby_b['comp_award']); ?>" width="16" height="16" /> <?php echo Award::name($result_sortby_b['comp_award']); ?></font></td>
-              <?php
-			
-				$counter_stars_install = 0;
-				$counter_stars_function = 0;
-				$counter_stars_user = 0;
-				
-				$stmt_test=CDBConnection::getInstance()->prepare("SELECT SUM(test_result_install) AS install_sum, SUM(test_result_function) AS function_sum, COUNT(*) AS user_sum FROM rsdb_item_comp_testresults WHERE test_visible = '1' AND test_comp_id = :comp_id ORDER BY test_comp_id ASC");
-        $stmt_test->bindParam('comp_id',$result_sortby_b['comp_id'],PDO::PARAM_STR);
-        $stmt_test->execute();
-        $tmp=$stmt_test->fetchOnce(PDO::FETCH_ASSOC);
-
-				$counter_stars_install += $tmp['install_sum'];
-				$counter_stars_function += $tmp['function_sum'];
-				$counter_stars_user += $tmp['user_sum'];
-
-			?>
-              <td width="20%" bgcolor="<?php echo $farbe; ?>"><font size="1"><?php echo Star::drawNormal($counter_stars_function, $counter_stars_user, 5, "tests"); ?></font></td>
-              <td width="20%" bgcolor="<?php echo $farbe; ?>"><font size="1"><?php echo Star::drawNormal($counter_stars_install, $counter_stars_user, 5, "tests"); ?></font></td>
-              <td width="10%" bgcolor="<?php echo $farbe; ?>" <?php 
-	
-				$counter_testentries = 0;
-				$counter_forumentries = 0;
-				$counter_screenshots = 0;
-
-        $stmt_count=CDBConnection::getInstance()->prepare("SELECT COUNT(*) FROM rsdb_item_comp_testresults WHERE test_visible = '1' AND test_comp_id = :comp_id");
-        $stmt_count->bindParam('comp_id',$result_sortby_b['comp_id'],PDO::PARAM_STR);
-        $stmt_count->execute();
-				$result_count_testentries = $stmt_count->fetchOnce(PDO::FETCH_NUM);
-				$counter_testentries += $result_count_testentries[0];
-				
-				// Forum entries:
-        $stmt_count=CDBConnection::getInstance()->prepare("SELECT COUNT(*) FROM ".CDBT_COMMENTS." WHERE visible IS TRUE AND entry_id = :comp_id");
-        $stmt_count->bindParam('comp_id',$result_sortby_b['comp_id'],PDO::PARAM_STR);
-        $stmt_count->execute();
-				$result_count_forumentries = $stmt_count->fetchOnce(PDO::FETCH_NUM);
-				$counter_forumentries += $result_count_forumentries[0];
-
-				// Screenshots:
-        $stmt_count=CDBConnection::getInstance()->prepare("SELECT COUNT(*) FROM ".CDBT_ATTACHMENTS." WHERE visible IS TRUE AND entry_id = :group_id");
-        $stmt_count->bindParam('group_id',$result_sortby_b['comp_media'],PDO::PARAM_STR);
-        $stmt_count->execute();
-				$result_count_screenshots = $stmt_count->fetchOnce(PDO::FETCH_ASSOC);;
-				$counter_screenshots += $result_count_screenshots[0];
-
-			/*switch ($result_sortby_b['comp_status']) {
-				default:
-				case 0:
-					echo "<b>Release</b>";
-					break;
-				case 1:
-					echo "<b>RC 1</b>";
-					break;
-				case 2:
-					echo "<b>RC 2</b>";
-					break;
-				case 3:
-					echo "<b>RC 3</b>";
-					break;
-				case 4:
-					echo "<b>RC 4</b>";
-					break;
-				case 5:
-					echo "<b>RC 5</b>";
-					break;
-				case 100:
-					echo "<b>Unstable (SVN)</b>";
-					break;
-			}*/  
-			   ?> title="<?php echo "Tests: ".$counter_testentries.", Forum entries: ".$counter_forumentries.", Screenshots: ".$counter_screenshots; ?>"><div align="center"><font size="1"><table width="100%" border="0" cellpadding="1" cellspacing="1">
-            <tr>
-              <td width="33%"><div align="center"><?php if ($counter_testentries > 0) { ?><a href="<?php echo $RSDB_intern_link_group.$result_sortby_b['comp_id'];?>&amp;item2=tests"><img src="media/icons/info/test.gif" alt="Compatibility Test Report entries" border="0" width="13" height="13"></a><?php } else { echo "&nbsp;"; } ?></div></td>
-              <td width="33%"><div align="center"><?php if ($counter_forumentries > 0) { ?><a href="<?php echo $RSDB_intern_link_group.$result_sortby_b['comp_id'];?>&amp;item2=forum"><img src="media/icons/info/forum.gif" alt="Forum entries" border="0" width="13" height="13"></a><?php } else { echo "&nbsp;"; } ?></div></td>
-              <td width="33%"><div align="center"><?php if ($counter_screenshots > 0) { ?><a href="<?php echo $RSDB_intern_link_group.$result_sortby_b['comp_id'];?>&amp;item2=screens"><img src="media/icons/info/screenshot.gif" alt="Screenshots" border="0" width="13" height="13"></a><?php } else { echo "&nbsp;"; } ?></div></td>
-            </tr>
-          </table></font></div></td>            </tr>
-            <?php
-			}
-?>
-          </table>
-      <tr>
-        <td>
-          <?php
-			$RSDB_intern_TEMP_version_saved_a = $result_sortby_a[$RSDB_intern_sortby_headline_field];
-		}
-	}
-?>
-        </td>
-      </tr>
-    </table>
-<?php
-  }
-}
-?>

Removed: branches/compat/lib/get/List_Vendor.class.php
URL: http://svn.reactos.org/svn/reactos/branches/compat/lib/get/List_Vendor.class.php?rev=427&view=auto
==============================================================================
--- branches/compat/lib/get/List_Vendor.class.php [iso-8859-1] (original)
+++ branches/compat/lib/get/List_Vendor.class.php (removed)
@@ -1,77 +1,0 @@
-<?php
-    /*
-    RSDB - ReactOS Support Database
-    Copyright (C) 2005-2006  Klemens Friedl <frik85 at reactos.org>
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-    */
-
-/*
- *	ReactOS Support Database System - RSDB
- *	
- *	(c) by Klemens Friedl <frik85>
- *	
- *	2005 - 2006 
- */
-
-
-	// To prevent hacking activity:
-	if ( !defined('RSDB') )
-	{
-		die(" ");
-	}
-
-
-  $stmt=CDBConnection::getInstance()->prepare("SELECT COUNT(*) FROM rsdb_item_vendor WHERE vendor_visible = '1' AND vendor_name LIKE :search");
-  $stmt->bindValue('search','%'.@$_GET['search'].'%',PDO::PARAM_STR);
-  $stmt->execute();
-	$result_count_groups = $stmt->fetchOnce(PDO::FETCH_NUM);
-
-header( 'Content-type: text/xml' );
-echo '<?xml version="1.0" encoding="UTF-8"?>
-<root>
-';
-
-	if (!$result_count_groups[0]) {
-		echo "    #none#\n";
-	}
-	else {
-		echo "    ".$result_count_groups[0]."\n";
-	}
-	
-if (isset($_GET['search']) && strlen($_GET['search']) > 1) {
-
-  $stmt=CDBConnection::getInstance()->prepare("SELECT * FROM rsdb_item_vendor WHERE vendor_visible = '1' AND vendor_name LIKE :search ORDER BY vendor_name ASC");
-  $stmt->bindValue('search','%'.$_GET['search'].'%',PDO::PARAM_STR);
-  $stmt->execute();
-	
-	while($result_page = $stmt->fetch(PDO::FETCH_ASSOC)) { // Pages
-?>
-	<dbentry>
-		<vendor id="<?php echo $result_page['vendor_id']; ?>"><?php echo $result_page['vendor_name']; ?></vendor>
-		<url><?php
-				if (!strlen($result_page['vendor_url']) == "") {
-					echo htmlentities($result_page['vendor_url'], ENT_QUOTES);
-				}
-				else {
-					echo ".";
-				}
-		  ?></url>
-	</dbentry>
-<?
-	}
-}
-?>
-</root>

Removed: branches/compat/lib/om/Award.class.php
URL: http://svn.reactos.org/svn/reactos/branches/compat/lib/om/Award.class.php?rev=427&view=auto
==============================================================================
--- branches/compat/lib/om/Award.class.php [iso-8859-1] (original)
+++ branches/compat/lib/om/Award.class.php (removed)
@@ -1,108 +1,0 @@
-<?php
-    /*
-    CompatDB - ReactOS Compatability Database
-    Copyright (C) 2005-2006  Klemens Friedl <frik85 at reactos.org>
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-    */
-
-
-/**
- * class Award
- * 
- */
-class Award
-{
-
-
-
-  /**
-   * @FILLME
-   *
-   * @access public
-   */
-  public static 	function icon($number) {
-
-	switch ($number) {
-		case "0":
-		default:
-			$RSDB_TEMP_return = 'questionmark';
-			break;
-		case "2":
-			$RSDB_TEMP_return = 'fail';
-			break;
-		case "5":
-			$RSDB_TEMP_return = 'honor';
-			break;
-		case "7":
-			$RSDB_TEMP_return = 'bronze';
-			break;
-		case "8":
-			$RSDB_TEMP_return = 'silver';
-			break;
-		case "9":
-			$RSDB_TEMP_return = 'gold';
-			break;
-		case "10":
-			$RSDB_TEMP_return = 'platinum';
-			break;
-	}
-
-	return $RSDB_TEMP_return;
-
-	} // end of member function icon
-
-
-
-  /**
-   * @FILLME
-   *
-   * @access public
-   */
-  public static 	function name($number) {
-
-	switch ($number) {
-		case "0":
-		default:
-			$RSDB_TEMP_return = 'Untested';
-			break;
-		case "2":
-			$RSDB_TEMP_return = 'Known not to work';
-			break;
-		case "5":
-			$RSDB_TEMP_return = 'Honorable Mention';
-			break;
-		case "7":
-			$RSDB_TEMP_return = 'Bronze';
-			break;
-		case "8":
-			$RSDB_TEMP_return = 'Silver';
-			break;
-		case "9":
-			$RSDB_TEMP_return = 'Gold';
-			break;
-		case "10":
-			$RSDB_TEMP_return = 'Platinum';
-			break;
-	}
-
-	return $RSDB_TEMP_return;
-
-	} // end of member function icon
-
-
-
-} // end of Award
-?>

Removed: branches/compat/lib/om/CLog.class.php
URL: http://svn.reactos.org/svn/reactos/branches/compat/lib/om/CLog.class.php?rev=427&view=auto
==============================================================================
--- branches/compat/lib/om/CLog.class.php [iso-8859-1] (original)
+++ branches/compat/lib/om/CLog.class.php (removed)
@@ -1,57 +1,0 @@
-<?php
-    /*
-    CompatDB - ReactOS Compatability Database
-    Copyright (C) 2005-2006  Klemens Friedl <frik85 at reactos.org>
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-    */
-
-
-/**
- * class CLog
- * 
- */
-class CLog
-{
-
-
-
-  /**
-   * @FILLME
-   *
-   * @access public
-   */
-  public static 	function add($level, $category, $laction, $title, $desc, $baduser) {
-		global $RSDB_intern_user_id;
-	
-		$RSDB_referrer="";
-		$RSDB_usragent="";
-		$RSDB_ipaddr="";
-		if (array_key_exists('HTTP_REFERER', $_SERVER)) $RSDB_referrer=htmlspecialchars($_SERVER['HTTP_REFERER']);
-		if (array_key_exists('HTTP_USER_AGENT', $_SERVER)) $RSDB_usragent=htmlspecialchars($_SERVER['HTTP_USER_AGENT']);
-		if (array_key_exists('REMOTE_ADDR', $_SERVER)) $RSDB_ipaddr=htmlspecialchars($_SERVER['REMOTE_ADDR']);
-	
-	
-    $stmt=CDBConnection::getInstance()->prepare("INSERT INTO ".CDBT_LOGS." (id, creation, user_id, log_description) VALUES (NULL, NOW(), :user_id, :description)");
-    $stmt->bindParam('user_id',$RSDB_intern_user_id,PDO::PARAM_STR);
-    $stmt->bindValue('description',$title."\n\n".$desc,PDO::PARAM_STR);
-    $stmt->execute();
-
-	} // end of member function add
-
-
-
-} // end of CLog
-?>

Removed: branches/compat/lib/om/Count.class.php
URL: http://svn.reactos.org/svn/reactos/branches/compat/lib/om/Count.class.php?rev=427&view=auto
==============================================================================
--- branches/compat/lib/om/Count.class.php [iso-8859-1] (original)
+++ branches/compat/lib/om/Count.class.php (removed)
@@ -1,65 +1,0 @@
-<?php
-    /*
-    RSDB - ReactOS Support Database
-    Copyright (C) 2005-2006  Klemens Friedl <frik85 at reactos.org>
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-    */
-
-class Count
-{
-
- 
-
-	public static function entriesInGroup ($RSDB_TEMP_cat_id_grouplista) {
-	
-			global $RSDB_intern_link_category_cat;
-			global $RSDB_TEMP_cat_id_grouplist;
-			global $RSDB_TEMP_counter_group;
-			global $RSDB_TEMP_counter_group_sum;
-	
-			
-		$RSDB_TEMP_counter_group=0;
-		self::count_group_and_category($RSDB_TEMP_cat_id_grouplista);
-	
-		return self::count_group_and_category_equal();
-	}
-
-	private function count_group_and_category($RSDB_TEMP_cat_id_group) {
-	
-		global $RSDB_TEMP_counter_group;
-
-		$stmt=CDBConnection::getInstance()->prepare("SELECT COUNT(*) FROM rsdb_groups WHERE grpentr_visible = '1' AND grpentr_category = :category AND grpentr_comp = '1'");
-    $stmt->bindParam('category',$RSDB_TEMP_cat_id_group,PDO::PARAM_STR);
-    $stmt->execute();
-		$result_count_group_and_category = $stmt->fetch(PDO::FETCH_NUM);
-		
-		if ($result_count_group_and_category[0]) {
-			$RSDB_TEMP_counter_group = $RSDB_TEMP_counter_group + $result_count_group_and_category[0];
-		}
-	}
-
-	private function count_group_and_category_equal() {
-		global $RSDB_TEMP_counter_group;
-		global $RSDB_TEMP_counter_group_sum;
-		$RSDB_TEMP_counter_group_sum = 0;
-		$RSDB_TEMP_counter_group_sum = $RSDB_TEMP_counter_group;
-		$RSDB_TEMP_counter_group = 0;
-		return $RSDB_TEMP_counter_group_sum;
-	}
-
-}
-
-?>

Removed: branches/compat/lib/om/Message.class.php
URL: http://svn.reactos.org/svn/reactos/branches/compat/lib/om/Message.class.php?rev=427&view=auto
==============================================================================
--- branches/compat/lib/om/Message.class.php [iso-8859-1] (original)
+++ branches/compat/lib/om/Message.class.php (removed)
@@ -1,83 +1,0 @@
-<?php
-    /*
-    CompatDB - ReactOS Compatability Database
-    Copyright (C) 2005-2006  Klemens Friedl <frik85 at reactos.org>
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-    */
-
-
-/**
- * class Message
- * 
- */
-class Message
-{
-
-
-
-  /**
-   * @FILLME
-   *
-   * @access public
-   */
-  public static 	function show($msgtext) { // show the message bar
-	echo '<table width="450" border="0" align="center" cellpadding="0" cellspacing="0" class="message">';
-	echo '  <tr>';
-	echo '    <td><div align="center">'.$msgtext.'</div></td>';
-	echo '  </tr>';
-	echo '</table>';
-
-	} // end of member function show
-
-
-
-  /**
-   * @FILLME
-   *
-   * @access public
-   */
-  public static 	function noScript() {
-    global $RSDB_intern_link_language,$rpm_lang;
-    echo '<noscript>
-    Your browser does not support JavaScript/JScript or (more likely) you have ECMAScript/JavaScript/JScript<br />
-    disabled in your browser security option.<br /><br />
-    To gain the best user interface experience please enable ECMAScript/JavaScript/JScript in your browser,<br />
-    if possible.<br /><br />
-    You will also be able to use the ReactOS Support Database without ECMAScript/JavaScript/JScript.<br /><br />
-    <a href="'.$RSDB_intern_link_language.$rpm_lang.'"&amp;ajax=false"><b>Please, click here to disable ECMAScript/JavaScript/JScript features</b></a> (DHTML & Ajax) on this page<br />
-    and then you will be able to use all feature even without ECMAScript/JavaScript/JScript enabled!
-    </noscript>';
-  } // end of member function noScript
-
-
-
-  /**
-   * @FILLME
-   *
-   * @access public
-   */
-  public static 	function loginRequired() {
-	global $RSDB_intern_path_server;
-	global $RSDB_intern_loginsystem_path;
-	
-	self::show("<b>Login required!</b><br /><br />Please use the <a href=\"".$RSDB_intern_path_server.$RSDB_intern_loginsystem_path."?page=login&amp;target=%2Fsupport%2F\">login function</a> to get access or 
-				<a href=\"".$RSDB_intern_path_server.$RSDB_intern_loginsystem_path."?page=register\">register an account</a> for free!");
-  } // end of member function noScript
-
-
-
-} // end of Message
-?>

Removed: branches/compat/lib/view/About.class.php
URL: http://svn.reactos.org/svn/reactos/branches/compat/lib/view/About.class.php?rev=427&view=auto
==============================================================================
--- branches/compat/lib/view/About.class.php [iso-8859-1] (original)
+++ branches/compat/lib/view/About.class.php (removed)
@@ -1,43 +1,0 @@
-<?php
-    /*
-    RSDB - ReactOS Support Database
-    Copyright (C) 2005-2006  Klemens Friedl <frik85 at reactos.org>
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-    */
-
-
-class About extends HTML
-{
-
-
-
-  protected function body( )
-  {
-    global $RSDB_intern_index_php;
-
-    echo '
-      <h1><a href="'.$RSDB_intern_index_php.'?page=about">ReactOS Compatability Database</a> &gt; About the ReactOS Support Database</h1> 
-      <h2>About the ReactOS Support Database</h2> 
-      <p>The ReactOS Support Database  (application and driver compatibility, application packages, developer network and media files) is a free service of the ReactOS Foundation.</p>
-      <p>The ReactOS Support Database is maintained by the ReactOS Web-Team.</p>
-      <p>&nbsp;</p>
-      <h3>Credits</h3>
-      <p><strong>Klemens Friedl:</strong> The ReactOS Support Database has been written from scratch by Klemens Friedl (frik85).</p>';
-  } // end of member function body
-
-
-
-} // end of About

Removed: branches/compat/lib/view/Conditions.class.php
URL: http://svn.reactos.org/svn/reactos/branches/compat/lib/view/Conditions.class.php?rev=427&view=auto
==============================================================================
--- branches/compat/lib/view/Conditions.class.php [iso-8859-1] (original)
+++ branches/compat/lib/view/Conditions.class.php (removed)
@@ -1,53 +1,0 @@
-<?php
-    /*
-    RSDB - ReactOS Support Database
-    Copyright (C) 2005-2006  Klemens Friedl <frik85 at reactos.org>
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-    */
-
-
-class Conditions extends HTML
-{
-
-
-
-  protected function body( )
-  {
-    global $RSDB_intern_index_php;
-
-    echo '
-      <h1>
-        <a href="'.$RSDB_intern_index_php.'?page=about">ReactOS Compatability Database</a>
-        &gt; Submit Conditions
-      </h1> 
-      <h2>Submit Conditions</h2> 
-      <p style="font-size:2;">
-        The ReactOS administrator and moderator team of the ReactOS homepage will attempt to remove or edit any generally objectionable material as quickly as possible, it is impossible to review every message/comment/entry/etc. Therefore you acknowledge that all posts/comment/entry/etc. made to the ReactOS homepage express the views and opinions of the author and not the administrators, moderators or webmaster (except for posts/comment/entry/etc. by these people) and hence will not be held liable.
-      </p>
-      <p style="font-size:2;">
-        You agree not to post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-oriented or any other material that may violate any applicable laws. Doing so may lead to you being immediately and permanently banned (and your service provider being informed). The IP address of all posts is recorded to aid in enforcing these conditions. You agree that the webmaster, administrator and moderator team of the ReactOS homepage have the right to remove, edit, move or close any topic/entry/etc. at any time should they see fit. As a user you agree to any information you have entered above being stored in a database. While this information will not be disclosed to any third party without your consent the webmaster, administrator and moderator team cannot be held responsible for any hacking attempt that may lead to the data being compromised.
-      </p>
-      <p>
-        <strong>
-          By submitting anything to the &quot;ReactOS Support Database&quot; you agree that you have read the &quot;Submit Conditions&quot; text above and to be bound by these conditions.
-        </strong>
-      </p>';
-  } // end of member function body
-
-
-
-} // end of Conditions
-

Removed: branches/compat/lib/view/Help.class.php
URL: http://svn.reactos.org/svn/reactos/branches/compat/lib/view/Help.class.php?rev=427&view=auto
==============================================================================
--- branches/compat/lib/view/Help.class.php [iso-8859-1] (original)
+++ branches/compat/lib/view/Help.class.php (removed)
@@ -1,273 +1,0 @@
-<?php
-    /*
-    RSDB - ReactOS Support Database
-    Copyright (C) 2005-2006  Klemens Friedl <frik85 at reactos.org>
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-    */
-
-
-class Help extends HTML
-{
-
-
-
-  protected function body( )
-  {
-    global $RSDB_intern_link_db_sec;
-    global $RSDB_intern_index_php;
-
-    echo '
-      <h1><a href="'.$RSDB_intern_link_db_sec.'home">Compatibility</a> &gt; Help &amp; FAQ</h1> 
-
-      <p><strong>Content</strong></p>
-      <ul>
-        <li><a href="#faq">FAQ</a>
-            <ul>
-              <li><a href="#faq_comp">com&middot;pat&middot;i&middot;ble, <em>adj. </em></a></li>
-              <li><a href="#faq_compdb">Compatibility Database FAQ </a></li>
-            </ul>
-        </li>
-        <li><a href="#sym">Symbols</a>    
-          <ul>
-            <li><a href="#sym_awards">Awards</a></li>
-            <li><a href="#sym_medals">Other Medals</a></li>
-            <li><a href="#sym_stars">Stars</a></li>
-          </ul>
-        </li>
-        <li><a href="#help">Help</a>
-          <ul>
-            <li><a href="#browse">Browse through the database</a></li>
-            <li><a href="#submit">Submit Application/Driver (3 Steps)</a>
-              <ul>
-                <li><a href="#submit1">Step 1 - general information</a></li>
-                <li><a href="#submit2">Step 2 - version information</a></li>
-                <li><a href="#submit3">Step 3 - test results &amp; screenshots</a></li>
-              </ul>
-            </li>
-          </ul>
-        </li>
-      </ul>
-
-      <p>&nbsp;</p>
-      <h2><a name="faq"></a>FAQ</h2>
-      <h3><a name="faq_comp"></a>com&middot;pat&middot;i&middot;ble, <em>adj. </em> </h3>
-      <ul>
-        <li>Capable of existing or performing in harmonious, agreeable, or congenial combination with another or others: compatible family relationships. </li>
-        <li>Capable of orderly, efficient integration and operation with other elements in a system with no modification or conversion required. </li>
-      </ul>
-
-      <p><em><a href="#top">top</a></em></p>
-      <h3><a name="faq_compdb"></a>Compatibility Database FAQ </h3>
-      <p>This FAQ answers questions related to the usage of the Compatibility Database. </p>
-      <ul>
-        <p><strong>Q: What is the Compatibility Database? </strong></p>
-        <p><strong>A: </strong> The Compatibility Database is a repository for  application and driver compatibility information with ReactOS. In particular it provides the following information: 
-        <ul>
-          <li>Whether a given application works at all with ReactOS.
-          <li>If it is partially working, then which areas of the application have problems.
-          <li>How to install and get that application working best. </li>
-          <li>The Compatibility  Database is for <i><b>release versions</b></i> of ReactOS, use <a href="http://www.reactos.org/bugzilla/">Bugzilla</a> for development builds. [<a href="http://www.reactos.org/wiki/index.php/File_Bugs">more</a>]</li>
-        </ul>
-          <p><strong>Q: What is ReactOS? </strong></p>
-          <p><strong>A: </strong>More information can be found at the <a href="http://www.reactos.org/?page=about_whatisreactos">What is ReactOS?</a> and at the <a href="http://www.reactos.org/?page=about_userfaq">User FAQ</a> pages.    </p>
-          <p><strong>Q: What are the benefits of this Compatibility Database? </strong></p>
-          <p><strong>A: </strong> The Compatibility Database benefits both ReactOS developers and users. It lets ReactOS developers know which applications regressed. And it lets ReactOS user know  if their application will work in ReactOS.
-          <p><strong>Q: How does a new application get added to the database? </strong></p>
-          <p><strong>A: </strong> Every registered user can submit new applications or driver, version information, test reports, etc. </p>
-          <p><strong>Q: How can I submit test reports of unstable ReactOS versions?</strong></p>
-          <p><strong>A: </strong>The Compatibility  Database is for <i><b>release versions</b></i> of ReactOS, use <a href="http://www.reactos.org/bugzilla/">Bugzilla</a> for development builds. [<a href="http://www.reactos.org/wiki/index.php/File_Bugs">more</a>]</p>
-          <p><strong>Q: How can I submit Screenshots? </strong></p>
-          <p><strong>A: </strong> Click on the &quot;submit screenshot&quot; (or similar) link on the related page. </p>
-          <p><strong>Q: How can I submit How-to\'s? </strong></p>
-          <p><strong>A: </strong>This feature is currently not available. Please use the forum/comment function for the meanwhile. </p>
-          <p><strong>Q: What do the different color awards and medals mean? </strong></p>
-          <p><strong>A:</strong> They indicate different levels of functionality in ReactOS. <a href="#sym">Go here</a> for more information. </p>
-          <p><strong>Q: Why isn\'t my favorite Windows application in the database? </strong></p>
-          <p><strong>A: </strong>Probably because no one has submitted it to the database yet. We\'d love it if you would <a href="'.$RSDB_intern_link_db_sec.'submit">submit the application to the database</a>.  </p>
-          <p> <strong>Q: If I don\'t see a Windows application in the database, does that mean that it won\'t run in ReactOS? </strong></p>
-          <p> <strong>A:</strong> Not necessarily. Many applications work perfectly in ReactOS without any modification whatsoever. However, we may simply not be aware of them. So, just because an application isn\'t in our database doesn\'t mean that your application won\'t run. We\'d love it if you would <a href="'.$RSDB_intern_link_db_sec.'submit">submit the application to the database</a>. </p>
-          <p> <strong>Q: If I don\'t see my favorite application here, what\'s the easiest way to find out if it will run in ReactOS or not? </strong></p>
-        <p> <strong>A:</strong> <a href="http://www.reactos.org/?page=download">Download ReactOS</a> and find out. That is by far the fastest, easiest way to answer this question. Regardless of whether the answer is "yes" or "no", we\'d love it if you would <a href="'.$RSDB_intern_link_db_sec.'submit">submit the application to the database</a>. </p>
-        <p> <strong>Q: Are there any Windows applications that you can\'t get working in ReactOS? </strong></p>
-        <p> <strong>A:</strong> In a later version of ReactOS, you will be able to run almost all Win32 applications and all WinNT 3+ driver.</p>
-        <p><strong>Q: Is it possible to run Linux applications in ReactOS? </strong></p>
-        <p> <strong>A:</strong> In a later version of ReactOS, you will be able to run almost all posix compatible linux/unix/bsd applications with the ReactOS posix subsystem.</p>
-      </ul>
-      <p><em><a href="#top">top</a></em></p>
-      <h2><a name="sym"></a>Symbols</h2>
-
-      <h3><a name="sym_awards"></a>Awards</h3>
-  
-      <table width="400" border="0" cellpadding="3" cellspacing="1">
-        <tr> 
-          <td width="100"> 
-          <div align="center"><img src="media/icons/awards/platinum_32.gif" alt="Platinum" width="32" height="32"></div></td>
-          <td width="100"> 
-          <div align="center"><img src="media/icons/awards/gold_32.gif" alt="Gold" width="32" height="32"></div></td>
-          <td width="100"> 
-          <div align="center"><img src="media/icons/awards/silver_32.gif" alt="Silver" width="32" height="32"></div></td>
-          <td width="100"> 
-          <div align="center"><img src="media/icons/awards/bronze_32.gif" alt="Bronze" width="32" height="32"></div></td>
-        </tr>
-        <tr valign="top"> 
-          <td> <div align="center"><font size="3">Platinum</font></div></td>
-          <td> <div align="center"> <font size="3">Gold</font></div></td>
-          <td> <div align="center"> <font size="3">Silver</font></div></td>
-          <td> <div align="center"> <font size="3">Bronze</font></div></td>
-        </tr>
-      </table>
-      <ul>
-        <li><strong>Platinum Award:</strong> Applications and drivers which run better (e.g. more stable, faster, better graphic, etc.) in ReactOS than in Microsoft Windows(TM).</li>
-        <li> <strong>Gold Award:</strong> Applications and drivers which install and run virtually flawless on a out-of-the-box ReactOS installation.</li>
-        <li> <strong>Silver Award:</strong> Applications and drivers which we hope we an easily fix so they make it to Gold status.</li>
-        <li> <strong>Bronze Award:</strong> Applications and drivers which works with some minor problems/bugs.</li>
-      </ul>
-      <p><em><a href="#top">top</a></em></p>
-
-      <h3><a name="sym_medals"></a>Other Medals</h3>
-      <table width="330" border="0" cellpadding="3" cellspacing="1">
-        <tr> 
-          <td width="110"> 
-            <div align="center"><img src="media/icons/awards/honor_32.gif" alt="Honorable Mention" width="32" height="32"></div>
-          </td>
-          <td width="110"> 
-            <div align="center"><img src="media/icons/awards/questionmark_32.gif" alt="Untested" width="32" height="32"></div>
-          </td>
-          <td width="110"><div align="center"><img src="media/icons/awards/fail_32.gif" alt="Known not to work" width="32" height="32"></div></td>
-        </tr>
-        <tr valign="top"> 
-          <td> 
-            <div align="center"><font size="3">Honorable Mention</font></div>
-          </td>
-          <td><div align="center"><font size="3">Untested</font></div></td>
-          <td><div align="center">Known not to work</div></td>
-        </tr>
-      </table>
-      <ul>
-        <li><strong>Honorable Mention:</strong> Applications and drivers which run well enough to be usable. However  it has enough bugs to prevent it from running flawlessly.</li>
-        <li><strong>Untested:</strong> Applications and drivers where no compatibility data is stored in the database.</li>
-        <li><strong>Known not to work:</strong> Applications and drivers which do not install/run on a out-of-the-box ReactOS installation.</li>
-      </ul>
-      <p><em><a href="#top">top</a></em></p>
-
-      <h3><a name="sym_stars"></a>Stars</h3>
-      <h4>Application function</h4>
-      <ul>
-        <li><font size="2"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"> 5/5 = works fantastic</font></li>
-        <li><font size="2"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"> 4/5 = works good, minor bugs </font></li>
-        <li><font size="2"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"> 3/5 = works with bugs </font></li>
-        <li><font size="2"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"> 2/5 = major bugs</font></li>
-        <li><font size="2"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"> 1/5 = does not work, or crash while start phase </font></li>
-      </ul>
-
-      <h4>(Un-)Installation routine</h4>
-      <ul>
-        <li><font size="2"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"> 5/5 = works fantastic or no install routine </font></li>
-        <li><font size="2"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"> 4/5 = works good, minor bugs </font></li>
-        <li><font size="2"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"> 3/5 = works with bugs </font></li>
-        <li><font size="2"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"> 2/5 = major bugs</font></li>
-        <li><font size="2"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"> 1/5 = does not work, or crash while start phase </font></li>
-      </ul>
-
-      <h4>Rating / Voting</h4>
-      <ul>
-        <li><font size="2"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"> 5/5 = fantastic</font></li>
-        <li><font size="2"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"> 4/5 = good </font></li>
-        <li><font size="2"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"> 3/5 = okay </font></li>
-        <li><font size="2"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"> 2/5 = boring / uninteresting</font></li>
-        <li><font size="2"><img src="media/icons/stars/star_gold.gif" alt="*" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"><img src="media/icons/stars/star_gray.gif" alt="_" width="15" height="15"> 1/5 = bad / spam</font></li>
-      </ul>
-
-      <p><em><a href="#top">top</a></em></p>
-
-      <h2><a name="help"></a>Help</h2>
-      <h3><a name="browse"></a>Browse through the database</h3>
-      <p>You can browse the Compatibility Database by Category, Applicationname, Vendor , Rank and search by query.<br>
-      Click on the related button on the frontpage or use the search function, the Compatibility Database starts returning results before you finish typing. </p>
-      <p><img src="media/pictures/help/startcomp.jpg" width="400" height="228" border="1"></p>
-      <p>If you want to browse even faster then this hint is for you:</p>
-      <ul>
-        <li>Press [Alt] + [s] keys and start typing an application name (or parts of it). While you typing you see a real-time results in the search box (menu bar, left side).</li>
-        <li>Press [Tab] several times to select the entry you want to view.</li>
-        <li>Press [Shift] + [Tab] to go the inverted way and a select the entry above the current selected entry </li>
-        <li>Press [Enter] to open the selected entry.</li>
-      </ul>
-      <p>This methode is useable on all ReactOS Compatibility Database pages. </p>
-      <p><em><a href="#top">top</a></em></p>
-      <h3><a name="submit"></a>Submit Application/Driver in 3 Steps</h3>
-      <ul>
-        <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><b><a href="#submit1">Step 1:</a></b> submit <b>general information</b></font>
-          <ul>
-            <li><font size="1" face="Verdana, Arial, Helvetica, sans-serif">application name</font></li>
-            <li><font size="1" face="Verdana, Arial, Helvetica, sans-serif">short  decription</font></li>
-            <li><font size="1" face="Verdana, Arial, Helvetica, sans-serif">category</font></li>
-            <li><font size="1" face="Verdana, Arial, Helvetica, sans-serif">vendor </font></li>
-          </ul>
-        </li>
-      </ul>
-      <ul>
-        <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><b><a href="#submit2">Step 2:</a></b> submit <b>version information</b></font>
-          <ul>
-            <li><font size="1" face="Verdana, Arial, Helvetica, sans-serif">application version</font></li>
-            <li><font size="1" face="Verdana, Arial, Helvetica, sans-serif">ReactOS</font> <font size="1" face="Verdana, Arial, Helvetica, sans-serif">version</font></li>
-          </ul>
-        </li>
-      </ul>
-      <ul>
-        <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><b><a href="#submit3">Step 3:</a></b> submit <b>test results &amp; screenshots</b></font>
-          <ul>
-            <li><font size="1" face="Verdana, Arial, Helvetica, sans-serif">What works</font></li>
-            <li><font size="1" face="Verdana, Arial, Helvetica, sans-serif">What does not work</font></li>
-            <li><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Describe what you have tested and what not</font></li>
-            <li><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Application function</font></li>
-            <li><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Installation routine</font></li>
-            <li><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Conclusion</font></li>
-          </ul>
-        </li>
-      </ul>
-      <p><em><a href="#top">top</a></em></p>
-      <h4><a name="submit1"></a>Step 1</h4>
-      <p>To submit a <b>new application</b> (e.g. &quot;AbiWord&quot;):</p>
-      <ol>
-        <li>Click on the &quot;Submit Application&quot; link in the menu bar (left side; on every page).</li>
-        <li>Input the application/driver name. </li>
-        <li> Follow the instructions (see screenshot).</li>
-      </ol>
-      <p><img src="media/pictures/help/submitcomp1.jpg" width="600" height="387" border="1"></p>
-      <p><em><a href="#top">top</a></em></p>
-      <h4><a name="submit2"></a>Step 2</h4>
-      <p>To submit an <strong>application versions information </strong> (e.g. &quot;AbiWord 2.2&quot;):</p>
-      <ol>
-        <li>Browse to the application (group entry).</li>
-        <li>Click on the &quot;Submit new &quot;AbiWord&quot; version&quot; link.</li>
-        <li>Follow the instructions (see screenshot).</li>
-      </ol>
-      <p><img src="media/pictures/help/submitcomp2.jpg" width="400" height="343" border="1"></p>
-      <p><em><a href="#top">top</a></em></p>
-      <h4><a name="submit3"></a>Step 3 </h4>
-      <p>To submit an <strong>application test report</strong> (e.g. &quot;AbiWord 2.2 tested in ReactOS 0.3.0&quot;):</p>
-      <ol>
-        <li> Browse to the application versions  entry.</li>
-        <li>Click on the &quot;Submit Compatibility Test Report&quot; link.</li>
-        <li>Follow the instructions  (see screenshot).</li>
-      </ol>
-      <p><img src="media/pictures/help/submitcomp3.jpg" width="500" height="189" border="1"></p>
-      <p><em><a href="#top">top</a></em></p>';
-  } // end of member function body
-
-
-
-} // end of Help

Removed: branches/compat/lib/view/Item_Screenshots.class.php
URL: http://svn.reactos.org/svn/reactos/branches/compat/lib/view/Item_Screenshots.class.php?rev=427&view=auto
==============================================================================
--- branches/compat/lib/view/Item_Screenshots.class.php [iso-8859-1] (original)
+++ branches/compat/lib/view/Item_Screenshots.class.php (removed)
@@ -1,110 +1,0 @@
-<?php
-    /*
-    RSDB - ReactOS Support Database
-    Copyright (C) 2005-2006  Klemens Friedl <frik85 at reactos.org>
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-    */
-
-
-class Item_Tips extends HTML_Item
-{
-
-  protected function body()
-  {
-
-
-  $stmt=CDBConnection::getInstance()->prepare("SELECT * FROM rsdb_item_comp WHERE comp_visible = '1' AND comp_id = :comp_id ORDER BY comp_name ASC");
-  $stmt->bindParam('comp_id',@$_GET['item'],PDO::PARAM_STR);
-  $stmt->execute();
-	$result_page = $stmt->fetch(PDO::FETCH_ASSOC);
-	
-if ($result_page['comp_id']) {
-	echo "<h2>".$result_page['comp_name'] ." [". "ReactOS ". at show_osversion($result_page['comp_osversion']) ."]</h2>"; 
-	
-	
-	
-?>
-<p align="center">The following pictures are owned by whoever posted them. We are not responsible for them in any way. </p>
-<p align="center"><strong><a href="<?php echo $RSDB_intern_link_submit_comp_screenshot; ?>add">Submit Screenshot</a></strong> (image file)</p>
-<?php
-
-// Voting - update DB
-if (isset($_GET['vote']) && $_GET['vote'] != '' && isset($_GET['vote2']) && $_GET['vote2'] != '') {
-	Star::addVote($_GET['vote'], $_GET['vote2'], CDBT_ATTACHMENTS, "media");
-}
-	
-if (isset($_GET['entry']) && ($_GET['entry'] == '' || $_GET['entry'] == 0)) {
-
-?>
-
-<table width="100%"  border="0" cellpadding="3" cellspacing="1">
-<?php
-	$roscms_TEMP_counter = 0;
-	
-	$stmt=CDBConnection::getInstance()->prepare("SELECT * FROM ".CDBT_ATTACHMENTS." WHERE entry_id = :group_id");
-  $stmt->bindParam('group_id',$result_page['comp_media'],PDO::PARAM_STR);
-  $stmt->execute();
-	while($result_screenshots= $stmt->fetch(PDO::FETCH_ASSOC)) {
-		$roscms_TEMP_counter++;
-		if ($roscms_TEMP_counter == 1) {
-			echo "<tr>";
-		}
-		echo '<td width="33%" valign="top">';
-
-		echo '<p align="center"><br /><a href="'.$RSDB_intern_link_item_item2.'screens&amp;entry='.$result_screenshots["id"].'"><img src="media/files/'.$result_screenshots["type"].'/'.urlencode($result_screenshots["file"]).'" width="250" height="188" border="0" alt="';
-		echo 'Description: '.htmlentities($result_screenshots["description"])."\nUser: ".usrfunc_GetUsername($result_screenshots["user_id"])."\nDate: ".$result_screenshots["creation"];
-		echo '"></a><br /><i>'.htmlentities($result_screenshots["description"]).'</i><br />';
-		echo '<br /><font size="1">';
-				
-		echo '</font><br /><br /></p>';
-
-		echo "</td>";
-		if ($roscms_TEMP_counter == 3) {
-			echo "</tr>";
-			$roscms_TEMP_counter = 0;
-		}
-	}
-	
-	if ($roscms_TEMP_counter == 1) {
-		echo '<td width="33%" valign="top">&nbsp;</td>';
-		echo '<td width="33%" valign="top">&nbsp;</td></tr>';
-	}
-	if ($roscms_TEMP_counter == 2) {
-		echo '<td width="33%" valign="top">&nbsp;</td></tr>';
-	}
-
-echo "</table>";
-
-}
-else {
-	// Show one picture in max resolution:
-  $stmt=CDBConnection::getInstance()->prepare("SELECT * FROM ".CDBT_ATTACHMENTS." WHERE id = :media_id LIMIT 1") ;
-  $stmt->bindParam('media_id',@$_GET['entry'],PDO::PARAM_STR);
-  $stmt->execute();
-	$result_screenshots= $stmt->fetch(PDO::FETCH_ASSOC);
-	echo '<p align="center"><b><a href="'.$RSDB_intern_link_item_item2.'screens">Show all screenshots</a></b></p>';
-	echo '<h5>'.htmlentities($result_screenshots["description"]).'&nbsp;</h5>';
-	echo '<p><img src="media/files/'.$result_screenshots["type"].'/'.urlencode($result_screenshots["file"]).'" border="0" alt="';
-	echo ''.$result_screenshots["description"].'"></a></p>';
-	echo '<p><b>Description:</b> '.htmlentities($result_screenshots["description"]).'<br />';
-	echo '<b>User:</b> '.usrfunc_GetUsername($result_screenshots["user_id"]).'<br />';
-	echo '<b>Date:</b> '.$result_screenshots["creation"].'</p>';
-	echo '<p align="center"><b><a href="'.$RSDB_intern_link_item_item2.'screens">Show all screenshots</a></b></p>';
-}
-}
-  } // end of member function body
-}
-?>

Removed: branches/compat/lib/view/Item_Tests.class.php
URL: http://svn.reactos.org/svn/reactos/branches/compat/lib/view/Item_Tests.class.php?rev=427&view=auto
==============================================================================
--- branches/compat/lib/view/Item_Tests.class.php [iso-8859-1] (original)
+++ branches/compat/lib/view/Item_Tests.class.php (removed)
@@ -1,221 +1,0 @@
-<?php
-    /*
-    RSDB - ReactOS Support Database
-    Copyright (C) 2005-2006  Klemens Friedl <frik85 at reactos.org>
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-    */
-
-
-class Item_Tips extends HTML_Item
-{
-
-  protected function body()
-  {
-
-
-  $stmt=CDBConnection::getInstance()->prepare("SELECT * FROM rsdb_item_comp WHERE comp_visible = '1' AND comp_id = :comp_id ORDER BY comp_name ASC");
-  $stmt->bindParam('comp_id',@$_GET['item'],PDO::PARAM_STR);
-  $stmt->execute();
-	
-	$result_page = $stmt->fetch(PDO::FETCH_ASSOC);
-	
-if ($result_page['comp_id']) {
-
-	echo "<h2>".$result_page['comp_name'] ." [". "ReactOS ". at show_osversion($result_page['comp_osversion']) ."]</h2>"; 
-?>
-<br />
-	<form action="<?php echo $RSDB_intern_link_item_item2_forum_bar; ?>" method="post" name="forum_bar">
-	
-	<table border="0" align="center" cellpadding="0" cellspacing="0" class="forumbar" width="500">
-	  <tr>
-	    <td><div align="center">	<nobr>
-	
-	Threshold: 
-		<select name="threshold" size="1">
-			<option value="1" <?php if ($RSDB_SET_threshold == "1") { echo 'selected="selected"'; } ?>>1 star (<?php echo Star::thresholdTests(0, 1, true, "testresults", "test"); ?>)</option>
-			<option value="2" <?php if ($RSDB_SET_threshold == "2") { echo 'selected="selected"'; } ?>>2 stars (<?php echo Star::thresholdTests(0, 2, true, "testresults", "test"); ?>)</option>
-			<option value="3" <?php if ($RSDB_SET_threshold == "3") { echo 'selected="selected"'; } ?>>3 stars (<?php echo Star::thresholdTests(0, 3, true, "testresults", "test"); ?>)</option>
-			<option value="4" <?php if ($RSDB_SET_threshold == "4") { echo 'selected="selected"'; } ?>>4 stars (<?php echo Star::thresholdTests(0, 4, true, "testresults", "test"); ?>)</option>
-			<option value="5" <?php if ($RSDB_SET_threshold == "5") { echo 'selected="selected"'; } ?>>5 stars (<?php echo Star::thresholdTests(0, 5, true, "testresults", "test"); ?>)</option>
-		</select>
-	 | </nobr><nobr>
-	 <select name="order" size="1">
-	<option value="new" <?php if ($RSDB_SET_order == "new") { echo 'selected="selected"'; } ?>>Newest First</option>
-	<option value="old" <?php if ($RSDB_SET_order == "old") { echo 'selected="selected"'; } ?>>Oldest First</option>
-	</select> 
-	 | </nobr><nobr>Save: 
-	 <input name="testsave" value="1" type="checkbox"> | </nobr><nobr>
-	   <input value="Change" class="button" type="submit"> 
-	</nobr></div></td>
-	</tr>
-	</table>
-	
-	</form>
-<p align="center">The following reports are owned by whoever posted them. We are not responsible for them in any way. </p>
-<p align="center"><a href="<?php echo $RSDB_intern_link_submit_comp_test; ?>add"><strong>Submit  Compatibility Test Report</strong></a></p>
-
-<?php
-
-	// Voting - update DB
-	if (isset($_GET['vote']) && $_GET['vote'] != '' && isset($_GET['vote2']) && $_GET['vote2'] != '') {
-		Star::addVote($_GET['vote'], $_GET['vote2'], "rsdb_item_comp_testresults", "test");
-	}
-
-	if ($RSDB_SET_order == "new") {
-		$RSDB_TEMP_order = "DESC";
-	}
-	else {
-		$RSDB_TEMP_order = "ASC";
-	}
-
-
-  $stmt=CDBConnection::getInstance()->prepare("SELECT * FROM rsdb_item_comp_testresults WHERE test_visible = '1' AND test_comp_id = :comp_id ORDER BY test_date ".$RSDB_TEMP_order);
-  $stmt->bindParam('comp_id',@$_GET['item'],PDO::PARAM_STR);
-  $stmt->execute();
-
-	while($result_testreports = $stmt->fetch(PDO::FETCH_ASSOC)) {
-		$number = $result_testreports['test_useful_vote_value'];
-		$user = $result_testreports['test_useful_vote_user'];
-		$result_stars = @($number / $user);
-		$result_round_stars = round($result_stars, 0);
-		
-		if ( $result_round_stars >= $RSDB_SET_threshold || ($result_round_stars < $RSDB_SET_threshold && $result_testreports['test_useful_vote_user'] < 7)) {
-			//echo "result_round_stars:".$result_round_stars." | RSDB_SET_threshold:".$RSDB_SET_threshold." | test_useful_vote_user:".$result_testreports['test_useful_vote_user'];
-?>
-    <table width="100%"  border="0" cellpadding="5" cellspacing="1">
-      <tr>
-        <td bgcolor="#E2E2E2"><table width="100%"  border="0" cellpadding="0" cellspacing="0" bordercolor="#5984C3">
-            <tr>
-              <td width="80" rowspan="2" align="center" valign="middle"><div align="left"><strong><?php 
-			  
-				if (CUser::isAdmin($result_testreports['test_user_id'])) {
-					echo '<font size="3" face="Arial, Helvetica, sans-serif" color="#5984C3">&nbsp;Admin';
-				}
-				else if (CUser::isModerator($result_testreports['test_user_id'])) {
-					echo '<font size="2" face="Arial, Helvetica, sans-serif" color="#5984C3">&nbsp;Maintainer';
-				}
-				else {
-					echo '<font size="1" face="Arial, Helvetica, sans-serif" color="#5984C3">&nbsp;User';
-				}
-
-			  
-			   ?></font></strong></div>                </td>
-              <td valign="top"><p><strong><font size="4"><?php echo usrfunc_GetUsername($result_testreports['test_user_id']); ?></font></strong></p></td>
-              <td width="300"><div align="left"><font size="1">
-              <?php
-			  
-			  	$RSDB_TEMP_voting_history = strchr($result_testreports['test_useful_vote_user_history'],("|".$RSDB_intern_user_id."="));
-				if ($RSDB_TEMP_voting_history == false) {
-					echo "Rate this test: ";
-					if ($result_testreports['test_useful_vote_user'] > $RSDB_setting_stars_threshold) {
-						echo Star::drawVoteable($result_testreports['test_useful_vote_value'], $result_testreports['test_useful_vote_user'], 5, "", ($RSDB_intern_link_item_item2_vote.$result_testreports['test_id']."&amp;vote2="));Star::drawVoteable($result_testreports['test_useful_vote_value'], $result_testreports['test_useful_vote_user'], 5, "", ($RSDB_intern_link_item_item2_vote.$result_testreports['test_id']."&amp;vote2="));
-					}
-					else {
-						echo Star::drawVoteable(0, 0, 5, "", ($RSDB_intern_link_item_item2_vote.$result_testreports['test_id']."&amp;vote2="));Star::drawVoteable($result_testreports['test_useful_vote_value'], $result_testreports['test_useful_vote_user'], 5, "", ($RSDB_intern_link_item_item2_vote.$result_testreports['test_id']."&amp;vote2="));
-					}
-				}
-				else {
-					echo "Rating: ";
-					echo Star::drawNormal($result_testreports['test_useful_vote_value'], $result_testreports['test_useful_vote_user'], 5, "");
-				}
-			    ?>
-              </font></div></td>
-            </tr>
-            <tr>
-              <td valign="top"><font size="2">on <?php echo $result_testreports['test_date']; ?></font></td>
-              <td><div align="left"><font size="1">
-                <?php 
-		
-			if ($result_testreports['test_useful_vote_value']) {
-				if ($result_testreports['test_useful_vote_user'] == "1") {
-					echo "Only a few users has already rated, please rate!";
-				}
-				elseif ($result_testreports['test_useful_vote_user'] > "1" && $result_testreports['test_useful_vote_user'] <= "6") {
-					echo $result_testreports['test_useful_vote_user']." users have already rated, please rate!";
-				}
-				else {
-					echo round(($result_testreports['test_useful_vote_value'] / 5), 0)." of ".$result_testreports['test_useful_vote_user'];
-					echo " registered user found this test useful.";
-				}
-			}
-			else {
-				echo "No one rated this test, please rate!";
-			}
-				
-		?>
-		      </font></div></td>
-            </tr>
-        </table></td>
-      </tr>
-      <tr>
-        <td colspan="2" bgcolor="#EEEEEE">
-          <?php 
-		  	if ($result_testreports['test_com_version']) {
-		  ?>
-		  <p><font size="2"><strong>Application additional information</strong><br />
-			  <?php echo wordwrap(nl2br(htmlentities($result_testreports['test_com_version'], ENT_QUOTES))); ?></font></p>
-          <?php 
-		  	}
-		  ?>
-		  <p><font size="2"><strong>What works</strong><br />
-		  <?php echo wordwrap(nl2br(htmlentities($result_testreports['test_whatworks'], ENT_QUOTES))); ?></font></p>
-		  <?php 
-		  	if ($result_testreports['test_whatdoesntwork']) {
-		  ?>
-			  <p><font size="2"><strong>What doesn't</strong><br />
-			  <?php echo wordwrap(nl2br(htmlentities($result_testreports['test_whatdoesntwork'], ENT_QUOTES))); ?></font></p>
-          <?php 
-		  	}
-		  	if ($result_testreports['test_whatnottested']) {
-		  ?>
-			  <p><font size="2"><strong>What has been tested and what not</strong><br />
-		  <?php echo wordwrap(nl2br(htmlentities($result_testreports['test_whatnottested'], ENT_QUOTES))); ?></font></p>
-          <?php 
-		  	}
-		  	if ($result_testreports['test_user_comment']) {
-		  ?>
-			  <p><font size="2"><strong>Tester Comment</strong><br />
-			  <?php echo wordwrap(nl2br(htmlentities($result_testreports['test_user_comment'], ENT_QUOTES))); ?></font></p></td>
-          <?php 
-		  	}
-		  ?>
-      </tr>
-      <tr>
-        <td colspan="2" bgcolor="#E2E2E2"><table width="100%"  border="0" cellpadding="0" cellspacing="0" bordercolor="#5984C3">
-          <tr>
-            <td rowspan="2" valign="top"><p><font size="2"><strong>Conclusion</strong><br />
-            <?php echo wordwrap(nl2br(htmlentities($result_testreports['test_conclusion'], ENT_QUOTES))); ?></font></p>			</td>
-            <td width="70"><div align="right">Function: </div></td>
-            <td width="110">&nbsp;<font size="1"><?php echo Star::drawNormal($result_testreports['test_result_function'], 1, 5, ""); ?></font></td>
-          </tr>
-          <tr>
-            <td><div align="right">Install: </div></td>
-            <td>&nbsp;<font size="1"><?php echo Star::drawNormal($result_testreports['test_result_install'], 1, 5, ""); ?></font></td>
-          </tr>
-        </table></td>
-      </tr>
-    </table>
-<?php
-	  		echo "<br />";
-		}
-		else {
-			echo "<p><i>This test report is beneath your threshold!</i></p>";
-		}
-	}
-}
-  } // end of member function body
-}
-?>

Removed: branches/compat/lib/view/Item_Tips.class.php
URL: http://svn.reactos.org/svn/reactos/branches/compat/lib/view/Item_Tips.class.php?rev=427&view=auto
==============================================================================
--- branches/compat/lib/view/Item_Tips.class.php [iso-8859-1] (original)
+++ branches/compat/lib/view/Item_Tips.class.php (removed)
@@ -1,42 +1,0 @@
-<?php
-    /*
-    RSDB - ReactOS Support Database
-    Copyright (C) 2005-2006  Klemens Friedl <frik85 at reactos.org>
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-    */
-
-class Item_Tips extends HTML_Item
-{
-
-  protected function body()
-  {
-
-
-    $stmt=CDBConnection::getInstance()->prepare("SELECT * FROM rsdb_item_comp WHERE comp_visible = '1' AND comp_id = :comp_id ORDER BY comp_name ASC");
-    $stmt->bindParam('comp_id',@$_GET['item'],PDO::PARAM_STR);
-    $stmt->execute();
-
-		$result_page = $stmt->fetch(PDO::FETCH_ASSOC);
-		
-?>
-
-	<h2>Tips and Tricks</h2>
-	<p>[...]<br>
-    </p>
-<?php
-  } // end of member function body
-}
-?>

Removed: branches/compat/lib/view/Submit_Screenshot.class.php
URL: http://svn.reactos.org/svn/reactos/branches/compat/lib/view/Submit_Screenshot.class.php?rev=427&view=auto
==============================================================================
--- branches/compat/lib/view/Submit_Screenshot.class.php [iso-8859-1] (original)
+++ branches/compat/lib/view/Submit_Screenshot.class.php (removed)
@@ -1,135 +1,0 @@
-<?php
-    /*
-    RSDB - ReactOS Support Database
-    Copyright (C) 2005-2006  Klemens Friedl <frik85 at reactos.org>
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-    */
-
-
-class Item_Tips extends HTML_Item
-{
-
-  protected function body()
-  {
-
-
-$stmt=CDBConnection::getInstance()->prepare("SELECT * FROM rsdb_item_comp WHERE comp_visible = '1' AND comp_id = :comp_id ORDER BY comp_name ASC");
-$stmt->bindParam('comp_id',@$_GET['item'],PDO::PARAM_STR);
-$stmt->execute();
-
-$result_page = $stmt->fetch(PDO::FETCH_ASSOC);
-
-if ($result_page['comp_id']) {
-
-echo "<h2>".$result_page['comp_name'] ." [ReactOS ".  @show_osversion($result_page['comp_osversion']) ."]</h2>"; 
-
-if ($RSDB_intern_user_id <= 0) {
-	Message::loginRequired(); 
-}
-else {
-	
-	echo "<h3>Submit Screenshot</h3>";
-
-	$RSDB_TEMP_SUBMIT_valid = "no";
-	$RSDB_TEMP_picgrpnr = 0;
-	$RSDB_TEMP_picorder = 0;
-
-	$RSDB_TEMP_txtdesc = "";
-	$rem_adr = "";
-	
-	if (array_key_exists("txtdesc", $_POST)) $RSDB_TEMP_txtdesc=htmlspecialchars($_POST["txtdesc"]);
-	
-	if (array_key_exists('REMOTE_ADDR', $_SERVER)) $rem_adr=htmlspecialchars($_SERVER['REMOTE_ADDR']);
-
-
-	include('inc/tools/upload_picture.php');
-
-
-
-	if ($RSDB_TEMP_SUBMIT_valid == "yes") {
-	
-		if ($result_page['comp_media'] == 0) {
-		
-      $stmt=CDBConnection::getInstance()->prepare("SELECT * FROM ".CDBT_ATTACHMENTS." ORDER BY entry_id DESC LIMIT 1");
-      $stmt->execute();
-			$result_media_entry = $stmt->fetch(PDO::FETCH_ASSOC);
-			
-			$RSDB_TEMP_picgrpnr = $result_media_entry['entry_id'];
-			$RSDB_TEMP_picgrpnr++;
-			
-			$stmt=CDBConnection::getInstance()->prepare("UPDATE rsdb_item_comp SET comp_media = :media WHERE comp_id = :comp_id");
-      $stmt->bindParam('media',$RSDB_TEMP_picgrpnr,PDO::PARAM_STR);
-      $stmt->bindParam('comp_id',$result_page['comp_id'],PDO::PARAM_STR);
-      $stmt->execute();
-			
-			$RSDB_TEMP_picorder = 1;
-		
-		}
-		else {
-		
-      $stmt=CDBConnection::getInstance()->prepare("SELECT * FROM ".CDBT_ATTACHMENTS." WHERE entry_id = :group_id AND visible IS TRUE LIMIT 1");
-      $stmt->bindParam('group_id',$result_page['comp_media'],PDO::FETCH_ASSOC);
-      $stmt->execute();
-			$result_media_entry = $stmt->fetch(PDO::FETCH_ASSOC);
-			
-			$RSDB_TEMP_picgrpnr = $result_page['comp_media'];
-			$RSDB_TEMP_picorder = 0;//$result_media_entry['media_order'];
-			$RSDB_TEMP_picorder++;
-		
-		}
-				
-    $stmt=CDBConnection::getInstance()->prepare("INSERT INTO ".CDBT_ATTACHMENTS." ( id, entry_id, visible, file, type, description, creation, user_id) VALUES ('', :group_id, TRUE, :file, 'picture', :decription, NOW(), :user_id)");
-    $stmt->bindParam('group_id',$RSDB_TEMP_picgrpnr,PDO::PARAM_STR);
-    $stmt->bindParam('file',$Tdbfile,PDO::PARAM_STR);
-    $stmt->bindParam('description',$RSDB_TEMP_txtdesc,PDO::PARAM_STR);
-    $stmt->bindParam('user_id',$RSDB_intern_user_id,PDO::PARAM_STR);
-    $stmt->execute();
-
-		echo "<p><b>Your screenshot has been stored!</b></p>";
-		echo "<p><b><a href=\"". $RSDB_intern_link_item_item2 ."screens\">View screenshots</a></b></p>";
-		echo "<p><a href=\"". $RSDB_intern_link_submit_comp_screenshot ."add\">Submit new screenshot</a></p>";
-		
-		
-	}
-	else {
-?>
-
-<form name="RSDB_comp_screenshot" enctype="multipart/form-data" method="post" action="<?php echo $RSDB_intern_link_submit_comp_screenshot; ?>submit">
-<p>Upload a screenshot of <b><?php echo $result_page['comp_name']; ?></b> running in <b>ReactOS <?php echo @show_osversion($result_page['comp_osversion']); ?></b>.</p>
-<p>&nbsp;</p>
-<p><strong>Screenshot image:</strong><br> 
-    <input name="file" type="file" size="30" maxlength="255">
-    <em><font size="1">(allowed formats: jpg, png, gif; max. filesize: 250 KB; 4:3)</font></em> </p>
-<p>
-  <strong>Description:</strong><br> 
-  <input name="txtdesc" type="text" id="txtdesc" size="60" maxlength="255">
-</p>
-<p>&nbsp;</p>
-<p><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><em>Please do <strong>not submit screenshots</strong> from <strong>other applications</strong> and/or <strong>operating systems</strong>! </em></font></p>
-<p>&nbsp;</p>
-<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">By clicking &quot;Submit&quot; below you agree to be bound by the <a href="<?php echo $RSDB_intern_index_php; ?>?page=conditions" target="_blank">submit conditions</a>.</font></p>
-<p>
-	<input type="submit" name="Submit" value="Submit">
-</p>
-</form>
-<?php
-	}
-	
-}
-}
-  } // end of member function body
-}
-?>



More information about the Ros-diffs mailing list