- Jul 25, 2018
- 12,058
- 22,063
- 120
if ( $quantity == 'yes' && $job_amount_max > 1 ) {
$is_price_type = false;
if ( get_post_meta( $pid, 'price_type', true ) && get_post_meta( $pid, 'price_type', true ) != 'fixed' ) {
$is_price_type = true;
} ?>
<li class="main_li_nopad">
<label class="main_amount_box">
<?php if ( $is_price_type ) { ?>
<span><?php echo sprintf( __( '%s Rate', 'wpjobster' ), ucfirst( wpjobster_translate_string( get_post_meta( $pid, 'price_type', true ) ) ) ); ?></span>
<?php } else { ?>
<span><?php _e( 'Job Quantity', 'wpjobster' ); ?></span>
<?php } ?>
<span class="extra-price-inside"><?php echo wpjobster_get_show_price($prc); ?></span>
<?php if ( ! $is_price_type ) { echo '<br>'; } ?>
<?php if ( $quantity == 'yes' ) {
if ( $is_price_type ) { ?>
<br /><span class="sn-job-rate-text"><?php echo __( 'Number of', 'wpjobster' ) . ' ' . ucfirst( wpjobster_translate_string( wpj_change_rate_word( get_post_meta( $pid, 'price_type', true ), 'plural' ) ) ) . ':'; ?></span>
<?php } ?>
<span class="amount_section" <?php if ( $is_price_type ) { echo 'style="margin-top: 5px;"'; } ?>>
<a href="#" class="amount_rmv">−</a>
<input type="text" name="main_value_inp" class="main_value_inp current_amount main_amount" data-max="<?php echo $job_amount_max; ?>" value="1">
<a href="#" class="amount_add">+</a>
</span>
<?php } ?>
</label>
</li>
<?php }
Should I remove this code from the theme?Code:if ( $quantity == 'yes' && $job_amount_max > 1 ) { $is_price_type = false; if ( get_post_meta( $pid, 'price_type', true ) && get_post_meta( $pid, 'price_type', true ) != 'fixed' ) { $is_price_type = true; } ?> <li class="main_li_nopad"> <label class="main_amount_box"> <?php if ( $is_price_type ) { ?> <span><?php echo sprintf( __( '%s Rate', 'wpjobster' ), ucfirst( wpjobster_translate_string( get_post_meta( $pid, 'price_type', true ) ) ) ); ?></span> <?php } else { ?> <span><?php _e( 'Job Quantity', 'wpjobster' ); ?></span> <?php } ?> <span class="extra-price-inside"><?php echo wpjobster_get_show_price($prc); ?></span> <?php if ( ! $is_price_type ) { echo '<br>'; } ?> <?php if ( $quantity == 'yes' ) { if ( $is_price_type ) { ?> <br /><span class="sn-job-rate-text"><?php echo __( 'Number of', 'wpjobster' ) . ' ' . ucfirst( wpjobster_translate_string( wpj_change_rate_word( get_post_meta( $pid, 'price_type', true ), 'plural' ) ) ) . ':'; ?></span> <?php } ?> <span class="amount_section" <?php if ( $is_price_type ) { echo 'style="margin-top: 5px;"'; } ?>> <a href="#" class="amount_rmv">−</a> <input type="text" name="main_value_inp" class="main_value_inp current_amount main_amount" data-max="<?php echo $job_amount_max; ?>" value="1"> <a href="#" class="amount_add">+</a> </span> <?php } ?> </label> </li> <?php }
Let me try it. I will get back to you soon!In accordance with php codes. Yes
Love You @NullMaster you helped me a lot. You are just amazing. I added the above code two times, one for the sidebar and one for the order additinal items and it was fixed.or...
$quantity = 'no';
$job_amount_max =0;
if ( $quantity == 'yes' && $job_amount_max > 1 ) {
Hey sir, how it is different from the resource filev5.6.3 nulled.I did not test the plugins.
![]()
18.46 MB file on MEGA
mega.nz
can you please help me with the discount plugin issue? with 5.6.3I made it nulled.
this is nulled. sir.
Where are you hosting it?Any one know original WPJobster script used RECURSION..?
I download from our BABIATO source it's block on my hosting provider. They said it's contain recursion in an argument, header or in the URI.
Help..!
Thanks in advance to Babiato and Members.
i dont no if it just me or everyone else but i cant make charges on the theme.. please i need a fix![]()
I took this issue with hosting provide they solve issue.
Please advise how to identified backdoor and sql injection into plugin and theme.
Thanks