How meshydra/agriculture-machinery-rental-website works
AgZone is a PHP agriculture marketplace for farmers and shops. Users register or log in, then browse crops, submit crop purchase or sale requests, and access machinery listings; the README also describes machinery sales and rentals, messaging, and farmer loans. The sampled crop forms and handlers show purchase/sale submission, while authentication and contact pages show membership lookups. Messaging and loan processing are documented or suggested by page options, but their implementation and wiring are not visible in the sampled source.
Main entry points: dbconnection.php Membership records · index.php Marketplace home · fertilizers.php Browse crops · login.php Authenticate
Components 18
Accounts and contact
- Register account
registration.php - Authenticate
login.php - Marketplace home
index.php - Contact and loan request
contactUs.php - Process contact
pcontactus.php - Membership records
dbconnection.php
Crop marketplace
- Browse crops
fertilizers.php - Crop selection UI
fertilizer.js - Submit crop purchase
ppurchase.php - Submit crop sale
psales.php - Crop order records
dbconnection.php
Machinery marketplace
- Browse machinery
rent_machine.php - Submit product post
ppost.php - Marketplace posts
dbconnection.php
Farmer support
- Cultivation guidance
cultivation.php - Messaging pages
message.html - Message form page
messag2.html
Other components
- Farmers and shops
Connections 25
- Farmers and shops → Register account: register
- Farmers and shops → Authenticate: sign in
- Register account → Membership records: writes account
- Authenticate → Membership records: checks credentials
- Authenticate → Marketplace home: opens session
- Farmers and shops → Marketplace home: browse
- Marketplace home → Browse crops: opens crops
- Farmers and shops → Crop selection UI: select crop
- Crop selection UI → Browse crops: updates display
- Browse crops → Submit crop purchase: posts purchase
- Browse crops → Submit crop sale: posts sale
- Submit crop purchase → Membership records: reads buyer
- Submit crop purchase → Crop order records: writes purchase
- Submit crop sale → Membership records: reads seller
- Submit crop sale → Crop order records: writes sale
- Marketplace home → Browse machinery: opens machinery
- Farmers and shops → Submit product post: submits post
- Submit product post → Membership records: reads owner
- Submit product post → Marketplace posts: writes listing
- Farmers and shops → Contact and loan request: send inquiry
- Contact and loan request → Membership records: reads profile
- Contact and loan request → Process contact: submits form
- Farmers and shops → Cultivation guidance: read guidance
- Farmers and shops → Messaging pages: communicate
- Farmers and shops → Message form page: send message