Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/accelera.../pagebuil.../modules
File: pricing-mod-module.php
<?php
[0] Fix | Delete
// Exit if accessed directly.
[1] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) exit;
[2] Fix | Delete
$output = '
[3] Fix | Delete
<div {{if_id}}id="{{id}}"{{ifend_id}} class="ln-fx {{user_class}}">{{repeater}}</div>';
[4] Fix | Delete
$css = '
[5] Fix | Delete
{{if_condition_pricing_layout_type==1}}
[6] Fix | Delete
.pricing-mod{margin:{{margin_css}};padding:{{padding_css}};}
[7] Fix | Delete
{{module-class}} .ln-fx{width:100%;display:inline-flex; display: flex;flex-wrap: wrap;}
[8] Fix | Delete
.pri-mod{display: flex;flex-direction: column;flex: 1 0 25%;text-align:center;background:#f4f4f4;position:relative;padding:30px 50px;margin:0 10px;overflow: hidden;}
[9] Fix | Delete
.pri-mod .pri-tlt{font-size: 20px;font-weight: 400;margin-bottom:10px;}
[10] Fix | Delete
.pri-mod span{display:block;}
[11] Fix | Delete
.pri-lbl{font-size: 45px;font-weight: 500;}
[12] Fix | Delete
.pri-desc{font-size: 12px;color: #666;margin-top: 5px;}
[13] Fix | Delete
.pri-mod .btn-txt{background:{{btn_bg_color}};color: {{font_color_picker}};padding: 10px 30px;display: block;margin: 24px auto 0 auto;}
[14] Fix | Delete
.pri-recom{font-size: 11px;position: absolute;right: 0;top: 0px;display: block;font-weight: 700;height: 32px;line-height: 32px;color: #fff;z-index: 1;min-width: 80px;transform: rotate(45deg) translate(23%,57%);}
[15] Fix | Delete
.pri-recom:after{content: "";position: absolute;border-bottom: 32px solid #2cbf55;border-left: 32px solid transparent;border-right: 32px solid transparent;height: 0;width: 188%;z-index: -1;left: -47%;}
[16] Fix | Delete
.pri-cnt{color: #444;margin-top: 25px;font-size: 14px;}
[17] Fix | Delete
.pricing-mod .pri-cnt p{margin-bottom:10px;}
[18] Fix | Delete
.feature-pri{top: -30px;}
[19] Fix | Delete
@media(max-width:768px){
[20] Fix | Delete
.pri-mod{flex:1 0 100%;margin:0px 0px 20px 0px;}
[21] Fix | Delete
.feature-pri{top:0;}
[22] Fix | Delete
}
[23] Fix | Delete
{{ifend_condition_pricing_layout_type_1}}
[24] Fix | Delete
[25] Fix | Delete
';
[26] Fix | Delete
if( ampforwp_get_setting('amp-design-selector') != 4 ) {
[27] Fix | Delete
$css .= '@media(max-width:768px){
[28] Fix | Delete
.pri-mod{flex:100%;margin:0px 0px 20px 0px;}
[29] Fix | Delete
}';
[30] Fix | Delete
}
[31] Fix | Delete
return array(
[32] Fix | Delete
'label' =>'Pricing',
[33] Fix | Delete
'name' =>'pricing-mod',
[34] Fix | Delete
'default_tab'=> 'customizer',
[35] Fix | Delete
'tabs' => array(
[36] Fix | Delete
'customizer'=>'Content',
[37] Fix | Delete
'layouts'=> 'Layouts',
[38] Fix | Delete
'design'=>'Design',
[39] Fix | Delete
'advanced' => 'Advanced'
[40] Fix | Delete
),
[41] Fix | Delete
'fields' => array(
[42] Fix | Delete
array(
[43] Fix | Delete
'type' =>'layout-image-picker',
[44] Fix | Delete
'name' =>"pricing_layout_type",
[45] Fix | Delete
'label' =>"Select Layout",
[46] Fix | Delete
'tab' =>'layouts',
[47] Fix | Delete
'default' =>'1',
[48] Fix | Delete
'options_details'=>array(
[49] Fix | Delete
array(
[50] Fix | Delete
'value'=>'1',
[51] Fix | Delete
'label'=>'',
[52] Fix | Delete
'demo_image'=> AMPFORWP_PLUGIN_DIR_URI.'/images/pricing-mod-1.png'
[53] Fix | Delete
),
[54] Fix | Delete
),
[55] Fix | Delete
'content_type'=>'html',
[56] Fix | Delete
),
[57] Fix | Delete
[58] Fix | Delete
array(
[59] Fix | Delete
'type' =>'color-picker',
[60] Fix | Delete
'name' =>"font_color_picker",
[61] Fix | Delete
'label' =>'Button Text',
[62] Fix | Delete
'tab' =>'design',
[63] Fix | Delete
'default' =>'#fff',
[64] Fix | Delete
'content_type'=>'css'
[65] Fix | Delete
),
[66] Fix | Delete
array(
[67] Fix | Delete
'type' =>'color-picker',
[68] Fix | Delete
'name' =>"btn_bg_color",
[69] Fix | Delete
'label' =>'Button Background',
[70] Fix | Delete
'tab' =>'design',
[71] Fix | Delete
'default' =>'#333',
[72] Fix | Delete
'content_type'=>'css'
[73] Fix | Delete
),
[74] Fix | Delete
array(
[75] Fix | Delete
'type' =>'text',
[76] Fix | Delete
'name' =>"id",
[77] Fix | Delete
'label' =>'ID',
[78] Fix | Delete
'tab' =>'advanced',
[79] Fix | Delete
'default' =>'',
[80] Fix | Delete
'content_type'=>'html'
[81] Fix | Delete
),
[82] Fix | Delete
array(
[83] Fix | Delete
'type' =>'text',
[84] Fix | Delete
'name' =>"user_class",
[85] Fix | Delete
'label' =>'Class',
[86] Fix | Delete
'tab' =>'advanced',
[87] Fix | Delete
'default' =>'',
[88] Fix | Delete
'content_type'=>'html'
[89] Fix | Delete
),
[90] Fix | Delete
array(
[91] Fix | Delete
'type' =>'spacing',
[92] Fix | Delete
'name' =>"margin_css",
[93] Fix | Delete
'label' =>'Margin',
[94] Fix | Delete
'tab' =>'advanced',
[95] Fix | Delete
'default' =>
[96] Fix | Delete
array(
[97] Fix | Delete
'top'=>'20px',
[98] Fix | Delete
'right'=>'0px',
[99] Fix | Delete
'bottom'=>'20px',
[100] Fix | Delete
'left'=>'0px',
[101] Fix | Delete
),
[102] Fix | Delete
'content_type'=>'css',
[103] Fix | Delete
),
[104] Fix | Delete
array(
[105] Fix | Delete
'type' =>'spacing',
[106] Fix | Delete
'name' =>"padding_css",
[107] Fix | Delete
'label' =>'Padding',
[108] Fix | Delete
'tab' =>'advanced',
[109] Fix | Delete
'default' =>array(
[110] Fix | Delete
'left'=>'0px',
[111] Fix | Delete
'right'=>'0px',
[112] Fix | Delete
'top'=>'0px',
[113] Fix | Delete
'bottom'=>'0px'
[114] Fix | Delete
),
[115] Fix | Delete
'content_type'=>'css',
[116] Fix | Delete
),
[117] Fix | Delete
[118] Fix | Delete
),
[119] Fix | Delete
'front_template'=> $output,
[120] Fix | Delete
'front_css'=> $css,
[121] Fix | Delete
'front_common_css'=>'',
[122] Fix | Delete
'repeater'=>array(
[123] Fix | Delete
'tab'=>'customizer',
[124] Fix | Delete
'fields'=>array(
[125] Fix | Delete
array(
[126] Fix | Delete
'type' =>'text',
[127] Fix | Delete
'name' =>"content_title",
[128] Fix | Delete
'label' =>'Heading',
[129] Fix | Delete
'tab' =>'customizer',
[130] Fix | Delete
'default' =>'Heading',
[131] Fix | Delete
'content_type'=>'html',
[132] Fix | Delete
),
[133] Fix | Delete
array(
[134] Fix | Delete
'type' =>'text',
[135] Fix | Delete
'name' =>"price_label",
[136] Fix | Delete
'label' =>'Price',
[137] Fix | Delete
'tab' =>'customizer',
[138] Fix | Delete
'default' =>'$0.00',
[139] Fix | Delete
'content_type'=>'html',
[140] Fix | Delete
),
[141] Fix | Delete
array(
[142] Fix | Delete
'type' =>'text',
[143] Fix | Delete
'name' =>"price_desc",
[144] Fix | Delete
'label' =>'Description',
[145] Fix | Delete
'tab' =>'customizer',
[146] Fix | Delete
'default' =>'Price Desc',
[147] Fix | Delete
'content_type'=>'html',
[148] Fix | Delete
),
[149] Fix | Delete
array(
[150] Fix | Delete
'type' =>'text',
[151] Fix | Delete
'name' =>"btn_title",
[152] Fix | Delete
'label' =>'Button',
[153] Fix | Delete
'tab' =>'customizer',
[154] Fix | Delete
'default' =>'Button',
[155] Fix | Delete
'content_type'=>'html',
[156] Fix | Delete
),
[157] Fix | Delete
array(
[158] Fix | Delete
'type' =>'text',
[159] Fix | Delete
'name' =>"btn_link",
[160] Fix | Delete
'label' =>'URL',
[161] Fix | Delete
'tab' =>'customizer',
[162] Fix | Delete
'default' =>'#',
[163] Fix | Delete
'content_type'=>'html',
[164] Fix | Delete
),
[165] Fix | Delete
array(
[166] Fix | Delete
'type' =>'select',
[167] Fix | Delete
'name' =>'page_link_open_price',
[168] Fix | Delete
'label' =>"Open link in",
[169] Fix | Delete
'tab' =>'customizer',
[170] Fix | Delete
'default' =>'new_page',
[171] Fix | Delete
'options_details'=>array(
[172] Fix | Delete
'new_page' =>'New tab',
[173] Fix | Delete
'same_page' =>'Same page'
[174] Fix | Delete
),
[175] Fix | Delete
'content_type'=>'html',
[176] Fix | Delete
),
[177] Fix | Delete
array(
[178] Fix | Delete
'type' =>'checkbox_bool',
[179] Fix | Delete
'name' =>"check_for_nofollow_price",
[180] Fix | Delete
'label' => 'Nofollow Link',
[181] Fix | Delete
'tab' =>'customizer',
[182] Fix | Delete
'default' =>0,
[183] Fix | Delete
'options' =>array(
[184] Fix | Delete
array(
[185] Fix | Delete
'label'=>'Yes',
[186] Fix | Delete
'value'=>1,
[187] Fix | Delete
)
[188] Fix | Delete
),
[189] Fix | Delete
'content_type'=>'html',
[190] Fix | Delete
),
[191] Fix | Delete
array(
[192] Fix | Delete
'type' =>'text-editor',
[193] Fix | Delete
'name' =>"text_desc",
[194] Fix | Delete
'label' =>'Content',
[195] Fix | Delete
'tab' =>'customizer',
[196] Fix | Delete
'default' =>'Content',
[197] Fix | Delete
'content_type'=>'html',
[198] Fix | Delete
),
[199] Fix | Delete
array(
[200] Fix | Delete
'type' =>'text',
[201] Fix | Delete
'name' =>"recommended_text",
[202] Fix | Delete
'label' =>'Recommended Text (Leave Empty to remove)',
[203] Fix | Delete
'tab' =>'customizer',
[204] Fix | Delete
'default' =>'',
[205] Fix | Delete
'content_type'=>'html',
[206] Fix | Delete
),
[207] Fix | Delete
[208] Fix | Delete
),
[209] Fix | Delete
'front_template'=>
[210] Fix | Delete
'{{if_condition_pricing_layout_type==1}}
[211] Fix | Delete
<div class="pri-mod {{if_recommended_text}}feature-pri {{ifend_recommended_text}}">
[212] Fix | Delete
<h4 class="pri-tlt">{{content_title}}</h4>
[213] Fix | Delete
{{if_recommended_text}}<span class="pri-recom">{{recommended_text}}</span>{{ifend_recommended_text}}
[214] Fix | Delete
<span class="pri-lbl">{{price_label}}</span>
[215] Fix | Delete
<span class="pri-desc">{{price_desc}}</span>
[216] Fix | Delete
<a href="{{btn_link}}" {{if_condition_page_link_open_price==new_page}}target="_blank"{{ifend_condition_page_link_open_price_new_page}} {{if_condition_check_for_nofollow_price==1}}rel="nofollow"{{ifend_condition_check_for_nofollow_price_1}} class="btn-txt">{{btn_title}}</a>
[217] Fix | Delete
<div class="pri-cnt">
[218] Fix | Delete
{{text_desc}}
[219] Fix | Delete
</div>
[220] Fix | Delete
</div>
[221] Fix | Delete
{{ifend_condition_pricing_layout_type_1}}
[222] Fix | Delete
'
[223] Fix | Delete
),
[224] Fix | Delete
[225] Fix | Delete
);
[226] Fix | Delete
[227] Fix | Delete
?>
[228] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function