You are on page 1of 75

CHAPTER 1

INTRODUCTION

1
1.INTRODUCTION

1. Introduction
This project is planned with an intention to help the companies to advertise their
upcoming products by the means of YouTube. So, the companies can create more curiosity
among the customers, without revealing the total description and specification of their project.
It acts as a great platform for companies to sell more products and the youtubers can obtain the
details through our website and with that they can earn more subscribers and money. YouTube
and its impact on young people of more communities, so the youtubers can provide certain
positive details about the product and create a positive impression on customers and make them
to buy it. So, through our website If youtuber is willing to provide the review for a product he
can make a direct request to the admin and he can to verify that he satisfies the conditions
proposed by the product owner. Then if everything looks right admin provide the details of the
product to the youtuber.

2
CHAPTER 2

SOFTWARE REQUIREMENT ANALYSIS

3
2. SOFTWARE REQUIREMENT ANALYSIS

2.1 Hardware Requirement:

RAM : 512MB or above

I/O : Mouse, Keyboard

Processor : Anything above 1Ghz

Hard drive : Minimal requirements

Modem/Router : Any standard modems

2.2 Software Requirement:

Operating System : Windows XP and above


Developing Tool : HTML/CSS, JavaScript, PHP/MySQL
Browser : IE, Chrome, Safari or any default browser

2.3 About the Software


2.3.1 Software Interface
The software requirement specification is produced at the culmination of the analysis task. The
function and performance allocated to software as a part of system engineering are refined by
establishing a complete information description as functional representation, a representation of
system behavior, an indication of performance requirements and design constraints, appropriate
validation criteria.

2.3.2 HTML
Hypertext Markup Language (HTML) is the standard markup language for
creating web pages and web applications. With Cascading Style Sheets (CSS)
and JavaScript it forms a triad of cornerstone technologies for the World Wide Web. Web
browsers receive HTML documents from a webserver or from local storage and render them
into multimedia web pages. HTML describes the structure of a web page semantically and originally
included cues for the appearance of the document.HTML elements are the building blocks of HTML
4
pages. With HTML constructs, images and other objects, such as interactive forms, may be embedded
into the rendered page. It provides means to create structured documents by denoting
structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. HTML
elements are delineated by tags, written using angle brackets. Tags such as <img /> and <input

/> introduce content into the page directly. Others such as <p>...</p> surround and provide

information about document text and may include other tags as sub-elements. Browsers do not display
the HTML tags, but use them to interpret the content of the page. HTML can embed programs written
in a scripting language such as JavaScript which affect the behavior and content of web pages.
Inclusion of CSS defines the look and layout of content. The World Wide Web Consortium (W3C),
maintainer of both the HTML and the CSS standards, has encouraged the use of CSS over explicit
presentational HTML since 1997.

2.3.3 Cascading Style Sheets(CSS)


Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of
a document written in a markup language. Although most often used to set the visual style of web
pages and user interfaces written in HTML and XHTML, the language can be applied to any XML
document, including plain XML, SVG and XUL, and is applicable to rendering in speech, or on other
media. Along with HTML and JavaScript. CSS is a cornerstone technology used by most websites to
create visually engaging web pages, user interfaces for web applications, and user interfaces for many
mobile applications.CSS is designed primarily to enable the separation of document content from
document presentation, including aspects such as the layout, colors, and fonts. This separation can
improve content accessibility, provide more flexibility and control in the specification of presentation
characteristics, enable multiple HTML pages to share formatting by specifying the relevant CSS in a
separate .css file, and reduce complexity and repetition in the structural content. Separation of
formatting and content makes it possible to present the same markup page in different styles for
different rendering methods, such as on-screen, in print, by voice (via speech-based browser or screen
reader), and on Braille-based tactile devices. It can also display the web page differently depending on
the screen size or viewing device. Readers can also specify a different style sheet, such as a CSS file
stored on their own computer, to override the one the author specified.
Changes to the graphic design of a document (or hundreds of documents) can be applied quickly
and easily, by editing a few lines in the CSS file they use, rather than by changing markup in the
documents.The CSS specification describes a priority scheme to determine which style rules apply if

5
more than one rule matches against a particular element. In this so-called cascade, priorities (or
weights) are calculated and assigned to rules, so that the results are predictable.

2.3.4 Javascript
JavaScript is a high-level, dynamic, untyped, and interpreted programming language. It has
been standardized in the ECMA Script language specification. Alongside HTML and CSS, JavaScript
is one of the three core technologies of World Wide Web content production; the majority of websites
employ it, and all modern Web browsers support it without the need for plug-ins. JavaScript is
prototype-based with first-class functions, making it a multi-paradigm language, supporting object-
oriented, imperative, and functional programming styles. It has an API for working with text, arrays,
dates and regular expressions, but does not include any I/O, such as networking, storage, or graphics
facilities, relying for these upon the host environment in which it is embedded.
Although there are strong outward similarities between JavaScript and Java, including language
name, syntax, and respective standard libraries, the two are distinct languages and differ greatly in
their design. JavaScript was influenced by programming languages such as Self and Scheme.
JavaScript is also used in environments that are not Web-based, such as PDF documents, site-
specific browsers, and desktop widgets. Newer and faster JavaScript virtual machines (VMs) and
platforms built upon them have also increased the popularity of JavaScript for server-side Web
applications. On the client side, developers have traditionally implemented JavaScript as an interpreted
language, but more recent browsers perform just-in-time compilation. Programmers also use
JavaScript in video-game development, in crafting desktop and mobile applications, and in server-side
network programming with run-time environments such as Node.js.

2.3.5 jQuery

