Top Curve Top Shadow
Border

  Democratic Republic of Congo Kinshasa

Border Shadow
Spacer
Spacer
   Administré par: Joseph Diamany D'autres langues:    
Spacer
Spacer
", $poll_dataHeaderRight=""; $startDate = $poll_object->startdate; $endDate = $poll_object->enddate; $comments = $poll_object->comments; if ($startDate != "") { $startDate = "$strLangStart: $startDate  "; } if ($endDate != "") { $endDate = "  $strLangEnd: $endDate"; } if ($comments != "") { $comments = "$rowSpacer"; } $strPollDisplay .= "
Spacer
Nom d'utilisateur: Mot de passe: Help Type:
Help Se souvenir de moi:
Congo Map Ce site est destiné à tous les anciens missionnaires qui ont servi dans la Mission de la République Démocratique du Congo Kinshasa de l'Eglise de Jésus-Christ des Saints des Derniers Jours.

Veuillez consulter l'annuaire des anciens missionnaires, lire les nouvelles ou placer des messages. Notre régistre des visiteurs est à votre entière disposition si vous n'avez pas servi dans cette mission mais aimerez contribuer.

N'hésitez pas aussi à nous contacter pour corriger ou ajouter quelque chose à notre publication. Les suggestions et commentaires sont toujours les bienvenus.

Democractic Republic of Congo Falg
Page de Base
divider
Anciens Missionnaires
divider
Amis
divider
Missionnaires courants
divider
Présidents
divider
Réunions
divider
Nouvelles
divider
Messages
divider
Liens
divider
Images
divider
Histoires
divider
Infos sur la mission
divider
Commentaires
divider

divider
Inviter un ami
divider
Login
divider
Spacer Spacer
// $poll_dataHeader, $poll_dataFooter - // Tags surrounding each data entry () // ////////////////////////////////////////////////////////////////////// // // Returns: // 0 - error (prints error to output) // String containing output // ////////////////////////////////////////////////////////////////////// // // Global references: // $poll_usePersistentConnects; // $poll_descTableName; // (from inc/phpPollConfig.php) // global $strLangSubmittedBy, $strLangStart, $strLangEnd, $strLangComments // ////////////////////////////////////////////////////////////////////// // // Author: dangby // dangby // ////////////////////////////////////////////////////////////////////// function poll_viewInfo($pollID, $poll_tableHeader="
Spacer
Spacer Spacer Spacer Spacer

Visiteurs 6681

Nombre de fichiers:
Régistre des visiteurs: 12
Anciens Missionnaires: 11
Actuel: 4
Nouvelles: 4
Images: 1


