<commit_before><!--
	Application: CMK Marketing Customer Management System
	Module: Main Page

	Developers: <NAME>, <NAME>, <NAME>
	Brief Description: The main page of system for logged-in users.
-->

<!DOCTYPE html>
<html>

<!-- Header Info -->
<head>
    <meta charset="UTF-8">
    <title>Client Management Homepage</title>

    <!-- Personal CSS -->
    <link rel="stylesheet" href="/css/main.css">

    <link rel="stylesheet" href="/css/landing_page.css">

    <!-- General CDN Additions -->
    <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
            integrity="<KEY>"
            crossorigin="anonymous"></script>

    <!-- Bootstrap CDN Additions -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css"
          integrity="<KEY>" crossorigin="anonymous">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js"
            integrity="<KEY>"
            crossorigin="anonymous"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js"
            integrity="<KEY>"
            crossorigin="anonymous"></script>

    <!-- Found on https://mdbootstrap.com/content/tables/ -->
    <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.16/css/dataTables.bootstrap4.min.css"/>
    <script src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script>
    <script src="https://cdn.datatables.net/1.10.16/js/dataTables.bootstrap4.min.js"></script>
</head>

<!-- Taken from: https://mdbootstrap.com/content/tables/ -->
<!-- Inline Javascript for now, change it later -->
<script>
    $(document).ready(function () {
        $('#example').DataTable();
        $('#example1').DataTable();
        $('#example5').DataTable();
        // $('select').addClass('mdb-select');
        // $('.mdb-select').material_select();
    });
</script>

<!-- Page Content -->
<body>
<?php include 'include/navbar.html';
?>

<div class="container my-4">
    <div class="row" id="main-search">
        <div class="col-md-3">
            <a class="btn btn-primary btn-block green-button search-btn" href="pages/add-new-client.php">Add New Client</a>
        </div>

        <div class="col-md-9">
            <div class="input-group stylish-input-group">
					<span class="input-group-addon">
						<button type="submit">
							<img alt="Search" src="/img/icons/search.png" width="24" height="24">
						</button>
					</span>
                <input type="text" class="form-control" placeholder="Search Clients">
            </div>
        </div>
    </div>
</div>

