diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..28ff073
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,50 @@
+# These are some examples of commonly ignored file patterns.
+# You should customize this list as applicable to your project.
+# Learn more about .gitignore:
+# https://www.atlassian.com/git/tutorials/saving-changes/gitignore
+
+# Node artifact files
+node_modules/
+dist/
+
+# Compiled Java class files
+*.class
+
+# Compiled Python bytecode
+*.py[cod]
+
+# Log files
+*.log
+
+# Package files
+*.jar
+
+# Maven
+target/
+dist/
+
+# JetBrains IDE
+.idea/
+
+# Unit test reports
+TEST*.xml
+
+# Generated by MacOS
+.DS_Store
+
+# Generated by Windows
+Thumbs.db
+
+# Applications
+*.app
+*.exe
+*.war
+
+# Large media files
+*.mp4
+*.tiff
+*.avi
+*.flv
+*.mov
+*.wmv
+/nbproject/private/
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 0000000..335c741
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,6 @@
+
Directory access is forbidden.
+ + + diff --git a/application/config/autoload.php b/application/config/autoload.php new file mode 100644 index 0000000..d615d89 --- /dev/null +++ b/application/config/autoload.php @@ -0,0 +1,135 @@ + 'ua'); +*/ +$autoload['libraries'] = array('database', 'email', 'session'); + +/* +| ------------------------------------------------------------------- +| Auto-load Drivers +| ------------------------------------------------------------------- +| These classes are located in system/libraries/ or in your +| application/libraries/ directory, but are also placed inside their +| own subdirectory and they extend the CI_Driver_Library class. They +| offer multiple interchangeable driver options. +| +| Prototype: +| +| $autoload['drivers'] = array('cache'); +| +| You can also supply an alternative property name to be assigned in +| the controller: +| +| $autoload['drivers'] = array('cache' => 'cch'); +| +*/ +$autoload['drivers'] = array(); + +/* +| ------------------------------------------------------------------- +| Auto-load Helper Files +| ------------------------------------------------------------------- +| Prototype: +| +| $autoload['helper'] = array('url', 'file'); +*/ +$autoload['helper'] = array('url', 'file','form','custom','pdf'); + +/* +| ------------------------------------------------------------------- +| Auto-load Config files +| ------------------------------------------------------------------- +| Prototype: +| +| $autoload['config'] = array('config1', 'config2'); +| +| NOTE: This item is intended for use ONLY if you have created custom +| config files. Otherwise, leave it blank. +| +*/ +$autoload['config'] = array(); + +/* +| ------------------------------------------------------------------- +| Auto-load Language files +| ------------------------------------------------------------------- +| Prototype: +| +| $autoload['language'] = array('lang1', 'lang2'); +| +| NOTE: Do not include the "_lang" part of your file. For example +| "codeigniter_lang.php" would be referenced as array('codeigniter'); +| +*/ +$autoload['language'] = array(); + +/* +| ------------------------------------------------------------------- +| Auto-load Models +| ------------------------------------------------------------------- +| Prototype: +| +| $autoload['model'] = array('first_model', 'second_model'); +| +| You can also supply an alternative model name to be assigned +| in the controller: +| +| $autoload['model'] = array('first_model' => 'first'); +*/ +$autoload['model'] = array('commonsql_model'); diff --git a/application/config/config.php b/application/config/config.php new file mode 100644 index 0000000..c662d19 --- /dev/null +++ b/application/config/config.php @@ -0,0 +1,523 @@ +]+$/i +| +| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!! +| +*/ +$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-'; + +/* +|-------------------------------------------------------------------------- +| Enable Query Strings +|-------------------------------------------------------------------------- +| +| By default CodeIgniter uses search-engine friendly segment based URLs: +| example.com/who/what/where/ +| +| You can optionally enable standard query string based URLs: +| example.com?who=me&what=something&where=here +| +| Options are: TRUE or FALSE (boolean) +| +| The other items let you set the query string 'words' that will +| invoke your controllers and its functions: +| example.com/index.php?c=controller&m=function +| +| Please note that some of the helpers won't work as expected when +| this feature is enabled, since CodeIgniter is designed primarily to +| use segment based URLs. +| +*/ +$config['enable_query_strings'] = FALSE; +$config['controller_trigger'] = 'c'; +$config['function_trigger'] = 'm'; +$config['directory_trigger'] = 'd'; + +/* +|-------------------------------------------------------------------------- +| Allow $_GET array +|-------------------------------------------------------------------------- +| +| By default CodeIgniter enables access to the $_GET array. If for some +| reason you would like to disable it, set 'allow_get_array' to FALSE. +| +| WARNING: This feature is DEPRECATED and currently available only +| for backwards compatibility purposes! +| +*/ +$config['allow_get_array'] = TRUE; + +/* +|-------------------------------------------------------------------------- +| Error Logging Threshold +|-------------------------------------------------------------------------- +| +| You can enable error logging by setting a threshold over zero. The +| threshold determines what gets logged. Threshold options are: +| +| 0 = Disables logging, Error logging TURNED OFF +| 1 = Error Messages (including PHP errors) +| 2 = Debug Messages +| 3 = Informational Messages +| 4 = All Messages +| +| You can also pass an array with threshold levels to show individual error types +| +| array(2) = Debug Messages, without Error Messages +| +| For a live site you'll usually only enable Errors (1) to be logged otherwise +| your log files will fill up very fast. +| +*/ +$config['log_threshold'] = 0; + +/* +|-------------------------------------------------------------------------- +| Error Logging Directory Path +|-------------------------------------------------------------------------- +| +| Leave this BLANK unless you would like to set something other than the default +| application/logs/ directory. Use a full server path with trailing slash. +| +*/ +$config['log_path'] = ''; + +/* +|-------------------------------------------------------------------------- +| Log File Extension +|-------------------------------------------------------------------------- +| +| The default filename extension for log files. The default 'php' allows for +| protecting the log files via basic scripting, when they are to be stored +| under a publicly accessible directory. +| +| Note: Leaving it blank will default to 'php'. +| +*/ +$config['log_file_extension'] = ''; + +/* +|-------------------------------------------------------------------------- +| Log File Permissions +|-------------------------------------------------------------------------- +| +| The file system permissions to be applied on newly created log files. +| +| IMPORTANT: This MUST be an integer (no quotes) and you MUST use octal +| integer notation (i.e. 0700, 0644, etc.) +*/ +$config['log_file_permissions'] = 0644; + +/* +|-------------------------------------------------------------------------- +| Date Format for Logs +|-------------------------------------------------------------------------- +| +| Each item that is logged has an associated date. You can use PHP date +| codes to set your own date formatting +| +*/ +$config['log_date_format'] = 'Y-m-d H:i:s'; + +/* +|-------------------------------------------------------------------------- +| Error Views Directory Path +|-------------------------------------------------------------------------- +| +| Leave this BLANK unless you would like to set something other than the default +| application/views/errors/ directory. Use a full server path with trailing slash. +| +*/ +$config['error_views_path'] = ''; + +/* +|-------------------------------------------------------------------------- +| Cache Directory Path +|-------------------------------------------------------------------------- +| +| Leave this BLANK unless you would like to set something other than the default +| application/cache/ directory. Use a full server path with trailing slash. +| +*/ +$config['cache_path'] = ''; + +/* +|-------------------------------------------------------------------------- +| Cache Include Query String +|-------------------------------------------------------------------------- +| +| Whether to take the URL query string into consideration when generating +| output cache files. Valid options are: +| +| FALSE = Disabled +| TRUE = Enabled, take all query parameters into account. +| Please be aware that this may result in numerous cache +| files generated for the same page over and over again. +| array('q') = Enabled, but only take into account the specified list +| of query parameters. +| +*/ +$config['cache_query_string'] = FALSE; + +/* +|-------------------------------------------------------------------------- +| Encryption Key +|-------------------------------------------------------------------------- +| +| If you use the Encryption class, you must set an encryption key. +| See the user guide for more info. +| +| https://codeigniter.com/user_guide/libraries/encryption.html +| +*/ +$config['encryption_key'] = 'nMTGeuY4aG6yd5ntSXTdgynqX5Qmg0e7'; + +/* +|-------------------------------------------------------------------------- +| Session Variables +|-------------------------------------------------------------------------- +| +| 'sess_driver' +| +| The storage driver to use: files, database, redis, memcached +| +| 'sess_cookie_name' +| +| The session cookie name, must contain only [0-9a-z_-] characters +| +| 'sess_expiration' +| +| The number of SECONDS you want the session to last. +| Setting to 0 (zero) means expire when the browser is closed. +| +| 'sess_save_path' +| +| The location to save sessions to, driver dependent. +| +| For the 'files' driver, it's a path to a writable directory. +| WARNING: Only absolute paths are supported! +| +| For the 'database' driver, it's a table name. +| Please read up the manual for the format with other session drivers. +| +| IMPORTANT: You are REQUIRED to set a valid save path! +| +| 'sess_match_ip' +| +| Whether to match the user's IP address when reading the session data. +| +| WARNING: If you're using the database driver, don't forget to update +| your session table's PRIMARY KEY when changing this setting. +| +| 'sess_time_to_update' +| +| How many seconds between CI regenerating the session ID. +| +| 'sess_regenerate_destroy' +| +| Whether to destroy session data associated with the old session ID +| when auto-regenerating the session ID. When set to FALSE, the data +| will be later deleted by the garbage collector. +| +| Other session cookie settings are shared with the rest of the application, +| except for 'cookie_prefix' and 'cookie_httponly', which are ignored here. +| +*/ +$config['sess_driver'] = 'files'; +$config['sess_cookie_name'] = 'ci_session'; +$config['sess_expiration'] = 7200; +$config['sess_save_path'] = NULL; +$config['sess_match_ip'] = FALSE; +$config['sess_time_to_update'] = 300; +$config['sess_regenerate_destroy'] = FALSE; + +/* +|-------------------------------------------------------------------------- +| Cookie Related Variables +|-------------------------------------------------------------------------- +| +| 'cookie_prefix' = Set a cookie name prefix if you need to avoid collisions +| 'cookie_domain' = Set to .your-domain.com for site-wide cookies +| 'cookie_path' = Typically will be a forward slash +| 'cookie_secure' = Cookie will only be set if a secure HTTPS connection exists. +| 'cookie_httponly' = Cookie will only be accessible via HTTP(S) (no javascript) +| +| Note: These settings (with the exception of 'cookie_prefix' and +| 'cookie_httponly') will also affect sessions. +| +*/ +$config['cookie_prefix'] = ''; +$config['cookie_domain'] = ''; +$config['cookie_path'] = '/'; +$config['cookie_secure'] = FALSE; +$config['cookie_httponly'] = FALSE; + +/* +|-------------------------------------------------------------------------- +| Standardize newlines +|-------------------------------------------------------------------------- +| +| Determines whether to standardize newline characters in input data, +| meaning to replace \r\n, \r, \n occurrences with the PHP_EOL value. +| +| WARNING: This feature is DEPRECATED and currently available only +| for backwards compatibility purposes! +| +*/ +$config['standardize_newlines'] = FALSE; + +/* +|-------------------------------------------------------------------------- +| Global XSS Filtering +|-------------------------------------------------------------------------- +| +| Determines whether the XSS filter is always active when GET, POST or +| COOKIE data is encountered +| +| WARNING: This feature is DEPRECATED and currently available only +| for backwards compatibility purposes! +| +*/ +$config['global_xss_filtering'] = FALSE; + +/* +|-------------------------------------------------------------------------- +| Cross Site Request Forgery +|-------------------------------------------------------------------------- +| Enables a CSRF cookie token to be set. When set to TRUE, token will be +| checked on a submitted form. If you are accepting user data, it is strongly +| recommended CSRF protection be enabled. +| +| 'csrf_token_name' = The token name +| 'csrf_cookie_name' = The cookie name +| 'csrf_expire' = The number in seconds the token should expire. +| 'csrf_regenerate' = Regenerate token on every submission +| 'csrf_exclude_uris' = Array of URIs which ignore CSRF checks +*/ +$config['csrf_protection'] = FALSE; +$config['csrf_token_name'] = 'csrf_test_name'; +$config['csrf_cookie_name'] = 'csrf_cookie_name'; +$config['csrf_expire'] = 7200; +$config['csrf_regenerate'] = TRUE; +$config['csrf_exclude_uris'] = array(); + +/* +|-------------------------------------------------------------------------- +| Output Compression +|-------------------------------------------------------------------------- +| +| Enables Gzip output compression for faster page loads. When enabled, +| the output class will test whether your server supports Gzip. +| Even if it does, however, not all browsers support compression +| so enable only if you are reasonably sure your visitors can handle it. +| +| Only used if zlib.output_compression is turned off in your php.ini. +| Please do not use it together with httpd-level output compression. +| +| VERY IMPORTANT: If you are getting a blank page when compression is enabled it +| means you are prematurely outputting something to your browser. It could +| even be a line of whitespace at the end of one of your scripts. For +| compression to work, nothing can be sent before the output buffer is called +| by the output class. Do not 'echo' any values with compression enabled. +| +*/ +$config['compress_output'] = FALSE; + +/* +|-------------------------------------------------------------------------- +| Master Time Reference +|-------------------------------------------------------------------------- +| +| Options are 'local' or any PHP supported timezone. This preference tells +| the system whether to use your server's local time as the master 'now' +| reference, or convert it to the configured one timezone. See the 'date +| helper' page of the user guide for information regarding date handling. +| +*/ +$config['time_reference'] = 'local'; + +/* +|-------------------------------------------------------------------------- +| Rewrite PHP Short Tags +|-------------------------------------------------------------------------- +| +| If your PHP installation does not have short tag support enabled CI +| can rewrite the tags on-the-fly, enabling you to utilize that syntax +| in your view files. Options are TRUE or FALSE (boolean) +| +| Note: You need to have eval() enabled for this to work. +| +*/ +$config['rewrite_short_tags'] = FALSE; + +/* +|-------------------------------------------------------------------------- +| Reverse Proxy IPs +|-------------------------------------------------------------------------- +| +| If your server is behind a reverse proxy, you must whitelist the proxy +| IP addresses from which CodeIgniter should trust headers such as +| HTTP_X_FORWARDED_FOR and HTTP_CLIENT_IP in order to properly identify +| the visitor's IP address. +| +| You can use both an array or a comma-separated list of proxy addresses, +| as well as specifying whole subnets. Here are a few examples: +| +| Comma-separated: '10.0.1.200,192.168.5.0/24' +| Array: array('10.0.1.200', '192.168.5.0/24') +*/ +$config['proxy_ips'] = ''; diff --git a/application/config/constants.php b/application/config/constants.php new file mode 100644 index 0000000..18d3b4b --- /dev/null +++ b/application/config/constants.php @@ -0,0 +1,85 @@ +db->last_query() and profiling of DB queries. +| When you run a query, with this setting set to TRUE (default), +| CodeIgniter will store the SQL statement for debugging purposes. +| However, this may cause high memory usage, especially if you run +| a lot of SQL queries ... disable this to avoid that problem. +| +| The $active_group variable lets you choose which connection group to +| make active. By default there is only one group (the 'default' group). +| +| The $query_builder variables lets you determine whether or not to load +| the query builder class. +*/ +$active_group = 'default'; +$query_builder = TRUE; + +$db['default'] = array( + 'dsn' => '', + 'hostname' => 'localhost', + 'username' => 'root', + 'password' => '', + 'database' => 'policybot', + 'dbdriver' => 'mysqli', + 'dbprefix' => '', + 'pconnect' => FALSE, + 'db_debug' => (ENVIRONMENT !== 'production'), + 'cache_on' => FALSE, + 'cachedir' => '', + 'char_set' => 'utf8', + 'dbcollat' => 'utf8_general_ci', + 'swap_pre' => '', + 'encrypt' => FALSE, + 'compress' => FALSE, + 'stricton' => FALSE, + 'failover' => array(), + 'save_queries' => TRUE +); diff --git a/application/config/doctypes.php b/application/config/doctypes.php new file mode 100644 index 0000000..59a7991 --- /dev/null +++ b/application/config/doctypes.php @@ -0,0 +1,24 @@ + '', + 'xhtml1-strict' => '', + 'xhtml1-trans' => '', + 'xhtml1-frame' => '', + 'xhtml-basic11' => '', + 'html5' => '', + 'html4-strict' => '', + 'html4-trans' => '', + 'html4-frame' => '', + 'mathml1' => '', + 'mathml2' => '', + 'svg10' => '', + 'svg11' => '', + 'svg11-basic' => '', + 'svg11-tiny' => '', + 'xhtml-math-svg-xh' => '', + 'xhtml-math-svg-sh' => '', + 'xhtml-rdfa-1' => '', + 'xhtml-rdfa-2' => '' +); diff --git a/application/config/foreign_chars.php b/application/config/foreign_chars.php new file mode 100644 index 0000000..995f483 --- /dev/null +++ b/application/config/foreign_chars.php @@ -0,0 +1,103 @@ + 'ae', + '/ö|œ/' => 'oe', + '/ü/' => 'ue', + '/Ä/' => 'Ae', + '/Ü/' => 'Ue', + '/Ö/' => 'Oe', + '/À|Á|Â|Ã|Ä|Å|Ǻ|Ā|Ă|Ą|Ǎ|Α|Ά|Ả|Ạ|Ầ|Ẫ|Ẩ|Ậ|Ằ|Ắ|Ẵ|Ẳ|Ặ|А/' => 'A', + '/à|á|â|ã|å|ǻ|ā|ă|ą|ǎ|ª|α|ά|ả|ạ|ầ|ấ|ẫ|ẩ|ậ|ằ|ắ|ẵ|ẳ|ặ|а/' => 'a', + '/Б/' => 'B', + '/б/' => 'b', + '/Ç|Ć|Ĉ|Ċ|Č/' => 'C', + '/ç|ć|ĉ|ċ|č/' => 'c', + '/Д/' => 'D', + '/д/' => 'd', + '/Ð|Ď|Đ|Δ/' => 'Dj', + '/ð|ď|đ|δ/' => 'dj', + '/È|É|Ê|Ë|Ē|Ĕ|Ė|Ę|Ě|Ε|Έ|Ẽ|Ẻ|Ẹ|Ề|Ế|Ễ|Ể|Ệ|Е|Э/' => 'E', + '/è|é|ê|ë|ē|ĕ|ė|ę|ě|έ|ε|ẽ|ẻ|ẹ|ề|ế|ễ|ể|ệ|е|э/' => 'e', + '/Ф/' => 'F', + '/ф/' => 'f', + '/Ĝ|Ğ|Ġ|Ģ|Γ|Г|Ґ/' => 'G', + '/ĝ|ğ|ġ|ģ|γ|г|ґ/' => 'g', + '/Ĥ|Ħ/' => 'H', + '/ĥ|ħ/' => 'h', + '/Ì|Í|Î|Ï|Ĩ|Ī|Ĭ|Ǐ|Į|İ|Η|Ή|Ί|Ι|Ϊ|Ỉ|Ị|И|Ы/' => 'I', + '/ì|í|î|ï|ĩ|ī|ĭ|ǐ|į|ı|η|ή|ί|ι|ϊ|ỉ|ị|и|ы|ї/' => 'i', + '/Ĵ/' => 'J', + '/ĵ/' => 'j', + '/Ķ|Κ|К/' => 'K', + '/ķ|κ|к/' => 'k', + '/Ĺ|Ļ|Ľ|Ŀ|Ł|Λ|Л/' => 'L', + '/ĺ|ļ|ľ|ŀ|ł|λ|л/' => 'l', + '/М/' => 'M', + '/м/' => 'm', + '/Ñ|Ń|Ņ|Ň|Ν|Н/' => 'N', + '/ñ|ń|ņ|ň|ʼn|ν|н/' => 'n', + '/Ò|Ó|Ô|Õ|Ō|Ŏ|Ǒ|Ő|Ơ|Ø|Ǿ|Ο|Ό|Ω|Ώ|Ỏ|Ọ|Ồ|Ố|Ỗ|Ổ|Ộ|Ờ|Ớ|Ỡ|Ở|Ợ|О/' => 'O', + '/ò|ó|ô|õ|ō|ŏ|ǒ|ő|ơ|ø|ǿ|º|ο|ό|ω|ώ|ỏ|ọ|ồ|ố|ỗ|ổ|ộ|ờ|ớ|ỡ|ở|ợ|о/' => 'o', + '/П/' => 'P', + '/п/' => 'p', + '/Ŕ|Ŗ|Ř|Ρ|Р/' => 'R', + '/ŕ|ŗ|ř|ρ|р/' => 'r', + '/Ś|Ŝ|Ş|Ș|Š|Σ|С/' => 'S', + '/ś|ŝ|ş|ș|š|ſ|σ|ς|с/' => 's', + '/Ț|Ţ|Ť|Ŧ|τ|Т/' => 'T', + '/ț|ţ|ť|ŧ|т/' => 't', + '/Þ|þ/' => 'th', + '/Ù|Ú|Û|Ũ|Ū|Ŭ|Ů|Ű|Ų|Ư|Ǔ|Ǖ|Ǘ|Ǚ|Ǜ|Ũ|Ủ|Ụ|Ừ|Ứ|Ữ|Ử|Ự|У/' => 'U', + '/ù|ú|û|ũ|ū|ŭ|ů|ű|ų|ư|ǔ|ǖ|ǘ|ǚ|ǜ|υ|ύ|ϋ|ủ|ụ|ừ|ứ|ữ|ử|ự|у/' => 'u', + '/Ƴ|Ɏ|Ỵ|Ẏ|Ӳ|Ӯ|Ў|Ý|Ÿ|Ŷ|Υ|Ύ|Ϋ|Ỳ|Ỹ|Ỷ|Ỵ|Й/' => 'Y', + '/ẙ|ʏ|ƴ|ɏ|ỵ|ẏ|ӳ|ӯ|ў|ý|ÿ|ŷ|ỳ|ỹ|ỷ|ỵ|й/' => 'y', + '/В/' => 'V', + '/в/' => 'v', + '/Ŵ/' => 'W', + '/ŵ/' => 'w', + '/Ź|Ż|Ž|Ζ|З/' => 'Z', + '/ź|ż|ž|ζ|з/' => 'z', + '/Æ|Ǽ/' => 'AE', + '/ß/' => 'ss', + '/IJ/' => 'IJ', + '/ij/' => 'ij', + '/Œ/' => 'OE', + '/ƒ/' => 'f', + '/ξ/' => 'ks', + '/π/' => 'p', + '/β/' => 'v', + '/μ/' => 'm', + '/ψ/' => 'ps', + '/Ё/' => 'Yo', + '/ё/' => 'yo', + '/Є/' => 'Ye', + '/є/' => 'ye', + '/Ї/' => 'Yi', + '/Ж/' => 'Zh', + '/ж/' => 'zh', + '/Х/' => 'Kh', + '/х/' => 'kh', + '/Ц/' => 'Ts', + '/ц/' => 'ts', + '/Ч/' => 'Ch', + '/ч/' => 'ch', + '/Ш/' => 'Sh', + '/ш/' => 'sh', + '/Щ/' => 'Shch', + '/щ/' => 'shch', + '/Ъ|ъ|Ь|ь/' => '', + '/Ю/' => 'Yu', + '/ю/' => 'yu', + '/Я/' => 'Ya', + '/я/' => 'ya' +); diff --git a/application/config/hooks.php b/application/config/hooks.php new file mode 100644 index 0000000..a8f38a5 --- /dev/null +++ b/application/config/hooks.php @@ -0,0 +1,13 @@ + + + +Directory access is forbidden.
+ + + diff --git a/application/config/memcached.php b/application/config/memcached.php new file mode 100644 index 0000000..5c23b39 --- /dev/null +++ b/application/config/memcached.php @@ -0,0 +1,19 @@ + array( + 'hostname' => '127.0.0.1', + 'port' => '11211', + 'weight' => '1', + ), +); diff --git a/application/config/migration.php b/application/config/migration.php new file mode 100644 index 0000000..4b585a6 --- /dev/null +++ b/application/config/migration.php @@ -0,0 +1,84 @@ +migration->current() this is the version that schema will +| be upgraded / downgraded to. +| +*/ +$config['migration_version'] = 0; + +/* +|-------------------------------------------------------------------------- +| Migrations Path +|-------------------------------------------------------------------------- +| +| Path to your migrations folder. +| Typically, it will be within your application path. +| Also, writing permission is required within the migrations path. +| +*/ +$config['migration_path'] = APPPATH.'migrations/'; diff --git a/application/config/mimes.php b/application/config/mimes.php new file mode 100644 index 0000000..0ec9db0 --- /dev/null +++ b/application/config/mimes.php @@ -0,0 +1,184 @@ + array('application/mac-binhex40', 'application/mac-binhex', 'application/x-binhex40', 'application/x-mac-binhex40'), + 'cpt' => 'application/mac-compactpro', + 'csv' => array('text/x-comma-separated-values', 'text/comma-separated-values', 'application/octet-stream', 'application/vnd.ms-excel', 'application/x-csv', 'text/x-csv', 'text/csv', 'application/csv', 'application/excel', 'application/vnd.msexcel', 'text/plain'), + 'bin' => array('application/macbinary', 'application/mac-binary', 'application/octet-stream', 'application/x-binary', 'application/x-macbinary'), + 'dms' => 'application/octet-stream', + 'lha' => 'application/octet-stream', + 'lzh' => 'application/octet-stream', + 'exe' => array('application/octet-stream', 'application/x-msdownload'), + 'class' => 'application/octet-stream', + 'psd' => array('application/x-photoshop', 'image/vnd.adobe.photoshop'), + 'so' => 'application/octet-stream', + 'sea' => 'application/octet-stream', + 'dll' => 'application/octet-stream', + 'oda' => 'application/oda', + 'pdf' => array('application/pdf', 'application/force-download', 'application/x-download', 'binary/octet-stream'), + 'ai' => array('application/pdf', 'application/postscript'), + 'eps' => 'application/postscript', + 'ps' => 'application/postscript', + 'smi' => 'application/smil', + 'smil' => 'application/smil', + 'mif' => 'application/vnd.mif', + 'xls' => array('application/vnd.ms-excel', 'application/msexcel', 'application/x-msexcel', 'application/x-ms-excel', 'application/x-excel', 'application/x-dos_ms_excel', 'application/xls', 'application/x-xls', 'application/excel', 'application/download', 'application/vnd.ms-office', 'application/msword'), + 'ppt' => array('application/powerpoint', 'application/vnd.ms-powerpoint', 'application/vnd.ms-office', 'application/msword'), + 'pptx' => array('application/vnd.openxmlformats-officedocument.presentationml.presentation', 'application/x-zip', 'application/zip'), + 'wbxml' => 'application/wbxml', + 'wmlc' => 'application/wmlc', + 'dcr' => 'application/x-director', + 'dir' => 'application/x-director', + 'dxr' => 'application/x-director', + 'dvi' => 'application/x-dvi', + 'gtar' => 'application/x-gtar', + 'gz' => 'application/x-gzip', + 'gzip' => 'application/x-gzip', + 'php' => array('application/x-httpd-php', 'application/php', 'application/x-php', 'text/php', 'text/x-php', 'application/x-httpd-php-source'), + 'php4' => 'application/x-httpd-php', + 'php3' => 'application/x-httpd-php', + 'phtml' => 'application/x-httpd-php', + 'phps' => 'application/x-httpd-php-source', + 'js' => array('application/x-javascript', 'text/plain'), + 'swf' => 'application/x-shockwave-flash', + 'sit' => 'application/x-stuffit', + 'tar' => 'application/x-tar', + 'tgz' => array('application/x-tar', 'application/x-gzip-compressed'), + 'z' => 'application/x-compress', + 'xhtml' => 'application/xhtml+xml', + 'xht' => 'application/xhtml+xml', + 'zip' => array('application/x-zip', 'application/zip', 'application/x-zip-compressed', 'application/s-compressed', 'multipart/x-zip'), + 'rar' => array('application/x-rar', 'application/rar', 'application/x-rar-compressed'), + 'mid' => 'audio/midi', + 'midi' => 'audio/midi', + 'mpga' => 'audio/mpeg', + 'mp2' => 'audio/mpeg', + 'mp3' => array('audio/mpeg', 'audio/mpg', 'audio/mpeg3', 'audio/mp3'), + 'aif' => array('audio/x-aiff', 'audio/aiff'), + 'aiff' => array('audio/x-aiff', 'audio/aiff'), + 'aifc' => 'audio/x-aiff', + 'ram' => 'audio/x-pn-realaudio', + 'rm' => 'audio/x-pn-realaudio', + 'rpm' => 'audio/x-pn-realaudio-plugin', + 'ra' => 'audio/x-realaudio', + 'rv' => 'video/vnd.rn-realvideo', + 'wav' => array('audio/x-wav', 'audio/wave', 'audio/wav'), + 'bmp' => array('image/bmp', 'image/x-bmp', 'image/x-bitmap', 'image/x-xbitmap', 'image/x-win-bitmap', 'image/x-windows-bmp', 'image/ms-bmp', 'image/x-ms-bmp', 'application/bmp', 'application/x-bmp', 'application/x-win-bitmap'), + 'gif' => 'image/gif', + 'jpeg' => array('image/jpeg', 'image/pjpeg'), + 'jpg' => array('image/jpeg', 'image/pjpeg'), + 'jpe' => array('image/jpeg', 'image/pjpeg'), + 'jp2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'), + 'j2k' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'), + 'jpf' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'), + 'jpg2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'), + 'jpx' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'), + 'jpm' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'), + 'mj2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'), + 'mjp2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'), + 'png' => array('image/png', 'image/x-png'), + 'tiff' => 'image/tiff', + 'tif' => 'image/tiff', + 'css' => array('text/css', 'text/plain'), + 'html' => array('text/html', 'text/plain'), + 'htm' => array('text/html', 'text/plain'), + 'shtml' => array('text/html', 'text/plain'), + 'txt' => 'text/plain', + 'text' => 'text/plain', + 'log' => array('text/plain', 'text/x-log'), + 'rtx' => 'text/richtext', + 'rtf' => 'text/rtf', + 'xml' => array('application/xml', 'text/xml', 'text/plain'), + 'xsl' => array('application/xml', 'text/xsl', 'text/xml'), + 'mpeg' => 'video/mpeg', + 'mpg' => 'video/mpeg', + 'mpe' => 'video/mpeg', + 'qt' => 'video/quicktime', + 'mov' => 'video/quicktime', + 'avi' => array('video/x-msvideo', 'video/msvideo', 'video/avi', 'application/x-troff-msvideo'), + 'movie' => 'video/x-sgi-movie', + 'doc' => array('application/msword', 'application/vnd.ms-office'), + 'docx' => array('application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/zip', 'application/msword', 'application/x-zip'), + 'dot' => array('application/msword', 'application/vnd.ms-office'), + 'dotx' => array('application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/zip', 'application/msword'), + 'xlsx' => array('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/zip', 'application/vnd.ms-excel', 'application/msword', 'application/x-zip'), + 'word' => array('application/msword', 'application/octet-stream'), + 'xl' => 'application/excel', + 'eml' => 'message/rfc822', + 'json' => array('application/json', 'text/json'), + 'pem' => array('application/x-x509-user-cert', 'application/x-pem-file', 'application/octet-stream'), + 'p10' => array('application/x-pkcs10', 'application/pkcs10'), + 'p12' => 'application/x-pkcs12', + 'p7a' => 'application/x-pkcs7-signature', + 'p7c' => array('application/pkcs7-mime', 'application/x-pkcs7-mime'), + 'p7m' => array('application/pkcs7-mime', 'application/x-pkcs7-mime'), + 'p7r' => 'application/x-pkcs7-certreqresp', + 'p7s' => 'application/pkcs7-signature', + 'crt' => array('application/x-x509-ca-cert', 'application/x-x509-user-cert', 'application/pkix-cert'), + 'crl' => array('application/pkix-crl', 'application/pkcs-crl'), + 'der' => 'application/x-x509-ca-cert', + 'kdb' => 'application/octet-stream', + 'pgp' => 'application/pgp', + 'gpg' => 'application/gpg-keys', + 'sst' => 'application/octet-stream', + 'csr' => 'application/octet-stream', + 'rsa' => 'application/x-pkcs7', + 'cer' => array('application/pkix-cert', 'application/x-x509-ca-cert'), + '3g2' => 'video/3gpp2', + '3gp' => array('video/3gp', 'video/3gpp'), + 'mp4' => 'video/mp4', + 'm4a' => 'audio/x-m4a', + 'f4v' => array('video/mp4', 'video/x-f4v'), + 'flv' => 'video/x-flv', + 'webm' => 'video/webm', + 'aac' => 'audio/x-acc', + 'm4u' => 'application/vnd.mpegurl', + 'm3u' => 'text/plain', + 'xspf' => 'application/xspf+xml', + 'vlc' => 'application/videolan', + 'wmv' => array('video/x-ms-wmv', 'video/x-ms-asf'), + 'au' => 'audio/x-au', + 'ac3' => 'audio/ac3', + 'flac' => 'audio/x-flac', + 'ogg' => array('audio/ogg', 'video/ogg', 'application/ogg'), + 'kmz' => array('application/vnd.google-earth.kmz', 'application/zip', 'application/x-zip'), + 'kml' => array('application/vnd.google-earth.kml+xml', 'application/xml', 'text/xml'), + 'ics' => 'text/calendar', + 'ical' => 'text/calendar', + 'zsh' => 'text/x-scriptzsh', + '7z' => array('application/x-7z-compressed', 'application/x-compressed', 'application/x-zip-compressed', 'application/zip', 'multipart/x-zip'), + '7zip' => array('application/x-7z-compressed', 'application/x-compressed', 'application/x-zip-compressed', 'application/zip', 'multipart/x-zip'), + 'cdr' => array('application/cdr', 'application/coreldraw', 'application/x-cdr', 'application/x-coreldraw', 'image/cdr', 'image/x-cdr', 'zz-application/zz-winassoc-cdr'), + 'wma' => array('audio/x-ms-wma', 'video/x-ms-asf'), + 'jar' => array('application/java-archive', 'application/x-java-application', 'application/x-jar', 'application/x-compressed'), + 'svg' => array('image/svg+xml', 'application/xml', 'text/xml'), + 'vcf' => 'text/x-vcard', + 'srt' => array('text/srt', 'text/plain'), + 'vtt' => array('text/vtt', 'text/plain'), + 'ico' => array('image/x-icon', 'image/x-ico', 'image/vnd.microsoft.icon'), + 'odc' => 'application/vnd.oasis.opendocument.chart', + 'otc' => 'application/vnd.oasis.opendocument.chart-template', + 'odf' => 'application/vnd.oasis.opendocument.formula', + 'otf' => 'application/vnd.oasis.opendocument.formula-template', + 'odg' => 'application/vnd.oasis.opendocument.graphics', + 'otg' => 'application/vnd.oasis.opendocument.graphics-template', + 'odi' => 'application/vnd.oasis.opendocument.image', + 'oti' => 'application/vnd.oasis.opendocument.image-template', + 'odp' => 'application/vnd.oasis.opendocument.presentation', + 'otp' => 'application/vnd.oasis.opendocument.presentation-template', + 'ods' => 'application/vnd.oasis.opendocument.spreadsheet', + 'ots' => 'application/vnd.oasis.opendocument.spreadsheet-template', + 'odt' => 'application/vnd.oasis.opendocument.text', + 'odm' => 'application/vnd.oasis.opendocument.text-master', + 'ott' => 'application/vnd.oasis.opendocument.text-template', + 'oth' => 'application/vnd.oasis.opendocument.text-web' +); diff --git a/application/config/profiler.php b/application/config/profiler.php new file mode 100644 index 0000000..3db22e3 --- /dev/null +++ b/application/config/profiler.php @@ -0,0 +1,14 @@ + array('grin.gif', '19', '19', 'grin'), + ':lol:' => array('lol.gif', '19', '19', 'LOL'), + ':cheese:' => array('cheese.gif', '19', '19', 'cheese'), + ':)' => array('smile.gif', '19', '19', 'smile'), + ';-)' => array('wink.gif', '19', '19', 'wink'), + ';)' => array('wink.gif', '19', '19', 'wink'), + ':smirk:' => array('smirk.gif', '19', '19', 'smirk'), + ':roll:' => array('rolleyes.gif', '19', '19', 'rolleyes'), + ':-S' => array('confused.gif', '19', '19', 'confused'), + ':wow:' => array('surprise.gif', '19', '19', 'surprised'), + ':bug:' => array('bigsurprise.gif', '19', '19', 'big surprise'), + ':-P' => array('tongue_laugh.gif', '19', '19', 'tongue laugh'), + '%-P' => array('tongue_rolleye.gif', '19', '19', 'tongue rolleye'), + ';-P' => array('tongue_wink.gif', '19', '19', 'tongue wink'), + ':P' => array('raspberry.gif', '19', '19', 'raspberry'), + ':blank:' => array('blank.gif', '19', '19', 'blank stare'), + ':long:' => array('longface.gif', '19', '19', 'long face'), + ':ohh:' => array('ohh.gif', '19', '19', 'ohh'), + ':grrr:' => array('grrr.gif', '19', '19', 'grrr'), + ':gulp:' => array('gulp.gif', '19', '19', 'gulp'), + '8-/' => array('ohoh.gif', '19', '19', 'oh oh'), + ':down:' => array('downer.gif', '19', '19', 'downer'), + ':red:' => array('embarrassed.gif', '19', '19', 'red face'), + ':sick:' => array('sick.gif', '19', '19', 'sick'), + ':shut:' => array('shuteye.gif', '19', '19', 'shut eye'), + ':-/' => array('hmm.gif', '19', '19', 'hmmm'), + '>:(' => array('mad.gif', '19', '19', 'mad'), + ':mad:' => array('mad.gif', '19', '19', 'mad'), + '>:-(' => array('angry.gif', '19', '19', 'angry'), + ':angry:' => array('angry.gif', '19', '19', 'angry'), + ':zip:' => array('zip.gif', '19', '19', 'zipper'), + ':kiss:' => array('kiss.gif', '19', '19', 'kiss'), + ':ahhh:' => array('shock.gif', '19', '19', 'shock'), + ':coolsmile:' => array('shade_smile.gif', '19', '19', 'cool smile'), + ':coolsmirk:' => array('shade_smirk.gif', '19', '19', 'cool smirk'), + ':coolgrin:' => array('shade_grin.gif', '19', '19', 'cool grin'), + ':coolhmm:' => array('shade_hmm.gif', '19', '19', 'cool hmm'), + ':coolmad:' => array('shade_mad.gif', '19', '19', 'cool mad'), + ':coolcheese:' => array('shade_cheese.gif', '19', '19', 'cool cheese'), + ':vampire:' => array('vampire.gif', '19', '19', 'vampire'), + ':snake:' => array('snake.gif', '19', '19', 'snake'), + ':exclaim:' => array('exclaim.gif', '19', '19', 'exclaim'), + ':question:' => array('question.gif', '19', '19', 'question') + +); diff --git a/application/config/user_agents.php b/application/config/user_agents.php new file mode 100644 index 0000000..b6c8563 --- /dev/null +++ b/application/config/user_agents.php @@ -0,0 +1,214 @@ + 'Windows 10', + 'windows nt 6.3' => 'Windows 8.1', + 'windows nt 6.2' => 'Windows 8', + 'windows nt 6.1' => 'Windows 7', + 'windows nt 6.0' => 'Windows Vista', + 'windows nt 5.2' => 'Windows 2003', + 'windows nt 5.1' => 'Windows XP', + 'windows nt 5.0' => 'Windows 2000', + 'windows nt 4.0' => 'Windows NT 4.0', + 'winnt4.0' => 'Windows NT 4.0', + 'winnt 4.0' => 'Windows NT', + 'winnt' => 'Windows NT', + 'windows 98' => 'Windows 98', + 'win98' => 'Windows 98', + 'windows 95' => 'Windows 95', + 'win95' => 'Windows 95', + 'windows phone' => 'Windows Phone', + 'windows' => 'Unknown Windows OS', + 'android' => 'Android', + 'blackberry' => 'BlackBerry', + 'iphone' => 'iOS', + 'ipad' => 'iOS', + 'ipod' => 'iOS', + 'os x' => 'Mac OS X', + 'ppc mac' => 'Power PC Mac', + 'freebsd' => 'FreeBSD', + 'ppc' => 'Macintosh', + 'linux' => 'Linux', + 'debian' => 'Debian', + 'sunos' => 'Sun Solaris', + 'beos' => 'BeOS', + 'apachebench' => 'ApacheBench', + 'aix' => 'AIX', + 'irix' => 'Irix', + 'osf' => 'DEC OSF', + 'hp-ux' => 'HP-UX', + 'netbsd' => 'NetBSD', + 'bsdi' => 'BSDi', + 'openbsd' => 'OpenBSD', + 'gnu' => 'GNU/Linux', + 'unix' => 'Unknown Unix OS', + 'symbian' => 'Symbian OS' +); + + +// The order of this array should NOT be changed. Many browsers return +// multiple browser types so we want to identify the sub-type first. +$browsers = array( + 'OPR' => 'Opera', + 'Flock' => 'Flock', + 'Edge' => 'Edge', + 'Chrome' => 'Chrome', + // Opera 10+ always reports Opera/9.80 and appends Version/Hai '.$fullname.'
Thank you for Showing interest with us.
Please click the below button to verify your email.
+ + + '); + $emailsent=$this->email->send(); + + if($emailsent) + { + $this->session->set_userdata('suc','Registeration completed successfully.Kindly verify your mail to activate this account..!'); + redirect('home'); + + } + else + { + $this->session->set_userdata('err','Please try again'); + redirect('home'); + } + + } + $data['cmp']=$this->Company_model->list_cmp(); + $data['cat']=$this->Category_model->list_cat(); + $data['race']=$this->Frontend_model->agent_racetype(); + $this->load->view('front/become_agent',$data); + } + function list_policy() + { + $data['pol']=$this->Frontend_model->list_policy(); + $this->load->view('front/policy-list',$data); + } + function policy_detail($id) + { + $data['pol']=$this->Frontend_model->list_policy($id); + $data['pols']=$this->Frontend_model->list_policy(); + + $this->load->view('front/policy-detail',$data); + } + function emailcheck() + { + $email=$_POST['email']; + $tables="users"; + $wheres=array("email"=>$email); + $shows=("*"); + $emailex=$this->commonsql_model->selectTable($tables,$wheres,$shows); + if($emailex->num_rows()>0){ + echo "1"; + } + else + + { + echo "2"; + } + } + function enq_emailcheck() + { + $email=$_POST['email']; + $tables="users"; + $wheres=array("email"=>$email); + $shows=("*"); + $emailex=$this->commonsql_model->selectTable($tables,$wheres,$shows); + if($emailex->num_rows()>0){ + $ee=$emailex->row(); + $estatus=$ee->status; + $id=$ee->id; + if($estatus=="1") + { + echo "1_".$id; + } + if($estatus=="0") + { + echo "2_0"; + } + } + else + { + echo "3_0"; + } + } + function register() + { + $fullname = $this->input->post('rfullname'); + $email = $this->input->post('remail'); + $mobile = $this->input->post('rmobile'); + $pincode = $this->input->post('rpincode'); + $password = $this->input->post('password'); + $conform_password = $this->input->post('conform_password'); + + $table="users"; + $values=array('userrole'=>0,//user + 'name'=>$fullname, + 'email'=>$email, + 'password'=>md5($password), + 'mobile'=>$mobile, + 'pincode'=>$pincode, + 'cdate'=>date('Y-m-d H:i:s'), + 'status'=>0); + $result=$this->commonsql_model->insert_table($table,$values); + $userid=$this->db->insert_id(); + $from_email = "kaleeswari.dotwings@gmail.com"; + $to_email = $email; + + //Load email library + $this->load->library('email'); + + $this->email->from($from_email, 'Policybot'); + $this->email->to($to_email); + ; + $this->email->set_header('Content-Type', 'text/html'); + + $this->email->subject('Policybot Email Verification'); + $this->email->message(' +Hai '.$fullname.'
Thank you for Showing interest with us.
Please click the below button to verify your email.
+ + + '); + $emailsent=$this->email->send(); + + if($emailsent) + { + $this->session->set_userdata('suc','Registeration completed successfully.Kindly verify your mail to activate this account..!'); + redirect('home'); + + } + else + { + $this->session->set_userdata('err','Please try again'); + redirect('home'); + } + } + function emailactivate($uid) + { + $table="users"; + $where=array("id"=>$uid); + $values=array( + 'status'=>1); + $result=$this->commonsql_model->updateTable($table,$where,$values); + if($result) + { + $this->session->set_userdata('suc','Your user account has been activated...!'); + redirect('home'); + + } + else + { + $this->session->set_userdata('err','Please try again'); + redirect('home'); + } + } + function agentemailactivate($aid) + { + $table="users"; + $where=array("id"=>$aid); + $values=array( + 'status'=>1); + $result=$this->commonsql_model->updateTable($table,$where,$values); + $table="agents"; + $where=array("user_id"=>$aid); + $values=array( + 'status'=>1); + $result=$this->commonsql_model->updateTable($table,$where,$values); + if($result) + { + $this->session->set_userdata('suc','Your user account has been activated...!'); + redirect('home'); + + } + else + { + $this->session->set_userdata('err','Please try again'); + redirect('home'); + } + } + function logincheck() + { + $username = $this->input->post('loginemail'); + $password = $this->input->post('loginpassword'); + $check_user=$this->Frontend_model->frontusercheck($username,$password); + //echo $this->db->last_query();exit; + if($check_user->num_rows()>0) + { + $ch = $check_user->row(); + $status=$ch->status; + if($status=="0") + { + $this->session->set_userdata('err','Please activate your account and login again..!'); + redirect('home'); + } + else + { + $this->session->set_userdata('primaryid',$ch->id); + $this->session->set_userdata('userrole',$ch->userrole); + $this->session->set_userdata('loggedname',$ch->name); + $this->session->set_userdata('loggedmobile',$ch->mobile); + $this->session->set_userdata('loggedpincode',$ch->pincode); + $this->session->set_userdata('loggeddob',""); + $this->session->set_userdata('loggedgender',""); + $this->session->set_userdata('loggedcarno',""); + $this->session->set_userdata('loggedbikeno',""); + $this->session->set_userdata('loggedcompanyno',""); + $this->session->set_userdata('loggedcountry',""); + $this->session->set_userdata('loggedleavingdate',""); + $this->session->set_userdata('loggedreturndate',""); + + + $this->session->set_userdata('suc','Successfully Logged in..!'); + redirect('front-dashboard'); + } + } + else + { + $this->session->set_userdata('err','The username or password you entered is incorrect.'); + redirect('home'); + } + } + function dashboard() + { + if($this->session->userdata('primaryid')==""){ redirect('home'); } + + $this->load->view('front/ua-dashboard'); + } + function user_logout() + { + if($this->session->userdata('primaryid')==""){ redirect('home'); } + $session_data=array('primaryid'=>''); + $session_data=array('userrole'=>''); + $session_data=array('loggedname'=>''); + $this->session->unset_userdata($session_data); + $res=$this->session->sess_destroy(); + if($res) + { + $this->session->set_userdata('suc','Logged Out Successfully..!'); + redirect('home'); + + } + else + { + $this->session->set_userdata('err','Please try again'); + redirect('home'); + } + + + } + function agent_logout() + { + $session_data=array('primaryid'=>''); + $session_data=array('userrole'=>''); + $session_data=array('loggedname'=>''); + $this->session->unset_userdata($session_data); + $this->session->sess_destroy(); + redirect('home'); + + } + function add_wish($uid,$pid) + { + if($this->session->userdata('primaryid')==""){ redirect('home'); } + $table="wishlist"; + $values=array('user_id'=>$uid,//user + 'policy_id'=>$pid, + + 'cdate'=>date('Y-m-d H:i:s'), + 'status'=>1); + $result=$this->commonsql_model->insert_table($table,$values); + if($result) + { + $this->session->set_userdata('suc','Added to your wishlist...!'); + redirect('policy-detail/'.$pid); + + } + else + { + $this->session->set_userdata('err','Please try again'); + redirect('policy-detail/'.$pid); + } + } + function remove_wish($uid,$pid) + { + if($this->session->userdata('primaryid')==""){ redirect('home'); } + $table="wishlist"; + $where=array("user_id"=>$uid,"policy_id"=>$pid); + $values=array( + 'status'=>0); + $result=$this->commonsql_model->updateTable($table,$where,$values); + if($result) + { + $this->session->set_userdata('suc','Removed from your wishlist...!'); + redirect('policy-detail/'.$pid); + + } + else + { + $this->session->set_userdata('err','Please try again'); + redirect('policy-detail/'.$pid); + } + } + function user_profile() + { + if($this->session->userdata('primaryid')==""){ redirect('home'); } + $this->load->view('front/user-profile'); + } + function user_editprofile() + { + if($this->session->userdata('primaryid')==""){ redirect('home'); } + if($this->input->post('submit')) + { + $primaryid=$this->input->post('primaryid'); + $fullname=$this->input->post('fullname'); + $mobile=$this->input->post('mobile'); + $pincode=$this->input->post('pincode'); + $address=$this->input->post('address'); + $oldprofile=$this->input->post('oldprofile'); + $profiles=$this->input->post('profiles'); + $old_pass=$this->input->post('old_pass'); + $change_passwords=$this->input->post('change_passwords'); + $conform_passwords=$this->input->post('conform_passwords'); + if($change_passwords==""){ $pass=$old_pass; } + else{ $pass=md5($change_passwords); } + if($profiles=="") { + $simage=$oldprofile; + } + + + + if (!is_dir('uploads/userprofile')) { + mkdir('./uploads/userprofile', 0777, TRUE); + + } + + $valid_extensions = array('jpeg', 'jpg', 'png'); // valid extensions + $path = 'uploads/userprofile/'; // upload directory + + if($_FILES['profiles']) + { + + $img = $_FILES['profiles']['name']; + $tmp = $_FILES['profiles']['tmp_name']; + // get uploaded file's extension + $ext = strtolower(pathinfo($img, PATHINFO_EXTENSION)); + // can upload same image using rand function + $final_image = "Image".rand(1000,1000000).$img; + // check's valid format + if(in_array($ext, $valid_extensions)) + { + $simage = $path.strtolower($final_image); + if(move_uploaded_file($tmp,$simage)) + {}} } + $table="users"; + $where=array("id"=>$primaryid); + $values=array('name'=>$fullname, + 'mobile'=>$mobile, + 'pincode'=>$pincode, + 'address'=>$address, + 'profilepic'=>$simage, + 'password'=>$pass, + 'status'=>1); + $result=$this->commonsql_model->updateTable($table,$where,$values); + if($result) + { + $this->session->set_userdata('suc','Profile updated successfully...!'); + redirect('front-dashboard'); + + } + else + { + $this->session->set_userdata('err','Please try again'); + redirect('front-dashboard'); + } + } + + } + + function favourites() + { + if($this->session->userdata('primaryid')==""){ redirect('home'); } + $this->load->view('front/user-favourites'); + } + function remocefavoyrite() + { + $wid=$_POST["wid"]; + $table="wishlist"; + $where=array("id"=>$wid); + $values=array( + + 'status'=>0); + $result=$this->commonsql_model->updateTable($table,$where,$values); + if($result) + { + echo "1"; + + } + else + { + echo "2"; + } + } + function agent_profile() + { + if($this->session->userdata('primaryid')==""){ redirect('home'); } + $id=$this->session->userdata('primaryid'); + $data['age']=$this->Frontend_model->agent_detail($id); + $data['cmp']=$this->Company_model->list_cmp(); + $data['cat']=$this->Category_model->list_cat(); + $data['race']=$this->Frontend_model->agent_racetype(); + $this->load->view('front/agent-profile',$data); + } + function agent_edit_profile() + { + if($this->session->userdata('primaryid')==""){ redirect('home'); } + if($this->input->post('submit')) + { + $oldprofile=$this->input->post('oldprofile'); + $profiles=$this->input->post('input6'); + $old_pass=$this->input->post('old_pass'); + $change_passwords=$this->input->post('change_passwords'); + $conform_passwords=$this->input->post('conform_passwords'); + if($change_passwords==""){ $pass=$old_pass; } + else{ $pass=md5($change_passwords); } + + if($profiles=="") { + $simage=$oldprofile; + } + $primaryid=$this->input->post('primaryid'); + $agent_code=$this->input->post('agent_code'); + $fullname=$this->input->post('fullname'); + $email=$this->input->post('email'); + $exper_number=$this->input->post('exper_number'); + $ex_period=$this->input->post('ex_period'); + $intro=$this->input->post('intro'); + $mobile=$this->input->post('mobile'); + $pincode=$this->input->post('pincode'); + $country=$this->input->post('country'); + $city=$this->input->post('city'); + $state=$this->input->post('state'); + $address=$this->input->post('address'); + $agent_cmp=$this->input->post('agent_cmp'); + $agent_cat=$this->input->post('agent_cat'); + $agent_lang=$this->input->post('agent_lang'); + $oldcategory=$this->input->post('oldcategory'); + $oldcompany=$this->input->post('oldcompany'); + $oldrace=$this->input->post('oldrace'); + $category_notify=$this->input->post('category_notify'); + $racetype_notify=$this->input->post('racetype_notify'); + $company_notify=$this->input->post('company_notify'); + $experience=$exper_number." ".$ex_period; + $lang =array(); + foreach($agent_lang as $key=>$val) + { + $lang[]=$agent_lang[$key]; + } + $lang_ress= implode(', ', $lang); + + $cat =array(); + foreach($agent_cat as $key=>$val) + { + $cat[]=$agent_cat[$key]; + } + $cat_ress= implode(', ', $cat); + //status 1 + + + $catstatus=$category_notify; + $racestatus=$racetype_notify; + $cmpstatus=$company_notify; + + $cat_res=$oldcategory; + $lang_res=$oldrace; + $agent_cmpp=$oldcompany; + if($category_notify!="1") + { $cat_res= $cat_ress; + if($cat_ress!=$oldcategory){ $catstatus="1"; } else { $catstatus="0"; } + } + if($racetype_notify!="1"){ + $lang_res= $lang_ress; + if($lang_ress!=$oldrace){ $racestatus="1"; } else { $racestatus="0"; } + } + if($company_notify!="1") + { + $agent_cmpp=$agent_cmp; + if($oldcompany!=$agent_cmp){ $cmpstatus="1"; } else{ $cmpstatus="0"; } + } + if (!is_dir('uploads/agentprofile')) { + mkdir('./uploads/agentprofile', 0777, TRUE); + + } + + $valid_extensions = array('jpeg', 'jpg', 'png'); // valid extensions + $path = 'uploads/agentprofile/'; // upload directory + + if($_FILES['input6']) + { + //echo "asdasd";exit; + $img = $_FILES['input6']['name']; + $tmp = $_FILES['input6']['tmp_name']; + // get uploaded file's extension + $ext = strtolower(pathinfo($img, PATHINFO_EXTENSION)); + // can upload same image using rand function + $final_image = "input6".rand(1000,1000000).$img; + // check's valid format + if(in_array($ext, $valid_extensions)) + { + $simage = $path.strtolower($final_image); + if(move_uploaded_file($tmp,$simage)) + {}} } + $table="users"; + $where=array("id"=>$primaryid); + $values=array('name'=>$fullname, + 'mobile'=>$mobile, + 'pincode'=>$pincode, + 'country'=>$country, + 'state'=>$state, + 'city'=>$city, + 'address'=>$address, + 'profilepic'=>$simage, + 'password'=>$pass, + 'status'=>1); + $result=$this->commonsql_model->updateTable($table,$where,$values); + + $table="agents"; + $where=array("user_id"=>$primaryid); + $values=array('agent_code'=>$agent_code, + 'intro'=>$intro, + 'pincode'=>$pincode, + 'experience'=>$experience, + 'company'=>$agent_cmpp, + 'racetype'=>$lang_res, + 'category'=>$cat_res, + 'category_notify'=>$catstatus, + 'racetype_notify'=>$racestatus, + 'company_notify'=>$cmpstatus, + 'status'=>1); + $result=$this->commonsql_model->updateTable($table,$where,$values); + $result= $this->db->last_query(); + + if($result) + { + $this->session->set_userdata('suc','Profile updated successfully...!'); + redirect('agent-profile'); + + } + else + { + $this->session->set_userdata('err','Please try again'); + redirect('agent-profile'); + } + } + $id=$this->session->userdata('primaryid'); + $data['age']=$this->Frontend_model->agent_detail($id); + $data['cmp']=$this->Company_model->list_cmp(); + $data['cat']=$this->Category_model->list_cat(); + $data['race']=$this->Frontend_model->agent_racetype(); + $this->load->view('front/agent-edit-profile',$data); + } + function agent_change_profile() + { + if($this->session->userdata('primaryid')==""){ redirect('home'); } + + $this->load->view('front/agent-change-profile'); + } + function change_agent_profile() + { + $primaryid=$this->input->post('primaryid'); + if (!is_dir('uploads/agentprofile')) { + mkdir('./uploads/agentprofile', 0777, TRUE); + + } + + $valid_extensions = array('jpeg', 'jpg', 'png'); // valid extensions + $path = 'uploads/agentprofile/'; // upload directory + + if($_FILES['input6']) + { + + $img = $_FILES['input6']['name']; + $tmp = $_FILES['input6']['tmp_name']; + // get uploaded file's extension + $ext = strtolower(pathinfo($img, PATHINFO_EXTENSION)); + // can upload same image using rand function + $final_image = "input6".rand(1000,1000000).$img; + // check's valid format + if(in_array($ext, $valid_extensions)) + { + $path = $path.strtolower($final_image); + + if(move_uploaded_file($tmp,$path)) + { + $table="users"; + $where=array("id"=>$primaryid); + $values=array( + 'profilepic'=>$path + ); + $result=$this->commonsql_model->updateTable($table,$where,$values); + } } } + if($result) + { + $this->session->set_userdata('suc','Profile picture updated successfully...!'); + redirect('agent-change-profile'); + + } + else + { + $this->session->set_userdata('err','Please try again'); + redirect('agent-change-profile'); + } + } + function agent_change_password() + { + if($this->session->userdata('primaryid')==""){ redirect('home'); } + if($this->input->post('submit')) + { + $primaryid=$this->input->post('primaryid'); + $old_pass=$this->input->post('old_pass'); + $change_passwords=$this->input->post('change_passwords'); + $conform_passwords=$this->input->post('conform_passwords'); + if($change_passwords==""){ $pass=$old_pass; } + else{ $pass=md5($change_passwords); } + $table="users"; + $where=array("id"=>$primaryid); + $values=array('password'=>$pass, + + 'status'=>1); + $result=$this->commonsql_model->updateTable($table,$where,$values); + if($result) + { + $this->session->set_userdata('suc','Password updated successfully...!'); + redirect('agent-change-password'); + + } + else + { + $this->session->set_userdata('err','Please try again'); + redirect('agent-change-password'); + } + } + $this->load->view('front/agent-change-password'); + } + function agent_review() + { + if($this->session->userdata('primaryid')==""){ redirect('home'); } + $id=$this->session->userdata('primaryid'); + + $data['rev']=$this->Frontend_model->user_review_to_agent($id); + $this->load->view('front/agent-review',$data); + } + function policydetailenquiry() + { + + if($this->input->post('submit')) + { + $primaryid=$this->input->post('primaryid'); + $policyid=$this->input->post('policyid'); + $name=$this->input->post('name'); + $email=$this->input->post('email'); + $Pincode=$this->input->post('Pincode'); + $Mobile=$this->input->post('Mobile'); + $message=$this->input->post('message'); + if($primaryid==""){ + $table="users"; + $values=array('name'=>$name, + 'email'=>$email, + 'mobile'=>$Mobile, + 'pincode'=>$Pincode, + 'cdate'=>date('Y-m-d H:i:s'), + 'status'=>0); + $result=$this->commonsql_model->insert_table($table,$values); + $userid=$this->db->insert_id(); + + $table="policy_detail_enquiry"; + + $values=array('userid'=>$userid, + 'policyid'=>$policyid, + 'name'=>$name, + 'email'=>$email, + 'pincode'=>$Pincode, + 'mobile'=>$Mobile, + 'message'=>$message, + 'cdate'=>date('Y-m-d H:i:s'), + 'status'=>1); + $result=$this->commonsql_model->insert_table($table,$values); + + + } + else + { + $table="policy_detail_enquiry"; + $values=array('userid'=>$primaryid, + 'policyid'=>$policyid, + 'name'=>$name, + 'email'=>$email, + 'pincode'=>$Pincode, + 'mobile'=>$Mobile, + 'message'=>$message, + 'cdate'=>date('Y-m-d H:i:s'), + 'status'=>1); + $result=$this->commonsql_model->insert_table($table,$values); + } + if($result) + { + $this->session->set_userdata('suc','Your enquiry details sent successfully. we will contact you soon...!'); + redirect('policy-detail/'.$policyid); + + } + else + { + $this->session->set_userdata('err','Please try again'); + redirect('policy-detail/'.$policyid); + } + } + } + function get_a_quote() + { + if($this->session->userdata('primaryid')==""){ redirect('home'); } + + $loggeduserid=$_POST['priid']; + $policyid=$_POST['polid']; + $table="quotes"; + $values=array('user_id'=>$loggeduserid, + 'policy_id'=>$policyid, + 'cdate'=>date('Y-m-d H:i:s'), + 'status'=>0); + $result=$this->commonsql_model->insert_table($table,$values); + if($result) + { + echo "1"; + + } + else + { + echo "2"; + } + } + function get_question_pop() + { + $cid=$_POST['catid']; + $data['primaryid']=$_POST['priid']; + $data['policyid']=$_POST['polid']; + $data['pincode']=$_POST['pin']; + $data['company']=$_POST['company']; + $data['getquest']=$this->Frontend_model->get_category_questions($cid); + //questionpop + $this->load->view('front/category_wise_question',$data); + } + function insert_question_category() + { + + parse_str($_POST["ser"], $ser_data); + $hide_answer=$ser_data["hide_answer"]; + $hide_question=$ser_data["hide_question"]; + $userid=$ser_data["userid"]; + $pincode=$ser_data["pincode"]; + $policyid=$ser_data["policyid"]; + $company=$ser_data["company"]; + + + + + $table="quotes"; + $values=array('user_id'=>$userid, + 'policy_id'=>$policyid, + + 'cdate'=>date('Y-m-d H:i:s'), + 'status'=>0); + $result=$this->commonsql_model->insert_table($table,$values); + + $quoe=$this->db->insert_id(); + + foreach($hide_question as $key=>$val){ + + + + + $hd_anss= $hide_answer[$key]; + + + $table="quote_questions"; + $values=array('quote_id'=>$quoe, + 'question'=>$hide_question[$key], + 'answer'=>$hd_anss, + 'status'=>1); + $result=$this->commonsql_model->insert_table($table,$values); + + } + $getingquote=$this->Frontend_model->select_pincode_agentcount($pincode,$agentcount=3,$company); + + foreach($getingquote->result() as $gq){ + + $name=$gq->name; + $profilepic=$gq->profilepic; + $email=$gq->email; + $mobile=$gq->mobile; + $company=$gq->company; + $experience=$gq->experience; + $getcmpname=$this->Frontend_model->get_company_name($company); + + if($getcmpname->num_rows()>0){ + $cm=$getcmpname->row(); + $companyname=$cm->name; + } + ?> +No related polices
Directory access is forbidden.
+ + + diff --git a/application/controllers/new 2.txt b/application/controllers/new 2.txt new file mode 100644 index 0000000..31660cc --- /dev/null +++ b/application/controllers/new 2.txt @@ -0,0 +1,28 @@ +// compare details + foreach($comparefields as $ke=>$val) + { + $tblname="category_compare_master"; + if (is_numeric($comparefields[$ke])){ + + $cid = $comparefields[$ke]; + } + else{ + + $values=array('compare_name'=>ucwords($comparefields[$ke]), + 'status'=>1); + + if($comparefields[$ke]!="") { + $result=$this->commonsql_model->insert_table($tblname,$values); + } + $cid = $this->db->insert_id(); + + } + $tblnames="category_compare_detail"; + $value=array( + 'category'=>$catid, + 'compare'=>$cid , + 'status'=>1); + if($catid!="" && $cid!="") { + $result=$this->commonsql_model->insert_table($tblnames,$value); + } + } \ No newline at end of file diff --git a/application/core/index.html b/application/core/index.html new file mode 100644 index 0000000..b702fbc --- /dev/null +++ b/application/core/index.html @@ -0,0 +1,11 @@ + + + +Directory access is forbidden.
+ + + diff --git a/application/helpers/custom_helper.php b/application/helpers/custom_helper.php new file mode 100644 index 0000000..9ef63d2 --- /dev/null +++ b/application/helpers/custom_helper.php @@ -0,0 +1,67 @@ +commonsql_model->page_access_check($role,$userid,$module,$submodule,$page); + //echo $CI->db->last_query(); + if($page_access_module->num_rows()>0){ + return TRUE; + }else{ + return FALSE; + } + } + } + + + + function times_counter($time){ + + $seconds = 0; + foreach($time as $t) + { + $new=$t.":00"; + $timeArr = array_reverse(explode(":", $new)); + + foreach ($timeArr as $key => $value) + { + if ($key > 2) break; + $seconds += pow(60, $key) * $value; + } + + } + +$hours = floor($seconds / 3600); +$mins = floor(($seconds - ($hours*3600)) / 60); +//$secs = floor($seconds % 60); + +echo $hours.':'.$mins; +} \ No newline at end of file diff --git a/application/helpers/financial_year_helper.php b/application/helpers/financial_year_helper.php new file mode 100644 index 0000000..d81984a --- /dev/null +++ b/application/helpers/financial_year_helper.php @@ -0,0 +1,90 @@ + + + ++ + | +Ledger Name | +Opening Balance | +Closing Balance | + +|||||||
---|---|---|---|---|---|---|---|---|---|---|
+ + | +=$ledger_name;?> | + + ++ =$opening_balance.' '.$ob_debit_credit_id;?> + + + | ++ =$closing_balance.' '.$cb_debit_credit;?> + + + | +|||||||
No result found |
Directory access is forbidden.
+ + + diff --git a/application/helpers/ledger_helper.php b/application/helpers/ledger_helper.php new file mode 100644 index 0000000..d73105c --- /dev/null +++ b/application/helpers/ledger_helper.php @@ -0,0 +1,135 @@ +load->model('commonsql_model'); + $tableName="ledger"; + $whereData=array('status'=>1,'type'=>$values);$order="ledger_id"; + $seller=$CI->commonsql_model->selectTable($tableName, $whereData,'',$order); + +?> +MODULE | +SUB MODULE | ++ | ADD | +VIEW | +EDIT | +DELETE | +Notification | +
---|---|---|---|---|---|---|---|
+ | + | + | + | + | + | + | + |
=ucfirst($module_name);?> | ++ | + | checked > | +checked > | +checked > | +checked > | +checked > | +
+ | =ucfirst($sub_module_name);?> | ++ | checked > | +checked > | +checked > | +checked > | +checked > | +
Directory access is forbidden.
+ + + diff --git a/application/index.html b/application/index.html new file mode 100644 index 0000000..b702fbc --- /dev/null +++ b/application/index.html @@ -0,0 +1,11 @@ + + + +Directory access is forbidden.
+ + + diff --git a/application/language/english/index.html b/application/language/english/index.html new file mode 100644 index 0000000..b702fbc --- /dev/null +++ b/application/language/english/index.html @@ -0,0 +1,11 @@ + + + +Directory access is forbidden.
+ + + diff --git a/application/language/index.html b/application/language/index.html new file mode 100644 index 0000000..b702fbc --- /dev/null +++ b/application/language/index.html @@ -0,0 +1,11 @@ + + + +Directory access is forbidden.
+ + + diff --git a/application/libraries/index.html b/application/libraries/index.html new file mode 100644 index 0000000..b702fbc --- /dev/null +++ b/application/libraries/index.html @@ -0,0 +1,11 @@ + + + +Directory access is forbidden.
+ + + diff --git a/application/logs/index.html b/application/logs/index.html new file mode 100644 index 0000000..b702fbc --- /dev/null +++ b/application/logs/index.html @@ -0,0 +1,11 @@ + + + +Directory access is forbidden.
+ + + diff --git a/application/models/Blog_model.php b/application/models/Blog_model.php new file mode 100644 index 0000000..a667903 --- /dev/null +++ b/application/models/Blog_model.php @@ -0,0 +1,22 @@ +db->select('*'); + $this->db->from('blog'); + + if($id!=0){$this->db->where(array('id'=>$id));} + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + +} diff --git a/application/models/Category_model.php b/application/models/Category_model.php new file mode 100644 index 0000000..619ed97 --- /dev/null +++ b/application/models/Category_model.php @@ -0,0 +1,68 @@ +db->select('*'); + $this->db->from('categories'); + $this->db->where(array('status'=>1)); + if($id!=""){ $this->db->where(array('id'=>$id)); } + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_compare_master() + { + $this->db->select('*'); + $this->db->from('category_compare_master'); + $this->db->where(array('status'=>1)); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_document_master() + { + $this->db->select('*'); + $this->db->from('documents_master'); + $this->db->where(array('status'=>1)); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_compare_details($id) + { + $this->db->select('cd.*,cm.compare_name'); + $this->db->from('category_compare_detail as cd'); + $this->db->join('category_compare_master as cm','cm.id=cd.compare','left'); + $this->db->where(array('cm.status'=>1,'cd.status'=>1,'category'=>$id)); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function questions_before_quote($id) + { + $this->db->select('*'); + $this->db->from('category_questions_before_quote'); + $this->db->where(array('status'=>1,'category'=>$id)); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_document_details($id) + { + $this->db->select('cd.*,cm.name as docname'); + $this->db->from('category_document_details as cd'); + $this->db->join('documents_master as cm','cm.id=cd.document','left'); + $this->db->where(array('cm.status'=>1,'cd.status'=>1,'category'=>$id)); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } +} diff --git a/application/models/Commonsql_model.php b/application/models/Commonsql_model.php new file mode 100644 index 0000000..790ae8e --- /dev/null +++ b/application/models/Commonsql_model.php @@ -0,0 +1,196 @@ + 0) { + $this->db->insert($tableName, $tableData); + return $this->db->insert_id(); + } + return false; + } + + /* get the data to table + * $tableName -> Name of the table + * $whereData -> Array -> where fields + * $showField -> Array -> what are the fields need to show + * */ + + public function selectTable($tableName, $whereData = array(), $showField = array('*'), $order = '') { + + $this->db->select($showField); + $this->db->from($tableName); + if (!empty($whereData) > 0) { + $this->db->where($whereData); + } + if ($order != '') { + $this->db->order_by($order,"DESC"); + } + /*if (count($limit>0)) { + //$this->db->limit($limit[0],$limit[1]);//example $limit[0] = "0,10" where 0 is for offset and 10 for limit + }*/ + $query = $this->db->get(); + + return $query; + } + + + /* update the data to table + * $tableName -> Name of the table + * $whereData -> Array -> where fields + * $updateData -> Array -> updated fields and data + * */ + + public function updateTable($tableName, $whereData = array(), $updateData = array()) { + $this->db->where($whereData); + $this->db->update($tableName, $updateData); + $return = $this->db->affected_rows() > 0; + return $return; + //$query->result_array(); + //$query->num_rows(); + } + + /* update the data to table + * $tableName -> Name of the table + * $whereData -> Array -> where fields + * $updateData -> Array -> updated fields and data + * */ + + public function deleteTableData($tableName, $whereData = array()) { + // Insert the user record + if (isset($whereData) && count($whereData) > 0) { + $insert_id = $this->db->delete($tableName, $whereData); + return true; + } + return false; + } + + function user($username,$password) + { + $this->db->select('*'); + $this->db->from('staff'); + $this->db->where('username',$username); + $this->db->where(array('password'=>md5($password),'status'=>1)); + $query = $this->db->get(); + return $query; + } + function type() + { + $this->db->select('mat.mat_mas_id,mat.mat_mas_name,mat.opening,mat.minimum,mat.des,m.mat_type,u.mat_unit'); + $this->db->from('material_master as mat'); + $this->db->join('material_type as m',' m.type_id = mat.mat_mas_type', 'INNER'); + $this->db->join('material_unit as u','u.unit_id = mat.mat_mas_unit','INNER'); + $this->db->where('mat.status',1); + $query = $this->db->get(); + return $query; + } + + function role() + { + $this->db->select('emp.emp_id,emp.emp_name,emp.contact_number,emp.address,emp.role_id,r.role_name,r.role_id'); + $this->db->from('employee as emp'); + $this->db->join('role as r','emp.role_id= r.role_id '); + $this->db->where('emp.status',1); + $query = $this->db->get(); + + return $query; + } + function module_list() + { + $this->db->select('ms.sub_id,ms.sub_name,m.module_id,m.module_name'); + $this->db->from('sub_module AS ms'); + $this->db->join('module AS m','ms.module_id=m.module_id','INNER'); + $this->db->where(array('ms.status'=>1,'m.status'=>1)); + $query = $this->db->get(); + return $query; + } + + + function rol($roleid) { + + $this->db->select('*'); + $this->db->from('page_access'); + $this->db->where('role_id',$roleid); + $query = $this->db->get(); + + return $query; + } + + function materialsku(){ + $this->db->select('product_id,quantity,sk.sku_name,mm.mat_mas_name,sk.sku_id,mu.mat_unit'); + $this->db->from('material_sku AS ms'); + $this->db->join('material_master AS mm','mm.mat_mas_id=ms.product_id','INNER'); + $this->db->join('sku AS sk','sk.sku_id=ms.sku_id','INNER'); + $this->db->join('material_unit AS mu','mu.unit_id=mm.mat_mas_unit','LEFT'); + $query = $this->db->get(); + return $query; + } + function check_emp_userlogin($id) + { + $this->db->select('*'); + $this->db->from('login'); + $this->db->where('emp_id',$id); + + $query = $this->db->get(); + return $query; + } + function check_emp_ledr($id) + { + $this->db->select('*'); + $this->db->from('employee'); + $this->db->where('emp_id',$id); + + $query = $this->db->get(); + return $query; + } + function page_access_check($role,$userid,$module,$submodule,$page){ + $this->db->select('p.*'); + $this->db->from('page_access as p'); + if($page==1){ $this->db->where('p.page_add',1);} + else if($page==2){ $this->db->where('p.page_view',1);} + else if($page==3){ $this->db->where('p.page_edit',1);} + else if($page==4){ $this->db->where('p.page_delete',1);} + else if($page==5){ $this->db->where('p.page_notify',1);} + $this->db->where(array('p.page_role_id'=>$role,'p.page_user_id'=>$userid,'p.page_module_id'=>$module,'p.page_submodule_id'=>$submodule,'p.status'=>1)); + $query = $this->db->get(); + return $query; + + } + function page_access_module($role,$emp){ + + $this->db->select('p.page_id,p.page_role_id,p.page_user_id,p.page_module_id,p.status,m.*'); + $this->db->from('page_access as p'); + $this->db->join('module as m','p.page_module_id=m.module_id','LEFT'); + //$this->db->join('module_sub as sm','p.page_submodule_id=sm.sub_module_id','LEFT'); + $this->db->group_by('p.page_module_id'); + $this->db->where(array('p.status'=>1,'p.page_role_id'=>$role,'p.page_user_id'=>$emp)); + $query = $this->db->get(); + return $query; + } + function pageaccess_submodule($id,$role,$emp) + { + $this->db->distinct(); + $this->db->select('p.*,m.sub_module_id,m.sub_module_name,m.sub_module_route,m.sub_module_icon'); + $this->db->from('page_access as p'); + $this->db->join('module_sub as m','p.page_submodule_id=m.sub_module_id','RIGHT'); + + $this->db->where(array('p.page_module_id'=>$id,'p.status'=>1,'p.page_role_id'=>$role,'p.page_user_id'=>$emp)); + $query = $this->db->get(); + return $query; + } + function emp_bus_id($eid) + { + $this->db->select('emp_cmp_id'); + $this->db->from('employee'); + $this->db->where('emp_id',$eid); + $query = $this->db->get(); + return $query; + } +} diff --git a/application/models/Company_model.php b/application/models/Company_model.php new file mode 100644 index 0000000..83a2e35 --- /dev/null +++ b/application/models/Company_model.php @@ -0,0 +1,21 @@ +db->select('*'); + $this->db->from('companies'); + $this->db->where(array('status'=>1)); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + +} diff --git a/application/models/Dashboard_model.php b/application/models/Dashboard_model.php new file mode 100644 index 0000000..9553669 --- /dev/null +++ b/application/models/Dashboard_model.php @@ -0,0 +1,118 @@ +db->select('count(id) as quotecount'); + $this->db->from('quotes'); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_request() + { + $this->db->select('count(id) as requestcount'); + $this->db->from('quotes'); + $this->db->where("status",0); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_response() + { + $this->db->distinct(); + $this->db->select('quote_id'); + $this->db->from('quote_response'); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_onboard() + { + + $this->db->select('count(id) as oncount'); + $this->db->from('quotes'); + $this->db->where(array('status!='=>2)); + $this->db->where(array('status!='=>0)); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_completed() + { + $this->db->select('count(id) as comcount'); + $this->db->from('quotes'); + $this->db->where(array('status'=>2)); + + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_quotes_details() + { + $this->db->select('a.*,b.name as policyname,b.permalink,b.category'); + $this->db->from('quotes as a'); + $this->db->join('policies as b','b.id=a.policy_id','inner'); + $this->db->where(array('a.policy_id!='=>0)); + $this->db->order_by('a.id','desc'); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_request_details() + { + $this->db->select('a.*,b.name as policyname,b.permalink,b.category'); + $this->db->from('quotes as a'); + $this->db->join('policies as b','b.id=a.policy_id','inner'); + $this->db->where(array('a.policy_id!='=>0,'a.status'=>0)); + $this->db->order_by('a.id','desc'); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_onboard_details() + { + $this->db->select('a.*,b.name as policyname,b.permalink,b.category'); + $this->db->from('quotes as a'); + + $this->db->join('policies as b','b.id=a.policy_id','inner'); + $this->db->where(array('a.status!='=>2)); + $this->db->where(array('a.status!='=>0)); + + $this->db->order_by('a.id','desc'); + $query = $this->db->get(); + // echo $this->db->last_query();exit; + return $query; + } + function get_response_details() + { + $this->db->select('a.*,b.name as policyname,b.permalink,b.category,qr.mobile,qr.email,qr.message'); + $this->db->from('quotes as a'); + $this->db->join('quote_response as qr','qr.quote_id=a.id','inner'); + $this->db->join('policies as b','b.id=a.policy_id','inner'); + $this->db->order_by('a.id','desc'); + $query = $this->db->get(); + // echo $this->db->last_query();exit; + return $query; + } + function get_complete_details() + { + $this->db->select('a.*,b.name as policyname,b.permalink,b.category'); + $this->db->from('quotes as a'); + + $this->db->join('policies as b','b.id=a.policy_id','inner'); + $this->db->where(array('a.status'=>2)); + + $this->db->order_by('a.id','desc'); + $query = $this->db->get(); + // echo $this->db->last_query();exit; + return $query; + } +} diff --git a/application/models/Faq_model.php b/application/models/Faq_model.php new file mode 100644 index 0000000..510ae15 --- /dev/null +++ b/application/models/Faq_model.php @@ -0,0 +1,21 @@ +db->select('*'); + $this->db->from('faq'); + if($id!=0){ $this->db->where('id',$id); } + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + +} diff --git a/application/models/Frontend_model.php b/application/models/Frontend_model.php new file mode 100644 index 0000000..ba889e8 --- /dev/null +++ b/application/models/Frontend_model.php @@ -0,0 +1,389 @@ +db->select('p.*,cm.name as cmpname,ca.name as catname'); + $this->db->from('policies as p'); + $this->db->join('companies as cm','cm.id=p.company','left'); + $this->db->join('categories as ca','ca.id=p.category','left'); + $this->db->where(array('p.status'=>1,'cm.status'=>1,'ca.status'=>1)); + if($id!=0){ $this->db->where(array('p.id'=>$id)); } + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function frontusercheck($username,$password) + { + $this->db->select('*'); + $this->db->from('users'); + $this->db->where('email',$username); + $this->db->where(array('password'=>md5($password))); + $query = $this->db->get(); + return $query; + } + function agent_racetype() + { + $this->db->select('*'); + $this->db->from('agent_racetype'); + $this->db->where('status',1); + + $query = $this->db->get(); + return $query; + } + function agent_detail($id=0) + { + $this->db->select('a.*,cm.name as cmpname,u.name as agentname,u.password,u.profilepic'); + $this->db->from('agents as a'); + $this->db->join('users as u','u.id=a.user_id','INNER'); + $this->db->join('companies as cm','cm.id=a.company','left'); + + $this->db->where(array('a.status'=>1,'cm.status'=>1)); + if($id!=0){ $this->db->where(array('a.user_id'=>$id)); } + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function user_review_to_agent($id=0) + { + $this->db->select('r.*,u.name as username'); + $this->db->from('reviews as r'); + $this->db->join('users as u','u.id=r.user_id','left'); + if($id!=0){ $this->db->where(array('r.agency_id'=>$id)); } + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function show_quote_to_agent() + { + $this->db->select('a.*,b.email,b.mobile,b.name,b.city,b.state,b.country,b.userrole,b.pincode,c.company'); + $this->db->from('quotes as a'); + $this->db->join('users as b','b.id=a.user_id','inner'); + $this->db->join('policies as c','c.id=a.policy_id','left'); + + //$this->db->where(array('a.agency_id'=>0)); + $this->db->order_by('a.id','desc'); + $query = $this->db->get(); + //echo $this->db->last_query(); + return $query; + } + function select_pincode_agentcount($pin,$cont,$cmp) + { + $this->db->select('a.*,b.company,b.experience,b.racetype,ABS( a.pincode - '.$pin.' ) AS pincode'); + $this->db->from('users as a'); + $this->db->join('agents as b','b.user_id=a.id','inner'); + $this->db->where(array('a.userrole'=>1,'a.status'=>1,'b.company'=>$cmp)); + + $this->db->order_by('pincode'); + $this->db->limit($cont); + $query = $this->db->get(); + //echo $this->db->last_query(); exit; + return $query; + } + function show_quote_to_user($id) + { + $this->db->select('a.*,b.name as policyname,b.permalink,b.category'); + $this->db->from('quotes as a'); + $this->db->join('policies as b','b.id=a.policy_id','inner'); + $this->db->where(array('a.policy_id!='=>0,'a.user_id'=>$id)); + $this->db->order_by('a.id','desc'); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_already_send_quote_details($polid,$primaryid) + { + $this->db->select('*'); + $this->db->from('quotes'); + $this->db->where(array('policy_id'=>$polid,'user_id'=>$primaryid)); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function list_policy_agent_having($catid) + { + $this->db->select('b.*,a.name as agentname,a.profilepic'); + $this->db->from('users as a'); + $this->db->join('agents as b','b.user_id=a.id','inner'); + + $this->db->where('find_in_set("'.$catid.'", b.category)'); + $this->db->where(array('a.status'=>1,'b.status'=>1)); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function agent_review_from_user($agid) + { + $this->db->select('a.*,b.name as username'); + $this->db->from('reviews as a'); + $this->db->join('users as b','b.id=a.user_id','inner'); + $this->db->where(array('a.status'=>1,'agency_id'=>$agid)); + $query = $this->db->get(); + //echo $this->db->last_query(); + return $query; + } + function agent_completed_policy($agid) + { + $this->db->select('*'); + $this->db->from('quotes'); + $this->db->where(array('status'=>2,'agency_id'=>$agid)); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function write_review_permission($user,$policy) + { + $this->db->select('*'); + $this->db->from('quotes'); + $this->db->where(array('status'=>2,'user_id'=>$user,'policy_id'=>$policy)); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function show_response_detail_to_user($uid,$quoteid) + { + $this->db->select('q.*,a.name as agentname,a.profilepic'); + $this->db->from('quote_response as q'); + $this->db->join('users as a','a.id=q.agency_id','inner'); + $this->db->where(array('q.user_id'=>$uid,'q.quote_id'=>$quoteid)); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function show_single_agent_response_detail_to_user($qid,$aid,$uid) + { + $this->db->select('q.*,a.name as agentname'); + $this->db->from('quote_response as q'); + $this->db->join('users as a','a.id=q.agency_id','inner'); + $this->db->where(array('q.status'=>0,'q.agency_id'=>$aid,'q.user_id'=>$uid,'q.quote_id'=>$qid)); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function show_response_to_agent_for_accept($aid) + { + $this->db->select('a.*,b.name,b.city,b.state,b.country'); + $this->db->from('quotes as a'); + $this->db->join('users as b','b.id=a.user_id','inner'); + $this->db->where(array('a.agency_id'=>$aid)); + $this->db->order_by('a.id','desc'); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function show_response_to_user_for_accept_complete($uid) + { + $this->db->select('a.*,b.name as policyname,b.category'); + $this->db->from('quotes as a'); + $this->db->join('policies as b','b.id=a.policy_id','inner'); + $this->db->join('agents as c ','c.user_id=a.agency_id','inner'); + $this->db->where(array('a.user_id'=>$uid)); + $this->db->order_by('a.id','desc'); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function agent_approve_review_to_user($id=0) + { + $this->db->select('r.*,u.name as agentname'); + $this->db->from('reviews as r'); + $this->db->join('users as u','u.id=r.agency_id','left'); + if($id!=0){ $this->db->where(array('r.user_id'=>$id)); } + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function select_sent_quotes_from_user($pid,$uid) + { + $this->db->select('*'); + $this->db->from('quotes'); + $this->db->where(array('policy_id'=>$pid,'user_id'=>$uid,'agency_id'=>0,'status!='=>2)); + + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_categorywise_policy_with_agelimit($cid,$age=0) + { + $this->db->select('p.*,cm.name as cmpname,cm.logo'); + $this->db->from('policies as p'); + $this->db->join('companies as cm','cm.id=p.company','left'); + $this->db->where(array('p.status'=>1,'cm.status'=>1,'p.is_this_top_plan'=>0)); + $this->db->where(array('p.category'=>$cid)); + if($age!=""){ $this->db->where('p.max_cover_age>=',$age); } + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_company_name($cid) + { + $this->db->select('*'); + $this->db->from('companies'); + $this->db->where(array('status'=>1,'id'=>$cid)); + $query = $this->db->get(); + + return $query; + } + function get_categorywise_policy_with_agelimit_top($cid,$age=0) + { + $this->db->select('p.*,cm.name as cmpname,cm.logo'); + $this->db->from('policies as p'); + $this->db->join('companies as cm','cm.id=p.company','left'); + $this->db->where(array('p.status'=>1,'cm.status'=>1,'p.is_this_top_plan'=>1)); + $this->db->where(array('p.category'=>$cid)); + if($age!=""){ $this->db->where('p.max_cover_age>=',$age); } + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_categorydetails_for_categoryview($cid) + { + $this->db->select('*'); + $this->db->from('categories'); + $this->db->where(array('id'=>$cid,'status'=>1)); + + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_category_questions($id) + { + $this->db->select('*'); + $this->db->from('category_questions_before_quote'); + $this->db->where(array('category'=>$id,'status'=>1)); + + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function check_mobile_exist_for_login_register($mob) + { + $this->db->select('*'); + $this->db->from('users'); + $this->db->where(array('mobile'=>$mob)); + $query = $this->db->get(); + + return $query; + } + function get_policy_compare($pid,$plan) + { + $this->db->select('p.*,cm.name as cmpname,cm.logo'); + $this->db->from('policies as p'); + $this->db->join('companies as cm','cm.id=p.company','left'); + $this->db->where(array('p.status'=>1,'cm.status'=>1,'p.is_this_top_plan'=>$plan)); + $this->db->where(array('p.id'=>$pid)); + + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_comparisions($cid,$pol) + { + $this->db->select('p.*,cm.name as cmpname,cm.logo'); + $this->db->from('policies as p'); + $this->db->join('companies as cm','cm.id=p.company','left'); + $this->db->where(array('p.status'=>1,'cm.status'=>1,'p.category'=>$cid)); + $this->db->where_in('p.id',$pol); + + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_compare_details($cm,$pol,$cat) + { + + $this->db->select('cd.comparedetail'); + $this->db->from('policy_compare_details as cd'); + $this->db->where(array('compare'=>$cm,'policy'=>$pol,'cd.status'=>1,'cd.category'=>$cat)); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_comparisions_master($cat,$pol) + { + $this->db->distinct(); + $this->db->select('cd.compare,cm.compare_name'); + $this->db->from('policy_compare_details as cd'); + $this->db->join('category_compare_master as cm','cm.id=cd.compare','LEFT'); + $this->db->where(array('cd.status'=>1,'cd.category'=>$cat)); + $this->db->where_in('policy',$pol); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_recent_order_details($id) + { + + $this->db->select('q.*,p.name as policyname'); + $this->db->from('quotes as q'); + $this->db->join('policies as p','p.id=q.policy_id','left'); + $this->db->where(array('user_id'=>$id)); + $this->db->order_by("id","DESC"); + $this->db->limit(5); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_recent_order_details_agent($id) + { + + $this->db->select('q.*,p.name as policyname'); + $this->db->from('quotes as q'); + $this->db->join('policies as p','p.id=q.policy_id','left'); + $this->db->where(array('q.agency_id'=>$id)); + $this->db->order_by("id","DESC"); + $this->db->limit(5); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_documents_collection($cid) + { + $this->db->select('cd.*,dm.name as doc_name,c.name as catname'); + $this->db->from('category_document_details cd'); + $this->db->join('documents_master dm','dm.id=cd.document','left'); + $this->db->join('categories c','c.id=cd.category','left'); + $this->db->where(array('cd.category'=>$cid,'cd.status'=>1,'c.status'=>1,'dm.status'=>1)); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_details_of_quote_user($qid) + { + $this->db->select('q.*,u.name as username'); + $this->db->from('quotes as q'); + $this->db->join('users as u','u.id=q.user_id','left'); + $this->db->where(array('q.id'=>$qid,'u.status'=>1,'q.status'=>1)); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_current_policy_detail($cid) + { + $this->db->select('p.*,cm.logo,cm.name as cmpname,ca.name as catname'); + $this->db->from('policies as p'); + $this->db->join('companies as cm','cm.id=p.company','left'); + $this->db->join('categories as ca','ca.id=p.category','left'); + $this->db->where(array('p.status'=>1,'cm.status'=>1,'ca.status'=>1)); + $this->db->where(array('p.category'=>$cid)); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_agent_det_to_show_quote($aid) + { + $this->db->select('r.id,r.status,a.*,b.company,b.experience,b.racetype,ABS( a.pincode - '.$pin.' ) AS pincode'); + $this->db->from('quote_response'); + $this->db->where_in('status',array(2,3)); + $query = $this->db->get(); + //echo $this->db->last_query(); + return $query; + } +} diff --git a/application/models/Lists_model.php b/application/models/Lists_model.php new file mode 100644 index 0000000..1d652e4 --- /dev/null +++ b/application/models/Lists_model.php @@ -0,0 +1,34 @@ +db->select('*'); + $this->db->from('contact'); + $this->db->where('status',1); + + if($id!=0){$this->db->where(array('id'=>$id));} + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function list_review() + { + $this->db->select('r.*,u.name as username,ua.name as agentname'); + $this->db->from('reviews as r'); + $this->db->join('users as u','u.id=r.user_id','left'); + $this->db->join('users as ua','ua.id=r.agency_id','Left'); + + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + +} diff --git a/application/models/Menu_model.php b/application/models/Menu_model.php new file mode 100644 index 0000000..45b21b6 --- /dev/null +++ b/application/models/Menu_model.php @@ -0,0 +1,22 @@ +db->select('*'); + $this->db->from('menu'); + $this->db->where(array('parent_id'=>0)); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + + +} diff --git a/application/models/Orders_model.php b/application/models/Orders_model.php new file mode 100644 index 0000000..91d45b6 --- /dev/null +++ b/application/models/Orders_model.php @@ -0,0 +1,27 @@ +db->select('a.*,b.name as policyname,b.permalink,b.category'); + $this->db->from('quotes as a'); + $this->db->join('policies as b','b.id=a.policy_id','inner'); + $this->db->where(array('a.policy_id!='=>0)); + $this->db->order_by('a.id','desc'); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + + + + + +} diff --git a/application/models/Policy_model.php b/application/models/Policy_model.php new file mode 100644 index 0000000..25ab2d2 --- /dev/null +++ b/application/models/Policy_model.php @@ -0,0 +1,47 @@ +db->select('p.*,cm.name as cmpname,ca.name as catname'); + $this->db->from('policies as p'); + $this->db->join('companies as cm','cm.id=p.company','left'); + $this->db->join('categories as ca','ca.id=p.category','left'); + $this->db->where(array('p.status'=>1,'cm.status'=>1,'ca.status'=>1)); + if($id!=0){ $this->db->where(array('p.id'=>$id)); } + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + function get_compare_master($cid) + { + $this->db->select('cm.*'); + $this->db->from('category_compare_detail as cd'); + $this->db->join('category_compare_master as cm','cm.id=cd.compare','left'); + + $this->db->where(array('cm.status'=>1,'cd.status'=>1)); + $this->db->where(array('cd.category'=>$cid)); + $query = $this->db->get(); + + return $query; + } + function get_polict_compare_details($pid) + { + $this->db->select('cd.*,cm.compare_name'); + $this->db->from('policy_compare_details as cd'); + $this->db->join('category_compare_master as cm','cm.id=cd.compare','left'); + + $this->db->where(array('cm.status'=>1,'cd.status'=>1)); + $this->db->where(array('cd.policy'=>$pid)); + $query = $this->db->get(); + // echo $this->db->last_query();exit; + return $query; + } +} diff --git a/application/models/Role_model.php b/application/models/Role_model.php new file mode 100644 index 0000000..8424664 --- /dev/null +++ b/application/models/Role_model.php @@ -0,0 +1,21 @@ +db->select('*'); + $this->db->from('staff_roles'); + $this->db->where(array('status'=>1)); + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + +} diff --git a/application/models/Slider_model.php b/application/models/Slider_model.php new file mode 100644 index 0000000..22b8b70 --- /dev/null +++ b/application/models/Slider_model.php @@ -0,0 +1,22 @@ +db->select('*'); + $this->db->from('slider'); + //$this->db->where(array('status'=>1)); + if($id!=0){$this->db->where(array('id'=>$id));} + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + +} diff --git a/application/models/Staff_model.php b/application/models/Staff_model.php new file mode 100644 index 0000000..4da3daa --- /dev/null +++ b/application/models/Staff_model.php @@ -0,0 +1,23 @@ +db->select('s.*,r.name as rolename'); + $this->db->from('staff as s'); + $this->db->join('staff_roles as r','r.id=s.role','inner'); + $this->db->where(array('s.status'=>1)); + if($id!=0){$this->db->where(array('s.id'=>$id));} + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + +} diff --git a/application/models/Testimonial_model.php b/application/models/Testimonial_model.php new file mode 100644 index 0000000..c8cac74 --- /dev/null +++ b/application/models/Testimonial_model.php @@ -0,0 +1,22 @@ +db->select('*'); + $this->db->from('testimonial'); + + if($id!=0){$this->db->where(array('id'=>$id));} + $query = $this->db->get(); + //echo $this->db->last_query();exit; + return $query; + } + +} diff --git a/application/models/index.html b/application/models/index.html new file mode 100644 index 0000000..b702fbc --- /dev/null +++ b/application/models/index.html @@ -0,0 +1,11 @@ + + + +Directory access is forbidden.
+ + + diff --git a/application/third_party/index.html b/application/third_party/index.html new file mode 100644 index 0000000..b702fbc --- /dev/null +++ b/application/third_party/index.html @@ -0,0 +1,11 @@ + + + +Directory access is forbidden.
+ + + diff --git a/application/views/admin/add_doctor.html b/application/views/admin/add_doctor.html new file mode 100644 index 0000000..f6cf398 --- /dev/null +++ b/application/views/admin/add_doctor.html @@ -0,0 +1,1408 @@ + + + + + + + + + + + + +Name | +Position | +Office | +Age | +Start date | +Salary | +
---|---|---|---|---|---|
Tiger Nixon | +System Architect | +Edinburgh | +61 | +2011/04/25 | +$320,800 | +
Garrett Winters | +Accountant | +Tokyo | +63 | +2011/07/25 | +$170,750 | +
Ashton Cox | +Junior Technical Author | +San Francisco | +66 | +2009/01/12 | +$86,000 | +
Cedric Kelly | +Senior Javascript Developer | +Edinburgh | +22 | +2012/03/29 | +$433,060 | +
Airi Satou | +Accountant | +Tokyo | +33 | +2008/11/28 | +$162,700 | +
Brielle Williamson | +Integration Specialist | +New York | +61 | +2012/12/02 | +$372,000 | +
Herrod Chandler | +Sales Assistant | +San Francisco | +59 | +2012/08/06 | +$137,500 | +
Rhona Davidson | +Integration Specialist | +Tokyo | +55 | +2010/10/14 | +$327,900 | +
Colleen Hurst | +Javascript Developer | +San Francisco | +39 | +2009/09/15 | +$205,500 | +
Sonya Frost | +Software Engineer | +Edinburgh | +23 | +2008/12/13 | +$103,600 | +
Jena Gaines | +Office Manager | +London | +30 | +2008/12/19 | +$90,560 | +
Quinn Flynn | +Support Lead | +Edinburgh | +22 | +2013/03/03 | +$342,000 | +
Charde Marshall | +Regional Director | +San Francisco | +36 | +2008/10/16 | +$470,600 | +
Haley Kennedy | +Senior Marketing Designer | +London | +43 | +2012/12/18 | +$313,500 | +
Tatyana Fitzpatrick | +Regional Director | +London | +19 | +2010/03/17 | +$385,750 | +
Michael Silva | +Marketing Designer | +London | +66 | +2012/11/27 | +$198,500 | +
Paul Byrd | +Chief Financial Officer (CFO) | +New York | +64 | +2010/06/09 | +$725,000 | +
Gloria Little | +Systems Administrator | +New York | +59 | +2009/04/10 | +$237,500 | +
Bradley Greer | +Software Engineer | +London | +41 | +2012/10/13 | +$132,000 | +
Dai Rios | +Personnel Lead | +Edinburgh | +35 | +2012/09/26 | +$217,500 | +
Jenette Caldwell | +Development Lead | +New York | +30 | +2011/09/03 | +$345,000 | +
Yuri Berry | +Chief Marketing Officer (CMO) | +New York | +40 | +2009/06/25 | +$675,000 | +
Caesar Vance | +Pre-Sales Support | +New York | +21 | +2011/12/12 | +$106,450 | +
Doris Wilder | +Sales Assistant | +Sidney | +23 | +2010/09/20 | +$85,600 | +
Angelica Ramos | +Chief Executive Officer (CEO) | +London | +47 | +2009/10/09 | +$1,200,000 | +
Gavin Joyce | +Developer | +Edinburgh | +42 | +2010/12/22 | +$92,575 | +
Jennifer Chang | +Regional Director | +Singapore | +28 | +2010/11/14 | +$357,650 | +
Brenden Wagner | +Software Engineer | +San Francisco | +28 | +2011/06/07 | +$206,850 | +
Fiona Green | +Chief Operating Officer (COO) | +San Francisco | +48 | +2010/03/11 | +$850,000 | +
Shou Itou | +Regional Marketing | +Tokyo | +20 | +2011/08/14 | +$163,000 | +
Michelle House | +Integration Specialist | +Sidney | +37 | +2011/06/02 | +$95,400 | +
Suki Burks | +Developer | +London | +53 | +2009/10/22 | +$114,500 | +
Prescott Bartlett | +Technical Author | +London | +27 | +2011/05/07 | +$145,000 | +
Gavin Cortez | +Team Leader | +San Francisco | +22 | +2008/10/26 | +$235,500 | +
Martena Mccray | +Post-Sales support | +Edinburgh | +46 | +2011/03/09 | +$324,050 | +
Unity Butler | +Marketing Designer | +San Francisco | +47 | +2009/12/09 | +$85,675 | +
Howard Hatfield | +Office Manager | +San Francisco | +51 | +2008/12/16 | +$164,500 | +
Hope Fuentes | +Secretary | +San Francisco | +41 | +2010/02/12 | +$109,850 | +
Vivian Harrell | +Financial Controller | +San Francisco | +62 | +2009/02/14 | +$452,500 | +
Timothy Mooney | +Office Manager | +London | +37 | +2008/12/11 | +$136,200 | +
Jackson Bradshaw | +Director | +New York | +65 | +2008/09/26 | +$645,750 | +
Olivia Liang | +Support Engineer | +Singapore | +64 | +2011/02/03 | +$234,500 | +
Bruno Nash | +Software Engineer | +London | +38 | +2011/05/03 | +$163,500 | +
Sakura Yamamoto | +Support Engineer | +Tokyo | +37 | +2009/08/19 | +$139,575 | +
Thor Walton | +Developer | +New York | +61 | +2013/08/11 | +$98,540 | +
Finn Camacho | +Support Engineer | +San Francisco | +47 | +2009/07/07 | +$87,500 | +
Serge Baldwin | +Data Coordinator | +Singapore | +64 | +2012/04/09 | +$138,575 | +
Zenaida Frank | +Software Engineer | +New York | +63 | +2010/01/04 | +$125,250 | +
Zorita Serrano | +Software Engineer | +San Francisco | +56 | +2012/06/01 | +$115,000 | +
Jennifer Acosta | +Junior Javascript Developer | +Edinburgh | +43 | +2013/02/01 | +$75,650 | +
Cara Stevens | +Sales Assistant | +New York | +46 | +2011/12/06 | +$145,600 | +
Hermione Butler | +Regional Director | +London | +47 | +2011/03/21 | +$356,250 | +
Lael Greer | +Systems Administrator | +London | +21 | +2009/02/27 | +$103,500 | +
Jonas Alexander | +Developer | +San Francisco | +30 | +2010/07/14 | +$86,500 | +
Shad Decker | +Regional Director | +Edinburgh | +51 | +2008/11/13 | +$183,000 | +
Michael Bruce | +Javascript Developer | +Singapore | +29 | +2011/06/27 | +$183,000 | +
Donna Snider | +Customer Support | +New York | +27 | +2011/01/25 | +$112,000 | +
Name | +Position | +Office | +Age | +Start date | +Salary | +
---|---|---|---|---|---|
Tiger Nixon | +System Architect | +Edinburgh | +61 | +2011/04/25 | +$320,800 | +
Garrett Winters | +Accountant | +Tokyo | +63 | +2011/07/25 | +$170,750 | +
Ashton Cox | +Junior Technical Author | +San Francisco | +66 | +2009/01/12 | +$86,000 | +
Cedric Kelly | +Senior Javascript Developer | +Edinburgh | +22 | +2012/03/29 | +$433,060 | +
Airi Satou | +Accountant | +Tokyo | +33 | +2008/11/28 | +$162,700 | +
Brielle Williamson | +Integration Specialist | +New York | +61 | +2012/12/02 | +$372,000 | +
Herrod Chandler | +Sales Assistant | +San Francisco | +59 | +2012/08/06 | +$137,500 | +
Rhona Davidson | +Integration Specialist | +Tokyo | +55 | +2010/10/14 | +$327,900 | +
Colleen Hurst | +Javascript Developer | +San Francisco | +39 | +2009/09/15 | +$205,500 | +
Sonya Frost | +Software Engineer | +Edinburgh | +23 | +2008/12/13 | +$103,600 | +
Jena Gaines | +Office Manager | +London | +30 | +2008/12/19 | +$90,560 | +
Quinn Flynn | +Support Lead | +Edinburgh | +22 | +2013/03/03 | +$342,000 | +
Charde Marshall | +Regional Director | +San Francisco | +36 | +2008/10/16 | +$470,600 | +
Haley Kennedy | +Senior Marketing Designer | +London | +43 | +2012/12/18 | +$313,500 | +
Tatyana Fitzpatrick | +Regional Director | +London | +19 | +2010/03/17 | +$385,750 | +
Michael Silva | +Marketing Designer | +London | +66 | +2012/11/27 | +$198,500 | +
Paul Byrd | +Chief Financial Officer (CFO) | +New York | +64 | +2010/06/09 | +$725,000 | +
Gloria Little | +Systems Administrator | +New York | +59 | +2009/04/10 | +$237,500 | +
Bradley Greer | +Software Engineer | +London | +41 | +2012/10/13 | +$132,000 | +
Dai Rios | +Personnel Lead | +Edinburgh | +35 | +2012/09/26 | +$217,500 | +
Jenette Caldwell | +Development Lead | +New York | +30 | +2011/09/03 | +$345,000 | +
Yuri Berry | +Chief Marketing Officer (CMO) | +New York | +40 | +2009/06/25 | +$675,000 | +
Caesar Vance | +Pre-Sales Support | +New York | +21 | +2011/12/12 | +$106,450 | +
Doris Wilder | +Sales Assistant | +Sidney | +23 | +2010/09/20 | +$85,600 | +
Angelica Ramos | +Chief Executive Officer (CEO) | +London | +47 | +2009/10/09 | +$1,200,000 | +
Gavin Joyce | +Developer | +Edinburgh | +42 | +2010/12/22 | +$92,575 | +
Jennifer Chang | +Regional Director | +Singapore | +28 | +2010/11/14 | +$357,650 | +
Brenden Wagner | +Software Engineer | +San Francisco | +28 | +2011/06/07 | +$206,850 | +
Fiona Green | +Chief Operating Officer (COO) | +San Francisco | +48 | +2010/03/11 | +$850,000 | +
Shou Itou | +Regional Marketing | +Tokyo | +20 | +2011/08/14 | +$163,000 | +
Michelle House | +Integration Specialist | +Sidney | +37 | +2011/06/02 | +$95,400 | +
Suki Burks | +Developer | +London | +53 | +2009/10/22 | +$114,500 | +
Prescott Bartlett | +Technical Author | +London | +27 | +2011/05/07 | +$145,000 | +
Gavin Cortez | +Team Leader | +San Francisco | +22 | +2008/10/26 | +$235,500 | +
Martena Mccray | +Post-Sales support | +Edinburgh | +46 | +2011/03/09 | +$324,050 | +
Unity Butler | +Marketing Designer | +San Francisco | +47 | +2009/12/09 | +$85,675 | +
Howard Hatfield | +Office Manager | +San Francisco | +51 | +2008/12/16 | +$164,500 | +
Hope Fuentes | +Secretary | +San Francisco | +41 | +2010/02/12 | +$109,850 | +
Vivian Harrell | +Financial Controller | +San Francisco | +62 | +2009/02/14 | +$452,500 | +
Timothy Mooney | +Office Manager | +London | +37 | +2008/12/11 | +$136,200 | +
Jackson Bradshaw | +Director | +New York | +65 | +2008/09/26 | +$645,750 | +
Olivia Liang | +Support Engineer | +Singapore | +64 | +2011/02/03 | +$234,500 | +
Bruno Nash | +Software Engineer | +London | +38 | +2011/05/03 | +$163,500 | +
Sakura Yamamoto | +Support Engineer | +Tokyo | +37 | +2009/08/19 | +$139,575 | +
Thor Walton | +Developer | +New York | +61 | +2013/08/11 | +$98,540 | +
Finn Camacho | +Support Engineer | +San Francisco | +47 | +2009/07/07 | +$87,500 | +
Serge Baldwin | +Data Coordinator | +Singapore | +64 | +2012/04/09 | +$138,575 | +
Zenaida Frank | +Software Engineer | +New York | +63 | +2010/01/04 | +$125,250 | +
Zorita Serrano | +Software Engineer | +San Francisco | +56 | +2012/06/01 | +$115,000 | +
Jennifer Acosta | +Junior Javascript Developer | +Edinburgh | +43 | +2013/02/01 | +$75,650 | +
Cara Stevens | +Sales Assistant | +New York | +46 | +2011/12/06 | +$145,600 | +
Hermione Butler | +Regional Director | +London | +47 | +2011/03/21 | +$356,250 | +
Lael Greer | +Systems Administrator | +London | +21 | +2009/02/27 | +$103,500 | +
Jonas Alexander | +Developer | +San Francisco | +30 | +2010/07/14 | +$86,500 | +
Shad Decker | +Regional Director | +Edinburgh | +51 | +2008/11/13 | +$183,000 | +
Michael Bruce | +Javascript Developer | +Singapore | +29 | +2011/06/27 | +$183,000 | +
Donna Snider | +Customer Support | +New York | +27 | +2011/01/25 | +$112,000 | +
+ + | +Username | +Status | +Joined | +Actions | +|
---|---|---|---|---|---|
+ + | +shuxer | ++ shuxer@gmail.com + | ++ Approved + | +12 Jan 2012 | +
+
+
+
+
+ |
+
+ + | +looper | ++ looper90@gmail.com + | ++ Suspended + | +12.12.2011 | +
+
+
+
+
+ |
+
+ + | +userwow | ++ userwow@yahoo.com + | ++ Approved + | +12.12.2011 | +
+
+
+
+
+ |
+
+ + | +user1wow | ++ userwow@gmail.com + | ++ Blocked + | +12.12.2011 | +
+
+
+
+
+ |
+
+ + | +restest | ++ test@gmail.com + | ++ Approved + | +12.12.2011 | +
+
+
+
+
+ |
+
+ + | +foopl | ++ good@gmail.com + | ++ Info + | +12.12.2011 | +
+
+
+
+
+ |
+
+ + | +weep | ++ good@gmail.com + | ++ Rejected + | +12.12.2011 | +
+
+
+
+
+ |
+
+ + | +coop | ++ good@gmail.com + | ++ Info + | +12.12.2011 | +
+
+
+
+
+ |
+
+ + | +pppol | ++ good@gmail.com + | ++ Suspended + | +12.12.2011 | +
+
+
+
+
+ |
+
+ + | +test | ++ good@gmail.com + | ++ Suspended + | +12.12.2011 | +
+
+
+
+
+ |
+
+ + | +userwow | ++ userwow@gmail.com + | ++ Suspended + | +12.12.2011 | +
+
+
+
+
+ |
+
+ + | +test | ++ test@gmail.com + | ++ Suspended + | +12.12.2011 | +
+
+
+
+
+ |
+
+ + | +goop | ++ good@gmail.com + | ++ Suspended + | +12.12.2011 | +
+
+
+
+
+ |
+
+ + | +weep | ++ good@gmail.com + | ++ Suspended + | +12.12.2011 | +
+
+
+
+
+ |
+
+ + | +toopl | ++ good@gmail.com + | ++ Suspended + | +12.12.2011 | +
+
+
+
+
+ |
+
+ + | +userwow | ++ userwow@gmail.com + | ++ Suspended + | +12.12.2011 | +
+
+
+
+
+ |
+
+ + | +tes21t | ++ test@gmail.com + | ++ Suspended + | +12.12.2011 | +
+
+
+
+
+ |
+
+ + | +fop | ++ good@gmail.com + | ++ Suspended + | +12.12.2011 | +
+
+
+
+
+ |
+
+ + | +kop | ++ good@gmail.com + | ++ Suspended + | +12.12.2011 | +
+
+
+
+
+ |
+
+ + | +vopl | ++ good@gmail.com + | ++ Suspended + | +12.12.2011 | +
+
+
+
+
+ |
+
+ + | +userwow | ++ userwow@gmail.com + | ++ Suspended + | +12.12.2011 | +
+
+
+
+
+ |
+
+ + | +wap | ++ test@gmail.com + | ++ Suspended + | +12.12.2011 | +
+
+
+
+
+ |
+
+ + | +test | ++ good@gmail.com + | ++ Suspended + | +12.12.2011 | +
+
+
+
+
+ |
+
+ + | +toop | ++ good@gmail.com + | ++ Suspended + | +12.12.2011 | +
+
+
+
+
+ |
+
+ + | +weep | ++ good@gmail.com + | ++ Suspended + | +12.12.2011 | +
+
+
+
+
+ |
+
Name | +Position | +Office | +Age | +Start date | +Salary | +
---|---|---|---|---|---|
Tiger Nixon | +System Architect | +Edinburgh | +61 | +2011/04/25 | +$320,800 | +
Garrett Winters | +Accountant | +Tokyo | +63 | +2011/07/25 | +$170,750 | +
Ashton Cox | +Junior Technical Author | +San Francisco | +66 | +2009/01/12 | +$86,000 | +
Cedric Kelly | +Senior Javascript Developer | +Edinburgh | +22 | +2012/03/29 | +$433,060 | +
Airi Satou | +Accountant | +Tokyo | +33 | +2008/11/28 | +$162,700 | +
Brielle Williamson | +Integration Specialist | +New York | +61 | +2012/12/02 | +$372,000 | +
Herrod Chandler | +Sales Assistant | +San Francisco | +59 | +2012/08/06 | +$137,500 | +
Rhona Davidson | +Integration Specialist | +Tokyo | +55 | +2010/10/14 | +$327,900 | +
Colleen Hurst | +Javascript Developer | +San Francisco | +39 | +2009/09/15 | +$205,500 | +
Sonya Frost | +Software Engineer | +Edinburgh | +23 | +2008/12/13 | +$103,600 | +
Jena Gaines | +Office Manager | +London | +30 | +2008/12/19 | +$90,560 | +
Quinn Flynn | +Support Lead | +Edinburgh | +22 | +2013/03/03 | +$342,000 | +
Charde Marshall | +Regional Director | +San Francisco | +36 | +2008/10/16 | +$470,600 | +
Haley Kennedy | +Senior Marketing Designer | +London | +43 | +2012/12/18 | +$313,500 | +
Tatyana Fitzpatrick | +Regional Director | +London | +19 | +2010/03/17 | +$385,750 | +
Michael Silva | +Marketing Designer | +London | +66 | +2012/11/27 | +$198,500 | +
Paul Byrd | +Chief Financial Officer (CFO) | +New York | +64 | +2010/06/09 | +$725,000 | +
Gloria Little | +Systems Administrator | +New York | +59 | +2009/04/10 | +$237,500 | +
Bradley Greer | +Software Engineer | +London | +41 | +2012/10/13 | +$132,000 | +
Dai Rios | +Personnel Lead | +Edinburgh | +35 | +2012/09/26 | +$217,500 | +
Jenette Caldwell | +Development Lead | +New York | +30 | +2011/09/03 | +$345,000 | +
Yuri Berry | +Chief Marketing Officer (CMO) | +New York | +40 | +2009/06/25 | +$675,000 | +
Caesar Vance | +Pre-Sales Support | +New York | +21 | +2011/12/12 | +$106,450 | +
Doris Wilder | +Sales Assistant | +Sidney | +23 | +2010/09/20 | +$85,600 | +
Angelica Ramos | +Chief Executive Officer (CEO) | +London | +47 | +2009/10/09 | +$1,200,000 | +
Gavin Joyce | +Developer | +Edinburgh | +42 | +2010/12/22 | +$92,575 | +
Jennifer Chang | +Regional Director | +Singapore | +28 | +2010/11/14 | +$357,650 | +
Brenden Wagner | +Software Engineer | +San Francisco | +28 | +2011/06/07 | +$206,850 | +
Fiona Green | +Chief Operating Officer (COO) | +San Francisco | +48 | +2010/03/11 | +$850,000 | +
Shou Itou | +Regional Marketing | +Tokyo | +20 | +2011/08/14 | +$163,000 | +
Michelle House | +Integration Specialist | +Sidney | +37 | +2011/06/02 | +$95,400 | +
Suki Burks | +Developer | +London | +53 | +2009/10/22 | +$114,500 | +
Prescott Bartlett | +Technical Author | +London | +27 | +2011/05/07 | +$145,000 | +
Gavin Cortez | +Team Leader | +San Francisco | +22 | +2008/10/26 | +$235,500 | +
Martena Mccray | +Post-Sales support | +Edinburgh | +46 | +2011/03/09 | +$324,050 | +
Unity Butler | +Marketing Designer | +San Francisco | +47 | +2009/12/09 | +$85,675 | +
Howard Hatfield | +Office Manager | +San Francisco | +51 | +2008/12/16 | +$164,500 | +
Hope Fuentes | +Secretary | +San Francisco | +41 | +2010/02/12 | +$109,850 | +
Vivian Harrell | +Financial Controller | +San Francisco | +62 | +2009/02/14 | +$452,500 | +
Timothy Mooney | +Office Manager | +London | +37 | +2008/12/11 | +$136,200 | +
Jackson Bradshaw | +Director | +New York | +65 | +2008/09/26 | +$645,750 | +
Olivia Liang | +Support Engineer | +Singapore | +64 | +2011/02/03 | +$234,500 | +
Bruno Nash | +Software Engineer | +London | +38 | +2011/05/03 | +$163,500 | +
Sakura Yamamoto | +Support Engineer | +Tokyo | +37 | +2009/08/19 | +$139,575 | +
Thor Walton | +Developer | +New York | +61 | +2013/08/11 | +$98,540 | +
Finn Camacho | +Support Engineer | +San Francisco | +47 | +2009/07/07 | +$87,500 | +
Serge Baldwin | +Data Coordinator | +Singapore | +64 | +2012/04/09 | +$138,575 | +
Zenaida Frank | +Software Engineer | +New York | +63 | +2010/01/04 | +$125,250 | +
Zorita Serrano | +Software Engineer | +San Francisco | +56 | +2012/06/01 | +$115,000 | +
Jennifer Acosta | +Junior Javascript Developer | +Edinburgh | +43 | +2013/02/01 | +$75,650 | +
Cara Stevens | +Sales Assistant | +New York | +46 | +2011/12/06 | +$145,600 | +
Hermione Butler | +Regional Director | +London | +47 | +2011/03/21 | +$356,250 | +
Lael Greer | +Systems Administrator | +London | +21 | +2009/02/27 | +$103,500 | +
Jonas Alexander | +Developer | +San Francisco | +30 | +2010/07/14 | +$86,500 | +
Shad Decker | +Regional Director | +Edinburgh | +51 | +2008/11/13 | +$183,000 | +
Michael Bruce | +Javascript Developer | +Singapore | +29 | +2011/06/27 | +$183,000 | +
Donna Snider | +Customer Support | +New York | +27 | +2011/01/25 | +$112,000 | +
+ | Name | +Department | +Specialization | +Degree | +Mobile | +Joining Date | +Action | +|
---|---|---|---|---|---|---|---|---|
+ + | +Dr.Rajesh | +General surgery | +18 | +MBBS,MD | ++ 4444565756 | ++ rajesh@gmail.com | +22 Feb 2000 | ++ + + + + | +
+ + | +Dr.Pooja Patel | +Cardiology | +5 | +M.D. | ++ 444786876 | ++ pooja@gmail.com | +27 Aug 2005 | ++ + + + + | +
+ + | +Dr.Sarah Smith | +Anaesthetics | +15 | +MBBS,DGO,MD | ++ 44455546456 | ++ sarah@gmail.com | +05 Jun 2011 | ++ + + + + | +
+ + | +Dr.John Deo | +Dentist | +23 | +BDS,MDS | ++ 444543564 | ++ john@gmail.com | +15 Feb 2012 | ++ + + + + | +
+ + | +Dr.Jay Soni | +General | +10 | +BHMS | ++ 444543564 | ++ kenh@gmail.com | +12 Nov 2012 | ++ + + + + | +
+ + | +Dr.Jacob Ryan | +Urology | +14 | +MBBS,MS | ++ 444543564 | ++ johnson@gmail.com | +03 Dec 2001 | ++ + + + + | +
+ + | +Dr.Megha Trivedi | +Gynaecology | +7 | +MBBS,MS | ++ 444543564 | ++ megha@gmail.com | +17 Mar 2013 | ++ + + + + | +
+ + | +Dr.Rajesh | +General surgery | +18 | +MBBS,MD | ++ 4444565756 | ++ rajesh@gmail.com | +22 Feb 2000 | ++ + + + + | +
+ + | +Dr.Pooja Patel | +Cardiology | +5 | +M.D. | ++ 444786876 | ++ pooja@gmail.com | +27 Aug 2005 | ++ + + + + + + | +
+ + | +Dr.Sarah Smith | +Anaesthetics | +15 | +MBBS,DGO,MD | ++ 44455546456 | ++ sarah@gmail.com | +05 Jun 2011 | ++ + + + + + + | +
+ + | +Dr.John Deo | +Dentist | +23 | +BDS,MDS | ++ 444543564 | ++ john@gmail.com | +15 Feb 2012 | ++ + + + + + + | +
+ + | +Dr.Jay Soni | +General | +10 | +BHMS | ++ 444543564 | ++ kenh@gmail.com | +12 Nov 2012 | ++ + + + + + + | +
+ + | +Dr.Jacob Ryan | +Urology | +14 | +MBBS,MS | ++ 444543564 | ++ johnson@gmail.com | +03 Dec 2001 | ++ + + + + + + | +
+ + | +Dr.Megha Trivedi | +Gynaecology | +7 | +MBBS,MS | ++ 444543564 | ++ megha@gmail.com | +17 Mar 2013 | ++ + + + + + + | +
A-103, shyam gokul flats, Mahatma Road
Mumbai
45, Krishna Tower, Near Bus Stop, Satellite,
Mumbai
456, Estern evenue, Courtage area,
New York
A-103, shyam gokul flats, Mahatma Road
Mumbai
45, Krishna Tower, Near Bus Stop, Satellite,
Mumbai
456, Estern evenue, Courtage area,
New York
A-103, shyam gokul flats, Mahatma Road
Mumbai
45, Krishna Tower, Near Bus Stop, Satellite,
Mumbai
456, Estern evenue, Courtage area,
New York
A-103, shyam gokul flats, Mahatma Road
Mumbai
45, Krishna Tower, Near Bus Stop, Satellite,
Mumbai
A-103, shyam gokul flats, Mahatma Road
Mumbai
+ | Name | +Sex | +Address | +Mobile | +Birth Date | +Age | +Blood Group | +Status | +Action | +
---|---|---|---|---|---|---|---|---|---|
+ + | +Rajesh | +Male | +18,Ajay flats, satadhar, ahmedabad | ++ 4444565756 | +11 Jan 1983 | +27 | +AB++ | +Discharge | ++ + + + + + + | +
+ + | +Pooja Patel | +Female | +18,Ajay flats, satadhar, ahmedabad | ++ 444786876 | +18 Jan 1983 | +23 | +O+ | +Operation | ++ + + + + + + | +
+ + | +Sarah Smith | +Feale | +18,Ajay flats, satadhar, ahmedabad | ++ 44455546456 | +22 Jan 1987 | +27 | +O+ | +Operation | ++ + + + + + + | +
+ + | +John Deo | +Male | +18,Ajay flats, satadhar, ahmedabad | ++ 444543564 | +11 Jan 1983 | +23 | +A+ | +Discharge | ++ + + + + + + | +
+ + | +Jay Soni | +Male | +18,Ajay flats, satadhar, ahmedabad | ++ 444543564 | +22 Jan 1987 | +27 | +O+ | +Check up | ++ + + + + + + | +
+ + | +Jacob Ryan | +Male | +18,Ajay flats, satadhar, ahmedabad | ++ 444543564 | +22 Jan 1987 | +23 | +AB- | +Check up | ++ + + + + + + | +
+ + | +Megha Trivedi | +Female | +18,Ajay flats, satadhar, ahmedabad | ++ 444543564 | +11 Jan 1983 | +27 | +O+ | +Operation | ++ + + + + + + | +
+ + | +Rajesh | +Male | +18,Ajay flats, satadhar, ahmedabad | ++ 4444565756 | +09 Jan 1985 | +23 | +A+ | +Check up | ++ + + + + + + | +
+ + | +Pooja Patel | +Female | +18,Ajay flats, satadhar, ahmedabad | ++ 444786876 | +22 Jan 1987 | +29 | +O+ | +Operation | ++ + + + + + + | +
+ + | +Sarah Smith | +Female | +18,Ajay flats, satadhar, ahmedabad | ++ 44455546456 | +11 Jan 1983 | +29 | +A- | +Check up | ++ + + + + + + | +
+ + | +John Deo | +Male | +18,Ajay flats, satadhar, ahmedabad | ++ 444543564 | +17 Jan 1992 | +23 | +O+ | +Discharge | ++ + + + + + + | +
+ + | +Jay Soni | +Male | +18,Ajay flats, satadhar, ahmedabad | ++ 444543564 | +22 Jan 1987 | +23 | +A+ | +Check up | ++ + + + + + + | +
+ + | +Jacob Ryan | +Male | +18,Ajay flats, satadhar, ahmedabad | ++ 444543564 | +17 Jan 1992 | +29 | +O+ | +Operation | ++ + + + + + + | +
+ + | +Megha Trivedi | +Female | +18,Ajay flats, satadhar, ahmedabad | ++ 444543564 | +22 Jan 1987 | +23 | +AB+ | +Operation | ++ + + + + + + | +
456, Estern evenue, Courtage area,
New York
A-103, shyam gokul flats, Mahatma Road
Mumbai
+ | Name | +Designation | +Mobile | +Address | +Joining Date | +Action | +|
---|---|---|---|---|---|---|---|
+ + | +Rajesh | +Compounder | ++ 4444565756 | ++ rajesh@gmail.com | +22,tilak appt. surat | +22 Feb 2000 | ++ + + + + + + | +
+ + | +Pooja Patel | +Nurse | ++ 444786876 | ++ pooja@gmail.com | +22,tilak appt. surat | +27 Aug 2005 | ++ + + + + + + | +
+ + | +Sarah Smith | +Nurse | ++ 44455546456 | ++ sarah@gmail.com | +22,tilak appt. surat | +05 Jun 2011 | ++ + + + + + + | +
+ + | +John Deo | +Supervisor | ++ 444543564 | ++ john@gmail.com | +22,tilak appt. surat | +15 Feb 2012 | ++ + + + + + + | +
+ + | +Jay Soni | +Purchase Officer | ++ 444543564 | ++ kenh@gmail.com | +22,tilak appt. surat | +12 Nov 2012 | ++ + + + + + + | +
+ + | +Jacob Ryan | +Receptionist | ++ 444543564 | ++ johnson@gmail.com | +22,tilak appt. surat | +03 Dec 2001 | ++ + + + + + + | +
+ + | +Megha Trivedi | +Nurse | ++ 444543564 | ++ megha@gmail.com | +22,tilak appt. surat | +17 Mar 2013 | ++ + + + + + + | +
+ + | +Rajesh | +Lab Assistent | ++ 4444565756 | ++ rajesh@gmail.com | +22,tilak appt. surat | +22 Feb 2000 | ++ + + + + + + | +
+ + | +Pooja Patel | +Pharmacist | ++ 444786876 | ++ pooja@gmail.com | +22,tilak appt. surat | +27 Aug 2005 | ++ + + + + + + | +
+ + | +Sarah Smith | +Nurse | ++ 44455546456 | ++ sarah@gmail.com | +22,tilak appt. surat | +05 Jun 2011 | ++ + + + + + + | +
+ + | +Jacob Ryan | +Receptionist | ++ 444543564 | ++ johnson@gmail.com | +22,tilak appt. surat | +03 Dec 2001 | ++ + + + + + + | +
+ + | +Megha Trivedi | +Nurse | ++ 444543564 | ++ megha@gmail.com | +22,tilak appt. surat | +17 Mar 2013 | ++ + + + + + + | +
+ + | +Rajesh | +Lab Assistent | ++ 4444565756 | ++ rajesh@gmail.com | +22,tilak appt. surat | +22 Feb 2000 | ++ + + + + + + | +
+ + | +Pooja Patel | +Pharmacist | ++ 444786876 | ++ pooja@gmail.com | +22,tilak appt. surat | +27 Aug 2005 | ++ + + + + + + | +
+ + | +Sarah Smith | +Nurse | ++ 44455546456 | ++ sarah@gmail.com | +22,tilak appt. surat | +05 Jun 2011 | ++ + + + + + + | +
45, Krishna Tower, Near Bus Stop, Satellite,
Mumbai
A-103, shyam gokul flats, Mahatma Road
Mumbai
45, Krishna Tower, Near Bus Stop, Satellite,
Mumbai
456, Estern evenue, Courtage area,
New York
A-103, shyam gokul flats, Mahatma Road
Mumbai
45, Krishna Tower, Near Bus Stop, Satellite,
Mumbai
A-103, shyam gokul flats, Mahatma Road
Mumbai
45, Krishna Tower, Near Bus Stop, Satellite,
Mumbai
A-103, shyam gokul flats, Mahatma Road
Mumbai
# | +First Name | +Last Name | +Username | +
---|---|---|---|
1 | +Mark | +Otto | +makr124 | +
2 | +Jacob | +Nilson | +jac123 | +
3 | +Larry | +Cooper | +lar | +
4 | +Sandy | +Lim | +sanlim | +
5 | +Mark | +Otto | +makr124 | +
6 | +Jacob | +Nilson | +jac123 | +
7 | +Larry | +Cooper | +lar | +
8 | +Sandy | +Lim | +sanlim | +
9 | +Jacob | +Nilson | +jac123 | +
# | +Column heading | +Column heading | +Column heading | +
---|---|---|---|
1 | +Column content | +Column content | +Column content | +
2 | +Column content | +Column content | +Column content | +
3 | +Column content | +Column content | +Column content | +
4 | +Column content | +Column content | +Column content | +
5 | +Column content | +Column content | +Column content | +
6 | +Column content | +Column content | +Column content | +
7 | +Column content | +Column content | +Column content | +
8 | +Column content | +Column content | +Column content | +
9 | +Column content | +Column content | +Column content | +
Company | +Descrition | +Profit | +Progress | +Status | +Action | +
---|---|---|---|---|---|
VectorLab + | +Lorem Ipsum dorolo imit | +693030.00$ | +
+
+
+
+ |
+ Due + | ++ + + + | +
Admin Lab + | +Lorem Ipsum dorolo | +10003.00$ | +
+
+
+
+ |
+ Due + | ++ + + + | +
Metro Lab + | +Lorem Ipsum dorolo | +23400.00$ | +
+
+
+
+ |
+ Paid + | ++ + + + | +
Flat Lab + | +Lorem Ipsum dorolo | +36342.50$ | +
+
+
+
+ |
+ Paid + | ++ + + + | +
Slick Lab + | +Lorem Ipsum dorolo imit | +4022.00$ | +
+
+
+
+ |
+ Due + | ++ + + + | +
TroCode + | +Lorem Ipsum dorolo | +526456.00$ | +
+
+
+
+ |
+ Due + | ++ + + + | +
Vector Ltd + | +Lorem Ipsum dorolo imit | +12120.00$ | +
+
+
+
+ |
+ Due + | ++ + + + | +
Dashboard + | +Lorem Ipsum dorolo | +56456.00$ | +
+
+
+
+ |
+ Due + | ++ + + + | +
Vector Ltd + | +Lorem Ipsum dorolo imit | +12120.00$ | +
+
+
+
+ |
+ Due + | ++ + + + | +
Modern + | +Lorem Ipsum dorolo | +56456.00$ | +
+
+
+
+ |
+ Due + | ++ + + + | +
S no | +Name | +Image | +Details | +Tags | +Edit | +Action | +
---|---|---|---|---|---|---|
=$i;?> | +=ucwords($name);?> | ++ + | =ucwords($intro);?> | ++ + =ucwords($tg);?> + + + | ++ + + + | ++ + + | +
=$short_description;?>
+ + +=$i." . ".$compare_name;?>
+ +=$i." . ".$docname;?>
+ +=$sp;?>
++ | Name | +Position | +Office | +Salary | +
---|---|---|---|---|
+ | Name | +Position | +Office | +Salary | +
The clean and well commented code allows easy customization of the
+ theme.It's
designed for describing your app, agency or business.
S no | +Customer Name | +Agent Name | +Category | +Policy | + +Date | + +
---|---|---|---|---|---|
=$i;?> | +=ucwords($custname_name);?> | +=ucwords($agency_name);?> | +=$ategoryname;?> | + +=$policyname;?> | + + +=date("d-m-Y H:i:s",strtotime($cdate)); ?> | + + + +
S no | +Customer Name | +Agent Name | +Category | +Policy | + +Date | + +
---|---|---|---|---|---|
=$i;?> | +=ucwords($custname_name);?> | +=ucwords($agency_name);?> | +=$ategoryname;?> | + +=$policyname;?> | + + +=date("d-m-Y H:i:s",strtotime($cdate)); ?> | + + + +
S no | +Customer Name | +Agent Name | +Category | +Policy | + +Date | + +
---|---|---|---|---|---|
=$i;?> | +=ucwords($custname_name);?> | +=ucwords($agency_name);?> | +=$ategoryname;?> | + +=$policyname;?> | + + +=date("d-m-Y H:i:s",strtotime($cdate)); ?> | + + + +
S no | +Customer Name | +Agent Name | +Category | +Policy | + +Date | + +
---|---|---|---|---|---|
=$i;?> | +=ucwords($custname_name);?> | +=ucwords($agency_name);?> | +=$ategoryname;?> | + +=$policyname;?> | + + +=date("d-m-Y H:i:s",strtotime($cdate)); ?> | + + + +
S no | +Customer Name | +Agent Name | +Category | +Policy | + +Date | + +
---|---|---|---|---|---|
=$i;?> | +=ucwords($custname_name);?> | +=ucwords($agency_name);?> | +=$ategoryname;?> | + +=$policyname;?> | + + +=date("d-m-Y H:i:s",strtotime($cdate)); ?> | + + + +
S no | +Customer Name | +Agent Name | +Category | +Policy | + +Date | + +
---|---|---|---|---|---|
=$i;?> | +=ucwords($custname_name);?> | +=ucwords($agency_name);?> | +=$ategoryname;?> | + +=$policyname;?> | + + +=date("d-m-Y H:i:s",strtotime($cdate)); ?> | + + + +
S no | +Customer Name | +Agent Name | +Category | +Policy | + +Date | + +
---|---|---|---|---|---|
=$i;?> | +=ucwords($custname_name);?> | +=ucwords($agency_name);?> | +=$ategoryname;?> | + +=$policyname;?> | + + +=date("d-m-Y H:i:s",strtotime($cdate)); ?> | + + + +
S no | +Customer Name | +Agent Name | +Category | +Policy | + +Date | +Response | + +
---|---|---|---|---|---|---|
=$i;?> | +=ucwords($custname_name);?> | +=ucwords($agency_name);?> | +=$ategoryname;?> | + +=$policyname;?> | + + +=date("d-m-Y H:i:s",strtotime($cdate)); ?> | +Mobile : =$res_mobile;?> + Email : =$res_email;?> + Message : =$res_message;?> + + |
+
+
+
+
S no | +Customer Name | +Agent Name | +Category | +Policy | + +Date | +Status | + +
---|---|---|---|---|---|---|
=$i;?> | +=ucwords($custname_name);?> | +=ucwords($agency_name);?> | +=$ategoryname;?> | + +=$policyname;?> | + + +=date("d-m-Y H:i:s",strtotime($cdate)); ?> | +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
S no | +Customer Name | +Agent Name | +Category | +Policy | + +Date | + + +
---|---|---|---|---|---|
=$i;?> | +=ucwords($custname_name);?> | +=ucwords($agency_name);?> | +=$ategoryname;?> | + +=$policyname;?> | + + +=date("d-m-Y H:i:s",strtotime($cdate)); ?> | + + + + +
No | +Name | +Assigned Doctor | +Diseases | +Room No | +
---|---|---|---|---|
1 | +Jens Brincker | +Dr.Kenny Josh | ++ Influenza + | +101 | +
2 | +Mark Hay | +Dr. Mark | ++ Cholera + | +105 | +
4 | +David Perry | +Dr.Felix | ++ Jaundice + | +105 | +
5 | +Anthony Davie | +Dr.Beryl | ++ Leptospirosis + | +102 | +
7 | +Mark Hay | +Dr.Jayesh | ++ Typhoid + | +107 | +
8 | +Sue Woodger | +Dr.Sharma | ++ Malaria + | +108 | +
+ + | +Patient Name | +Assigned Doctor | +Date | +Time | +Actions | +
---|---|---|---|---|---|
+ + | +Jayesh Patel | ++ Dr.Rajesh + | +12/05/2016 | +10:45 | +
+
+
+
+
+ |
+
+ + | +Pooja Patel | ++ Dr.Sarah Smith + | +12/05/2016 | +10:55 | +
+
+
+
+
+ |
+
+ + | +Pankaj Singh | ++ Dr.Rajesh + | +12/05/2016 | +11:15 | +
+
+
+
+
+ |
+
+ + | +Raj Malhotra | ++ Dr.Megha Trivedi + | +12/05/2016 | +11:25 | +
+
+
+
+
+ |
+
+ + | +Sneha Pandya | ++ Dr.Sarah Smith + | +12/05/2016 | +11:35 | +
+
+
+
+
+ |
+
+ + | +Sameer Jain | ++ Dr.Megha Trivedi + | +12/05/2016 | +11:45 | +
+
+
+
+
+ |
+
Dr.Kiran Patel
+(123) 456 7890
+kiranpatel@sanjivnee.com
+India
+Completed my graduation in Gynaecologist Medicine from the well known and renowned + institution of India – SARDAR PATEL MEDICAL COLLEGE, BARODA in 2000-01, which was affiliated to M.S. + University. I ranker in University exams from the same university from 1996-01.
+Worked as Professor and Head of the department ; Community medicine Department at Sterline Hospital, + Rajkot, Gujarat from 2003-2015
+And I was lucky to train in a collegial environment where we called most of our attendings by their + first names. If only doctors did it that way outside the Midwest. One of my attendings even made the + argument that it is safer for patient care because it’s easier for subordinates to raise concerns when + they’re not verbally kowtowing to their superior. I never respected a white-haired surgeon any less when + I addressed him by his first name. In fact, I saw that in non-clinical science, it is commonplace for + the most junior researchers to call the most celebrated senior scientists by their first names.
+When I offer or recommend products, I do so because I have actively researched them and find they are + the best in that category for your health. I ignore substandard products, and products not directly + pertinent to your health, regardless of any potential financial upsid
+2 days ago near Alaska, USA
+4 days ago near Alaska, USA
+4 days ago near Alaska, USA
+
+
+
+
+
+ |
+ + | ++ + + + | + + + + +|
+
+
+
+
+ |
+ + | ++ + + + | + + + + +|
+
+
+
+
+ |
+ + | ++ + R + + | + + + + +|
+
+
+
+
+ |
+ + | ++ + + + | + + + + +|
+
+
+
+
+ |
+ + | ++ + X + + | + + + + +|
+
+
+
+
+ |
+ + | ++ + + + | + + + + +|
+
+
+
+
+ |
+ + | ++ + V + + | + + + + +|
+
+
+
+
+ |
+ + | ++ + + + | + + + + +|
+
+
+
+
+ |
+ + | ++ + + + | + + + + +|
+
+
+
+
+ |
+ + | ++ + + + | + + + + +|
+
+
+
+
+ |
+ + | ++ + + + | + + + + +|
+
+
+
+
+ |
+ + | ++ + + + | +Anjelina Cardella | + + + +
+
+
+
+
+ |
+ + | ++ + + + | + + + + +|
+
+
+
+
+ |
+ + | ++ + + + | +Leena Smith | + + + +
+
+
+
+
+ |
+ + | ++ + + + | + + + + +|
+
+
+
+
+ |
+ + | ++ + F + + | + + + + +|
+
+
+
+
+ |
+ + | ++ + + + | + + + + +|
+
+
+
+
+ |
+ + | ++ + + + | + + + + +|
+
+
+
+
+ |
+ + | ++ + + + | + + + + +|
+
+
+
+
+ |
+ + | ++ + + + | + + + + +|
+
+
+
+
+ |
+ + | ++ + + + | + + + + +|
+
+
+
+
+ |
+ + | ++ + + + | + + + + +|
+
+
+
+
+ |
+ + | ++ + + + | + + + + +|
+
+
+
+
+ |
+ + | ++ + + + | + + + + +|
+
+
+
+
+ |
+ + | ++ + + + | + + + + +
Donec ultrices faucibus rutrum. Phasellus sodales vulputate urna, vel accumsan augue egestas ac. + Donec vitae leo at sem lobortis porttitor eu consequat risus. Mauris sed congue orci. Donec ultrices + faucibus rutrum. Phasellus sodales vulputate urna, vel accumsan augue egestas ac. Donec vitae leo at + sem lobortis porttitor eu consequat risus. Mauris sed congue orci. Donec ultrices faucibus rutrum. + Phasellus sodales vulputate urna, vel accumsan augue egestas ac. Donec vitae leo at sem lobortis + porttitor eu consequat risus. Mauris sed congue orci.
++ Porttitor eu consequat risus. Mauris sed + congue orci. Donec ultrices faucibus rutrum. Phasellus sodales vulputate urna, vel accumsan augue + egestas ac. Donec vitae leo at sem lobortis porttitor eu consequat risus. Mauris sed congue orci. + Donec ultrices faucibus rutrum. Phasellus sodales vulputate urna, vel accumsan augue egestas ac. Donec + vitae leo at sem lobortis porttitor eu consequat risus. Mauris sed congue orci. +
++ Sodales vulputate urna, vel accumsan augue + egestas ac. Donec vitae leo at sem lobortis porttitor eu consequat risus. Mauris sed congue orci. + Donec ultrices faucibus rutrum. Phasellus sodales vulputate urna, vel accumsan augue egestas ac. Donec + vitae leo at sem lobortis porttitor eu consequat risus. Mauris sed congue orci. +
+Name | +Position | +Office | +Age | +Start date | +Salary | +
---|---|---|---|---|---|
Tiger Nixon | +System Architect | +Edinburgh | +61 | +2011/04/25 | +$320,800 | +
Garrett Winters | +Accountant | +Tokyo | +63 | +2011/07/25 | +$170,750 | +
Ashton Cox | +Junior Technical Author | +San Francisco | +66 | +2009/01/12 | +$86,000 | +
Cedric Kelly | +Senior Javascript Developer | +Edinburgh | +22 | +2012/03/29 | +$433,060 | +
Airi Satou | +Accountant | +Tokyo | +33 | +2008/11/28 | +$162,700 | +
Brielle Williamson | +Integration Specialist | +New York | +61 | +2012/12/02 | +$372,000 | +
Herrod Chandler | +Sales Assistant | +San Francisco | +59 | +2012/08/06 | +$137,500 | +
Rhona Davidson | +Integration Specialist | +Tokyo | +55 | +2010/10/14 | +$327,900 | +
Colleen Hurst | +Javascript Developer | +San Francisco | +39 | +2009/09/15 | +$205,500 | +
Sonya Frost | +Software Engineer | +Edinburgh | +23 | +2008/12/13 | +$103,600 | +
Jena Gaines | +Office Manager | +London | +30 | +2008/12/19 | +$90,560 | +
Quinn Flynn | +Support Lead | +Edinburgh | +22 | +2013/03/03 | +$342,000 | +
Charde Marshall | +Regional Director | +San Francisco | +36 | +2008/10/16 | +$470,600 | +
Haley Kennedy | +Senior Marketing Designer | +London | +43 | +2012/12/18 | +$313,500 | +
Tatyana Fitzpatrick | +Regional Director | +London | +19 | +2010/03/17 | +$385,750 | +
Michael Silva | +Marketing Designer | +London | +66 | +2012/11/27 | +$198,500 | +
Paul Byrd | +Chief Financial Officer (CFO) | +New York | +64 | +2010/06/09 | +$725,000 | +
Gloria Little | +Systems Administrator | +New York | +59 | +2009/04/10 | +$237,500 | +
Bradley Greer | +Software Engineer | +London | +41 | +2012/10/13 | +$132,000 | +
Dai Rios | +Personnel Lead | +Edinburgh | +35 | +2012/09/26 | +$217,500 | +
Jenette Caldwell | +Development Lead | +New York | +30 | +2011/09/03 | +$345,000 | +
Yuri Berry | +Chief Marketing Officer (CMO) | +New York | +40 | +2009/06/25 | +$675,000 | +
Caesar Vance | +Pre-Sales Support | +New York | +21 | +2011/12/12 | +$106,450 | +
Doris Wilder | +Sales Assistant | +Sidney | +23 | +2010/09/20 | +$85,600 | +
Angelica Ramos | +Chief Executive Officer (CEO) | +London | +47 | +2009/10/09 | +$1,200,000 | +
Gavin Joyce | +Developer | +Edinburgh | +42 | +2010/12/22 | +$92,575 | +
Jennifer Chang | +Regional Director | +Singapore | +28 | +2010/11/14 | +$357,650 | +
Brenden Wagner | +Software Engineer | +San Francisco | +28 | +2011/06/07 | +$206,850 | +
Fiona Green | +Chief Operating Officer (COO) | +San Francisco | +48 | +2010/03/11 | +$850,000 | +
Shou Itou | +Regional Marketing | +Tokyo | +20 | +2011/08/14 | +$163,000 | +
Michelle House | +Integration Specialist | +Sidney | +37 | +2011/06/02 | +$95,400 | +
Suki Burks | +Developer | +London | +53 | +2009/10/22 | +$114,500 | +
Prescott Bartlett | +Technical Author | +London | +27 | +2011/05/07 | +$145,000 | +
Gavin Cortez | +Team Leader | +San Francisco | +22 | +2008/10/26 | +$235,500 | +
Martena Mccray | +Post-Sales support | +Edinburgh | +46 | +2011/03/09 | +$324,050 | +
Unity Butler | +Marketing Designer | +San Francisco | +47 | +2009/12/09 | +$85,675 | +
Howard Hatfield | +Office Manager | +San Francisco | +51 | +2008/12/16 | +$164,500 | +
Hope Fuentes | +Secretary | +San Francisco | +41 | +2010/02/12 | +$109,850 | +
Vivian Harrell | +Financial Controller | +San Francisco | +62 | +2009/02/14 | +$452,500 | +
Timothy Mooney | +Office Manager | +London | +37 | +2008/12/11 | +$136,200 | +
Jackson Bradshaw | +Director | +New York | +65 | +2008/09/26 | +$645,750 | +
Olivia Liang | +Support Engineer | +Singapore | +64 | +2011/02/03 | +$234,500 | +
Bruno Nash | +Software Engineer | +London | +38 | +2011/05/03 | +$163,500 | +
Sakura Yamamoto | +Support Engineer | +Tokyo | +37 | +2009/08/19 | +$139,575 | +
Thor Walton | +Developer | +New York | +61 | +2013/08/11 | +$98,540 | +
Finn Camacho | +Support Engineer | +San Francisco | +47 | +2009/07/07 | +$87,500 | +
Serge Baldwin | +Data Coordinator | +Singapore | +64 | +2012/04/09 | +$138,575 | +
Zenaida Frank | +Software Engineer | +New York | +63 | +2010/01/04 | +$125,250 | +
Zorita Serrano | +Software Engineer | +San Francisco | +56 | +2012/06/01 | +$115,000 | +
Jennifer Acosta | +Junior Javascript Developer | +Edinburgh | +43 | +2013/02/01 | +$75,650 | +
Cara Stevens | +Sales Assistant | +New York | +46 | +2011/12/06 | +$145,600 | +
Hermione Butler | +Regional Director | +London | +47 | +2011/03/21 | +$356,250 | +
Lael Greer | +Systems Administrator | +London | +21 | +2009/02/27 | +$103,500 | +
Jonas Alexander | +Developer | +San Francisco | +30 | +2010/07/14 | +$86,500 | +
Shad Decker | +Regional Director | +Edinburgh | +51 | +2008/11/13 | +$183,000 | +
Michael Bruce | +Javascript Developer | +Singapore | +29 | +2011/06/27 | +$183,000 | +
Donna Snider | +Customer Support | +New York | +27 | +2011/01/25 | +$112,000 | +
Name | +Position | +Office | +Age | +Start date | +Salary | +
S no | +Question | +Answer | +Edit | +Action | +
---|---|---|---|---|
=$i;?> | += ($question);?> | += ($answer);?> | ++ + + + + | ++ + + | +
Name | +Position | +Office | +Age | +Start date | +Salary | +
---|---|---|---|---|---|
Tiger Nixon | +System Architect | +Edinburgh | +61 | +2011/04/25 | +$320,800 | +
Garrett Winters | +Accountant | +Tokyo | +63 | +2011/07/25 | +$170,750 | +
Ashton Cox | +Junior Technical Author | +San Francisco | +66 | +2009/01/12 | +$86,000 | +
Cedric Kelly | +Senior Javascript Developer | +Edinburgh | +22 | +2012/03/29 | +$433,060 | +
Airi Satou | +Accountant | +Tokyo | +33 | +2008/11/28 | +$162,700 | +
Brielle Williamson | +Integration Specialist | +New York | +61 | +2012/12/02 | +$372,000 | +
Herrod Chandler | +Sales Assistant | +San Francisco | +59 | +2012/08/06 | +$137,500 | +
Rhona Davidson | +Integration Specialist | +Tokyo | +55 | +2010/10/14 | +$327,900 | +
Colleen Hurst | +Javascript Developer | +San Francisco | +39 | +2009/09/15 | +$205,500 | +
Sonya Frost | +Software Engineer | +Edinburgh | +23 | +2008/12/13 | +$103,600 | +
Jena Gaines | +Office Manager | +London | +30 | +2008/12/19 | +$90,560 | +
Quinn Flynn | +Support Lead | +Edinburgh | +22 | +2013/03/03 | +$342,000 | +
Charde Marshall | +Regional Director | +San Francisco | +36 | +2008/10/16 | +$470,600 | +
Haley Kennedy | +Senior Marketing Designer | +London | +43 | +2012/12/18 | +$313,500 | +
Tatyana Fitzpatrick | +Regional Director | +London | +19 | +2010/03/17 | +$385,750 | +
Michael Silva | +Marketing Designer | +London | +66 | +2012/11/27 | +$198,500 | +
Paul Byrd | +Chief Financial Officer (CFO) | +New York | +64 | +2010/06/09 | +$725,000 | +
Gloria Little | +Systems Administrator | +New York | +59 | +2009/04/10 | +$237,500 | +
Bradley Greer | +Software Engineer | +London | +41 | +2012/10/13 | +$132,000 | +
Dai Rios | +Personnel Lead | +Edinburgh | +35 | +2012/09/26 | +$217,500 | +
Jenette Caldwell | +Development Lead | +New York | +30 | +2011/09/03 | +$345,000 | +
Yuri Berry | +Chief Marketing Officer (CMO) | +New York | +40 | +2009/06/25 | +$675,000 | +
Caesar Vance | +Pre-Sales Support | +New York | +21 | +2011/12/12 | +$106,450 | +
Doris Wilder | +Sales Assistant | +Sidney | +23 | +2010/09/20 | +$85,600 | +
Angelica Ramos | +Chief Executive Officer (CEO) | +London | +47 | +2009/10/09 | +$1,200,000 | +
Gavin Joyce | +Developer | +Edinburgh | +42 | +2010/12/22 | +$92,575 | +
Jennifer Chang | +Regional Director | +Singapore | +28 | +2010/11/14 | +$357,650 | +
Brenden Wagner | +Software Engineer | +San Francisco | +28 | +2011/06/07 | +$206,850 | +
Fiona Green | +Chief Operating Officer (COO) | +San Francisco | +48 | +2010/03/11 | +$850,000 | +
Shou Itou | +Regional Marketing | +Tokyo | +20 | +2011/08/14 | +$163,000 | +
Michelle House | +Integration Specialist | +Sidney | +37 | +2011/06/02 | +$95,400 | +
Suki Burks | +Developer | +London | +53 | +2009/10/22 | +$114,500 | +
Prescott Bartlett | +Technical Author | +London | +27 | +2011/05/07 | +$145,000 | +
Gavin Cortez | +Team Leader | +San Francisco | +22 | +2008/10/26 | +$235,500 | +
Martena Mccray | +Post-Sales support | +Edinburgh | +46 | +2011/03/09 | +$324,050 | +
Unity Butler | +Marketing Designer | +San Francisco | +47 | +2009/12/09 | +$85,675 | +
Howard Hatfield | +Office Manager | +San Francisco | +51 | +2008/12/16 | +$164,500 | +
Hope Fuentes | +Secretary | +San Francisco | +41 | +2010/02/12 | +$109,850 | +
Vivian Harrell | +Financial Controller | +San Francisco | +62 | +2009/02/14 | +$452,500 | +
Timothy Mooney | +Office Manager | +London | +37 | +2008/12/11 | +$136,200 | +
Jackson Bradshaw | +Director | +New York | +65 | +2008/09/26 | +$645,750 | +
Olivia Liang | +Support Engineer | +Singapore | +64 | +2011/02/03 | +$234,500 | +
Bruno Nash | +Software Engineer | +London | +38 | +2011/05/03 | +$163,500 | +
Sakura Yamamoto | +Support Engineer | +Tokyo | +37 | +2009/08/19 | +$139,575 | +
Thor Walton | +Developer | +New York | +61 | +2013/08/11 | +$98,540 | +
Finn Camacho | +Support Engineer | +San Francisco | +47 | +2009/07/07 | +$87,500 | +
Serge Baldwin | +Data Coordinator | +Singapore | +64 | +2012/04/09 | +$138,575 | +
Zenaida Frank | +Software Engineer | +New York | +63 | +2010/01/04 | +$125,250 | +
Zorita Serrano | +Software Engineer | +San Francisco | +56 | +2012/06/01 | +$115,000 | +
Jennifer Acosta | +Junior Javascript Developer | +Edinburgh | +43 | +2013/02/01 | +$75,650 | +
Cara Stevens | +Sales Assistant | +New York | +46 | +2011/12/06 | +$145,600 | +
Hermione Butler | +Regional Director | +London | +47 | +2011/03/21 | +$356,250 | +
Lael Greer | +Systems Administrator | +London | +21 | +2009/02/27 | +$103,500 | +
Jonas Alexander | +Developer | +San Francisco | +30 | +2010/07/14 | +$86,500 | +
Shad Decker | +Regional Director | +Edinburgh | +51 | +2008/11/13 | +$183,000 | +
Michael Bruce | +Javascript Developer | +Singapore | +29 | +2011/06/27 | +$183,000 | +
Donna Snider | +Customer Support | +New York | +27 | +2011/01/25 | +$112,000 | +