require("./include/Spanish-lang.inc"); break; case "French": require("./include/French-lang.inc"); break; */ default: require "./include/English-intro.inc"; break; } echo " "; echo "</TD></TR></TABLE></CENTER>"; } else { $db->next_record(); $develid = $db->f("develid"); increasecnt($develid); $username = $devname; echo "<CENTER><FONT SIZE=\"+3\"><B> {$devname} </B></FONT></CENTER><BR><BR>"; $bx->box_begin(); $bx->box_title($t->translate("Personal Data")); $bx->box_body_begin(); echo "<table border=0 width=100% align=center cellspacing=3 cellpadding=3>\n"; //echo "<tr><td align=right width=30%>".$t->translate("Username").":</td><td width=70%> $username\n"; if ($db->f("showname") == "yes") { echo "<tr><td align=right width=30%>" . $t->translate("Realname") . ":</td><td width=70%>" . $db->f("realname") . "\n"; } $year_of_birth = $db->f("year_of_birth"); if ($year_of_birth == "0") { $year_of_birth = $t->translate("No Entry"); } else { $year_of_birth = "19" . $year_of_birth;
# BerliOS DocsWell: http://docswell.berlios.de # BerliOS - The OpenSource Mediator: http://www.berlios.de # # Keep track of downloads # # 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 or later of the GPL. ###################################################################### require "./include/prepend.php3"; page_open(array("sess" => "DocsWell_Session")); require "./include/config.inc"; require "./include/lib.inc"; $db = new DB_DocsWell(); // increase counter increasecnt($id); // Redirect to URL ?> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META HTTP-EQUIV="refresh" CONTENT="0;url=<?php echo "{$url}"; ?> "> <META NAME="robots" CONTENT="noindex"> <TITLE>Page redirected to ...</TITLE> <LINK rel="stylesheet" type="text/css" href="style.php"> </HEAD> <BODY> </BODY>
page_open(array("sess" => "SourceWell_Session")); if (isset($auth) && !empty($auth->auth["perm"])) { page_close(); page_open(array("sess" => "SourceWell_Session", "auth" => "SourceWell_Auth", "perm" => "SourceWell_Perm")); } require "./include/header.inc"; require "./include/cmtlib.inc"; $bx = new box("100%", $th_box_frame_color, $th_box_frame_width, $th_box_title_bgcolor, $th_box_title_font_color, $th_box_title_align, $th_box_body_bgcolor, $th_box_body_font_color, $th_box_body_align); $be = new box("", $th_box_frame_color, $th_box_frame_width, $th_box_title_bgcolor, $th_box_title_font_color, $th_box_title_align, $th_box_body_bgcolor, $th_box_error_font_color, $th_box_body_align); ?> <!-- content --> <?php $query = "SELECT *,SUM(app_cnt+homepage_cnt+download_cnt+changelog_cnt+rpm_cnt+deb_cnt+tgz_cnt+cvs_cnt+screenshots_cnt+mailarch_cnt) AS sum_cnt FROM software,counter,auth_user WHERE software.appid='{$id}' AND software.appid=counter.appid AND software.user=auth_user.username GROUP BY software.appid"; #$id=156; increasecnt($id, "app_cnt"); $db->query($query); if ($db->next_record()) { $db_status = $db->f("status"); if ($db_status == 'A') { appfull($query); // Shows the comments on this app $query = "SELECT * FROM comments,auth_user WHERE appid='{$id}' AND auth_user.username=comments.user_cmt ORDER BY creation_cmt DESC"; cmtshow($query); } else { switch ($db_status) { case "P": $be->box_full($t->translate("Error"), $t->translate("Application") . " <b>" . $db->f("name") . "</b> " . $t->translate("has not yet been reviewed by a {$sys_name} Editor.<br> Please, be patient. It will be surely done in the next time.")); break; case "M": $be->box_full($t->translate("Error"), $t->translate("Application") . " <b>" . $db->f("name") . "</b> " . $t->translate("is modified") . ".");
# # 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 or later of the GPL. # # $Id: redirect.php,v 1.2 2003/02/25 11:45:44 helix Exp $ # ###################################################################### require "./include/prepend.php3"; page_open(array("sess" => "SourceBiz_Session")); require "./include/config.inc"; require "./include/lib.inc"; // // increase counter // increasecnt($id, $type); // // Redirect to URL // ?> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META HTTP-EQUIV="refresh" CONTENT="0;url=<?php echo "{$url}"; ?> "> <META NAME="GENERATOR" CONTENT="Mozilla/4.05 [en] (X11; I; SunOS 5.6 sun4m) [Netscape]"> <META NAME="robots" CONTENT="noindex"> <TITLE>Page redirected to ...</TITLE> <LINK rel="stylesheet" type="text/css" href="style.php">