jQuery's syntax is designed to make it easier to navigate a document, select DOM elements,
create animations, handle events, and develop Ajax applications. jQuery also provides capabilities for
developers to create plug-ins on top of the JavaScript library. This enables developers to
create abstractions for low-level interaction and animation, advanced effects and high-level, themeable
widgets. The modular approach to the jQuery library allows the creation of powerful dynamic web
pages and Web applications.

6
2.3.6 FlexSlider

FlexSlider was built to serve up the best responsive jQuery slider around. I had built a few
implementations of responsive sliders on different client projects and noticed that there was a glaring
hole for plugin support with the concept. I wanted to build a plugin that would serve the newest of
beginners, while providing seasoned developers a tool they could use with confidence.

What has come forth is this, FlexSlider. I plan to maintain this plugin and provide support to users
implementing FlexSlider into their sites. Responsive web design can be tricky, but I hope that
FlexSlider serves to uncomplicate the process, just a little bit.

2.3.7 PHP
PHP is a server-side scripting language designed primarily for web development but also used
as a general-purpose programming language. Originally created by Rasmus Lerdorf in 1994, the
PHP reference implementation is now produced by The PHP Development Team. PHP originally
stood for Personal Home Page, but it now stands for the recursive acronym PHP: Hypertext Pre-
processor. PHP code may be embedded into HTML or HTML5 code, or it can be used in combination
with various web template systems, web content management systems and web frameworks. PHP
code is usually processed by a PHP interpreter implemented as a module in the web server or as
a Common Gateway Interface (CGI) executable. The web server combines the results of the
interpreted and executed PHP code.The standard PHP interpreter, powered by the Zend Engine,
is free software released under the PHP License. PHP has been widely ported and can be
deployed on most web servers on almost every operating system and platform, free of
charge.

The PHP language evolved without a written formal specification or standard until 2014, leaving
the canonical PHP interpreter as a de facto standard. Since 2014 work has gone on to create a formal
PHP specification.

2.3.8 Bootstrap
Bootstrap is a free and open-source front-end Web framework. It contains HTML and CSS-
based design templates for typography, forms, buttons, navigation and other interface components, as
well as optional JavaScript extensions. Unlike many earlier web frameworks, it concerns itself with
front-end development only.

7
2.3.9 Animate CSS

An animation lets an element gradually change from one style to another.You can change as
many CSS properties you want, as many times you want.To use CSS animation, you must first specify
some keyframes for the animation.Keyframes hold what styles the element will have at certain times.
CSS animations allows animation of most HTML elements without using JavaScript or Flash

2.3.10 MySQL

MySQL is an open-source relational database management system (RDBMS). Its name is a


combination of "My", the name of co-founder Michael Widenius' daughter and "SQL", the
abbreviation for Structured Query Language. The MySQL development project has made its source
code available under the terms of the GNU General Public License, as well as under a variety
of proprietary agreements. MySQL was owned and sponsored by a single for-profit firm,
the Swedish company MySQL AB, now owned by Oracle Corporation. For proprietary use, several
paid editions are available, and offer additional functionality.MySQL is a central component of
the LAMP open-source web application software stack (and other "AMP" stacks). LAMP is an
acronym for "Linux, Apache, MySQL, Perl/PHP/Python". Applications that use MySQL database
include: TYPO3, MODx, Joomla, WordPress, phpBB, MyBB and Drupal. MySQL is also used in
many high-profile, large-scale websites, including Google (though not for
searches), Facebook, Twitter, Flickr, and YouTube.

8
CHAPTER 3

SYSTEM ANALYSIS

9
3. SYSTEM ANALYSIS

3.1 Introduction

System analysis as the process of studying a procedure or business in order to identify its goals
and purposes and create systems and procedures that will achieve them in an efficient way. Another
view sees system analysis as a problem-solving technique that decomposes a system into its component
pieces for the purpose of the studying how well those component parts work and interact to accomplish
their purpose. The field of system analysis relates closely to requirements analysis or to operations
research. It is also an explicit formal inquiry carried out to help a decision maker identify a better
course of action and make a better decision than she might otherwise have made. System analysis is
the process of gathering and interpreting facts diagnosing problems and using the information to
recommend improvements to the system. The initial investigation is done to determine whether the
requirement is valid and feasible before a recommendation is made to improve or modify the existing
system. Analysis is a detailed understanding of all important facts of the business area under
investigation.

3.2 Existing system


Currently the product-based companies have to search for a good and familiar youtuber and
then they will provide their companies upcoming product details to bring more curiosity among the
customers.Likewise, the youtuber has to mail and request the details of their upcoming product from
the companies. For this first the company has to see the mail and then they have to verify the youtuber
whether he is trust worthy or not. Then they provide the details. It is a huge process which need more
time and more patience

10
3.3 Proposed system

In our project we admin will make a good relationship with a company and collect the details
of their upcoming product with their proposed set of rules. Then on our website we just post the image
of a product and this can only be seen by the youtuber after few steps of verification. If particular
youtuber is willing to provide the review for a product he can make a direct request to the admin and
so he can able to verify that he satisfy the conditions proposed by the product owner. Then if everything
looks right admin provide the details of the product to the youtuber.

3.4 Feasibility study

A feasibility study is conducted for the selection of the best system that meets system
performance requirements. First, the study presupposes that we evaluate solutions. Second, the study
tends to overlook the confusions inherent in system development.Three key considerations involved
in the feasibility analysis are economic, behavioral and technical.

3.4.1 Economic feasibility


