jomarkosabel (June 29th, 2013)
echo '<li><a href="'.add_query_arg( array( 'show' => 'lsstweek', 'jobs_by_date' => '1' ), $datepagelink).'">'.__('Last Week',APP_TD).'</a></li>';
Today's Jobs This Week's Jobs Last Week's Jobs This Month's Jobs
Todays Jobs This weeks Jobs Last weeks Jobs This Months Jobs
$title = __('This weeks Jobs',APP_TD); $dateargs = array( 'year' => $today["year"], 'w' => date('W') ); break; case "lastweek" : $title = __('Last weeks Jobs',APP_TD); $week = date('W'); $year = $today["year"]; if ($week==0) : $week = 53; $year = $year-1; else : $week = $week-1; endif; $dateargs = array( 'year' => $year, 'w' => $week ); break; case "today" : $title = __('Todays Jobs',APP_TD); $dateargs = array( 'year' => $today["year"], 'monthnum' => $today["mon"], 'day' => $today["mday"] ); break; case "month" : $title = __('This Months Jobs',APP_TD);
jomarkosabel (June 29th, 2013)
There are currently 1 users browsing this thread. (0 members and 1 guests)