document.write("<div class=\"pastie\">\n");
document.write("  <link href=\"http://pastie.org/stylesheets/embed.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n");
document.write("  <link href=\"http://pastie.org/stylesheets/clean.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n");
document.write("  \n");
document.write("\n");
document.write("  \n");
document.write("  \n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("	\n");
document.write("	<div class=\"allcode\">\n");
document.write("		<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\n");
document.write("		<tr>\n");
document.write("			<td>\n");
document.write("				\n");
document.write("				<pre class=\"textmate-source-numbers\">1\n");
document.write("2\n");
document.write("3\n");
document.write("4\n");
document.write("5\n");
document.write("6\n");
document.write("7\n");
document.write("8\n");
document.write("9\n");
document.write("10\n");
document.write("11\n");
document.write("12\n");
document.write("13\n");
document.write("<\/pre>\n");
document.write("			<\/td>\n");
document.write("		<td>\n");
document.write("		<pre class=\"textmate-source\"><pre class=\"sunburst\"><span class=\'source source_php source_php_embedded source_php_embedded_block source_php_embedded_block_html\'>&lt;?php\n");
document.write("\n");
document.write("<span class=\'meta meta_include meta_include_php\'><span class=\'keyword keyword_control keyword_control_import keyword_control_import_include keyword_control_import_include_php\'>include<\/span> (<span class=\'string string_quoted string_quoted_single string_quoted_single_php\'>\'<span class=\'meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php\'>wp-config.php<\/span>\'<\/span>)<\/span>;\n");
document.write("\n");
document.write("<span class=\'variable variable_other variable_other_php\'>$age_cutoff<\/span> <span class=\'keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_php\'>=<\/span> <span class=\'string string_quoted string_quoted_single string_quoted_single_php\'>\'<span class=\'meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_single meta_string-contents_quoted_single_php\'>7 DAY<\/span>\'<\/span>;\n");
document.write("\n");
document.write("<span class=\'variable variable_other variable_other_php\'>$cutoff_date<\/span> <span class=\'keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_php\'>=<\/span> <span class=\'variable variable_other variable_other_php\'>$wpdb<\/span><span class=\'keyword keyword_operator keyword_operator_class keyword_operator_class_php\'>-&gt;<\/span><span class=\'meta meta_function-call meta_function-call_object meta_function-call_object_php\'>get_var<\/span> (<span class=\'string string_quoted string_quoted_double string_quoted_double_sql string_quoted_double_sql_php\'>&quot;<span class=\'source source_sql source_sql_embedded source_sql_embedded_php\'><span class=\'keyword keyword_other keyword_other_DML keyword_other_DML_sql\'>SELECT<\/span> DATE_ADD(DATE_SUB(CURDATE(), INTERVAL <span class=\'variable variable_other variable_other_php\'>$age_cutoff<\/span>), INTERVAL <span class=\'constant constant_numeric constant_numeric_sql\'>1<\/span> DAY)<\/span>&quot;<\/span>);\n");
document.write("\n");
document.write("<span class=\'variable variable_other variable_other_php\'>$wpdb<\/span><span class=\'keyword keyword_operator keyword_operator_class keyword_operator_class_php\'>-&gt;<\/span><span class=\'meta meta_function-call meta_function-call_object meta_function-call_object_php\'>query<\/span> (<span class=\'string string_quoted string_quoted_double string_quoted_double_sql string_quoted_double_sql_php\'>&quot;<span class=\'source source_sql source_sql_embedded source_sql_embedded_php\'><span class=\'keyword keyword_other keyword_other_DML keyword_other_DML_sql\'>UPDATE<\/span> <span class=\'variable variable_other variable_other_php\'>$tableposts<\/span> <span class=\'keyword keyword_other keyword_other_DML keyword_other_DML_sql\'>SET<\/span> ping_status = <span class=\'string string_quoted string_quoted_single string_quoted_single_sql\'>\'closed\'<\/span> <span class=\'keyword keyword_other keyword_other_DML keyword_other_DML_sql\'>WHERE<\/span> post_date &lt; <span class=\'string string_quoted string_quoted_single string_quoted_single_sql\'>\'<span class=\'variable variable_other variable_other_php\'>$cutoff_date<\/span>\'<\/span> <span class=\'keyword keyword_other keyword_other_DML keyword_other_DML_sql\'>AND<\/span> post_status = <span class=\'string string_quoted string_quoted_single string_quoted_single_sql\'>\'publish\'<\/span><\/span>&quot;<\/span>);\n");
document.write("\n");
document.write("<span class=\'support support_function support_function_construct support_function_construct_php\'>echo<\/span> <span class=\'string string_quoted string_quoted_double string_quoted_double_php\'>&quot;<span class=\'meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_double meta_string-contents_quoted_double_php\'>I ping sono stati disattivati per gli articoli inseriti prima del <span class=\'variable variable_other variable_other_php\'>$cutoff_date<\/span>.<\/span>&quot;<\/span>;\n");
document.write("\n");
document.write("<span class=\'source source_php\'>?<\/span>&gt;<\/span>\n");
document.write("<\/pre><\/pre>\n");
document.write("		<\/td>\n");
document.write("		<\/tr>\n");
document.write("		<\/table>\n");
document.write("	\n");
document.write("	<\/div>\n");
document.write("\n");
document.write("\n");
document.write("  \n");
document.write("  \n");
document.write("  <div class=\"credit\">\n");
document.write("    <div class=\"buttons\">\n");
document.write("      <a href=\"http://pastie.org/pastes/401567.txt\">\n");
document.write("      <img src=\"http://pastie.org/images/view.png\" height=\"20\" width=\"67\" /><\/a>\n");
document.write("    <\/div>\n");
document.write("  \n");
document.write("    <a href=\"http://pastie.org/401567\">Pastie #401567<\/a> linked directly from <a href=\"http://pastie.org/\">Pastie<\/a>.\n");
document.write("  <\/div><\/div>");

