Professional Documents
Culture Documents
Documentation
Documentation
INTRODUCTION
1.1 Introduction
1
1.2 System Specifications
Processor : Pentium IV
Monitor : 14 “Monitor
Language: PHP
Database: MYSQL
2
CHAPTER-2
SYSTEM STUDY
2.1 Purpose
To create a web application that can help farmers and users in knowing about farming
related queries, loan, new insecticides, fixing prices for rice, wheat and to buy rice, wheat in
preferred quantities respectively.
The existing Auction System for items is managed manually. The user who wants to
sell the items by auction would announce for that through the media or other way. Farmers
who need to buy the items then attend the place of selling. It covers only limited area. The
farmers do not know about the new types of insecticides Details. They don’t know about new
methods in farming.
3
2.3 Proposed System
The proposed system is an online auction system for insecticides item. The proposed
system is user friendly as it can be used from anywhere and it is available throughout the
year. The sellers upload the insecticides items after registration. The price for the item is also
fixed by the seller. The farmer after registration can view the products available for auction
and quote the price and buy the products. After login the farmer allow for apply the loan.
Loan acceptance and decline status are website allow to viewed status.
4
2.4 Software Description
PHP:
PHP stands for Hypertext Pre-processor. PHP scripts run inside Apache server or
Microsoft IIS. PHP and Apache server are free. PHP code is very easy. PHP is the most used
server side scripting language. PHP files contain PHP scripts and HTML. PHP files have the
extension “php”, “php3”, “php4”, or “phtml”.
Using PHP:
Generate dynamic web pages. PHP can display different content to different user or
display different content at different times of the day.
Process the contents of HTML forms. We can use a PHP to retrieve and respond to
the data entered into an HTML form.
Can create database-driven web pages. A PHP can insert new data or retrieve
existing data from a database such a MySQL.
Working of PHP:
PHP is a standard HTML file that is extended with additional features. Like a standard
HTML file, PHP contains HTML tag that can be interpreted and displayed by a web browser.
Anything we could normally place in an HTML file Java applets, Blinking text, server side
scripts .we can place in PHP. However, PHP has three important features that make it unique.
5
SGML is also a Meta language for formally describing document markup system.
Infact HTML uses SGML to define a language that describes a WWW hyper document’s
structure and inter connectivity.
Following the rigors of SGML, TBL bore HTML to the world in 1990. Since then,
many of us have it to be easy to use but sometimes quite limiting. These limiting factors are
being addressed but the World Wide Web Consortium (aka W3c) at MIT. But HTML had to
start somewhere, and its success argues that it didn’t start out too badly.
Database:
A database is simply a collection of used data just like phone book. MySQL database
include such objects as tables, queries, forms, and more.
MySQL:
MySQL Server is a powerful database management system and the user can create
application that requires little or no programming. It supports GUI features and an entire
programming language, Phpmyadmin which can be used to develop richer and more
developed application. There are quite a few reasons, the first being that MySQL is a feature
rich program that can handle any database related task you have. You can create places to
store your data build tools that make it easy to read and modify your database contents, and
ask questions of your data. MySQL is a relational database, a database that stores information
about related objects. In MySQL that database means a collection of tables that hold data. It
collectively stores all the other related objects such as queries, forms and reports that are used
to implement function effectively.
The MySQL database can act as a back end database for PHP as a front end, MySQL
supports the user with its powerful database management functions. A beginner can create
his/her own database very simply by some mouse clicks. Another good reason to use MySQL
as backend tool is that it is a component of the overwhelmingly popular Open source
software.
6
Tables:
In MySQL tables are collection of similar data. With all tables can be organized
differently, and contain mostly different information- but they should all be in the same
database file. For instance we may have a database file called video store. Containing tables
named members, tapes, reservations and so on. These tables are stored in the same database
file because they are often used together to create reports to help to fill out on screen forms.
Relational database:
MySQL is a relational database. Relational databases tools like access can help us
manage information in three important ways.
Reduce redundancy
Facilitate the sharing of information
Keep data accurate.
Fields:
MySQL use key fields and indexing to help speed many database operations. We can
tell MySQL, which should be key fields, or MySQL can assign them automatically.
Queries are access objects us display, print and use our data. They can be things like
field labels that we drag around when designing reports. Or they can be pictures, or titles for
reports, or boxes containing the results of calculations.
7
CHAPTER-3
SYSTEM DESIGN
Design is the first step in the development phase for any engineered product or system.
The designer’s goal is to produce a model or representation of an entity that will later be built.
Design is the place where quality is fostered in software development. Design provides us
with representations of software that can assess for quality.
1. Registration module - The farmers enter their personal details in the given registration
form to create an account. It asks for farmer’s personal details such as, Name, Address,
Contact No, adhaar number, etc.
2. Admin Login -Administrator logs in by using his unique username and password with
the basic authentication process in order to maintain security. Farmer’s registration and
login details are maintained by the admin.
3. Insecticides details - This is maintained by the admin. Any new types of insecticides are
introduced in agriculture; the admin publishes its details. If the user wants to buy them the
admin allows them to purchase it.
4. Loan - Each and every farmer has the rights to apply for loan. The loan details are
viewed by farmer. Only the admin decides to either approve the loan or to decline it by
sending the message to the farmer.
5. Purchase and Sell - This helps the buyer (user) and seller (farmer). The farmer sells
agriculture products like rice and wheat through this website. The registered buyers are
allowed to buy them. If the order is confirmed, the admin sends the confirmation message
to the buyer.
8
6. Agricultural General Info - The farmers can search the new ideas and information
regarding agriculture. Information includes what kinds of seeds are available, which will
be the right time for sowing them, etc. The other most general information is also
available here.
Level 0:
Farmer’s
ADMIN farmer_DB
Web portal
provides service
9
Level 1:
username
ADMIN
Login
password
View user_DB
users
successful
login
View loan
loan_DB
apply
process
Logout
process
10
Level 2:
username
BUYER
Login
password
successful
login
View user_DB
product
process
buy product_DB
product
process
logout
process
11
Level 3:
username wrong
FARMER UNAUTHORIZED
Login USER
password password
successful
login
Registration register_DB
process
View
insecticides_DB
newinsectici
process
des
Applyloan loan_DB
process
Question to qus_DB
the admin
process
logout
process
12
3.3 ER Diagram
Entity Relationship (ER) diagram shows the relationship of entity sets stored in a
database. An entity in this context is a component of data. In other words, ER diagrams
illustrate the logical structure of database.
- Entity in a database could be a single person, place, or thing about which data
can be stored.
Mapping Cardinalities:
13
14
3.4 Use Case Diagram
Registration
Login
View Users
Admin
Insecticide Details
Loan
Farmer
Purchase and Sell
Agricultural
General Info
Buyer Logout
15
3.5 Input Design
Input design is the process of converting the user-oriented. Input to a computer based
format. The goal of the input design is to make the data entry easier, logical and free error.
Errors in the input data are controlled by the input design. The quality of the input determines
the quality of the system output.
The entire data entry screen is interactive in nature, so that the user can directly enter
into data according to the prompted messages. The users are also can directly enter into data
according to the prompted messages. The users are also provided with option of selecting an
appropriate input from a list of values. This will reduce the number of error, which are
otherwise likely to arise if they were to be entered by the user itself.
Input design is one of the most important phases of the system design. Input design is
the process where the input received in the system are planned and designed, so as to get
necessary information from the user, eliminating the information that is not required.
The aim of the input design is to ensure the maximum possible levels of accuracy and
also ensures that the input is accessible that understood by the user. The input design is the
part of overall system design, which requires very careful attention. If the data going into the
system is incorrect then the processing and output will magnify the errors.
Input design features can ensure the reliability of the system and produce result from
accurate data or they can result in the production of erroneous information.
16
Farmer page
17
3.6 Output Design
Output forms are also designed in a specific manner as per the user requirements.
Results are formatted to enhance clarity. Depending on the user web browser would generate
appropriate output. The output forms are designed in such a way that the entire user required
data is presented. It presents the data of the login with notifications.
The output form of the system is either by screen or by hard copies. Output design aims
at communicating the results of the processing of the users. The reports are generated to suit
the needs of the users .The reports have to be generated with appropriate levels.
In our project, outputs are generated by html pages. As its web application output is
designed in a very user-friendly this will be through screen most of the time.
Farmer/Buyer Details
18
3.7 Table Design
The database design involves creation of tables that are represented in physical
database as stored files. They have their own existence. Each table constitute of rows and
columns where each row can be viewed as record that consists of related information and
column can be viewed as field of data of same type. The table is also designed with some
position can have a null value. The database design of project is designed in such a way
values are kept without redundancy and with normalized format.
Register Table
Primary Key: id
Foreign Key: id
19
Payment Table
Foreign Key: id
Insecticides Table
Foreign Key: id
20
CHAPTER-4
TESTING
Testing is a process of executing a program with the intent of finding an error. A good
test case is one that has a probability of finding an as yet undiscovered error. A successful test
is one that uncovers an undiscovered error.
System testing is the state of implementation, which is aimed at ensuring that the
system works accurately and efficiently as expect before live operation, commences. It
certifies that the whole set of programs hang together System testing requires a test plan that
consists of several key activities and steps for run program, string, system and user
acceptance testing. The implementation of newly design package is important in adopting a
successful new system
Testing phase is the development phase that validates the code against the functional
specifications. Testing is a vital to the achievement of the system goals. The objective of
testing is to discover errors. To fulfil this objective a series of test step such as the unit test,
integration test, validation and system test where planned and executed.
Testing Objective
All tests should be traceable to end user requirements.
Tests should be planned long before testing begins.
Testing should begin on a small scale and progress towards testing in large.
Exhaustive testing is not possible.
To be most effective testing should be conducted by a independent third party.
21
4.1 Unit Testing
Here each program is tested individually so any error apply unit is debugged. The
sample data are given for the unit testing. The unit test results are recorded for further
references. During unit testing the functions of the program unit validation and the limitations
are tested.
Unit testing is testing changes made in an existing or new program that is carried out
during the programming and each module is found to be working satisfactorily. For example
in the registration form after entering all the fields we click the submit button. When submit
button is clicked, all the data in form are validated.
Only after validation entries will be added to the database. Unit testing comprises the
set of tests performed by an individual prior to integration of the unit into large system. Unit
testing focuses verification effort on the smallest unit of software design that is the module.
Using procedural design description as a guide, important control paths are tested to
uncover errors within the boundaries of the module. The unit test is normally white box
testing oriented and the step can be conducted in parallel for multiple modules.
22
4.2 Acceptance Testing
Acceptance testing involves planning an execution of a functional test, performance test
and stress test to verify that the implemented system satisfies the requirement.The acceptance
testing is the final stage of the user the various possibilities of the data are entered and the
results are tested.
23
4.3 Validation Testing
24
4.4 Test cases
25
CHAPTER-5
CONCLUSION
5.1 Conclusion
Thus, this project serves as a best example for farming. People can get the best products
directly from the farmers, which is healthy and also cost efficient. Buyers can get bulk
products in an efficient way. Those who are new to farming can get help and know more
about it and make use of those techniques. This project serves as a bridge between farmers
and buyers. Registration is helpful to maintain the details of everyone which is monitored by
the admin.
There are only two crops in this project. More variety of crops may be added in future.
Usage of loans needs bank facilities and account settings for the farmer which they must
know. Therefore dealing of many banks can be updated in future. The manure and fertilizers
may be added according to farmers needs. Communication between farmer and buyer can be
enhanced. Admin notifies about new insecticides, and offers on them which can be received
in mail or text message in future. Buyers can buy crops in large quantities and may use them
fresh each and every time. There may be new addition for crop health issues which could be
solved by plant experts and enhance farming methodologies.
26
CHAPTER-6
APPENDICES
6.2Books Referred
PHP Reference: Beginner to Intermediate PHP5 –Author: Mario Lurig
Learning PHP, MySQL, and JavaScript: A Step-by-Step Guide to Creating Dynamic
Websites-Author:Robin Nixon
Beginning PHP and MySQL: From Novice To Professional Author-W. Jason Gilmore
Head First PHP & MySQL Author- Lynn Beighley and Michael Morrison
PHP Solutions: Dynamic Web Design Made Easy Author-David Powers
27
CHAPTER-7
HOME PAGE:
<html lang="en">
<head>
<title>homepage</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="bootstrap-4.1.1-dist/css/bootstrap.min.css">
</head>
<body>
<div class="container" style="background-color:white;">
<div class="row" style="background-color:blue;color:white;">
<div class="col-md-6">
<h4><b>Phone</b>(0) 422 2642095, 2642236</h4>
</div>
<div class="col-md-4">
<h4><b>Mail</b>info[@]srikrishnacollege.ac.in</h4>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-2">
<img src="images/logo.jpg" height="100">
</div>
<div class="col-md-8">
<h4 style="color:blue;">SRI KRISHNA ARTS AND SCIENCE COLLEGE
(AUTONOMOUS)</h4>
28
<h5 style="color:blue;">Institution Affiliated to Bharathiar University</h5>
<h5 style="color:blue;">Sugunapuram, Coimbatore - 641 008., Tamil Nadu,
INDIA</h5>
</div>
</div>
</div>
<div class="container">
<div class="row" style="background-color:blue;">
<div class="col-md-2">
<a href="index.php" class="btn btn-success" style="color:white;">Home</a>
</div>
<div class="col-md-2">
<a href="about.php" class="btn" style="color:white;">About</a>
</div>
<div class="col-md-2">
<a href="companylog.php" class="btn" style="color:white;">Company Log</a>
</div>
<div class="col-md-2">
<a href="studentlog.php" class="btn" style="color:white;">Students Log</a>
</div>
<div class="col-md-2">
<a href="adminlog.php" class="btn"style="color:white;">Admin Log</a>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-12" >
<img src="images/3.jpg" height="400" class="slide" width="1100">
<img src="images/4.jpg" height="400" class="slide" width="1100">
<img src="images/2.jpg" height="400" class="slide" width="1100">
<img src="images/1.jpg" height="400" class="slide" width="1100">
</div>
</div>
29
</div>
<div class="container" style="background-color:blue;">
<h4 style="color:white;text-align:center;">Copyrights@2018-2019</h4>
</div>
</body>
<script>
var imgindex=0;
slideee();
function slideee()
{
var i;
var x=document.getElementsByClassName("slide");
for(i=0;i<x.length;i++)
{
x[i].style.display="none";
}
imgindex++;
if(imgindex > x.length)
{
imgindex=1;
}
x[imgindex-1].style.display="block";
setTimeout(slideee,3000);
}
</script>
<script type="text/javascript" src="bootstrap-4.1.1-dist/js/bootstrap.bundle.min.js"></script>
<script type="text/javascript" src="bootstrap-4.1.1-dist/js/bootstrap.min.js"></script>
</body>
</html>
LOAN PAGE:
<?php
session_start();
30
mysql_connect("localhost","root","");
mysql_select_db("farmeronline");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Loan Apply</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="bootstrap-4.1.1-dist/css/bootstrap.min.css"/>
<script type="text/javascript" src="bootstrap-4.1.1-dist/js/bootstrap.bundle.min.js"></script>
<script type="text/javascript" src="bootstrap-4.1.1-dist/js/bootstrap.min.js"></script>
<style>
body{
margin:0px;
padding:0px;
background-image:url(img/containerbg.jpg);
}
</style>
</head>
<body>
<div class="container-fluid" style="background-color:green;height:40px;">
</div>
<div class="container">
<img src="img/headerbg.jpg" >
<h1 style="margin-top:0px;color:green;">FARMING ASSISTANT USING WEB
SERVICES</h1>
</div>
<div class="container">
<div class="row">
<div class="col-md-3" >
<a href="loan.php" class="btn btn-block btn-success" style="background-
color:white;color:black;">Loan</a>
</div>
31
<div class="col-md-3" >
<a href="insecticides.php" class="btn btn-block btn-success" style="background-color:white;
color:black;">Insecticides</a>
</div>
<div class="col-md-3" >
<a href="formersguide.php" class="btn btn-block btn-success" style="background-
color:white; color:black;">Formersguide</a>
</div>
<div class="col-md-3" >
<a href="index.php" class="btn btn-block btn-success" style="background-color:white;
color:black;">Logout</a>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-md-12" >
<img src="img/middletop.jpg" width="350" height="400" style="margin-top:60px;">
<div class="registr" style="margin-top:-380px;">
<form method="post">
<h3>Loan Register Here</h3>
<div class="row">
<div class="col-md-3">
<input type="text" name="name" required="" value="<?php echo $_SESSION['name']?>"
class="form-control" placeholder="Name" style="margin-left:20px;">
</div>
</div>
<div class="row">
<div class="col-md-3">
<input type="text" name="addrs" required="" value="" class="form-control"
placeholder="Address" style="margin-left:20px;">
</div>
</div>
<div class="row">
32
<div class="col-md-3">
<input type="text" name="phnnum" required="" value="<?php echo
$_SESSION['phnnum']?>" pattern="[789][0-9]{9}" class="form-control"
placeholder="Phone number" style="margin-left:20px;">
</div>
</div>
<div class="row">
<div class="col-md-3">
<input type="text" name="adhrnum" required="" value="<?php echo
$_SESSION['adhrnum']?>" class="form-control" placeholder="adhar number"
style="margin-left:20px;">
</div>
</div>
<div class="row">
<div class="col-md-3">
<input type="text" name="amt" required="" class="form-control" placeholder="Amount"
style="margin-left:20px;">
</div>
</div>
<div class="row">
<div class="col-md-3">
<input type="submit" name="sub" class="form-control btn-success" style="margin-
left:20px;">
</div>
</div>
</form>
</div>
<?php
if(isset($_POST["sub"]))
{
$name=$_POST["name"];
$addrs=$_POST["addrs"];
$phnnum=$_POST["phnnum"];
$adhrnum=$_POST["adhrnum"];
33
$amt=$_POST["amt"];
$ins=mysql_query("insert into
loan(name,addrs,phnnum,adhrnum,amt)values('$name','$addrs','$phnnum','$adhrnum','$amt')
");
if($ins)
{
echo'<script>alert("loan register successfully if the loan is accepted the mesaage will
send you <br>thankyou!!!");</script>';
}
else{
echo'<script>alert("loan register failed");</script>';
}
}
?>
<img src="img/scrollbglarge.png" height="800" width="900" style="margin-
left:360px;margin-top:-280px;">
<div class="container" style="width:60%;margin-left:400px;">
<p style="font-size:20px;text-align:justify;margin-top:-750px;"><b><u>LOAN
INSTRACTIONS</u></b><br><br>Loan Under Mechanized farming
TRACTOR Implements
For timely field operation of the farmers of these Islands, the department provide assistance
to the farmers for purchase of tractor with three matching implements by their-own by
availing subsidies from the department.
<br>
<u>Loan</u>
<br> Individual farmers/Co-operative Societies are eligible for bank loans towards the cost of
tractor with three matching implements including one trailer.
<br> 15% of the cost to be contributed by the farmer as down payment
Subsidy
<br>
30% cost subsidy or Rs. 30,000/- whichever is less
<br> 100% transport subsidy is provided by the department.
Eligibility
34
<br> The Progressive Farmer/Cooperative Societies should possess 6Acre/2.51 hectare of
land in his ownership.
The land in question to take Loan cum subsidy on tractor should be free from all
incumbance and have clear title of ownership with detailed survey particulars.
How to apply
<br> The application forms are available with concerned Zonal Officers or Incharge of sub-
depot
<br> The concerned farmer should fill-up the application form alongwith all records of the
land.
<br> The application is to be submitted to the concerned Zonal Officer or Incharge of the
sub-depot.
<br> In normal case, the scheme is sanctioned within 45 days.
Further details can be had from the zonal officers of concerned zones. </p>
</div>
</div>
</div>
</div>
<div class="container-fluid" style="background-color:green;height:40px;">
<h4 style="text-align:center;color:white;">Copy Rights@ 2019</h4>
</div>
<script type="text/javascript" src="bootstrap-4.1.1-dist/js/bootstrap.bundle.min.js"></script>
<script type="text/javascript" src="bootstrap-4.1.1-dist/js/bootstrap.min.js"></script>
</body>
</html>
PAY PAGE:
<!DOCTYPE html>
<html lang="en">
<head>
<title></title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="bootstrap-4.1.1-dist/css/bootstrap.min.css"/>
35
<script type="text/javascript" src="bootstrap-4.1.1-dist/js/bootstrap.bundle.min.js"></script>
<script type="text/javascript" src="bootstrap-4.1.1-dist/js/bootstrap.min.js"></script>
<style>
body{
margin:0px;
padding:0px;
background-image:url(img/containerbg.jpg);
}
</style>
</head>
<body>
<div class="container-fluid" style="background-color:green;height:40px;">
</div>
<div class="container">
<img src="img/headerbg.jpg" >
<h1 style="margin-top:0px;color:green;">FARMING ASSISTANT USING WEB
SERVICES</h1>
</div>
<div class="container">
<div class="row">
<div class="col-md-3" >
<a href="insecticides" class="btn btn-block btn-success" style="background-
color:white;color:black;">insecticides</a>
</div>
<div class="col-md-3" >
<a href="loan.php" class="btn btn-block btn-success" style="background-color:white;
color:black;">loan </a>
</div>
<div class="col-md-3" >
<a href="formersguide.php" class="btn btn-block btn-success" style="background-
color:white; color:black;">formersguide</a>
</div>
<div class="col-md-3" >
<a href="logout" class="btn btn-block btn-success" style="background-color:white;
36
color:black;">logout</a>
</div>
</div>
</div>
<div class="container" style="margin-left:5px;">
<div class="row">
<div class="col-md-12" >
<table class="table table-striped" style="margin-top:100px;margin-left:60px;">
</tr>
<?php
mysql_connect("localhost","root","");
mysql_select_db("farmeronline");
$view=mysql_query("select * from insecticides where id='$_GET[id]'");
while($row=mysql_fetch_array($view))
{
?>
<form method="post">
<tr><td><b>PRODUCT NAME:</b><input type="text" name="name"
value="<?php echo $row['name'] ?>"style="border:none;margin-left:10px;"></td></tr>
<br>
<tr><td><b>PRODUCT PRICE:</b><input type="text" name="rate" value="<?php
echo $row['rate'] ?>" style="border:none;margin-left:10px;"></td></tr>
<tr><td><b>PRODUCT Description:</b><textarea style="border:none;margin-
left:10px;"><?php echo $row['descr'] ?></textarea></td></tr>
<tr><td><b>PRODUCT Offer:</b><input type="text" name="offer" value="<?php
echo $row['offer'] ?>" style="border:none;margin-left:10px;"></td></tr>
<tr><td><input type="text" name="quantity" placeholder="Quantity" class="form-
control" required=""></td></tr>
<tr><td><input type="text" pattern="[0-9]{16}" name="accnum" pattern="[0-
9]{16}" placeholder="Account Number" class="form-control" required=""></td></tr>
<tr><td><input type="text" pattern="[789][0-9]{9}" name="phonenum"
pattern="[789][0-9]{9}" placeholder="Phonenumber" class="form-control"
required=""></td></tr>
<tr><td><input type="text" name="bank" placeholder="Bank Name" class="form-
37
control" required=""></td></tr>
<tr><td><input type="date" name="date" placeholder="Date" class="form-control"
required=""></td></tr>
<tr><td><textarea name="addr" placeholder="Address" class="form-control"
required=""></textarea>
<tr><td><input type="submit" name="sub"></td></tr>
</form>
<?php } ?>
</table>
<?php
if(isset($_POST['sub']))
{
$name=$_POST['name'];
$rate=$_POST['rate'];
$descr=$_POST['descr'];
$offer=$_POST['offer'];
$quantity=$_POST['quantity'];
$totalprice=$quantity*$rate;
$accnum=$_POST['accnum'];
$phonenum=$_POST['phonenum'];
$bank=$_POST['bank'];
$datee=$_POST['date'];
$address=$_POST['addr'];
$datee=$_POST['date'];
$dateee=date('d-m-y', strtotime($datee. ' + 5 days'));
echo $totalprice;
$message="conformation Message
Your $name booked and you get at $address The date $dateee time (mor to evening)
Thank you for booking any query please Call 122354534";
echo"<meta http-equiv='refresh'
content='0;url=http://websms.jananatech.com/pushsms.php?username=techmindz&password
=ZAsGQL&sender=TECHMZ&message=$message&numbers=$phonenum'/>";
$ins=mysql_query("insert into
pay(name,rate,descr,offer,quantity,totalprice,accnum,phonenum,bank,addr,datee)values('$na
38
me','$rate','$descr','$offer','$quantity','$totalprice','$accnum','$phonenum','$bank','$address','$
datee')");
echo "<script>alert('Thank you for placing your order the product delivery in 7
days')</script>";
}
?>
</div>
</div>
</div>
<div class="container-fluid" style="background-color:green;height:40px;">
<h4 style="text-align:center;color:white;">Copy Rights@ 2019</h4>
</div>
<script type="text/javascript" src="bootstrap-4.1.1-dist/js/bootstrap.bundle.min.js"></script>
<script type="text/javascript" src="bootstrap-4.1.1-dist/js/bootstrap.min.js"></script>
</body>
</html>
39
7.2Screenshots
Home Page
About
40
Farmer Login
Admin Login
41
Add Product
Buyer page
42
Farmer/Buyer Details
43
Insecticides page
Buyer Login
44
Farmer Home Page
Buy Insecticides
45
Loan Apply
46
CHAPTER-8
PLAGARISM REPORT
47