setToday($todayyy, $todaymm, $todaydd); $cal1->setCalendarData(); //next list($nextyy, $nextmm, $nextdd) = getAfterMonth($todayyy, $todaymm, 1, 1); $cal2 = new calendarData(); $cal2->setToday($nextyy, $nextmm, $nextdd); $cal2->setCalendarData(); //aft list($lateryy, $latermm, $laterdd) = getAfterMonth($todayyy, $todaymm, 1, 2); $cal3 = new calendarData(); $cal3->setToday($lateryy, $latermm, $laterdd); $cal3->setCalendarData(); //20131205_kitamu_start //the_4th_month(three months later) list($the_4th_monthyy, $the_4th_monthmm, $the_4th_monthdd) = getAfterMonth($todayyy, $todaymm, 1, 3); $cal4 = new calendarData(); $cal4->setToday($the_4th_monthyy, $the_4th_monthmm, $the_4th_monthdd); $cal4->setCalendarData(); //5th list($the_5th_monthyy, $the_5th_monthmm, $the_5th_monthdd) = getAfterMonth($todayyy, $todaymm, 1, 4); $cal5 = new calendarData(); $cal5->setToday($the_5th_monthyy, $the_5th_monthmm, $the_5th_monthdd); $cal5->setCalendarData(); //6th list($the_6th_monthyy, $the_6th_monthmm, $the_6th_monthdd) = getAfterMonth($todayyy, $todaymm, 1, 5); $cal6 = new calendarData(); $cal6->setToday($the_6th_monthyy, $the_6th_monthmm, $the_6th_monthdd); $cal6->setCalendarData(); //7th list($the_7th_monthyy, $the_7th_monthmm, $the_7th_monthdd) = getAfterMonth($todayyy, $todaymm, 1, 6); $cal7 = new calendarData(); $cal7->setToday($the_7th_monthyy, $the_7th_monthmm, $the_7th_monthdd); $cal7->setCalendarData(); //8th list($the_8th_monthyy, $the_8th_monthmm, $the_8th_monthdd) = getAfterMonth($todayyy, $todaymm, 1, 7); $cal8 = new calendarData(); $cal8->setToday($the_8th_monthyy, $the_8th_monthmm, $the_8th_monthdd); $cal8->setCalendarData(); //9th list($the_9th_monthyy, $the_9th_monthmm, $the_9th_monthdd) = getAfterMonth($todayyy, $todaymm, 1, 8); $cal9 = new calendarData(); $cal9->setToday($the_9th_monthyy, $the_9th_monthmm, $the_9th_monthdd); $cal9->setCalendarData(); //10th list($the_10th_monthyy, $the_10th_monthmm, $the_10th_monthdd) = getAfterMonth($todayyy, $todaymm, 1, 9); $cal10 = new calendarData(); $cal10->setToday($the_10th_monthyy, $the_10th_monthmm, $the_10th_monthdd); $cal10->setCalendarData(); //11th list($the_11th_monthyy, $the_11th_monthmm, $the_11th_monthdd) = getAfterMonth($todayyy, $todaymm, 1, 10); $cal11 = new calendarData(); $cal11->setToday($the_11th_monthyy, $the_11th_monthmm, $the_11th_monthdd); $cal11->setCalendarData(); //12th list($the_12th_monthyy, $the_12th_monthmm, $the_12th_monthdd) = getAfterMonth($todayyy, $todaymm, 1, 11); $cal12 = new calendarData(); $cal12->setToday($the_12th_monthyy, $the_12th_monthmm, $the_12th_monthdd); $cal12->setCalendarData(); //20131205_kitamu_end $yearstr = substr(get_date_from_gmt(gmdate('Y-m-d H:i:s', time())), 0, 4); $status = $this->action_status; $message = $this->action_message; $this->action_status = 'none'; $this->action_message = ''; $campaign_schedule_start_year = isset($this->options['campaign_schedule']['start']['year']) ? $this->options['campaign_schedule']['start']['year'] : 0; $campaign_schedule_start_month = isset($this->options['campaign_schedule']['start']['month']) ? $this->options['campaign_schedule']['start']['month'] : 0; $campaign_schedule_start_day = isset($this->options['campaign_schedule']['start']['day']) ? $this->options['campaign_schedule']['start']['day'] : 0; $campaign_schedule_start_hour = isset($this->options['campaign_schedule']['start']['hour']) ? $this->options['campaign_schedule']['start']['hour'] : 0; $campaign_schedule_start_min = isset($this->options['campaign_schedule']['start']['min']) ? $this->options['campaign_schedule']['start']['min'] : 0; $campaign_schedule_end_year = isset($this->options['campaign_schedule']['end']['year']) ? $this->options['campaign_schedule']['end']['year'] : 0; $campaign_schedule_end_month = isset($this->options['campaign_schedule']['end']['month']) ? $this->options['campaign_schedule']['end']['month'] : 0; $campaign_schedule_end_day = isset($this->options['campaign_schedule']['end']['day']) ? $this->options['campaign_schedule']['end']['day'] : 0; $campaign_schedule_end_hour = isset($this->options['campaign_schedule']['end']['hour']) ? $this->options['campaign_schedule']['end']['hour'] : 0; $campaign_schedule_end_min = isset($this->options['campaign_schedule']['end']['min']) ? $this->options['campaign_schedule']['end']['min'] : 0; ?>

