Skip to content
Online resource for ongoing NRIC-NPR-CAA protests in India.
PHP JavaScript HTML CSS Smarty TSQL
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
images
includes
install
js
plugins
.gitignore
.htaccess
README.md
calendar.php
captcha.php
config-init.php
dash.php
footer.php
header.php
index.php
join.php
json.php
lang.php
mumbai.php
petition.php
section.php
single.php
sos.php
user.php

README.md

Code architecture

  1. index.php - home page.
  2. json.php - handles all form data submission and output.
  3. lang.php - front end display and backend data entry for language options.
  4. section.php - sections are everything below this point (users, calendar, sos, content).
  5. user.php - user roles to make changes within the users' section.
  6. calendar.php - submission and display of protests.
  7. sos.php - professionals who wish to provide their services for the movement register here, and protesters in distress can contact them by providing their mobile number and verifying thru OTP.
  8. single.php - content display and backend data entry (wysiwyg) for static content with multi-lingual support.
  9. petition.php - single page, independent of the rest of the website.

Database architecture

  1. main tables
  • section - list of sections.
  • user - users information for user.php, petition.php and sos.php.
  • lang - content displayed on lang.php, calendar.php and single.php, with multi-lingual support.
  1. support tables
  • states - list of districts and states in india.
  • captcha - words for captcha.

Content architecture

  1. Petition (petition.php)
  2. Protest calendar (calendar.php)
  3. Need help
  • Lawyer (sos.php)
  • Doctor (sos.php)
  • Psychologist (sos.php)
  1. Support the movement
  • Register as a doctor/lawyer/psychologist (sos.php)
  • Organise a protest (calendar.php)
  • Send content (single.php)
  • Translate content (single.php)
  1. Reading material
  • Prepare for protest (single.php)
  • Legal perspective (single.php)
  • Explainers (single.php)
  • Timelines (single.php)
  • Satire (single.php)
  • Propaganda archive (single.php)

Supporting code

  1. Custom functions in config-init.php.
  2. Dependent custom coded classes in includes folder.
  3. Other dependencies in plugins folder.

Tech stack

  1. PHP
  2. MySQL
  3. JavaScript

Data handling

  1. All data is collected with user being given info on how it will be used.
  2. Option to opt out included in all communication.
  3. No use of cookies.
  4. We don't use javascript code from third party softwares like Google Analytics, Facebook Integration etc. Their javascript might still play in embeded content from third parties like YouTube, Twitter, Instagram etc. We cannot stop such analytics, as it is between the user and the third party. Concerned users can use Mozilla Firefox (with appropriate settings) as their primary browser to minimise such online tracking.

For any questions write to stopnrc@protonmail.com

हम देखेंगे

You can’t perform that action at this time.