D'autres langues:
Anglais
Orage Line "; return(0); } $poll_object = @db_fetch_object($poll_result); $strPollTitle .= $poll_object->title; if (!$poll_usePersistentConnects == 0) db_close($poll_db_ID); return stripslashes($strPollTitle); } ////////////////////////////////////////////////////////////////////// // Function poll_exists($poll_id) ////////////////////////////////////////////////////////////////////// function poll_exists($poll_id) { $title = @poll_getTitle($poll_id, false); if (!empty($title)) { return(true); } return(false); } ////////////////////////////////////////////////////////////////////// // Function poll_generateUI($poll_id, $poll_forwarder) ////////////////////////////////////////////////////////////////////// // This function generates the HTML code allowing a user to vote // for a certain poll. The ID of this poll has to be given as function // parameter, as well as a forwarder. ////////////////////////////////////////////////////////////////////// // Parameters: // poll_id - // ID number of the poll to be used (MUST be valid) // poll_forwarder - // URL that will be used as a forwarder in the resulting // page to forward the user to an application-defined // target page. ////////////////////////////////////////////////////////////////////// // Returns: // strPollBody string for output ////////////////////////////////////////////////////////////////////// // Calls to: // none ////////////////////////////////////////////////////////////////////// // Global references: // $poll_usePersistentConnects // $poll_dataTableName, $poll_maxOptions // (from inc/phpPollConfig.php) ////////////////////////////////////////////////////////////////////// // Author: dgibby // Last change: 01/11/28 ////////////////////////////////////////////////////////////////////// function poll_generateUI($poll_id, $poll_forwarder) { global $poll_dataTableName, $poll_maxOptions; global $poll_usePersistentConnects, $strLangPoll; $strPollOptions = ""; // connect to database $poll_db_ID = db_connect(); // setup a form $strPollOptions .= "
$strLangPoll: " . poll_getTitle($poll_id) . "
"; // no default selected yet $poll_default = 0; $poll_result = db_query("SELECT * FROM $poll_dataTableName WHERE (pollID=$poll_id)", $poll_db_ID); if(!$poll_result) { $strPollOptions .= db_error(). "
"; return($strPollOptions); } $numrows_returned = db_numrows($poll_result); // cycle through all options for($i = 0; $i < $numrows_returned; $i++) { // select next vote option $poll_result = db_query("SELECT * FROM $poll_dataTableName WHERE (pollID=$poll_id) AND (voteID=$i)", $poll_db_ID); if(!$poll_result) { $strPollOptions .= db_error(). "
"; return($strPollOptions); } // fetch field $poll_object = db_fetch_object($poll_result); if(is_object($poll_object)) { $poll_optionText = $poll_object->optiontext; if($poll_optionText != "") { $strPollOptions .= ""; } } } $strPollOptions .= "
 See Results
