|
@@ -1,4 +1,5 @@
|
1
|
1
|
<?php
|
|
2
|
+
|
2
|
3
|
$SphQL = new SphinxqlQuery();
|
3
|
4
|
$SphQL->select('id, votes, bounty')->from('requests, requests_delta');
|
4
|
5
|
|
|
@@ -316,163 +317,193 @@ View::show_header($Title, 'requests');
|
316
|
317
|
?>
|
317
|
318
|
|
318
|
319
|
<div class="thin">
|
319
|
|
- <div class="header">
|
320
|
|
- <h2><?=$Title?></h2>
|
321
|
|
- </div>
|
322
|
|
- <div class="linkbox">
|
323
|
|
-<?php if (!$BookmarkView) {
|
|
320
|
+ <div class="header">
|
|
321
|
+ <h2><?=$Title?>
|
|
322
|
+ </h2>
|
|
323
|
+ </div>
|
|
324
|
+ <div class="linkbox">
|
|
325
|
+ <?php if (!$BookmarkView) {
|
324
|
326
|
if (check_perms('site_submit_requests')) { ?>
|
325
|
|
- <a href="requests.php?action=new" class="brackets">New request</a>
|
326
|
|
- <a href="requests.php?type=created" class="brackets">My requests</a>
|
327
|
|
-<?php }
|
|
327
|
+ <a href="requests.php?action=new" class="brackets">New request</a>
|
|
328
|
+ <a href="requests.php?type=created" class="brackets">My requests</a>
|
|
329
|
+ <?php }
|
328
|
330
|
if (check_perms('site_vote')) { ?>
|
329
|
|
- <a href="requests.php?type=voted" class="brackets">Requests I've voted on</a>
|
330
|
|
-<?php } ?>
|
331
|
|
- <a href="bookmarks.php?type=requests" class="brackets">Bookmarked requests</a>
|
332
|
|
-<?php
|
|
331
|
+ <a href="requests.php?type=voted" class="brackets">Requests I've voted on</a>
|
|
332
|
+ <?php } ?>
|
|
333
|
+ <a href="bookmarks.php?type=requests" class="brackets">Bookmarked requests</a>
|
|
334
|
+ <?php
|
333
|
335
|
} else { ?>
|
334
|
|
- <a href="bookmarks.php?type=torrents" class="brackets">Torrents</a>
|
335
|
|
- <a href="bookmarks.php?type=artists" class="brackets">Artists</a>
|
336
|
|
- <a href="bookmarks.php?type=collages" class="brackets">Collections</a>
|
337
|
|
- <a href="bookmarks.php?type=requests" class="brackets">Requests</a>
|
338
|
|
-<?php } ?>
|
339
|
|
- </div>
|
340
|
|
-<?php if ($BookmarkView && $NumResults === 0) { ?>
|
341
|
|
- <div class="box pad" align="center">
|
342
|
|
- <h2>You have not bookmarked any requests.</h2>
|
343
|
|
- </div>
|
344
|
|
-<?php } else { ?>
|
345
|
|
- <form class="search_form" name="requests" action="" method="get">
|
346
|
|
-<?php if ($BookmarkView) { ?>
|
347
|
|
- <input type="hidden" name="action" value="view" />
|
348
|
|
- <input type="hidden" name="type" value="requests" />
|
349
|
|
-<?php } elseif (isset($_GET['type'])) { ?>
|
350
|
|
- <input type="hidden" name="type" value="<?=$_GET['type']?>" />
|
351
|
|
-<?php } ?>
|
352
|
|
- <input type="hidden" name="submit" value="true" />
|
353
|
|
-<?php if (!empty($_GET['userid']) && is_number($_GET['userid'])) { ?>
|
354
|
|
- <input type="hidden" name="userid" value="<?=$_GET['userid']?>" />
|
355
|
|
-<?php } ?>
|
356
|
|
- <div class="box pad">
|
357
|
|
- <table cellpadding="6" cellspacing="1" border="0" class="layout" width="100%">
|
358
|
|
- <tr id="search_terms">
|
359
|
|
- <td class="label"><!--Search Terms--></td>
|
360
|
|
- <td>
|
361
|
|
- <input type="search" name="search" size="60" class="inputtext" placeholder="Search Terms" value="<?php if (isset($_GET['search'])) {
|
|
336
|
+ <a href="bookmarks.php?type=torrents" class="brackets">Torrents</a>
|
|
337
|
+ <a href="bookmarks.php?type=artists" class="brackets">Artists</a>
|
|
338
|
+ <a href="bookmarks.php?type=collages" class="brackets">Collections</a>
|
|
339
|
+ <a href="bookmarks.php?type=requests" class="brackets">Requests</a>
|
|
340
|
+ <?php } ?>
|
|
341
|
+ </div>
|
|
342
|
+ <?php if ($BookmarkView && $NumResults === 0) { ?>
|
|
343
|
+ <div class="box pad" align="center">
|
|
344
|
+ <h2>You have not bookmarked any requests.</h2>
|
|
345
|
+ </div>
|
|
346
|
+ <?php } else { ?>
|
|
347
|
+ <form class="search_form" name="requests" action="" method="get">
|
|
348
|
+ <?php if ($BookmarkView) { ?>
|
|
349
|
+ <input type="hidden" name="action" value="view" />
|
|
350
|
+ <input type="hidden" name="type" value="requests" />
|
|
351
|
+ <?php } elseif (isset($_GET['type'])) { ?>
|
|
352
|
+ <input type="hidden" name="type"
|
|
353
|
+ value="<?=$_GET['type']?>" />
|
|
354
|
+ <?php } ?>
|
|
355
|
+ <input type="hidden" name="submit" value="true" />
|
|
356
|
+ <?php if (!empty($_GET['userid']) && is_number($_GET['userid'])) { ?>
|
|
357
|
+ <input type="hidden" name="userid"
|
|
358
|
+ value="<?=$_GET['userid']?>" />
|
|
359
|
+ <?php } ?>
|
|
360
|
+ <div class="box pad">
|
|
361
|
+ <table cellpadding="6" cellspacing="1" border="0" class="layout" width="100%">
|
|
362
|
+
|
|
363
|
+ <tr id="search_terms">
|
|
364
|
+ <td class="label">
|
|
365
|
+ <!--Search Terms-->
|
|
366
|
+ </td>
|
|
367
|
+ <td>
|
|
368
|
+ <input type="search" name="search" size="60" class="inputtext" placeholder="Search Terms" value="<?php if (isset($_GET['search'])) {
|
362
|
369
|
echo display_str($_GET['search']);
|
363
|
370
|
} ?>" />
|
364
|
|
- </td>
|
365
|
|
- </tr>
|
366
|
|
- <tr id="tagfilter">
|
367
|
|
- <td class="label"><!--Tags (comma-separated)--></td>
|
368
|
|
- <td>
|
369
|
|
- <input type="search" name="tags" id="tags" size="49" class="inputtext" placeholder="Tags (comma-separated)" value="<?=!empty($TagNames) ? display_str($TagNames) : ''?>"<?php Users::has_autocomplete_enabled('other'); ?> />
|
370
|
|
- <input type="radio" name="tags_type" id="tags_type0" value="0"<?php Format::selected('tags_type', 0, 'checked')?> /><label for="tags_type0"> Any</label>
|
371
|
|
- <input type="radio" name="tags_type" id="tags_type1" value="1"<?php Format::selected('tags_type', 1, 'checked')?> /><label for="tags_type1"> All</label>
|
372
|
|
- </td>
|
373
|
|
- </tr>
|
374
|
|
- <tr id="include_filled">
|
375
|
|
- <td class="label"><label for="include_filled_box">Include Filled</label></td>
|
376
|
|
- <td>
|
377
|
|
- <input type="checkbox" id="include_filled_box" name="show_filled"<?php if (!$Submitted || !empty($_GET['show_filled']) || (!$Submitted && !empty($_GET['type']) && $_GET['type'] === 'filled')) { ?> checked="checked"<?php } ?> />
|
378
|
|
- </td>
|
379
|
|
- </tr>
|
380
|
|
- <tr id="include_old">
|
381
|
|
- <td class="label"><label for="include_old_box">Include Old</label></td>
|
382
|
|
- <td>
|
383
|
|
- <input type="checkbox" id="include_old_box" name="showall"<?php if (!empty($_GET['showall'])) { ?> checked="checked"<?php } ?> />
|
384
|
|
- </td>
|
385
|
|
- </tr>
|
386
|
|
-<?php /* ?>
|
387
|
|
- <tr>
|
388
|
|
- <td class="label">Requested by:</td>
|
389
|
|
- <td>
|
390
|
|
- <input type="search" name="requester" size="75" value="<?=display_str($_GET['requester'])?>" />
|
391
|
|
- </td>
|
392
|
|
- </tr>
|
393
|
|
-<? */ ?>
|
394
|
|
- </table>
|
395
|
|
- <table class="layout cat_list">
|
396
|
|
-<?php
|
|
371
|
+ </td>
|
|
372
|
+ </tr>
|
|
373
|
+
|
|
374
|
+ <tr id="tagfilter">
|
|
375
|
+ <td class="label">
|
|
376
|
+ <!--Tags (comma-separated)-->
|
|
377
|
+ </td>
|
|
378
|
+ <td>
|
|
379
|
+ <input type="search" name="tags" id="tags" size="50" class="inputtext"
|
|
380
|
+ placeholder="Tags (comma-separated)"
|
|
381
|
+ value="<?=!empty($TagNames) ? display_str($TagNames) : ''?>"
|
|
382
|
+ <?php Users::has_autocomplete_enabled('other'); ?>
|
|
383
|
+ />
|
|
384
|
+ <input type="radio" name="tags_type" id="tags_type0" value="0" <?php Format::selected('tags_type', 0, 'checked')?>
|
|
385
|
+ /><label for="tags_type0"> Any</label>
|
|
386
|
+ <input type="radio" name="tags_type" id="tags_type1" value="1" <?php Format::selected('tags_type', 1, 'checked')?>
|
|
387
|
+ /><label for="tags_type1"> All</label>
|
|
388
|
+ </td>
|
|
389
|
+ </tr>
|
|
390
|
+
|
|
391
|
+ <?php /*
|
|
392
|
+ <tr>
|
|
393
|
+ <td class="label"><!-- Requested By --></td>
|
|
394
|
+ <td>
|
|
395
|
+ <input type="search" name="requester" size="60" class="inputtext" placeholder="Requested By" value="<?=display_str($_GET['requester'])?>" />
|
|
396
|
+ </td>
|
|
397
|
+ </tr>
|
|
398
|
+ */ ?>
|
|
399
|
+
|
|
400
|
+ <tr id="include_filled">
|
|
401
|
+ <td class="label"><label for="include_filled_box">Include Filled</label></td>
|
|
402
|
+ <td>
|
|
403
|
+ <input type="checkbox" id="include_filled_box" name="show_filled" <?php if (!$Submitted || !empty($_GET['show_filled']) || (!$Submitted && !empty($_GET['type']) && $_GET['type'] === 'filled')) { ?>
|
|
404
|
+ checked="checked"<?php } ?> />
|
|
405
|
+ </td>
|
|
406
|
+ </tr>
|
|
407
|
+
|
|
408
|
+ <tr id="include_old">
|
|
409
|
+ <td class="label"><label for="include_old_box">Include Old</label></td>
|
|
410
|
+ <td>
|
|
411
|
+ <input type="checkbox" id="include_old_box" name="showall" <?php if (!empty($_GET['showall'])) { ?>
|
|
412
|
+ checked="checked"<?php } ?> />
|
|
413
|
+ </td>
|
|
414
|
+ </tr>
|
|
415
|
+ </table>
|
|
416
|
+ <table class="layout cat_list">
|
|
417
|
+ <?php
|
397
|
418
|
$x = 1;
|
398
|
419
|
reset($Categories);
|
399
|
420
|
foreach ($Categories as $CatKey => $CatName) {
|
400
|
421
|
if ($x % 8 === 0 || $x === 1) {
|
401
|
422
|
?>
|
402
|
|
- <tr>
|
403
|
|
-<?php
|
|
423
|
+ <tr>
|
|
424
|
+ <?php
|
404
|
425
|
} ?>
|
405
|
|
- <td>
|
406
|
|
- <input type="checkbox" name="filter_cat[<?=($CatKey + 1) ?>]" id="cat_<?=($CatKey + 1) ?>" value="1"<?php if (isset($_GET['filter_cat'][$CatKey + 1])) { ?> checked="checked"<?php } ?> />
|
407
|
|
- <label for="cat_<?=($CatKey + 1) ?>"><?=$CatName?></label>
|
408
|
|
- </td>
|
409
|
|
-<?php if ($x % 7 === 0) { ?>
|
410
|
|
- </tr>
|
411
|
|
-<?php
|
|
426
|
+ <td>
|
|
427
|
+ <input type="checkbox"
|
|
428
|
+ name="filter_cat[<?=($CatKey + 1) ?>]"
|
|
429
|
+ id="cat_<?=($CatKey + 1) ?>" value="1"
|
|
430
|
+ <?php if (isset($_GET['filter_cat'][$CatKey + 1])) { ?>
|
|
431
|
+ checked="checked"<?php } ?> />
|
|
432
|
+ <label for="cat_<?=($CatKey + 1) ?>"><?=$CatName?></label>
|
|
433
|
+ </td>
|
|
434
|
+ <?php if ($x % 7 === 0) { ?>
|
|
435
|
+ </tr>
|
|
436
|
+ <?php
|
412
|
437
|
}
|
413
|
438
|
$x++;
|
414
|
439
|
}
|
415
|
440
|
?>
|
416
|
|
- </table>
|
417
|
|
- <table class="layout">
|
418
|
|
- <tr>
|
419
|
|
- <td colspan="2" class="center">
|
420
|
|
- <input type="submit" value="Search" />
|
421
|
|
- </td>
|
422
|
|
- </tr>
|
423
|
|
- </table>
|
|
441
|
+ </table>
|
|
442
|
+ <table class="layout">
|
|
443
|
+ <tr>
|
|
444
|
+ <td colspan="2" class="center">
|
|
445
|
+ <input type="submit" value="Search" />
|
|
446
|
+ </td>
|
|
447
|
+ </tr>
|
|
448
|
+ </table>
|
|
449
|
+ </div>
|
|
450
|
+ </form>
|
|
451
|
+ <?php if (isset($PageLinks)) { ?>
|
|
452
|
+ <div class="linkbox">
|
|
453
|
+ <?= $PageLinks?>
|
424
|
454
|
</div>
|
425
|
|
- </form>
|
426
|
|
-<?php if (isset($PageLinks)) { ?>
|
427
|
|
- <div class="linkbox">
|
428
|
|
- <?= $PageLinks?>
|
429
|
|
- </div>
|
430
|
|
-<?php } ?>
|
431
|
|
- <table id="request_table" class="request_table border" cellpadding="6" cellspacing="1" border="0" width="100%">
|
432
|
|
- <tr class="colhead_dark">
|
433
|
|
- <td class="small cats_col"></td>
|
434
|
|
- <td style="width: 38%;" class="nobr">
|
435
|
|
- <strong>Request Name</strong>
|
436
|
|
- </td>
|
437
|
|
- <td class="nobr">
|
438
|
|
- <a href="?order=votes&sort=<?=($OrderBy === 'votes' ? $NewSort : 'desc')?>&<?=$CurrentURL?>"><strong>Votes</strong></a>
|
439
|
|
- </td>
|
440
|
|
- <td class="nobr">
|
441
|
|
- <a href="?order=bounty&sort=<?=($OrderBy === 'bounty' ? $NewSort : 'desc')?>&<?=$CurrentURL?>"><strong>Bounty</strong></a>
|
442
|
|
- </td>
|
443
|
|
- <td class="nobr">
|
444
|
|
- <a href="?order=filled&sort=<?=($OrderBy === 'filled' ? $NewSort : 'desc')?>&<?=$CurrentURL?>"><strong>Filled</strong></a>
|
445
|
|
- </td>
|
446
|
|
- <td class="nobr">
|
447
|
|
- <strong>Filled by</strong>
|
448
|
|
- </td>
|
449
|
|
- <td class="nobr">
|
450
|
|
- <strong>Requested by</strong>
|
451
|
|
- </td>
|
452
|
|
- <td class="nobr">
|
453
|
|
- <a href="?order=created&sort=<?=($OrderBy === 'created' ? $NewSort : 'desc')?>&<?=$CurrentURL?>"><strong>Created</strong></a>
|
454
|
|
- </td>
|
455
|
|
- <td class="nobr">
|
456
|
|
- <a href="?order=lastvote&sort=<?=($OrderBy === 'lastvote' ? $NewSort : 'desc')?>&<?=$CurrentURL?>"><strong>Last vote</strong></a>
|
457
|
|
- </td>
|
458
|
|
- </tr>
|
459
|
|
-<?php
|
|
455
|
+ <?php } ?>
|
|
456
|
+ <table id="request_table" class="request_table border" cellpadding="6" cellspacing="1" border="0" width="100%">
|
|
457
|
+ <tr class="colhead_dark">
|
|
458
|
+ <td class="small cats_col"></td>
|
|
459
|
+ <td style="width: 38%;" class="nobr">
|
|
460
|
+ <strong>Request Name</strong>
|
|
461
|
+ </td>
|
|
462
|
+ <td class="nobr">
|
|
463
|
+ <a
|
|
464
|
+ href="?order=votes&sort=<?=($OrderBy === 'votes' ? $NewSort : 'desc')?>&<?=$CurrentURL?>"><strong>Votes</strong></a>
|
|
465
|
+ </td>
|
|
466
|
+ <td class="nobr">
|
|
467
|
+ <a
|
|
468
|
+ href="?order=bounty&sort=<?=($OrderBy === 'bounty' ? $NewSort : 'desc')?>&<?=$CurrentURL?>"><strong>Bounty</strong></a>
|
|
469
|
+ </td>
|
|
470
|
+ <td class="nobr">
|
|
471
|
+ <a
|
|
472
|
+ href="?order=filled&sort=<?=($OrderBy === 'filled' ? $NewSort : 'desc')?>&<?=$CurrentURL?>"><strong>Filled</strong></a>
|
|
473
|
+ </td>
|
|
474
|
+ <td class="nobr">
|
|
475
|
+ <strong>Filled by</strong>
|
|
476
|
+ </td>
|
|
477
|
+ <td class="nobr">
|
|
478
|
+ <strong>Requested by</strong>
|
|
479
|
+ </td>
|
|
480
|
+ <td class="nobr">
|
|
481
|
+ <a
|
|
482
|
+ href="?order=created&sort=<?=($OrderBy === 'created' ? $NewSort : 'desc')?>&<?=$CurrentURL?>"><strong>Created</strong></a>
|
|
483
|
+ </td>
|
|
484
|
+ <td class="nobr">
|
|
485
|
+ <a
|
|
486
|
+ href="?order=lastvote&sort=<?=($OrderBy === 'lastvote' ? $NewSort : 'desc')?>&<?=$CurrentURL?>"><strong>Last
|
|
487
|
+ vote</strong></a>
|
|
488
|
+ </td>
|
|
489
|
+ </tr>
|
|
490
|
+ <?php
|
460
|
491
|
if ($NumResults === 0) {
|
461
|
492
|
// not viewing bookmarks but no requests found
|
462
|
493
|
?>
|
463
|
|
- <tr class="row">
|
464
|
|
- <td colspan="8">
|
465
|
|
- Nothing found!
|
466
|
|
- </td>
|
467
|
|
- </tr>
|
468
|
|
-<?php
|
|
494
|
+ <tr class="row">
|
|
495
|
+ <td colspan="8">
|
|
496
|
+ Nothing found!
|
|
497
|
+ </td>
|
|
498
|
+ </tr>
|
|
499
|
+ <?php
|
469
|
500
|
} elseif ($Page === 0) { ?>
|
470
|
|
- <tr class="row">
|
471
|
|
- <td colspan="8">
|
472
|
|
- The requested page contains no matches!
|
473
|
|
- </td>
|
474
|
|
- </tr>
|
475
|
|
-<?php
|
|
501
|
+ <tr class="row">
|
|
502
|
+ <td colspan="8">
|
|
503
|
+ The requested page contains no matches!
|
|
504
|
+ </td>
|
|
505
|
+ </tr>
|
|
506
|
+ <?php
|
476
|
507
|
} else {
|
477
|
508
|
$TimeCompare = 1267643718; // Requests v2 was implemented 2010-03-03 20:15:18
|
478
|
509
|
$Requests = Requests::get_requests(array_keys($SphRequests));
|
|
@@ -517,72 +548,79 @@ View::show_header($Title, 'requests');
|
517
|
548
|
$FullName .= " $ExtraInfo";
|
518
|
549
|
}
|
519
|
550
|
$Tags = $Request['Tags']; ?>
|
520
|
|
- <tr class="request">
|
521
|
|
- <td class="center cats_col">
|
522
|
|
- <div title="<?=Format::pretty_category($Request['CategoryID'])?>" class="tooltip <?=Format::css_category($Request['CategoryID'])?>"></div>
|
523
|
|
- </td>
|
524
|
|
- <td>
|
525
|
|
- <div id="request_name">
|
526
|
|
- <?=$FullName?>
|
527
|
|
- </div>
|
528
|
|
- <div class="tags">
|
529
|
|
-<?php
|
|
551
|
+ <tr class="request">
|
|
552
|
+ <td class="center cats_col">
|
|
553
|
+ <div title="<?=Format::pretty_category($Request['CategoryID'])?>"
|
|
554
|
+ class="tooltip <?=Format::css_category($Request['CategoryID'])?>">
|
|
555
|
+ </div>
|
|
556
|
+ </td>
|
|
557
|
+ <td>
|
|
558
|
+ <div id="request_name">
|
|
559
|
+ <?=$FullName?>
|
|
560
|
+ </div>
|
|
561
|
+ <div class="tags">
|
|
562
|
+ <?php
|
530
|
563
|
$TagList = [];
|
531
|
564
|
foreach ($Request['Tags'] as $TagID => $TagName) {
|
532
|
565
|
$Split = Tags::get_name_and_class($TagName);
|
533
|
566
|
$TagList[] = '<a class="'.$Split['class'].'" href="?tags='.$TagName.($BookmarkView ? '&type=requests' : '').'">'.display_str($Split['name']).'</a>';
|
534
|
567
|
}
|
535
|
568
|
$TagList = implode(', ', $TagList); ?>
|
536
|
|
- <?=$TagList?>
|
537
|
|
- </div>
|
538
|
|
- </td>
|
539
|
|
- <td class="nobr">
|
540
|
|
- <span id="vote_count_<?=$RequestID?>"><?=number_format($VoteCount)?></span>
|
541
|
|
-<?php if (!$IsFilled && check_perms('site_vote')) { ?>
|
542
|
|
- <a href="javascript:Vote(0, <?=$RequestID?>)" class="brackets"><strong>+</strong></a>
|
543
|
|
-<?php } ?>
|
544
|
|
- </td>
|
545
|
|
- <td class="number_column nobr">
|
546
|
|
- <?=Format::get_size($Bounty)?>
|
547
|
|
- </td>
|
548
|
|
- <td class="nobr">
|
549
|
|
-<?php if ($IsFilled) { ?>
|
550
|
|
- <a href="torrents.php?<?=(strtotime($Request['TimeFilled']) < $TimeCompare ? 'id=' : 'torrentid=') . $Request['TorrentID']?>"><strong><?=time_diff($Request['TimeFilled'], 1)?></strong></a>
|
551
|
|
-<?php } else { ?>
|
552
|
|
- <strong>No</strong>
|
553
|
|
-<?php } ?>
|
554
|
|
- </td>
|
555
|
|
- <td>
|
556
|
|
-<?php if ($IsFilled) {
|
|
569
|
+ <?=$TagList?>
|
|
570
|
+ </div>
|
|
571
|
+ </td>
|
|
572
|
+ <td class="nobr">
|
|
573
|
+ <span id="vote_count_<?=$RequestID?>"><?=number_format($VoteCount)?></span>
|
|
574
|
+ <?php if (!$IsFilled && check_perms('site_vote')) { ?>
|
|
575
|
+ <a
|
|
576
|
+ href="javascript:Vote(0, <?=$RequestID?>)"
|
|
577
|
+ class="brackets"><strong>+</strong></a>
|
|
578
|
+ <?php } ?>
|
|
579
|
+ </td>
|
|
580
|
+ <td class="number_column nobr">
|
|
581
|
+ <?=Format::get_size($Bounty)?>
|
|
582
|
+ </td>
|
|
583
|
+ <td class="nobr">
|
|
584
|
+ <?php if ($IsFilled) { ?>
|
|
585
|
+ <a
|
|
586
|
+ href="torrents.php?<?=(strtotime($Request['TimeFilled']) < $TimeCompare ? 'id=' : 'torrentid=') . $Request['TorrentID']?>"><strong><?=time_diff($Request['TimeFilled'], 1)?></strong></a>
|
|
587
|
+ <?php } else { ?>
|
|
588
|
+ <strong>No</strong>
|
|
589
|
+ <?php } ?>
|
|
590
|
+ </td>
|
|
591
|
+ <td>
|
|
592
|
+ <?php if ($IsFilled) {
|
557
|
593
|
if ($Request['AnonymousFill']) { ?>
|
558
|
|
- <em>Anonymous</em>
|
559
|
|
-<?php } else { ?>
|
560
|
|
- <a href="user.php?id=<?=$FillerInfo['ID']?>"><?=$FillerInfo['Username']?></a>
|
561
|
|
-<?php }
|
|
594
|
+ <em>Anonymous</em>
|
|
595
|
+ <?php } else { ?>
|
|
596
|
+ <a
|
|
597
|
+ href="user.php?id=<?=$FillerInfo['ID']?>"><?=$FillerInfo['Username']?></a>
|
|
598
|
+ <?php }
|
562
|
599
|
} else { ?>
|
563
|
|
- –
|
564
|
|
-<?php } ?>
|
565
|
|
- </td>
|
566
|
|
- <td>
|
567
|
|
- <a href="user.php?id=<?=$Request['UserID']?>"><?=Users::format_username($Request['UserID'], false, false, false)?></a>
|
568
|
|
- </td>
|
569
|
|
- <td class="nobr">
|
570
|
|
- <?=time_diff($Request['TimeAdded'], 1)?>
|
571
|
|
- </td>
|
572
|
|
- <td class="nobr">
|
573
|
|
- <?=time_diff($Request['LastVote'], 1)?>
|
574
|
|
- </td>
|
575
|
|
- </tr>
|
576
|
|
-<?php
|
|
600
|
+ –
|
|
601
|
+ <?php } ?>
|
|
602
|
+ </td>
|
|
603
|
+ <td>
|
|
604
|
+ <a
|
|
605
|
+ href="user.php?id=<?=$Request['UserID']?>"><?=Users::format_username($Request['UserID'], false, false, false)?></a>
|
|
606
|
+ </td>
|
|
607
|
+ <td class="nobr">
|
|
608
|
+ <?=time_diff($Request['TimeAdded'], 1)?>
|
|
609
|
+ </td>
|
|
610
|
+ <td class="nobr">
|
|
611
|
+ <?=time_diff($Request['LastVote'], 1)?>
|
|
612
|
+ </td>
|
|
613
|
+ </tr>
|
|
614
|
+ <?php
|
577
|
615
|
} // foreach
|
578
|
616
|
} // else
|
579
|
617
|
} // if ($BookmarkView && $NumResults < 1)
|
580
|
618
|
?>
|
581
|
|
- </table>
|
582
|
|
-<?php if (isset($PageLinks)) { ?>
|
583
|
|
- <div class="linkbox">
|
584
|
|
- <?=$PageLinks?>
|
585
|
|
- </div>
|
586
|
|
-<?php } ?>
|
|
619
|
+ </table>
|
|
620
|
+ <?php if (isset($PageLinks)) { ?>
|
|
621
|
+ <div class="linkbox">
|
|
622
|
+ <?=$PageLinks?>
|
|
623
|
+ </div>
|
|
624
|
+ <?php } ?>
|
587
|
625
|
</div>
|
588
|
|
-<?php View::show_footer(); ?>
|
|
626
|
+<?php View::show_footer();
|