This is the most frequently used method for evaluating the effectiveness of the system. This
feasibility is known as cost/benefit analysis, the procedure is to determine the benefits and savings that
are expected from a candidate system and compare them with costs. The system has been made
economically feasible by including Google Analytics code, which provides accurate information about
page traffic, geographical location of the users, OS, browser, mobile device, age of the audience,
gender of the audience, views per page and so on. With the help of this analytics, advertisements can
be placed on each page based on the data collected which would increase Return On Investment .
Hence, it's benefits overweigh costs, and decision is made to design and implement the system.

3.4.2 Technical feasibility


This is the method used to evaluate the technical aspects of the existing system and the
proposed system. The existing system being a scattered one is not an advisable policy in this electronic
era. It makes finding the requirements of the user a cumbersome process and does not grant instant
access to the user. That is the reason why it requires an automated, centralized system by which the
user can get great benefits. The proposed system is greatly feasible because the user simply needs an
electronic device with access to the internet to fulfill their needs.
11
3.4.3 Behavioral feasibility
This method is used for finding how much effort goes into educating and training the staff for
the system, which is to be developed. Here the reactions of the users to the proposed system are studied.
After the study is made, the plan for educating and training the users towards using system are drawn
and brought to action. Since the website is highly user friendly and requires minimal knowledge to
access efficiently, it is greatly feasible behavior-wise.

3.4.4 GUI’S
In the flexibility of the uses the interface has been developed a graphics concept in mind, associated
through a browses interface. The GUI’S at the top level have been categorized as
1. Company user interface
2. The operational or generic user interface
The administrative user interface concentrates on the consistent information that is practically, part of
the organizational activities and which needs proper authentication for the data collection. The
interfaces help the administrations with all the transactional states like Data insertion, Data deletion
and Date updation along with the extensive data search capabilities.The operational or generic user
interface helps the users upon the system in transactions through the existing data and required
services. The operational user interface also helps the ordinary users in managing their own
information helps the ordinary users in managing their own information in a customized manner as per
the assisted flexibilities.

3.4.5 Number of modules


The system after careful analysis has been identified to be presented with the following
modules:The modules involved are:
1. Youtuber module
2. Client module
Client module is module that was designed only for the client, who can login and can
register. In client login the company people can login and can see the status of their
product review and in registration the new company can register themselves into our
website
Youtuber module is the module that was designed for the youtuber, who can login
and also can register. In Youtuber login the user can login and can see the new

12
product details and in registration the new Youtuber can register themselves into
our website

13
CHAPTER 4
SYSTEM DESIGN

14
4.SYSTEM DESIGN

4.1 Introduction
System design is the process of defining the architecture, components, modules, interfaces,
and data for a system to satisfy specified requirements. Systems design could be seen as the
application of systems theory to product development. There is some overlap with the disciplines
of systems analysis, systems architecture and systems engineering. The Process of design involves
concerning and planning out in the mind and making a pattern or sketch.

4.2 Input Design


Data enters the system as input and it is with the data, the processing is performed. While
designing inputs, an important aspect is the form design or data entry screen. A well-designed form
can simplify the work of the person filling it, minimize error and release the effort if the person reading
it. Inaccurate input data is the most important cause of errors in data processing. Errors committed by
data entry operators can be controlled by the input design.

4.3 Output Design


The system is totally menu driven. It is a very powerful tool for interactive control menu and
structure is designed in such a way that the user can navigate easily by selecting the links. In any
system, result of processing is communicated to the users through the output. In the output design, it
is determined how the information is displayed in a formatted way for hard copy output. Efficient and
intelligent output design improves the system’s relationship with the user and helps in decision making.
The output design specification is carried out with much user friendliness. The system being developed
provides the output in the form of screens. The system also provides messages for user friendliness.
The screen is provided with help menus and messages that the can help users at difficult situations. It
also provides error message, wherever necessary.

15
4.4 Dataflow Diagram

Youtubers Data Flow 4.4.1

16
Client Data Flow 4.4.2

17
UML DIAGRAM

USE CASE DIAGRAM

Figure 4.5.1: Use Case Diagram for Youtuber

18
Figure 4.5.2: Use Case Diagram for Client

19
Activity Diagram

Figure 4.6.1: Activity Diagram - Youtuber

20
Figure 4.6.2: Activity Diagram -Client

21
Sequence Diagram

Figure 4.7 Sequence Diagram

22
Table

Database: reviewmon, Table: blog datatable, Purpose: Table structure

S.no ColumnColumn TypeType


1 id int(11)
2 cname text
3 blogcount int(11)
4 eligible int(11)

Table 4.8.1 blog datatable

23
Table 4.8.2

Database: reviewmon, Table: bussinessdetail, Purpose: Table structure

S.no ColumnColumn TypeType


1 ID int(25)
2 username text
3 coordinator text
4 cname text
5 address text
6 amtpaid tinyint(1)
7 cweb text
8 cemail text
9 location text
10 mobile text

Table 4.8.2 bussiness detail

24
Table 4.8.3

Database: reviewmon, Table: bussinesslogin, Purpose: Table structure

S.no ColumnColumn TypeType


1 ID int(25)
2 username text
3 email text
4 password text
5 saltpassword text

Table 4.8.3 bussiness login

25
Table 4.8.4

Database: reviewmon, Table: clientdetail, Purpose: Table structure

S.no ColumnColumn TypeType


1 ID int(25)
2 username text
3 fname text
4 lname text
5 ycname text
6 moblie text
7 noofsub int(11)
8 address text
9 image longblob
10 canconfirm tinyint(1)
11 blogselected text

Table 4.8.4 client detail

26
Table 4.8.5

Database: reviewmon, Table: clientlogin, Purpose: Table structure

S.no ColumnColumn TypeType


