├── .editorconfig
├── .gitignore
├── .htaccess
├── application
├── .htaccess
├── cache
│ └── index.html
├── config
│ ├── autoload.php
│ ├── config.php
│ ├── constants.php
│ ├── database.php
│ ├── doctypes.php
│ ├── foreign_chars.php
│ ├── hooks.php
│ ├── index.html
│ ├── memcached.php
│ ├── migration.php
│ ├── mimes.php
│ ├── profiler.php
│ ├── routes.php
│ ├── smileys.php
│ └── user_agents.php
├── controllers
│ ├── Admin.php
│ ├── Complaint.php
│ ├── Login.php
│ ├── Site.php
│ ├── Upload.php
│ ├── Validate.php
│ ├── Worker.php
│ ├── index.html
│ ├── reports.php
│ └── validation.php
├── core
│ └── index.html
├── helpers
│ └── index.html
├── hooks
│ └── index.html
├── index.html
├── language
│ ├── english
│ │ └── index.html
│ └── index.html
├── libraries
│ └── index.html
├── logs
│ └── index.html
├── models
│ ├── MailModel.php
│ ├── complaintmodel.php
│ ├── index.html
│ ├── loginModel.php
│ ├── user.php
│ └── workermodel.php
├── third_party
│ └── index.html
└── views
│ ├── admin
│ ├── add-worker.php
│ ├── addcategory.php
│ ├── adminhome.php
│ ├── category.php
│ ├── login.php
│ ├── print.php
│ ├── reports.php
│ ├── worker.php
│ └── workerjs.php
│ ├── errors
│ ├── cli
│ │ ├── error_404.php
│ │ ├── error_db.php
│ │ ├── error_exception.php
│ │ ├── error_general.php
│ │ ├── error_php.php
│ │ └── index.html
│ ├── html
│ │ ├── error_404.php
│ │ ├── error_db.php
│ │ ├── error_exception.php
│ │ ├── error_general.php
│ │ ├── error_php.php
│ │ └── index.html
│ └── index.html
│ ├── public
│ ├── complaintregister.php
│ ├── complaints.php
│ ├── complaintsuccess.php
│ ├── feedback.php
│ ├── footer.php
│ ├── header.php
│ ├── home.php
│ ├── login.php
│ ├── register.php
│ ├── trackcomplaint.php
│ ├── userprofile.php
│ └── validations.php
│ └── worker
│ └── home.php
├── assets
├── css
│ ├── bootstrap-select.min.css
│ ├── bootstrap-theme.css
│ ├── bootstrap-theme.css.map
│ ├── bootstrap-theme.min.css
│ ├── bootstrap-theme.min.css.map
│ ├── bootstrap.css
│ ├── bootstrap.css.map
│ ├── bootstrap.min.css
│ ├── bootstrap.min.css.map
│ ├── css-style.css
│ ├── datatables.min.css
│ └── emoji.css
├── extra
│ └── chart.html
├── fonts
│ ├── glyphicons-halflings-regular.eot
│ ├── glyphicons-halflings-regular.svg
│ ├── glyphicons-halflings-regular.ttf
│ ├── glyphicons-halflings-regular.woff
│ └── glyphicons-halflings-regular.woff2
├── images
│ ├── 171px-Gujarat_Vidyapith_(emblem).png
│ ├── background.jpg
│ ├── carpenter.png
│ ├── civil.png
│ ├── drainage-repairs.jpg
│ ├── drainage.png
│ ├── dranage.png
│ ├── electrician.png
│ ├── favicon.ico
│ ├── happy_ampvnc.svg
│ ├── header-bg - Copy.jpg
│ ├── header-bg.jpg
│ ├── images.png
│ ├── neutral_t3q8hz.svg
│ ├── plumb.jpg
│ ├── plumbing.jpg
│ ├── plumbing.png
│ ├── sad_bj1tuj.svg
│ └── uploads
│ │ ├── profile.png
│ │ ├── profile101.jpg
│ │ ├── profile1011.jpg
│ │ ├── profile1012.jpg
│ │ ├── profile102.jpg
│ │ ├── profile103.jpg
│ │ ├── profile104.jpg
│ │ ├── profile105.jpg
│ │ ├── profile1051.jpg
│ │ ├── profile1052.jpg
│ │ ├── profile1053.jpg
│ │ ├── profilefdgfdg.jpg
│ │ ├── profilefdsd.jpg
│ │ ├── profilegfdgfd.jpg
│ │ └── profilegfdgfd1.jpg
└── js
│ ├── bootstrap-select.min.js
│ ├── bootstrap.js
│ ├── bootstrap.min.js
│ ├── chart.js
│ ├── datatables.min.js
│ ├── jjspdf.min.js
│ ├── jquery-2.2.0.min.js
│ ├── jspdf.debug.js
│ ├── jspdf.min.js
│ ├── jspdf.plugin.autotable.js
│ ├── npm.js
│ └── validation.js
├── composer.json
├── contributing.md
├── database
└── complaint.sql
├── index.php
├── license.txt
├── readme.rst
└── system
├── .htaccess
├── core
├── Benchmark.php
├── CodeIgniter.php
├── Common.php
├── Config.php
├── Controller.php
├── Exceptions.php
├── Hooks.php
├── Input.php
├── Lang.php
├── Loader.php
├── Log.php
├── Model.php
├── Output.php
├── Router.php
├── Security.php
├── URI.php
├── Utf8.php
├── compat
│ ├── hash.php
│ ├── index.html
│ ├── mbstring.php
│ ├── password.php
│ └── standard.php
└── index.html
├── database
├── DB.php
├── DB_cache.php
├── DB_driver.php
├── DB_forge.php
├── DB_query_builder.php
├── DB_result.php
├── DB_utility.php
├── drivers
│ ├── cubrid
│ │ ├── cubrid_driver.php
│ │ ├── cubrid_forge.php
│ │ ├── cubrid_result.php
│ │ ├── cubrid_utility.php
│ │ └── index.html
│ ├── ibase
│ │ ├── ibase_driver.php
│ │ ├── ibase_forge.php
│ │ ├── ibase_result.php
│ │ ├── ibase_utility.php
│ │ └── index.html
│ ├── index.html
│ ├── mssql
│ │ ├── index.html
│ │ ├── mssql_driver.php
│ │ ├── mssql_forge.php
│ │ ├── mssql_result.php
│ │ └── mssql_utility.php
│ ├── mysql
│ │ ├── index.html
│ │ ├── mysql_driver.php
│ │ ├── mysql_forge.php
│ │ ├── mysql_result.php
│ │ └── mysql_utility.php
│ ├── mysqli
│ │ ├── index.html
│ │ ├── mysqli_driver.php
│ │ ├── mysqli_forge.php
│ │ ├── mysqli_result.php
│ │ └── mysqli_utility.php
│ ├── oci8
│ │ ├── index.html
│ │ ├── oci8_driver.php
│ │ ├── oci8_forge.php
│ │ ├── oci8_result.php
│ │ └── oci8_utility.php
│ ├── odbc
│ │ ├── index.html
│ │ ├── odbc_driver.php
│ │ ├── odbc_forge.php
│ │ ├── odbc_result.php
│ │ └── odbc_utility.php
│ ├── pdo
│ │ ├── index.html
│ │ ├── pdo_driver.php
│ │ ├── pdo_forge.php
│ │ ├── pdo_result.php
│ │ ├── pdo_utility.php
│ │ └── subdrivers
│ │ │ ├── index.html
│ │ │ ├── pdo_4d_driver.php
│ │ │ ├── pdo_4d_forge.php
│ │ │ ├── pdo_cubrid_driver.php
│ │ │ ├── pdo_cubrid_forge.php
│ │ │ ├── pdo_dblib_driver.php
│ │ │ ├── pdo_dblib_forge.php
│ │ │ ├── pdo_firebird_driver.php
│ │ │ ├── pdo_firebird_forge.php
│ │ │ ├── pdo_ibm_driver.php
│ │ │ ├── pdo_ibm_forge.php
│ │ │ ├── pdo_informix_driver.php
│ │ │ ├── pdo_informix_forge.php
│ │ │ ├── pdo_mysql_driver.php
│ │ │ ├── pdo_mysql_forge.php
│ │ │ ├── pdo_oci_driver.php
│ │ │ ├── pdo_oci_forge.php
│ │ │ ├── pdo_odbc_driver.php
│ │ │ ├── pdo_odbc_forge.php
│ │ │ ├── pdo_pgsql_driver.php
│ │ │ ├── pdo_pgsql_forge.php
│ │ │ ├── pdo_sqlite_driver.php
│ │ │ ├── pdo_sqlite_forge.php
│ │ │ ├── pdo_sqlsrv_driver.php
│ │ │ └── pdo_sqlsrv_forge.php
│ ├── postgre
│ │ ├── index.html
│ │ ├── postgre_driver.php
│ │ ├── postgre_forge.php
│ │ ├── postgre_result.php
│ │ └── postgre_utility.php
│ ├── sqlite
│ │ ├── index.html
│ │ ├── sqlite_driver.php
│ │ ├── sqlite_forge.php
│ │ ├── sqlite_result.php
│ │ └── sqlite_utility.php
│ ├── sqlite3
│ │ ├── index.html
│ │ ├── sqlite3_driver.php
│ │ ├── sqlite3_forge.php
│ │ ├── sqlite3_result.php
│ │ └── sqlite3_utility.php
│ └── sqlsrv
│ │ ├── index.html
│ │ ├── sqlsrv_driver.php
│ │ ├── sqlsrv_forge.php
│ │ ├── sqlsrv_result.php
│ │ └── sqlsrv_utility.php
└── index.html
├── fonts
├── index.html
└── texb.ttf
├── helpers
├── array_helper.php
├── captcha_helper.php
├── cookie_helper.php
├── date_helper.php
├── directory_helper.php
├── download_helper.php
├── email_helper.php
├── file_helper.php
├── form_helper.php
├── html_helper.php
├── index.html
├── inflector_helper.php
├── language_helper.php
├── number_helper.php
├── path_helper.php
├── security_helper.php
├── smiley_helper.php
├── string_helper.php
├── text_helper.php
├── typography_helper.php
├── url_helper.php
└── xml_helper.php
├── index.html
├── language
├── english
│ ├── calendar_lang.php
│ ├── date_lang.php
│ ├── db_lang.php
│ ├── email_lang.php
│ ├── form_validation_lang.php
│ ├── ftp_lang.php
│ ├── imglib_lang.php
│ ├── index.html
│ ├── migration_lang.php
│ ├── number_lang.php
│ ├── pagination_lang.php
│ ├── profiler_lang.php
│ ├── unit_test_lang.php
│ └── upload_lang.php
└── index.html
└── libraries
├── Cache
├── Cache.php
├── drivers
│ ├── Cache_apc.php
│ ├── Cache_dummy.php
│ ├── Cache_file.php
│ ├── Cache_memcached.php
│ ├── Cache_redis.php
│ ├── Cache_wincache.php
│ └── index.html
└── index.html
├── Calendar.php
├── Cart.php
├── Driver.php
├── Email.php
├── Encrypt.php
├── Encryption.php
├── Form_validation.php
├── Ftp.php
├── Image_lib.php
├── Javascript.php
├── Javascript
├── Jquery.php
└── index.html
├── Migration.php
├── Pagination.php
├── Parser.php
├── Profiler.php
├── Session
├── Session.php
├── SessionHandlerInterface.php
├── Session_driver.php
├── drivers
│ ├── Session_database_driver.php
│ ├── Session_files_driver.php
│ ├── Session_memcached_driver.php
│ ├── Session_redis_driver.php
│ └── index.html
└── index.html
├── Table.php
├── Trackback.php
├── Typography.php
├── Unit_test.php
├── Upload.php
├── User_agent.php
├── Xmlrpc.php
├── Xmlrpcs.php
├── Zip.php
└── index.html
/.editorconfig:
--------------------------------------------------------------------------------
1 | # top-most EditorConfig file
2 | root = true
3 |
4 | # Unix-style newlines with a newline ending every file
5 | [*]
6 | end_of_line = lf
7 | insert_final_newline = true
8 |
9 | # Matches multiple files with brace expansion notation
10 | # Set default charset
11 | [*]
12 | charset = utf-8
13 |
14 | # Tab indentation (no size specified)
15 | indent_style = tab
16 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | */config/development
2 | */logs/log-*.php
3 | !*/logs/index.html
4 | */cache/*
5 | !*/cache/index.html
6 | !*/cache/.htaccess
7 |
8 | user_guide_src/build/*
9 | user_guide_src/cilexer/build/*
10 | user_guide_src/cilexer/dist/*
11 | user_guide_src/cilexer/pycilexer.egg-info/*
12 |
13 | #codeigniter 3
14 | application/logs/*
15 | !application/logs/index.html
16 | !application/logs/.htaccess
17 | /vendor/
18 |
--------------------------------------------------------------------------------
/.htaccess:
--------------------------------------------------------------------------------
1 | RewriteEngine On
2 | RewriteBase /complaint
3 | RewriteCond %{REQUEST_FILENAME} !-d
4 | RewriteCond %{REQUEST_FILENAME} !-f
5 | RewriteRule ^(.*)$ index.php/$1 [PT,L]
6 |
--------------------------------------------------------------------------------
/application/.htaccess:
--------------------------------------------------------------------------------
1 |
Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/config/doctypes.php: -------------------------------------------------------------------------------- 1 | '', 6 | 'xhtml1-strict' => '', 7 | 'xhtml1-trans' => '', 8 | 'xhtml1-frame' => '', 9 | 'xhtml-basic11' => '', 10 | 'html5' => '', 11 | 'html4-strict' => '', 12 | 'html4-trans' => '', 13 | 'html4-frame' => '', 14 | 'mathml1' => '', 15 | 'mathml2' => '', 16 | 'svg10' => '', 17 | 'svg11' => '', 18 | 'svg11-basic' => '', 19 | 'svg11-tiny' => '', 20 | 'xhtml-math-svg-xh' => '', 21 | 'xhtml-math-svg-sh' => '', 22 | 'xhtml-rdfa-1' => '', 23 | 'xhtml-rdfa-2' => '' 24 | ); 25 | -------------------------------------------------------------------------------- /application/config/foreign_chars.php: -------------------------------------------------------------------------------- 1 | 'ae', 14 | '/ö|œ/' => 'oe', 15 | '/ü/' => 'ue', 16 | '/Ä/' => 'Ae', 17 | '/Ü/' => 'Ue', 18 | '/Ö/' => 'Oe', 19 | '/À|Á|Â|Ã|Ä|Å|Ǻ|Ā|Ă|Ą|Ǎ|Α|Ά|Ả|Ạ|Ầ|Ẫ|Ẩ|Ậ|Ằ|Ắ|Ẵ|Ẳ|Ặ|А/' => 'A', 20 | '/à|á|â|ã|å|ǻ|ā|ă|ą|ǎ|ª|α|ά|ả|ạ|ầ|ấ|ẫ|ẩ|ậ|ằ|ắ|ẵ|ẳ|ặ|а/' => 'a', 21 | '/Б/' => 'B', 22 | '/б/' => 'b', 23 | '/Ç|Ć|Ĉ|Ċ|Č/' => 'C', 24 | '/ç|ć|ĉ|ċ|č/' => 'c', 25 | '/Д/' => 'D', 26 | '/д/' => 'd', 27 | '/Ð|Ď|Đ|Δ/' => 'Dj', 28 | '/ð|ď|đ|δ/' => 'dj', 29 | '/È|É|Ê|Ë|Ē|Ĕ|Ė|Ę|Ě|Ε|Έ|Ẽ|Ẻ|Ẹ|Ề|Ế|Ễ|Ể|Ệ|Е|Э/' => 'E', 30 | '/è|é|ê|ë|ē|ĕ|ė|ę|ě|έ|ε|ẽ|ẻ|ẹ|ề|ế|ễ|ể|ệ|е|э/' => 'e', 31 | '/Ф/' => 'F', 32 | '/ф/' => 'f', 33 | '/Ĝ|Ğ|Ġ|Ģ|Γ|Г|Ґ/' => 'G', 34 | '/ĝ|ğ|ġ|ģ|γ|г|ґ/' => 'g', 35 | '/Ĥ|Ħ/' => 'H', 36 | '/ĥ|ħ/' => 'h', 37 | '/Ì|Í|Î|Ï|Ĩ|Ī|Ĭ|Ǐ|Į|İ|Η|Ή|Ί|Ι|Ϊ|Ỉ|Ị|И|Ы/' => 'I', 38 | '/ì|í|î|ï|ĩ|ī|ĭ|ǐ|į|ı|η|ή|ί|ι|ϊ|ỉ|ị|и|ы|ї/' => 'i', 39 | '/Ĵ/' => 'J', 40 | '/ĵ/' => 'j', 41 | '/Ķ|Κ|К/' => 'K', 42 | '/ķ|κ|к/' => 'k', 43 | '/Ĺ|Ļ|Ľ|Ŀ|Ł|Λ|Л/' => 'L', 44 | '/ĺ|ļ|ľ|ŀ|ł|λ|л/' => 'l', 45 | '/М/' => 'M', 46 | '/м/' => 'm', 47 | '/Ñ|Ń|Ņ|Ň|Ν|Н/' => 'N', 48 | '/ñ|ń|ņ|ň|ʼn|ν|н/' => 'n', 49 | '/Ò|Ó|Ô|Õ|Ō|Ŏ|Ǒ|Ő|Ơ|Ø|Ǿ|Ο|Ό|Ω|Ώ|Ỏ|Ọ|Ồ|Ố|Ỗ|Ổ|Ộ|Ờ|Ớ|Ỡ|Ở|Ợ|О/' => 'O', 50 | '/ò|ó|ô|õ|ō|ŏ|ǒ|ő|ơ|ø|ǿ|º|ο|ό|ω|ώ|ỏ|ọ|ồ|ố|ỗ|ổ|ộ|ờ|ớ|ỡ|ở|ợ|о/' => 'o', 51 | '/П/' => 'P', 52 | '/п/' => 'p', 53 | '/Ŕ|Ŗ|Ř|Ρ|Р/' => 'R', 54 | '/ŕ|ŗ|ř|ρ|р/' => 'r', 55 | '/Ś|Ŝ|Ş|Ș|Š|Σ|С/' => 'S', 56 | '/ś|ŝ|ş|ș|š|ſ|σ|ς|с/' => 's', 57 | '/Ț|Ţ|Ť|Ŧ|τ|Т/' => 'T', 58 | '/ț|ţ|ť|ŧ|т/' => 't', 59 | '/Þ|þ/' => 'th', 60 | '/Ù|Ú|Û|Ũ|Ū|Ŭ|Ů|Ű|Ų|Ư|Ǔ|Ǖ|Ǘ|Ǚ|Ǜ|Ũ|Ủ|Ụ|Ừ|Ứ|Ữ|Ử|Ự|У/' => 'U', 61 | '/ù|ú|û|ũ|ū|ŭ|ů|ű|ų|ư|ǔ|ǖ|ǘ|ǚ|ǜ|υ|ύ|ϋ|ủ|ụ|ừ|ứ|ữ|ử|ự|у/' => 'u', 62 | '/Ý|Ÿ|Ŷ|Υ|Ύ|Ϋ|Ỳ|Ỹ|Ỷ|Ỵ|Й/' => 'Y', 63 | '/ý|ÿ|ŷ|ỳ|ỹ|ỷ|ỵ|й/' => 'y', 64 | '/В/' => 'V', 65 | '/в/' => 'v', 66 | '/Ŵ/' => 'W', 67 | '/ŵ/' => 'w', 68 | '/Ź|Ż|Ž|Ζ|З/' => 'Z', 69 | '/ź|ż|ž|ζ|з/' => 'z', 70 | '/Æ|Ǽ/' => 'AE', 71 | '/ß/' => 'ss', 72 | '/IJ/' => 'IJ', 73 | '/ij/' => 'ij', 74 | '/Œ/' => 'OE', 75 | '/ƒ/' => 'f', 76 | '/ξ/' => 'ks', 77 | '/π/' => 'p', 78 | '/β/' => 'v', 79 | '/μ/' => 'm', 80 | '/ψ/' => 'ps', 81 | '/Ё/' => 'Yo', 82 | '/ё/' => 'yo', 83 | '/Є/' => 'Ye', 84 | '/є/' => 'ye', 85 | '/Ї/' => 'Yi', 86 | '/Ж/' => 'Zh', 87 | '/ж/' => 'zh', 88 | '/Х/' => 'Kh', 89 | '/х/' => 'kh', 90 | '/Ц/' => 'Ts', 91 | '/ц/' => 'ts', 92 | '/Ч/' => 'Ch', 93 | '/ч/' => 'ch', 94 | '/Ш/' => 'Sh', 95 | '/ш/' => 'sh', 96 | '/Щ/' => 'Shch', 97 | '/щ/' => 'shch', 98 | '/Ъ|ъ|Ь|ь/' => '', 99 | '/Ю/' => 'Yu', 100 | '/ю/' => 'yu', 101 | '/Я/' => 'Ya', 102 | '/я/' => 'ya' 103 | ); 104 | -------------------------------------------------------------------------------- /application/config/hooks.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/config/memcached.php: -------------------------------------------------------------------------------- 1 | array( 15 | 'hostname' => '127.0.0.1', 16 | 'port' => '11211', 17 | 'weight' => '1', 18 | ), 19 | ); 20 | -------------------------------------------------------------------------------- /application/config/migration.php: -------------------------------------------------------------------------------- 1 | migration->current() this is the version that schema will 69 | | be upgraded / downgraded to. 70 | | 71 | */ 72 | $config['migration_version'] = 0; 73 | 74 | /* 75 | |-------------------------------------------------------------------------- 76 | | Migrations Path 77 | |-------------------------------------------------------------------------- 78 | | 79 | | Path to your migrations folder. 80 | | Typically, it will be within your application path. 81 | | Also, writing permission is required within the migrations path. 82 | | 83 | */ 84 | $config['migration_path'] = APPPATH.'migrations/'; 85 | -------------------------------------------------------------------------------- /application/config/profiler.php: -------------------------------------------------------------------------------- 1 | my_controller/index 50 | | my-controller/my-method -> my_controller/my_method 51 | */ 52 | $route['default_controller'] = 'Site/view'; 53 | $route['complaintregister/(:any)'] = 'Site/view/complaintregister'; 54 | $route['admin']='admin/view'; 55 | $route['admin/(:any)']='admin/view/$1'; 56 | $route['worker']='worker/view'; 57 | $route['worker/(:any)']='worker/view/$1'; 58 | $route['(:any)']='Site/view/$1'; 59 | $route['404_override'] = ''; 60 | $route['translate_uri_dashes'] = FALSE; 61 | -------------------------------------------------------------------------------- /application/config/smileys.php: -------------------------------------------------------------------------------- 1 | array('grin.gif', '19', '19', 'grin'), 21 | ':lol:' => array('lol.gif', '19', '19', 'LOL'), 22 | ':cheese:' => array('cheese.gif', '19', '19', 'cheese'), 23 | ':)' => array('smile.gif', '19', '19', 'smile'), 24 | ';-)' => array('wink.gif', '19', '19', 'wink'), 25 | ';)' => array('wink.gif', '19', '19', 'wink'), 26 | ':smirk:' => array('smirk.gif', '19', '19', 'smirk'), 27 | ':roll:' => array('rolleyes.gif', '19', '19', 'rolleyes'), 28 | ':-S' => array('confused.gif', '19', '19', 'confused'), 29 | ':wow:' => array('surprise.gif', '19', '19', 'surprised'), 30 | ':bug:' => array('bigsurprise.gif', '19', '19', 'big surprise'), 31 | ':-P' => array('tongue_laugh.gif', '19', '19', 'tongue laugh'), 32 | '%-P' => array('tongue_rolleye.gif', '19', '19', 'tongue rolleye'), 33 | ';-P' => array('tongue_wink.gif', '19', '19', 'tongue wink'), 34 | ':P' => array('raspberry.gif', '19', '19', 'raspberry'), 35 | ':blank:' => array('blank.gif', '19', '19', 'blank stare'), 36 | ':long:' => array('longface.gif', '19', '19', 'long face'), 37 | ':ohh:' => array('ohh.gif', '19', '19', 'ohh'), 38 | ':grrr:' => array('grrr.gif', '19', '19', 'grrr'), 39 | ':gulp:' => array('gulp.gif', '19', '19', 'gulp'), 40 | '8-/' => array('ohoh.gif', '19', '19', 'oh oh'), 41 | ':down:' => array('downer.gif', '19', '19', 'downer'), 42 | ':red:' => array('embarrassed.gif', '19', '19', 'red face'), 43 | ':sick:' => array('sick.gif', '19', '19', 'sick'), 44 | ':shut:' => array('shuteye.gif', '19', '19', 'shut eye'), 45 | ':-/' => array('hmm.gif', '19', '19', 'hmmm'), 46 | '>:(' => array('mad.gif', '19', '19', 'mad'), 47 | ':mad:' => array('mad.gif', '19', '19', 'mad'), 48 | '>:-(' => array('angry.gif', '19', '19', 'angry'), 49 | ':angry:' => array('angry.gif', '19', '19', 'angry'), 50 | ':zip:' => array('zip.gif', '19', '19', 'zipper'), 51 | ':kiss:' => array('kiss.gif', '19', '19', 'kiss'), 52 | ':ahhh:' => array('shock.gif', '19', '19', 'shock'), 53 | ':coolsmile:' => array('shade_smile.gif', '19', '19', 'cool smile'), 54 | ':coolsmirk:' => array('shade_smirk.gif', '19', '19', 'cool smirk'), 55 | ':coolgrin:' => array('shade_grin.gif', '19', '19', 'cool grin'), 56 | ':coolhmm:' => array('shade_hmm.gif', '19', '19', 'cool hmm'), 57 | ':coolmad:' => array('shade_mad.gif', '19', '19', 'cool mad'), 58 | ':coolcheese:' => array('shade_cheese.gif', '19', '19', 'cool cheese'), 59 | ':vampire:' => array('vampire.gif', '19', '19', 'vampire'), 60 | ':snake:' => array('snake.gif', '19', '19', 'snake'), 61 | ':exclaim:' => array('exclaim.gif', '19', '19', 'exclaim'), 62 | ':question:' => array('question.gif', '19', '19', 'question') 63 | 64 | ); 65 | -------------------------------------------------------------------------------- /application/controllers/Admin.php: -------------------------------------------------------------------------------- 1 | load->model('ComplaintModel'); 10 | $this->load->model('LoginModel'); 11 | } 12 | public function view($page = 'adminhome') 13 | { 14 | if(!file_exists(APPPATH.'views/admin/'.$page.'.php')) 15 | { 16 | show_404(); 17 | } 18 | 19 | //check login or not 20 | if($this->session->userdata('admin_id')) 21 | $data['islogin'] = TRUE; 22 | else 23 | $data['islogin'] = FALSE; 24 | 25 | if($page == 'login') 26 | { 27 | 28 | if($this->session->userdata('check_login') ) 29 | $data['logincheck'] = TRUE; 30 | else 31 | $data['logincheck'] = FALSE; 32 | } 33 | else if($page == 'adminhome' || $page == 'worker' || $page == 'category') 34 | { 35 | $data['complain_caategory'] = $this->ComplaintModel->get_complaint_category(); 36 | } 37 | else if($page == 'print') 38 | { 39 | $data['printc'] = $this->session->userdata('printc'); 40 | $data['printcomplaint'] = $this->ComplaintModel->get_complaint_details_by_cid($data['printc']['c_id']); 41 | } 42 | else if($page == 'reports') 43 | { 44 | $data['categories'] = $this->ComplaintModel->get_complaint_category(); 45 | } 46 | $data['title'] = ucfirst($page); 47 | $data['viewuser'] = 'admin'; 48 | 49 | $this->load->view('public/header',$data); 50 | $this->load->view('admin/'.$page,$data); 51 | } 52 | public function get_complaint_for_home() 53 | { 54 | $old = $this->ComplaintModel->get_old_complaint_list_cat(4,'all'); 55 | $new = $this->ComplaintModel->get_new_complaint_list_cat(4,'all'); 56 | return array_merge($old,$new); 57 | } 58 | public function get_complaint_list() 59 | { 60 | $cate = $this->input->post('id'); 61 | $old = $this->ComplaintModel->get_old_complaint_list_cat(4,$cate); 62 | $new = $this->ComplaintModel->get_new_complaint_list_cat(4,$cate); 63 | echo json_encode(array_merge($old,$new)); 64 | } 65 | } 66 | ?> 67 | -------------------------------------------------------------------------------- /application/controllers/Complaint.php: -------------------------------------------------------------------------------- 1 | load->model('ComplaintModel'); 9 | $this->load->model('User'); 10 | date_default_timezone_set('Asia/kolkata'); 11 | } 12 | public function get_category() 13 | { 14 | $json_obj = $this->input->post('obj'); 15 | $obj = json_decode($json_obj); 16 | if($obj->location == 'residance') 17 | echo json_encode($this->ComplaintModel->get_category_description($obj->id,2)); 18 | else 19 | echo json_encode($this->ComplaintModel->get_category_description($obj->id,1)); 20 | } 21 | public function get_user_address() 22 | { 23 | $json_obj = $this->input->post('obj'); 24 | $obj = json_decode($json_obj); 25 | if( $obj->location == 'hostel' || $obj->location == 'residance') 26 | { 27 | $user = $this->User->get_user($obj->uid); 28 | echo $user[0]->address; 29 | } 30 | else if( $obj->location == 'department') 31 | { 32 | $office = $this->User->get_ofice_location($obj->uid); 33 | echo $office[0]->office_location; 34 | } 35 | } 36 | public function register() 37 | { 38 | $cate_id = $this->input->post('complaintype'); 39 | $uid = $this->input->post('empnumber'); 40 | $description = $this->input->post('cdescription'); 41 | $date = date('Y-m-d'); 42 | $location = $this->input->post('address'); 43 | $cinfo = array('cate_id' => $cate_id, 'u_id' => $uid, 'c_description' => $description, 'c_date' => $date,'c_status' => 1); 44 | $this->ComplaintModel->register_complaint($cinfo,$location); 45 | redirect(base_url('complaintsuccess')); 46 | } 47 | public function track() 48 | { 49 | $cid = $this->input->post('complainid'); 50 | $details = $this->ComplaintModel->track_complaint($cid); 51 | if(sizeof($details) != 0) 52 | { 53 | $this->session->set_userdata('cdetails',$details); 54 | redirect(base_url('trackcomplaint')); 55 | } 56 | else 57 | { 58 | $this->session->set_userdata('cdetails',"error"); 59 | redirect(base_url('login')); 60 | } 61 | } 62 | public function get_description() 63 | { 64 | $id = $this->input->post('id'); 65 | $result = $this->ComplaintModel->get_common_complaints($id); 66 | echo json_encode($result); 67 | } 68 | public function change_status() 69 | { 70 | $obj_json = $this->input->post('obj'); 71 | $obj = json_decode($obj_json); 72 | $this->ComplaintModel->update_complaint_status($obj->status,$obj->cid); 73 | echo $obj->status; 74 | } 75 | public function submit_feedback() 76 | { 77 | $cid = $this->input->post('cid'); 78 | $rating = $this->input->post('work'); 79 | $submit_response = $this->ComplaintModel->submit_feedback($rating,$cid); 80 | } 81 | public function add_complaint_category() 82 | { 83 | $c_category = $this->input->post('ccategory'); 84 | $data=array('category'=>$c_category); 85 | //echo $data[0]; 86 | $this->ComplaintModel->add_new_category($data); 87 | redirect(base_url('admin/category')); 88 | } 89 | public function add_common_complaint() 90 | { 91 | $category = $this->input->post('category'); 92 | $cdescription = $this->input->post('cdescription'); 93 | $forwhom = $this->input->post('forwhom'); 94 | $compinfo = array('cate_id' => $category, 'c_level' => $forwhom, 'description' => $cdescription); 95 | $this->ComplaintModel->add_new_common_complaint($compinfo); 96 | redirect(base_url('admin/category')); 97 | } 98 | public function delete_common_complaint() 99 | { 100 | $co_id =$this->input->post('cid'); 101 | echo $this->ComplaintModel->delete_common_complaint($co_id); 102 | } 103 | public function update_common() 104 | { 105 | $json_obj = $this->input->post('obj'); 106 | $obj = json_decode($json_obj); 107 | echo $this->ComplaintModel->update_common($obj); 108 | } 109 | } 110 | ?> 111 | -------------------------------------------------------------------------------- /application/controllers/Login.php: -------------------------------------------------------------------------------- 1 | load->model('ComplaintModel'); 10 | $this->load->model('LoginModel'); 11 | } 12 | public function validate_login() 13 | { 14 | $utype=$this->input->post('usertype'); 15 | if($utype=='admin') 16 | { 17 | $logindata = array('email' => $this->input->post('email'), 'password' => $this->input->post('password')); 18 | 19 | $login_id = $this->LoginModel->admin_login($logindata); 20 | 21 | if($login_id) 22 | { 23 | $this->session->set_userdata('check_login',FALSE); 24 | $this->session->set_userdata('admin_id',$login_id); 25 | $this->session->set_userdata('usertype',$utype); 26 | redirect(base_url('admin/adminhome')); 27 | } 28 | else 29 | { 30 | $this->session->set_userdata('check_login',TRUE); 31 | redirect(base_url('login')); 32 | } 33 | } 34 | else if($utype=='worker') 35 | { 36 | $logindata = array('email' => $this->input->post('email'), 'password' => $this->input->post('password')); 37 | 38 | $login_id = $this->LoginModel->worker_login($logindata); 39 | 40 | if($login_id) 41 | { 42 | $this->session->set_userdata('check_login',FALSE); 43 | $this->session->set_userdata('w_id',$login_id); 44 | $this->session->set_userdata('usertype',$utype); 45 | redirect(base_url('worker/home')); 46 | } 47 | else 48 | { 49 | $this->session->set_userdata('check_login',TRUE); 50 | redirect(base_url('login')); 51 | } 52 | 53 | } 54 | else 55 | { 56 | $loginenrol = array('emp_no' => $this->input->post('email'), 'password' => $this->input->post('password'),'u_type' => $this->input->post('usertype')); 57 | $login_id = $this->LoginModel->user_login($loginenrol); 58 | if($login_id) 59 | { 60 | $this->session->set_userdata('check_login',FALSE); 61 | $this->session->set_userdata('user_id',$login_id); 62 | $this->session->set_userdata('usertype',$utype); 63 | $pending_feedback = $this->ComplaintModel->get_pending_feedback($this->session->userdata('user_id')); 64 | if(sizeof($pending_feedback) > 0) 65 | { 66 | $this->session->set_userdata('pending_feedback',$pending_feedback); 67 | redirect(base_url('feedback')); 68 | } 69 | else 70 | redirect(base_url('home')); 71 | } 72 | else 73 | { 74 | $this->session->set_userdata('check_login',TRUE); 75 | redirect(base_url('login')); 76 | } 77 | } 78 | } 79 | public function logout() 80 | { 81 | if($this->session->userdata('user_id') ) 82 | { 83 | $this->session->unset_userdata('user_id'); 84 | } 85 | elseif($this->session->userdata('w_id') ) 86 | { 87 | $this->session->unset_userdata('w_id'); 88 | } 89 | else 90 | { 91 | $this->session->unset_userdata('admin_id'); 92 | } 93 | redirect(base_url('login')); 94 | } 95 | public function get_complaint_list() 96 | { 97 | $cate = $this->input->post('id'); 98 | $old = $this->ComplaintModel->get_old_complaint_list_cat(5,$cate); 99 | $new = $this->ComplaintModel->get_new_complaint_list_cat(5,$cate); 100 | echo json_encode(array_merge($old,$new)); 101 | } 102 | public function generate_password() 103 | { 104 | $data['password'] = $this->input->post('npassword'); 105 | $data['email'] = $this->input->post('email'); 106 | $data['utype'] = $this->input->post('futype'); 107 | $this->LoginModel->generate_password($data); 108 | redirect(base_url("login")); 109 | } 110 | public function send_otp() 111 | { 112 | $jsonobj = $this->input->post('obj'); 113 | $data = json_decode($jsonobj,TRUE); 114 | $otp = $this->LoginModel->send_otp($data); 115 | $this->load->model('MailModel','mymail'); 116 | $this->mymail->send($otp['maildata']); 117 | echo $otp['otp']; 118 | } 119 | } 120 | ?> 121 | -------------------------------------------------------------------------------- /application/controllers/Upload.php: -------------------------------------------------------------------------------- 1 | load->helper(array('html','url')); 8 | } 9 | public function upload_image() 10 | { 11 | $config['upload_path'] = './assets/images/uploads'; 12 | $config['allowed_types'] = 'gif|jpg|jpeg|png'; 13 | $config['max_size'] = 100; 14 | $config['file_name'] = $this->input->post('filename'); 15 | $this->load->library('upload',$config); 16 | if(!$this->upload->do_upload('file')) 17 | { 18 | echo $this->upload->display_errors(); 19 | } 20 | else 21 | { 22 | echo "No Errror"; 23 | } 24 | } 25 | } 26 | ?> 27 | -------------------------------------------------------------------------------- /application/controllers/Validate.php: -------------------------------------------------------------------------------- 1 | load->library('form_validation'); 9 | } 10 | public function validate_fullname() 11 | { 12 | $fname_rules = array( 13 | array( 14 | 'field' => 'fullname', 15 | 'label' => 'Full Name', 16 | 'rules' => 'required|regex_match[/^[A-Za-z\\s]+$/]|min_length[6]|max_length[45]' 17 | ) 18 | ); 19 | $this->form_validation->set_message('regex_match','The Full Name field may only contain alphabetical characters.'); 20 | $this->form_validation->set_rules($fname_rules); 21 | if($this->form_validation->run()) 22 | { 23 | echo "Success"; 24 | } 25 | else { 26 | echo validation_errors(); 27 | } 28 | } 29 | 30 | public function validate_emp_number() 31 | { 32 | $emp_number = array( 33 | array( 34 | 'field' => 'empnumber', 35 | 'label' => 'Employee Number', 36 | 'rules' => 'required|alpha_numeric|min_length[6]|max_length[45]' 37 | ) 38 | ); 39 | $this->form_validation->set_rules($emp_number); 40 | if($this->form_validation->run()) 41 | { 42 | echo "Success"; 43 | } 44 | else { 45 | echo validation_errors(); 46 | } 47 | } 48 | 49 | public function validate_email() 50 | { 51 | $email = array( 52 | array( 53 | 'field' => 'email', 54 | 'label' => 'E-mail Address', 55 | 'rules' => 'required|valid_email' 56 | ) 57 | ); 58 | $this->form_validation->set_rules($email); 59 | if($this->form_validation->run()) 60 | { 61 | echo "Success"; 62 | } 63 | else { 64 | echo validation_errors(); 65 | } 66 | } 67 | public function validate_contact_no() 68 | { 69 | $contact = array( 70 | array( 71 | 'field' => 'contact', 72 | 'label' => 'Contact Number', 73 | 'rules' => 'required|numeric|min_length[10]|max_length[10]' 74 | ) 75 | ); 76 | $this->form_validation->set_rules($contact); 77 | if($this->form_validation->run()) 78 | { 79 | echo "Success"; 80 | } 81 | else { 82 | echo validation_errors(); 83 | } 84 | } 85 | 86 | public function validate_address() 87 | { 88 | $address = array( 89 | array( 90 | 'field' => 'address', 91 | 'label' => 'Address', 92 | 'rules' => 'required' 93 | ) 94 | ); 95 | $this->form_validation->set_rules($address); 96 | if($this->form_validation->run()) 97 | { 98 | echo "Success"; 99 | } 100 | else { 101 | echo validation_errors(); 102 | } 103 | } 104 | 105 | 106 | } 107 | ?> 108 | -------------------------------------------------------------------------------- /application/controllers/Worker.php: -------------------------------------------------------------------------------- 1 | load->model('ComplaintModel'); 9 | $this->load->model('WorkerModel'); 10 | } 11 | public function view($page = 'home') 12 | { 13 | if(!file_exists(APPPATH.'views/worker/'.$page.'.php')) 14 | { 15 | show_404(); 16 | } 17 | //check login or not 18 | if($this->session->userdata('w_id')) 19 | $data['islogin'] = TRUE; 20 | else 21 | $data['islogin'] = FALSE; 22 | 23 | if($data['islogin']) 24 | { 25 | //echo $this->session->userdata('w_id'); 26 | if($page =='home') 27 | { 28 | $data['clist'] = $this->ComplaintModel->get_complaints_for_worker($this->session->userdata('w_id')); 29 | } 30 | } 31 | 32 | $data['title'] = ucfirst($page); 33 | $data['viewuser'] = 'worker'; 34 | 35 | $this->load->view('public/header',$data); 36 | $this->load->view('worker/'.$page,$data); 37 | $this->load->view('public/footer',$data); 38 | } 39 | 40 | public function get_worker_list() 41 | { 42 | $cate = $this->input->post('cate'); 43 | $list = $this->ComplaintModel->get_worker_list($cate); 44 | echo json_encode($list); 45 | } 46 | public function get_workers() 47 | { 48 | $cate = $this->input->post('cate'); 49 | $list = $this->ComplaintModel->get_workers($cate); 50 | echo json_encode($list); 51 | } 52 | public function assign_worker() 53 | { 54 | $wid = $this->input->post('selectworker'); 55 | $remark = $this->input->post('remark'); 56 | $cid = $this->input->post('cid'); 57 | $this->ComplaintModel->assign_worker($wid,$cid,$remark); 58 | } 59 | public function change_status() 60 | { 61 | $id = $this->input->post('id'); 62 | echo $this->WorkerModel->change_status($id); 63 | } 64 | public function update_worker() 65 | { 66 | $obj = json_decode($this->input->post('obj'),true); 67 | echo $this->WorkerModel->update_worker($obj); 68 | } 69 | public function delete_worker() 70 | { 71 | $wid = $this->input->post('id'); 72 | echo $this->WorkerModel->delete_worker($wid); 73 | 74 | } 75 | 76 | public function add_new() 77 | { 78 | $data = array( 79 | 'w_name' => $this->input->post('fullname'), 80 | 'ph_no' => $this->input->post('contact'), 81 | 'email' => $this->input->post('email'), 82 | 'address' => $this->input->post('address'), 83 | 'skill' => $this->input->post('workerskill'), 84 | 'w_status' => $this->input->post('status'), 85 | 'password' => $this->input->post('password') 86 | ); 87 | if($this->WorkerModel->add_worker($data)) 88 | redirect(base_url('admin/worker')); 89 | } 90 | } 91 | ?> 92 | -------------------------------------------------------------------------------- /application/controllers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/controllers/reports.php: -------------------------------------------------------------------------------- 1 | load->model('ComplaintModel','cm'); 9 | } 10 | public function get_complaint_report() 11 | { 12 | $data = json_decode($this->input->post('data')); 13 | echo json_encode($this->cm->get_complaint_report($data)); 14 | } 15 | 16 | public function get_worker_report() 17 | { 18 | $data = json_decode($this->input->post('data')); 19 | echo json_encode($this->cm->get_worker_report($data)); 20 | } 21 | } 22 | ?> 23 | -------------------------------------------------------------------------------- /application/core/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/helpers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/hooks/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/language/english/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/language/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/libraries/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/logs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/models/MailModel.php: -------------------------------------------------------------------------------- 1 | mail_config(); 23 | $this->load->library('email',$config); 24 | $this->email->set_newline("\r\n"); 25 | $this->email->from($config['smtp_user']); 26 | $this->email->to($data['to']); 27 | $this->email->subject($data['subject']); 28 | $this->email->message($data['message']); 29 | return $this->email->send(); 30 | 31 | } 32 | } 33 | ?> 34 | -------------------------------------------------------------------------------- /application/models/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/models/loginModel.php: -------------------------------------------------------------------------------- 1 | db->get_where($table,$data); 9 | if($q->num_rows()) 10 | { 11 | return $q->row()->a_id; 12 | } 13 | else 14 | { 15 | return FALSE; 16 | } 17 | } 18 | public function user_login($dataenrol) 19 | { 20 | $table='user'; 21 | $this->db->select('u_id'); 22 | $this->db->from($table); 23 | $this->db->where("emp_no = '".$dataenrol['emp_no']."' AND password = '".$dataenrol['password']."' AND u_type = '".$dataenrol['u_type']."'"); 24 | $this->db->or_where("email = '".$dataenrol['emp_no']."' AND password = '".$dataenrol['password']."' AND u_type = '".$dataenrol['u_type']."'"); 25 | $q=$this->db->get(); 26 | if($q->num_rows() == 1) 27 | { 28 | return $q->row()->u_id; 29 | } 30 | else 31 | { 32 | return FALSE; 33 | } 34 | } 35 | public function worker_login($logindata) 36 | { 37 | $table='worker'; 38 | $this->db->select('w_id'); 39 | $this->db->from($table); 40 | $this->db->where($logindata); 41 | $q=$this->db->get(); 42 | if($q->num_rows() == 1) 43 | { 44 | return $q->row()->w_id; 45 | } 46 | else 47 | { 48 | return FALSE; 49 | } 50 | } 51 | public function generate_password($data) 52 | { 53 | switch($data['utype']) 54 | { 55 | case 'admin': 56 | $table = 'admin'; 57 | break; 58 | case 'worker': 59 | $table = 'worker'; 60 | break; 61 | default: 62 | $table = 'user'; 63 | } 64 | $this->db->set(array('password' => $data['password'])); 65 | $this->db->where('email',$data['email']); 66 | if($table == 'user') 67 | $this->db->or_where('emp_no',$data['email']); 68 | $this->db->update($table); 69 | } 70 | public function send_otp($data) 71 | { 72 | switch($data['utype']) 73 | { 74 | case 'admin': 75 | $table = 'admin'; 76 | break; 77 | case 'worker': 78 | $table = 'worker'; 79 | break; 80 | default: 81 | $table = 'user'; 82 | } 83 | $this->db->select('email'); 84 | $this->db->from($table); 85 | $this->db->where('email',$data['email']); 86 | $this->db->or_where('emp_no',$data['email']); 87 | $result = $this->db->get()->result(); 88 | 89 | $data['otp'] = rand(1000,9999); 90 | $maildata['subject'] = "Gujarat Vidyapith Estate Department Complaint, For Reset Password"; 91 | $maildata['message'] = $data['otp']." Is your One Time Password for Reset Your Password.Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/admin/addcategory.php: -------------------------------------------------------------------------------- 1 |Invalid Login Details
=$printc['c_id'];?>
9 |=$printcomplaint[0]->c_date;?>
13 |=$printcomplaint[0]->full_name;?>
17 |=$printcomplaint[0]->pho_no;?>
21 |=$printcomplaint[0]->c_description;?>
25 |=$printcomplaint[0]->c_description;?>
29 |=$printcomplaint[0]->w_name;?>
33 |37 |
| Name | 24 |Phone | 25 |Address | 27 |Skill | 28 |Status | 29 |Update | 30 |Delete | 31 |
|---|
Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/errors/html/error_404.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 |Type:
10 |Message:
11 |Filename: getFile(); ?>
12 |Line Number: getLine(); ?>
13 | 14 | 15 | 16 |Backtrace:
17 | getTrace() as $error): ?> 18 | 19 | 20 | 21 |
22 | File:
23 | Line:
24 | Function:
25 |
Severity:
10 |Message:
11 |Filename:
12 |Line Number:
13 | 14 | 15 | 16 |Backtrace:
17 | 18 | 19 | 20 | 21 |
22 | File:
23 | Line:
24 | Function:
25 |
Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/errors/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/public/complaints.php: -------------------------------------------------------------------------------- 1 | 5 | 6 || Date | 15 |Type | 16 |Description | 17 |Complaint Location | 18 |Status | 19 |Worker | 20 |
|---|---|---|---|---|---|
| =$c->c_date;?> | 46 |=$c->category;?> | 47 |=$c->c_description;?> | 48 |=$c->location;?> | 49 |=$status;?> | 50 |w_name == NULL) 52 | echo "Not Assigned"; 53 | else 54 | echo $c->w_name; 55 | ?> | 56 |