Professional Documents
Culture Documents
Group Members: Roldan Villaber BS ComE-5 Jun Rey Dotarot BS ComE-5 Rosemarie Calamba BS ComE-5 Jover Nuez BS ComE-5
Opportunities: -Increase potentials as religious mission organization. -Develop and enhance individuals as well as barangays. - Expand and widen mission coverage as well as mission participants.
V.M: Vision: To hold in consciousness a world where all live in equality, love, peace and joy as one heart, one mind, one light.
Mission:
To serve all humanity with honesty, compassion, and understanding as an expression of God's love.
Technical: -The IS used web hosting method for our domain web site. The IT people used computer units to access the online server provided by the hosting company. Our IT team has computer units (laptop, E-machine, 250G HD, 2G RAM, i3 CPU, Ubuntu 10.10 and Windows 7).
Economic: Initially, we are going to purchase domain web site in a company targeting an amount of 2500 PHP to suffice the desired 25 MB bandwidth of our web site. Labor, professional, and maintenance fee for our IT team is not yet discussed. Additional laptops or computer units in the high-end requirements are also being recommended by our IT team.
Scheduling: With as much as possible, the IT team can finalize the IS web site before the end of the first semester (October, 2011).
III. List of System Features: A. Online Donation System. Donation via PayPall.com system. Donation Verification
B. Online Membership System. Application Evaluation through E-mail Membership Activation with E-mail Notification
C. Social Networking Basic Features: Admin Respective Pages Event Posting Comment Posting Messaging E-mail Upload Pictures and Create Album Update and Edit Profiles
Output:
A. Online Donation System: -The web site will automatically generate thanks message every after donation processed.
-It will produce a regular report about the donators and the donations which will be posted in a specific page.
B. Membership System: -The system will send an email activation to signify that your membership application is granted. -Being an official member, the system provides you privileges such as: A. Email or Sending Message to Members and Staffs
-Regarding application in joining, participating or being a volunteer, department heads (Mission Operations, Socio-Cultural Development, and Humanitarian Development) will produce mechanisms to entertain applications through Posts (Announcements or News Updates) or a group messaging to all members.
Input: - Donators should enter credit card account numbers and other related data to transact online donations in a donation page of the web site. Members or not can have the access in donation page.
-Membership is done by submitting application forms where you will provide basic information and your purpose of membership. You are also being prompted to select specific area of the mission where you want to be member.
- Members and staffs are only who can sign or log-in the web site by entering their respective email addresses and passwords.
Process:
A. Online Donation System: - The system associates with a bank that supports Gateway Method and Merchant Banking through Credit Cards transactions in actualizing online banking proceedings.
-Every donation transaction, the system keeps records and place it to a database for reports and Other related uses.
-The finance department handles the records and management of these monetary transactions. They will monitor and check VMCI bank accounts and transactions. Through proper data design and normalizations, reports will be easily generated such as donation transaction records, frequency of donations by a specific account, and other related information.
B. Membership System: - Department heads will receive membership applications. To grant membership, applicants must complete requirements posted online. The granting of membership takes several processes and will take time before applicants recognize as officially a member of the organization. This is intentionally designed and structured by the screening committee.
Performance: The system must be operational seven days a week, 365 days a year. The system must support 25 users online simultaneously.
Controls: -The system must provide log-on security at the operating system level and at the application level.
-Record of the department heads must be added, changed, or deleted only by the director or president of VMCI. -The system must maintain separate levels of security for users and the system administrator.
II. List of Modeling Tools Used. A. Functional Decomposition Diagram: Online Donation System
Data Dictionary: Entities Sponsor Responsible for providing donation towards the organization. They could donate online through Paypal.com. Sponsors also are being recorded through the system in according to the classification of their contributions. Namely: Cash or Material Donations.
Applicant
They are the one who submit their application in joining the organization. They will be evaluated through the Admin for them to be granted by such membership. They have to include specific purpose of their joining during the fill-up of membership form. Provides accounting data such as total amount of donations and etc. Provides decision data coming from the admin in accordance to the results of the phases of application evaluation to a specific applicants It gives presentation display to a specific pages for viewing such as Admin and Home Page
Online Donation System: Processes: Data Validation Proceed to PayPal.com Donation Verification Generate Reports Data Flow: Donation Data Validated Data Confirmation Data Generated Report Includes sponsors name, contact number, address, and amount to donate. This are validated donation data that is to be saved in database. Represents a verified or unverified data about the success of donation in PayPal. These are presentation data to be displayed in a specific page. Donation data are being validated before it is being saved to database. This is redirection option towards the PayPal in order to initiate online donation. Through manual checking of PayPal account by an Admin, he or she would provide confirmation data towards the system on the successful donation in their account. Performs displaying of specific presentations in a page based on the saved records.
Data Validation
Application Evaluation
It includes several phases of evaluation. The system provides sending of email towards the applicant for them to have communication as well as an evaluation. Granting of This is the giving of granting data. Based on the evaluation results, Membership Admin has to deny or accept the applicants. Data Flow: Donation Data Validated Data Confirmation Data Generated Report Includes sponsors name, contact number, address, and amount to donate. This are validated donation data that is to be saved in database. Represents a verified or unverified data about the success of donation in PayPal. These are presentation data to be displayed in a specific page.
Data Flow Diagram- Level 0: (Online Donation System) 1 SPONSOR Data Validatio n 2 Proceed to PayPal.c om
Online Donation System: Processes: Check Field Email Address Validation Redirection to PayPal Redirection Back to IS Check PayPal Account Verify Donation Send Thank You Email Update Bank Record Generate Records Fields are being evaluated accordingly. Specific procedure to check the validity of email Display of PayPal Donation Button to redirect towards PayPal.com Manual going back to home page of the IS. Manual checking of PayPal account by an Admin. Through checking account, donation will be verified in a system. Together with the donation verification, email also will be sent. Another admin task is to manually check bank account and update this to system. Performs displaying of specific presentations in a page based on the saved records.
Online Membership System: Processes: Compare Check if username exist String Check String Check the length of the string.
Length Check Field for Member Form Check Username and Password Save Application Data Accept Applicant Delete Applicant Send Email Generate Records Account Activation
Check the rest of the fields. Check the username and password.
Saving of Applications Accepting of Applicant Denying of Applicant The accepting of applicant dictates the sending of notification email. Performs displaying of specific presentations in a page based on the saved records. Correspond the activation of account after being accepted as member.
Data Flow Diagram- Level 1: (Online Donation System) 1.2 SPONSOR 1.1 Check Field Email Address Validatio n
RECORD SYSTEM
ACCOUNTING
3.5
3.4
3.3 Send Thank You Email 5.2 Check Field 5.3 Check Username & Password
Generate Update Reports Online Membership System:Bank Record APPLICANTS 5.1 Check Length &Type
RECORD SYSTEM
Data Flow Diagram- Level 2: (Online Donation System) Online Donation System: 1.1 Check Field 1.2 Validate Email Address
RECORD SYSTEM
RECORD SYSTEM
ACCOUNTING
Online Membership System APPLICANTS 5.2.1 Check Field for Member Form
6.2 Send Email MEMBER Public $mem_id Public $fullname Public $address Public $birthdate
Public $age Public $civil_status Public $cellphone_nu Public $telephone_no Public $email_add Public $password Public $message __________________
db_connect(); mem_login();
EVALUATION
ADMIN
public $db_con
6.3
view_MaterialDonations()
(To-do)
views make_album()
upload_pic() view_pic_list() delete_pic() delete_album() view_select_pic()
save_data()
could be
(E-mail) send_email()
(Application) delete_Member_Applican
delete_event()
accept_Applicant()
Evaluated
(President) view_list_quick_message ()
(Inheritance) APPLICANT
del_quickMessage()
__________________
compare_str() check_str_length()
Sponsor
Submit Donation Data
Validate Data
System
Admin
notifies
Save Donation Data Save Verified Donation Data
Error Notification
Verify Donation
System
Applicant Admin
Validate Data
Error Notification
Invalid data
Sponsor Re-enters Donation Data
Validated data
Admin Checks Paypal Account
E n d d
Invalid Data
Re-enter Application Data
Validated Data
Grant/Deny Membership
E n d d
Check_Username
Check_Field_For_Member_Form
Phase 4: System Implementation A. Program Flow Charts Online Donation System: Star t Sign-in Admin Login?
Verifi ed?
END
Login?
Yes All Fields are filledup? 2 Passwor ds Entered are Equal? Display Error Notifications
Evaluate Application
END
<?php
include_once('member.class.php');
Checking Fields:
//:::::::::::::::::::::::::: checking the fields of the donation form ::::::::::::// public function check_field(){
if(isset($_POST['submit_donationForm'])){
$this->fullname $_POST['lastname']; $this->birthdate $_POST['year']; $this->address $this->email_add $this->cellphone_number $this->additional $this->amount $this->currCode =
$_POST['firstname'].' '.$_POST['day'].',
'. '.
$_POST['month'].'
if($_POST['firstname']&&$_POST['lastname']&&$_POST['address']&&$_POST['email']&&$_POST['amoun t']&&$_POST['currCode']){
$this->validateEmailAddress($this->email_add)
if($check_email == "valid"){
$save = $this->save_data();
$this->next_page();
} else{
= "<p> There is an
$this->display_errDiv = "block";
} else{
$this->display_errDiv = "block";
} else{
$this->error_message = "<p>Please fill up all the important fields in the form below.</p><br> <p>Note: fields are indicated with (*)asterisk.</p>"; Important
$this->display_errDiv = "block";
//::::::::::::::::::::::::: display the thank you message and paypal button :::::::://
Save Donation Data: //:::::::::::::::::::::::::: sponsor :::::::::::::::// saving the data of the online
$date = date('Y-m-d');
('','$this-
'$this->additional','$this->amount','$this>currCode','pending','$date')";
$result = $this->db_connect()->query($sql);
if($result){
?>
include_once('member.class.php');
private
$displayPayPal_Div = "none";
$displayDiv = "none";
private
$error_message;
$position; $contact;
if(isset($_GET['check_paypal'])){
if(isset($_GET['check_paypal_close'])){
session_start(); unset($_SESSION['paypal_page']); }
if(isset($_SESSION['paypal_page'])){
$this->displayPayPal_Div = "block"; } }
Verify Donation:
//:::::::::::::::: method for the confirmation of the on line sponsor :::::::::::::://
if(isset($_GET['confirm_sponsor'])){
$id $name
= $_GET['confirm_sponsor']; = $_GET['name'];
= "Greetings From your VMCI family"; = $_GET['email']; = "Visayas Mission Confraternity Inc.";
$body = "Your donation was confirm... Thank you so much for shairing your kindness to us! may God always bless you!!";
$sql id = '$id'";
$result
= $this->db_connect()->query($sql);
$send_email = $this->send_email($subject,$email,$from,$body);
header("location:?viewOnLine_Don"); exit(); }
Unverified Donation:
for
the
deletion
of
on
line
if(isset($_GET['del_sponsor'])){
$id $name
= $_GET['del_sponsor']; = $_GET['name'];
= "Greetings From your VMCI family"; = $_GET['email']; = "Visayas Mission Confraternity Inc.";
$body = "Thank you for sharing your kindness to us. But the donation process you have made was not successfull.";
$sql ('$id')";
$result
= $this->db_connect()->query($sql);
$send_email $body);
$this->send_email($subject,$email,$from,
header("location:?viewOnLine_Don"); exit(); } }
?>
Online Membership Donation System: ------------------Applicant Class (Methods for Application) ----------------------<?php include_once('sponsor.class.php'); include_once('member.class.php');
Check Fields:
//:::::::::::::::::::::::::::: form ::::::::::::::::::::// this method is for checking the field of the membership
if(isset($_POST['apply'])){
$this->fullname $_POST['middlename'].' '.$_POST['lastname']; $this->address '.$_POST['province'].' '.$_POST['country']; $this->birthdate $_POST['year']; $this->age $this->civil_status $this->cellphone_number $this->telephone_number $_POST['telnum2']; = = = = =
$_POST['firstname'].'
'.
$_POST['age'];
if($_POST['firstname']&&$_POST['middlename']&&$_POST['lastname']&&$_POST['street']&&$_POST['cit ytown']&&$_POST['province']&&$_POST['country']&&
$sponsor-
if($validate_email == "valid"){
$check_username >check_username($_POST['username']);
$this-
$check_username_length >check_str_length($_POST['username'],'6','25');
$this-
$check_password >compare_str($_POST['password'],$_POST['repeatpassword']);
$this-
$check_password_length $this->check_str_length($_POST['password'],'6','30');
$save_data $this->save_applicant_data();
$this>displayErrDiv_memForm >displayErrMess_memForm = "block"; $this= "**saving of data not successful.**<br /> <br data.**"; />**error while saving
} else{
$this>displayErrDiv_memForm >displayErrMess_memForm characters.**<br /> = "block"; = "**Password you have entered is $thisnot between 6 25
<br password**";
/>**Please
enter
25
characters
} else{
$this->displayErrDiv_memForm = "block"; >displayErrMess_memForm $this= "**The password you have you have entered didn't match.**<br /> <br password**"; />**Please make sure to enter the same
} else{
$this->displayErrDiv_memForm = "block"; $this->displayErrMess_memForm = "**Username you have entered is not between 6 - 25 characters.**<br /> <br />**Please enter 6 - 25 characters username**";
} else{
$this->displayErrDiv_memForm "block"; $this->displayErrMess_memForm "**The username you have you have entered is already used.**<br /> <br />**Please enter another username**";
= =
} else{
$this->displayErrDiv_memForm "block"; $this->displayErrMess_memForm "**The E-mail address you entered is invalid.**<br /> <br />**Please enter a valid E-mail address**";
= =
}else{
$this->displayErrDiv_memForm = "block"; $this->displayErrMess_memForm = "**Please fill up all required fields in the form below.**<br /> <br />**Required fields are indicated with the asterisk( * ) sign.**";
Compare String:
//:::::::::::::::::::::::::::: this method is for comparing a 2 string :::::::::::::::::::://
if($str1 == $str2){
return false; }
return false;
= =
"SELECT "SELECT
username username
from from
applicant member
WHERE WHERE
username='". username='".
$num_check1 $num_check2
= $this->db_connect()->query($sql_nameCheck1)->num_rows; = $this->db_connect()->query($sql_nameCheck2)->num_rows;
return false; }
//:::::::::::::::::::::::::::: this method is for saving the data of the applicant :::::::::::::::::::://
$date
= date('Y-m-d');
$cellnum
= "+639".$this->cellphone_number;
$Ipassword
= md5($this->password);
('','$this->fullname','$this-
'$this->telephone_number','$this->email_add','$this>username','$Ipassword','$this->message', '$date')";
$ret
= $this->db_connect()->query($sql);
?>
-----------------
if(isset($_GET['accept_App'])){
// Collects data from "applicant" table where table is equal to username $data username='$username'" ; = "SELECT * from applicant WHERE
$info = $this->db_connect()->query($data)->fetch_array();
$fullnamea $addressa
= $info['fullname']; = $info['address'];
$birthdatea = $info['birthdate']; $agea $civilstatusa $cellnumbera $telnumbera $emaila $usernamea $passworda $message = $info['age']; = $info['civil status']; = $info['cellphone number']; = $info['telephone number']; = $info['email']; = $info['username']; = $info['password']; = $info['message'];
('','$fullnamea','$addressa','$birthdatea','$agea','$civilstatusa','$cellnumbera','$teln umbera','$emaila','$usernamea','$passworda','$message')";
$result1 = $this->db_connect()->query($sql1);
$result2 = $this->db_connect()->query($sql2);
Deny Application:
//::::::::::::::::::::::::: this method is for deletion of member or the applicant ::::::::::::::::::::://
$fullname = $_GET['fullname'];
if(isset($_GET['del_Mem'])){
$username
= $_GET['del_Mem'];
$sql
$x }
= 'del_Mem';
if(isset($_GET['del_App'])){
$username
= $_GET['del_App'];
$sql ('$username')";
"DELETE
FROM
applicant
WHERE
username
$x
= 'del_App';
$result = $this->db_connect()->query($sql);
header("location:?del_accept_info=".$x."&&name=$fullname"); exit();
?>
--------------- Member Class (Methods for Social Networking Transactions) --------Social Networking:
<?php
class Member{
//:::::::::::::::::: common variables ::::::::::::::::::// protected $mem_id; protected $fullname; protected $address; protected $birthdate; protected $age; protected $civil_status; protected $cellphone_number; protected $telephone_number; protected $email_add; protected $username; protected $password; protected $message;
if(isset($_POST['submitMessage'])){
$sql1 $numrow1
$sql2 $numrow2
"INSERT
INTO
messages
VALUE
$this->db_connect()->query($sql3);
= =
"INSERT
INTO
sent_messages
VALUE
$this->db_connect()->query($sql4);
header("location:?view_create_message&&successPagSend");
exit();
} else {
header("location:? view_create_message&&NotsuccessPagSend");
exit();
}else {
header("location:?view_create_message&&NotsuccessPagSend");
exit(); }
Delete Message:
//:::::::::::::: method for deleting message ::::::::::::::::::::::::::::://
if(isset($_GET['del_message'])){
$id
= $_GET['del_message'];
$sql
$result = $this->db_connect()->query($sql);
header("location:?view_inbox"); exit();
Event:
Create Event:
//::::::::::::::::::::::::::::: this method creating event :::::::::::::::::::::::::::::::::::::::::::::::://
if(isset($_POST['submitEvent'])){
$sql = ('','$admin','$topic','$detail','$date','$page','','')";
"INSERT
INTO
events
VALUE
$result = $this->db_connect()->query($sql);
header("location:?create_event=success");
exit();
} }
Upload Pictures:
//:::::::::::::::::::: method for uploading picture ::::::::::::::::::::::::::::::::::::://
If($_POST['Submit_Picture']){
$username $title
= $_POST['user']; = $_POST['title'];
define ("MAX_SIZE","400");
$size=filesize($_FILES['pic_file']['tmp_name']);
echo '* ERROR : You have exceeded the size limit!* <a href="?add_pic" style="font-size: 13px;">back</a>';
} else{ //include_once("./../../lib/db_con.php"); // attempt database connection $mysqli "vmci_db3"); if ($mysqli === false) { die("ERROR: mysqli_connect_error()); } Could not connect. " . = new mysqli("localhost", "root", "",
//insert the file data and get the id...... $sql = ('','$username','$album','$title','$detail',now())"; "INSERT INTO pic_data VALUE
$pic_id = $mysqli->insert_id;
} else { echo "ERROR: Could not execute query: $sql. " . $mysqli>error; }
//check for the folder..... $sql1 = "SELECT * FROM picFolder_data where username = '$username'";
$result1 = $mysqli->query($sql1)->num_rows;
if ($result1 == 0) {
"INSERT
INTO
picFolder_data
VALUE
$mysqli->query($sql1a);
if($user == 'admin'){ $make1 0777); $make1 = mkdir("../admin_pic/$username/My Album", 0777); } if($user == 'member'){ $make1 0777); $make1 = mkdir("member_pic/$username/My Album", 0777); } = mkdir("member_pic/$username", = mkdir("../admin_pic/$username",
if($user == 'admin'){
move_uploaded_file($_FILES['pic_file'] ['tmp_name'],"../admin_pic/$username/$album/$pic_id.jpg");
} if($user == 'member'){
move_uploaded_file($_FILES['pic_file'] ['tmp_name'],"member_pic/$username/$album/$pic_id.jpg");
} header("location:?add_pic=success"); } exit();
} }
Member Page:
//:::::::::::::::::::::::::::::::: this method is for the profile info ::::::::::::::::::::::// public function profile_MemberInfo($user){
$row = $result->fetch_array();
$this->fullname $this->username $this->mem_id $this->birthdate $this->age $this->civil_status $this->address $this->email_add $this->cellphone_number $this->telephone_number
= $row['fullname']; = $row['username']; = $row['id']; = $row['birthdate']; = $row['age']; = $row['civil status']; = $row['address']; = $row['email']; = $row['cellphone number']; = $row['telephone number'];
?>
PayPal Button:
Membership Form:
Event:
The Visayas Mission Confraternity Inc. will deploy the vmci.info to the web in the very start of January 2012. December 2011 is the month allowed by the corporation for testing and modifications. During this month also, the IT team conducted several testing to the projected administrators and also to the members of the VMCI. The registration of the domain name, vmci.info is already prepared by the IT team together with the coordination of VMCI. During the first implementation of the website (month of October), they used to connect through web as a sub-domain of a h3generation.com. For a month of hosting service, the IT team adjusted a lot of code modifications to designs and internal functionalities. During those times, the website only uses one email account and utilizes the suprecemecenter.com as a host of the site database system. The name of hosting site is Wizkid Hosting that offers the vmci.info to be hosted online for a year in an amount of 800 php with unlimited disk space. The Wizkid Hosting also provides hosting account wherein IT team is provided with a control panel for email management and also the database system.
PHASE V: SYSTEM MAINTENANCE: During the meeting of the IT team with the executive director of the VMCI last October, the VMCI will be paying maintenance fee for the IT team for handling the system for a year. The IT team finalized their system manuals documentations to be given to the different staffs for VMCI. VMCI expected that the web site will be as stable and working as it is being first deployed. The maintenance is more on the software side of the database system.