@@ 474-477 (lines=4) @@ | ||
471 | $cblock->setVar('content', @$_POST['bcontent']); |
|
472 | $cblock->setVar('c_type', @$_POST['bctype']); |
|
473 | $cblock->setVar('bcachetime', $_POST['bcachetime']); |
|
474 | if (isset($options) && (count($options) > 0)) { |
|
475 | $options = implode('|', $options); |
|
476 | $cblock->setVar('options', $options); |
|
477 | } |
|
478 | $cblock->setVar('bid', 0); |
|
479 | $cblock->setVar('block_type', $block_type == 'C' ? 'C' : 'D'); |
|
480 | $cblock->setVar('func_num', 255); |
|
@@ 576-579 (lines=4) @@ | ||
573 | $myblock->setVar('c_type', $bctype); |
|
574 | } |
|
575 | $myblock->setVar('bcachetime', $bcachetime); |
|
576 | if (isset($options) && (count($options) > 0)) { |
|
577 | $options = implode('|', $options); |
|
578 | $myblock->setVar('options', $options); |
|
579 | } |
|
580 | if ('C' == $myblock->getVar('block_type')) { |
|
581 | switch ($myblock->getVar('c_type')) { |
|
582 | case 'H': |