children = array(); $this->title = $title; $this->name = $name; $this->hidden_property = $hidden_property; $this->hidden_value = $hidden_value; } public function hasChidren() { return (count($this->children) > 0)?true:false; } public function getChild($key) { return $this->children[$key]; } public function addChild($key, $value) { $this->children[$key] = $value; } public function render($factory) { $hidden = false; if (!empty($this->hidden_property)){ if (qodef_option_get_value($this->hidden_property)==$this->hidden_value) $hidden = true; } ?>
style="display: none">

title; ?>

children as $child) { $this->renderChild($child, $factory); } ?>
render($factory); } } /* Class: QodeContainer A class that initializes Qode Container */ class QodeContainer implements iLayoutNode, iRender { public $children; public $name; public $hidden_property; public $hidden_value; public $hidden_values; function __construct($name="",$hidden_property="",$hidden_value="",$hidden_values=array()) { $this->children = array(); $this->name = $name; $this->hidden_property = $hidden_property; $this->hidden_value = $hidden_value; $this->hidden_values = $hidden_values; } public function hasChidren() { return (count($this->children) > 0)?true:false; } public function getChild($key) { return $this->children[$key]; } public function addChild($key, $value) { $this->children[$key] = $value; } public function render($factory) { $hidden = false; if (!empty($this->hidden_property)){ if (qodef_option_get_value($this->hidden_property)==$this->hidden_value) $hidden = true; else { foreach ($this->hidden_values as $value) { if (qodef_option_get_value($this->hidden_property)==$value) $hidden = true; } } } ?>
style="display: none"> children as $child) { $this->renderChild($child, $factory); } ?>
render($factory); } } /* Class: QodeContainerNoStyle A class that initializes Qode Container without css classes */ class QodeContainerNoStyle implements iLayoutNode, iRender { public $children; public $name; public $hidden_property; public $hidden_value; public $hidden_values; function __construct($name="",$hidden_property="",$hidden_value="",$hidden_values=array()) { $this->children = array(); $this->name = $name; $this->hidden_property = $hidden_property; $this->hidden_value = $hidden_value; $this->hidden_values = $hidden_values; } public function hasChidren() { return (count($this->children) > 0)?true:false; } public function getChild($key) { return $this->children[$key]; } public function addChild($key, $value) { $this->children[$key] = $value; } public function render($factory) { $hidden = false; if (!empty($this->hidden_property)){ if (qodef_option_get_value($this->hidden_property)==$this->hidden_value) $hidden = true; else { foreach ($this->hidden_values as $value) { if (qodef_option_get_value($this->hidden_property)==$value) $hidden = true; } } } ?>
style="display: none"> children as $child) { $this->renderChild($child, $factory); } ?>
render($factory); } } /* Class: QodeGroup A class that initializes Qode Group */ class QodeGroup implements iLayoutNode, iRender { public $children; public $title; public $description; function __construct($title="",$description="") { $this->children = array(); $this->title = $title; $this->description = $description; } public function hasChidren() { return (count($this->children) > 0)?true:false; } public function getChild($key) { return $this->children[$key]; } public function addChild($key, $value) { $this->children[$key] = $value; } public function render($factory) { ?>

title; ?>

description; ?>

children as $child) { $this->renderChild($child, $factory); } ?>
render($factory); } } /* Class: QodeNotice A class that initializes Qode Notice */ class QodeNotice implements iRender { public $children; public $title; public $description; public $notice; public $hidden_property; public $hidden_value; public $hidden_values; function __construct($title="",$description="",$notice="",$hidden_property="",$hidden_value="",$hidden_values=array()) { $this->children = array(); $this->title = $title; $this->description = $description; $this->notice = $notice; $this->hidden_property = $hidden_property; $this->hidden_value = $hidden_value; $this->hidden_values = $hidden_values; } public function render($factory) { $hidden = false; if (!empty($this->hidden_property)){ if (qodef_option_get_value($this->hidden_property)==$this->hidden_value) $hidden = true; else { foreach ($this->hidden_values as $value) { if (qodef_option_get_value($this->hidden_property)==$value) $hidden = true; } } } ?>
style="display: none">

title; ?>

description; ?>

notice; ?>
children = array(); $this->next = $next; } public function hasChidren() { return (count($this->children) > 0)?true:false; } public function getChild($key) { return $this->children[$key]; } public function addChild($key, $value) { $this->children[$key] = $value; } public function render($factory) { ?>
"> children as $child) { $this->renderChild($child, $factory); } ?>
render($factory); } } /* Class: QodeTitle A class that initializes Qode Title */ class QodeTitle implements iRender { private $name; private $title; public $hidden_property; public $hidden_values = array(); public $hidden_value; function __construct($name="",$title="",$hidden_property="",$hidden_value="") { $this->title = $title; $this->name = $name; $this->hidden_property = $hidden_property; $this->hidden_value = $hidden_value; } public function render($factory) { $hidden = false; if (!empty($this->hidden_property)){ if (qodef_option_get_value($this->hidden_property)==$this->hidden_value) $hidden = true; } ?>
style="display: none">title); ?>
type = $type; $this->name = $name; $this->default_value = $default_value; $this->label = $label; $this->description = $description; $this->options = $options; $this->args = $args; $this->hidden_property = $hidden_property; $this->hidden_values = $hidden_values; $qodeFramework->qodeOptions->addOption($this->name,$this->default_value, $type); } public function render($factory) { $hidden = false; if (!empty($this->hidden_property)){ foreach ($this->hidden_values as $value) { if (qodef_option_get_value($this->hidden_property)==$value) $hidden = true; } } $factory->render( $this->type, $this->name, $this->label, $this->description, $this->options, $this->args, $hidden ); } } /* Class: QodeMetaField A class that initializes Qode Meta Field */ class QodeMetaField implements iRender { private $type; private $name; private $default_value; private $label; private $description; private $options = array(); private $args = array(); public $hidden_property; public $hidden_values = array(); function __construct($type,$name,$default_value="",$label="",$description="", $options = array(), $args = array(),$hidden_property="", $hidden_values = array()) { global $qodeFramework; $this->type = $type; $this->name = $name; $this->default_value = $default_value; $this->label = $label; $this->description = $description; $this->options = $options; $this->args = $args; $this->hidden_property = $hidden_property; $this->hidden_values = $hidden_values; $qodeFramework->qodeMetaBoxes->addOption($this->name,$this->default_value); } public function render($factory) { $hidden = false; if (!empty($this->hidden_property)){ foreach ($this->hidden_values as $value) { if (qodef_option_get_value($this->hidden_property)==$value) $hidden = true; } } $factory->render( $this->type, $this->name, $this->label, $this->description, $this->options, $this->args, $hidden ); } } abstract class QodeFieldType { abstract public function render( $name, $label="",$description="", $options = array(), $args = array(), $hidden = false ); } class QodeFieldText extends QodeFieldType { public function render( $name, $label="", $description="", $options = array(), $args = array(), $hidden = false ) { $col_width = 12; if(isset($args["col_width"])) $col_width = $args["col_width"]; ?>
style="display: none">

style="display: none">

style="display: none">

style="display: none" class="qodef-media-image-holder">

style="display: none">

style="display: none">

/>

/>

/>

/>

/>

/>

/>

/>

/>

/>

/>

/>

style="display: none">
'.$label.'
'; echo $html; } } class QodeFieldCheckBox extends QodeFieldType { public function render( $name, $label="", $description="", $options = array(), $args = array(), $hidden = false ) { $checked = ""; if ($default_value == $value) $checked = "checked"; $html = ' '.$label.'
'; echo $html; } } class QodeFieldDate extends QodeFieldType { public function render( $name, $label="", $description="", $options = array(), $args = array(), $hidden = false ) { $col_width = 2; if(isset($args["col_width"])) $col_width = $args["col_width"]; ?>
style="display: none">

getIconCollections(); ?>
style="display: none">

render( $name, $label, $description, $options, $args, $hidden ); break; case 'textsimple': $field = new QodeFieldTextSimple(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'textarea': $field = new QodeFieldTextArea(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'textareasimple': $field = new QodeFieldTextAreaSimple(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'color': $field = new QodeFieldColor(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'colorsimple': $field = new QodeFieldColorSimple(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'image': $field = new QodeFieldImage(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'font': $field = new QodeFieldFont(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'fontsimple': $field = new QodeFieldFontSimple(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'select': $field = new QodeFieldSelect(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'selectblank': $field = new QodeFieldSelectBlank(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'selectsimple': $field = new QodeFieldSelectSimple(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'selectblanksimple': $field = new QodeFieldSelectBlankSimple(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'yesno': $field = new QodeFieldYesNo(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'yesnosimple': $field = new QodeFieldYesNoSimple(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'onoff': $field = new QodeFieldOnOff(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'portfoliofollow': $field = new QodeFieldPortfolioFollow(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'zeroone': $field = new QodeFieldZeroOne(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'imagevideo': $field = new QodeFieldImageVideo(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'yesempty': $field = new QodeFieldYesEmpty(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'flagpost': $field = new QodeFieldFlagPost(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'flagpage': $field = new QodeFieldFlagPage(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'flagmedia': $field = new QodeFieldFlagMedia(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'flagportfolio': $field = new QodeFieldFlagPortfolio(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'flagproduct': $field = new QodeFieldFlagProduct(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'range': $field = new QodeFieldRange(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'rangesimple': $field = new QodeFieldRangeSimple(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'radio': $field = new QodeFieldRadio(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'checkbox': $field = new QodeFieldCheckBox(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'date': $field = new QodeFieldDate(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'iconpack': $field = new QodeFieldIconPack(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; case 'iconwithiconpack': $field = new QodeFieldIconWithIconPack(); $field->render( $name, $label, $description, $options, $args, $hidden ); break; default: break; } } } /* Class: QodeMultipleImages A class that initializes Qode Multiple Images */ class QodeMultipleImages implements iRender { private $name; private $label; private $description; function __construct($name,$label="",$description="") { global $qodeFramework; $this->name = $name; $this->label = $label; $this->description = $description; $qodeFramework->qodeMetaBoxes->addOption($this->name,""); } public function render($factory) { global $post; ?>

label; ?>

description; ?>

label = $label; $this->description = $description; } public function render($factory) { global $post; ?> ID, 'qode_portfolio_images', true ); if (count($portfolio_images)>1) { usort($portfolio_images, "comparePortfolioImages"); } while (isset($portfolio_images[$no-1])) { $portfolio_image = $portfolio_images[$no-1]; ?>

label; ?>

description; ?>

Order Number " placeholder=""/>
Image/Video title (only for gallery layout - Portfolio Style 6) " placeholder=""/>
Image
style="display: none" class="qodef-media-image-holder">
Video type
Video ID " placeholder=""/>
Video image
style="display: none" class="qodef-media-image-holder">
Video webm " placeholder=""/>
Video mp4 " placeholder=""/>
Video ogv " placeholder=""/>

Add portfolio image/video label = $label; $this->description = $description; } public function render($factory) { global $post; ?> ID, 'qode_portfolio_images', true ); if (count($portfolio_images)>1) { usort($portfolio_images, "comparePortfolioImages"); } while (isset($portfolio_images[$no-1])) { $portfolio_image = $portfolio_images[$no-1]; if (isset($portfolio_image['portfolioimgtype'])) $portfolio_img_type = $portfolio_image['portfolioimgtype']; else { if (stripslashes($portfolio_image['portfolioimg']) == true) $portfolio_img_type = "image"; else $portfolio_img_type = "video"; } if ($portfolio_img_type == "image") { ?>
Image - (, )
Video - (, )
Add Image Add Video Expand All Remove last row */ ?>
obtainAccessToken(); if($responseObj->status) { $message = esc_html__('You have successfully connected with your Twitter account. If you have any issues fetching data from Twitter try reconnecting.', 'qode'); } else { $message = $responseObj->message; } } $buttonText = $twitterApi->hasUserConnected() ? esc_html__('Re-connect with Twitter', 'bridge') : esc_html__('Connect with Twitter', 'qode'); ?>

storeCode(); $instagram_api->getAccessToken(); $message = esc_html__('You have successfully connected with your Instagram account. If you have any issues fetching data from Instagram try reconnecting.', 'qode'); } else { $instagram_api->storeCodeRequestURI(); } } $buttonText = $instagram_api->hasUserConnected() ? esc_html__('Re-connect with Instagram', 'qode') : esc_html__('Connect with Instagram', 'qode'); ?>

label = $label; $this->description = $description; } public function render($factory) { global $post; ?> ID, 'qode_portfolios', true ); if (count($portfolios)>1) { usort($portfolios, "comparePortfolioOptions"); } while (isset($portfolios[$no-1])) { $portfolio = $portfolios[$no-1]; ?>
Additional Sidebar Item - (, )
Add New Item Expand All Remove Last Row */ ?>
title = $title; $this->name = $name; } public function render($factory) { ?>

title; ?>