__( 'Top Left', 'avia_framework' ) => 'av-tt-pos-above av-tt-align-left',
__( 'Top Right', 'avia_framework' ) => 'av-tt-pos-above av-tt-align-right',
__( 'Top Centered', 'avia_framework' ) => 'av-tt-pos-above av-tt-align-centered',
),
'Below' => array(
__( 'Bottom Left', 'avia_framework' ) => 'av-tt-pos-below av-tt-align-left',
__( 'Bottom Right', 'avia_framework' ) => 'av-tt-pos-below av-tt-align-right',
__( 'Bottom Centered', 'avia_framework' ) => 'av-tt-pos-below av-tt-align-centered',
),
'Left' => array(
__( 'Left Top', 'avia_framework' ) => 'av-tt-pos-left av-tt-align-top',
__( 'Left Bottom', 'avia_framework' ) => 'av-tt-pos-left av-tt-align-bottom',
__( 'Left Centered', 'avia_framework' ) => 'av-tt-pos-left av-tt-align-centered',
),
'Right'=> array(
__( 'Right Top', 'avia_framework' ) => 'av-tt-pos-right av-tt-align-top',
__( 'Right Bottom', 'avia_framework' ) => 'av-tt-pos-right av-tt-align-bottom',
__( 'Right Centered', 'avia_framework' ) => 'av-tt-pos-right av-tt-align-centered',
)
)
),
array(
'name' => __( 'Tooltip Width', 'avia_framework' ),
'desc' => __( 'Select the width of the tooltip. Height is based on the content', 'avia_framework' ),
'id' => 'tooltip_width',
'type' => 'select',
'std' => 'av-tt-default-width',
'lockable' => true,
'subtype' => array(
__( 'Default', 'avia_framework' ) => 'av-tt-default-width',
__( 'Large', 'avia_framework' ) => 'av-tt-large-width',
__( 'Extra Large', 'avia_framework' ) => 'av-tt-xlarge-width',
),
),
array(
'name' => __( 'Tooltip Style', 'avia_framework' ),
'desc' => __( 'Choose the style of your tooltip', 'avia_framework' ) ,
'id' => 'tooltip_style',
'type' => 'select',
'std' => 'main_color',
'lockable' => true,
'subtype' => array(
__( 'Default', 'avia_framework' ) => 'main_color',
__( 'Default with drop shadow', 'avia_framework' ) => 'main_color av-tooltip-shadow',
__( 'Transparent Dark', 'avia_framework' ) => 'transparent_dark'
)
)
);
$template = array(
array(
'type' => 'template',
'template_id' => 'toggle',
'title' => __( 'Tooltip', 'avia_framework' ),
'content' => $c
),
);
AviaPopupTemplates()->register_dynamic_template( $this->popup_key( 'modal_styling_tooltip' ), $template );
$c = array(
array(
'name' => __( 'Hotspot Color', 'avia_framework' ),
'desc' => __( 'Set the colors of your hotspot', 'avia_framework' ),
'id' => 'hotspot_color',
'type' => 'select',
'std' => '',
'lockable' => true,
'subtype' => array(
__( 'Default', 'avia_framework' ) => '',
__( 'Custom', 'avia_framework' ) => 'custom',
),
),
array(
'name' => __( 'Custom Background Color', 'avia_framework' ),
'desc' => __( 'Select a custom background color here', 'avia_framework' ),
'id' => 'custom_bg',
'type' => 'colorpicker',
'std' => '#ffffff',
'lockable' => true,
'required' => array( 'hotspot_color', 'equals', 'custom' )
),
array(
'name' => __( 'Custom Font Color', 'avia_framework' ),
'desc' => __( 'Select a custom font color here', 'avia_framework' ),
'id' => 'custom_font',
'type' => 'colorpicker',
'std' => '#888888',
'lockable' => true,
'required' => array( 'hotspot_color', 'equals', 'custom' )
),
array(
'name' => __( 'Custom Pulse Color', 'avia_framework' ),
'desc' => __( 'Select a custom pulse color here', 'avia_framework' ),
'id' => 'custom_pulse',
'type' => 'colorpicker',
'std' => '#ffffff',
'lockable' => true,
'required' => array( 'hotspot_color', 'equals', 'custom' )
)
);
$template = array(
array(
'type' => 'template',
'template_id' => 'toggle',
'title' => __( 'Colors', 'avia_framework' ),
'content' => $c
),
);
AviaPopupTemplates()->register_dynamic_template( $this->popup_key( 'modal_styling_colors' ), $template );
/**
* Advanced Tab
* ============
*/
$c = array(
array(
'type' => 'template',
'template_id' => 'linkpicker_toggle',
'name' => __( 'Hotspot Link?', 'avia_framework' ),
'desc' => __( 'Where should your hotspot link to?', 'avia_framework' ),
'target_id' => 'link_target',
'no_toggle' => true,
'lockable' => true,
'subtypes' => array( 'no', 'manually', 'single', 'taxonomy' )
)
);
AviaPopupTemplates()->register_dynamic_template( $this->popup_key( 'modal_advanced_link' ), $c );
}
/**
* Editor Element - this function defines the visual appearance of an element on the AviaBuilder Canvas
* Most common usage is to define some markup in the $params['innerHtml'] which is then inserted into the drag and drop container
* Less often used: $params['data'] to add data attributes, $params['class'] to modify the className
*
*
* @param array $params this array holds the default values for $content and $args.
* @return $params the return array usually holds an innerHtml key that holds item specific markup.
*/
function editor_element( $params )
{
$default = array();
$locked = array();
$attr = $params['args'];
Avia_Element_Templates()->set_locked_attributes( $attr, $this, $this->config['shortcode'], $default, $locked );
$template = $this->update_template_lockable( 'src', " ", $locked );
$img = '';
if( ! empty( $attr['attachment'] ) && ! empty( $attr['attachment_size'] ) )
{
$img = wp_get_attachment_image( $attr['attachment'], $attr['attachment_size'] );
}
else if( isset( $attr['src'] ) && is_numeric( $attr['src'] ) )
{
$img = wp_get_attachment_image( $attr['src'], 'large' );
}
else if( ! empty( $attr['src'] ) )
{
$img = " ";
}
$html = AviaPopupTemplates()->get_html_template( 'alb_element_fullwidth_stretch' );
$button = '' . __( 'Image with Hotspots - Click to insert image and hotspots', 'avia_framework' ) . ' ';
$pos = strrpos( $html, '' );
$html = substr( $html, 0, $pos ) . $button . '';
$params['innerHtml'] = '
';
$params['innerHtml'] .= "
{$img}
";
$params['innerHtml'] .= $html;
$params['innerHtml'] .= '
';
$params['class'] = '';
return $params;
}
/**
* Editor Sub Element - this function defines the visual appearance of an element that is displayed within a modal window and on click opens its own modal window
* Works in the same way as Editor Element
* @param array $params this array holds the default values for $content and $args.
* @return $params the return array usually holds an innerHtml key that holds item specific markup.
*/
function editor_sub_element( $params )
{
/**
* Fix a bug in 4.7 and 4.7.1 renaming option id (no longer backwards comp.) - can be removed in a future version again
*/
if( isset( $params['args']['linktarget'] ) )
{
$params['args']['link_target'] = $params['args']['linktarget'];
}
$default = array();
$locked = array();
$attr = $params['args'];
Avia_Element_Templates()->set_locked_attributes( $attr, $this, $this->config['shortcode_nested'][0], $default, $locked );
$params['innerHtml'] = '';
$params['innerHtml'] .= "" . __( 'Hotspot', 'avia_framework' ) . '
';
return $params;
}
/**
* Create custom stylings
*
* @since 4.8.4
* @param array $args
* @return array
*/
protected function get_element_styles( array $args )
{
$result = parent::get_element_styles( $args );
extract( $result );
$default = array(
'animation' => 'no-animation',
'attachment' => '',
'attachment_size' => '',
'hotspot_layout' => 'numbered',
'hotspot_mobile' => '',
'hotspot_tooltip_display' => '',
'lazy_loading' => 'disabled',
'src' => '',
'img_h' => '',
'img_w' => '',
'img_alt' => '',
'img_title' => '',
'attachment_id' => 0,
'hotspots' => array() // CET modified hotspots
);
$default = $this->sync_sc_defaults_array( $default, 'no_modal_item', 'no_content' );
$locked = array();
Avia_Element_Templates()->set_locked_attributes( $atts, $this, $shortcodename, $default, $locked, $content );
Avia_Element_Templates()->add_template_class( $meta, $atts, $default );
$hotspots = ShortcodeHelper::shortcode2array( $content, 1 );
foreach( $hotspots as $key => &$item )
{
$item_def = $this->get_default_modal_group_args();
Avia_Element_Templates()->set_locked_attributes( $item['attr'], $this, $this->config['shortcode_nested'][0], $item_def, $locked, $item['content'] );
}
unset( $item );
$atts = shortcode_atts( $default, $atts, $this->config['shortcode'] );
$atts['hotspots'] = $hotspots;
if( ! empty( $atts['attachment'] ) )
{
/**
* Allows e.g. WPML to reroute to translated image
*/
$posts = get_posts( array(
'include' => $atts['attachment'],
'post_status' => 'inherit',
'post_type' => 'attachment',
'post_mime_type' => 'image',
'order' => 'ASC',
'orderby' => 'post__in' )
);
if( is_array( $posts ) && ! empty( $posts ) )
{
$attachment_entry = $posts[0];
$atts['attachment_id'] = $attachment_entry->ID;
$alt = get_post_meta( $attachment_entry->ID, '_wp_attachment_image_alt', true );
$atts['img_alt'] = ! empty( $alt ) ? esc_attr( $alt ) : '';
$atts['img_title'] = trim( $attachment_entry->post_title ) ? esc_attr( $attachment_entry->post_title ) : '';
if( ! empty( $attachment_size ) )
{
$src = wp_get_attachment_image_src( $attachment_entry->ID, $attachment_size );
$atts['img_h'] = ! empty( $src[2] ) ? $src[2] : '';
$atts['img_w'] = ! empty( $src[1] ) ? $src[1] : '';
$atts['src'] = ! empty( $src[0] ) ? $src[0] : '';
}
}
}
$classes = array(
'av-hotspot-image-container',
$element_id
);
$element_styling->add_classes( 'container', $classes );
$element_styling->add_classes_from_array( 'container', $meta, 'el_class' );
if( ! empty( $atts['src'] ) )
{
//some custom classes
$element_styling->add_classes( 'container', array( "av-hotspot-{$atts['hotspot_layout']}", $atts['hotspot_tooltip_display'] ) );
if( $atts['animation'] != 'no-animation' )
{
$element_styling->add_classes( 'container', array( 'avia_animated_image', 'avia_animate_when_almost_visible', $atts['animation'] ) );
}
if( ! empty( $atts['hotspot_mobile'] ) )
{
$element_styling->add_classes( 'container', 'av-mobile-fallback-active' );
}
}
$selectors = array(
'container' => ".av-hotspot-image-container.{$element_id}"
);
$element_styling->add_selectors( $selectors );
$result['default'] = $default;
$result['atts'] = $atts;
$result['content'] = $content;
$result['element_styling'] = $element_styling;
$result['meta'] = $meta;
return $result;
}
/**
* Create custom stylings for items
* (also called when creating header implicit)
*
* @since 4.8.4
* @param array $args
* @return array
*/
protected function get_element_styles_item( array $args )
{
$result = parent::get_element_styles_item( $args );
extract( $result );
/**
* Fix a bug in 4.7 and 4.7.1 renaming option id (no longer backwards comp.) - can be removed in a future version again
*/
if( isset( $atts['linktarget'] ) )
{
$atts['link_target'] = $atts['linktarget'];
}
$default = array(
'tooltip_width' => 'av-tt-default-width',
'tooltip_pos' => 'av-tt-pos-above av-tt-align-left',
'hotspot_pos' => '50,50',
'output' => '',
'hotspot_color' => '',
'custom_bg' => '',
'custom_font' => '',
'custom_pulse' => '',
'tooltip_style' => 'main_color',
'link' => '',
'link_target' => ''
);
$default = $this->sync_sc_defaults_array( $default, 'modal_item', 'no_content' );
$atts = shortcode_atts( $default, $atts, $this->config['shortcode_nested'][0] );
// hidden, set in editor
if( empty( $atts['hotspot_pos'] ) )
{
$atts['hotspot_pos'] = '50,50';
}
$classes = array(
'av-image-hotspot',
$element_id
);
$element_styling->add_classes( 'container', $classes );
$hotspot_pos = explode( ',', $atts['hotspot_pos'] );
$element_styling->add_styles( 'container', array(
'top' => $hotspot_pos[0] . '%',
'left' => $hotspot_pos[1] . '%'
) );
if( 'custom' == $atts['hotspot_color'] )
{
$element_styling->add_styles( 'container-inner', array(
'background-color' => $atts['custom_bg'],
'color' => $atts['custom_font']
) );
$element_styling->add_styles( 'container-pulse', array( 'background-color' => $atts['custom_pulse'] ) );
}
$selectors = array(
'container' => ".av-hotspot-image-container .av-image-hotspot.{$element_id}",
'container-inner' => ".av-hotspot-image-container .av-image-hotspot.{$element_id} .av-image-hotspot_inner",
'container-pulse' => ".av-hotspot-image-container .av-image-hotspot.{$element_id} .av-image-hotspot-pulse",
);
$element_styling->add_selectors( $selectors );
$result['default'] = $default;
$result['atts'] = $atts;
$result['content'] = $content;
$result['element_styling'] = $element_styling;
return $result;
}
/**
* Frontend Shortcode Handler
*
* @param array $atts array of attributes
* @param string $content text within enclosing form of shortcode element
* @param string $shortcodename the shortcode found, when == callback name
* @return string $output returns the modified html string
*/
function shortcode_handler( $atts, $content = '', $shortcodename = '', $meta = '' )
{
$result = $this->get_element_styles( compact( array( 'atts', 'content', 'shortcodename', 'meta' ) ) );
extract( $result );
extract( AviaHelper::av_mobile_sizes( $atts ) ); //return $av_font_classes, $av_title_font_classes and $av_display_classes
extract( $atts );
avia_sc_image_hotspots::$img_hotspot_count ++;
$output = '';
//no src? return
if( ! empty( $src ) )
{
$extra_class = ! ShortcodeHelper::is_top_level() ? ' av-non-fullwidth-hotspot-image' : '';
$hotspot_html = '';
$tooltip_html = '';
$counter = 1;
foreach( $hotspots as $hotspot )
{
if( ! empty( $hotspot_mobile ) )
{
$tooltip_html .= $this->add_fallback_tooltip( $hotspot, $counter, $hotspot_tooltip_display );
}
$extraClass = ! empty( $hotspot_mobile ) ? ' av-mobile-fallback-active ' : '';
$extraClass .= ! empty( $hotspot_tooltip_display ) ? " {$hotspot_tooltip_display}-single " : '';
$hotspot_html .= $this->add_hotspot( $hotspot, $counter, $extraClass, $hotspot_tooltip_display );
$counter ++;
}
$hw = '';
if( ! empty( $img_h ) )
{
$hw .= ' height="' . $img_h . '"';
}
if( ! empty( $img_w ) )
{
$hw .= ' width="' . $img_w . '"';
}
$markup_img = avia_markup_helper( array( 'context' => 'image', 'echo' => false, 'custom_markup' => $meta['custom_markup'] ) );
$markup_url = avia_markup_helper( array( 'context' => 'image_url', 'echo' => false, 'custom_markup' => $meta['custom_markup'] ) );
$el_id = ShortcodeHelper::is_top_level() ? '' : $meta['custom_el_id'];
$img_tag = " ";
$img_tag = Av_Responsive_Images()->prepare_single_image( $img_tag, $attachment_id, $lazy_loading );
$style_tag = $element_styling->get_style_tag( $element_id );
$item_tag = $element_styling->style_tag_html( $this->subitem_inline_styles, 'sub-' . $element_id );
$container_class = $element_styling->get_class_string( 'container' );
$output .= $style_tag;
$output .= $item_tag;
$output .= "';
}
$output = Av_Responsive_Images()->make_content_images_responsive( $output );
$this->subitem_inline_styles = '';
if( ! ShortcodeHelper::is_top_level() )
{
return $output;
}
$skipSecond = false;
$params['class'] = "main_color av-fullwidth-hotspots {$meta['el_class']} {$av_display_classes}";
$params['open_structure'] = false;
$params['id'] = AviaHelper::save_string( $meta['custom_id_val'] , '-', 'av-sc-img-hotspot-' . avia_sc_image_hotspots::$img_hotspot_count );
$params['custom_markup'] = $meta['custom_markup'];
//we don't need a closing structure if the element is the first one or if a previous fullwidth element was displayed before
if( $meta['index'] == 0 )
{
$params['close'] = false;
}
if( ! empty( $meta['siblings']['prev']['tag'] ) && in_array( $meta['siblings']['prev']['tag'], AviaBuilder::$full_el_no_section ) )
{
$params['close'] = false;
}
$section = avia_new_section( $params );
$section .= $output;
$section .= ''; //close section
//if the next tag is a section dont create a new section from this shortcode
if( ! empty( $meta['siblings']['next']['tag'] ) && in_array( $meta['siblings']['next']['tag'], AviaBuilder::$full_el ) )
{
$skipSecond = true;
}
//if there is no next element dont create a new section.
if( empty( $meta['siblings']['next']['tag'] ) )
{
$skipSecond = true;
}
if( empty( $skipSecond ) )
{
$section .= avia_new_section( array( 'close' => false, 'id' => 'after_image_hotspots' ) );
}
return $section;
}
/**
*
* @since < 4.0
* @param array $hotspot
* @param int $counter
* @param string $extraClass
* @param string $hotspot_tooltip_display
* @return string
*/
protected function add_hotspot( array $hotspot, $counter, $extraClass = '', $hotspot_tooltip_display = '' )
{
// init parameters for normal shortcode handler
$atts = $hotspot['attr'];
$content = $hotspot['content'];
$shortcodename = $this->config['shortcode_nested'][0];
$result = $this->get_element_styles_item( compact( array( 'atts', 'content', 'shortcodename' ) ) );
extract( $result );
extract( $atts );
// prepare content for data attribute
$content = esc_attr( ShortcodeHelper::avia_apply_autop( ShortcodeHelper::avia_remove_autop( $content ) ) );
$tags = array( 'div', 'div' );
if( ! empty( $link ) )
{
$link = AviaHelper::get_url( $link, false );
$blank = AviaHelper::get_link_target( $link_target );
$tags = array( "a href={$link} {$blank}", 'a' );
}
$layout = explode( ' ', $tooltip_pos );
$data_pos = isset( $layout[0] ) ? str_replace( 'av-tt-pos-', '', $layout[0] ) : 'top';
$data_align = isset( $layout[1] ) ? str_replace( 'av-tt-align-', '', $layout[1] ) : 'centered';
switch( $data_pos )
{
case 'above':
$data_pos = 'top';
break;
case 'below':
$data_pos = 'bottom';
break;
}
$this->subitem_inline_styles .= $element_styling->get_style_tag( $element_id, 'rules_only' );
$container_class = $element_styling->get_class_string( 'container' );
$output .= "';
return $output;
}
/**
*
* @param array $hotspot
* @param int $counter
* @param string $hotspot_tooltip_display
* @return string
*/
protected function add_fallback_tooltip( $hotspot, $counter, $hotspot_tooltip_display = '' )
{
$content = $hotspot['content'];
if( empty( $content ) )
{
return;
}
$output = '';
$output .= "';
return $output;
}
}
}
میزان مصرف کتراک
بروزرسانی شده در تاریخ: ۳۰ خرداد ,۱۳۹۸
میزان مصرف کتراک
میزان مصرف و روش مصرف:
ابتدا سنگ یا بتن مورد نظر را با مته با شماره ۴۰،۵۰ یا ۶۰ سوراخ نموده سپس هر کیسه ی ۲۰ کیلوگرمی از “تخریب کننده بتن کلینیک فنی و تخصصی بتن ایران” را با ۵ تا ۶ لیتر آب مخلوط نموده و ملات به دست آمده را ظرف مدت ۵ تا ۱۰ دقیقه درون سوراخها پر می کنیم
در شرایط عادی پس از گذشت ۵ تا ۶ ساعت تخریبی کامل ایجاد میگردد.
میزان مصرف کتراک
چگونگی استفاده از کتراک
کتراک را به نسبت ۳ کیلو با ۱ لیتر آب مخلوط کرده و کامل هم زده شود تا مخلوطی یکدست شود.
۱- نسبت اختلاط کتراک با آب حدود ۳ کیلو به ۱ لیتر اب می باشد
۲- اختلاط می بایست در ظروف پلاستیکی تمیز صورت گیرد.
۳- آب مورد نظر بایستی اب معمولی باشد.
۴- درجه حرارت آب برای اختلاط می بایست بین ۱۵ تا ۴۰ درجه سانتی گراد باشد.
سپس بلافاصله دوغاب را به مقدار معین تا ۹۵% ارتفاع چال پر کنید.
سپس سر چال ها را با گوه چوبی ببندید و خوب بکوبید.
تنها دلیل استفاده از گوه های چوبی برای جلوگیری از پاشیده شدن کتراک به بیرون از سوراخ خا میباشد و تاثیری در قدرت و عملکرد کتراک ندارد.
فعل و انفعالات شیمیایی کتراک از همان لحظه مخلوط کردن و ریختن درون چالها شروع میشود و گوه های چوبی به بیرون رانده مشود و دلیلی ندارد شما مجدد آنها را بکوبید
با توجه به نوع کتراک مصرفی و نوع کار شما از نظر سختی در صورت استفاده کردن از کتراک ۳۰ دقیقه ای بعد ۱۰ تا ۳۰ دقیقه ,در صورت استفاده از کتراک ۲ ساعته بین ۱ تا ۲ ساعت و در صورت استفاده از کتراک ۲۴ ساعته بین ۸ تا ۲۴ ساعت عمل شکستن انجام میشود.
میزان مصرف کتراک
میزان مصرف کتراک
بصورت کلی برای سنگ ,بتن بدون الماتور و ساروج در صورتی که دور آن باز باشد در هر متر مکعب بین ۷ تا ۱۵ کیلو مصرف میشود
در صورتی که دور کار بسته باشد یا در خاک مدفون باشد برای هر متر مکعب بین ۲۰ تا ۵۰ کیلو بسته به لوازم حفاری و فضای کار کتراک مصرف میشود
برای بتن مسلح نیز برای هر متر مکعب بسته به شرایط الماتور و فضای کار بین ۲۵ تا ۵۰ کیلو کتراک مصرف میشود.
خرداد 30, 1398 / توسط admin
https://cutrock.ir/wp-content/uploads/2019/05/1037940775231001B.gif
400
400
admin
https://cutrock.ir/wp-content/uploads/2020/07/logo.jpg
admin 2019-06-20 08:53:25 2019-06-20 08:53:25 میزان مصرف کتراک
© کپی رایت -کتراک طراحی و سئو: توسط نت افزار
مشخصات محصول کتراک شیوه نوین تخریب با کتراک
رفتن به بالا