"; // close link to database if($poll_usePersistentConnects == 0) db_close($poll_db_ID); return($strPollOptions); } ////////////////////////////////////////////////////////////////////// // // Function poll_viewInfo() // ////////////////////////////////////////////////////////////////////// // // This function generates HTML code showing a poll's additional infomation. // It displays them in a table for which parameters can be adjusted // in inc/phpPollConfig.php // ////////////////////////////////////////////////////////////////////// // // Parameters: // $poll_id - // ID of poll to show results for (MUST be valid) // $poll_tableHeader, $poll_tableFooter - // Tags surrounding the output table (
) // $poll_rowHeader, $poll_rowFooter - // Tags surrounding each row (
", $poll_rowHeader="", $poll_dataHeader="", $poll_rowFooter="", $poll_tableFooter="
", $poll_dataFooter="
", $poll_totalHeader="
", $poll_totalFooter="") { global $poll_usePersistentConnects; global $poll_descTableName; global $strLangSubmittedBy, $strLangStart, $strLangEnd, $strLangComments; $strPollDisplay = ""; // connect to database $poll_db_ID = db_connect(); $strPollDisplay .= $poll_tableHeader; $query_result = db_query("SELECT comments, startdate, enddate, uid FROM $poll_descTableName WHERE pollID=$pollID", $poll_db_ID); $numrows = db_numrows($query_result); if(!$query_result) { $strPollDisplay .= db_error(). "
"; return(0); } $poll_object = db_fetch_object($query_result, 0); $rowSpacer = "
$strLangComments: $comments
" . $comments . "
\n
$startDate$endDate
"; if($poll_usePersistentConnects == 0) { db_close($poll_db_ID); } return($strPollDisplay); } ////////////////////////////////////////////////////////////////////// // // Function poll_viewResults() // ////////////////////////////////////////////////////////////////////// // // This function generates HTML code showing a poll's results. // It displays them in a table for which parameters can be adjusted // ////////////////////////////////////////////////////////////////////// // // Parameters: // $poll_id - // ID of poll to show results for (MUST be valid) // $poll_tableHeader, $poll_tableFooter - // Tags surrounding the output table (
) // $poll_rowHeader, $poll_rowFooter - // Tags surrounding each row ( // $poll_dataHeader, $poll_dataFooter - // Tags surrounding each data entry () // ////////////////////////////////////////////////////////////////////// // // Returns: // 0 - error (prints error to output) // String containing output // ////////////////////////////////////////////////////////////////////// // // Calls to: // none // ////////////////////////////////////////////////////////////////////// // // Global references: // $poll_usePersistentConnects // $poll_descTableName, $poll_dataTableName // $poll_maxOptions, $poll_resultBarScale, $poll_resultBarHeight // $poll_resultTableBgColor, $poll_resultBarFile // (from inc/phpPollConfig.php) // ////////////////////////////////////////////////////////////////////// // // Author: tig // dangby // ////////////////////////////////////////////////////////////////////// function poll_viewResults($poll_id, $poll_tableHeader="", $poll_rowHeader="", $poll_dataHeader="", $poll_rowFooter="", $poll_tableFooter="
", $poll_dataFooter="
", $poll_totalHeader="", $poll_totalFooter="", $poll_dataHeaderRight="") { global $poll_usePersistentConnects; global $poll_descTableName, $poll_dataTableName, $poll_maxOptions; global $poll_resultBarScale, $poll_resultBarHeight, $poll_resultTableBgColor; global $poll_resultBarFile, $poll_checkUserVoted; global $strLangVote, $strLangTotalVotes; $strPollDisplay = ""; // connect to database $poll_db_ID = db_connect(); $poll_sum = getTotalVotes($poll_id, $poll_db_ID); $strPollDisplay .= $poll_tableHeader; $query_result = db_query("SELECT pollID FROM $poll_dataTableName WHERE pollID=$poll_id", $poll_db_ID); $numrows = db_numrows($query_result); // cycle through all options for($i = 0; $i < $numrows; $i++) { // select next vote option $poll_result = db_query("SELECT * FROM $poll_dataTableName WHERE (pollID=$poll_id) AND (voteID=$i)", $poll_db_ID); if(!$poll_result) { $strPollDisplay .= db_error(). "
"; return(0); } // fetch field $poll_object = db_fetch_object($poll_result); if(is_object($poll_object)) { $poll_optionText = stripslashes($poll_object->optiontext); $poll_optionCount = $poll_object->optioncount; $strPollDisplay .= $poll_rowHeader; if($poll_optionText != "") { $strPollDisplay .= $poll_dataHeader; $strPollDisplay .= "     $poll_optionText"; $strPollDisplay .= $poll_dataFooter; if($poll_sum) { $poll_percent = 100 * $poll_optionCount / $poll_sum; } else { $poll_percent = 0; } $strPollDisplay .= $poll_dataHeader; if ($poll_percent > 0) { $poll_percentScale = (int)($poll_percent * $poll_resultBarScale); $strPollDisplay .= ""; } $strPollDisplay .= $poll_dataFooter . $poll_dataHeader; $strPollDisplay .= sprintf("(%d)", $poll_optionCount); $strPollDisplay .= $poll_dataFooter . $poll_dataHeaderRight; $strPollDisplay .= sprintf(" %.1f %%", $poll_percent);//str_replace("%", " ", sprintf(" %.1f %%", $poll_percent)); $strPollDisplay .= $poll_dataFooter; } $strPollDisplay .= $poll_rowFooter; } } $strPollDisplay .= $poll_rowHeader; $strPollDisplay .= $poll_totalHeader; $strPollDisplay .= "
$strLangTotalVotes: $poll_sum   "; if ($_SESSION['sess_logged_in']) { $strPollDisplay .= "     $strLangVote"; } $strPollDisplay .= $poll_totalFooter; $strPollDisplay .= $poll_rowFooter; $strPollDisplay .= $poll_tableFooter; // close link to database if($poll_usePersistentConnects == 0) db_close($poll_db_ID); return($strPollDisplay); } ////////////////////////////////////////////////////////////////////// // // Function poll_getResults() // ////////////////////////////////////////////////////////////////////// // // This function gets a poll's result and returns it in an array. // ////////////////////////////////////////////////////////////////////// // // Parameters: // $poll_id - // ID of poll to show results for (MUST be valid) // ////////////////////////////////////////////////////////////////////// // // Returns: // 0 - error (prints error to output) // array results - // This is a multi-dimensional array containing various information // of the poll identified with $poll_id. // The first element of the array ($result[0]) contains the topic of // the poll and the number of total votes: // $result[0]["title"] - topic of the poll // $result[0]["votes"] - total number of votes for this poll // The next elemts contain information about the individual poll // options. If a poll has two options, it would contain two more elements - // $results[1] and $results[2] - both being an array again with the following // elements: // $result[n]["text"] - text of the option // $result[n]["votes"] - votes for this option // ////////////////////////////////////////////////////////////////////// // // Calls to: // none // ////////////////////////////////////////////////////////////////////// // // Global references: // $poll_usePersistentConnects // $poll_descTableName, $poll_dataTableName // (from inc/phpPollConfig.php) // ////////////////////////////////////////////////////////////////////// // // Author: tobias // Last change: 99/06/04 // ////////////////////////////////////////////////////////////////////// function poll_getResults($poll_id) { global $poll_usePersistentConnects; global $poll_descTableName, $poll_dataTableName, $poll_maxOptions; $ret = array(); // connect to database $poll_db_ID = db_connect(); $poll_result = db_query("SELECT SUM(optionCount) AS SUM FROM $poll_dataTableName WHERE pollID=$poll_id", $poll_db_ID); if(!$poll_result) { echo db_error(). "
"; return(0); } $poll_sum = getTotalVotes($poll_id); $poll_title = stripslashes(db_result($poll_result, 0, "title")); $ret[0] = array("title"=>$poll_title, "votes"=>$poll_sum); // select next vote option $poll_result = db_query("SELECT * FROM $poll_dataTableName WHERE pollID=$poll_id", $poll_db_ID); if(!$poll_result) { echo db_error(). "
"; return(0); } $counter = 0; while ($row = db_fetch_array($poll_result, $counter)) { $ret[] = array("text"=>$row["optionText"], "votes"=>$row["optionCount"]); $counter++; } // close link to database if($poll_usePersistentConnects == 0) db_close($poll_db_ID); return($ret); } function getTotalVotes($poll_id) { global $poll_dataTableName, $strPollDisplay; $connection = db_connect(); $poll_result = db_query("SELECT SUM(optionCount) AS SUM FROM $poll_dataTableName WHERE pollID=$poll_id", $connection); if(!$poll_result) { $strPollDisplay .= db_error(). "
"; return(0); } return ((int)db_result($poll_result, 0, "SUM")); } ////////////////////////////////////////////////////////////////////// // // Function poll_listPolls() // ////////////////////////////////////////////////////////////////////// // // This function returns all available polls in a two-dimensional // array, structured as [pollDescription, pollID] // ////////////////////////////////////////////////////////////////////// // // Parameters: // none // ////////////////////////////////////////////////////////////////////// // // Returns: // Array listing all polls along with ID [pollDescription, pollID] // ////////////////////////////////////////////////////////////////////// // // Calls to: // none // ////////////////////////////////////////////////////////////////////// // // Global references: // $poll_usePersistentConnects // $poll_descTableName // (from inc/phpPollConfig.php) // ////////////////////////////////////////////////////////////////////// // // Author: Daniel Gibby // // ////////////////////////////////////////////////////////////////////// function poll_listPolls() { global $poll_usePersistentConnects, $poll_descTableName, $cfg_mission_id, $qrAllUsersVw; // connect to database $poll_db_ID = db_connect(); // select all descriptions $poll_result = db_query("SELECT * FROM $poll_descTableName p, auth a WHERE p.pollID = a.pri_key AND live = 't' AND auth_table = 'polls' AND a.mission_id IN ($cfg_mission_id) ORDER BY timeStamp", $poll_db_ID); if(!$poll_result) { echo db_error(). "
"; return; } // echo "sess_id: $_SESSION['sess_id'], sess_username: $_SESSION['sess_username']"; $num_polls = db_numrows($poll_result); // echo "number of polls: ".$num_polls; // cycle through the descriptions until everyone has been fetched for($counter=0; $counter < $num_polls; $counter++) { $poll_object = db_fetch_object($poll_result, $counter); // I set this to always be user_type ADMIN... don't know if that's what we want $getCreator = runQuery("SELECT id, full_name, user_type FROM ($qrAllUsersVw) AS u WHERE id='$poll_object->uid' AND user_type = 'ADMIN'"); $creator_object = db_fetch_object($getCreator, 0); $creator_name = $creator_object->full_name; $creator_id = $creator_object->id; $creator_type = $creator_object->user_type; $resultArray[$counter] = array($poll_object->pollid, $poll_object->title, $creator_name, $poll_object->startdate, $poll_object->enddate, $poll_object->comments, $creator_id, $creator_type); } if($poll_usePersistentConnects == 0) db_close($poll_db_ID); return($resultArray); } ////////////////////////////////////////////////////////////////////// ?>

