|
|
|
|
@ -83,8 +83,12 @@ class webgetbokun extends CI_Controller
|
|
|
|
|
$strContent = "";
|
|
|
|
|
foreach ($arrContent as $ContentItem) {
|
|
|
|
|
$strTemp = "";
|
|
|
|
|
$strDay = "";
|
|
|
|
|
if ($ContentItem->day!=1){
|
|
|
|
|
$strDay = "(day ".$ContentItem->day.")";
|
|
|
|
|
}
|
|
|
|
|
if ($ContentItem->title != "") {
|
|
|
|
|
$strTemp .= "<h3><i class=\"fa fa-circle\" aria-hidden=\"true\"></i>" . $ContentItem->title . "</h3>";
|
|
|
|
|
$strTemp .= "<h3><i class=\"fa fa-circle\" aria-hidden=\"true\"></i>" . $ContentItem->title.$strDay. "</h3>";
|
|
|
|
|
}
|
|
|
|
|
if ($ContentItem->body != "") {
|
|
|
|
|
$strTemp .= $ContentItem->body;
|
|
|
|
|
@ -241,7 +245,9 @@ class webgetbokun extends CI_Controller
|
|
|
|
|
if ($agendaItem->keyPhoto != null && $agendaItem->keyPhoto != "") {
|
|
|
|
|
$this->InfoBokunData_model->ibd_ItemName = "AgendaPhoto";
|
|
|
|
|
$this->InfoBokunData_model->ibd_Itemvalue = $agendaItem->keyPhoto->originalUrl;
|
|
|
|
|
$this->InfoBokunData_model->ibd_ItemDescription = $$agendaItem->keyPhoto->description;
|
|
|
|
|
if (isset($$agendaItem->keyPhoto->description)){
|
|
|
|
|
$this->InfoBokunData_model->ibd_ItemDescription = $$agendaItem->keyPhoto->description;
|
|
|
|
|
}
|
|
|
|
|
$this->InfoBokunData_model->ibd_ItemType = "originalUrl";
|
|
|
|
|
$this->InfoBokunData_model->Add();
|
|
|
|
|
}
|
|
|
|
|
@ -254,7 +260,10 @@ class webgetbokun extends CI_Controller
|
|
|
|
|
$this->InfoBokunData_model->ibd_ItemName = "AgendaPhoto";
|
|
|
|
|
$this->InfoBokunData_model->ibd_Itemvalue = $agendaPhotoItem->originalUrl;
|
|
|
|
|
$this->InfoBokunData_model->ibd_ItemType = "originalUrl";
|
|
|
|
|
$this->InfoBokunData_model->ibd_ItemDescription = $agendaPhotoItem->description;
|
|
|
|
|
if (isset($agendaPhotoItem->description)){
|
|
|
|
|
$this->InfoBokunData_model->ibd_ItemDescription = $agendaPhotoItem->description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$this->InfoBokunData_model->Add();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|