Final Report On Blood Donation Website

download Final Report On Blood Donation Website

of 63

Transcript of Final Report On Blood Donation Website

  • 7/21/2019 Final Report On Blood Donation Website

    1/63

    1. OBJECTIVE

    The main objective of this Website is to provide an e-Information about the donor who

    wants to donate their blood. Through this website, any person who is interested in

    donating the blood can register himself. Moreover, if any general user wants to make

    reuest blood online he can also take the help of this site, the searching should be very

    faster so they can find reuired details instantly.

    This website aims at serving human welfare. Whenever the donor needs to donate

    blood he can donate blood any time on reuirement. If the user needs to know the blood

    group of donor he can test it in hospital without any hesitation. This project mainly

    consists of two types of users!

    ". #ustomer who can access the information and register himself as a donor on

    this website.$. %dmin is the main authori ty who can do addit ion, delet ion, and

    modification of information of donor in the database if reuired.

    1

  • 7/21/2019 Final Report On Blood Donation Website

    2/63

    2. INTRODUCTION

    The project entitled &'(() )(*%TI(* W+&IT+ is a pilot project for those who have to

    arrange bloods urgently. This project is aimed to developing an online &lood )onation

    Information. The entire project has been developed keeping in view of the distributed client

    server computing technology, in mind. We have a big plan to collect the blood from many

    different sources and distribute the same for the needy. To manage all these they reuire a full-

    fledged wright to the administrator which will take care all these.

    The project has been planned to be having the view of distributed architecture, with

    centralied storage of the database. The storage for this website for the purpose to store the data

    has been planned. We also provide a login id as well as password to the donors which helps them

    to successfully update the eisting information regarding with blood donation after a short span

    of time. It won/t cost to those who need to collect bloods urgently in critical situations but bring

    back the smile on someone/s face.

    &lood donation is carried out when a person voluntarily agrees for blood to be drawn with

    the intention of donating it. The donated blood may be used for transfusions or it may be

    separated into individual components to be used as reuired. The latter procedure is called

    fractionation. In economically poorer countries, however, blood donation is carried out according

    to demand, as the established blood ties are etremely limited. It may be an altruistic act or it

    may include a cash payment or incentives other than money. In the developed countries unpaid

    donors give blood to replenish a community supply.

    3. LITERATURE SURVEY

    2

  • 7/21/2019 Final Report On Blood Donation Website

    3/63

    0World &lood )onor )ay is celebrated on the "1th of 2une every year to mark the birth

    anniversary of 3arl 'ansteiner who discovered the blood group system.4

    In "556, the World 7ealth (rganiation 8W7(9 set a target for all blood donors to be unpaid

    volunteers. &ut statistics, in $::;, revealed that only 15 of "$1 countries surveyed had achieved

    this target.

    Typically, it is mandatory for potential donors to consent to blood donation. In the case of

    minors, parental consent is reuired. In some countries the donors may enjoy anonymity while in

    others it may be essential to know the ethnic background of the donor because some blood types

    are more common among certain races while being rare in others. :: ml 8" pint9. #ollection

    may be carried out manually or by using automated euipment, the latter helping to draw specific

    components from the blood. 7ow often a donor can donate varies from days to months based on

    which component of the blood they are donating and the laws of the country where the donation

    takes place. &lood components have a very short shelf life, therefore, acuiring a steady supply

    or stock piling blood or any of its components is a perennial problem.

    %ccording to $::? estimates there was an annual collection of ?" million units of blood. In

    #anada, #anadian &lood ervices allows a person to donate blood every >; days. The lifetime of

    a red blood cell is =-1 months.

    %ccording to a recent survey conducted by World 7ealth (rganiation, >$.1$@ of all blood

    donated in India is through voluntary blood donation camps. The figure was 1>@ in $::$. This

    shows that nearly 16.>?@ of all blood donated is either from paid donors or from family.

    4. HARDWARE & SOFTWARE REQUIREMENTS

    3

  • 7/21/2019 Final Report On Blood Donation Website

    4/63

    4.1 Hardar! R!"#$r!%!'(

  • 7/21/2019 Final Report On Blood Donation Website

    5/63

    +. DESI,N AND FRAMEWOR-

    5.1 SOFTWARE PROCESS MODEL

    a U(!dA/0)r$'%

    piral model isused to develop thisproject.

    cenario of piral model are!

    This model is used when many risks are epected at each stage

    ofdevelopment ofthe software.

    %t each stage there are several alternativesto make right decisions.

    In spiral model, there are si phases to develop any software, which are

    given below!

    ". #ustomer communication

    $. . +ngineering

    ;. )evelopment, delivery and feedback

    D!($0Fra%!)r

    W%M< erver F +asy

  • 7/21/2019 Final Report On Blood Donation Website

    6/63

    5.2 DATA FLOW DIAGRAM

    6

  • 7/21/2019 Final Report On Blood Donation Website

    7/63

    5.3 ENTITY - RELATIONSHIP DIAGRAM

    Digure >.=! +ntity G Celationship between entities

    7

  • 7/21/2019 Final Report On Blood Donation Website

    8/63

    . CODIN,

    6.1dbconfg.php

    Hphp

    JdbserverKL"$6.:.:."L

    JdbuserKLrootL

    JdbpwdKLL

    JdbnameKLbloodL

    function myNiud8Juery9

    O

    global Jdbserver,Jdbuser,Jdbpwd,Jdbname

    JcidKmyslNconnect8Jdbserver,Jdbuser,Jdbpwd9 or die8Ptry againP9

    myslNselectNdb8Jdbname,Jcid9

    myslNuery8Juery,Jcid9

    JnKmyslNaffectedNrows8Jcid9

    myslNclose8Jcid9

    return Jn

    Q

    function myNselect8Juery9

    O

    global Jdbserver,Jdbuser,Jdbpwd,Jdbname

    JcidKmyslNconnect8Jdbserver,Jdbuser,Jdbpwd9 or die8Ptry againP9

    myslNselectNdb8Jdbname,Jcid9

    JrsKmyslNuery8Juery,Jcid9

    myslNclose8Jcid9

    8

  • 7/21/2019 Final Report On Blood Donation Website

    9/63

    return Jrs

    Q

    RRselect ueries which return only a single value

    function myNone8Juery9

    O

    global Jdbserver,Jdbuser,Jdbpwd,Jdbname

    JcidKmyslNconnect8Jdbserver,Jdbuser,Jdbpwd9 or die8Ptry againP9

    myslNselectNdb8Jdbname,Jcid9

    JrsKmyslNuery8Juery,Jcid9

    JrowKmyslNfetchNarray8Jrs9

    myslNclose8Jcid9

    return JrowS:

    Q

    function verifyuser89

    O

    JuKLL

    JpKLL

    if8isset8JN#((3I+SPcunP9 FF isset8JN#((3I+SPcpwdP99

    O

    JuKJN#((3I+SPcunP

    JpKJN#((3I+SPcpwdP

    Q

    else

    if8isset8JN+I(*SPsunP9 FF isset8JN+I(*SPspwdP99

    O

    JuKJN+I(*SPsunP

    9

  • 7/21/2019 Final Report On Blood Donation Website

    10/63

    JpKJN+I(*SPspwdP

    Q

    JueryKLselect count8U9 from siteuser where usernameKPJuP and pwdKPJpP L

    JnKmyNone8Juery9

    if8JnKK"9

    return true

    else

    return false

    Q

    function fetchusername89

    O

    JuKLL

    JpKLL

    if8isset8JN#((3I+SPcunP9 FF isset8JN#((3I+SPcpwdP99

    O

    JuKJN#((3I+SPcunP

    JpKJN#((3I+SPcpwdP

    Q

    else

    if8isset8JN+I(*SPsunP9 FF isset8JN+I(*SPspwdP99

    O

    JuKJN+I(*SPsunP

    JpKJN+I(*SPspwdP

    Q

    JueryKLselect count8U9 from siteuser where usernameKPJuP and pwdKPJpP L

    JnKmyNone8Juery9

    10

  • 7/21/2019 Final Report On Blood Donation Website

    11/63

    if8JnKK"9

    return Ju

    else

    return false

    Q

    function fetchrole89

    O

    JuKLL

    JpKLL

    if8isset8JN#((3I+SPcunP9 FF isset8JN#((3I+SPcpwdP99

    O

    JuKJN#((3I+SPcunP

    JpKJN#((3I+SPcpwdP

    Q

    else

    if8isset8JN+I(*SPsunP9 FF isset8JN+I(*SPspwdP99

    O

    JuKJN+I(*SPsunP

    JpKJN+I(*SPspwdP

    Q

    JueryKLselect count8U9 from siteuser where usernameKPJuP and pwdKPJpP L

    JnKmyNone8Juery9

    if8JnKK"9

    O

    JueryKLselect role from siteuser where usernameKPJuP and pwdKPJpP L

    JroleKmyNone8Juery9

    11

  • 7/21/2019 Final Report On Blood Donation Website

    12/63

    return Jrole

    Q

    else

    return false

    Q

    V

    12

  • 7/21/2019 Final Report On Blood Donation Website

    13/63

    6.2 home.php

    Hphp

    sessionNstart89

    includeNonce Ldbconfig.phpL

    if8verifyuser899

    O

    JloginNmsgK LWelcome L.fetchusername89

    JloginNmsg.KLHbr RVHa hrefKPlogout.phpPVlog (utHRaVL

    Q

    else

    O

    JloginNmsgK LWelcome BuestL

    JloginNmsg.KLHbr RV*ew user Ha hrefKPsignup.phpPVign pHRaVL

    JloginNmsg.KLHbr RV+isting user Ha hrefKPsignin.phpPVign InHRaVL

    Q

    V

    HX)(#TY

  • 7/21/2019 Final Report On Blood Donation Website

    14/63

    Ha hrefKLhome.phpLV7ome HRaVHRh$V

    Hp classKLmetaLV

  • 7/21/2019 Final Report On Blood Donation Website

    15/63

    ;.= placing.php

    Hphp

    includeNonce Ldbconfig.phpL

    class siteuser

    O

    private Jusername RRusername 1-=:

    private Jpwd RRminimum ;

    private Jfirstname RR"-$:

    private Jlastname RR"-$:

    private Jbg

    private Jsname RRstate name

    private Jcname RRcity name

    private Jgender RRmale or female

    private Jemail

    private Jcontact

    private Jhint

    private Jhinta

    private Jrole RRstudent,faculty,admin

    private Jactive RRyes,no

    public function setNusername8Ja9

    O

    if8strlen8trim8Ja99V1 FF strlen8trim8Ja99HK=:9

    Jthis-VusernameKstrtolower8trim8Ja99

    else

    Jthis-VusernameKLL

    Q

    15

  • 7/21/2019 Final Report On Blood Donation Website

    16/63

    public function setNpassword8Jb9

    O

    if 8strlen8trim8Jb99VK19

    Jthis-VpwdKJb

    else Jthis-VpwdKLL

    Q

    public function setNfirstname8Jc9

    O

    if8strlen8trim8Jc99V" FF strlen8trim8Jc99HK$:9

    Jthis-VfirstnameKucfirst8Jc9

    else

    Jthis-VfirstnameKLL

    Q

    public function setNlastname8Jd9

    O

    if8strlen8trim8Jd99V" FF strlen8trim8Jd99HK$:9

    Jthis-VlastnameKucfirst8Jd9

    else

    Jthis-VlastnameKLL

    Q

    public function setNbg8Je9

    O

    if8strlen8trim8Je99V" FF strlen8trim8Je99HK$:9

    Jthis-VbgKJe

    else

    Jthis-VbgKLL

    16

  • 7/21/2019 Final Report On Blood Donation Website

    17/63

    Q

    public function setNsname8Jn9

    O

    if8strlen8trim8Jn99V$ FF strlen8trim8Jn99HK=:9

    Jthis-VsnameKJn

    else

    Jthis-VsnameKLL

    Q

    public function setNcname8Jf9

    O

    if8strlen8trim8Jf99V$ FF strlen8trim8Jf99HK=:9

    Jthis-VcnameKucfirst8Jf9

    else

    Jthis-VcnameKLL

    Q

    public function setNgender8Jg9

    O

    JfKstrtolower8trim8Jg99

    if8JfKKPmalePZZJfKKPfemaleP9

    Jthis-VgenderKJf

    else

    Jthis-VgenderKLL

    Q

    public function setNemail8Jh9

    O

    Jthis-VemailKstrtolower8trim8Jh99

    17

  • 7/21/2019 Final Report On Blood Donation Website

    18/63

    Q

    public function setNcontact8Ji9

    O

    if8isNnumeric8Ji99

    Jthis-VcontactKJi

    else

    Jthis-VcontactKLL

    Q

    public function setNhint8Jj9

    O

    Jthis-VhintKstrtolower8trim8Jj99

    Q

    public function setNhinta8Jk9

    O

    Jthis-VhintaKstrtolower8trim8Jk99

    Q

    public function setNrole8Jl9

    O

    JkKstrtolower8trim8Jl99

    if8JkKKPdonerP9

    Jthis-VroleKJk

    else

    Jthis-VroleKLL

    Q

    public function setNactive8Jm9

    O

    18

  • 7/21/2019 Final Report On Blood Donation Website

    19/63

    JlKstrtolower8trim8Jm99

    if8JlKKPyesP ZZ JmKKPnoP9

    Jthis-VactiveKJl

    else

    Jthis-VactiveKLL

    Q

    public function getNusername89

    O

    echo LH&r RVusername is Jthis-VusernameL

    Q

    public function getNpassword89

    O

    echo LH&r RV

  • 7/21/2019 Final Report On Blood Donation Website

    20/63

    public function getNgender89

    O

    echo LH&r RVBender is Jthis-VgenderL

    Q

    public function getNsname89

    O

    echo LH&r RVtate is Jthis-VsnameL

    Q

    public function getNcname89

    O

    echo LH&r RV#ity is Jthis-VcnameL

    Q

    public function getNemail89

    O

    echo LH&r RV+mail is Jthis-VemailL

    Q

    public function getNcontact89

    O

    echo LH&r RV#ontact is Jthis-VcontactL

    Q

    public function getNhint89

    O

    echo LH&r RV7int uestion is Jthis-VhintL

    Q

    public function getNhinta89

    O

    20

  • 7/21/2019 Final Report On Blood Donation Website

    21/63

    echo LH&r RV7int %nswer is Jthis-VhintaL

    Q

    public function getNrole89

    O

    echo LH&r RVCole is Jthis-VroleL

    Q

    public function getNactive89

    O

    echo LH&r RV%ctive is Jthis-VactiveL

    Q

    public function setNall8Ja,Jb,Jc,Jd,Je,Jn,Jf,Jg,Jh,Ji,Jj,Jk,Jl,Jm9

    O

    Jthis-VsetNusername8Ja9

    Jthis-VsetNpassword8Jb9

    Jthis-VsetNfirstname8Jc9

    Jthis-VsetNlastname8Jd9

    Jthis-VsetNbg8Je9

    Jthis-VsetNsname8Jn9

    Jthis-VsetNcname8Jf9

    Jthis-VsetNgender8Jg9

    Jthis-VsetNemail8Jh9

    Jthis-VsetNcontact8Ji9

    Jthis-VsetNhint8Jj9

    Jthis-VsetNhinta8Jk9

    Jthis-VsetNrole8Jl9

    Jthis-VsetNactive8Jm9

    21

  • 7/21/2019 Final Report On Blood Donation Website

    22/63

    Q

    public function getNall89

    O

    Jthis-VgetNusername89

    Jthis-VgetNpassword89

    Jthis-VgetNfirstname89

    Jthis-VgetNlastname89

    Jthis-VgetNbg89

    Jthis-VgetNsname89

    Jthis-VgetNcname89

    Jthis-VgetNgender89

    Jthis-VgetNemail89

    Jthis-VgetNcontact89

    Jthis-VgetNhint89

    Jthis-VgetNhinta89

    Jthis-VgetNrole89

    Jthis-VgetNactive89

    Q

    public function save89

    O

    JueryKLinsert into siteuser values 8PJthis-VusernameP,PJthis-VpwdP,PJthis-VfirstnameP,

    PJthis-VlastnameP,PJthis-VbgP,PJthis-VsnameP,PJthis-VcnameP,PJthis-VgenderP,

    PJthis-VemailP,PJthis-VcontactP,PJthis-VhintP,

    PJthis-VhintaP,PJthis-VroleP,PJthis-VactiveP9L

    JnKmyNiud8Juery9

    if8JnKK"9

    22

  • 7/21/2019 Final Report On Blood Donation Website

    23/63

    O V

    Hscript languageKPjavascriptPV

    alert8P)%T% %A+) T7%*3 Y( D(C C+BIT+C%TI(*.P9

    HRscriptV

    Hphp

    Q

    else

    O V

    Hscript languageKPjavascriptPV

    alert8P)%T% *(T %A+) +C*%M+ (C #(*T%#T *M&+C I C+BIT+C+).

  • 7/21/2019 Final Report On Blood Donation Website

    24/63

    JnKmyNiud8Juery9

    echo LH&r RVJn record removedL

    Q

    public function search89

    O

    JueryKLselect U from siteuser L

    JrsKmyNselect8Juery9

    JnKmyslNnumNrows8Jrs9

    echo LH&r RVJn records foundL

    echo LHtable borderKP"P alignKPcenterP cellspacingKP:P cellpaddigKP1P widthKP5;:PVL

    echo LHtrVL

    echo LHth widthKP?:PVser*ameHRthVL

    echo LHth widthKP?:PV

  • 7/21/2019 Final Report On Blood Donation Website

    25/63

    echo LHtrVL

    echo LHtdVJrowS:HRtdVL

    echo LHtdVJrowS"HRtdVL

    echo LHtdVJrowS$HRtdVL

    echo LHtdVJrowS=HRtdVL

    echo LHtdVJrowS1HRtdVL

    echo LHtdVJrowS>HRtdVL

    echo LHtdVJrowS;HRtdVL

    echo LHtdVJrowS6HRtdVL

    echo LHtdVJrowS?HRtdVL

    echo LHtdVJrowS5HRtdVL

    echo LHtdVJrowS":HRtdVL

    echo LHtdVJrowS""HRtdVL

    echo LHRtrVL

    Q

    echo LHRtableVL

    Q

    Q

    V

    25

  • 7/21/2019 Final Report On Blood Donation Website

    26/63

    6.4 siteuser.php

    Hphp

    includeNonce Ldbconfig.phpL

    class siteuser

    O

    private Jusername RRusername 1-=:

    private Jpwd RRminimum ;

    private Jfirstname RR"-$:

    private Jlastname RR"-$:

    private Jbg

    private Jsname RRstate name

    private Jcname RRcity name

    private Jgender RRmale or female

    private Jemail

    private Jcontact

    private Jhint

    private Jhinta

    private Jrole RRstudent,faculty,admin

    private Jactive RRyes,no

    public function setNusername8Ja9

    O

    if8strlen8trim8Ja99V1 FF strlen8trim8Ja99HK=:9

    Jthis-VusernameKstrtolower8trim8Ja99

    else

    Jthis-VusernameKLL

    Q

    26

  • 7/21/2019 Final Report On Blood Donation Website

    27/63

    public function setNpassword8Jb9

    O

    if 8strlen8trim8Jb99VK19

    Jthis-VpwdKJb

    else Jthis-VpwdKLL

    Q

    public function setNfirstname8Jc9

    O

    if8strlen8trim8Jc99V" FF strlen8trim8Jc99HK$:9

    Jthis-VfirstnameKucfirst8Jc9

    else

    Jthis-VfirstnameKLL

    Q

    public function setNlastname8Jd9

    O

    if8strlen8trim8Jd99V" FF strlen8trim8Jd99HK$:9

    Jthis-VlastnameKucfirst8Jd9

    else

    Jthis-VlastnameKLL

    Q

    public function setNbg8Je9

    O

    if8strlen8trim8Je99V" FF strlen8trim8Je99HK$:9

    Jthis-VbgKJe

    else

    Jthis-VbgKLL

    27

  • 7/21/2019 Final Report On Blood Donation Website

    28/63

    Q

    public function setNsname8Jn9

    O

    if8strlen8trim8Jn99V$ FF strlen8trim8Jn99HK=:9

    Jthis-VsnameKJn

    else

    Jthis-VsnameKLL

    Q

    public function setNcname8Jf9

    O

    if8strlen8trim8Jf99V$ FF strlen8trim8Jf99HK=:9

    Jthis-VcnameKucfirst8Jf9

    else

    Jthis-VcnameKLL

    Q

    public function setNgender8Jg9

    O

    JfKstrtolower8trim8Jg99

    if8JfKKPmalePZZJfKKPfemaleP9

    Jthis-VgenderKJf

    else

    Jthis-VgenderKLL

    Q

    public function setNemail8Jh9

    O

    Jthis-VemailKstrtolower8trim8Jh99

    28

  • 7/21/2019 Final Report On Blood Donation Website

    29/63

    Q

    public function setNcontact8Ji9

    O

    if8isNnumeric8Ji99

    Jthis-VcontactKJi

    else

    Jthis-VcontactKLL

    Q

    public function setNhint8Jj9

    O

    Jthis-VhintKstrtolower8trim8Jj99

    Q

    public function setNhinta8Jk9

    O

    Jthis-VhintaKstrtolower8trim8Jk99

    Q

    public function setNrole8Jl9

    O

    JkKstrtolower8trim8Jl99

    if8JkKKPdonerP9

    Jthis-VroleKJk

    else

    Jthis-VroleKLL

    Q

    public function setNactive8Jm9

    29

  • 7/21/2019 Final Report On Blood Donation Website

    30/63

    O

    JlKstrtolower8trim8Jm99

    if8JlKKPyesP ZZ JmKKPnoP9

    Jthis-VactiveKJl

    else

    Jthis-VactiveKLL

    Q

    public function getNusername89

    O

    echo LH&r RVusername is Jthis-VusernameL

    Q

    public function getNpassword89

    O

    echo LH&r RV

  • 7/21/2019 Final Report On Blood Donation Website

    31/63

    Q

    public function getNgender89

    O

    echo LH&r RVBender is Jthis-VgenderL

    Q

    public function getNsname89

    O

    echo LH&r RVtate is Jthis-VsnameL

    Q

    public function getNcname89

    O

    echo LH&r RV#ity is Jthis-VcnameL

    Q

    public function getNemail89

    O

    echo LH&r RV+mail is Jthis-VemailL

    Q

    public function getNcontact89

    O

    echo LH&r RV#ontact is Jthis-VcontactL

    Q

    public function getNhint89

    O

    echo LH&r RV7int uestion is Jthis-VhintL

    Q

    public function getNhinta89

    31

  • 7/21/2019 Final Report On Blood Donation Website

    32/63

    O

    echo LH&r RV7int %nswer is Jthis-VhintaL

    Q

    public function getNrole89

    O

    echo LH&r RVCole is Jthis-VroleL

    Q

    public function getNactive89

    O

    echo LH&r RV%ctive is Jthis-VactiveL

    Q

    public function setNall8Ja,Jb,Jc,Jd,Je,Jn,Jf,Jg,Jh,Ji,Jj,Jk,Jl,Jm9

    O

    Jthis-VsetNusername8Ja9

    Jthis-VsetNpassword8Jb9

    Jthis-VsetNfirstname8Jc9

    Jthis-VsetNlastname8Jd9

    Jthis-VsetNbg8Je9

    Jthis-VsetNsname8Jn9

    Jthis-VsetNcname8Jf9

    Jthis-VsetNgender8Jg9

    Jthis-VsetNemail8Jh9

    Jthis-VsetNcontact8Ji9

    Jthis-VsetNhint8Jj9

    Jthis-VsetNhinta8Jk9

    Jthis-VsetNrole8Jl9

    32

  • 7/21/2019 Final Report On Blood Donation Website

    33/63

    Jthis-VsetNactive8Jm9

    Q

    public function getNall89

    O

    Jthis-VgetNusername89

    Jthis-VgetNpassword89

    Jthis-VgetNfirstname89

    Jthis-VgetNlastname89

    Jthis-VgetNbg89

    Jthis-VgetNsname89

    Jthis-VgetNcname89

    Jthis-VgetNgender89

    Jthis-VgetNemail89

    Jthis-VgetNcontact89

    Jthis-VgetNhint89

    Jthis-VgetNhinta89

    Jthis-VgetNrole89

    Jthis-VgetNactive89

    Q

    public function save89

    O

    JueryKLinsert into siteuser values 8PJthis-VusernameP,PJthis-VpwdP,PJthis-VfirstnameP,

    PJthis-VlastnameP,PJthis-VbgP,PJthis-VsnameP,PJthis-VcnameP,PJthis-VgenderP,

    PJthis-VemailP,PJthis-VcontactP,PJthis-VhintP,

    PJthis-VhintaP,PJthis-VroleP,PJthis-VactiveP9L

    JnKmyNiud8Juery9

    33

  • 7/21/2019 Final Report On Blood Donation Website

    34/63

    if8JnKK"9

    O V

    Hscript languageKPjavascriptPV

    alert8P)%T% %A+) T7%*3 Y( D(C C+BIT+C%TI(*.P9

    HRscriptV

    Hphp

    Q

    else

    O V

    Hscript languageKPjavascriptPV

    alert8P)%T% *(T %A+) +C*%M+ (C #(*T%#T *M&+C I C+BIT+C+).

  • 7/21/2019 Final Report On Blood Donation Website

    35/63

    JueryKLdelete from siteuser where usernameKPJthis-VusernamePL

    JnKmyNiud8Juery9

    echo LH&r RVJn record removedL

    Q

    public function search89

    O

    JueryKLselect U from siteuser L

    JrsKmyNselect8Juery9

    JnKmyslNnumNrows8Jrs9

    echo LH&r RVJn records foundL

    echo LHtable borderKP"P alignKPcenterP cellspacingKP:P cellpaddigKP1P widthKP5;:PVL

    echo LHtrVL

    echo LHth widthKP?:PVser*ameHRthVL

    echo LHth widthKP?:PV

  • 7/21/2019 Final Report On Blood Donation Website

    36/63

    O

    echo LHtrVL

    echo LHtdVJrowS:HRtdVL

    echo LHtdVJrowS"HRtdVL

    echo LHtdVJrowS$HRtdVL

    echo LHtdVJrowS=HRtdVL

    echo LHtdVJrowS1HRtdVL

    echo LHtdVJrowS>HRtdVL

    echo LHtdVJrowS;HRtdVL

    echo LHtdVJrowS6HRtdVL

    echo LHtdVJrowS?HRtdVL

    echo LHtdVJrowS5HRtdVL

    echo LHtdVJrowS":HRtdVL

    echo LHtdVJrowS""HRtdVL

    echo LHRtrVL

    Q

    echo LHRtableVL

    Q

    Q

    V

    36

  • 7/21/2019 Final Report On Blood Donation Website

    37/63

    5. TESTIN,

    T!('$0! Testing is a process in which we test the software to find errors and eceptions.

    There are mainly 1 levels of testing.

    i9 nit Testing

    ii9 Integration Testing

    iii9 ystem Testing

    iv9 %cceptance Testing

    5.1 U$' T!('$06In unit testing different modules of the project are tested against the

    specifications produced during design for the modules. It is essentially used for

    verification of the code produced during the coding phase. 7ence the goal is to test the

    internal logic of the modules.

    5.2 I'!0ra'$) T!('$06In this level of testing, many unit tested modules are combined

    into subsystems, which are then tested. The goal here is to see if the modules can be

    integrated properly. Thus the emphases are on testing interfaces between modules.

    5.3 S7('!% T!('$06 In this level of testing software system is tested. The reference

    document process is the reuirement documents and the goal is to see if the software

    meets its reuirements.

    5.4 A88!9'a8! T!('$06In this type of testing we have focusses on the eternal behavior

    of the system. %lso, in this the internal logic of the program is not emphasied.

    37

  • 7/21/2019 Final Report On Blood Donation Website

    38/63

    :. SCREENSHOTS

    Digure ?."! Welcome users with a message

    38

  • 7/21/2019 Final Report On Blood Donation Website

    39/63

    Digure ?.$! 7ome

  • 7/21/2019 Final Report On Blood Donation Website

    40/63

    40

  • 7/21/2019 Final Report On Blood Donation Website

    41/63

    Digure ?.=! earch Cesults of )onors.

    Digure ?.1! ignup

  • 7/21/2019 Final Report On Blood Donation Website

    42/63

    Digure ?.>! Cegistered uccessfully.

    42

  • 7/21/2019 Final Report On Blood Donation Website

    43/63

    Digure ?.;! ign In

  • 7/21/2019 Final Report On Blood Donation Website

    44/63

    Digure ?.6! 'og in +rror.

    44

  • 7/21/2019 Final Report On Blood Donation Website

    45/63

    Digure ?.?! earch Cesults of )onors.

    45

  • 7/21/2019 Final Report On Blood Donation Website

    46/63

    Digure ?.5! Dorgot

  • 7/21/2019 Final Report On Blood Donation Website

    47/63

    Digure ?.":! Welcome )onors in their %ccount.

    47

  • 7/21/2019 Final Report On Blood Donation Website

    48/63

    Digure ?.""! pdate

  • 7/21/2019 Final Report On Blood Donation Website

    49/63

    Digure ?."$! #hange

  • 7/21/2019 Final Report On Blood Donation Website

    50/63

    Digure ?."=!

  • 7/21/2019 Final Report On Blood Donation Website

    51/63

    Digure ?."1! pdate Information.

    51

  • 7/21/2019 Final Report On Blood Donation Website

    52/63

    Digure ?.">! )ata uccessfully pdated.

    52

  • 7/21/2019 Final Report On Blood Donation Website

    53/63

    Digure ?.";! Deedback Dorm.

    53

  • 7/21/2019 Final Report On Blood Donation Website

    54/63

    Digure ?."6! Deedback uccessfully ubmitted.

    54

  • 7/21/2019 Final Report On Blood Donation Website

    55/63

    Digure ?."?! +rror on ubmission of Deedback.

    55

  • 7/21/2019 Final Report On Blood Donation Website

    56/63

    56

  • 7/21/2019 Final Report On Blood Donation Website

    57/63

    Digure ?."5! Dacts about &lood )onation.

    57

  • 7/21/2019 Final Report On Blood Donation Website

    58/63

    Digure ?.$:! Who canRcan/t )onate &lood

    58

  • 7/21/2019 Final Report On Blood Donation Website

    59/63

    Digure ?.$"! #ontact s

  • 7/21/2019 Final Report On Blood Donation Website

    60/63

    ;. ADVANTA,ES AND LIMITATIONS

    ;.1 Ad

  • 7/21/2019 Final Report On Blood Donation Website

    61/63

    1=. A99/$8a'$)(

    This website is used for both a normal user as well as for donor in order to take and give

    blood.

    This website also provide a platform for those who wants to donate their bloods in order tosave one or more than two life.

    We totally working towards reducing the compleity of our website which helps a normal

    user to provide ease in searching, getting register etc. by providing them simple and

    interactive forms respectively.

    (ur website is not responsible for any irrelevant information about the donors.

    ince this website is for a social cause and we will not charge any money while registering

    the donors as well as fetching detail about donors.

    This website is also provide a platform for blood banks when there is a shortage of blood in

    their organiations.

    61

  • 7/21/2019 Final Report On Blood Donation Website

    62/63

    11. FUTURE ENHANCEMENT

    In future, many modulescan be added to thisproject to add some etra features. ome

    featuresmay be re-corrected forthe betterusability ofthe project. ome ofthe features

    are following.

    We provide a feature to leave the comments from

    the client side to ask their eperience in order to

    update the system.

    In order to remove bugs from our website, the

    administrator will regularly check the functionalities of

    each module.

    We provide regular backup facility for the database in order to

    prevent corruption of data and maintains it for long time.

    We try our best to implement some etra features in feature for the

    secure registration on our website.

    62

  • 7/21/2019 Final Report On Blood Donation Website

    63/63

    REFERENCE

    www.wikipedia.org

    www.youtube.com

    www.friens2support.org www.boodser!ices.ca

    www.unitedboodser!ices.org

    www.medindia.net

    www.tempatemo.com

    http://www.wikipedia.org/http://www.youtube.com/http://www.friens2support.org/http://www.bloodservices.ca/http://www.unitedbloodservices.org/http://www.medindia.net/http://www.templatemo.com/http://www.youtube.com/http://www.friens2support.org/http://www.bloodservices.ca/http://www.unitedbloodservices.org/http://www.medindia.net/http://www.templatemo.com/http://www.wikipedia.org/