OXIESEC PANEL
- Current Dir:
/
/
home
/
u116888525
/
domains
/
aretetesting.in
/
public_html
/
imc_testing
/
cms
Server IP: 82.112.239.19
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/11/2024 05:53:15 AM
rwxr-xr-x
📄
advance_report.php
5.35 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
applications_list.php
36.88 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
appr_committee-05-10-20.php
14.35 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
appr_committee.php
22.72 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
approval_report.php
20.25 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📁
certs
-
10/11/2024 05:51:58 AM
rwxr-xr-x
📄
cms_add_signature.php
3.01 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
cms_committee.php
15.42 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
cms_event_mailer.php
7.32 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
cms_event_transactions.php
10.9 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
cms_events.php
135.15 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
cms_events.php.12.1.2021
121.98 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
cms_events_calendar.php
4.04 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
cms_functions.php
29.98 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
cms_general.php
17.1 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
cms_journal.php
14.6 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
cms_lw_reg.php
70.44 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
cms_lw_stallbooking.php
20.88 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
cms_lw_transactions.php
11.07 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
cms_lw_transactions_export.php
2.82 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
cms_media.php
11.31 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
cms_membership_transactions.php
9.87 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
cms_reports.php
91.17 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
cms_reports_accounts.php
11.09 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
cms_revenue_reports.php
90.31 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
cms_users.php
17.81 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
cms_venue.php
24.9 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
cms_venue_tracker.php
49.28 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
cms_venue_transactions.php
10.88 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
cms_venues_calendar.php
3.3 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
cms_ylf_transactions.php
8.73 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_add_signature2.php
5.12 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_add_signature2_last_year.php
5.02 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_advance_vouchers.php
14.73 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_billing.php
46.6 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_billing.php.2.11.2021
45.57 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_cha.php
25.18 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_export_to_excel.php
64.54 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_generate_pdf.php
5.72 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_generate_pdf_last_year.php
5.62 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_get_cha.php
1.19 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_get_cha_balance.php
706 bytes
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_get_company_id.php
3.45 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_get_membership_details.php
1.57 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_grn.php
19.04 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_irn_qrcode.php
1 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_irn_qrcode_delhi.php
1.01 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_member_status_update.php
2.26 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_members.php
52.31 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_membership_reconcile.php
2.42 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_online_manager.php
30.02 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_online_test_stamping.php
4.47 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_print_invoice.php
28.48 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_print_other.php
4.9 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_quick_print.php
6.54 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_receipts.php
22.54 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_recharge.php
19.01 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_recharge_balance_update.php
2.34 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_recharge_transfer.php
19.59 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_reports.php
89.15 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
co_visa_request.php
23.38 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
coo_add_signature.php
5.85 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📁
css
-
10/11/2024 05:51:58 AM
rwxr-xr-x
📄
dashboard.php
6.32 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
dblib.php
4.55 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
dm_applications_list.php
37.17 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📁
e-invoice
-
10/11/2024 05:51:58 AM
rwxr-xr-x
📄
ed_course_track.php
12.14 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
ed_courses.php
20.47 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
ed_exam_registrations.php
38.45 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
ed_exams.php
10.8 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
ed_export_excel.php
3.42 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
ed_generate_pdf.php
5.25 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
ed_institutes.php
14.49 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
ed_print.php
20.65 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
ed_seats.php
1.73 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
ed_students.php
21.29 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
ed_students_export.php
1.51 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
ed_transactions.php
50.62 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
ed_transactions_export.php
2.87 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
events_calendar_public.php
6.28 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
events_mark_attendance.php
956 bytes
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
example_052.php
3.77 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
export_to_excel.php
59.34 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
export_to_excel_revenue.php
59.7 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
fee_structure.php
3.17 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
footer.php
1.53 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
forgot-password.html
2.05 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
func_lib.php
29.33 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
generate_doc.php
29.58 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
generate_pdf-09-11-20.php
13.16 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
generate_pdf.php
12.32 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
get_company_details.php
3.58 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
get_exhibitor_details.php
1.43 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
get_lw_details.php
1.45 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
gulpfile.js
3.21 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
header-bare.php
1.72 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
header.php
5.28 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📁
images
-
10/11/2024 05:51:58 AM
rwxr-xr-x
📄
index.php
2.36 KB
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
interstitial.php
804 bytes
10/11/2024 05:51:58 AM
rw-rw-rw-
📄
irn_qrcode.php
1006 bytes
10/11/2024 05:51:58 AM
rw-rw-rw-
📁
js
-
10/11/2024 05:51:59 AM
rwxr-xr-x
📄
label_print.php
8.82 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
login.php
2.54 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
lw_label_print.php
5.61 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
mailtest.php
598 bytes
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
member_data_print.php
16.79 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
member_renewal.php
12.86 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
members-13-10-2020.php
227 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
members-16-03-21.php
241.02 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
members-23-12-20.php
235.39 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
members.php
266.25 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
members.php.28.10.2021
260.54 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
membership_cost.php
8.9 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
membership_dashboard.php
6.13 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
membership_dashboard_test.php
6.19 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
membership_export_to_excel.php
62.55 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
membership_filters.php
26.02 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
menu.php
2.14 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
order_process.php
3.94 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
order_report.php
39.43 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📁
phpqrcode
-
10/11/2024 05:51:59 AM
rwxr-xr-x
📄
print-09-11-2020.php
19.9 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
print.php
25.41 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
print_approval_report-approvaldate.php
16.64 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
print_approval_report.php
18.89 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
register.html
3.33 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
renew_membership.php
10.77 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
requirements.php
22.47 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📁
scss
-
10/11/2024 05:51:59 AM
rwxr-xr-x
📄
tables.html
25.73 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
tally.php
24.87 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
test_renewal_pending.php
2.59 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
test_report.php
5.38 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
test_report_coo.php
5.83 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
test_report_coo_advance.php
5.8 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
test_report_invoices.php
5.46 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
test_report_lw.php
5.36 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
testexport.php
2.36 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
track-test.php
1.46 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📁
vendor
-
10/11/2024 05:51:59 AM
rwxr-xr-x
📁
vendor1
-
10/11/2024 05:51:59 AM
rwxr-xr-x
📄
visiting_card.php
17.32 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
📄
year_selection_module.php
3.44 KB
10/11/2024 05:51:59 AM
rw-rw-rw-
Editing: cms_ylf_transactions.php
Close
<?php session_start(); include('../admin/dblib.php'); include('../admin/func_lib.php'); include('cms_functions.php'); $getar = $_GET; $getkeys = array_keys($getar); for($i=0; $i<count($getkeys); $i++){ $k = $getkeys[$i]; $v = $getar[$k]; ${$k}=cleanQuery($v); } $getar = $_POST; $getkeys = array_keys($getar); for($i=0; $i<count($getkeys); $i++){ $k = $getkeys[$i]; $v = $getar[$k]; ${$k}=cleanQuery($v); } $user_session = $_SESSION["user_session"]; if ($user_session != "") { include('header.php'); echo "<div id=\"content-wrapper\">\n"; echo " <div class=\"container-fluid\">\n"; include('interstitial.php'); if($action == ""){ echo "<h2 class=\"padb20\"> Transaction Report YLF </h2>\n"; ?> <script> $(function() { $( "#start" ).datepicker({ changeMonth:true, changeYear:true, yearRange:"-15:+1",dateFormat: 'yy-mm-dd', onSelect: function (selected) { var dt = new Date(selected); dt.setDate(dt.getDate()); $("#end").datepicker("option", "minDate", dt); } }); $( "#end" ).datepicker({ changeMonth:true, changeYear:true, yearRange:"-15:+1", dateFormat: 'yy-mm-dd', onSelect: function (selected) { var dt = new Date(selected); dt.setDate(dt.getDate()); $("#start").datepicker("option", "maxDate", dt); } }); }); </script> <?php $today = date("Y-m-d"); /************* Transaction Filter Section Starts ******************************/ echo "<div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 card transaction_report\">\n"; echo "<div class=\"well col-lg-12 col-md-12 col-sm-12 col-xs-12\">"; echo "<div class='col-lg-12 col-md-12 col-sm-12 col-xs-12 padlr0'>"; /***************** Form Start **************************/ echo "<form name=\"form3\" action=\"cms_ylf_transactions.php\" method=\"post\" >\n"; echo "<div class=\"row padb20\" >\n"; // Dates echo "<div class=\"col-12 col-sm-12 col-md-4\">\n"; echo "<input type=text name=\"start\" id=\"start\" class=\"form-control\" placeholder=\"From Date\" value=\"".$start."\" >"; echo "<input type=text name=\"end\" id=\"end\" class=\"form-control\" placeholder=\"To Date\" value=\"".$end."\"><br />"; echo "<input type=\"radio\" name=\"filter_type\" id=\"filter_type_1\" value=\"order\""; if ($filter_type == "" || $filter_type == "order") { echo " checked "; } echo "> Order Date \n"; echo "<input type=\"radio\" name=\"filter_type\" id=\"filter_type_2\" value=\"receipt\""; if ($filter_type == "receipt") { echo " checked "; } echo "> Receipt Date \n"; echo "<input type=\"radio\" name=\"filter_type\" id=\"filter_type_3\" value=\"invoice\""; if ($filter_type == "invoice") { echo " checked "; } echo "> Invoice Date \n"; echo "</div>\n"; // Departmenr echo "<div class=\"col-12 col-sm-12 col-md-3\">\n"; echo "<input type=text name=\"search_receipt\" id=\"search_receipt\" value=\"".$search_receipt."\" class=\"form-control\" placeholder=\"Transaction No\" value=\"".$receipt_no."\">"; echo "<input type=text name=\"keyword\" id=\"keyword\" value=\"".$keyword."\" class=\"form-control\" placeholder=\"Company Name\" >"; echo "</div>\n"; // Payment Method echo "<div class=\"col-12 col-sm-12 col-md-3\">\n"; echo "<select class='form-control select-box' name='source' id='source'>\n"; echo "<option value=''>Payment Method</option>"; echo "<option value=\"online\""; if ($source == "online") { echo " selected "; } echo ">Online (CCAvenue)</option>\n"; echo "<option value=\"offline\""; if ($source == "offline") { echo " selected "; } echo ">Offline (Cheque)</option>\n"; echo "<option value=\"bank transfer\""; if ($source == "bank transfer") { echo " selected "; } echo ">Bank Transfer</option>\n"; echo "<option value=\"cash\""; if ($source == "cash") { echo " selected "; } echo ">Cash</option>"; echo "</select>\n"; echo "<select class='form-control select-box' name='payment' id='payment'>\n"; echo "<option value=''>Payment Status</option>"; echo "<option value='executed'"; if ($payment == "executed") { echo " selected "; } echo ">Executed</option>"; echo "<option value='cancelled'"; if ($payment == "cancelled") { echo " selected "; } echo ">Cancelled</option>"; echo "<option value='pending'"; if ($payment == "pending") { echo " selected "; } echo ">Pending</option>"; echo "</select>\n"; echo "</div>\n"; echo "<div class=\"col-12 col-sm-12 col-md-2\">\n"; echo " <input type=submit value=\"Search\" class=\"btn btn-primary\"><br /><br />\n"; echo "</div>\n"; echo "</div>\n"; echo "</form>\n"; /***************** Form Ends **************************/ echo "</div>\n"; echo "</div>\n"; echo "</div>\n";/************* Transaction Filter Section Ends ******************************/ /******************* Table Starts************************/ ?> <script> $(document).ready(function() { $('#orderTable').DataTable({ "ordering": false }); }); </script> <?php echo "<div class=\"table-responsive padt10\">\n"; echo " <table class=\"table table-bordered table-striped table-hover dataTable no-footer\" id=\"orderTable\" width=\"100%\" cellspacing=\"0\">\n"; echo "<thead class=\"thead-dark\">\n"; echo "<tr align=\"center\">\n"; echo "<th>Transaction Id</th>\n"; echo "<th>Customer</th>\n"; echo "<th>Transaction Date</th>\n"; //echo "<th>Transaction Type</th>\n"; echo "<th>Item Name</th>\n"; echo "<th>Invoice</th>\n"; echo "<th>Receipt</th>\n"; echo "<th>Total Amount</th>\n"; echo "<th>Payment Method</th>\n"; echo "<th>Payment Status</th>\n"; echo "<th></th>\n"; echo "</tr>\n"; echo " </thead>\n"; echo " <tbody>"; $sql_order = "select order_no, order_date, item_1, grand_total, payment_method, payment_status, department, payment_details, name, company, invoice_no, invoice_date, receipt_no, receipt_date from orders where payment_status != 'inactive' and department = 'YLF' "; if($start !="" && $end != "") { if ($filter_type == "receipt") { $sql_order .= " and DATE(receipt_date) >= '".$start."' and DATE(receipt_date) <= '".$end."' "; } if ($filter_type == "invoice") { $sql_order .= " and DATE(invoice_date) >= '".$start."' and DATE(invoice_date) <= '".$end."' "; } if ($filter_type == "order" || $filter_type == "") { $sql_order .= " and DATE(order_date) >= '".$start."' and DATE(order_date) <= '".$end."' "; } } if($source != "") { $sql_order .= " and payment_method = '".$source."'"; } if($payment != "") { $sql_order .= " and payment_status = '".$payment."'"; } if($search_receipt != "") { $sql_order .= " and order_no = '".$search_receipt."'"; } if ($keyword != "") { $key_array = explode(" ",$keyword); for ($j=0;$j<=sizeof($key_array)-1;$j++) { $sql_order .= " and (company like '%".$key_array[$j]."%' or name like '%".$key_array[$j]."%') "; } } $sql_order .= " order by order_no desc "; $qid_order = db_query($sql_order); $sql_num_order = db_num_rows($qid_order); for($i=0; $i<$sql_num_order; $i++) { $result_order = db_fetch_row($qid_order); $sql_temp = "select member_id from membership_track where order_no = '".$result_order[0]."'"; $qid_temp = db_query($sql_temp); $result_temp = db_fetch_row($qid_temp); if($result_order[7] != ""){$payment_details = ucfirst($result_order[4])."<br/>".$result_order[7];} else{$payment_details = ucfirst($result_order[4]);} echo " <tr align=\"center\">\n"; echo " <td>".$result_order[0]."</td>\n"; echo " <td>".$result_order[8].", ".$result_order[9]."</td>\n"; echo " <td>".$result_order[1]."</td>\n"; //echo " <td>".$result_order[6]."</td>\n"; echo " <td>".$result_order[2]."</td>\n"; echo " <td>".$result_order[10]."<br />".text_date2($result_order[11])."</td>\n"; echo " <td>".$result_order[12]."<br />".text_date2($result_order[13])."</td>\n"; echo " <td>".$result_order[3]."</td>\n"; echo " <td>".$result_order[4]."</td>\n"; echo " <td>".$result_order[5]."</td>\n"; echo "<td><a href=\"members.php?action=edit_track_new&transaction_id=".$result_order[0]."&member_id=".$result_temp[0]."\"><i class=\"far fa-edit\"></i></a></td>"; echo "</tr>\n"; } echo "</tbody>"; echo "</table>"; echo "</div>"; } echo "</div>\n"; echo "</div>\n"; include('footer.php'); } /****** If User is not logged In ********/ else { echo "<script>\n"; echo "parent.document.location = \"index.php\";\n"; echo "</script>\n"; } ?>