<!--Wrapper for page content--> <div class="wrapper"> <ul class="breadcrumb"> <li><a href="index.php">Home</a></li> <li class="active">Bids/Buying</li> </ul> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title">Current Bids</h3> </div> <div class="panel-body" class="sell-item"> <?php $auctions_bidded = get_auctions_buyer($_SESSION["id"]); if ($auctions_bidded) { echo item_html($auctions_bidded); } else { ?> You currently aren't bidding on anything. Explore EBid using the search bar! <?php } ?> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title">Bought/Won</h3> </div> <div class="panel-body" class="sell-item"> <?php
function show_status_html($x) { page_head(tra("Project status")); $j = $x->jobs; $daemons = $x->daemons; start_table(); echo "<tr><td width=50% valign=top>\n <h2>" . tra("Server status") . "</h2>\n "; start_table(); table_header(tra("Program"), tra("Host"), tra("Status")); foreach ($daemons->local_daemons as $d) { daemon_html($d); } foreach ($daemons->remote_daemons as $d) { daemon_html($d); } foreach ($daemons->disabled_daemons as $d) { daemon_html($d); } end_table(); if ($j->db_revision) { echo tra("Database schema version: "), $j->db_revision; } if ($daemons->cached_time) { echo "<br>Remote daemon status as of ", time_str($daemons->cached_time); } if ($daemons->missing_remote_status) { echo "<br>Status of remote daemons is missing\n"; } if (function_exists('server_status_project_info')) { echo "<br>"; server_status_project_info(); } echo "</td><td>\n"; echo "<h2>" . tra("Computing status") . "</h2>\n"; start_table(); echo "<tr><td>\n"; start_table(); table_header(tra("Work"), "#"); item_html("Tasks ready to send", $j->results_ready_to_send); item_html("Tasks in progress", $j->results_in_progress); item_html("Workunits waiting for validation", $j->wus_need_validate); item_html("Workunits waiting for assimilation", $j->wus_need_assimilate); item_html("Workunits waiting for file deletion", $j->wus_need_file_delete); item_html("Tasks waiting for file deletion", $j->results_need_file_delete); item_html("Transitioner backlog (hours)", number_format($j->transitioner_backlog, 2)); end_table(); echo "</td><td>\n"; start_table(); table_header(tra("Users"), "#"); item_html("With credit", $j->users_with_credit); item_html("With recent credit", $j->users_with_recent_credit); item_html("Registered in past 24 hours", $j->users_past_24_hours); table_header(tra("Computers"), "#"); item_html("With credit", $j->hosts_with_credit); item_html("With recent credit", $j->hosts_with_recent_credit); item_html("Registered in past 24 hours", $j->hosts_past_24_hours); item_html("Current GigaFLOPS", round($j->flops, 2)); end_table(); end_table(); start_table(); echo "<tr><th colspan=5>" . tra("Tasks by application") . "</th></tr>\n"; table_header(tra("Application"), tra("Unsent"), tra("In progress"), tra("Runtime of last 100 tasks in hours: average, min, max"), tra("Users in last 24 hours")); $i = 0; foreach ($j->apps as $app) { $avg = round($app->info->avg, 2); $min = round($app->info->min, 2); $max = round($app->info->max, 2); $x = $max ? "{$avg} ({$min} - {$max})" : "---"; $u = $app->info->users; echo "<tr class=row{$i}>\n <td>{$app->user_friendly_name}</td>\n <td>{$app->unsent}</td>\n <td>{$app->in_progress}</td>\n <td>{$x}</td>\n <td>{$u}</td>\n </tr>\n "; $i = 1 - $i; } end_table(); echo "<p>Task data as of " . time_str($j->cached_time); echo "</td></tr>\n"; end_table(); page_tail(); }
You currently aren't selling anything. Click 'Sell' to get started! <?php } ?> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title">Sold</h3> </div> <div class="panel-body" class="sell-item"> <?php $auctions_sold = get_auctions_sold($_SESSION["id"]); if ($auctions_sold) { echo item_html($auctions_sold); } else { ?> You have no sold items. <?php } ?> </div> </div> </div> <?php require_once "../resources/templates/footer.php"; ?> </body>
<form name="sortForm" method="post"> <h4 id="sortButton">Sort</h4> <div class="input-group" id="sortDropdown"> <select id="sortQuery" class="form-control"> <option disabled selected>-</option> <option value="priceHiLo">Price High-Low</option> <option value="priceLoHi">Price Low-High</option> </select> </div> </form> <div id="searchResults"> <?php require "../resources/modules/auctions_thumbnail.php"; if ($results != NULL) { echo item_html($results); } else { echo "<h3>Uh oh! It looks like we couldn't find any items that matched.</h3>"; } // if (isset($_POST["sortQuery"])) { // $sortOrder = $_POST['sortQuery']; // ?> <!-- <script> // $('#searchResults').empty(); // </script> --> <?php // //Sort by price ascending // if($sortOrder == 'priceLoHi'){ // if($category == 'All'){ // $results = sort_price_lohi($searchQuery);
<!--Wrapper for page content--> <div class="wrapper"> <ul class="breadcrumb"> <li><a href="index.php">Home</a></li> <li class="active">Watchlist</li> </ul> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title">Watchlist</h3> </div> <div class="panel-body" class="sell-item"> <?php $auctions_watching = get_watched_items_user($_SESSION["id"]); if ($auctions_watching) { echo item_html($auctions_watching); } else { ?> You currently aren't watching any items. <?php } ?> </div> </div> </div> <?php require_once "../resources/templates/footer.php"; ?> </body>