Carlos Figueroa
1
Mi
Verificado
Verificación en dos pasos activada
Verificado por Whatsapp
¡Ha verificado su Paypal!
¡Excelente comerciante!
¡Usuario popular!
Suscripción a IA
echo '
<?php if (in_category(array('1477', '16479', '2160', '16', '3573', '37', '26', '25', '33', '31', '18', '9', '28984', '11', '30', '23')) ) {
echo '<script>
rm_sid = "PEMSros";
rm_artist = (document.title.match(/(.+) - /) || ["",""])[1].replace("Descargar", "");
rm_song = (document.title.match(/ - (.+)/) || ["",""])[1].replace(/\(.+\)/g, "").replace(/ \| (.+)/g, "");
rm_icon_left = "http://i.imgur.com/ijzFvSI.gif";
rm_icon_right = "http://i.imgur.com/52okisN.gif";
if (rm_song) {
rm_text = "Descarga el Ringtone "" + rm_song + "" a tu Movil";
} else if (rm_artist) {
rm_text = "Descarga tonos de " + rm_artist + " a tu Movil";
} else {
rm_text = "Descarga Ringtones a tu Movil";
}
document.write([COLOR=#ff0000]'[/COLOR]<a href="http://www.ringtonematcher.com/go/?sid=[COLOR=#ff0000]'[/COLOR] + rm_sid + [COLOR=#ff0000]'[/COLOR]&artist=[COLOR=#ff0000]'[/COLOR] + encodeURIComponent(rm_artist)+[COLOR=#ff0000]'[/COLOR]&song=[COLOR=#ff0000]'[/COLOR] + encodeURIComponent(rm_song) + [COLOR=#ff0000]'[/COLOR]" target="_blank" rel="nofollow" style="text-decoration: none; font: bold 14px Arial;"><img src="[COLOR=#ff0000]'[/COLOR] + rm_icon_left + [COLOR=#ff0000]'[/COLOR]" style="border-style: none; vertical-align: bottom;" /> <span style="text-decoration: underline; color: #f00;">[COLOR=#ff0000]'[/COLOR] + rm_text + [COLOR=#ff0000]'[/COLOR]</span> <img src="[COLOR=#ff0000]'[/COLOR] + rm_icon_right + [COLOR=#ff0000]'[/COLOR]" style="border-style: none; vertical-align: bottom;" /></a>[COLOR=#ff0000]'[/COLOR]);
</script>';
}
?>
<?php if (in_category(array('1477', '16479', '2160', '16', '3573', '37', '26', '25', '33', '31', '18', '9', '28984', '11', '30', '23')) ) {
echo '<script>
rm_sid = "PEMSros";
rm_artist = (document.title.match(/(.+) - /) || ["",""])[1].replace("Descargar", "");
rm_song = (document.title.match(/ - (.+)/) || ["",""])[1].replace(/\(.+\)/g, "").replace(/ \| (.+)/g, "");
rm_icon_left = "http://i.imgur.com/ijzFvSI.gif";
rm_icon_right = "http://i.imgur.com/52okisN.gif";
if (rm_song) {
rm_text = "Descarga el Ringtone "" + rm_song + "" a tu Movil";
} else if (rm_artist) {
rm_text = "Descarga tonos de " + rm_artist + " a tu Movil";
} else {
rm_text = "Descarga Ringtones a tu Movil";
}
document.write(\'<a href="http://www.ringtonematcher.com/go/?sid=\' + rm_sid + \'&artist=\' + encodeURIComponent(rm_artist)+\'&song=\' + encodeURIComponent(rm_song) + \'" target="_blank" rel="nofollow" style="text-decoration: none; font: bold 14px Arial;"><img src="\' + rm_icon_left + \'" style="border-style: none; vertical-align: bottom;" /> <span style="text-decoration: underline; color: #f00;">\' + rm_text + \'</span> <img src="\' + rm_icon_right + \'" style="border-style: none; vertical-align: bottom;" /></a>\');
</script>';
}
?>
Disculpa, me podrias decir que cambiaste por favor? para tenerlo en cuenta para una proximacopia el siguiente codigo:
HTML:<?php if (in_category(array('1477', '16479', '2160', '16', '3573', '37', '26', '25', '33', '31', '18', '9', '28984', '11', '30', '23')) ) { echo '<script> rm_sid = "PEMSros"; rm_artist = (document.title.match(/(.+) - /) || ["",""])[1].replace("Descargar", ""); rm_song = (document.title.match(/ - (.+)/) || ["",""])[1].replace(/\(.+\)/g, "").replace(/ \| (.+)/g, ""); rm_icon_left = "http://i.imgur.com/ijzFvSI.gif"; rm_icon_right = "http://i.imgur.com/52okisN.gif"; if (rm_song) { rm_text = "Descarga el Ringtone "" + rm_song + "" a tu Movil"; } else if (rm_artist) { rm_text = "Descarga tonos de " + rm_artist + " a tu Movil"; } else { rm_text = "Descarga Ringtones a tu Movil"; } document.write(\'<a href="http://www.ringtonematcher.com/go/?sid=\' + rm_sid + \'&artist=\' + encodeURIComponent(rm_artist)+\'&song=\' + encodeURIComponent(rm_song) + \'" target="_blank" rel="nofollow" style="text-decoration: none; font: bold 14px Arial;"><img src="\' + rm_icon_left + \'" style="border-style: none; vertical-align: bottom;" /> <span style="text-decoration: underline; color: #f00;">\' + rm_text + \'</span> <img src="\' + rm_icon_right + \'" style="border-style: none; vertical-align: bottom;" /></a>\'); </script>'; } ?>
if (rm_song) {
rm_text = "Descarga el Ringtone "" + rm_song + "" a tu Movil";
} else if (rm_artist) {
rm_text = "Descarga tonos de " + rm_artist + " a tu Movil";
} else {
rm_text = "Descarga Ringtones a tu Movil";
}
Pues segun veo comparando al agregar \ desactivas la funcion que hace ese codigo, porque queda de la manera simple que es Descarga Ringtones A Tu Movil y no le agrega la parte del titulo al codigo.solo agrege \ antes de las comillas simples, y las comillas simples esta por debajo de tu código del titulo, revisa bien tu código no tiene nada que ver con lo que edite.
checa esta parte del código, rm_song refiere al titulo, seguro ?
HTML:if (rm_song) { rm_text = "Descarga el Ringtone "" + rm_song + "" a tu Movil"; } else if (rm_artist) { rm_text = "Descarga tonos de " + rm_artist + " a tu Movil"; } else { rm_text = "Descarga Ringtones a tu Movil"; }
<?php if (in_category(array('1477', '16479', '2160', '16', '3573', '37', '26', '25', '33', '31', '18', '9', '28984', '11', '30', '23')) ) {
echo "<script>
rm_sid = 'PEMSros';
rm_artist = (document.title.match(/(.+) - /) || ['',''])[1].replace('Descargar', '');
rm_song = (document.title.match(/ - (.+)/) || ['',''])[1].replace(/\(.+\)/g, '').replace(/ \| (.+)/g, '');
rm_icon_left = 'http://i.imgur.com/ijzFvSI.gif';
rm_icon_right = 'http://i.imgur.com/52okisN.gif';
if (rm_song) {
rm_text = 'Descarga el Ringtone "' + rm_song + '" a tu Movil';
} else if (rm_artist) {
rm_text = 'Descarga tonos de ' + rm_artist + ' a tu Movil';
} else {
rm_text = 'Descarga Ringtones a tu Movil';
}
document.write('<a href=\"http://www.ringtonematcher.com/go/?sid=' + rm_sid + '&artist=' + encodeURIComponent(rm_artist)+'&song=' + encodeURIComponent(rm_song) + '\" target=\"_blank\" rel=\"nofollow\" style=\"text-decoration: none; font: bold 14px Arial;\"><img src=\"' + rm_icon_left + '\" style=\"border-style: none; vertical-align: bottom;\" /> <span style=\"text-decoration: underline; color: #f00;\">' + rm_text + '</span> <img src=\"' + rm_icon_right + '\" style=\"border-style: none; vertical-align: bottom;\" /></a>');
</script>";
}
?>
Pues sigue igual amigo, pero para lo que mas me importaba ya me quedo funcionando, para la categoria en que me salia diferente ya le cambie el texto. Muchas graciasPrueba asi:
HTML:<?php if (in_category(array('1477', '16479', '2160', '16', '3573', '37', '26', '25', '33', '31', '18', '9', '28984', '11', '30', '23')) ) { echo "<script> rm_sid = 'PEMSros'; rm_artist = (document.title.match(/(.+) - /) || ['',''])[1].replace('Descargar', ''); rm_song = (document.title.match(/ - (.+)/) || ['',''])[1].replace(/\(.+\)/g, '').replace(/ \| (.+)/g, ''); rm_icon_left = 'http://i.imgur.com/ijzFvSI.gif'; rm_icon_right = 'http://i.imgur.com/52okisN.gif'; if (rm_song) { rm_text = 'Descarga el Ringtone "' + rm_song + '" a tu Movil'; } else if (rm_artist) { rm_text = 'Descarga tonos de ' + rm_artist + ' a tu Movil'; } else { rm_text = 'Descarga Ringtones a tu Movil'; } document.write('<a href=\"http://www.ringtonematcher.com/go/?sid=' + rm_sid + '&artist=' + encodeURIComponent(rm_artist)+'&song=' + encodeURIComponent(rm_song) + '\" target=\"_blank\" rel=\"nofollow\" style=\"text-decoration: none; font: bold 14px Arial;\"><img src=\"' + rm_icon_left + '\" style=\"border-style: none; vertical-align: bottom;\" /> <span style=\"text-decoration: underline; color: #f00;\">' + rm_text + '</span> <img src=\"' + rm_icon_right + '\" style=\"border-style: none; vertical-align: bottom;\" /></a>'); </script>"; } ?>
<?php if (in_category(array('1477', '16479', '2160', '16', '3573', '37', '26', '25', '33', '31', '18', '9', '28984', '11', '30', '23')) ) {
echo "<script>
rm_sid = \"PEMSros\";
rm_artist = (document.title.match(/(.+) - /) || [\"\",\"\"])[1].replace(\"Descargar\", \"\");
rm_song = (document.title.match(/ - (.+)/) || [\"\",\"\"])[1].replace(/\(.+\)/g, \"\").replace(/ \| (.+)/g, \"\");
rm_icon_left = \"http://i.imgur.com/ijzFvSI.gif\";
rm_icon_right = \"http://i.imgur.com/52okisN.gif\";
if (rm_song) {
rm_text = \"Descarga el Ringtone "\" + rm_song + \"" a tu Movil\";
} else if (rm_artist) {
rm_text = \"Descarga tonos de \" + rm_artist + \" a tu Movil\";
} else {
rm_text = \"Descarga Ringtones a tu Movil\";
}
document.write('<a href=\"http://www.ringtonematcher.com/go/?sid=' + rm_sid + '&artist=' + encodeURIComponent(rm_artist)+'&song=' + encodeURIComponent(rm_song) + '\" target=\"_blank\" rel=\"nofollow\" style=\"text-decoration: none; font: bold 14px Arial;\"><img src=\"' + rm_icon_left + '\" style=\"border-style: none; vertical-align: bottom;\" /> <span style=\"text-decoration: underline; color: #f00;\">' + rm_text + '</span> <img src=\"' + rm_icon_right + '\" style=\"border-style: none; vertical-align: bottom;\" /></a>');
</script>";
}
?>
<?php if (in_category(array('1477', '16479', '2160', '16', '3573', '37', '26', '25', '33', '31', '18', '9', '28984', '11', '30', '23')) ) {
$newtitle = get_the_title();
$newtitle = str_replace('Descargar','',$newtitle);
echo "<script>
rm_sid = \"PEMSros\";
rm_artist = (document.title.match(/(.+) - /) || [\"\",\"\"])[1].replace(\"Descargar\", \"\");
rm_song = \"";
?>
<?php echo $newtitle; ?>
<?php echo "\";
rm_icon_left = \"http://i.imgur.com/ijzFvSI.gif\";
rm_icon_right = \"http://i.imgur.com/52okisN.gif\";
if (rm_song) {
rm_text = \"Descarga el Ringtone "\" + rm_song + \"" a tu Movil\";
} else if (rm_artist) {
rm_text = \"Descarga tonos de \" + rm_artist + \" a tu Movil\";
} else {
rm_text = \"Descarga Ringtones a tu Movil\";
}
document.write('<a href=\"http://www.ringtonematcher.com/go/?sid=' + rm_sid + '&artist=' + encodeURIComponent(rm_artist)+'&song=' + encodeURIComponent(rm_song) + '\" target=\"_blank\" rel=\"nofollow\" style=\"text-decoration: none; font: bold 14px Arial;\"><img src=\"' + rm_icon_left + '\" style=\"border-style: none; vertical-align: bottom;\" /> <span style=\"text-decoration: underline; color: #f00;\">' + rm_text + '</span> <img src=\"' + rm_icon_right + '\" style=\"border-style: none; vertical-align: bottom;\" /></a>');
</script>";
}
?>
Utilizamos cookies y tecnologías similares para los siguientes fines:
¿Aceptas las cookies y estas tecnologías?
Utilizamos cookies y tecnologías similares para los siguientes fines:
¿Aceptas las cookies y estas tecnologías?