diff --git a/test_calendar_domains.php b/test_calendar_domains.php deleted file mode 100644 index c1ab47a5..00000000 --- a/test_calendar_domains.php +++ /dev/null @@ -1,62 +0,0 @@ - - -
- - - - \ No newline at end of file diff --git a/test_client_payments_by_invoice.php b/test_client_payments_by_invoice.php deleted file mode 100644 index 35ed9400..00000000 --- a/test_client_payments_by_invoice.php +++ /dev/null @@ -1,141 +0,0 @@ - $sb, 'o' => $o))); -// -////Paging -//if(isset($_GET['p'])){ -// $p = intval($_GET['p']); -// $record_from = (($p)-1)*$_SESSION['records_per_page']; -// $record_to = $_SESSION['records_per_page']; -//}else{ -// $record_from = 0; -// $record_to = $_SESSION['records_per_page']; -// $p = 1; -//} -// -//if(isset($_GET['q'])){ -// $q = mysqli_real_escape_string($mysqli,$_GET['q']); -//}else{ -// $q = ""; -//} -// -//if(!empty($_GET['sb'])){ -// $sb = mysqli_real_escape_string($mysqli,$_GET['sb']); -//}else{ -// $sb = "invoice_date"; -//} -// -//if(isset($_GET['o'])){ -// if($_GET['o'] == 'ASC'){ -// $o = "ASC"; -// $disp = "DESC"; -// }else{ -// $o = "DESC"; -// $disp = "ASC"; -// } -//}else{ -// $o = "DESC"; -// $disp = "ASC"; -//} -// -// -//$sql = mysqli_query($mysqli,"SELECT SQL_CALC_FOUND_ROWS * FROM invoices -// WHERE client_id = $client_id -// AND (invoice_number LIKE '%$q%') -// ORDER BY $sb $o LIMIT $record_from, $record_to"); -// -//$num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()")); -//$total_found_rows = $num_rows[0]; -//$total_pages = ceil($total_found_rows / 10); -// -//?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/test_client_print_side_nav.php b/test_client_print_side_nav.php deleted file mode 100644 index f08cc415..00000000 --- a/test_client_print_side_nav.php +++ /dev/null @@ -1,250 +0,0 @@ - - \ No newline at end of file diff --git a/test_contacts.php b/test_contacts.php deleted file mode 100644 index dd93d03f..00000000 --- a/test_contacts.php +++ /dev/null @@ -1,183 +0,0 @@ - $sb, 'o' => $o))); - -//Paging -if(isset($_GET['p'])){ - $p = intval($_GET['p']); - $record_from = (($p)-1)*$_SESSION['records_per_page']; - $record_to = $_SESSION['records_per_page']; -}else{ - $record_from = 0; - $record_to = $_SESSION['records_per_page']; - $p = 1; -} - -if(isset($_GET['q'])){ - $q = mysqli_real_escape_string($mysqli,$_GET['q']); -}else{ - $q = ""; -} - -if(!empty($_GET['sb'])){ - $sb = mysqli_real_escape_string($mysqli,$_GET['sb']); -}else{ - $sb = "contact_name"; -} - -if(isset($_GET['o'])){ - if($_GET['o'] == 'ASC'){ - $o = "ASC"; - $disp = "DESC"; - }else{ - $o = "DESC"; - $disp = "ASC"; - } -}else{ - $o = "ASC"; - $disp = "DESC"; -} - -$sql = mysqli_query($mysqli,"SELECT SQL_CALC_FOUND_ROWS * FROM contacts, clients WHERE contacts.client_id = clients.client_id AND contacts.company_id = $session_company_id AND (contact_name LIKE '%$q%') ORDER BY $sb $o LIMIT $record_from, $record_to"); - -$num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()")); -$total_found_rows = $num_rows[0]; -$total_pages = ceil($total_found_rows / 10); - -?> - -
-
-
Contacts
- -
-
-
- - -
- -
- -
-
-
-
-
- - "> - - - - - - - - - - - 2){ - $contact_phone = substr($row['contact_phone'],0,3)."-".substr($row['contact_phone'],3,3)."-".substr($row['contact_phone'],6,4); - } - $contact_extension = $row['contact_extension ']; - $contact_mobile = $row['contact_mobile']; - if(strlen($contact_mobile)>2){ - $contact_mobile = substr($row['contact_mobile'],0,3)."-".substr($row['contact_mobile'],3,3)."-".substr($row['contact_mobile'],6,4); - } - $contact_email = $row['contact_email']; - $contact_photo = $row['contact_photo']; - $contact_initials = initials($contact_name); - $client_id = $row['client_id']; - $client_name = $row['client_name']; - $contact_notes = $row['contact_notes']; - - - ?> - - - - - - - - - - - - - - -
NameClientTitleEmailPhoneAction
- - - - - - - - - - - -
- - -
-
-
- - -
- - - -
- -
- - -
- - - -
-
-
- - \ No newline at end of file diff --git a/test_delete_confirm_modal.php b/test_delete_confirm_modal.php deleted file mode 100644 index 1dc2f9e5..00000000 --- a/test_delete_confirm_modal.php +++ /dev/null @@ -1,17 +0,0 @@ - \ No newline at end of file diff --git a/test_domains.php b/test_domains.php deleted file mode 100644 index f7eecdbf..00000000 --- a/test_domains.php +++ /dev/null @@ -1,142 +0,0 @@ - $sb, 'o' => $o))); - -//Paging -if(isset($_GET['p'])){ - $p = intval($_GET['p']); - $record_from = (($p)-1)*$_SESSION['records_per_page']; - $record_to = $_SESSION['records_per_page']; -}else{ - $record_from = 0; - $record_to = $_SESSION['records_per_page']; - $p = 1; -} - -if(isset($_GET['q'])){ - $q = mysqli_real_escape_string($mysqli,$_GET['q']); -}else{ - $q = ""; -} - -if(!empty($_GET['sb'])){ - $sb = mysqli_real_escape_string($mysqli,$_GET['sb']); -}else{ - $sb = "domain_id"; -} - -if(isset($_GET['o'])){ - if($_GET['o'] == 'ASC'){ - $o = "ASC"; - $disp = "DESC"; - }else{ - $o = "DESC"; - $disp = "ASC"; - } -}else{ - $o = "ASC"; - $disp = "DESC"; -} - -$sql = mysqli_query($mysqli,"SELECT SQL_CALC_FOUND_ROWS * FROM domains, clients - WHERE domains.client_id = clients.client_id AND domains.company_id = $session_company_id AND (domain_name LIKE '%$q%') - ORDER BY $sb $o LIMIT $record_from, $record_to"); - -$num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()")); -$total_found_rows = $num_rows[0]; -$total_pages = ceil($total_found_rows / 10); - -?> - -
-
-
Domains
- -
-
-
-
- -
- -
-
-
-
-
- - "> - - - - - - - - - - - - - - - - - - - - - - - - -
DomainClientRegistrarWebHostExpireAction
- - -
-
- -
-
- - - diff --git a/test_export_excel_example.php b/test_export_excel_example.php deleted file mode 100644 index d68017f3..00000000 --- a/test_export_excel_example.php +++ /dev/null @@ -1,47 +0,0 @@ - - - - ID - Firstname - Lastname - Address - - - "; - - $query = mysqli_query($conn, "SELECT * FROM `member`") or die(mysqli_errno()); - while($fetch = mysqli_fetch_array($query)){ - - $output .= " - - ".$fetch['mem_id']." - ".$fetch['firstname']." - ".$fetch['lastname']." - ".$fetch['address']." - - "; - } - - $output .=" - - - - "; - - echo $output; -} - -?> \ No newline at end of file diff --git a/test_noclients.php b/test_noclients.php deleted file mode 100644 index f362c74b..00000000 --- a/test_noclients.php +++ /dev/null @@ -1,30 +0,0 @@ - - -
-
-
-
-