<div class="container my-4">
    <div class="row">
        <div class="col">

            <!-- Project List -->
            <div class="category-list" id="project-category">

                <div class="category-header">
                    <div class="row">
                        <div class="col col-3">Project</div>
                        <div class="col col-5">Planning URL</div>
                        <div class="col col-2">Client</div>
                        <div class="col col-2 dropdown-elem">
                            <div class="dropdown show">
                                <a class="btn btn-block dropdown-toggle" href="#" role="button" id="dropdownMenuLink"
                                   data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                    Due in: 2 Weeks
                                </a>

                                <div class="dropdown-menu" aria-labelledby="dropdownMenuLink">
                                    <a class="dropdown-item" href="#">2 Weeks</a>
                                    <a class="dropdown-item" href="#">1 Month</a>
                                    <a class="dropdown-item" href="#">3 Months</a>
                                    <a class="dropdown-item" href="#">6 Months</a>
                                    <a class="dropdown-item" href="#">1 Year</a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="entry-wrapper">
                	<?php
                    require_once $_SERVER["DOCUMENT_ROOT"] . "/clients/subscription.php";
                    $all_projects = all_project();

                    foreach ($all_projects as $project) {
                        echo '<a href="' . "/pages/subscription-info.php?subscription=" .
                            $project['Project_ID'] . '"class="entry-link">';
                        echo '<div class="subscription-entry category-entry">';
                        echo '<div class="row">';
                        echo '<div class="col col-3">' . $project['ProjectName'] . '</div>';
                        echo '<div class="col col-5">' . $project['Basecamp_URL'] . '</div>';

                        $name_of_client = find_project_client($project)[0];
                        echo '<div class="col col-2">' . $name_of_client['Companyname'] . '</div>';<commit_msg>Project Fixes<commit_after><!--
	Application: CMK Marketing Customer Management System
	Module: Main Page

	Developers: <NAME>, <NAME>, <NAME>
	Brief Description: The main page of system for logged-in users.
-->

<!DOCTYPE html>
<html>

<!-- Header Info -->
<head>
    <meta charset="UTF-8">
    <title>Client Management Homepage</title>

    <!-- Personal CSS -->
    <link rel="stylesheet" href="/css/main.css">

    <link rel="stylesheet" href="/css/landing_page.css">

    <!-- General CDN Additions -->
    <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
            integrity="<KEY>"
            crossorigin="anonymous"></script>

    <!-- Bootstrap CDN Additions -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css"
          integrity="<KEY>" crossorigin="anonymous">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js"
            integrity="<KEY>"
            crossorigin="anonymous"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js"
            integrity="<KEY>"
            crossorigin="anonymous"></script>

    <!-- Found on https://mdbootstrap.com/content/tables/ -->
    <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.16/css/dataTables.bootstrap4.min.css"/>
    <script src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script>
    <script src="https://cdn.datatables.net/1.10.16/js/dataTables.bootstrap4.min.js"></script>
</head>

<!-- Taken from: https://mdbootstrap.com/content/tables/ -->
<!-- Inline Javascript for now, change it later -->
<script>
    $(document).ready(function () {
        $('#example').DataTable();
        $('#example1').DataTable();
        $('#example5').DataTable();
        // $('select').addClass('mdb-select');
        // $('.mdb-select').material_select();
    });
</script>

<!-- Page Content -->
<body>
<?php include 'include/navbar.html';
?>

<div class="container my-4">
    <div class="row" id="main-search">
        <div class="col-md-3">
            <a class="btn btn-primary btn-block green-button search-btn" href="pages/add-new-client.php">Add New Client</a>
        </div>

        <div class="col-md-9">
            <div class="input-group stylish-input-group">
					<span class="input-group-addon">
						<button type="submit">
							<img alt="Search" src="/img/icons/search.png" width="24" height="24">
						</button>
					</span>
                <input type="text" class="form-control" placeholder="Search Clients">
            </div>
        </div>
    </div>
</div>

<div class="container my-4">
    <div class="row">
        <div class="col">

            <!-- Project List -->
            <div class="category-list" id="project-category">

                <div class="category-header">
                    <div class="row">
                        <div class="col col-3">Project</div>
                        <div class="col col-5">Planning URL</div>
                        <div class="col col-2">Client</div>
                        <div class="col col-2 dropdown-elem">
                            <div class="dropdown show">
                                <a class="btn btn-block dropdown-toggle" href="#" role="button" id="dropdownMenuLink"
                                   data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                    Due in: 2 Weeks
                                </a>

                                <div class="dropdown-menu" aria-labelledby="dropdownMenuLink">
                                    <a class="dropdown-item" href="#">2 Weeks</a>
                                    <a class="dropdown-item" href="#">1 Month</a>
                                    <a class="dropdown-item" href="#">3 Months</a>
                                    <a class="dropdown-item" href="#">6 Months</a>
                                    <a class="dropdown-item" href="#">1 Year</a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="entry-wrapper">
                	<?php
                    require_once $_SERVER["DOCUMENT_ROOT"] . "/clients/project.php";
                    $all_projects = all_project();

                    foreach ($all_projects as $project) {
                        echo '<a href="' . "/pages/project-info.php?project=" .
                            $project['Project_ID'] . '"class="entry-link">';
                        echo '<div class="project-entry category-entry">';
                        echo '<div class="row">';
                        echo '<div class="col col-3">' . $project['ProjectName'] . '</div>';
                        echo '<div class="col col-5">' . $project['Basecamp_URL'] . '</div>';

                        $name_of_client = find_project_client($project)[0];
                        echo '<div class="col col-2">' . $name_of_client['Companyname'] . '</div>';
{'fraction_non_alphanumeric': 0.17358121330724072, 'fraction_numerical': 0.011154598825831703, 'mean_word_length': 1.7475806451612903, 'pattern_counts': {'":': 0, '<': 209, '<?xml version=': 0, '>': 207, 'https://': 18, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 18, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2527597', 'n_tokens_mistral': 3027, 'n_tokens_neox': 2830, 'n_words': 532}