Welcome to Geeklog, Anonymous Tuesday, April 23 2024 @ 04:25 pm EDT

Geeklog Forums

plugin_dopluginsearch_filemgmt()


Status: offline

ivy

Forum User
Full Member
Registered: 11/25/04
Posts: 314
Location:Tokyo Japan
How about this...

filemgmt functions.inc plugin_dopluginsearch_filemgmt()
Text Formatted Code

$enddate = mktime(0,0,0,$DE[1],$DE[2],$DE[0]) + 3600;
$sql .= "AND (UNIX_TIMESTAMP(date) BETWEEN '$startdate' AND '$enddate') ";

>>>

$enddate = mktime(23,59,59,$DE[1],$DE[2],$DE[0]);
$sql .= "AND (date BETWEEN '$startdate' AND '$enddate') ";
 


forum functions.inc plugin_dopluginsearch_forum()
Text Formatted Code

$enddate = mktime(0,0,0,$ed[1],$ed[2],$ed[0]) + 3600;
$sqltmp .= " AND date BETWEEN '$startdate' AND '$enddate'";

>>>

$enddate = mktime(23,59,59,$ed[1],$ed[2],$ed[0]);
$sqltmp .= " AND (date BETWEEN '$startdate' AND '$enddate')";

Geeklog Japan https://www.geeklog.jp
 Quote

Status: offline

ivy

Forum User
Full Member
Registered: 11/25/04
Posts: 314
Location:Tokyo Japan
It maybe bug.
onother code...

Text Formatted Code

$enddate = mktime(0,0,0,$DE[1],$DE[2],$DE[0]) + 3600;

>>>

$enddate = mktime(0,0,0,$DE[1],$DE[2],$DE[0]) + 3600 * 24 - 1;
 



plugins/forum/functions.inc plugin_dopluginsearch_forum()

Text Formatted Code

$enddate = mktime(0,0,0,$ed[1],$ed[2],$ed[0]) + 3600;

>>>

$enddate = mktime(0,0,0,$ed[1],$ed[2],$ed[0]) + 3600 * 24 - 1;
 

Geeklog Japan https://www.geeklog.jp
 Quote

All times are EDT. The time is now 04:25 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content