Hey! Wheres the party?

- -

why not invite someone over?

- -
-
-
-
- -
-
-
-
-

We don't know where we're going?

- -

why not invite someone over?

- -
-
-
-
- - - \ No newline at end of file diff --git a/test_print_profit_loss.php b/test_print_profit_loss.php deleted file mode 100644 index 5ae490a1..00000000 --- a/test_print_profit_loss.php +++ /dev/null @@ -1,377 +0,0 @@ - - - - -

Profit & Loss

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 AND YEAR(revenue_date) = $year AND MONTH(revenue_date) = $month AND revenues.company_id = $session_company_id"); - $row = mysqli_fetch_array($sql_revenues); - $revenue_total_amount_for_month = $row['revenue_total_amount_for_month']; - - $payment_total_amount_for_month = $payment_total_amount_for_month + $revenue_total_amount_for_month; - - $payment_total_amount_for_quarter_one = $payment_total_amount_for_quarter_one + $payment_total_amount_for_month; - } - - ?> - - - - 0 AND YEAR(revenue_date) = $year AND MONTH(revenue_date) = $month AND revenues.company_id = $session_company_id"); - $row = mysqli_fetch_array($sql_revenues); - $revenue_total_amount_for_month = $row['revenue_total_amount_for_month']; - - $payment_total_amount_for_month = $payment_total_amount_for_month + $revenue_total_amount_for_month; - - $payment_total_amount_for_quarter_two = $payment_total_amount_for_quarter_two + $payment_total_amount_for_month; - } - - ?> - - - - 0 AND YEAR(revenue_date) = $year AND MONTH(revenue_date) = $month AND revenues.company_id = $session_company_id"); - $row = mysqli_fetch_array($sql_revenues); - $revenue_total_amount_for_month = $row['revenue_total_amount_for_month']; - - $payment_total_amount_for_month = $payment_total_amount_for_month + $revenue_total_amount_for_month; - - $payment_total_amount_for_quarter_three = $payment_total_amount_for_quarter_three + $payment_total_amount_for_month; - } - - ?> - - - - 0 AND YEAR(revenue_date) = $year AND MONTH(revenue_date) = $month AND revenues.company_id = $session_company_id"); - $row = mysqli_fetch_array($sql_revenues); - $revenue_total_amount_for_month = $row['revenue_total_amount_for_month']; - - $payment_total_amount_for_month = $payment_total_amount_for_month + $revenue_total_amount_for_month; - - $payment_total_amount_for_quarter_four = $payment_total_amount_for_quarter_four + $payment_total_amount_for_month; - } - - $total_payments_for_all_four_quarters = $payment_total_amount_for_quarter_one + $payment_total_amount_for_quarter_two + $payment_total_amount_for_quarter_three + $payment_total_amount_for_quarter_four; - - ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 AND YEAR(expense_date) = $year AND MONTH(expense_date) = $month AND vendor_id > 0 AND company_id = $session_company_id"); - $row = mysqli_fetch_array($sql_expenses); - $expense_total_amount_for_quarter_one = $expense_total_amount_for_quarter_one + $row['expense_total_amount_for_month']; - } - - ?> - - - - 0 AND YEAR(expense_date) = $year AND MONTH(expense_date) = $month AND vendor_id > 0 AND company_id = $session_company_id"); - $row = mysqli_fetch_array($sql_expenses); - $expense_total_amount_for_quarter_two = $expense_total_amount_for_quarter_two + $row['expense_total_amount_for_month']; - } - - ?> - - - - 0 AND YEAR(expense_date) = $year AND MONTH(expense_date) = $month AND vendor_id > 0 AND company_id = $session_company_id"); - $row = mysqli_fetch_array($sql_expenses); - $expense_total_amount_for_quarter_three = $expense_total_amount_for_quarter_three + $row['expense_total_amount_for_month']; - } - - ?> - - - - 0 AND YEAR(expense_date) = $year AND MONTH(expense_date) = $month AND vendor_id > 0 AND company_id = $session_company_id"); - $row = mysqli_fetch_array($sql_expenses); - $expense_total_amount_for_quarter_four = $expense_total_amount_for_quarter_four + $row['expense_total_amount_for_month']; - } - - $total_expenses_for_all_four_quarters = $expense_total_amount_for_quarter_one + $expense_total_amount_for_quarter_two + $expense_total_amount_for_quarter_three + $expense_total_amount_for_quarter_four; - - ?> - - - - - - - - - - - - - - - - -
Jan-MarApr-JunJul-SepOct-DecTotal


