OXIESEC PANEL
- Current Dir:
/
/
home
/
u116888525
/
domains
/
aretetesting.in
/
public_html
/
imc_testing
/
adminold
Server IP: 82.112.239.19
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/11/2024 05:53:15 AM
rwxr-xr-x
📄
.htaccess
129 bytes
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
.htpasswd
48 bytes
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
WS_FTP.LOG
61.05 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
access_control.php
6.46 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
admin_details.inc
961 bytes
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
admin_footer.inc
501 bytes
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
admin_footer.php
48 bytes
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
admin_header.php
4.2 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
admin_header.php.1.6.2015
3.94 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
admin_links.inc
1.1 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
admin_login.php
2.21 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
admin_new-06-02-2019.php
30.19 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
admin_new.php
30.6 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
admin_setup.sql
1.82 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
admin_style.inc
652 bytes
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
admin_style.sql
1.67 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
admin_table.php
829 bytes
10/11/2024 05:50:59 AM
rw-rw-rw-
📁
assetmanager
-
10/11/2024 05:50:59 AM
rwxr-xr-x
📄
banners.inc
867 bytes
10/11/2024 05:50:59 AM
rw-rw-rw-
📁
bootstrap
-
10/11/2024 05:50:59 AM
rwxr-xr-x
📄
cms_links.inc
1.65 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
commitee-4.10.19.inc
2.38 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
commitee-4.7.19.inc
2.33 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
commitee.inc
2.53 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
committee_main_cat.inc
1.63 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
committee_sub_cat.inc
1.74 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
contact_form.inc
1.6 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
content.inc
2.14 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
dblib.php
4.55 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
dblib.php.old
4.25 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
event_budget.inc
1.91 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
event_documents.inc
1.73 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
event_gallery.inc
1.71 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
events.inc
2.46 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
func_lib.php
33.68 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
gallery.inc
1.57 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
genmodfile.php
4.61 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
headers.inc
825 bytes
10/11/2024 05:50:59 AM
rw-rw-rw-
📁
images
-
10/11/2024 05:50:59 AM
rwxr-xr-x
📄
imc_journals.inc
1.78 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
index.html
227 bytes
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
index.php
1.47 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
industry_notifications.inc
1.89 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
international_collaborations.inc
1.51 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
job_applications.inc
1.69 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
job_opportunities.inc
2.02 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📁
js
-
10/11/2024 05:50:59 AM
rwxr-xr-x
📄
leaders.inc
1.71 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
mailtest.php
772 bytes
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
main_category.inc
1.55 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
maincat.inc
852 bytes
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
media_coverage.inc
1.87 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
member_contacts.inc
2.67 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
membership_appr_committe.inc
1.81 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
membership_cost.inc
2.05 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
membership_reg.inc
5.67 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
membership_track.inc
1.82 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
membership_type.inc
1.83 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
milestones.inc
1.56 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
newsletter.inc
1.54 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
presentations.inc
1.69 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
press_release.inc
1.69 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
publications.inc
1.57 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
sample.inc
1.87 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
save_to_excel.php
1.71 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📁
scripts
-
10/11/2024 05:50:59 AM
rwxr-xr-x
📄
setup_wizard.php
3.31 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📁
style
-
10/11/2024 05:50:59 AM
rwxr-xr-x
📄
subcat.inc
1.14 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
testimonials.inc
1.72 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
upload.inc
1.23 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
upload_file_new.php
2.37 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
users.inc
1.71 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
vendors.inc
1.95 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
venue.inc
2.18 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
📄
videos.inc
1.83 KB
10/11/2024 05:50:59 AM
rw-rw-rw-
Editing: dblib.php
Close
<?php error_reporting(0); if (!isset($DB_DIE_ON_FAIL)) { $DB_DIE_ON_FAIL = true; } if (!isset($DB_DEBUG)) { $DB_DEBUG = true; } function db_connect($dbhost, $dbport, $dbname, $dbuser, $dbpass) { /* connect to the database $dbname on $dbhost with the user/password pair * $dbuser and $dbpass. */ //$dbhost = $dbhost.":".$dbport; global $DB_DIE_ON_FAIL, $DB_DEBUG; if (! $dbh = mysqli_connect($dbhost, $dbuser, $dbpass)) { if ($DB_DEBUG) { echo "<h2>Can't connect to $dbhost as $dbuser</h2>"; echo "<p><b>MySQL Error</b>: ", mysqli_error($GLOBALS['dbh']); } else { echo "<h2>Database error encountered</h2>"; } if ($DB_DIE_ON_FAIL) { echo "<p>This script cannot continue, terminating."; die(); } } if (! mysqli_select_db($dbh, $dbname)) { if ($DB_DEBUG) { echo "<h2>Can't select database $dbname</h2>"; echo "<p><b>MySQL Error</b>: ", mysqli_error($GLOBALS['dbh']); } else { echo "<h2>Database error encountered</h2>"; } if ($DB_DIE_ON_FAIL) { echo "<p>This script cannot continue, terminating."; die(); } } return $dbh; } function db_disconnect() { /* disconnect from the database, we normally don't have to call this function * because PHP will handle it */ mysqli_close($GLOBALS['dbh']); } function db_query($query, $debug=false, $die_on_debug=true, $silent=false) { /* run the query $query against the current database. if $debug is true, then * we will just display the query on screen. if $die_on_debug is true, and * $debug is true, then we will stop the script after printing he debug message, * otherwise we will run the query. if $silent is true then we will surpress * all error messages, otherwise we will print out that a database error has * occurred */ global $DB_DIE_ON_FAIL, $DB_DEBUG; if ($debug) { echo "<pre>" . htmlspecialchars($query) . "</pre>"; if ($die_on_debug) die; } $qid = mysqli_query($GLOBALS['dbh'], $query); if (! $qid && ! $silent) { if ($DB_DEBUG) { echo "<h2>Can't execute query</h2>"; echo "<pre>" . htmlspecialchars($query) . "</pre>"; echo "<p><b>MySQL Error</b>: ", mysqli_error($GLOBALS['dbh']); } else { echo "<h2>Database error encountered</h2>"; } if ($DB_DIE_ON_FAIL) { echo "<p>This script cannot continue, terminating."; die(); } } return $qid; } function db_fetch_array($qid) { /* grab the next row from the query result identifier $qid, and return it * as an associative array. if there are no more results, return FALSE */ return mysqli_fetch_array($qid); } function db_fetch_row($qid) { /* grab the next row from the query result identifier $qid, and return it * as an array. if there are no more results, return FALSE */ return mysqli_fetch_row($qid); } function db_fetch_object($qid) { /* grab the next row from the query result identifier $qid, and return it * as an object. if there are no more results, return FALSE */ return mysqli_fetch_object($qid); } function db_num_rows($qid) { /* return the number of records (rows) returned from the SELECT query with * the query result identifier $qid. */ return mysqli_num_rows($qid); } function db_affected_rows() { /* return the number of rows affected by the last INSERT, UPDATE, or DELETE * query */ return mysqli_affected_rows(); } function db_insert_id() { /* if you just INSERTed a new row into a table with an autonumber, call this * function to give you the ID of the new autonumber value */ return mysqli_insert_id($GLOBALS['dbh']); } function db_free_result($qid) { /* free up the resources used by the query result identifier $qid */ mysqli_free_result($qid); } function db_num_fields($qid) { /* return the number of fields returned from the SELECT query with the * identifier $qid */ return mysqli_num_fields($qid); } function db_field_name($qid, $fieldno) { /* return the name of the field number $fieldno returned from the SELECT query * with the identifier $qid */ /*return mysqli_field_name($qid, $fieldno);*/ return mysqli_fetch_field($qid); } function db_data_seek($qid, $row) { /* move the database cursor to row $row on the SELECT query with the identifier * $qid */ if (db_num_rows($qid)) { return mysqli_data_seek($qid, $row); } } //$dbh = db_connect('localhost', '3306', 'imc', 'root','$blackbriar1906'); // $dbh = db_connect('imcdbinstance.c6njfwdkqkes.ap-south-1.rds.amazonaws.com', '3306', 'imcmaindb', 'imcmainuser1', 'imcmainuser2022898'); $dbh = db_connect('localhost','3306', 'imc_db', 'root',''); ?>