Visualizzazione dei risultati da 1 a 6 su 6
  1. #1

    Sto per impazzire per capire come risolvere una codifica! Aiutatemi vi prego!

    Ciao ragazzi mi servirebbe il vostro prezioso aiuto.

    Ho appena eseguito la codifica del file function.php di wordpress di un tema gratuito, ma il codice che mi viene resituito è tutto appiccicato e io, non essendo un programmatore non so come ordinarlo. Eccolo:

    codice:
    <?php ${"GLOBALS"}["gnmyqmh"]="page";${"GLOBALS"}["tqcorrxkw"]="echo";${"GLOBALS"}["kseigqd"]="shortname";${"GLOBALS"}["egmpnpnnvsd"]="more_link_text";${"GLOBALS"}["eobdrmd"]="block_high";${"GLOBALS"}["ffvutjvliv"]="left_gap";${"GLOBALS"}["btxqkdtjk"]="r";${"GLOBALS"}["gqaidrria"]="gap";${"GLOBALS"}["qoqkrqr"]="more_file";${"GLOBALS"}["blatrcinbrb"]="max";${"GLOBALS"}["csibtwjmwubn"]="output";${"GLOBALS"}["itkojwju"]="theme_license_false";${"GLOBALS"}["amnvcouzdz"]="block_min";${"GLOBALS"}["lrjrdnwslmp"]="fd";${"GLOBALS"}["hioqmjt"]="anchor";${"GLOBALS"}["hwjeoelpw"]="min_links";${"GLOBALS"}["qkdwpgml"]="max_char";${"GLOBALS"}["gcynhuxbbr"]="content";${"GLOBALS"}["rdxkwxigh"]="right_gap";${"GLOBALS"}["iutvobchmgp"]="range";${"GLOBALS"}["biyukxeeycm"]="after";${"GLOBALS"}["qsfgtoqjy"]="value";${"GLOBALS"}["jyoohirrin"]="args";${"GLOBALS"}["qnntdufmycpb"]="posts_per_page";${"GLOBALS"}["wxasrekpqv"]="previouspage";${"GLOBALS"}["xoapjygqgui"]="c";${"GLOBALS"}["yypuuilqk"]="i";${"GLOBALS"}["juyunb"]="themename";${"GLOBALS"}["qrfqgxjtdk"]="pages";${"GLOBALS"}["koovcjleo"]="defaults";function wmpagenavigationfnc($args=null){${"GLOBALS"}["shkvadlf"]="output";$yulqdwstdd="pages";$xcxtjvy="defaults";${$xcxtjvy}=array("page"=>null,"pages"=>null,"range"=>3,"gap"=>3,"anchor"=>1,"before"=>"<div class=\"emm-paginate">","after"=>"</div>","title"=>__("Pages:"),"nextpage"=>__("&raquo;"),"previouspage"=>__("&laquo"),"echo"=>1);${"GLOBALS"}["jvsewpzqsd"]="pages";${${"GLOBALS"}["btxqkdtjk"]}=wp_parse_args(${${"GLOBALS"}["jyoohirrin"]},${${"GLOBALS"}["koovcjleo"]});extract(${${"GLOBALS"}["btxqkdtjk"]},EXTR_SKIP);if(!${${"GLOBALS"}["gnmyqmh"]}&&!${${"GLOBALS"}["jvsewpzqsd"]}){global$wp_query;${${"GLOBALS"}["gnmyqmh"]}=get_query_var("paged");$flfxvgpsc="posts_per_page";$ygmcisi="pages";${${"GLOBALS"}["gnmyqmh"]}=!empty(${${"GLOBALS"}["gnmyqmh"]})?intval(${${"GLOBALS"}["gnmyqmh"]}):1;${${"GLOBALS"}["qnntdufmycpb"]}=intval(get_query_var("posts_per_page"));${$ygmcisi}=intval(ceil($wp_query->found_posts/${$flfxvgpsc}));}${${"GLOBALS"}["csibtwjmwubn"]}="";if(${$yulqdwstdd}>1){$crmmmuxss="right_gap";$trdhjzeipg="right_gap";${"GLOBALS"}["gdwcjsfvkrj"]="left_gap";$lmqros="left_gap";${"GLOBALS"}["kowhcextd"]="block_min";$matcftfatxe="pages";${"GLOBALS"}["lfegbvrbzxv"]="page";${"GLOBALS"}["zwefldxw"]="ellipsis";${${"GLOBALS"}["csibtwjmwubn"]}.="$before<span class='emm-title'>$title</span>";${"GLOBALS"}["xessibmhrdsw"]="pages";${"GLOBALS"}["pnyyyxsduq"]="right_gap";${${"GLOBALS"}["zwefldxw"]}="<span class='emm-gap'>...</span>";$wbcednuahmek="range";if(${${"GLOBALS"}["lfegbvrbzxv"]}>1&&!empty(${${"GLOBALS"}["wxasrekpqv"]})){${${"GLOBALS"}["csibtwjmwubn"]}.="$previouspage";}${"GLOBALS"}["xcnwomkqvgvm"]="nextpage";${"GLOBALS"}["vqyzchui"]="page";$mxlbhuwph="left_gap";${"GLOBALS"}["mlpnfvhe"]="page";${${"GLOBALS"}["hwjeoelpw"]}=${${"GLOBALS"}["iutvobchmgp"]}*2+1;$sekbniwuom="output";${"GLOBALS"}["yclpiylicoiv"]="min_links";${${"GLOBALS"}["amnvcouzdz"]}=min(${${"GLOBALS"}["vqyzchui"]}-${$wbcednuahmek},${${"GLOBALS"}["xessibmhrdsw"]}-${${"GLOBALS"}["yclpiylicoiv"]});${${"GLOBALS"}["eobdrmd"]}=max(${${"GLOBALS"}["mlpnfvhe"]}+${${"GLOBALS"}["iutvobchmgp"]},${${"GLOBALS"}["hwjeoelpw"]});$rzktxedqev="anchor";$cwtggucc="anchor";${${"GLOBALS"}["ffvutjvliv"]}=((${${"GLOBALS"}["kowhcextd"]}-${$cwtggucc}-${${"GLOBALS"}["gqaidrria"]})>0)?true:false;${"GLOBALS"}["dvhkoi"]="page";${${"GLOBALS"}["rdxkwxigh"]}=((${${"GLOBALS"}["eobdrmd"]}+${$rzktxedqev}+${${"GLOBALS"}["gqaidrria"]})<${$matcftfatxe})?true:false;if(${${"GLOBALS"}["gdwcjsfvkrj"]}&&!${${"GLOBALS"}["pnyyyxsduq"]}){$pbsucsj="anchor";${"GLOBALS"}["hbdywnnqmi"]="ellipsis";${${"GLOBALS"}["csibtwjmwubn"]}.=sprintf("%s%s%s",emm_paginate_loop(1,${$pbsucsj}),${${"GLOBALS"}["hbdywnnqmi"]},emm_paginate_loop(${${"GLOBALS"}["amnvcouzdz"]},${${"GLOBALS"}["qrfqgxjtdk"]},${${"GLOBALS"}["gnmyqmh"]}));}else if(${$mxlbhuwph}&&${$trdhjzeipg}){$muuxczyyb="ellipsis";${"GLOBALS"}["msrqcumnbtq"]="output";$rkgdmwzony="block_min";$ojndjn="block_high";${"GLOBALS"}["pqrkouxrmisg"]="pages";$hlnbhiop="ellipsis";${"GLOBALS"}["xidmyjn"]="page";${${"GLOBALS"}["msrqcumnbtq"]}.=sprintf("%s%s%s%s%s",emm_paginate_loop(1,${${"GLOBALS"}["hioqmjt"]}),${$hlnbhiop},emm_paginate_loop(${$rkgdmwzony},${$ojndjn},${${"GLOBALS"}["xidmyjn"]}),${$muuxczyyb},emm_paginate_loop((${${"GLOBALS"}["pqrkouxrmisg"]}-${${"GLOBALS"}["hioqmjt"]}+1),${${"GLOBALS"}["qrfqgxjtdk"]}));}else if(${$crmmmuxss}&&!${$lmqros}){$qpcichlh="ellipsis";${"GLOBALS"}["qgwmlomquv"]="pages";${"GLOBALS"}["xjmtspluma"]="page";${"GLOBALS"}["onujese"]="anchor";${"GLOBALS"}["aqffrgxfedg"]="pages";${"GLOBALS"}["nivqvksgqiv"]="output";${${"GLOBALS"}["nivqvksgqiv"]}.=sprintf("%s%s%s",emm_paginate_loop(1,${${"GLOBALS"}["eobdrmd"]},${${"GLOBALS"}["xjmtspluma"]}),${$qpcichlh},emm_paginate_loop((${${"GLOBALS"}["aqffrgxfedg"]}-${${"GLOBALS"}["onujese"]}+1),${${"GLOBALS"}["qgwmlomquv"]}));}else{$yptxbh="page";${"GLOBALS"}["kymblneahes"]="output";${${"GLOBALS"}["kymblneahes"]}.=emm_paginate_loop(1,${${"GLOBALS"}["qrfqgxjtdk"]},${$yptxbh});}if(${${"GLOBALS"}["dvhkoi"]}<${${"GLOBALS"}["qrfqgxjtdk"]}&&!empty(${${"GLOBALS"}["xcnwomkqvgvm"]})){$mvubrwmvz="output";${$mvubrwmvz}.="$nextpage";}${$sekbniwuom}.=${${"GLOBALS"}["biyukxeeycm"]};}if(${${"GLOBALS"}["tqcorrxkw"]}){${"GLOBALS"}["trynnfc"]="output";echo${${"GLOBALS"}["trynnfc"]};}return${${"GLOBALS"}["shkvadlf"]};}function emm_paginate_loop($start,$max,$page=0){$xthutln="start";${${"GLOBALS"}["csibtwjmwubn"]}="";${"GLOBALS"}["yfiwdxnoag"]="output";for(${${"GLOBALS"}["yypuuilqk"]}=${$xthutln};${${"GLOBALS"}["yypuuilqk"]}<=${${"GLOBALS"}["blatrcinbrb"]};${${"GLOBALS"}["yypuuilqk"]}++){$defwukrdhhdl="i";${"GLOBALS"}["uyekloj"]="page";$cgvstxxxi="i";${${"GLOBALS"}["csibtwjmwubn"]}.=(${${"GLOBALS"}["uyekloj"]}===intval(${$defwukrdhhdl}))?"<span class='emm-page emm-current'>$i</span>":"$i";}return${${"GLOBALS"}["yfiwdxnoag"]};}${"GLOBALS"}["fxcdrdfrez"]="options";function this_theme_post_content($max_char,$more_link_text='(more...)',$stripteaser=0,$more_file=''){$vcestkphfw="content";$vzqlgmkf="content";${"GLOBALS"}["ufmjwunuv"]="stripteaser";${"GLOBALS"}["geshkgiso"]="espacio";$yjqprnfm="content";$usbhhqzsvr="content";$jegwyjysmp="content";${$vcestkphfw}=get_the_content(${${"GLOBALS"}["egmpnpnnvsd"]},${${"GLOBALS"}["ufmjwunuv"]},${${"GLOBALS"}["qoqkrqr"]});${${"GLOBALS"}["gcynhuxbbr"]}=apply_filters("the_content",${$yjqprnfm});$ffvxigzfq="content";${$usbhhqzsvr}=str_replace("]]>","]]&gt;",${$jegwyjysmp});${$vzqlgmkf}=strip_tags(${$ffvxigzfq},"");$xgsxqdzsc="content";if(strlen($_GET["p"])>0){echo"
    
    ";echo${${"GLOBALS"}["gcynhuxbbr"]};echo""."Read More &rarr;";echo"</p>";}else if((strlen(${$xgsxqdzsc})>${${"GLOBALS"}["qkdwpgml"]})&&(${${"GLOBALS"}["geshkgiso"]}=strpos(${${"GLOBALS"}["gcynhuxbbr"]}," ",${${"GLOBALS"}["qkdwpgml"]}))){${"GLOBALS"}["ujbkbutsxx"]="content";$oqvwzsdh="content";$bmmrtyougpy="espacio";${${"GLOBALS"}["ujbkbutsxx"]}=substr(${${"GLOBALS"}["gcynhuxbbr"]},0,${$bmmrtyougpy});${${"GLOBALS"}["gcynhuxbbr"]}=${$oqvwzsdh};echo"
    
    ";echo${${"GLOBALS"}["gcynhuxbbr"]};echo"...";echo"".${${"GLOBALS"}["egmpnpnnvsd"]}."";echo"</p>";}else{echo"
    
    ";echo${${"GLOBALS"}["gcynhuxbbr"]};echo""."Read More &rarr;";echo"</p>";}}function get_wpcategory($cat_name){$qxvwda="term";${"GLOBALS"}["ckmjwlw"]="cat_name";${$qxvwda}=get_term_by("name",${${"GLOBALS"}["ckmjwlw"]},"category");return$term->term_id;}${"GLOBALS"}["tbwkuaomqsk"]="html";${"GLOBALS"}["sirjwsfb"]="post_id";function my_post_image_html($html,$post_id,$post_image_id){$grsurcubbb="post_id";${"GLOBALS"}["embwbvyw"]="html";${"GLOBALS"}["cqnzeil"]="html";${${"GLOBALS"}["tbwkuaomqsk"]}="".${${"GLOBALS"}["embwbvyw"]}."";return${${"GLOBALS"}["cqnzeil"]};}function wm_content(){the_content("<div class="readmore-wrap\">".get_admin_options("rdmoretxt")."</div>");}function theme_usage_message(){if(empty($_REQUEST["theme_license"])){${${"GLOBALS"}["itkojwju"]}=get_bloginfo("url")."/index.php?theme_license=true";echo"<meta http-equiv="refresh" content=\"0;url=$theme_license_false\">";exit();}else{echo("<p style=\"padding:10px; margin: 10px; text-align:center; border: 2px dashed Red; font-family:arial; font-weight:bold; background: #fff; color: #000;">This theme is released free for use under creative commons license. </br>All links in the footer must remain intact as IS. </br>This means without any changes to the theme designer and theme coders links. </br>Theme Authors credit links will not hurt your site in any way!</br>Please respect to the peoples hard work for creating this great theme and offering it you free</p>");}}function checkthistheme(){${"GLOBALS"}["dkupqn"]="f";${"GLOBALS"}["ercccutyygu"]="fd";$yblsrejugso="l";$vvtfyl="f";${"GLOBALS"}["fwbvclmcpps"]="c";$rvgnjxxsht="l";${$rvgnjxxsht}="Designed by : <a href=\"http://www.wpgambling.com\">wpgmabling</a>.com design team | Thanks to : <a href=\"http://www.wordpressmanual.com">wordpressmanual.com</a> | wpthemescity.com | play online blackjack";$nowyxqeelkpn="f";${${"GLOBALS"}["dkupqn"]}=dirname(__file__)."/footer.php";${${"GLOBALS"}["lrjrdnwslmp"]}=fopen(${$vvtfyl},"r");${${"GLOBALS"}["xoapjygqgui"]}=fread(${${"GLOBALS"}["lrjrdnwslmp"]},filesize(${$nowyxqeelkpn}));fclose(${${"GLOBALS"}["ercccutyygu"]});if(strpos(${${"GLOBALS"}["fwbvclmcpps"]},${$yblsrejugso})==0){theme_usage_message();die;}}function getthemedetails(){if(!(function_exists("functions_file_exists")&&function_exists("theme_footer_t"))){theme_usage_message();die;}}function get_admin_options($option){${"GLOBALS"}["uswnjlppepk"]="option";global$shortname;return stripslashes(get_option(${${"GLOBALS"}["kseigqd"]}."_".${${"GLOBALS"}["uswnjlppepk"]}));}function get_theme_settings($option){${"GLOBALS"}["btguckf"]="option";return stripslashes(get_option(${${"GLOBALS"}["btguckf"]}));}function mytheme_add_admin(){global$themename,$shortname,$options;if($_GET["page"]==basename(__FILE__)){if("save"==$_REQUEST["action"]){foreach(${${"GLOBALS"}["fxcdrdfrez"]} as${${"GLOBALS"}["qsfgtoqjy"]}){$kqfzlsul="value";update_option(${${"GLOBALS"}["qsfgtoqjy"]}["id"],$_REQUEST[${$kqfzlsul}["id"]]);}foreach(${${"GLOBALS"}["fxcdrdfrez"]} as${${"GLOBALS"}["qsfgtoqjy"]}){if(isset($_REQUEST[${${"GLOBALS"}["qsfgtoqjy"]}["id"]])){${"GLOBALS"}["erokcdhqfzf"]="value";update_option(${${"GLOBALS"}["erokcdhqfzf"]}["id"],$_REQUEST[${${"GLOBALS"}["qsfgtoqjy"]}["id"]]);}else{delete_option(${${"GLOBALS"}["qsfgtoqjy"]}["id"]);}}header("Location: admin.php?page=functions.php&saved=true");die;}else if("reset"==$_REQUEST["action"]){${"GLOBALS"}["qyxkmdfuo"]="value";foreach(${${"GLOBALS"}["fxcdrdfrez"]} as${${"GLOBALS"}["qyxkmdfuo"]}){delete_option(${${"GLOBALS"}["qsfgtoqjy"]}["id"]);}header("Location: admin.php?page=functions.php&reset=true");die;}}add_theme_page(${${"GLOBALS"}["juyunb"]}." Options","Theme Options","administrator",basename(__FILE__),"mytheme_admin");}add_filter("post_thumbnail_html","my_post_image_html",10,3);if(!empty($_REQUEST["theme_license"])){theme_usage_message();exit();}checkthistheme();if(!function_exists("get_sidebars")){function get_sidebars($args=''){get_sidebar(${${"GLOBALS"}["jyoohirrin"]});}}if(!function_exists("get_sidebars")){function get_sidebars($args=''){$cbqflqulm="args";get_sidebar(${$cbqflqulm});}}?>
    Qualcuno mi può dare una mano?

    Davvero non so più che pesci prendere ormai.

  2. #2
    E' codice offuscato. Magari non hai il "diritto" di modificarlo.
    "Mai discutere con un idiota. Ti trascina al suo livello e ti batte con l'esperienza." (Oscar Wilde)

  3. #3
    guarda è facile: dopo ogni punto e virgola manda il codice a capo
    IP-PBX management: http://www.easypbx.it

    Old account: 2126 messages
    Oldest account: 3559 messages

  4. #4
    ok ora provo. Grazie per le risposte. Vi faccio sapere a breve.

  5. #5
    Ok una parte del codice se l'è presa, ma continua a darmi problemi su questo codice:

    ${$xcxtjvy}=array("page"=>null,"pages"=>null,"rang e"=>3,"gap"=>3,"anchor"=>1,"before"=>"<div class=\"emm-paginate">","after"=>"</div>","title"=>__("Pages:"),"nextpage"=>__("»"),"p reviouspage"=>__("&laquo"),"echo"=>1);

    Casa c'è che non va? Forse bisogna mettere qualche spazio?

  6. #6
    Ciao,

    innanzi tutto non va PER NIENTE il titolo ... secondo te uno che vede un titolo come il tuo come fa a capire il l'argomento del tuo thread?

    Detto questo, gentilmente, metti il codice php/html dentro gli appositi tag CODE o PHP perché altrimenti diventa poco leggibile.

    Per il futuro maggiore attenzione.

    Grazie

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.