Income
$$$$$
Gross Profit$$$$$


Expenses
$$$$$
Total Expenses


$$$$$
Net Profit$$$$$
- - - - -
-
-
Income Summary
- -
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 AND YEAR(revenue_date) = $year AND MONTH(revenue_date) = $month AND revenues.company_id = $session_company_id"); - $row = mysqli_fetch_array($sql_revenues); - $revenues_total_amount_for_month = $row['revenue_amount_for_month']; - - $payment_total_amount_for_month = $payment_total_amount_for_month + $revenues_total_amount_for_month; - - - $total_payment_for_all_months = $payment_total_amount_for_month + $total_payment_for_all_months; - - ?> - - - - - - - -
CategoryJanuaryFebruaryMarchAprilMayJuneJulyAugustSeptemberOctoberNovemberDecemberTotal
$$
Total$$
-
-
-
- - -

Content

- - diff --git a/test_totp-test.php b/test_totp-test.php deleted file mode 100644 index eaa31f00..00000000 --- a/test_totp-test.php +++ /dev/null @@ -1,80 +0,0 @@ -"; - -echo "secret Key is: $secretkey
"; - - -$test = totp("sha1","$secretkey","$unixtimestamp",30,6); - -echo "
code is: $test"; - - -?> \ No newline at end of file diff --git a/test_totp-test2.php b/test_totp-test2.php deleted file mode 100644 index a0ac8027..00000000 --- a/test_totp-test2.php +++ /dev/null @@ -1,12 +0,0 @@ - \ No newline at end of file diff --git a/test_transactions.php b/test_transactions.php deleted file mode 100644 index c706cea1..00000000 --- a/test_transactions.php +++ /dev/null @@ -1,70 +0,0 @@ - - - - -
-
-
Payments
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
DateDescriptionPayment MethodDebitCreditBalance
INV-$
-
-
- -
- -