Quoi de neuf? (Mises au jour)

30 Jan 2012   Alumni: Frédéric kabafré KABAMBA
24 Jan 2012   *Alumni: Boyce Uchechukwu Nwankpa
17 Dec 2011   Alumni: frédéric kabafré KABAMBA
02 Nov 2009   Current: Robert Wilkins
30 Jul 2008   Current: Brandon James Price
20 Sep 2007   *Alumni: Elysée Ngalula
13 Jun 2007   Current: Mitchell Muir
06 Apr 2007   Alumni: Andrew U. Ikponmwonba
04 Oct 2006   Alumni: Germando Africa KONDE
20 Jun 2006   Régistre des visiteurs: Que se passe t-il? -- Marie
30 May 2006   Alumni: Eustache Ilunga
30 Apr 2006   Guestbook: Swahili in Idaho? -- Jeanne Mecham
15 Aug 2005   Alumni: Bill Elieson
28 Apr 2005   Guestbook: Recherche d'un ami -- Concetta jones
06 Oct 2004   Image: Au mission -- Boyce Uchechukwu Nwankpa
18 Aug 2004   Alumni: George Sawroh Pelenah
12 Jul 2004   Nouvelles: La croissance en RDC/Kinshasa! -- Joseph Diamany
11 May 2004   Guestbook: Members in Angola -- Carolyn Moore
21 Dec 2003   Régistre des visiteurs: info pour membres en Belgique -- Albert Mesotten
13 Nov 2003   Guestbook: Mission Inforamtion -- Ron Richards
25 Sep 2003   Alumni: Junior M Banza
12 Sep 2003   Régistre des visiteurs: Research of a Sister missionary from Madagascar -- Domoina Voniarisoa
09 Jul 2003   Guestbook: Vegetable Seeds -- Dean Urmston
02 Jun 2003   Régistre des visiteurs: Recherche d'un ami -- Godfrey Kisela
30 Dec 2002   Nouvelles: Nouvelles -- Joseph Diamany
30 Dec 2002   Nouvelles: Nouvelles -- Joseph Diamany
19 Dec 2002   Régistre des visiteurs: L'Eglise au Congo -- Godfrey Kisela
17 Dec 2002   *Alumni: Joseph Désiré Diamany
11 Dec 2002   Nouvelles: -- Joseph Diamany
06 Oct 2002   Guestbook: Can you help me? -- Thony tumbula
 * = mise à jour
Bottom Curve Bottom Shadow

Page de Base · Anciens Missionnaires · Amis · Missionnaires courants · Présidents · Réunions · Nouvelles · Messages · Liens · Images · Histoires · Infos sur la mission · Commentaires

LDS Mission Network

Copyright 2002 - 2006 LDS Mission Networksm · mission.net / ldsmissions.net · All rights reserved.

Désaveu: Ce site n'est nullement une filiale officielle de l'Église de Jésus-Christ des Saints des Derniers Jours. Bien que ce site soit conçu pour complémenter et illustrer les enseignements et les croyances de l'église mentionnée ci-dessus, aucun contenu dans ce site devrait être compris comme une politique ou doctrine officielle de l'église
Site-in-a-Box is a service mark of LDS Mission Network. Version 2.1