Welcart Shop

()


()


getRow(); $i++) : ?> getDateText($i, $d); if ($mday != "") { $business = $this->options['business_days'][$todayyy][$todaymm][$mday]; $color = ($business == 1) ? '#DFFFDD' : '#FFAA55;color:#FFFFFF;font-weight:bold;'; ?>
 
   
   

getRow(); $i++) : ?> getDateText($i, $d); if ($mday != "") { $business = $this->options['business_days'][$nextyy][$nextmm][$mday]; $color = ($business == 1) ? '#DFFFDD' : '#FFAA55;color:#FFFFFF;font-weight:bold;'; ?>
 
 

getRow(); $i++) : ?> getDateText($i, $d); if ($mday != "") { $business = $this->options['business_days'][$lateryy][$latermm][$mday]; //20110131ysk start //if(empty($business)) $business = '0'; if($business != 0) $business = 1; //20110131ysk end $color = ($business == 1) ? '#DFFFDD' : '#FFAA55;color:#FFFFFF;font-weight:bold;'; ?>
 
 
getRow(); $i++) : ?> getDateText($i, $d); if ($mday != "") { $business = isset( $this->options['business_days'][$the_4th_monthyy][$the_4th_monthmm][$mday]) ? $this->options['business_days'][$the_4th_monthyy][$the_4th_monthmm][$mday] : 1; $color = ($business == 1) ? '#DFFFDD' : '#FFAA55;color:#FFFFFF;font-weight:bold;'; ?>
 
 
getRow(); $i++) : ?> getDateText($i, $d); if ($mday != "") { $business = isset( $this->options['business_days'][$the_5th_monthyy][$the_5th_monthmm][$mday]) ? $this->options['business_days'][$the_5th_monthyy][$the_5th_monthmm][$mday] : 1; $color = ($business == 1) ? '#DFFFDD' : '#FFAA55;color:#FFFFFF;font-weight:bold;'; ?>
 
 
getRow(); $i++) : ?> getDateText($i, $d); if ($mday != "") { $business = isset( $this->options['business_days'][$the_6th_monthyy][$the_6th_monthmm][$mday]) ? $this->options['business_days'][$the_6th_monthyy][$the_6th_monthmm][$mday] : 1; $color = ($business == 1) ? '#DFFFDD' : '#FFAA55;color:#FFFFFF;font-weight:bold;'; ?>
 
 
getRow(); $i++) : ?> getDateText($i, $d); if ($mday != "") { $business = isset( $this->options['business_days'][$the_7th_monthyy][$the_7th_monthmm][$mday]) ? $this->options['business_days'][$the_7th_monthyy][$the_7th_monthmm][$mday] : 1; $color = ($business == 1) ? '#DFFFDD' : '#FFAA55;color:#FFFFFF;font-weight:bold;'; ?>
 
 
getRow(); $i++) : ?> getDateText($i, $d); if ($mday != "") { $business = isset( $this->options['business_days'][$the_8th_monthyy][$the_8th_monthmm][$mday]) ? $this->options['business_days'][$the_8th_monthyy][$the_8th_monthmm][$mday] : 1; $color = ($business == 1) ? '#DFFFDD' : '#FFAA55;color:#FFFFFF;font-weight:bold;'; ?>
 
 
getRow(); $i++) : ?> getDateText($i, $d); if ($mday != "") { $business = isset( $this->options['business_days'][$the_9th_monthyy][$the_9th_monthmm][$mday]) ? $this->options['business_days'][$the_9th_monthyy][$the_9th_monthmm][$mday] : 1; $color = ($business == 1) ? '#DFFFDD' : '#FFAA55;color:#FFFFFF;font-weight:bold;'; ?>
 
 
getRow(); $i++) : ?> getDateText($i, $d); if ($mday != "") { $business = isset( $this->options['business_days'][$the_10th_monthyy][$the_10th_monthmm][$mday]) ? $this->options['business_days'][$the_10th_monthyy][$the_10th_monthmm][$mday] : 1; $color = ($business == 1) ? '#DFFFDD' : '#FFAA55;color:#FFFFFF;font-weight:bold;'; ?>
 
 
getRow(); $i++) : ?> getDateText($i, $d); if ($mday != "") { $business = isset( $this->options['business_days'][$the_11th_monthyy][$the_11th_monthmm][$mday]) ? $this->options['business_days'][$the_11th_monthyy][$the_11th_monthmm][$mday] : 1; $color = ($business == 1) ? '#DFFFDD' : '#FFAA55;color:#FFFFFF;font-weight:bold;'; ?>
 
 
getRow(); $i++) : ?> getDateText($i, $d); if ($mday != "") { $business = isset( $this->options['business_days'][$the_12th_monthyy][$the_12th_monthmm][$mday]) ? $this->options['business_days'][$the_12th_monthyy][$the_12th_monthmm][$mday] : 1; $color = ($business == 1) ? '#DFFFDD' : '#FFAA55;color:#FFFFFF;font-weight:bold;'; ?>