1 ID int(25)
2 Username text
3 email text
4 password text
5 saltpassword text

Table 4.8.5 client login

27
Table 4.8.6

Database: reviewmon, Table: customer datatable, Purpose: Table structure

S.no ColumnColumn TypeType


1 id int(11)
2 pname text
3 pdesc longtext
4 pimgmain longblob
5 pimg1 longblob
6 pimg2 longblob
7 pstime datetime
8 bidamt int(11)
9 Assigned text
10 minsub int(11)
11 visible tinyint(1)

Table 4.8.6 customer datatable

28
Table 4.8.7

Database: reviewmon, Table: youblogdata, Purpose: Table structure

S.no ColumnColumn TypeType


1 ID int(11)
2 username text
3 blogcompleted int(11)

Table 4.8.7 youtuberblog data

29
CHAPTER 5

CODING

30
5. CODING

5.1 Codes

5.1.1 Buisness Registration[php]

<?php

session_start();

//connect to database

$db=mysqli_connect("localhost","review","","reviewmon");

if(isset($_POST['register_btn']))

$username=mysqli_real_escape_string($db,$_POST['username']);

$email=mysqli_real_escape_string($db,$_POST['email']);

$password=mysqli_real_escape_string($db,$_POST['password']);

$password2=mysqli_real_escape_string($db,$_POST['password2']);

$coordinator=mysqli_real_escape_string($db,$_POST['coordinator']);

$cname=mysqli_real_escape_string($db,$_POST['cname']);

$address=mysqli_real_escape_string($db,$_POST['address']);

$cweb=mysqli_real_escape_string($db,$_POST['cweb']);

$cemail=mysqli_real_escape_string($db,$_POST['cemail']);

$location=mysqli_real_escape_string($db,$_POST['location']);

$mobile=mysqli_real_escape_string($db,$_POST['moblie']);

if($password==$password2)
31
{ //Create User

$salt = '1234';

$saltpassword= md5($salt.$password);

$password=md5($password);

//hash password before storing for security purposes

$sql="INSERT INTO bussinesslogin(Username,email, password,


saltpassword )
VALUES('$username','$email','$password','$saltpassword')";

if(mysqli_query($db,$sql)){

$sql="INSERT INTO bussinessdetail(username,coordinator, cname,


address,amtpaid, cweb, cemail, location,mobile)
VALUES('$username','$coordinator','$cname','$address',0,'$cweb','$ce
mail','$location', '$mobile')";

mysqli_query($db,$sql);

$sql="INSERT INTO blogdata(cname,blogcount,eligible)


VALUES('$username',0,0)";

mysqli_query($db,$sql);

$sql="CREATE TABLE `reviewmon`.`$username` ( `id` INT NOT


NULL AUTO_INCREMENT , `pname` TEXT NOT NULL , `pdesc`
LONGTEXT NOT NULL , `pimgmain` LONGBLOB NOT NULL ,
`pimg1` LONGBLOB NOT NULL , `pimg2` LONGBLOB NOT NULL
, `pstime` DATETIME NOT NULL , `bidamt` INT NOT NULL
,`Assigned` TEXT NULL , `minsub` INT NOT NULL , `visible`
BOOLEAN NOT NULL , `status` INT NOT NULL , PRIMARY KEY
(`id`)) ENGINE = InnoDB;";

mysqli_query($db,$sql);

$_SESSION['message']="You are now logged in";

32
$_SESSION['username']=$username;

header("location:blog.php"); //redirect home page

else

$_SESSION['message']="Login Details Error";

else

$_SESSION['message']="The two password do not match";

// }

// }

?>

5.1.2 Bussiness register[html]

<form method="post">

<div class="col-md-6">

<div class="row">

<div class="col-md-12">

<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">

33
<div class="colorlib-text">

<label for="username">Username</label>

<input class="form-control" type="text" name="username"


class="textInput">

</div>

</div>

<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">

<div class="colorlib-text">

<label for="password">Password</label>

<input class="form-control" type="password" id="password" name="password"


class="textInput">

</div>

</div>

<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">

<div class="colorlib-text">

<label for="password2">Confirm Password</label>

<input class="form-control" type="password" id="password2"


name="password2" class="textInput">

</div>

</div>

<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">

<div class="colorlib-text">

<label for="email">Email</label>

34
<input class="form-control" type="email" id="email" name="email"
class="textInput">

</div>

</div>

<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">

<div class="colorlib-text">

<label for="coordinator">Coordinator</label>

<input class="form-control" type="text" id="coordinator"


name="coordinator" class="textInput">

</div>

</div>

<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">

<div class="colorlib-text">

<label for="cname">Company Name</label>

<input class="form-control" type="text" id="cname" name="cname"


class="textInput">

</div>

</div>

<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">

<div class="colorlib-text">

<label for="address">Coordinator Address</label>

<input class="form-control" type="text" id="address" name="address"


class="textInput">

</div>

</div>

35
<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">

<div class="colorlib-text">

<label for="cweb">Website Address</label>

<input class="form-control" type="text" id="cweb" name="cweb"


class="textInput">

</div>

</div>

<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">

<div class="colorlib-text">

<label for="cemail">Coordinator Email</label>

<input class="form-control" type="text" id="cemail" name="cemail"


class="textInput">

</div>

</div>

<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">

<div class="colorlib-text">

<label for="location">Company Address</label>

<input class="form-control" type="text" id="location" name="location"


class="textInput">

</div>

</div>

<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">

<div class="colorlib-text">

<label for="moblie">Moblie number</label>

36
<input class="form-control" type="text" id="moblie" name="moblie"
class="textInput">

</div>

</div>

</div>

</div>

<div class="col-md-6">

<div class="row">

<div class="col-md-12"></div>

<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">

<div class="colorlib-text">

<input class="btn btn-primary btn-learn" style="width: 200px;"


type="submit" name="register_btn" class="Register">

</div>

</div>

</div>

</div>

</div>

</form>

5.2.1 Business addblog [php]

<?php

session_start();

$user=$_SESSION['username'];

37
$db=mysqli_connect("localhost","review","","reviewmon");

if(isset($_POST['submit'])){

$pname=mysqli_real_escape_string($db,$_POST['pname']);

$pdesc=mysqli_real_escape_string($db,$_POST['pdesc']);

$bidamt=mysqli_real_escape_string($db,$_POST['bidamt']);

$minsub=mysqli_real_escape_string($db,$_POST['minsub']);

$date = date('Y/m/d H:i:s');

$image = $_FILES['pimgmain']['tmp_name'];

$imgContent = addslashes(file_get_contents($image));

$image2 = $_FILES['pimg1']['tmp_name'];

$img2Content = addslashes(file_get_contents($image2));

$image3 = $_FILES['pimg2']['tmp_name'];

$img3Content = addslashes(file_get_contents($image3));

$sql="INSERT INTO `$user` ( pname, pdesc,pimgmain ,pimg1, pimg2, pstime, bidamt,Assigned,


minsub, visible) VALUES ( '$pname','$pdesc', '$imgContent', '$img2Content', '$img3Content',
'$date','$bidamt',NULL ,'$minsub', '1')";

if(mysqli_query($db,$sql)){

$sql="UPDATE blogdata SET blogcount = blogcount+1 WHERE cname = '$user'";

if(mysqli_query($db,$sql)){

$_SESSION['message']="Blog Registration Successfull";

$_SESSION['message']="Blog Registration Successfull";

//redirect home page

else{

38
$_SESSION['message']="Blog Registration Failed";

//redirect home page

?>

5.2.2 Bussiness addblog [html]

<form enctype="multipart/form-data" method="post">

<div class="container ">

<div class="col-md-4 col-sm-6 animate-box" data-animate-effect="fadeInLeft">

<div class="blog-entry">

<div class="desc">

<h3>

<label for="">Product Name</label>

<input class="form-control" style="width: 300px;" type="text"


name="pname" class="textInput">

</h3>

</div>

</div>

</div>

39
<div class="col-md-4 col-sm-6 animate-box" data-animate-effect="fadeInLeft">

<div class="blog-entry">

<div class="desc">

<h3>

<label for="">Product Description</label>

<input class="form-control" style="width: 300px;" type="text"


name="pdesc" class="textInput">

</h3>

</div>

</div>

</div>

<div class="col-md-4 col-sm-6 animate-box" data-animate-effect="fadeInLeft">

<div class="blog-entry">

<div class="desc">

<h3>

<label for="">Product Main image</label>

<input class="form-control" style="width: 300px;" type="file"


name="pimgmain" class="textInput">

</h3>

</div>

</div>

</div>

<div class="col-md-4 col-sm-6 animate-box" data-animate-effect="fadeInLeft">

<div class="blog-entry">

40
<div class="desc">

<h3>

<label for="">Product image 2</label>

<input class="form-control" style="width: 300px;" type="file"


name="pimg1" class="textInput">

</h3>

</div>

</div>

</div>

<div class="col-md-4 col-sm-6 animate-box" data-animate-effect="fadeInLeft">

<div class="blog-entry">

<div class="desc">

<h3>

<label for=""> Product image 3</label>

<input class="form-control" style="width: 300px;" type="file"


name="pimg2" class="textInput">

</h3>

</div>

</div>

</div>

<div class="col-md-4 col-sm-6 animate-box" data-animate-effect="fadeInLeft">

<div class="blog-entry">

<div class="desc">

<h3>

41
<label for="">Product Review Amount </label>

<input class="form-control" style="width: 300px;" type="number"


name="bidamt" class="textInput">

</h3>

</div>

</div>

</div>

<div class="col-md-4 col-sm-6 animate-box" data-animate-effect="fadeInLeft">

<div class="blog-entry">

<div class="desc">

<h3>

<label for=""> Subscriber needed </label>

<input class="form-control" style="width: 300px;" type="number"


name="minsub" class="textInput">

</h3>

</div>

</div>

</div>

<div class="col-md-4 col-sm-6 animate-box" data-animate-effect="fadeInLeft">

<div class="blog-entry">

<div class="desc">

<h3>

</h3>

</div>

</div>

42
</div>

<div class="col-md-4 col-sm-6 animate-box" data-animate-effect="fadeInLeft">

<div class="blog-entry">

<div class="desc">

<h3>

</h3>

</div>

</div>

</div>

<div class="col-md-4 col-sm-6 animate-box" data-animate-effect="fadeInLeft">

<div class="blog-entry">

<div class="desc">

<h3>

</h3>

</div>

</div>

</div>

<div class="col-md-4 col-sm-6 animate-box" data-animate-effect="fadeInLeft">

<div class="blog-entry">

<div class="desc">

<h3>

<input class="btn btn-primary btn-learn" style="width: 300px;"


type="submit" name="submit">

</h3>

43
</div>

</div>

</div>

</div>

</form>

5.3.1 Business login.html

<form method="post" >

<div class="col-md-6">

<div class="row">

<div class="col-md-12">

<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">

<div class="colorlib-text">

<label for="username">username</label>

<input type="text" class="form-control" id="username" name="username"


class="textInput">

</div>

</div>

<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">

<div class="colorlib-text">

<label for="password">Password</label>

44
<input type="password" class="form-control" id="password" name="password"
class="textInput">

</div>

</div>

</div>

</div>

<div class="col-md-6">

<div class="row">

<div class="col-md-12"></div>

<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">

<div class="colorlib-text">

<input class="btn btn-primary btn-learn" style="width: 200px;"


type="submit" name="login_btn" class="Log In">

</div>

</div>

</div>e

</div>

</div>

</form>

5.3.2 Business login [php]

<?php

session_start();

if( isset($_SESSION['username']) )
45
{

header("location:blog.php");

die();

//connect to database

$db=mysqli_connect("localhost","review","","reviewmon");

if($db)

if(isset($_POST['login_btn']))

$username=mysqli_real_escape_string($db,$_POST['username']);

$password=mysqli_real_escape_string($db,$_POST['password']);

$salt = '1234';

$saltpassword= md5($salt.$password);

$password=md5($password);

//Remember we hashed password before storing last time

$sql="SELECT * FROM bussinesslogin WHERE Username='$username' AND


password='$password' AND saltpassword='$saltpassword'";

$result=mysqli_query($db,$ sql)

if($result)

If ( mysqli_num_rows($result)>=1)

$_SESSION['message'] ="You are now LogggedIn";

$_SESSION['username'] =$username;
46
header("location:blog.php");

else

$_SESSION['message'] ="Username and Password combiation incorrect ";

?>

5.4.1 client register[html]

<form method="post" enctype="multipart/form-data">

<div class="col-md-6">
<div class="row">
<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">
<div class="colorlib-text">
<label for="username">username</label>
<input class="form-control" type="text" name="username">
</div>
</div>
<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">
<div class="colorlib-text">
<label for="password">Password</label>
<input class="form-control" type="password" id="password" name="password">

</div>
</div>

47
<div class="colorlib-feature animate-box" data-animate-
effect="fadeInLeft">
<div class="colorlib-text">
<label for="password2">Confirm Password</label>
<input class="form-control" type="password" id="password2"
name="password2">
</div>
</div>
<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">
<div class="colorlib-text">
<label for="email">Email</label>
<input class="form-control" type="email" id="email" name="email">
</div>
</div>
<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">
<div class="colorlib-text">
<label for="fname">First Name</label>
<input class="form-control" type="text" id="fname" name="fname">
</div>
</div>
<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">
<div class="colorlib-text">
<label for="lname">Last Name</label>
<input class="form-control" type="text" id="lname" name="lname">
</div>
</div>
<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">
<div class="colorlib-text">
<label for="ycname">Youtube Channel Name</label>
<input class="form-control" type="text" id="ycname" name="ycname">
</div>
</div>

48
<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">
<div class="colorlib-text">
<label for="noofsub">No of Subscriber</label>
<input class="form-control" type="text" id="noofsub" name="noofsub">
</div>
</div>
<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">
<div class="colorlib-text">
<label for="address">Address</label>
<input class="form-control" type="text" id="address" name="address">
</div>
</div>
<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">
<div class="colorlib-text">
<label for="moblie">Moblie number</label>
<input class="form-control" type="text" id="moblie" name="moblie">
</div>
</div>
<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">
<div class="colorlib-text">
<label for="pimgmain">Profile pics</label>
<input class="form-control" type="file" id="pimgmain" name="pimgmain">
</div>
</div>
</div>
<div class="col-md-6">
<div class="row">
<div class="col-md-12"></div>
<div class="colorlib-feature animate-box" data-animate-
effect="fadeInLeft">
<div class="colorlib-text">
<input class="btn btn-primary btn-learn" style="width: 200px;"
type="submit" name="register_btn" class="Register">
</div>
49
</div>
</div>
</div>
</div>
</form>

5.4.2 Client register[php]

<?php

session_start();

//connect to database

$db=mysqli_connect("localhost","review","","reviewmon");

if(isset($_POST['register_btn']))

$username=mysqli_real_escape_string($db,$_POST['username']);

$email=mysqli_real_escape_string($db,$_POST['email']);

$password=mysqli_real_escape_string($db,$_POST['password']);

$password2=mysqli_real_escape_string($db,$_POST['password2']);

$fname=mysqli_real_escape_string($db,$_POST['fname']);

$lname=mysqli_real_escape_string($db,$_POST['lname']);

$ycname=mysqli_real_escape_string($db,$_POST['ycname']);

$noofsub=mysqli_real_escape_string($db,$_POST['noofsub']);

$address=mysqli_real_escape_string($db,$_POST['address']);

$mobile=mysqli_real_escape_string($db,$_POST['moblie']);

$image = $_FILES['pimgmain']['tmp_name'];

$imgContent = addslashes(file_get_contents($image));

50
if($password==$password2)

{ //Create User

$salt = '1234';

$saltpassword= md5($salt.$password);

$password=md5($password);

//hash password before storing for security purposes

$sql="INSERT INTO clientlogin(Username,email, password, saltpassword )


VALUES('$username','$email','$password','$saltpassword')";

if(mysqli_query($db,$sql)){

$sql="INSERT INTO clientdetail(username,fname, lname, ycname,moblie,noofsub, address,


image, canconfirm) VALUES

('$username','$fname','$lname','$ycname','$mobile','$noofsub','$address','$imgContent',1)";

mysqli_query($db,$sql);

$sql="INSERT INTO youblogdata(username,blogcompleted) VALUES('$username',0)";

mysqli_query($db,$sql);

$_SESSION['message']="You are now logged in";

$_SESSION['username']=$username;

header("location:blog.php"); //redirect home page

else

$_SESSION['message']="Login Details Error";

51
else

$_SESSION['message']="The two password do not match";

// }

// }

?>

5.5.1 Client login [html]

<form method="post" >

<div class="col-md-6">
<div class="row">
<div class="col-md-12">
<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">
<div class="colorlib-text">
<label for="username">username</label>

<input type="text" class="form-control" id="username" name="username" class="textInput">


</div>
</div>
<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">
<div class="colorlib-text">
<label for="password">Password</label>
<input type="password" class="form-control" id="password" name="password" class="textInput">
</div>
</div>
</div>
</div>

52
<div class="col-md-6">
<div class="row">
<div class="col-md-12"></div>

<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">


<div class="colorlib-text">
<input class="btn btn-primary btn-learn" style="width: 200px;" type="submit"
name="login_btn" class="Log In">
</div>
</div>
</div>
</div>
</div>
</form>
5.5.2 Client login [php]

<?php

session_start();
if( isset($_SESSION['username']) )
{
header("location:blog.php");
die();
}
//connect to database
$db=mysqli_connect("localhost","review","","reviewmon");
if($db)
{
if(isset($_POST['login_btn']))
{
$username=mysqli_real_escape_string($db,$_POST['username']);
$password=mysqli_real_escape_string($db,$_POST['password']);
$salt = '1234';
$saltpassword= md5($salt.$password);
53
$password=md5($password);
//Remember we hashed password before storing last time
$sql="SELECT * FROM bussinesslogin WHERE Username='$username' AND
password='$password' AND saltpassword='$saltpassword'";
$result=mysqli_query($db,$sql);
if($result)
{
if( mysqli_num_rows($result)>=1)
{
$_SESSION['message']="You are now Loggged In";
$_SESSION['username']=$username;
header("location:blog.php");
}
else
{
$_SESSION['message']="Username and Password combiation incorrect ";
}
}
}
}
?>
5.6.1 client blog submit [html]

<form enctype="multipart/form-data" method="POST" action="vediosubmitprocess.php" >

<div class="col-md-6">

<div class="row">

<div class="col-md-12">

<div class="colorlib-feature animate-box" data-animate-


effect="fadeInLeft">

<div class="colorlib-text">

54
<label for="username">Company name</label>

<?php

$db=mysqli_connect("localhost","review","","reviewmon");

$bloddatasql = "SELECT * FROM `clientdetail` where username=


'".$_SESSION['username']."'";

$bloddatares=mysqli_query($db,$bloddatasql);

while($bloddatarow = mysqli_fetch_assoc($bloddatares)) {

$blogselected=$bloddatarow['blogselected'];

if(!($blogselected=="")){

echo " <input type=\"text\" class=\"form-control\" id=\"name\"


name=\"name\" class=\"textInput\" value='$blogselected'>";

$value=explode("---",$blogselected);

$bloddatasql = "SELECT * FROM `$value[0]` where id='$value[1]'";

$bloddatares=mysqli_query($db,$bloddatasql);

while($bloddatarow = mysqli_fetch_assoc($bloddatares)) {

echo " <input type=\"text\" class=\"form-


control\" value='".$bloddatarow['pname']."'>";

echo " <textarea class=\"form-


control\">".$bloddatarow['pdesc']."</textarea>";

echo " <img


src=\"data:image;base64,".base64_encode($bloddatarow['pimgmain'])." \" class=\"img-responsive\"
alt=\"HTML5 Bootstrap Template by colorlib.com\">";

echo " <img


src=\"data:image;base64,".base64_encode($bloddatarow['pimg2'])." \" class=\"img-responsive\"
alt=\"HTML5 Bootstrap Template by colorlib.com\">";

echo " <img


src=\"data:image;base64,".base64_encode($bloddatarow['pimg1'])." \" class=\"img-responsive\"
alt=\"HTML5 Bootstrap Template by colorlib.com\">";

55
echo " <input type=\"text\" class=\"form-
control\"value='".$bloddatarow['bidamt']."'>";

?>

</div>

</div>

<div class="colorlib-feature animate-box" data-animate-


effect="fadeInLeft">

<div class="colorlib-text">

<label for="vedio">Vedio File</label>

<input type="text" class="form-control" id="vedio" name="vedio"


class="textInput">

</div>

</div>

</div>

</div>

<div class="col-md-6">

<div class="row">

<div class="col-md-12"></div>

<div class="colorlib-feature animate-box" data-animate-effect="fadeInLeft">

<div class="colorlib-text">

<input class="btn btn-primary btn-learn" style="width: 200px;" type="submit" name="submit"


class="Log In">

</div>

</div>

</div>

56
</div>

</div>

</form>

5.6.2 client blog submit [php]

<?php
session_start();
if(!isset($_SESSION['username'])){
header('location:services.php');
}
$user=$_SESSION['username'];
?>
5.7 contact for both [html]

<form action="">

<div class="form-group">
<input type="text" class="form-control" placeholder="Name">
</div>
<div class="form-group">
<input type="text" class="form-control" placeholder="Email">
</div>
<div class="form-group">
<input type="text" class="form-control" placeholder="Subject">
</div>
<div class="form-group">
<textarea name="" id="message" cols="30" rows="7" class="form-control"
placeholder="Message"></textarea>
</div>
<div class="form-group">
<input type="submit" class="btn btn-primary btn-send-message" value="Send Message">
</div>
</form>

57
CHAPTER 6
System Development

58
6. System Development
6.1 Introduction
System development plays a vital role in the life cycle (SDLC) as it describes the complete
requirement. In the future will have to go through formal change approval process. The main purpose
of preparing this document is to give a general insight into the analysis and requirement of the existing
the operating characteristics of the system

6.2 Phases of System Development


6.2.1 Component Decomposition
Home Module: It is an initial page which contain all other modules and the brief content about
website with pictures and videos

Client Module: It is module that was designed only for the client, who can login and also can
register. It is divided into two sub modules as

• Client Login

• Client Registration
In client login the company people can login and can see the status of their product review and in
registration the new company can register themselves into our website

Youtuber Module: It is the module that was designed for the youtuber, who can login and also can
register. It is divided into two sub modules as

• Youtuber Login

• Youtuber Registration
In Youtuber login the user can login and can see the new product details and in registration the new
Youtuber can register themselves into our website

Blog Module: After the completion of above modules the users are directly taken into the Blog
page where they can find details and description of our current and upcoming projects and also some
necessary information
59
Contact us Module: It is a support module which contain admins contact details and description about
the admin

60
CHAPTER 7
SYSTEM TESTING

61
7. SYSTEM TESTING

7.1 Introduction

Software testing is a critical element of software quality assurance and represents the ultimate
review of specification, design and code generation. Once the source code has been generated, software
must be tested to uncover as many errors as possible before delivery to the customer. In order to find
the highest possible number of errors, tests must be conducted systematically, and test cases must be
designed using disciplined techniques.

7.2 System Testing

Testing is vital to the success of the system. System testing makes a logical assumption that if
all the parts of the system are correct, the goal will be successfully achieved. Effective testing early in
the process translates directly into long-term cost savings from a reduced number of errors. Often the
computer technician and the user have communication barriers due to different backgrounds, interests,
priorities and perhaps languages. The system tester who has developed some computer master can
bridge this barrier.

7.2.1 Testing Methodology

Not based on any knowledge of internal design or code. Tests are based on requirements and
functionality. Tests are based on the coverage of code statements, branches, paths, and conditions,
typically performed by developers.

7.3 Component Testing

Component testing is performed after completion of each component. The most-recently


completed component is tested, and the other already-completed components are re-tested to verify
that integration of the new component did not introduce any defects. A component will not be
considered completed until it has successfully passed all component tests and is verified to have
fulfilled the requirements set in the Software Requirements Specification document. Other members
of the team who did not participate in the development of that particular component perform
component tests manually, and a record of each test result will be kept. As defects are found during
development and integration, tests that exercise the defect will be added to the test plans. The methods
that we will be using during the testing:

62
 Verify the results according to the input.
 Verify the transitions between the pages.
 Make sure the settings and all options works properly.

63
7.4 Test cases

7.4.1 Test case – Positive Scenario

Test Test Case Step # Step Description Expected Results Test Case
Case # Description Results
Test Positive Step 1 Enter email Email should be treated as valid PASS
case 1 scenario
Test Positive Step 1 Enter password No Exception is thrown PASS
case 2 scenario greater than eight
characters
Test Positive Step 1 Check email Email is verified PASS
case 3 scenario

Table 7.4.1: Test Case – Positive Scenario

7.4.2 Test case – Negative Scenario

Test Test Case Step Step Description Expected Results Test


Case # Description # Case
Results
Test Negative
case 2 scenario
Step 1 Signup with That e-mail address is
existing email taken.
Step 2 Password not That password is too short
greater or equal
to eight
characters
Step 3 Wrong login That password is wrong.
credentials
PASS

Table 7.4.2: Test Case –Negative Scenario

64
CHAPTER 8

OUTPUT SCREENS

65
Photo 8.1 Business login

Photo 8.2 Business Registration

66
Photo 8.3 Client Login

Photo 8.4 Companies Blog Page-youtuber view

67
Photo 8.5 Blog Submit page – youtuber

Photo 8.6 Add blog - Company

68
Photo 8.7 Added blog - company

69
CHAPTER 9

CONCLUSION

70
9. CONCLUSION

9.1 Conclusion

The software development is very flexible and much functionality can be added to it, to enhance
performance of this project titled “informal”. A brief overview of the project, algorithms, and related
techniques are discussed.It helps to have an organised location from which students can seamlessly
access everything that they would require and hence eliminates the problems of sharing ideas or
thoughts and also saves them the time of searching for websites/other sources for information .

The project was successfully completed within the time span allotted.

71
CHAPTER 10

FURTHER ENHANCEMENTS

72
10. FURTHER ENHANCEMENTS

10.1 Further Scope and Enhancements

Future work includes expanding the system to accommodate details/notes of every college. It
can be developed based on multiple departmental, geographical locational requirements. It can also be
developed into an app that provides all the data in the website offline that can be accessed seamlessly.
An admin panel can also be added for providing access to authorized people from various institutions
who can edit, modify the data as per their institution. Our project can be developed in a way that it can
be hosted in the web server in a broad way and can be used to interact with the client via virtual
technology and so it is easy and efficient review monitoring system can be monitored using super
computer so that it reduce man power By using super computer the management of database and all
the module can be managed simultaneously.Hence, this has been included to get complete information
about the users. So, each page can be further tailored based on the requirements of the type of users
visiting the page. Appropriate ads can also be placed to increase rate of interest

CHAPTER 11

73
REFERENCES

11. REFERENCES

74
1. Lee Babin, Nathan A.Good, Frank M.Kromann and Jon Stephens, "PHP 5 recipes - A problem
solution approach", 2005.
2. P.J.Deitel, H.M.Deitel, "Internet and World Wide Web: How to Program", Pearson
Publications, 2009.
3. Ron Patton, "Software Testing", Sams Publications, 2001.
4. Vikram Vaswani, "PHP : A beginner's guide ", McGraw-Hill Education, 2008.
5. W3schools, "www.w3schools.com", 2017.

75

You might also like